Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 111b0946ec5749ca592e50224ec8488a26173b9a 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-ssh5685080893467584403.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-ssh10958772581197006312.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-ssh10761539582872484166.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-ssh13595732303287854393.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-ssh16152764955966048609.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 Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2088 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-ssh8520533772444626595.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 111b0946ec5749ca592e50224ec8488a26173b9a (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 111b0946ec5749ca592e50224ec8488a26173b9a # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/go-1_17-dockerfile-changes" > git rev-list --no-walk ec5780f49cc8d227830b26f24a2b43a0b649d736 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-19T20:13:47.220Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-19T20:13:47.281Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-19T20:13:47.301Z] ========================================================= [2022-01-19T20:13:47.301Z] EdgeX Global Pipelines Version Info [2022-01-19T20:13:47.301Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:13:48.419Z] ------------------- [2022-01-19T20:13:48.419Z] stable info: [2022-01-19T20:13:48.419Z] ------------------- [2022-01-19T20:13:48.419Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-19T20:13:48.419Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-19T20:13:48.419Z] Message: update stable to v1.0.219 [2022-01-19T20:13:48.990Z] ------------------- [2022-01-19T20:13:48.990Z] experimental info: [2022-01-19T20:13:48.990Z] ------------------- [2022-01-19T20:13:48.990Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-19T20:13:48.990Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-19T20:13:48.990Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-19T20:13:49.126Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-01-19T20:13:49.144Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-01-19T20:13:49.159Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-19T20:13:49.171Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-19T20:13:49.187Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-19T20:13:49.202Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-19T20:13:49.220Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-19T20:13:49.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-19T20:13:49.245Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-19T20:13:49.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-19T20:13:49.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-19T20:13:49.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-01-19T20:13:49.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-19T20:13:49.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-19T20:13:49.337Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-19T20:13:49.349Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-19T20:13:49.362Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-19T20:13:49.375Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-19T20:13:49.388Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-19T20:13:49.399Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-01-19T20:13:49.408Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-19T20:13:49.417Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-19T20:13:49.426Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-19T20:13:49.437Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-19T20:13:49.453Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-19T20:13:49.468Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-19T20:13:49.480Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-01-19T20:13:49.489Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-01-19T20:13:49.503Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-01-19T20:13:49.517Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 111b0946ec5749ca592e50224ec8488a26173b9a [Pipeline] echo [2022-01-19T20:13:49.529Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 111b094 [Pipeline] echo [2022-01-19T20:13:49.542Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T20:13:49.586Z] provisioning config files... [2022-01-19T20:13:49.599Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4215549813309773702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:13:49.926Z] ---> docker-login.sh [2022-01-19T20:13:49.927Z] nexus3.edgexfoundry.org:10001 [2022-01-19T20:13:49.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:13:50.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:13:50.187Z] Configure a credential helper to remove this warning. See [2022-01-19T20:13:50.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:13:50.187Z] [2022-01-19T20:13:50.187Z] Login Succeeded [2022-01-19T20:13:50.187Z] nexus3.edgexfoundry.org:10002 [2022-01-19T20:13:50.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:13:50.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:13:50.187Z] Configure a credential helper to remove this warning. See [2022-01-19T20:13:50.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:13:50.187Z] [2022-01-19T20:13:50.187Z] Login Succeeded [2022-01-19T20:13:50.187Z] nexus3.edgexfoundry.org:10003 [2022-01-19T20:13:50.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:13:50.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:13:50.460Z] Configure a credential helper to remove this warning. See [2022-01-19T20:13:50.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:13:50.460Z] [2022-01-19T20:13:50.460Z] Login Succeeded [2022-01-19T20:13:50.460Z] nexus3.edgexfoundry.org:10004 [2022-01-19T20:13:50.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:13:50.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:13:50.460Z] Configure a credential helper to remove this warning. See [2022-01-19T20:13:50.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:13:50.460Z] [2022-01-19T20:13:50.460Z] Login Succeeded [2022-01-19T20:13:50.460Z] docker.io [2022-01-19T20:13:50.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:13:50.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:13:50.722Z] Configure a credential helper to remove this warning. See [2022-01-19T20:13:50.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:13:50.722Z] [2022-01-19T20:13:50.722Z] Login Succeeded [2022-01-19T20:13:50.983Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T20:13:50.994Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-19T20:13:51.396Z] + git rev-list -1 --merges 111b0946ec5749ca592e50224ec8488a26173b9a~1..111b0946ec5749ca592e50224ec8488a26173b9a [Pipeline] echo [2022-01-19T20:13:51.429Z] -----------> git rev-list -1 --merges 111b0946ec5749ca592e50224ec8488a26173b9a~1..111b0946ec5749ca592e50224ec8488a26173b9a 111b0946ec5749ca592e50224ec8488a26173b9a [2022-01-19T20:13:51.429Z] 111b0946ec5749ca592e50224ec8488a26173b9a [false] [Pipeline] sh [2022-01-19T20:13:51.727Z] + git log --format=format:%s -1 111b0946ec5749ca592e50224ec8488a26173b9a [Pipeline] echo [2022-01-19T20:13:51.744Z] ========================================================= [2022-01-19T20:13:51.744Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-19T20:13:51.744Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T20:13:52.091Z] + git log --format=format:%s -1 111b0946ec5749ca592e50224ec8488a26173b9a [Pipeline] echo [2022-01-19T20:13:52.102Z] [semverPrep] GIT_COMMIT: 111b0946ec5749ca592e50224ec8488a26173b9a, Commit Message: Merge pull request #306 from ernestojeda/go-1_17-dockerfile-changes [Pipeline] echo [2022-01-19T20:13:52.113Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-19T20:13:52.551Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-19T20:13:52.551Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-19T20:13:52.551Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-19T20:13:52.551Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-19T20:13:52.551Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-19T20:13:52.551Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-19T20:13:52.551Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:13:52.903Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T20:13:52.903Z] [2022-01-19T20:13:52.903Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:13:53.213Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T20:13:53.213Z] latest: Pulling from edgex-devops/git-semver [2022-01-19T20:13:53.213Z] a0d0a0d46f8b: Pulling fs layer [2022-01-19T20:13:53.213Z] 3e5f54012d9b: Pulling fs layer [2022-01-19T20:13:53.213Z] 4c7163046ea9: Pulling fs layer [2022-01-19T20:13:53.213Z] 0c2d73faf560: Pulling fs layer [2022-01-19T20:13:53.213Z] 0c2d73faf560: Waiting [2022-01-19T20:13:53.213Z] 3e5f54012d9b: Verifying Checksum [2022-01-19T20:13:53.213Z] 3e5f54012d9b: Download complete [2022-01-19T20:13:53.213Z] a0d0a0d46f8b: Verifying Checksum [2022-01-19T20:13:53.213Z] a0d0a0d46f8b: Download complete [2022-01-19T20:13:53.213Z] 4c7163046ea9: Verifying Checksum [2022-01-19T20:13:53.213Z] 4c7163046ea9: Download complete [2022-01-19T20:13:53.213Z] 0c2d73faf560: Verifying Checksum [2022-01-19T20:13:53.213Z] 0c2d73faf560: Download complete [2022-01-19T20:13:53.474Z] a0d0a0d46f8b: Pull complete [2022-01-19T20:13:53.474Z] 3e5f54012d9b: Pull complete [2022-01-19T20:13:53.739Z] 4c7163046ea9: Pull complete [2022-01-19T20:13:54.002Z] 0c2d73faf560: Pull complete [2022-01-19T20:13:54.002Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-19T20:13:54.002Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T20:13:54.002Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-19T20:13:54.079Z] prd-centos7-docker-4c-2g-2088 does not seem to be running inside a container [2022-01-19T20:13:54.117Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-19T20:13:54.917Z] $ docker top ceaa0d8d5ae8ba84e61c804a9fce52b69191318c681bd6b19c72c84e96274909 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-19T20:13:55.010Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T20:13:55.010Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T20:13:55.116Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T20:13:55.118Z] $ docker exec ceaa0d8d5ae8ba84e61c804a9fce52b69191318c681bd6b19c72c84e96274909 ssh-agent [2022-01-19T20:13:55.216Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDanmJi/agent.15 [2022-01-19T20:13:55.216Z] SSH_AGENT_PID=22 [2022-01-19T20:13:55.223Z] Running ssh-add (command line suppressed) [2022-01-19T20:13:55.311Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4730090722234756324.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4730090722234756324.key) [2022-01-19T20:13:55.325Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T20:13:55.616Z] + git tag --points-at HEAD [Pipeline] } [2022-01-19T20:13:55.633Z] $ docker exec --env ******** --env ******** ceaa0d8d5ae8ba84e61c804a9fce52b69191318c681bd6b19c72c84e96274909 ssh-agent -k [2022-01-19T20:13:55.716Z] unset SSH_AUTH_SOCK; [2022-01-19T20:13:55.716Z] unset SSH_AGENT_PID; [2022-01-19T20:13:55.717Z] echo Agent pid 22 killed; [2022-01-19T20:13:55.731Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-19T20:13:55.771Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T20:13:55.771Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T20:13:55.872Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T20:13:55.874Z] $ docker exec ceaa0d8d5ae8ba84e61c804a9fce52b69191318c681bd6b19c72c84e96274909 ssh-agent [2022-01-19T20:13:55.964Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXODPDPm/agent.55 [2022-01-19T20:13:55.964Z] SSH_AGENT_PID=62 [2022-01-19T20:13:55.969Z] Running ssh-add (command line suppressed) [2022-01-19T20:13:56.061Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1050094006230959978.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1050094006230959978.key) [2022-01-19T20:13:56.076Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T20:13:56.368Z] + git semver init [2022-01-19T20:13:56.368Z] # -> Open(): unable to determine branch for HEAD [2022-01-19T20:13:56.368Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-01-19T20:13:56.368Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-01-19T20:13:56.368Z] # $SEMVER_REMOTE_NAME = origin [2022-01-19T20:13:56.368Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-19T20:13:56.368Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-19T20:13:56.368Z] # $SEMVER_BRANCH = main [2022-01-19T20:13:56.368Z] # $SEMVER_TEMP = /tmp/semver-462889328 [2022-01-19T20:13:56.368Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2022-01-19T20:13:57.321Z] # '/tmp/semver-462889328' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' [2022-01-19T20:13:57.321Z] # -> Force: false [2022-01-19T20:13:57.321Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2022-01-19T20:13:57.331Z] $ docker exec --env ******** --env ******** ceaa0d8d5ae8ba84e61c804a9fce52b69191318c681bd6b19c72c84e96274909 ssh-agent -k [2022-01-19T20:13:57.415Z] unset SSH_AUTH_SOCK; [2022-01-19T20:13:57.415Z] unset SSH_AGENT_PID; [2022-01-19T20:13:57.415Z] echo Agent pid 62 killed; [2022-01-19T20:13:57.424Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-19T20:13:57.736Z] + git semver [Pipeline] } [2022-01-19T20:13:57.751Z] $ docker stop --time=1 ceaa0d8d5ae8ba84e61c804a9fce52b69191318c681bd6b19c72c84e96274909 [2022-01-19T20:13:59.019Z] $ docker rm -f ceaa0d8d5ae8ba84e61c804a9fce52b69191318c681bd6b19c72c84e96274909 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T20:13:59.382Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-19T20:13:59.627Z] Stashed 1 file(s) [Pipeline] echo [2022-01-19T20:13:59.632Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.4 [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-19T20:13:59.839Z] provisioning config files... [2022-01-19T20:13:59.849Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5224093866419001779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:14:00.153Z] ---> docker-login.sh [2022-01-19T20:14:00.153Z] nexus3.edgexfoundry.org:10001 [2022-01-19T20:14:00.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:14:00.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:14:00.153Z] Configure a credential helper to remove this warning. See [2022-01-19T20:14:00.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:14:00.153Z] [2022-01-19T20:14:00.153Z] Login Succeeded [2022-01-19T20:14:00.153Z] nexus3.edgexfoundry.org:10002 [2022-01-19T20:14:00.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:14:00.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:14:00.153Z] Configure a credential helper to remove this warning. See [2022-01-19T20:14:00.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:14:00.153Z] [2022-01-19T20:14:00.153Z] Login Succeeded [2022-01-19T20:14:00.153Z] nexus3.edgexfoundry.org:10003 [2022-01-19T20:14:00.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:14:00.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:14:00.413Z] Configure a credential helper to remove this warning. See [2022-01-19T20:14:00.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:14:00.413Z] [2022-01-19T20:14:00.413Z] Login Succeeded [2022-01-19T20:14:00.413Z] nexus3.edgexfoundry.org:10004 [2022-01-19T20:14:00.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:14:00.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:14:00.413Z] Configure a credential helper to remove this warning. See [2022-01-19T20:14:00.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:14:00.413Z] [2022-01-19T20:14:00.413Z] Login Succeeded [2022-01-19T20:14:00.413Z] docker.io [2022-01-19T20:14:00.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:14:00.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:14:00.937Z] Configure a credential helper to remove this warning. See [2022-01-19T20:14:00.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:14:00.937Z] [2022-01-19T20:14:00.937Z] Login Succeeded [2022-01-19T20:14:00.937Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T20:14:00.945Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-19T20:14:01.010Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T20:14:01.022Z] ========================================================= [2022-01-19T20:14:01.022Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-19T20:14:01.022Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:14:01.345Z] + 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-19T20:14:01.345Z] Sending build context to Docker daemon 5.686MB [2022-01-19T20:14:01.345Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T20:14:01.345Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-19T20:14:01.345Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-19T20:14:01.345Z] 59bf1c3509f3: Pulling fs layer [2022-01-19T20:14:01.345Z] 666ba61612fd: Pulling fs layer [2022-01-19T20:14:01.345Z] 8ed8ca486205: Pulling fs layer [2022-01-19T20:14:01.345Z] 4fe6c5a15a65: Pulling fs layer [2022-01-19T20:14:01.345Z] 22a0e8bec74d: Pulling fs layer [2022-01-19T20:14:01.345Z] f965cba54748: Pulling fs layer [2022-01-19T20:14:01.345Z] 861ffc35075e: Pulling fs layer [2022-01-19T20:14:01.345Z] 4b385c91608e: Pulling fs layer [2022-01-19T20:14:01.345Z] 560528eb2ebb: Pulling fs layer [2022-01-19T20:14:01.345Z] 4fe6c5a15a65: Waiting [2022-01-19T20:14:01.345Z] 22a0e8bec74d: Waiting [2022-01-19T20:14:01.345Z] f965cba54748: Waiting [2022-01-19T20:14:01.345Z] 861ffc35075e: Waiting [2022-01-19T20:14:01.345Z] 4b385c91608e: Waiting [2022-01-19T20:14:01.345Z] 560528eb2ebb: Waiting [2022-01-19T20:14:01.345Z] 8ed8ca486205: Verifying Checksum [2022-01-19T20:14:01.345Z] 8ed8ca486205: Download complete [2022-01-19T20:14:01.345Z] 666ba61612fd: Verifying Checksum [2022-01-19T20:14:01.345Z] 666ba61612fd: Download complete [2022-01-19T20:14:01.614Z] 22a0e8bec74d: Verifying Checksum [2022-01-19T20:14:01.614Z] 22a0e8bec74d: Download complete [2022-01-19T20:14:01.614Z] f965cba54748: Verifying Checksum [2022-01-19T20:14:01.614Z] f965cba54748: Download complete [2022-01-19T20:14:01.614Z] 59bf1c3509f3: Verifying Checksum [2022-01-19T20:14:01.614Z] 861ffc35075e: Verifying Checksum [2022-01-19T20:14:01.614Z] 861ffc35075e: Download complete [2022-01-19T20:14:01.614Z] 4b385c91608e: Verifying Checksum [2022-01-19T20:14:01.614Z] 4b385c91608e: Download complete [2022-01-19T20:14:01.883Z] 59bf1c3509f3: Pull complete [2022-01-19T20:14:02.148Z] 666ba61612fd: Pull complete [2022-01-19T20:14:02.148Z] 4fe6c5a15a65: Verifying Checksum [2022-01-19T20:14:02.148Z] 4fe6c5a15a65: Download complete [2022-01-19T20:14:02.148Z] 560528eb2ebb: Verifying Checksum [2022-01-19T20:14:02.148Z] 560528eb2ebb: Download complete [2022-01-19T20:14:02.148Z] 8ed8ca486205: Pull complete [2022-01-19T20:14:06.455Z] 4fe6c5a15a65: Pull complete [2022-01-19T20:14:06.455Z] 22a0e8bec74d: Pull complete [2022-01-19T20:14:06.455Z] f965cba54748: Pull complete [2022-01-19T20:14:06.455Z] 861ffc35075e: Pull complete [2022-01-19T20:14:06.455Z] 4b385c91608e: Pull complete [2022-01-19T20:14:09.054Z] 560528eb2ebb: Pull complete [2022-01-19T20:14:09.054Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-19T20:14:09.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-19T20:14:09.054Z] ---> dd4a08f94e63 [2022-01-19T20:14:09.054Z] Step 3/10 : ARG MAKE='make build' [2022-01-19T20:14:10.970Z] ---> Running in 2ec4d1e1ca37 [2022-01-19T20:14:11.231Z] Removing intermediate container 2ec4d1e1ca37 [2022-01-19T20:14:11.231Z] ---> e46e41d3bed1 [2022-01-19T20:14:11.231Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T20:14:11.231Z] ---> Running in c4f6efd1889d [2022-01-19T20:14:11.805Z] Removing intermediate container c4f6efd1889d [2022-01-19T20:14:11.806Z] ---> 4f46acbe51ad [2022-01-19T20:14:11.806Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-01-19T20:14:11.806Z] ---> Running in e1bbd85500d1 [2022-01-19T20:14:12.382Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-19T20:14:12.956Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-19T20:14:13.530Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-01-19T20:14:13.530Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-01-19T20:14:13.530Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-01-19T20:14:13.530Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-01-19T20:14:13.790Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-01-19T20:14:13.790Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-01-19T20:14:13.790Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-01-19T20:14:14.049Z] (8/8) Installing openssh (8.8_p1-r1) [2022-01-19T20:14:14.049Z] Executing busybox-1.34.1-r3.trigger [2022-01-19T20:14:14.049Z] OK: 226 MiB in 60 packages [2022-01-19T20:14:14.624Z] Removing intermediate container e1bbd85500d1 [2022-01-19T20:14:14.624Z] ---> a0cf85cb6a3a [2022-01-19T20:14:14.624Z] Step 6/10 : WORKDIR /device-modbus-go [2022-01-19T20:14:14.624Z] ---> Running in 854bebecc171 [2022-01-19T20:14:14.624Z] Removing intermediate container 854bebecc171 [2022-01-19T20:14:14.624Z] ---> f53b748c7c7d [2022-01-19T20:14:14.624Z] Step 7/10 : COPY go.mod vendor* ./ [2022-01-19T20:14:14.624Z] ---> a81f337cf7c0 [2022-01-19T20:14:14.624Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T20:14:14.624Z] ---> Running in a07f9c0b7566 [2022-01-19T20:14:14.767Z] Still waiting to schedule task [2022-01-19T20:14:14.767Z] ‘prd-centos7-blackbox-4c-2g-1555’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2022-01-19T20:14:14.767Z] ‘prd-centos7-docker-4c-2g-2092’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2022-01-19T20:14:14.767Z] ‘prd-centos7-docker-4c-2g-2093’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2022-01-19T20:14:14.768Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2091’ is offline [2022-01-19T20:14:46.819Z] Removing intermediate container a07f9c0b7566 [2022-01-19T20:14:46.819Z] ---> 93dec82ee9ad [2022-01-19T20:14:46.819Z] Step 9/10 : COPY . . [2022-01-19T20:14:46.819Z] ---> 3a96d2f58348 [2022-01-19T20:14:46.819Z] Step 10/10 : RUN ${MAKE} [2022-01-19T20:14:46.819Z] ---> Running in 90b2d505b00a [2022-01-19T20:14:46.819Z] noop [2022-01-19T20:14:46.819Z] Removing intermediate container 90b2d505b00a [2022-01-19T20:14:46.819Z] ---> 6e0475f50c56 [2022-01-19T20:14:46.819Z] Successfully built 6e0475f50c56 [2022-01-19T20:14:46.819Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:14:47.122Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-19T20:14:47.122Z] . [Pipeline] withDockerContainer [2022-01-19T20:14:47.192Z] prd-centos7-docker-4c-2g-2088 does not seem to be running inside a container [2022-01-19T20:14:47.231Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-01-19T20:14:47.565Z] $ docker top 9e74f750d7f70da9900209c45b27ff9e51ccf77b9659761978dbc2fb71f4a85f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T20:14:47.929Z] + go version [2022-01-19T20:14:47.929Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-19T20:14:47.940Z] $ docker stop --time=1 9e74f750d7f70da9900209c45b27ff9e51ccf77b9659761978dbc2fb71f4a85f [2022-01-19T20:14:49.138Z] $ docker rm -f 9e74f750d7f70da9900209c45b27ff9e51ccf77b9659761978dbc2fb71f4a85f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:14:49.605Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-19T20:14:49.605Z] . [Pipeline] withDockerContainer [2022-01-19T20:14:49.667Z] prd-centos7-docker-4c-2g-2088 does not seem to be running inside a container [2022-01-19T20:14:49.712Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-01-19T20:14:50.076Z] $ docker top 897d25c9046805599631627a7b791ad72d37716eb1553ec4bcfd80da3c43ac44 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-19T20:14:50.464Z] + make test [2022-01-19T20:14:50.464Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-19T20:14:50.725Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-01-19T20:15:05.680Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-01-19T20:15:05.680Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 46.6% of statements [2022-01-19T20:15:05.680Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-19T20:15:10.993Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-19T20:15:10.993Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-19T20:15:10.993Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-19T20:15:11.006Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-19T20:15:11.017Z] $ docker stop --time=1 897d25c9046805599631627a7b791ad72d37716eb1553ec4bcfd80da3c43ac44 [2022-01-19T20:15:12.524Z] $ docker rm -f 897d25c9046805599631627a7b791ad72d37716eb1553ec4bcfd80da3c43ac44 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T20:15:12.910Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-19T20:15:12.947Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-19T20:15:13.528Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-19T20:15:13.825Z] + ls -al . [2022-01-19T20:15:13.825Z] total 152 [2022-01-19T20:15:13.825Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 20:15 . [2022-01-19T20:15:13.825Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 19 20:13 .. [2022-01-19T20:15:13.825Z] -rw-rw-r--. 1 jenkins jenkins 8010 Jan 19 20:13 Attribution.txt [2022-01-19T20:15:13.825Z] drwxrwxr-x. 2 jenkins jenkins 60 Jan 19 20:13 bin [2022-01-19T20:15:13.825Z] -rw-rw-r--. 1 jenkins jenkins 6038 Jan 19 20:13 CHANGELOG.md [2022-01-19T20:15:13.825Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 19 20:13 cmd [2022-01-19T20:15:13.825Z] -rw-r--r--. 1 jenkins jenkins 23727 Jan 19 20:15 coverage.out [2022-01-19T20:15:13.825Z] -rw-rw-r--. 1 jenkins jenkins 1546 Jan 19 20:13 Dockerfile [2022-01-19T20:15:13.825Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 19 20:13 .dockerignore [2022-01-19T20:15:13.825Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 19 20:13 .git [2022-01-19T20:15:13.825Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 19 20:13 .github [2022-01-19T20:15:13.825Z] -rw-rw-r--. 1 jenkins jenkins 331 Jan 19 20:13 .gitignore [2022-01-19T20:15:13.825Z] -rw-rw-r--. 1 jenkins jenkins 300 Jan 19 20:13 go.mod [2022-01-19T20:15:13.825Z] -rw-rw-r--. 1 jenkins jenkins 49511 Jan 19 20:13 go.sum [2022-01-19T20:15:13.825Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 19 20:13 GOVERNANCE.md [2022-01-19T20:15:13.825Z] drwxrwxr-x. 3 jenkins jenkins 20 Jan 19 20:13 internal [2022-01-19T20:15:13.825Z] -rw-rw-r--. 1 jenkins jenkins 679 Jan 19 20:13 Jenkinsfile [2022-01-19T20:15:13.825Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 19 20:13 LICENSE [2022-01-19T20:15:13.825Z] -rw-rw-r--. 1 jenkins jenkins 1009 Jan 19 20:13 Makefile [2022-01-19T20:15:13.825Z] -rw-rw-r--. 1 jenkins jenkins 622 Jan 19 20:13 OWNERS.md [2022-01-19T20:15:13.825Z] -rw-rw-r--. 1 jenkins jenkins 3488 Jan 19 20:13 README.md [2022-01-19T20:15:13.825Z] drwx------. 3 jenkins jenkins 57 Jan 19 20:13 .semver [2022-01-19T20:15:13.825Z] drwxrwxr-x. 2 jenkins jenkins 52 Jan 19 20:13 simulator [2022-01-19T20:15:13.825Z] drwxrwxr-x. 4 jenkins jenkins 71 Jan 19 20:13 snap [2022-01-19T20:15:13.825Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 19 20:13 VERSION [2022-01-19T20:15:13.825Z] -rw-rw-r--. 1 jenkins jenkins 229 Jan 19 20:13 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:15:14.126Z] + 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=111b0946ec5749ca592e50224ec8488a26173b9a --label arch=amd64 --label version=2.2.0-dev.4 . [2022-01-19T20:15:14.126Z] Sending build context to Docker daemon 5.711MB [2022-01-19T20:15:14.126Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T20:15:14.126Z] Step 2/23 : FROM ${BASE} AS builder [2022-01-19T20:15:14.126Z] ---> 6e0475f50c56 [2022-01-19T20:15:14.126Z] Step 3/23 : ARG MAKE='make build' [2022-01-19T20:15:14.126Z] ---> Running in 26386ab5af62 [2022-01-19T20:15:14.386Z] Removing intermediate container 26386ab5af62 [2022-01-19T20:15:14.386Z] ---> 6e440f4f5187 [2022-01-19T20:15:14.386Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T20:15:14.386Z] ---> Running in 40fd50da332c [2022-01-19T20:15:14.976Z] Removing intermediate container 40fd50da332c [2022-01-19T20:15:14.976Z] ---> 83191b67ce29 [2022-01-19T20:15:14.976Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-01-19T20:15:14.976Z] ---> Running in b78723fa55aa [2022-01-19T20:15:15.241Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-19T20:15:16.196Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-19T20:15:16.196Z] OK: 226 MiB in 60 packages [2022-01-19T20:15:16.457Z] Removing intermediate container b78723fa55aa [2022-01-19T20:15:16.457Z] ---> 11ef6740a947 [2022-01-19T20:15:16.457Z] Step 6/23 : WORKDIR /device-modbus-go [2022-01-19T20:15:16.720Z] ---> Running in 35f008e6c34e [2022-01-19T20:15:16.720Z] Removing intermediate container 35f008e6c34e [2022-01-19T20:15:16.720Z] ---> a66cc0e8337e [2022-01-19T20:15:16.720Z] Step 7/23 : COPY go.mod vendor* ./ [2022-01-19T20:15:16.720Z] ---> 8ad0aadb14d6 [2022-01-19T20:15:16.720Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T20:15:16.979Z] ---> Running in 01540c0582a0 [2022-01-19T20:15:17.240Z] Removing intermediate container 01540c0582a0 [2022-01-19T20:15:17.240Z] ---> 17b4a93deb07 [2022-01-19T20:15:17.240Z] Step 9/23 : COPY . . [2022-01-19T20:15:17.809Z] ---> 139109ae0ef7 [2022-01-19T20:15:17.809Z] Step 10/23 : RUN ${MAKE} [2022-01-19T20:15:17.809Z] ---> Running in 26dc39fe4888 [2022-01-19T20:15:18.077Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.4" -o cmd/device-modbus ./cmd [2022-01-19T20:15:30.360Z] Removing intermediate container 26dc39fe4888 [2022-01-19T20:15:30.360Z] ---> ea02bc8b35cb [2022-01-19T20:15:30.360Z] Step 11/23 : FROM alpine:3.14 [2022-01-19T20:15:30.620Z] 3.14: Pulling from library/alpine [2022-01-19T20:15:30.884Z] 97518928ae5f: Pulling fs layer [2022-01-19T20:15:30.884Z] 97518928ae5f: Verifying Checksum [2022-01-19T20:15:30.884Z] 97518928ae5f: Download complete [2022-01-19T20:15:31.144Z] 97518928ae5f: Pull complete [2022-01-19T20:15:31.144Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-19T20:15:31.144Z] Status: Downloaded newer image for alpine:3.14 [2022-01-19T20:15:31.144Z] ---> 0a97eee8041e [2022-01-19T20:15:31.144Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-01-19T20:15:31.144Z] ---> Running in 1228e315555c [2022-01-19T20:15:31.406Z] Removing intermediate container 1228e315555c [2022-01-19T20:15:31.406Z] ---> 8079b89162d0 [2022-01-19T20:15:31.406Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T20:15:31.406Z] ---> Running in 7d4f46b6d802 [2022-01-19T20:15:31.975Z] Removing intermediate container 7d4f46b6d802 [2022-01-19T20:15:31.975Z] ---> 153968b95dde [2022-01-19T20:15:31.975Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-19T20:15:31.975Z] ---> Running in 9d1c915308e3 [2022-01-19T20:15:32.235Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-19T20:15:32.801Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-19T20:15:33.369Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-19T20:15:33.369Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-19T20:15:33.369Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-19T20:15:33.629Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-19T20:15:33.629Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-19T20:15:33.629Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-19T20:15:33.897Z] Executing busybox-1.33.1-r6.trigger [2022-01-19T20:15:33.897Z] OK: 8 MiB in 20 packages [2022-01-19T20:15:34.156Z] Removing intermediate container 9d1c915308e3 [2022-01-19T20:15:34.156Z] ---> 0c80cf4e262f [2022-01-19T20:15:34.156Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-01-19T20:15:34.421Z] ---> 053ff0d3e452 [2022-01-19T20:15:34.421Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-01-19T20:15:34.685Z] ---> 05dcc4494eab [2022-01-19T20:15:34.685Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-01-19T20:15:34.685Z] ---> a4cfd76df735 [2022-01-19T20:15:34.685Z] Step 18/23 : EXPOSE 59901 [2022-01-19T20:15:34.685Z] ---> Running in fa8a977798fa [2022-01-19T20:15:34.950Z] Removing intermediate container fa8a977798fa [2022-01-19T20:15:34.950Z] ---> 354f4e1ca6a0 [2022-01-19T20:15:34.950Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-01-19T20:15:34.950Z] ---> Running in 831aeadf4a7b [2022-01-19T20:15:34.950Z] Removing intermediate container 831aeadf4a7b [2022-01-19T20:15:34.950Z] ---> 91a94c4c1c0e [2022-01-19T20:15:34.950Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-19T20:15:34.950Z] ---> Running in e4fd0a491699 [2022-01-19T20:15:35.216Z] Removing intermediate container e4fd0a491699 [2022-01-19T20:15:35.216Z] ---> ba382445b044 [2022-01-19T20:15:35.216Z] Step 21/23 : LABEL arch=amd64 [2022-01-19T20:15:35.216Z] ---> Running in 2be65cff46d5 [2022-01-19T20:15:35.216Z] Removing intermediate container 2be65cff46d5 [2022-01-19T20:15:35.216Z] ---> da0abaacb2be [2022-01-19T20:15:35.216Z] Step 22/23 : LABEL git_sha=111b0946ec5749ca592e50224ec8488a26173b9a [2022-01-19T20:15:35.216Z] ---> Running in 5e12f367d4b4 [2022-01-19T20:15:35.478Z] Removing intermediate container 5e12f367d4b4 [2022-01-19T20:15:35.478Z] ---> 2260fe3427f1 [2022-01-19T20:15:35.478Z] Step 23/23 : LABEL version=2.2.0-dev.4 [2022-01-19T20:15:35.478Z] ---> Running in 39d71bcb6638 [2022-01-19T20:15:35.478Z] Removing intermediate container 39d71bcb6638 [2022-01-19T20:15:35.478Z] ---> 56b25bd74147 [2022-01-19T20:15:35.478Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-19T20:15:35.478Z] Successfully built 56b25bd74147 [2022-01-19T20:15:35.478Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T20:15:35.554Z] provisioning config files... [2022-01-19T20:15:35.566Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5087661425201689226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:15:35.884Z] ---> docker-login.sh [2022-01-19T20:15:35.884Z] nexus3.edgexfoundry.org:10001 [2022-01-19T20:15:35.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:15:35.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:15:35.884Z] Configure a credential helper to remove this warning. See [2022-01-19T20:15:35.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:15:35.884Z] [2022-01-19T20:15:35.884Z] Login Succeeded [2022-01-19T20:15:35.884Z] nexus3.edgexfoundry.org:10002 [2022-01-19T20:15:35.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:15:36.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:15:36.151Z] Configure a credential helper to remove this warning. See [2022-01-19T20:15:36.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:15:36.151Z] [2022-01-19T20:15:36.151Z] Login Succeeded [2022-01-19T20:15:36.151Z] nexus3.edgexfoundry.org:10003 [2022-01-19T20:15:36.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:15:36.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:15:36.151Z] Configure a credential helper to remove this warning. See [2022-01-19T20:15:36.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:15:36.151Z] [2022-01-19T20:15:36.151Z] Login Succeeded [2022-01-19T20:15:36.151Z] nexus3.edgexfoundry.org:10004 [2022-01-19T20:15:36.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:15:36.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:15:36.151Z] Configure a credential helper to remove this warning. See [2022-01-19T20:15:36.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:15:36.151Z] [2022-01-19T20:15:36.151Z] Login Succeeded [2022-01-19T20:15:36.412Z] docker.io [2022-01-19T20:15:36.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:15:36.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:15:36.670Z] Configure a credential helper to remove this warning. See [2022-01-19T20:15:36.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:15:36.670Z] [2022-01-19T20:15:36.670Z] Login Succeeded [2022-01-19T20:15:36.670Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T20:15:36.684Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-19T20:15:36.713Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T20:15:36.739Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-01-19T20:15:36.739Z] 111b0946ec5749ca592e50224ec8488a26173b9a [2022-01-19T20:15:36.739Z] latest [2022-01-19T20:15:36.739Z] 2.2.0-dev.4 [2022-01-19T20:15:36.739Z] 111b0946ec5749ca592e50224ec8488a26173b9a-2.2.0-dev.4 [2022-01-19T20:15:36.739Z] main [2022-01-19T20:15:36.739Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:15:37.075Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:111b0946ec5749ca592e50224ec8488a26173b9a [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:15:37.366Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:111b0946ec5749ca592e50224ec8488a26173b9a [2022-01-19T20:15:37.366Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-01-19T20:15:37.366Z] 97b8a33daf5d: Preparing [2022-01-19T20:15:37.366Z] 5998ffbe3b4b: Preparing [2022-01-19T20:15:37.366Z] 59882dc804e0: Preparing [2022-01-19T20:15:37.366Z] 33c5384a8e46: Preparing [2022-01-19T20:15:37.366Z] 65dc795b348d: Preparing [2022-01-19T20:15:37.366Z] 1a058d5342cc: Preparing [2022-01-19T20:15:37.366Z] 1a058d5342cc: Waiting [2022-01-19T20:15:37.626Z] 97b8a33daf5d: Pushed [2022-01-19T20:15:37.626Z] 65dc795b348d: Pushed [2022-01-19T20:15:37.626Z] 1a058d5342cc: Layer already exists [2022-01-19T20:15:37.626Z] 5998ffbe3b4b: Pushed [2022-01-19T20:15:37.626Z] 33c5384a8e46: Pushed [2022-01-19T20:15:38.568Z] 59882dc804e0: Pushed [2022-01-19T20:15:38.568Z] 111b0946ec5749ca592e50224ec8488a26173b9a: digest: sha256:e3fb2f7bfc3a4498e9267fc79645f2d4dcc2a69f05f8c1028bc7b9b8ca9199d9 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:15:38.865Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:15:39.163Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-01-19T20:15:39.163Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-01-19T20:15:39.163Z] 97b8a33daf5d: Preparing [2022-01-19T20:15:39.163Z] 5998ffbe3b4b: Preparing [2022-01-19T20:15:39.163Z] 59882dc804e0: Preparing [2022-01-19T20:15:39.163Z] 33c5384a8e46: Preparing [2022-01-19T20:15:39.163Z] 65dc795b348d: Preparing [2022-01-19T20:15:39.163Z] 1a058d5342cc: Preparing [2022-01-19T20:15:39.163Z] 1a058d5342cc: Waiting [2022-01-19T20:15:39.163Z] 65dc795b348d: Layer already exists [2022-01-19T20:15:39.163Z] 59882dc804e0: Layer already exists [2022-01-19T20:15:39.163Z] 97b8a33daf5d: Layer already exists [2022-01-19T20:15:39.163Z] 33c5384a8e46: Layer already exists [2022-01-19T20:15:39.163Z] 5998ffbe3b4b: Layer already exists [2022-01-19T20:15:39.163Z] 1a058d5342cc: Layer already exists [2022-01-19T20:15:39.163Z] latest: digest: sha256:e3fb2f7bfc3a4498e9267fc79645f2d4dcc2a69f05f8c1028bc7b9b8ca9199d9 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:15:39.461Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:15:39.754Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.4 [2022-01-19T20:15:39.754Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-01-19T20:15:39.754Z] 97b8a33daf5d: Preparing [2022-01-19T20:15:39.754Z] 5998ffbe3b4b: Preparing [2022-01-19T20:15:39.754Z] 59882dc804e0: Preparing [2022-01-19T20:15:39.754Z] 33c5384a8e46: Preparing [2022-01-19T20:15:39.754Z] 65dc795b348d: Preparing [2022-01-19T20:15:39.754Z] 1a058d5342cc: Preparing [2022-01-19T20:15:39.754Z] 1a058d5342cc: Waiting [2022-01-19T20:15:39.754Z] 33c5384a8e46: Layer already exists [2022-01-19T20:15:39.754Z] 5998ffbe3b4b: Layer already exists [2022-01-19T20:15:39.754Z] 65dc795b348d: Layer already exists [2022-01-19T20:15:39.754Z] 97b8a33daf5d: Layer already exists [2022-01-19T20:15:39.754Z] 59882dc804e0: Layer already exists [2022-01-19T20:15:39.754Z] 1a058d5342cc: Layer already exists [2022-01-19T20:15:39.754Z] 2.2.0-dev.4: digest: sha256:e3fb2f7bfc3a4498e9267fc79645f2d4dcc2a69f05f8c1028bc7b9b8ca9199d9 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:15:40.051Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:111b0946ec5749ca592e50224ec8488a26173b9a-2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:15:40.347Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:111b0946ec5749ca592e50224ec8488a26173b9a-2.2.0-dev.4 [2022-01-19T20:15:40.347Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-01-19T20:15:40.347Z] 97b8a33daf5d: Preparing [2022-01-19T20:15:40.347Z] 5998ffbe3b4b: Preparing [2022-01-19T20:15:40.347Z] 59882dc804e0: Preparing [2022-01-19T20:15:40.347Z] 33c5384a8e46: Preparing [2022-01-19T20:15:40.347Z] 65dc795b348d: Preparing [2022-01-19T20:15:40.347Z] 1a058d5342cc: Preparing [2022-01-19T20:15:40.347Z] 1a058d5342cc: Waiting [2022-01-19T20:15:40.347Z] 65dc795b348d: Layer already exists [2022-01-19T20:15:40.347Z] 59882dc804e0: Layer already exists [2022-01-19T20:15:40.347Z] 97b8a33daf5d: Layer already exists [2022-01-19T20:15:40.347Z] 5998ffbe3b4b: Layer already exists [2022-01-19T20:15:40.347Z] 33c5384a8e46: Layer already exists [2022-01-19T20:15:40.347Z] 1a058d5342cc: Layer already exists [2022-01-19T20:15:40.347Z] 111b0946ec5749ca592e50224ec8488a26173b9a-2.2.0-dev.4: digest: sha256:e3fb2f7bfc3a4498e9267fc79645f2d4dcc2a69f05f8c1028bc7b9b8ca9199d9 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:15:40.648Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:15:40.955Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-01-19T20:15:40.955Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-01-19T20:15:40.955Z] 97b8a33daf5d: Preparing [2022-01-19T20:15:40.955Z] 5998ffbe3b4b: Preparing [2022-01-19T20:15:40.955Z] 59882dc804e0: Preparing [2022-01-19T20:15:40.955Z] 33c5384a8e46: Preparing [2022-01-19T20:15:40.955Z] 65dc795b348d: Preparing [2022-01-19T20:15:40.955Z] 1a058d5342cc: Preparing [2022-01-19T20:15:40.955Z] 1a058d5342cc: Waiting [2022-01-19T20:15:40.955Z] 59882dc804e0: Layer already exists [2022-01-19T20:15:40.955Z] 5998ffbe3b4b: Layer already exists [2022-01-19T20:15:40.955Z] 65dc795b348d: Layer already exists [2022-01-19T20:15:40.955Z] 97b8a33daf5d: Layer already exists [2022-01-19T20:15:40.955Z] 33c5384a8e46: Layer already exists [2022-01-19T20:15:40.955Z] 1a058d5342cc: Layer already exists [2022-01-19T20:15:40.955Z] main: digest: sha256:e3fb2f7bfc3a4498e9267fc79645f2d4dcc2a69f05f8c1028bc7b9b8ca9199d9 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-19T20:15:40.992Z] ===================================================== [Pipeline] echo [2022-01-19T20:15:41.005Z] taggedImages: [2022-01-19T20:15:41.005Z] - nexus3.edgexfoundry.org:10004/device-modbus:111b0946ec5749ca592e50224ec8488a26173b9a [2022-01-19T20:15:41.005Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-01-19T20:15:41.005Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.4 [2022-01-19T20:15:41.005Z] - nexus3.edgexfoundry.org:10004/device-modbus:111b0946ec5749ca592e50224ec8488a26173b9a-2.2.0-dev.4 [2022-01-19T20:15:41.005Z] - 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-19T20:15:41.418Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T20:15:41.419Z] [2022-01-19T20:15:41.419Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:15:41.732Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T20:15:41.732Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-19T20:15:41.732Z] b4d181a07f80: Pulling fs layer [2022-01-19T20:15:41.732Z] a1111a8f2ec3: Pulling fs layer [2022-01-19T20:15:41.732Z] ed53099fbce6: Pulling fs layer [2022-01-19T20:15:41.732Z] dc539afda2c1: Pulling fs layer [2022-01-19T20:15:41.732Z] 77bc0d833cb6: Pulling fs layer [2022-01-19T20:15:41.732Z] 9065ff56babe: Pulling fs layer [2022-01-19T20:15:41.732Z] d287ab97295c: Pulling fs layer [2022-01-19T20:15:41.732Z] 77bc0d833cb6: Waiting [2022-01-19T20:15:41.732Z] 9065ff56babe: Waiting [2022-01-19T20:15:41.732Z] d287ab97295c: Waiting [2022-01-19T20:15:41.732Z] dc539afda2c1: Waiting [2022-01-19T20:15:41.732Z] a1111a8f2ec3: Verifying Checksum [2022-01-19T20:15:41.732Z] a1111a8f2ec3: Download complete [2022-01-19T20:15:41.732Z] dc539afda2c1: Verifying Checksum [2022-01-19T20:15:41.732Z] dc539afda2c1: Download complete [2022-01-19T20:15:42.001Z] ed53099fbce6: Verifying Checksum [2022-01-19T20:15:42.001Z] ed53099fbce6: Download complete [2022-01-19T20:15:42.001Z] 9065ff56babe: Verifying Checksum [2022-01-19T20:15:42.001Z] 9065ff56babe: Download complete [2022-01-19T20:15:42.001Z] 77bc0d833cb6: Verifying Checksum [2022-01-19T20:15:42.001Z] 77bc0d833cb6: Download complete [2022-01-19T20:15:42.001Z] b4d181a07f80: Verifying Checksum [2022-01-19T20:15:42.001Z] b4d181a07f80: Download complete [2022-01-19T20:15:42.593Z] d287ab97295c: Verifying Checksum [2022-01-19T20:15:42.593Z] d287ab97295c: Download complete [2022-01-19T20:15:43.582Z] b4d181a07f80: Pull complete [2022-01-19T20:15:43.582Z] a1111a8f2ec3: Pull complete [2022-01-19T20:15:44.157Z] ed53099fbce6: Pull complete [2022-01-19T20:15:44.416Z] dc539afda2c1: Pull complete [2022-01-19T20:15:44.679Z] 77bc0d833cb6: Pull complete [2022-01-19T20:15:44.679Z] 9065ff56babe: Pull complete [2022-01-19T20:15:50.010Z] d287ab97295c: Pull complete [2022-01-19T20:15:50.010Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-19T20:15:50.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T20:15:50.010Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-19T20:15:50.219Z] prd-centos7-docker-4c-2g-2088 does not seem to be running inside a container [2022-01-19T20:15:50.449Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-19T20:15:54.512Z] $ docker top c63c936f516352c97bf46a8d8200d9e26d7347298f81cff52dd3d0ae1ec64b3a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:15:54.922Z] ---> job-cost.sh [2022-01-19T20:15:54.922Z] lf-activate-venv: SKIPPING [2022-01-19T20:15:54.922Z] INFO: No Stack... [2022-01-19T20:15:55.181Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-19T20:15:55.441Z] INFO: Archiving Costs [Pipeline] sh [2022-01-19T20:15:55.739Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-01-19T20:15:55.739Z] + cut -d, -f6 [Pipeline] lock [2022-01-19T20:15:55.757Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-21-stack-cost] [2022-01-19T20:15:55.763Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-21-stack-cost] did not exist. Created. [2022-01-19T20:15:55.763Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-19T20:15:56.070Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-19T20:15:56.098Z] Stashed 1 file(s) [Pipeline] } [2022-01-19T20:15:56.108Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-21-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-19T20:15:56.124Z] $ docker stop --time=1 c63c936f516352c97bf46a8d8200d9e26d7347298f81cff52dd3d0ae1ec64b3a [2022-01-19T20:15:57.261Z] $ docker rm -f c63c936f516352c97bf46a8d8200d9e26d7347298f81cff52dd3d0ae1ec64b3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-19T20:16:24.207Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2096 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-01-19T20:16:24.227Z] Running in /w/workspace/device-modbus-go/21 [Pipeline] { [Pipeline] checkout [2022-01-19T20:16:24.460Z] Selected Git installation does not exist. Using Default [2022-01-19T20:16:24.460Z] The recommended git tool is: NONE [2022-01-19T20:16:30.355Z] using credential edgex-jenkins-ssh [2022-01-19T20:16:30.375Z] Cloning the remote Git repository [2022-01-19T20:16:30.436Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-01-19T20:16:30.523Z] > git init /w/workspace/device-modbus-go/21 # timeout=10 [2022-01-19T20:16:30.632Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-01-19T20:16:30.634Z] > git --version # timeout=10 [2022-01-19T20:16:30.659Z] > git --version # 'git version 2.17.1' [2022-01-19T20:16:30.661Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-19T20:16:30.739Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-19T20:16:32.130Z] Avoid second fetch [2022-01-19T20:16:32.131Z] Checking out Revision 111b0946ec5749ca592e50224ec8488a26173b9a (main) [2022-01-19T20:16:32.084Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-01-19T20:16:32.106Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-19T20:16:32.154Z] > git config core.sparsecheckout # timeout=10 [2022-01-19T20:16:32.180Z] > git checkout -f 111b0946ec5749ca592e50224ec8488a26173b9a # timeout=10 [2022-01-19T20:16:36.710Z] Commit message: "Merge pull request #306 from ernestojeda/go-1_17-dockerfile-changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T20:16:37.832Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-19T20:16:37.832Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-19T20:16:37.832Z] Dload Upload Total Spent Left Speed [2022-01-19T20:16:37.832Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 177k 0 --:--:-- --:--:-- --:--:-- 177k [Pipeline] sh [2022-01-19T20:16:38.383Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-19T20:16:38.729Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-19T20:16:38.729Z] + sudo tee /etc/docker/daemon.new [2022-01-19T20:16:38.729Z] { [2022-01-19T20:16:38.729Z] "registry-mirrors": [ [2022-01-19T20:16:38.729Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-19T20:16:38.729Z] ], [2022-01-19T20:16:38.729Z] "bip": "10.250.0.254/24", [2022-01-19T20:16:38.729Z] "hosts": [ [2022-01-19T20:16:38.729Z] "tcp://0.0.0.0:5555", [2022-01-19T20:16:38.729Z] "unix:///var/run/docker.sock" [2022-01-19T20:16:38.729Z] ], [2022-01-19T20:16:38.729Z] "mtu": 1458, [2022-01-19T20:16:38.729Z] "selinux-enabled": true, [2022-01-19T20:16:38.729Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-19T20:16:38.729Z] } [Pipeline] sh [2022-01-19T20:16:39.083Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-19T20:16:39.448Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T20:16:57.810Z] provisioning config files... [2022-01-19T20:16:57.837Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/21@tmp/config6208605740769461582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:16:58.199Z] ---> docker-login.sh [2022-01-19T20:16:58.199Z] nexus3.edgexfoundry.org:10001 [2022-01-19T20:16:58.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:16:59.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:16:59.080Z] Configure a credential helper to remove this warning. See [2022-01-19T20:16:59.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:16:59.080Z] [2022-01-19T20:16:59.080Z] Login Succeeded [2022-01-19T20:16:59.080Z] nexus3.edgexfoundry.org:10002 [2022-01-19T20:16:59.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:16:59.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:16:59.628Z] Configure a credential helper to remove this warning. See [2022-01-19T20:16:59.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:16:59.628Z] [2022-01-19T20:16:59.628Z] Login Succeeded [2022-01-19T20:16:59.628Z] nexus3.edgexfoundry.org:10003 [2022-01-19T20:16:59.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:17:00.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:17:00.176Z] Configure a credential helper to remove this warning. See [2022-01-19T20:17:00.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:17:00.176Z] [2022-01-19T20:17:00.176Z] Login Succeeded [2022-01-19T20:17:00.176Z] nexus3.edgexfoundry.org:10004 [2022-01-19T20:17:00.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:17:00.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:17:00.447Z] Configure a credential helper to remove this warning. See [2022-01-19T20:17:00.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:17:00.447Z] [2022-01-19T20:17:00.447Z] Login Succeeded [2022-01-19T20:17:00.447Z] docker.io [2022-01-19T20:17:00.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:17:01.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:17:01.314Z] Configure a credential helper to remove this warning. See [2022-01-19T20:17:01.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:17:01.314Z] [2022-01-19T20:17:01.314Z] Login Succeeded [2022-01-19T20:17:01.314Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T20:17:01.332Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-19T20:17:01.759Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T20:17:01.773Z] ========================================================= [2022-01-19T20:17:01.773Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-19T20:17:01.773Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:17:02.202Z] + 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-19T20:17:02.474Z] Sending build context to Docker daemon 2.973MB [2022-01-19T20:17:02.474Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T20:17:02.474Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-19T20:17:02.747Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-19T20:17:02.747Z] 9b3977197b4f: Pulling fs layer [2022-01-19T20:17:02.747Z] 1a89e8eeedd5: Pulling fs layer [2022-01-19T20:17:02.747Z] 94645a83ff95: Pulling fs layer [2022-01-19T20:17:02.747Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-19T20:17:02.747Z] 0c92f367c5e7: Pulling fs layer [2022-01-19T20:17:02.747Z] 4b8299f9d1f4: Pulling fs layer [2022-01-19T20:17:02.747Z] 9a6b49a46696: Pulling fs layer [2022-01-19T20:17:02.747Z] cf05db05a679: Pulling fs layer [2022-01-19T20:17:02.747Z] 4b8299f9d1f4: Waiting [2022-01-19T20:17:02.747Z] 9a6b49a46696: Waiting [2022-01-19T20:17:02.747Z] cf05db05a679: Waiting [2022-01-19T20:17:02.747Z] 3f3a8bcf1eab: Waiting [2022-01-19T20:17:02.747Z] 0c92f367c5e7: Waiting [2022-01-19T20:17:02.747Z] 94645a83ff95: Verifying Checksum [2022-01-19T20:17:02.747Z] 94645a83ff95: Download complete [2022-01-19T20:17:02.747Z] 1a89e8eeedd5: Verifying Checksum [2022-01-19T20:17:02.747Z] 1a89e8eeedd5: Download complete [2022-01-19T20:17:02.747Z] 0c92f367c5e7: Download complete [2022-01-19T20:17:02.747Z] 4b8299f9d1f4: Verifying Checksum [2022-01-19T20:17:02.747Z] 4b8299f9d1f4: Download complete [2022-01-19T20:17:02.747Z] 9b3977197b4f: Verifying Checksum [2022-01-19T20:17:02.747Z] 9a6b49a46696: Verifying Checksum [2022-01-19T20:17:02.747Z] 9a6b49a46696: Download complete [2022-01-19T20:17:03.750Z] 9b3977197b4f: Pull complete [2022-01-19T20:17:04.029Z] 1a89e8eeedd5: Pull complete [2022-01-19T20:17:04.627Z] 94645a83ff95: Pull complete [2022-01-19T20:17:04.627Z] cf05db05a679: Verifying Checksum [2022-01-19T20:17:04.627Z] cf05db05a679: Download complete [2022-01-19T20:17:05.221Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-19T20:17:05.221Z] 3f3a8bcf1eab: Download complete [2022-01-19T20:17:17.604Z] 3f3a8bcf1eab: Pull complete [2022-01-19T20:17:17.604Z] 0c92f367c5e7: Pull complete [2022-01-19T20:17:17.604Z] 4b8299f9d1f4: Pull complete [2022-01-19T20:17:17.604Z] 9a6b49a46696: Pull complete [2022-01-19T20:17:23.025Z] cf05db05a679: Pull complete [2022-01-19T20:17:23.025Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-19T20:17:23.025Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-19T20:17:23.025Z] ---> 0ccda1f7e2ee [2022-01-19T20:17:23.025Z] Step 3/10 : ARG MAKE='make build' [2022-01-19T20:17:24.461Z] ---> Running in 7584e103d48e [2022-01-19T20:17:25.055Z] Removing intermediate container 7584e103d48e [2022-01-19T20:17:25.055Z] ---> de8dc3c1c4e2 [2022-01-19T20:17:25.055Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T20:17:25.055Z] ---> Running in 5b88621112e3 [2022-01-19T20:17:27.040Z] Removing intermediate container 5b88621112e3 [2022-01-19T20:17:27.040Z] ---> 813ad8634e12 [2022-01-19T20:17:27.040Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-01-19T20:17:27.040Z] ---> Running in 49decd54e3e3 [2022-01-19T20:17:28.035Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-19T20:17:29.016Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-19T20:17:30.451Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-01-19T20:17:30.723Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-01-19T20:17:30.723Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-01-19T20:17:30.996Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-01-19T20:17:30.996Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-01-19T20:17:31.268Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-01-19T20:17:31.268Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-01-19T20:17:31.268Z] (8/8) Installing openssh (8.8_p1-r1) [2022-01-19T20:17:31.541Z] Executing busybox-1.34.1-r3.trigger [2022-01-19T20:17:31.541Z] OK: 226 MiB in 60 packages [2022-01-19T20:17:32.522Z] Removing intermediate container 49decd54e3e3 [2022-01-19T20:17:32.522Z] ---> 0e74a23d275b [2022-01-19T20:17:32.522Z] Step 6/10 : WORKDIR /device-modbus-go [2022-01-19T20:17:32.522Z] ---> Running in 88a04b5b02a8 [2022-01-19T20:17:33.117Z] Removing intermediate container 88a04b5b02a8 [2022-01-19T20:17:33.117Z] ---> b3d93b05f178 [2022-01-19T20:17:33.117Z] Step 7/10 : COPY go.mod vendor* ./ [2022-01-19T20:17:33.709Z] ---> 4924752d7ff5 [2022-01-19T20:17:33.709Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T20:17:33.709Z] ---> Running in d353a9c24410 [2022-01-19T20:18:55.502Z] Removing intermediate container d353a9c24410 [2022-01-19T20:18:55.502Z] ---> 9543c5612e6f [2022-01-19T20:18:55.502Z] Step 9/10 : COPY . . [2022-01-19T20:18:55.502Z] ---> 350794b9cee5 [2022-01-19T20:18:55.502Z] Step 10/10 : RUN ${MAKE} [2022-01-19T20:18:55.502Z] ---> Running in 481f07ca8045 [2022-01-19T20:18:55.502Z] noop [2022-01-19T20:18:55.502Z] Removing intermediate container 481f07ca8045 [2022-01-19T20:18:55.502Z] ---> e15e969627eb [2022-01-19T20:18:55.502Z] Successfully built e15e969627eb [2022-01-19T20:18:55.502Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:18:55.869Z] + docker inspect -f . ci-base-image-arm64 [2022-01-19T20:18:55.869Z] . [Pipeline] withDockerContainer [2022-01-19T20:18:56.151Z] prd-ubuntu18.04-docker-arm64-4c-16g-2096 does not seem to be running inside a container [2022-01-19T20:18:56.243Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/21 -v /w/workspace/device-modbus-go/21:/w/workspace/device-modbus-go/21:rw,z -v /w/workspace/device-modbus-go/21@tmp:/w/workspace/device-modbus-go/21@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-19T20:18:57.757Z] $ docker top 1884ff6e68c38f71a1ca02c74bf5cc4b080db870d05296855d1e6f41decfa6c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T20:18:58.720Z] + go version [2022-01-19T20:18:58.720Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-19T20:18:58.748Z] $ docker stop --time=1 1884ff6e68c38f71a1ca02c74bf5cc4b080db870d05296855d1e6f41decfa6c0 [2022-01-19T20:19:00.501Z] $ docker rm -f 1884ff6e68c38f71a1ca02c74bf5cc4b080db870d05296855d1e6f41decfa6c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:19:01.174Z] + docker inspect -f . ci-base-image-arm64 [2022-01-19T20:19:01.175Z] . [Pipeline] withDockerContainer [2022-01-19T20:19:01.438Z] prd-ubuntu18.04-docker-arm64-4c-16g-2096 does not seem to be running inside a container [2022-01-19T20:19:01.531Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/21 -v /w/workspace/device-modbus-go/21:/w/workspace/device-modbus-go/21:rw,z -v /w/workspace/device-modbus-go/21@tmp:/w/workspace/device-modbus-go/21@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-19T20:19:02.971Z] $ docker top bd813d611a2cfe05fca0bc5f04ba498ed9d10937ac3edb83bbf9186902e98df3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-19T20:19:03.930Z] + make test [2022-01-19T20:19:03.930Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-19T20:19:05.370Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-01-19T20:20:01.957Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-01-19T20:20:01.957Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.052s coverage: 46.6% of statements [2022-01-19T20:20:02.236Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-19T20:20:29.077Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-19T20:20:29.077Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-19T20:20:29.077Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-19T20:20:29.098Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-19T20:20:29.112Z] $ docker stop --time=1 bd813d611a2cfe05fca0bc5f04ba498ed9d10937ac3edb83bbf9186902e98df3 [2022-01-19T20:20:30.996Z] $ docker rm -f bd813d611a2cfe05fca0bc5f04ba498ed9d10937ac3edb83bbf9186902e98df3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T20:20:31.924Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-19T20:20:31.944Z] Warning: overwriting stash ‘coverage-report’ [2022-01-19T20:20:32.516Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T20:20:32.932Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-19T20:20:33.275Z] + ls -al . [2022-01-19T20:20:33.275Z] total 184 [2022-01-19T20:20:33.275Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 19 20:20 . [2022-01-19T20:20:33.275Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 20:16 .. [2022-01-19T20:20:33.275Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 19 20:16 .dockerignore [2022-01-19T20:20:33.275Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 20:16 .git [2022-01-19T20:20:33.275Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 20:16 .github [2022-01-19T20:20:33.275Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 19 20:16 .gitignore [2022-01-19T20:20:33.275Z] -rw-rw-r-- 1 jenkins jenkins 8010 Jan 19 20:16 Attribution.txt [2022-01-19T20:20:33.275Z] -rw-rw-r-- 1 jenkins jenkins 6038 Jan 19 20:16 CHANGELOG.md [2022-01-19T20:20:33.275Z] -rw-rw-r-- 1 jenkins jenkins 1546 Jan 19 20:16 Dockerfile [2022-01-19T20:20:33.275Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 20:16 GOVERNANCE.md [2022-01-19T20:20:33.275Z] -rw-rw-r-- 1 jenkins jenkins 679 Jan 19 20:16 Jenkinsfile [2022-01-19T20:20:33.275Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 20:16 LICENSE [2022-01-19T20:20:33.275Z] -rw-rw-r-- 1 jenkins jenkins 1009 Jan 19 20:16 Makefile [2022-01-19T20:20:33.275Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 19 20:16 OWNERS.md [2022-01-19T20:20:33.275Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 19 20:16 README.md [2022-01-19T20:20:33.275Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 19 20:13 VERSION [2022-01-19T20:20:33.275Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 20:16 bin [2022-01-19T20:20:33.275Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 20:16 cmd [2022-01-19T20:20:33.275Z] -rw-r--r-- 1 jenkins jenkins 23727 Jan 19 20:20 coverage.out [2022-01-19T20:20:33.275Z] -rw-rw-r-- 1 jenkins jenkins 300 Jan 19 20:16 go.mod [2022-01-19T20:20:33.275Z] -rw-rw-r-- 1 jenkins jenkins 49511 Jan 19 20:16 go.sum [2022-01-19T20:20:33.275Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 20:16 internal [2022-01-19T20:20:33.275Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 20:16 simulator [2022-01-19T20:20:33.275Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 20:16 snap [2022-01-19T20:20:33.275Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 19 20:16 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:20:33.617Z] + 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=111b0946ec5749ca592e50224ec8488a26173b9a --label arch=arm64 --label version=2.2.0-dev.4 . [2022-01-19T20:20:33.891Z] Sending build context to Docker daemon 2.997MB [2022-01-19T20:20:33.891Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T20:20:34.165Z] Step 2/23 : FROM ${BASE} AS builder [2022-01-19T20:20:34.165Z] ---> e15e969627eb [2022-01-19T20:20:34.165Z] Step 3/23 : ARG MAKE='make build' [2022-01-19T20:20:34.165Z] ---> Running in ba3b18908145 [2022-01-19T20:20:34.442Z] Removing intermediate container ba3b18908145 [2022-01-19T20:20:34.442Z] ---> 48c92a1ce0f6 [2022-01-19T20:20:34.442Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T20:20:34.716Z] ---> Running in d07cd7b00b28 [2022-01-19T20:20:36.705Z] Removing intermediate container d07cd7b00b28 [2022-01-19T20:20:36.705Z] ---> fd22e3aad6c3 [2022-01-19T20:20:36.705Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-01-19T20:20:36.705Z] ---> Running in 19d7ac687555 [2022-01-19T20:20:37.700Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-19T20:20:38.680Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-19T20:20:39.686Z] OK: 226 MiB in 60 packages [2022-01-19T20:20:40.727Z] Removing intermediate container 19d7ac687555 [2022-01-19T20:20:40.727Z] ---> 4cc933472bc9 [2022-01-19T20:20:40.727Z] Step 6/23 : WORKDIR /device-modbus-go [2022-01-19T20:20:40.727Z] ---> Running in 6ec772f5a490 [2022-01-19T20:20:41.334Z] Removing intermediate container 6ec772f5a490 [2022-01-19T20:20:41.334Z] ---> 9922d755de76 [2022-01-19T20:20:41.334Z] Step 7/23 : COPY go.mod vendor* ./ [2022-01-19T20:20:41.975Z] ---> 19e3f3e1ddd0 [2022-01-19T20:20:41.975Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T20:20:41.975Z] ---> Running in cc202e784b11 [2022-01-19T20:20:44.618Z] Removing intermediate container cc202e784b11 [2022-01-19T20:20:44.619Z] ---> 06015a67c005 [2022-01-19T20:20:44.619Z] Step 9/23 : COPY . . [2022-01-19T20:20:45.216Z] ---> 7ad029071f61 [2022-01-19T20:20:45.216Z] Step 10/23 : RUN ${MAKE} [2022-01-19T20:20:45.491Z] ---> Running in 53e25aa37335 [2022-01-19T20:20:46.480Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.4" -o cmd/device-modbus ./cmd [2022-01-19T20:21:33.489Z] Removing intermediate container 53e25aa37335 [2022-01-19T20:21:33.489Z] ---> d08f2dda9eb8 [2022-01-19T20:21:33.489Z] Step 11/23 : FROM alpine:3.14 [2022-01-19T20:21:33.489Z] 3.14: Pulling from library/alpine [2022-01-19T20:21:33.489Z] be307f383ecc: Pulling fs layer [2022-01-19T20:21:33.489Z] be307f383ecc: Verifying Checksum [2022-01-19T20:21:33.489Z] be307f383ecc: Download complete [2022-01-19T20:21:33.489Z] be307f383ecc: Pull complete [2022-01-19T20:21:33.489Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-19T20:21:33.489Z] Status: Downloaded newer image for alpine:3.14 [2022-01-19T20:21:33.489Z] ---> 5b8b7b635229 [2022-01-19T20:21:33.489Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-01-19T20:21:33.489Z] ---> Running in 7eba4cafd5bd [2022-01-19T20:21:33.489Z] Removing intermediate container 7eba4cafd5bd [2022-01-19T20:21:33.489Z] ---> 723312614657 [2022-01-19T20:21:33.489Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T20:21:33.489Z] ---> Running in 795bb42d079b [2022-01-19T20:21:34.480Z] Removing intermediate container 795bb42d079b [2022-01-19T20:21:34.480Z] ---> d3393b0176f2 [2022-01-19T20:21:34.480Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-19T20:21:34.480Z] ---> Running in 97f93a9f6c9a [2022-01-19T20:21:35.926Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-19T20:21:36.521Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-19T20:21:37.498Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-19T20:21:37.498Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-19T20:21:37.770Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-19T20:21:37.770Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-19T20:21:38.046Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-19T20:21:38.046Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-19T20:21:38.046Z] Executing busybox-1.33.1-r6.trigger [2022-01-19T20:21:38.046Z] OK: 8 MiB in 20 packages [2022-01-19T20:21:39.485Z] Removing intermediate container 97f93a9f6c9a [2022-01-19T20:21:39.485Z] ---> 79f4d71a276b [2022-01-19T20:21:39.485Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-01-19T20:21:40.468Z] ---> e7776208d6f9 [2022-01-19T20:21:40.468Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-01-19T20:21:41.068Z] ---> e7134fbf059f [2022-01-19T20:21:41.068Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-01-19T20:21:41.669Z] ---> 7afe48d38afd [2022-01-19T20:21:41.669Z] Step 18/23 : EXPOSE 59901 [2022-01-19T20:21:41.669Z] ---> Running in 4a7ef779c042 [2022-01-19T20:21:42.267Z] Removing intermediate container 4a7ef779c042 [2022-01-19T20:21:42.267Z] ---> 8195e8acfc11 [2022-01-19T20:21:42.267Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-01-19T20:21:42.267Z] ---> Running in 320c7c95727d [2022-01-19T20:21:42.546Z] Removing intermediate container 320c7c95727d [2022-01-19T20:21:42.546Z] ---> 85b0959d1a31 [2022-01-19T20:21:42.546Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-19T20:21:42.821Z] ---> Running in 38ec6b9f21a0 [2022-01-19T20:21:43.179Z] Removing intermediate container 38ec6b9f21a0 [2022-01-19T20:21:43.179Z] ---> 1a9300a77f1e [2022-01-19T20:21:43.179Z] Step 21/23 : LABEL arch=arm64 [2022-01-19T20:21:43.179Z] ---> Running in 2d3bb42852fc [2022-01-19T20:21:43.450Z] Removing intermediate container 2d3bb42852fc [2022-01-19T20:21:43.450Z] ---> 2538536dec67 [2022-01-19T20:21:43.450Z] Step 22/23 : LABEL git_sha=111b0946ec5749ca592e50224ec8488a26173b9a [2022-01-19T20:21:43.722Z] ---> Running in 0b47ad2112fc [2022-01-19T20:21:43.993Z] Removing intermediate container 0b47ad2112fc [2022-01-19T20:21:43.993Z] ---> 96fe7728d729 [2022-01-19T20:21:43.993Z] Step 23/23 : LABEL version=2.2.0-dev.4 [2022-01-19T20:21:43.993Z] ---> Running in 35c4524c656a [2022-01-19T20:21:44.586Z] Removing intermediate container 35c4524c656a [2022-01-19T20:21:44.586Z] ---> 42c0ab1da3cc [2022-01-19T20:21:44.586Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-19T20:21:44.586Z] Successfully built 42c0ab1da3cc [2022-01-19T20:21:44.586Z] 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-19T20:21:44.710Z] provisioning config files... [2022-01-19T20:21:44.727Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/21@tmp/config493881967414214471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:21:45.079Z] ---> docker-login.sh [2022-01-19T20:21:45.079Z] nexus3.edgexfoundry.org:10001 [2022-01-19T20:21:45.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:21:45.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:21:45.350Z] Configure a credential helper to remove this warning. See [2022-01-19T20:21:45.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:21:45.350Z] [2022-01-19T20:21:45.350Z] Login Succeeded [2022-01-19T20:21:45.350Z] nexus3.edgexfoundry.org:10002 [2022-01-19T20:21:45.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:21:45.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:21:45.893Z] Configure a credential helper to remove this warning. See [2022-01-19T20:21:45.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:21:45.893Z] [2022-01-19T20:21:45.893Z] Login Succeeded [2022-01-19T20:21:45.893Z] nexus3.edgexfoundry.org:10003 [2022-01-19T20:21:46.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:21:46.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:21:46.167Z] Configure a credential helper to remove this warning. See [2022-01-19T20:21:46.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:21:46.167Z] [2022-01-19T20:21:46.167Z] Login Succeeded [2022-01-19T20:21:46.167Z] nexus3.edgexfoundry.org:10004 [2022-01-19T20:21:46.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:21:46.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:21:46.716Z] Configure a credential helper to remove this warning. See [2022-01-19T20:21:46.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:21:46.716Z] [2022-01-19T20:21:46.716Z] Login Succeeded [2022-01-19T20:21:46.716Z] docker.io [2022-01-19T20:21:46.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:21:47.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:21:47.577Z] Configure a credential helper to remove this warning. See [2022-01-19T20:21:47.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:21:47.577Z] [2022-01-19T20:21:47.577Z] Login Succeeded [2022-01-19T20:21:47.577Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T20:21:47.592Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-19T20:21:47.628Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T20:21:47.654Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-01-19T20:21:47.654Z] 111b0946ec5749ca592e50224ec8488a26173b9a [2022-01-19T20:21:47.654Z] latest [2022-01-19T20:21:47.654Z] 2.2.0-dev.4 [2022-01-19T20:21:47.654Z] 111b0946ec5749ca592e50224ec8488a26173b9a-2.2.0-dev.4 [2022-01-19T20:21:47.654Z] main [2022-01-19T20:21:47.654Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:21:48.020Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:111b0946ec5749ca592e50224ec8488a26173b9a [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:21:48.364Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:111b0946ec5749ca592e50224ec8488a26173b9a [2022-01-19T20:21:48.364Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-01-19T20:21:48.364Z] a767b1f9e8d4: Preparing [2022-01-19T20:21:48.364Z] 90eec7665b00: Preparing [2022-01-19T20:21:48.364Z] 9dcab88800b0: Preparing [2022-01-19T20:21:48.364Z] f40a4e5588b8: Preparing [2022-01-19T20:21:48.364Z] b5bc22d0a7e1: Preparing [2022-01-19T20:21:48.364Z] 62170e181a92: Preparing [2022-01-19T20:21:48.364Z] 62170e181a92: Waiting [2022-01-19T20:21:48.642Z] 90eec7665b00: Pushed [2022-01-19T20:21:48.642Z] a767b1f9e8d4: Pushed [2022-01-19T20:21:48.642Z] b5bc22d0a7e1: Pushed [2022-01-19T20:21:48.642Z] 62170e181a92: Layer already exists [2022-01-19T20:21:49.230Z] f40a4e5588b8: Pushed [2022-01-19T20:21:51.186Z] 9dcab88800b0: Pushed [2022-01-19T20:21:51.457Z] 111b0946ec5749ca592e50224ec8488a26173b9a: digest: sha256:b3fa41e0b8b10e81409e55938902bb9b62371b0e0c38a124ae794a459a784553 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:21:51.797Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:21:52.127Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-01-19T20:21:52.127Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-01-19T20:21:52.127Z] a767b1f9e8d4: Preparing [2022-01-19T20:21:52.127Z] 90eec7665b00: Preparing [2022-01-19T20:21:52.127Z] 9dcab88800b0: Preparing [2022-01-19T20:21:52.127Z] f40a4e5588b8: Preparing [2022-01-19T20:21:52.127Z] b5bc22d0a7e1: Preparing [2022-01-19T20:21:52.127Z] 62170e181a92: Preparing [2022-01-19T20:21:52.127Z] 62170e181a92: Waiting [2022-01-19T20:21:52.127Z] f40a4e5588b8: Layer already exists [2022-01-19T20:21:52.127Z] 90eec7665b00: Layer already exists [2022-01-19T20:21:52.127Z] b5bc22d0a7e1: Layer already exists [2022-01-19T20:21:52.127Z] a767b1f9e8d4: Layer already exists [2022-01-19T20:21:52.127Z] 9dcab88800b0: Layer already exists [2022-01-19T20:21:52.127Z] 62170e181a92: Layer already exists [2022-01-19T20:21:52.403Z] latest: digest: sha256:b3fa41e0b8b10e81409e55938902bb9b62371b0e0c38a124ae794a459a784553 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:21:52.741Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:21:53.080Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.4 [2022-01-19T20:21:53.080Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-01-19T20:21:53.080Z] a767b1f9e8d4: Preparing [2022-01-19T20:21:53.080Z] 90eec7665b00: Preparing [2022-01-19T20:21:53.080Z] 9dcab88800b0: Preparing [2022-01-19T20:21:53.080Z] f40a4e5588b8: Preparing [2022-01-19T20:21:53.080Z] b5bc22d0a7e1: Preparing [2022-01-19T20:21:53.080Z] 62170e181a92: Preparing [2022-01-19T20:21:53.080Z] 62170e181a92: Waiting [2022-01-19T20:21:53.080Z] a767b1f9e8d4: Layer already exists [2022-01-19T20:21:53.080Z] 9dcab88800b0: Layer already exists [2022-01-19T20:21:53.080Z] b5bc22d0a7e1: Layer already exists [2022-01-19T20:21:53.080Z] 90eec7665b00: Layer already exists [2022-01-19T20:21:53.080Z] f40a4e5588b8: Layer already exists [2022-01-19T20:21:53.080Z] 62170e181a92: Layer already exists [2022-01-19T20:21:53.352Z] 2.2.0-dev.4: digest: sha256:b3fa41e0b8b10e81409e55938902bb9b62371b0e0c38a124ae794a459a784553 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:21:53.698Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:111b0946ec5749ca592e50224ec8488a26173b9a-2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:21:54.030Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:111b0946ec5749ca592e50224ec8488a26173b9a-2.2.0-dev.4 [2022-01-19T20:21:54.030Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-01-19T20:21:54.030Z] a767b1f9e8d4: Preparing [2022-01-19T20:21:54.030Z] 90eec7665b00: Preparing [2022-01-19T20:21:54.030Z] 9dcab88800b0: Preparing [2022-01-19T20:21:54.030Z] f40a4e5588b8: Preparing [2022-01-19T20:21:54.030Z] b5bc22d0a7e1: Preparing [2022-01-19T20:21:54.030Z] 62170e181a92: Preparing [2022-01-19T20:21:54.030Z] 62170e181a92: Waiting [2022-01-19T20:21:54.030Z] 90eec7665b00: Layer already exists [2022-01-19T20:21:54.030Z] a767b1f9e8d4: Layer already exists [2022-01-19T20:21:54.030Z] f40a4e5588b8: Layer already exists [2022-01-19T20:21:54.030Z] b5bc22d0a7e1: Layer already exists [2022-01-19T20:21:54.030Z] 9dcab88800b0: Layer already exists [2022-01-19T20:21:54.030Z] 62170e181a92: Layer already exists [2022-01-19T20:21:54.300Z] 111b0946ec5749ca592e50224ec8488a26173b9a-2.2.0-dev.4: digest: sha256:b3fa41e0b8b10e81409e55938902bb9b62371b0e0c38a124ae794a459a784553 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:21:54.634Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:21:54.970Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-01-19T20:21:54.970Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-01-19T20:21:54.970Z] a767b1f9e8d4: Preparing [2022-01-19T20:21:54.970Z] 90eec7665b00: Preparing [2022-01-19T20:21:54.970Z] 9dcab88800b0: Preparing [2022-01-19T20:21:54.970Z] f40a4e5588b8: Preparing [2022-01-19T20:21:54.970Z] b5bc22d0a7e1: Preparing [2022-01-19T20:21:54.970Z] 62170e181a92: Preparing [2022-01-19T20:21:54.970Z] 62170e181a92: Waiting [2022-01-19T20:21:54.970Z] f40a4e5588b8: Layer already exists [2022-01-19T20:21:54.970Z] b5bc22d0a7e1: Layer already exists [2022-01-19T20:21:54.970Z] a767b1f9e8d4: Layer already exists [2022-01-19T20:21:54.970Z] 9dcab88800b0: Layer already exists [2022-01-19T20:21:54.970Z] 90eec7665b00: Layer already exists [2022-01-19T20:21:54.970Z] 62170e181a92: Layer already exists [2022-01-19T20:21:55.241Z] main: digest: sha256:b3fa41e0b8b10e81409e55938902bb9b62371b0e0c38a124ae794a459a784553 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-19T20:21:55.291Z] ===================================================== [Pipeline] echo [2022-01-19T20:21:55.300Z] taggedImages: [2022-01-19T20:21:55.300Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:111b0946ec5749ca592e50224ec8488a26173b9a [2022-01-19T20:21:55.300Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-01-19T20:21:55.300Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.4 [2022-01-19T20:21:55.300Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:111b0946ec5749ca592e50224ec8488a26173b9a-2.2.0-dev.4 [2022-01-19T20:21:55.300Z] - 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-19T20:21:55.678Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T20:21:55.678Z] [2022-01-19T20:21:55.678Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:21:56.023Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T20:21:56.295Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-19T20:21:56.295Z] 448f6bf000e3: Pulling fs layer [2022-01-19T20:21:56.295Z] f757da607395: Pulling fs layer [2022-01-19T20:21:56.295Z] 05883995daec: Pulling fs layer [2022-01-19T20:21:56.295Z] 8603b9c90790: Pulling fs layer [2022-01-19T20:21:56.295Z] 1560dd03e051: Pulling fs layer [2022-01-19T20:21:56.295Z] 27f5ce0e4adf: Pulling fs layer [2022-01-19T20:21:56.295Z] c2d8d7efcc4b: Pulling fs layer [2022-01-19T20:21:56.295Z] 8603b9c90790: Waiting [2022-01-19T20:21:56.295Z] 1560dd03e051: Waiting [2022-01-19T20:21:56.295Z] 27f5ce0e4adf: Waiting [2022-01-19T20:21:56.295Z] c2d8d7efcc4b: Waiting [2022-01-19T20:21:56.295Z] f757da607395: Verifying Checksum [2022-01-19T20:21:56.295Z] f757da607395: Download complete [2022-01-19T20:21:56.295Z] 8603b9c90790: Verifying Checksum [2022-01-19T20:21:56.295Z] 8603b9c90790: Download complete [2022-01-19T20:21:56.295Z] 1560dd03e051: Verifying Checksum [2022-01-19T20:21:56.295Z] 1560dd03e051: Download complete [2022-01-19T20:21:56.295Z] 27f5ce0e4adf: Verifying Checksum [2022-01-19T20:21:56.295Z] 27f5ce0e4adf: Download complete [2022-01-19T20:21:56.568Z] 05883995daec: Verifying Checksum [2022-01-19T20:21:56.568Z] 05883995daec: Download complete [2022-01-19T20:21:56.841Z] 448f6bf000e3: Verifying Checksum [2022-01-19T20:21:56.841Z] 448f6bf000e3: Download complete [2022-01-19T20:21:59.451Z] c2d8d7efcc4b: Verifying Checksum [2022-01-19T20:21:59.451Z] c2d8d7efcc4b: Download complete [2022-01-19T20:22:00.044Z] 448f6bf000e3: Pull complete [2022-01-19T20:22:00.633Z] f757da607395: Pull complete [2022-01-19T20:22:02.060Z] 05883995daec: Pull complete [2022-01-19T20:22:02.060Z] 8603b9c90790: Pull complete [2022-01-19T20:22:03.033Z] 1560dd03e051: Pull complete [2022-01-19T20:22:03.033Z] 27f5ce0e4adf: Pull complete [2022-01-19T20:22:18.227Z] c2d8d7efcc4b: Pull complete [2022-01-19T20:22:18.227Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-19T20:22:18.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T20:22:18.227Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-19T20:22:18.470Z] prd-ubuntu18.04-docker-arm64-4c-16g-2096 does not seem to be running inside a container [2022-01-19T20:22:18.554Z] $ 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/21 -v /w/workspace/device-modbus-go/21:/w/workspace/device-modbus-go/21:rw,z -v /w/workspace/device-modbus-go/21@tmp:/w/workspace/device-modbus-go/21@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-19T20:22:21.434Z] $ docker top 650ba0e79416d8061fb354279efe631b3753de0e543186f39803ba804d02a230 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:22:22.366Z] ---> job-cost.sh [2022-01-19T20:22:22.366Z] lf-activate-venv: SKIPPING [2022-01-19T20:22:22.366Z] INFO: No Stack... [2022-01-19T20:22:22.639Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-19T20:22:22.912Z] INFO: Archiving Costs [Pipeline] sh [2022-01-19T20:22:23.580Z] + cat /w/workspace/device-modbus-go/21/archives/cost.csv [2022-01-19T20:22:23.580Z] + cut -d, -f6 [Pipeline] lock [2022-01-19T20:22:23.655Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-21-stack-cost] [2022-01-19T20:22:23.660Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-21-stack-cost] did not exist. Created. [2022-01-19T20:22:23.660Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-19T20:22:24.335Z] /w/workspace/device-modbus-go/21@tmp/durable-1acb1259/script.sh: 1: /w/workspace/device-modbus-go/21@tmp/durable-1acb1259/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-19T20:22:25.016Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-19T20:22:25.038Z] Warning: overwriting stash ‘stack-cost’ [2022-01-19T20:22:25.092Z] Stashed 1 file(s) [Pipeline] } [2022-01-19T20:22:25.104Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-21-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-19T20:22:25.118Z] $ docker stop --time=1 650ba0e79416d8061fb354279efe631b3753de0e543186f39803ba804d02a230 [2022-01-19T20:22:26.628Z] $ docker rm -f 650ba0e79416d8061fb354279efe631b3753de0e543186f39803ba804d02a230 [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-19T20:22:27.089Z] provisioning config files... [2022-01-19T20:22:27.097Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6118356903461495099tmp [Pipeline] { [Pipeline] sh [2022-01-19T20:22:27.401Z] + set +x [2022-01-19T20:22:27.401Z] + curl -s https://codecov.io/bash [2022-01-19T20:22:27.401Z] + bash -s -- [2022-01-19T20:22:27.401Z] [2022-01-19T20:22:27.401Z] _____ _ [2022-01-19T20:22:27.401Z] / ____| | | [2022-01-19T20:22:27.401Z] | | ___ __| | ___ ___ _____ __ [2022-01-19T20:22:27.401Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-19T20:22:27.401Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-19T20:22:27.401Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-19T20:22:27.401Z] Bash-1.0.6 [2022-01-19T20:22:27.401Z] [2022-01-19T20:22:27.401Z] [2022-01-19T20:22:27.401Z] ==> git version 2.24.4 found [2022-01-19T20:22:27.401Z] ==> 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-19T20:22:27.401Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-19T20:22:27.401Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-19T20:22:27.401Z] ==> Jenkins CI detected. [2022-01-19T20:22:27.401Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-01-19T20:22:27.401Z] project root: . [2022-01-19T20:22:27.401Z] --> token set from env [2022-01-19T20:22:27.401Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-19T20:22:27.401Z] ==> Running gcov in . (disable via -X gcov) [2022-01-19T20:22:27.401Z] ==> Python coveragepy not found [2022-01-19T20:22:27.401Z] ==> Searching for coverage reports in: [2022-01-19T20:22:27.401Z] + . [2022-01-19T20:22:27.401Z] -> Found 1 reports [2022-01-19T20:22:27.401Z] ==> Detecting git/mercurial file structure [2022-01-19T20:22:27.401Z] ==> Reading reports [2022-01-19T20:22:27.401Z] + ./coverage.out bytes=23727 [2022-01-19T20:22:27.401Z] ==> Appending adjustments [2022-01-19T20:22:27.401Z] https://docs.codecov.io/docs/fixing-reports [2022-01-19T20:22:27.662Z] + Found adjustments [2022-01-19T20:22:27.662Z] ==> Gzipping contents [2022-01-19T20:22:27.662Z] 4.0K /tmp/codecov.Ivrsd9.gz [2022-01-19T20:22:27.662Z] ==> Uploading reports [2022-01-19T20:22:27.662Z] url: https://codecov.io [2022-01-19T20:22:27.662Z] query: branch=main&commit=111b0946ec5749ca592e50224ec8488a26173b9a&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-19T20:22:27.662Z] -> Pinging Codecov [2022-01-19T20:22:27.662Z] 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=111b0946ec5749ca592e50224ec8488a26173b9a&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-19T20:22:28.231Z] -> Uploading to [2022-01-19T20:22:28.231Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-19/55DBCA73C666E3227836607328DD7E49/111b0946ec5749ca592e50224ec8488a26173b9a/32f673a4-74ec-4317-937e-60944ade8ba1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220119T202227Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5d71a2ae1999fe62c12c8f755608d868781be9526cfb0bf189807a885c953414 [2022-01-19T20:22:28.231Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-19T20:22:28.231Z] Dload Upload Total Spent Left Speed [2022-01-19T20:22:28.492Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4013 0 0 100 4013 0 13844 --:--:-- --:--:-- --:--:-- 13885 [2022-01-19T20:22:28.492Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/111b0946ec5749ca592e50224ec8488a26173b9a [Pipeline] } [2022-01-19T20:22:28.502Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-01-19T20:22:28.633Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-01-19T20:22:28.650Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:22:28.960Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-19T20:22:28.960Z] [2022-01-19T20:22:28.960Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:22:29.283Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-19T20:22:29.283Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-01-19T20:22:29.283Z] 188c0c94c7c5: Pulling fs layer [2022-01-19T20:22:29.283Z] 0ef7d3d256c8: Pulling fs layer [2022-01-19T20:22:29.283Z] de9db76c5a1d: Pulling fs layer [2022-01-19T20:22:29.283Z] 0eba1c9be4d2: Pulling fs layer [2022-01-19T20:22:29.283Z] 0d57e429df01: Pulling fs layer [2022-01-19T20:22:29.283Z] 4e4be7b47b0d: Pulling fs layer [2022-01-19T20:22:29.283Z] e1f770b5df2f: Pulling fs layer [2022-01-19T20:22:29.283Z] 85a0685a4137: Pulling fs layer [2022-01-19T20:22:29.283Z] 0eba1c9be4d2: Waiting [2022-01-19T20:22:29.283Z] 0d57e429df01: Waiting [2022-01-19T20:22:29.283Z] 4e4be7b47b0d: Waiting [2022-01-19T20:22:29.283Z] e1f770b5df2f: Waiting [2022-01-19T20:22:29.283Z] 85a0685a4137: Waiting [2022-01-19T20:22:29.283Z] de9db76c5a1d: Verifying Checksum [2022-01-19T20:22:29.283Z] de9db76c5a1d: Download complete [2022-01-19T20:22:29.283Z] 0ef7d3d256c8: Verifying Checksum [2022-01-19T20:22:29.283Z] 0ef7d3d256c8: Download complete [2022-01-19T20:22:29.283Z] 0d57e429df01: Verifying Checksum [2022-01-19T20:22:29.283Z] 0d57e429df01: Download complete [2022-01-19T20:22:29.283Z] 4e4be7b47b0d: Verifying Checksum [2022-01-19T20:22:29.283Z] 4e4be7b47b0d: Download complete [2022-01-19T20:22:29.283Z] 188c0c94c7c5: Verifying Checksum [2022-01-19T20:22:29.283Z] 188c0c94c7c5: Download complete [2022-01-19T20:22:29.564Z] 188c0c94c7c5: Pull complete [2022-01-19T20:22:29.564Z] e1f770b5df2f: Verifying Checksum [2022-01-19T20:22:29.564Z] e1f770b5df2f: Download complete [2022-01-19T20:22:29.843Z] 0ef7d3d256c8: Pull complete [2022-01-19T20:22:29.843Z] de9db76c5a1d: Pull complete [2022-01-19T20:22:30.112Z] 0eba1c9be4d2: Download complete [2022-01-19T20:22:30.112Z] 85a0685a4137: Verifying Checksum [2022-01-19T20:22:30.112Z] 85a0685a4137: Download complete [2022-01-19T20:22:34.373Z] 0eba1c9be4d2: Pull complete [2022-01-19T20:22:34.373Z] 0d57e429df01: Pull complete [2022-01-19T20:22:34.373Z] 4e4be7b47b0d: Pull complete [2022-01-19T20:22:34.373Z] e1f770b5df2f: Pull complete [2022-01-19T20:22:38.592Z] 85a0685a4137: Pull complete [2022-01-19T20:22:38.592Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-01-19T20:22:38.592Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-19T20:22:38.592Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-01-19T20:22:38.659Z] prd-centos7-docker-4c-2g-2088 does not seem to be running inside a container [2022-01-19T20:22:38.691Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-01-19T20:22:40.995Z] $ docker top 2e8280a8778e7635ecf629475a8334b256603843e133120c3f3ac372183adea4 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-19T20:22:41.086Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-01-19T20:22:41.375Z] + set -o pipefail [2022-01-19T20:22:41.375Z] + snyk monitor '--org=edgex-jenkins' [2022-01-19T20:22:46.663Z] [2022-01-19T20:22:46.663Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-01-19T20:22:46.663Z] [2022-01-19T20:22:46.663Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/87f76acd-2589-47be-8b0e-32dee189b422 [2022-01-19T20:22:46.663Z] [2022-01-19T20:22:46.663Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-01-19T20:22:46.663Z] [2022-01-19T20:22:46.663Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-01-19T20:22:46.663Z] [2022-01-19T20:22:46.663Z] [Pipeline] } [2022-01-19T20:22:46.673Z] $ docker stop --time=1 2e8280a8778e7635ecf629475a8334b256603843e133120c3f3ac372183adea4 [2022-01-19T20:22:48.516Z] $ docker rm -f 2e8280a8778e7635ecf629475a8334b256603843e133120c3f3ac372183adea4 [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-19T20:22:49.205Z] + git log --format=format:%s -1 111b0946ec5749ca592e50224ec8488a26173b9a [Pipeline] sh [2022-01-19T20:22:49.504Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-19T20:22:49.504Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:22:49.799Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T20:22:49.799Z] . [Pipeline] withDockerContainer [2022-01-19T20:22:49.859Z] prd-centos7-docker-4c-2g-2088 does not seem to be running inside a container [2022-01-19T20:22:49.891Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-19T20:22:50.228Z] $ docker top 8ae873b4b2ed4cd5f33f935153315ac54091b798ebbd0355c39c18ba4ec99dfc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-19T20:22:50.317Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T20:22:50.317Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T20:22:50.415Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T20:22:50.416Z] $ docker exec 8ae873b4b2ed4cd5f33f935153315ac54091b798ebbd0355c39c18ba4ec99dfc ssh-agent [2022-01-19T20:22:50.512Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOJHcgf/agent.15 [2022-01-19T20:22:50.512Z] SSH_AGENT_PID=22 [2022-01-19T20:22:50.517Z] Running ssh-add (command line suppressed) [2022-01-19T20:22:50.607Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2562563424437565230.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2562563424437565230.key) [2022-01-19T20:22:50.619Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T20:22:50.914Z] + git semver tag [2022-01-19T20:22:50.914Z] # -> Open(): unable to determine branch for HEAD [2022-01-19T20:22:50.914Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-01-19T20:22:50.914Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-01-19T20:22:50.914Z] # $SEMVER_REMOTE_NAME = origin [2022-01-19T20:22:50.914Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-19T20:22:50.914Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-19T20:22:50.914Z] # $SEMVER_BRANCH = main [2022-01-19T20:22:50.914Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-01-19T20:22:50.914Z] # 111b0946ec5749ca592e50224ec8488a26173b9a HEAD [2022-01-19T20:22:50.914Z] # -> Force: false [2022-01-19T20:22:50.914Z] # 3dbbc5b96b075efc44b470c5b0ff0e3c6b42992e refs/tags/v2.2.0-dev.4 [Pipeline] } [2022-01-19T20:22:50.927Z] $ docker exec --env ******** --env ******** 8ae873b4b2ed4cd5f33f935153315ac54091b798ebbd0355c39c18ba4ec99dfc ssh-agent -k [2022-01-19T20:22:51.009Z] unset SSH_AUTH_SOCK; [2022-01-19T20:22:51.009Z] unset SSH_AGENT_PID; [2022-01-19T20:22:51.009Z] echo Agent pid 22 killed; [2022-01-19T20:22:51.018Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-19T20:22:51.318Z] + git semver [Pipeline] } [2022-01-19T20:22:51.328Z] $ docker stop --time=1 8ae873b4b2ed4cd5f33f935153315ac54091b798ebbd0355c39c18ba4ec99dfc [2022-01-19T20:22:52.503Z] $ docker rm -f 8ae873b4b2ed4cd5f33f935153315ac54091b798ebbd0355c39c18ba4ec99dfc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:22:52.895Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-19T20:22:52.895Z] [2022-01-19T20:22:52.895Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:22:53.210Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-19T20:22:53.210Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-01-19T20:22:53.210Z] ab5ef0e58194: Pulling fs layer [2022-01-19T20:22:53.210Z] 9712f1f96733: Pulling fs layer [2022-01-19T20:22:53.210Z] 63f879dbbcfc: Pulling fs layer [2022-01-19T20:22:53.210Z] 0d9ebad4ef96: Pulling fs layer [2022-01-19T20:22:53.210Z] e9a5061849ea: Pulling fs layer [2022-01-19T20:22:53.210Z] d747dcd14b5f: Pulling fs layer [2022-01-19T20:22:53.210Z] 2de7ff778b66: Pulling fs layer [2022-01-19T20:22:53.210Z] 0d9ebad4ef96: Waiting [2022-01-19T20:22:53.210Z] e9a5061849ea: Waiting [2022-01-19T20:22:53.210Z] 2de7ff778b66: Waiting [2022-01-19T20:22:53.210Z] d747dcd14b5f: Waiting [2022-01-19T20:22:53.210Z] 9712f1f96733: Verifying Checksum [2022-01-19T20:22:53.210Z] 9712f1f96733: Download complete [2022-01-19T20:22:53.478Z] 63f879dbbcfc: Verifying Checksum [2022-01-19T20:22:53.478Z] 63f879dbbcfc: Download complete [2022-01-19T20:22:53.750Z] ab5ef0e58194: Verifying Checksum [2022-01-19T20:22:53.750Z] ab5ef0e58194: Download complete [2022-01-19T20:22:53.750Z] 0d9ebad4ef96: Verifying Checksum [2022-01-19T20:22:53.750Z] 0d9ebad4ef96: Download complete [2022-01-19T20:22:53.750Z] d747dcd14b5f: Verifying Checksum [2022-01-19T20:22:53.750Z] d747dcd14b5f: Download complete [2022-01-19T20:22:53.750Z] e9a5061849ea: Verifying Checksum [2022-01-19T20:22:53.750Z] e9a5061849ea: Download complete [2022-01-19T20:22:54.018Z] 2de7ff778b66: Verifying Checksum [2022-01-19T20:22:54.018Z] 2de7ff778b66: Download complete [2022-01-19T20:22:56.608Z] ab5ef0e58194: Pull complete [2022-01-19T20:22:56.608Z] 9712f1f96733: Pull complete [2022-01-19T20:22:57.191Z] 63f879dbbcfc: Pull complete [2022-01-19T20:23:01.401Z] 0d9ebad4ef96: Pull complete [2022-01-19T20:23:01.401Z] e9a5061849ea: Pull complete [2022-01-19T20:23:01.401Z] d747dcd14b5f: Pull complete [2022-01-19T20:23:02.356Z] 2de7ff778b66: Pull complete [2022-01-19T20:23:02.356Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-01-19T20:23:02.356Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-19T20:23:02.356Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-01-19T20:23:02.428Z] prd-centos7-docker-4c-2g-2088 does not seem to be running inside a container [2022-01-19T20:23:02.461Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-01-19T20:23:05.745Z] $ docker top 3a80f91fbba23debe627ae029b4cc7b9b87f4f4eb6230c044af80d54fe701b55 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-01-19T20:23:05.821Z] provisioning config files... [2022-01-19T20:23:05.831Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3417222519507405747tmp [2022-01-19T20:23:05.842Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config236300733584197470tmp [2022-01-19T20:23:05.854Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2980151482600867006tmp [Pipeline] { [Pipeline] echo [2022-01-19T20:23:05.875Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:23:06.159Z] ---> sigul-configuration.sh [2022-01-19T20:23:06.159Z] gpg: directory `/root/.gnupg' created [2022-01-19T20:23:06.159Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-01-19T20:23:06.159Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-01-19T20:23:06.159Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-01-19T20:23:06.159Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-01-19T20:23:06.159Z] gpg: CAST5 encrypted data [2022-01-19T20:23:06.159Z] gpg: encrypted with 1 passphrase [2022-01-19T20:23:06.159Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-01-19T20:23:06.462Z] + mkdir /home/jenkins [2022-01-19T20:23:06.462Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-01-19T20:23:06.752Z] + 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-19T20:23:06.762Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:23:07.051Z] ---> sigul-install.sh [2022-01-19T20:23:07.051Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-01-19T20:23:07.336Z] + git tag --list [2022-01-19T20:23:07.336Z] 0.7.1 [2022-01-19T20:23:07.336Z] v1.0.0 [2022-01-19T20:23:07.336Z] v1.1.0 [2022-01-19T20:23:07.336Z] v1.1.1 [2022-01-19T20:23:07.336Z] v1.2.2 [2022-01-19T20:23:07.336Z] v1.3.0 [2022-01-19T20:23:07.336Z] v1.3.1 [2022-01-19T20:23:07.336Z] v2.0.0 [2022-01-19T20:23:07.336Z] v2.0.1-dev.1 [2022-01-19T20:23:07.336Z] v2.0.1-dev.10 [2022-01-19T20:23:07.336Z] v2.0.1-dev.11 [2022-01-19T20:23:07.336Z] v2.0.1-dev.12 [2022-01-19T20:23:07.336Z] v2.0.1-dev.2 [2022-01-19T20:23:07.336Z] v2.0.1-dev.3 [2022-01-19T20:23:07.336Z] v2.0.1-dev.4 [2022-01-19T20:23:07.336Z] v2.0.1-dev.5 [2022-01-19T20:23:07.336Z] v2.0.1-dev.6 [2022-01-19T20:23:07.336Z] v2.0.1-dev.7 [2022-01-19T20:23:07.336Z] v2.0.1-dev.8 [2022-01-19T20:23:07.336Z] v2.0.1-dev.9 [2022-01-19T20:23:07.336Z] v2.1.0 [2022-01-19T20:23:07.336Z] v2.2.0-dev.1 [2022-01-19T20:23:07.336Z] v2.2.0-dev.2 [2022-01-19T20:23:07.336Z] v2.2.0-dev.3 [2022-01-19T20:23:07.336Z] v2.2.0-dev.4 [Pipeline] sh [2022-01-19T20:23:07.634Z] + lftools sign git-tag v2.2.0-dev.4 [2022-01-19T20:23:08.208Z] Signing Git tag with Sigul... [2022-01-19T20:23:08.208Z] Signing v2.2.0-dev.4 [Pipeline] echo [2022-01-19T20:23:08.478Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:23:08.776Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-01-19T20:23:08.786Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-01-19T20:23:08.804Z] $ docker stop --time=1 3a80f91fbba23debe627ae029b4cc7b9b87f4f4eb6230c044af80d54fe701b55 [2022-01-19T20:23:09.994Z] $ docker rm -f 3a80f91fbba23debe627ae029b4cc7b9b87f4f4eb6230c044af80d54fe701b55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-01-19T20:23:10.436Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-19T20:23:10.436Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:23:10.737Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T20:23:10.737Z] . [Pipeline] withDockerContainer [2022-01-19T20:23:10.799Z] prd-centos7-docker-4c-2g-2088 does not seem to be running inside a container [2022-01-19T20:23:10.833Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-19T20:23:11.192Z] $ docker top 3c99cf1e0176727251f0d74d651dd08b8e8d6575e85561c2b457cd854f20b693 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-19T20:23:11.291Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T20:23:11.291Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T20:23:11.414Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T20:23:11.416Z] $ docker exec 3c99cf1e0176727251f0d74d651dd08b8e8d6575e85561c2b457cd854f20b693 ssh-agent [2022-01-19T20:23:11.525Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgJgnjp/agent.14 [2022-01-19T20:23:11.525Z] SSH_AGENT_PID=20 [2022-01-19T20:23:11.531Z] Running ssh-add (command line suppressed) [2022-01-19T20:23:11.625Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6632667217826044027.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6632667217826044027.key) [2022-01-19T20:23:11.638Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T20:23:11.931Z] + git semver bump pre [2022-01-19T20:23:11.931Z] # -> Open(): unable to determine branch for HEAD [2022-01-19T20:23:11.931Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-01-19T20:23:11.931Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-01-19T20:23:11.931Z] # $SEMVER_REMOTE_NAME = origin [2022-01-19T20:23:11.931Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-19T20:23:11.931Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-19T20:23:11.931Z] # $SEMVER_BRANCH = main [2022-01-19T20:23:11.931Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-01-19T20:23:11.931Z] 2.2.0-dev.5 [Pipeline] } [2022-01-19T20:23:11.940Z] $ docker exec --env ******** --env ******** 3c99cf1e0176727251f0d74d651dd08b8e8d6575e85561c2b457cd854f20b693 ssh-agent -k [2022-01-19T20:23:12.025Z] unset SSH_AUTH_SOCK; [2022-01-19T20:23:12.025Z] unset SSH_AGENT_PID; [2022-01-19T20:23:12.025Z] echo Agent pid 20 killed; [2022-01-19T20:23:12.036Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-19T20:23:12.349Z] + git semver [Pipeline] } [2022-01-19T20:23:12.363Z] $ docker stop --time=1 3c99cf1e0176727251f0d74d651dd08b8e8d6575e85561c2b457cd854f20b693 [2022-01-19T20:23:13.546Z] $ docker rm -f 3c99cf1e0176727251f0d74d651dd08b8e8d6575e85561c2b457cd854f20b693 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T20:23:13.901Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-19T20:23:13.901Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:23:14.206Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T20:23:14.206Z] . [Pipeline] withDockerContainer [2022-01-19T20:23:14.271Z] prd-centos7-docker-4c-2g-2088 does not seem to be running inside a container [2022-01-19T20:23:14.302Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-19T20:23:14.671Z] $ docker top 6919f84bef3b23c198433cea958aab6731d095f223e0c6065d14ee40eece4344 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-19T20:23:14.765Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T20:23:14.765Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T20:23:14.875Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T20:23:14.876Z] $ docker exec 6919f84bef3b23c198433cea958aab6731d095f223e0c6065d14ee40eece4344 ssh-agent [2022-01-19T20:23:14.975Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkpGmMA/agent.13 [2022-01-19T20:23:14.975Z] SSH_AGENT_PID=19 [2022-01-19T20:23:14.981Z] Running ssh-add (command line suppressed) [2022-01-19T20:23:15.082Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3976993921411053354.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3976993921411053354.key) [2022-01-19T20:23:15.095Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T20:23:15.387Z] + git semver push [2022-01-19T20:23:15.387Z] # -> Open(): unable to determine branch for HEAD [2022-01-19T20:23:15.387Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-01-19T20:23:15.387Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-01-19T20:23:15.387Z] # $SEMVER_REMOTE_NAME = origin [2022-01-19T20:23:15.387Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-19T20:23:15.387Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-19T20:23:15.387Z] # $SEMVER_BRANCH = main [2022-01-19T20:23:15.387Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2022-01-19T20:23:17.311Z] $ docker exec --env ******** --env ******** 6919f84bef3b23c198433cea958aab6731d095f223e0c6065d14ee40eece4344 ssh-agent -k [2022-01-19T20:23:17.399Z] unset SSH_AUTH_SOCK; [2022-01-19T20:23:17.400Z] unset SSH_AGENT_PID; [2022-01-19T20:23:17.400Z] echo Agent pid 19 killed; [2022-01-19T20:23:17.411Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-19T20:23:17.729Z] + git semver [Pipeline] } [2022-01-19T20:23:17.743Z] $ docker stop --time=1 6919f84bef3b23c198433cea958aab6731d095f223e0c6065d14ee40eece4344 [2022-01-19T20:23:18.915Z] $ docker rm -f 6919f84bef3b23c198433cea958aab6731d095f223e0c6065d14ee40eece4344 [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-19T20:23:19.461Z] + '[' -d /w/workspace/gexfoundry_device-modbus-go_main/archives ']' [2022-01-19T20:23:19.461Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-01-19T20:23:19.461Z] total 8 [2022-01-19T20:23:19.461Z] drwxr-xr-x. 3 root root 34 Jan 19 20:15 . [2022-01-19T20:23:19.461Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 19 20:23 .. [2022-01-19T20:23:19.461Z] drwxr-xr-x. 2 root root 6 Jan 19 20:15 cost [2022-01-19T20:23:19.461Z] -rw-r--r--. 1 root root 86 Jan 19 20:15 cost.csv [2022-01-19T20:23:19.461Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-01-19T20:23:19.461Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-01-19T20:23:19.461Z] total 8 [2022-01-19T20:23:19.461Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 19 20:15 . [2022-01-19T20:23:19.461Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 19 20:23 .. [2022-01-19T20:23:19.461Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 19 20:15 cost [2022-01-19T20:23:19.461Z] -rw-r--r--. 1 jenkins jenkins 86 Jan 19 20:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:23:19.779Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:23:20.337Z] ---> package-listing.sh [2022-01-19T20:23:20.338Z] ++ facter osfamily [2022-01-19T20:23:20.338Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-19T20:23:20.604Z] + OS_FAMILY=redhat [2022-01-19T20:23:20.604Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-01-19T20:23:20.604Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-19T20:23:20.604Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-19T20:23:20.604Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-19T20:23:20.604Z] + PACKAGES=/tmp/packages_start.txt [2022-01-19T20:23:20.604Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-01-19T20:23:20.604Z] + PACKAGES=/tmp/packages_end.txt [2022-01-19T20:23:20.604Z] + case "${OS_FAMILY}" in [2022-01-19T20:23:20.604Z] + rpm -qa [2022-01-19T20:23:20.604Z] + sort [2022-01-19T20:23:21.175Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-19T20:23:21.175Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-19T20:23:21.175Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-19T20:23:21.175Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-01-19T20:23:21.175Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-01-19T20:23:21.175Z] + 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-19T20:23:21.188Z] 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-19T20:23:21.472Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:23:22.034Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T20:23:22.034Z] . [Pipeline] withDockerContainer [2022-01-19T20:23:22.097Z] prd-centos7-docker-4c-2g-2088 does not seem to be running inside a container [2022-01-19T20:23:22.131Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-19T20:23:22.559Z] $ docker top aba7bb329ca2766f4b37cd906cff60b278616310058bafa290276d1d7f6e690c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T20:23:22.922Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-19T20:23:23.214Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-19T20:23:23.506Z] + ls /var/log/sa-host [2022-01-19T20:23:23.506Z] + sadf -c /var/log/sa-host/sa17 [2022-01-19T20:23:23.506Z] file_magic: OK [2022-01-19T20:23:23.506Z] HZ: Using current value: 100 [2022-01-19T20:23:23.506Z] file_header: OK [2022-01-19T20:23:23.506Z] 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-19T20:23:23.506Z] Statistics: [2022-01-19T20:23:23.506Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-19T20:23:23.506Z] File successfully converted to sysstat format version 12.0.3 [2022-01-19T20:23:23.506Z] + sadf -c /var/log/sa-host/sa19 [2022-01-19T20:23:23.506Z] file_magic: OK [2022-01-19T20:23:23.506Z] HZ: Using current value: 100 [2022-01-19T20:23:23.506Z] file_header: OK [2022-01-19T20:23:23.506Z] 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-19T20:23:23.506Z] Statistics: [2022-01-19T20:23:23.506Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-19T20:23:23.506Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T20:23:23.593Z] provisioning config files... [2022-01-19T20:23:23.601Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2339413469702522951tmp [Pipeline] { [Pipeline] echo [2022-01-19T20:23:23.613Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:23:23.902Z] ---> create-netrc.sh [Pipeline] } [2022-01-19T20:23:23.912Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:23:24.248Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-19T20:23:24.258Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:23:24.556Z] ---> sudo-logs.sh [2022-01-19T20:23:24.556Z] Archiving 'sudo' log.. [2022-01-19T20:23:24.556Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2088.novalocal: Name or service not known [2022-01-19T20:23:24.556Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2088.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-19T20:23:24.577Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:23:24.863Z] ---> job-cost.sh [2022-01-19T20:23:24.863Z] lf-activate-venv: SKIPPING [2022-01-19T20:23:24.863Z] DEBUG: total: 0.05999999865889549 [2022-01-19T20:23:24.863Z] INFO: Retrieving Stack Cost... [2022-01-19T20:23:25.123Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-19T20:23:25.385Z] INFO: Archiving Costs [Pipeline] echo [2022-01-19T20:23:25.405Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:23:25.690Z] ---> logs-deploy.sh [2022-01-19T20:23:25.690Z] lf-activate-venv: SKIPPING [2022-01-19T20:23:25.690Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/21 [2022-01-19T20:23:25.690Z] INFO: archiving workspace using pattern(s): [2022-01-19T20:23:26.262Z] Archives upload complete. [2022-01-19T20:23:26.524Z] INFO: archiving logs to Nexus