Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh7868927616698769791.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a03e002eace0db65b27acd1444eb3c4392a49323 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-ssh1456093929760757229.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 a03e002eace0db65b27acd1444eb3c4392a49323 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-ssh910483074581689311.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a03e002eace0db65b27acd1444eb3c4392a49323 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a03e002eace0db65b27acd1444eb3c4392a49323 # timeout=10 Commit message: "Merge pull request #364 from ernestojeda/fix-folder-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh2434408708851719045.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-ssh1112776821849596491.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.16 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-233 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 Avoid second fetch Checking out Revision 558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 (main) [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-ssh6482586984652625433.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 # timeout=10 Commit message: "Merge pull request #294 from lenny-intel/latest-sdk" > git rev-list --no-walk 159a8a861e29f2433d7a50979645c48e0f5e62c9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-11T20:54:52.534Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-11T20:54:52.594Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-11T20:54:52.610Z] ========================================================= [2021-11-11T20:54:52.610Z] EdgeX Global Pipelines Version Info [2021-11-11T20:54:52.610Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:54:53.742Z] ------------------- [2021-11-11T20:54:53.742Z] stable info: [2021-11-11T20:54:53.742Z] ------------------- [2021-11-11T20:54:53.742Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-11T20:54:53.742Z] Commit SHA: a03e002eace0db65b27acd1444eb3c4392a49323 [2021-11-11T20:54:53.742Z] Message: update stable to v1.0.213 [2021-11-11T20:54:54.315Z] ------------------- [2021-11-11T20:54:54.316Z] experimental info: [2021-11-11T20:54:54.316Z] ------------------- [2021-11-11T20:54:54.316Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-11T20:54:54.316Z] Commit SHA: a03e002eace0db65b27acd1444eb3c4392a49323 [2021-11-11T20:54:54.316Z] Message: update experimental to v1.0.213 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-11T20:54:54.394Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-11-11T20:54:54.404Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-11-11T20:54:54.413Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-11T20:54:54.425Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-11T20:54:54.437Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-11T20:54:54.447Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-11T20:54:54.457Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-11T20:54:54.468Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-11T20:54:54.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-11T20:54:54.489Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-11T20:54:55.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-11T20:54:55.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-11-11T20:54:55.042Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-11T20:54:55.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-11T20:54:55.062Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-11T20:54:55.070Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-11T20:54:55.078Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T20:54:55.085Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T20:54:55.097Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-11T20:54:55.110Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-11-11T20:54:55.802Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-11T20:54:55.813Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-11T20:54:55.823Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-11T20:54:55.833Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-11T20:54:55.845Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-11T20:54:55.855Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-11T20:54:55.865Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-11T20:54:55.877Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-11T20:54:55.893Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-11T20:54:55.908Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 [Pipeline] echo [2021-11-11T20:54:56.231Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 558c40f [Pipeline] echo [2021-11-11T20:54:56.247Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:54:56.286Z] provisioning config files... [2021-11-11T20:54:56.299Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8405583617532787231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:54:56.611Z] ---> docker-login.sh [2021-11-11T20:54:56.611Z] nexus3.edgexfoundry.org:10001 [2021-11-11T20:54:56.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:54:56.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:54:56.611Z] Configure a credential helper to remove this warning. See [2021-11-11T20:54:56.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:54:56.611Z] [2021-11-11T20:54:56.611Z] Login Succeeded [2021-11-11T20:54:56.611Z] nexus3.edgexfoundry.org:10002 [2021-11-11T20:54:56.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:54:56.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:54:56.876Z] Configure a credential helper to remove this warning. See [2021-11-11T20:54:56.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:54:56.876Z] [2021-11-11T20:54:56.876Z] Login Succeeded [2021-11-11T20:54:56.876Z] nexus3.edgexfoundry.org:10003 [2021-11-11T20:54:56.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:54:56.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:54:56.876Z] Configure a credential helper to remove this warning. See [2021-11-11T20:54:56.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:54:56.876Z] [2021-11-11T20:54:56.876Z] Login Succeeded [2021-11-11T20:54:56.876Z] nexus3.edgexfoundry.org:10004 [2021-11-11T20:54:57.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:54:57.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:54:57.137Z] Configure a credential helper to remove this warning. See [2021-11-11T20:54:57.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:54:57.137Z] [2021-11-11T20:54:57.137Z] Login Succeeded [2021-11-11T20:54:57.137Z] docker.io [2021-11-11T20:54:57.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:54:57.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:54:57.404Z] Configure a credential helper to remove this warning. See [2021-11-11T20:54:57.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:54:57.404Z] [2021-11-11T20:54:57.404Z] Login Succeeded [2021-11-11T20:54:57.404Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T20:54:57.412Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-11T20:54:57.826Z] + git rev-list -1 --merges 558c40fbdebbe4b00a0283e0ecd9585407ec2bc6~1..558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 [Pipeline] echo [2021-11-11T20:54:57.864Z] -----------> git rev-list -1 --merges 558c40fbdebbe4b00a0283e0ecd9585407ec2bc6~1..558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 [2021-11-11T20:54:57.864Z] 558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 [false] [Pipeline] sh [2021-11-11T20:54:58.409Z] + git log --format=format:%s -1 558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 [Pipeline] echo [2021-11-11T20:54:58.426Z] ========================================================= [2021-11-11T20:54:58.426Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-11T20:54:58.426Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T20:54:58.742Z] + git log --format=format:%s -1 558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 [Pipeline] echo [2021-11-11T20:54:58.758Z] [semverPrep] GIT_COMMIT: 558c40fbdebbe4b00a0283e0ecd9585407ec2bc6, Commit Message: Merge pull request #294 from lenny-intel/latest-sdk [Pipeline] echo [2021-11-11T20:54:58.767Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:54:59.182Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T20:54:59.182Z] [2021-11-11T20:54:59.182Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:54:59.489Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T20:54:59.489Z] latest: Pulling from edgex-devops/git-semver [2021-11-11T20:54:59.489Z] a0d0a0d46f8b: Pulling fs layer [2021-11-11T20:54:59.489Z] 3e5f54012d9b: Pulling fs layer [2021-11-11T20:54:59.489Z] 4c7163046ea9: Pulling fs layer [2021-11-11T20:54:59.489Z] 0c2d73faf560: Pulling fs layer [2021-11-11T20:54:59.489Z] 0c2d73faf560: Waiting [2021-11-11T20:54:59.489Z] 3e5f54012d9b: Verifying Checksum [2021-11-11T20:54:59.489Z] 3e5f54012d9b: Download complete [2021-11-11T20:54:59.489Z] a0d0a0d46f8b: Verifying Checksum [2021-11-11T20:54:59.489Z] a0d0a0d46f8b: Download complete [2021-11-11T20:54:59.489Z] 4c7163046ea9: Verifying Checksum [2021-11-11T20:54:59.489Z] 4c7163046ea9: Download complete [2021-11-11T20:54:59.489Z] 0c2d73faf560: Verifying Checksum [2021-11-11T20:54:59.489Z] 0c2d73faf560: Download complete [2021-11-11T20:54:59.753Z] a0d0a0d46f8b: Pull complete [2021-11-11T20:54:59.753Z] 3e5f54012d9b: Pull complete [2021-11-11T20:55:00.027Z] 4c7163046ea9: Pull complete [2021-11-11T20:55:00.287Z] 0c2d73faf560: Pull complete [2021-11-11T20:55:00.287Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-11T20:55:00.287Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T20:55:00.287Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-11T20:55:00.356Z] prd-centos7-docker-4c-2g-233 does not seem to be running inside a container [2021-11-11T20:55:00.395Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-11T20:55:00.959Z] $ docker top 8e1a1b72183bb4322a69d18f067e2683d62d6d6958bb01d138351f61c65ccc50 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-11T20:55:01.070Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T20:55:01.070Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T20:55:01.176Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T20:55:01.180Z] $ docker exec 8e1a1b72183bb4322a69d18f067e2683d62d6d6958bb01d138351f61c65ccc50 ssh-agent [2021-11-11T20:55:01.280Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLjbKmD/agent.13 [2021-11-11T20:55:01.280Z] SSH_AGENT_PID=20 [2021-11-11T20:55:01.289Z] Running ssh-add (command line suppressed) [2021-11-11T20:55:01.386Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5229538894796316265.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5229538894796316265.key) [2021-11-11T20:55:01.399Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T20:55:01.687Z] + git tag --points-at HEAD [Pipeline] } [2021-11-11T20:55:01.701Z] $ docker exec --env ******** --env ******** 8e1a1b72183bb4322a69d18f067e2683d62d6d6958bb01d138351f61c65ccc50 ssh-agent -k [2021-11-11T20:55:01.793Z] unset SSH_AUTH_SOCK; [2021-11-11T20:55:01.793Z] unset SSH_AGENT_PID; [2021-11-11T20:55:01.793Z] echo Agent pid 20 killed; [2021-11-11T20:55:01.801Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-11T20:55:01.837Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T20:55:01.837Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T20:55:01.932Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T20:55:01.936Z] $ docker exec 8e1a1b72183bb4322a69d18f067e2683d62d6d6958bb01d138351f61c65ccc50 ssh-agent [2021-11-11T20:55:02.031Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlAJJia/agent.52 [2021-11-11T20:55:02.031Z] SSH_AGENT_PID=58 [2021-11-11T20:55:02.035Z] Running ssh-add (command line suppressed) [2021-11-11T20:55:02.125Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7095509802935739960.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7095509802935739960.key) [2021-11-11T20:55:02.138Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T20:55:02.433Z] + git semver init [2021-11-11T20:55:02.433Z] # -> Open(): unable to determine branch for HEAD [2021-11-11T20:55:02.433Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-11-11T20:55:02.433Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-11-11T20:55:02.433Z] # $SEMVER_REMOTE_NAME = origin [2021-11-11T20:55:02.433Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-11T20:55:02.433Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-11T20:55:02.433Z] # $SEMVER_BRANCH = main [2021-11-11T20:55:02.433Z] # $SEMVER_TEMP = /tmp/semver-260718649 [2021-11-11T20:55:02.433Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-11-11T20:55:03.373Z] # '/tmp/semver-260718649' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' [2021-11-11T20:55:03.373Z] # -> Force: false [2021-11-11T20:55:03.373Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2021-11-11T20:55:03.384Z] $ docker exec --env ******** --env ******** 8e1a1b72183bb4322a69d18f067e2683d62d6d6958bb01d138351f61c65ccc50 ssh-agent -k [2021-11-11T20:55:03.487Z] unset SSH_AUTH_SOCK; [2021-11-11T20:55:03.487Z] unset SSH_AGENT_PID; [2021-11-11T20:55:03.487Z] echo Agent pid 58 killed; [2021-11-11T20:55:03.494Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-11T20:55:03.798Z] + git semver [Pipeline] } [2021-11-11T20:55:03.812Z] $ docker stop --time=1 8e1a1b72183bb4322a69d18f067e2683d62d6d6958bb01d138351f61c65ccc50 [2021-11-11T20:55:05.030Z] $ docker rm -f 8e1a1b72183bb4322a69d18f067e2683d62d6d6958bb01d138351f61c65ccc50 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T20:55:05.381Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-11T20:55:05.608Z] Stashed 1 file(s) [Pipeline] echo [2021-11-11T20:55:05.611Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.11 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-11-11T20:55:20.734Z] Still waiting to schedule task [2021-11-11T20:55:20.734Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-11T20:55:20.735Z] Still waiting to schedule task [2021-11-11T20:55:20.736Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-11T20:56:26.495Z] Running on prd-centos7-docker-4c-2g-238 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2021-11-11T20:56:26.507Z] Running in /w/workspace/device-modbus-go/14 [Pipeline] { [Pipeline] checkout [2021-11-11T20:56:26.669Z] Selected Git installation does not exist. Using Default [2021-11-11T20:56:26.669Z] The recommended git tool is: NONE [2021-11-11T20:56:28.698Z] using credential edgex-jenkins-ssh [2021-11-11T20:56:28.941Z] Cloning the remote Git repository [2021-11-11T20:56:29.749Z] Avoid second fetch [2021-11-11T20:56:29.749Z] Checking out Revision 558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 (main) [2021-11-11T20:56:28.284Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-11-11T20:56:28.340Z] > git init /w/workspace/device-modbus-go/14 # timeout=10 [2021-11-11T20:56:28.377Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-11-11T20:56:28.377Z] > git --version # timeout=10 [2021-11-11T20:56:28.387Z] > git --version # 'git version 2.24.4' [2021-11-11T20:56:28.387Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T20:56:28.411Z] [INFO] Currently running in a labeled security context [2021-11-11T20:56:28.412Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-11T20:56:28.412Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/14@tmp/jenkins-gitclient-ssh7474070655970154434.key [2021-11-11T20:56:28.439Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T20:56:29.045Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-11-11T20:56:29.053Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T20:56:29.076Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T20:56:29.088Z] > git checkout -f 558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 # timeout=10 [2021-11-11T20:56:33.347Z] Commit message: "Merge pull request #294 from lenny-intel/latest-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:56:33.680Z] provisioning config files... [2021-11-11T20:56:33.693Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/14@tmp/config3766365504355762110tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:56:34.075Z] ---> docker-login.sh [2021-11-11T20:56:34.075Z] nexus3.edgexfoundry.org:10001 [2021-11-11T20:56:34.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:56:34.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:56:34.342Z] Configure a credential helper to remove this warning. See [2021-11-11T20:56:34.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:56:34.342Z] [2021-11-11T20:56:34.342Z] Login Succeeded [2021-11-11T20:56:34.342Z] nexus3.edgexfoundry.org:10002 [2021-11-11T20:56:34.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:56:34.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:56:34.342Z] Configure a credential helper to remove this warning. See [2021-11-11T20:56:34.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:56:34.342Z] [2021-11-11T20:56:34.342Z] Login Succeeded [2021-11-11T20:56:34.342Z] nexus3.edgexfoundry.org:10003 [2021-11-11T20:56:34.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:56:34.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:56:34.342Z] Configure a credential helper to remove this warning. See [2021-11-11T20:56:34.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:56:34.342Z] [2021-11-11T20:56:34.342Z] Login Succeeded [2021-11-11T20:56:34.342Z] nexus3.edgexfoundry.org:10004 [2021-11-11T20:56:34.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:56:34.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:56:34.610Z] Configure a credential helper to remove this warning. See [2021-11-11T20:56:34.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:56:34.610Z] [2021-11-11T20:56:34.610Z] Login Succeeded [2021-11-11T20:56:34.610Z] docker.io [2021-11-11T20:56:34.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:56:34.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:56:34.870Z] Configure a credential helper to remove this warning. See [2021-11-11T20:56:34.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:56:34.870Z] [2021-11-11T20:56:34.870Z] Login Succeeded [2021-11-11T20:56:34.870Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T20:56:34.900Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-11T20:56:35.033Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-11T20:56:35.047Z] ========================================================= [2021-11-11T20:56:35.047Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-11T20:56:35.047Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:56:35.362Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-11-11T20:56:35.362Z] Sending build context to Docker daemon 698.4kB [2021-11-11T20:56:35.362Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T20:56:35.362Z] Step 2/9 : FROM ${BASE} AS builder [2021-11-11T20:56:35.362Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-11T20:56:35.362Z] a0d0a0d46f8b: Pulling fs layer [2021-11-11T20:56:35.362Z] 31adcdaf11c8: Pulling fs layer [2021-11-11T20:56:35.362Z] b8b176561691: Pulling fs layer [2021-11-11T20:56:35.362Z] 4527c011a84f: Pulling fs layer [2021-11-11T20:56:35.362Z] 5d74067f8e1e: Pulling fs layer [2021-11-11T20:56:35.362Z] e0aca202a116: Pulling fs layer [2021-11-11T20:56:35.362Z] 3a43be97a3b4: Pulling fs layer [2021-11-11T20:56:35.362Z] 34cad66bf833: Pulling fs layer [2021-11-11T20:56:35.362Z] b4e3c513aaa6: Pulling fs layer [2021-11-11T20:56:35.362Z] e0aca202a116: Waiting [2021-11-11T20:56:35.362Z] 3a43be97a3b4: Waiting [2021-11-11T20:56:35.362Z] 34cad66bf833: Waiting [2021-11-11T20:56:35.362Z] b4e3c513aaa6: Waiting [2021-11-11T20:56:35.362Z] 4527c011a84f: Waiting [2021-11-11T20:56:35.362Z] 5d74067f8e1e: Waiting [2021-11-11T20:56:35.362Z] b8b176561691: Verifying Checksum [2021-11-11T20:56:35.363Z] b8b176561691: Download complete [2021-11-11T20:56:35.363Z] 31adcdaf11c8: Download complete [2021-11-11T20:56:35.363Z] 5d74067f8e1e: Verifying Checksum [2021-11-11T20:56:35.363Z] 5d74067f8e1e: Download complete [2021-11-11T20:56:35.363Z] e0aca202a116: Verifying Checksum [2021-11-11T20:56:35.363Z] e0aca202a116: Download complete [2021-11-11T20:56:35.628Z] 3a43be97a3b4: Verifying Checksum [2021-11-11T20:56:35.628Z] 3a43be97a3b4: Download complete [2021-11-11T20:56:35.628Z] a0d0a0d46f8b: Verifying Checksum [2021-11-11T20:56:35.628Z] a0d0a0d46f8b: Download complete [2021-11-11T20:56:35.628Z] 34cad66bf833: Verifying Checksum [2021-11-11T20:56:35.628Z] 34cad66bf833: Download complete [2021-11-11T20:56:35.896Z] a0d0a0d46f8b: Pull complete [2021-11-11T20:56:35.896Z] b4e3c513aaa6: Verifying Checksum [2021-11-11T20:56:35.896Z] b4e3c513aaa6: Download complete [2021-11-11T20:56:36.158Z] 31adcdaf11c8: Pull complete [2021-11-11T20:56:36.158Z] b8b176561691: Pull complete [2021-11-11T20:56:36.158Z] 4527c011a84f: Verifying Checksum [2021-11-11T20:56:36.158Z] 4527c011a84f: Download complete [2021-11-11T20:56:40.397Z] 4527c011a84f: Pull complete [2021-11-11T20:56:40.397Z] 5d74067f8e1e: Pull complete [2021-11-11T20:56:40.397Z] e0aca202a116: Pull complete [2021-11-11T20:56:40.397Z] 3a43be97a3b4: Pull complete [2021-11-11T20:56:40.397Z] 34cad66bf833: Pull complete [2021-11-11T20:56:42.962Z] b4e3c513aaa6: Pull complete [2021-11-11T20:56:42.962Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-11T20:56:42.962Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-11T20:56:42.962Z] ---> 9f6097aaca64 [2021-11-11T20:56:42.962Z] Step 3/9 : ARG MAKE='make build' [2021-11-11T20:56:47.173Z] ---> Running in f20c70c6168e [2021-11-11T20:56:47.173Z] Removing intermediate container f20c70c6168e [2021-11-11T20:56:47.173Z] ---> b7cfed1e1a64 [2021-11-11T20:56:47.173Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:56:47.173Z] ---> Running in c952ec3b3be2 [2021-11-11T20:56:47.173Z] Removing intermediate container c952ec3b3be2 [2021-11-11T20:56:47.173Z] ---> 168fbfa02621 [2021-11-11T20:56:47.173Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-11-11T20:56:47.437Z] ---> Running in 7a698862c1e7 [2021-11-11T20:56:47.700Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-11T20:56:48.270Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-11T20:56:48.844Z] (1/8) Installing openssh-keygen (8.6_p1-r3) [2021-11-11T20:56:48.844Z] (2/8) Installing libedit (20210216.3.1-r0) [2021-11-11T20:56:48.844Z] (3/8) Installing openssh-client-common (8.6_p1-r3) [2021-11-11T20:56:49.105Z] (4/8) Installing openssh-client-default (8.6_p1-r3) [2021-11-11T20:56:49.105Z] (5/8) Installing openssh-sftp-server (8.6_p1-r3) [2021-11-11T20:56:49.105Z] (6/8) Installing openssh-server-common (8.6_p1-r3) [2021-11-11T20:56:49.365Z] (7/8) Installing openssh-server (8.6_p1-r3) [2021-11-11T20:56:49.365Z] (8/8) Installing openssh (8.6_p1-r3) [2021-11-11T20:56:49.365Z] Executing busybox-1.33.1-r3.trigger [2021-11-11T20:56:49.365Z] OK: 226 MiB in 60 packages [2021-11-11T20:56:49.942Z] Removing intermediate container 7a698862c1e7 [2021-11-11T20:56:49.942Z] ---> 66f1aaf6c0dd [2021-11-11T20:56:49.942Z] Step 6/9 : WORKDIR /device-modbus-go [2021-11-11T20:56:49.942Z] ---> Running in e26624358c9e [2021-11-11T20:56:49.942Z] Removing intermediate container e26624358c9e [2021-11-11T20:56:49.942Z] ---> 51a5ffa42b65 [2021-11-11T20:56:49.942Z] Step 7/9 : COPY . . [2021-11-11T20:56:50.203Z] ---> 6cb429d93ae0 [2021-11-11T20:56:50.203Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T20:56:50.203Z] ---> Running in 7b874d4c6d9e [2021-11-11T20:57:29.047Z] Removing intermediate container 7b874d4c6d9e [2021-11-11T20:57:29.047Z] ---> 3452a2f96c50 [2021-11-11T20:57:29.047Z] Step 9/9 : RUN ${MAKE} [2021-11-11T20:57:29.047Z] ---> Running in c1b9fdc83c6e [2021-11-11T20:57:29.047Z] noop [2021-11-11T20:57:29.047Z] Removing intermediate container c1b9fdc83c6e [2021-11-11T20:57:29.047Z] ---> b185c2a8ac2e [2021-11-11T20:57:29.047Z] Successfully built b185c2a8ac2e [2021-11-11T20:57:29.047Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:57:29.358Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-11T20:57:29.358Z] . [Pipeline] withDockerContainer [2021-11-11T20:57:29.431Z] prd-centos7-docker-4c-2g-238 does not seem to be running inside a container [2021-11-11T20:57:29.476Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/14 -v /w/workspace/device-modbus-go/14:/w/workspace/device-modbus-go/14:rw,z -v /w/workspace/device-modbus-go/14@tmp:/w/workspace/device-modbus-go/14@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 [2021-11-11T20:57:29.845Z] $ docker top 4789bbaf172afb18555413c572afcca592cae675064d07c1f74afd1e502614b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T20:57:30.220Z] + go version [2021-11-11T20:57:30.220Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-11T20:57:30.232Z] $ docker stop --time=1 4789bbaf172afb18555413c572afcca592cae675064d07c1f74afd1e502614b0 [2021-11-11T20:57:31.418Z] $ docker rm -f 4789bbaf172afb18555413c572afcca592cae675064d07c1f74afd1e502614b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:57:31.939Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-11T20:57:31.939Z] . [Pipeline] withDockerContainer [2021-11-11T20:57:32.006Z] prd-centos7-docker-4c-2g-238 does not seem to be running inside a container [2021-11-11T20:57:32.043Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/14 -v /w/workspace/device-modbus-go/14:/w/workspace/device-modbus-go/14:rw,z -v /w/workspace/device-modbus-go/14@tmp:/w/workspace/device-modbus-go/14@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 [2021-11-11T20:57:32.434Z] $ docker top d5f2fc55710b0bc331602fea7035f6719d9ed59c2f8d51364fef7f3213a7ed0a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-11T20:57:32.802Z] + make test [2021-11-11T20:57:32.802Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-11T20:57:33.069Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-11-11T20:57:51.296Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-11-11T20:57:51.296Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 46.6% of statements [2021-11-11T20:57:51.296Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-11T20:57:55.519Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-11T20:57:55.519Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-11T20:57:55.519Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-11T20:57:55.794Z] $ docker stop --time=1 d5f2fc55710b0bc331602fea7035f6719d9ed59c2f8d51364fef7f3213a7ed0a [2021-11-11T20:57:57.243Z] $ docker rm -f d5f2fc55710b0bc331602fea7035f6719d9ed59c2f8d51364fef7f3213a7ed0a [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T20:57:57.641Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-11T20:57:57.820Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-11T20:57:58.425Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-11T20:57:58.717Z] + ls -al . [2021-11-11T20:57:58.717Z] total 152 [2021-11-11T20:57:58.717Z] drwxrwxr-x. 9 jenkins jenkins 4096 Nov 11 20:57 . [2021-11-11T20:57:58.717Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 11 20:56 .. [2021-11-11T20:57:58.717Z] -rw-rw-r--. 1 jenkins jenkins 8010 Nov 11 20:56 Attribution.txt [2021-11-11T20:57:58.717Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 11 20:56 bin [2021-11-11T20:57:58.717Z] -rw-rw-r--. 1 jenkins jenkins 6038 Nov 11 20:56 CHANGELOG.md [2021-11-11T20:57:58.717Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 11 20:56 cmd [2021-11-11T20:57:58.717Z] -rw-r--r--. 1 jenkins jenkins 23727 Nov 11 20:57 coverage.out [2021-11-11T20:57:58.717Z] -rw-rw-r--. 1 jenkins jenkins 1523 Nov 11 20:56 Dockerfile [2021-11-11T20:57:58.717Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 11 20:56 .dockerignore [2021-11-11T20:57:58.717Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 11 20:56 .git [2021-11-11T20:57:58.717Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 11 20:56 .github [2021-11-11T20:57:58.717Z] -rw-rw-r--. 1 jenkins jenkins 331 Nov 11 20:56 .gitignore [2021-11-11T20:57:58.717Z] -rw-rw-r--. 1 jenkins jenkins 301 Nov 11 20:56 go.mod [2021-11-11T20:57:58.717Z] -rw-rw-r--. 1 jenkins jenkins 49681 Nov 11 20:56 go.sum [2021-11-11T20:57:58.717Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 11 20:56 GOVERNANCE.md [2021-11-11T20:57:58.717Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 11 20:56 internal [2021-11-11T20:57:58.717Z] -rw-rw-r--. 1 jenkins jenkins 679 Nov 11 20:56 Jenkinsfile [2021-11-11T20:57:58.717Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 11 20:56 LICENSE [2021-11-11T20:57:58.717Z] -rw-rw-r--. 1 jenkins jenkins 1009 Nov 11 20:56 Makefile [2021-11-11T20:57:58.717Z] -rw-rw-r--. 1 jenkins jenkins 622 Nov 11 20:56 OWNERS.md [2021-11-11T20:57:58.717Z] -rw-rw-r--. 1 jenkins jenkins 2891 Nov 11 20:56 README.md [2021-11-11T20:57:58.717Z] drwxrwxr-x. 2 jenkins jenkins 52 Nov 11 20:56 simulator [2021-11-11T20:57:58.717Z] drwxrwxr-x. 4 jenkins jenkins 71 Nov 11 20:56 snap [2021-11-11T20:57:58.717Z] -rw-rw-r--. 1 jenkins jenkins 12 Nov 11 20:55 VERSION [2021-11-11T20:57:58.717Z] -rw-rw-r--. 1 jenkins jenkins 229 Nov 11 20:56 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:57:59.019Z] + 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=558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 --label arch=amd64 --label version=2.0.1-dev.11 . [2021-11-11T20:57:59.019Z] Sending build context to Docker daemon 722.9kB [2021-11-11T20:57:59.019Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T20:57:59.019Z] Step 2/22 : FROM ${BASE} AS builder [2021-11-11T20:57:59.019Z] ---> b185c2a8ac2e [2021-11-11T20:57:59.019Z] Step 3/22 : ARG MAKE='make build' [2021-11-11T20:57:59.019Z] ---> Running in a4577ecdfdd8 [2021-11-11T20:57:59.282Z] Removing intermediate container a4577ecdfdd8 [2021-11-11T20:57:59.282Z] ---> 6b158df55da0 [2021-11-11T20:57:59.282Z] Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:57:59.282Z] ---> Running in 5928dadb41af [2021-11-11T20:57:59.855Z] Removing intermediate container 5928dadb41af [2021-11-11T20:57:59.855Z] ---> 4b299b2ad412 [2021-11-11T20:57:59.855Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-11-11T20:57:59.855Z] ---> Running in ab4faf6b5637 [2021-11-11T20:58:00.116Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-11T20:58:01.061Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-11T20:58:01.061Z] OK: 226 MiB in 60 packages [2021-11-11T20:58:01.324Z] Removing intermediate container ab4faf6b5637 [2021-11-11T20:58:01.324Z] ---> f3c9e4e34f27 [2021-11-11T20:58:01.324Z] Step 6/22 : WORKDIR /device-modbus-go [2021-11-11T20:58:01.589Z] ---> Running in ea8c6248a156 [2021-11-11T20:58:01.589Z] Removing intermediate container ea8c6248a156 [2021-11-11T20:58:01.589Z] ---> 914528c6e0b0 [2021-11-11T20:58:01.589Z] Step 7/22 : COPY . . [2021-11-11T20:58:01.850Z] ---> 5e506c90a6aa [2021-11-11T20:58:01.850Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T20:58:01.850Z] ---> Running in d0b94c29eab7 [2021-11-11T20:58:02.432Z] Removing intermediate container d0b94c29eab7 [2021-11-11T20:58:02.432Z] ---> ead838086b93 [2021-11-11T20:58:02.432Z] Step 9/22 : RUN ${MAKE} [2021-11-11T20:58:02.432Z] ---> Running in 1cd5127464d9 [2021-11-11T20:58:02.693Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.11" -o cmd/device-modbus ./cmd [2021-11-11T20:58:15.022Z] Removing intermediate container 1cd5127464d9 [2021-11-11T20:58:15.022Z] ---> 97d486dc61f3 [2021-11-11T20:58:15.022Z] Step 10/22 : FROM alpine:3.14 [2021-11-11T20:58:18.319Z] 3.14: Pulling from library/alpine [2021-11-11T20:58:18.319Z] a0d0a0d46f8b: Already exists [2021-11-11T20:58:18.319Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-11T20:58:18.319Z] Status: Downloaded newer image for alpine:3.14 [2021-11-11T20:58:18.319Z] ---> 14119a10abf4 [2021-11-11T20:58:18.319Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-11-11T20:58:18.319Z] ---> Running in 40d52f5974ff [2021-11-11T20:58:18.319Z] Removing intermediate container 40d52f5974ff [2021-11-11T20:58:18.319Z] ---> 93d9e3d39fc5 [2021-11-11T20:58:18.319Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:58:18.319Z] ---> Running in ca4c73b1ab4d [2021-11-11T20:58:18.583Z] Removing intermediate container ca4c73b1ab4d [2021-11-11T20:58:18.583Z] ---> 8858c58866c3 [2021-11-11T20:58:18.583Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-11T20:58:18.843Z] ---> Running in acd9d00811fb [2021-11-11T20:58:19.108Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-11T20:58:20.053Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-11T20:58:20.053Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-11T20:58:20.313Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-11T20:58:20.313Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-11T20:58:20.313Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-11T20:58:20.572Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-11T20:58:20.572Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-11T20:58:20.836Z] Executing busybox-1.33.1-r3.trigger [2021-11-11T20:58:20.836Z] OK: 8 MiB in 20 packages [2021-11-11T20:58:21.097Z] Removing intermediate container acd9d00811fb [2021-11-11T20:58:21.097Z] ---> 2fc2d3e3eaed [2021-11-11T20:58:21.097Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-11-11T20:58:21.356Z] ---> d37428956f65 [2021-11-11T20:58:21.356Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-11-11T20:58:21.459Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-239 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2021-11-11T20:58:21.468Z] Running in /w/workspace/device-modbus-go/14 [Pipeline] { [Pipeline] checkout [2021-11-11T20:58:21.619Z] ---> b62bfc31f9ec [2021-11-11T20:58:21.619Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-11-11T20:58:21.619Z] ---> e79282d9377d [2021-11-11T20:58:21.619Z] Step 17/22 : EXPOSE 59901 [2021-11-11T20:58:21.619Z] ---> Running in 4ca0ea87130f [2021-11-11T20:58:21.693Z] Selected Git installation does not exist. Using Default [2021-11-11T20:58:21.693Z] The recommended git tool is: NONE [2021-11-11T20:58:21.880Z] Removing intermediate container 4ca0ea87130f [2021-11-11T20:58:21.880Z] ---> c85057b1fd8e [2021-11-11T20:58:21.880Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-11-11T20:58:21.880Z] ---> Running in 6d0e67a6d9ff [2021-11-11T20:58:21.880Z] Removing intermediate container 6d0e67a6d9ff [2021-11-11T20:58:21.880Z] ---> 216d5a7eeef4 [2021-11-11T20:58:21.880Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-11T20:58:21.880Z] ---> Running in c1f642dd9825 [2021-11-11T20:58:22.141Z] Removing intermediate container c1f642dd9825 [2021-11-11T20:58:22.141Z] ---> a037582fe4f1 [2021-11-11T20:58:22.141Z] Step 20/22 : LABEL arch=amd64 [2021-11-11T20:58:22.141Z] ---> Running in 93ca2b468424 [2021-11-11T20:58:22.142Z] Removing intermediate container 93ca2b468424 [2021-11-11T20:58:22.142Z] ---> 7c988db4ff76 [2021-11-11T20:58:22.142Z] Step 21/22 : LABEL git_sha=558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 [2021-11-11T20:58:22.142Z] ---> Running in a286c1f54ece [2021-11-11T20:58:22.405Z] Removing intermediate container a286c1f54ece [2021-11-11T20:58:22.405Z] ---> 3b5897cb9122 [2021-11-11T20:58:22.405Z] Step 22/22 : LABEL version=2.0.1-dev.11 [2021-11-11T20:58:22.405Z] ---> Running in 0659983224a3 [2021-11-11T20:58:22.405Z] Removing intermediate container 0659983224a3 [2021-11-11T20:58:22.405Z] ---> a6b053228eda [2021-11-11T20:58:22.405Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-11T20:58:22.405Z] Successfully built a6b053228eda [2021-11-11T20:58:22.405Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:58:22.523Z] provisioning config files... [2021-11-11T20:58:22.534Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/14@tmp/config3111997963663106162tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:58:22.850Z] ---> docker-login.sh [2021-11-11T20:58:22.851Z] nexus3.edgexfoundry.org:10001 [2021-11-11T20:58:22.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:58:22.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:58:22.851Z] Configure a credential helper to remove this warning. See [2021-11-11T20:58:22.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:58:22.851Z] [2021-11-11T20:58:22.851Z] Login Succeeded [2021-11-11T20:58:22.851Z] nexus3.edgexfoundry.org:10002 [2021-11-11T20:58:22.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:58:23.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:58:23.115Z] Configure a credential helper to remove this warning. See [2021-11-11T20:58:23.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:58:23.115Z] [2021-11-11T20:58:23.115Z] Login Succeeded [2021-11-11T20:58:23.115Z] nexus3.edgexfoundry.org:10003 [2021-11-11T20:58:23.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:58:23.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:58:23.115Z] Configure a credential helper to remove this warning. See [2021-11-11T20:58:23.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:58:23.115Z] [2021-11-11T20:58:23.115Z] Login Succeeded [2021-11-11T20:58:23.115Z] nexus3.edgexfoundry.org:10004 [2021-11-11T20:58:23.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:58:23.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:58:23.376Z] Configure a credential helper to remove this warning. See [2021-11-11T20:58:23.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:58:23.376Z] [2021-11-11T20:58:23.376Z] Login Succeeded [2021-11-11T20:58:23.376Z] docker.io [2021-11-11T20:58:23.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:58:23.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:58:23.638Z] Configure a credential helper to remove this warning. See [2021-11-11T20:58:23.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:58:23.638Z] [2021-11-11T20:58:23.638Z] Login Succeeded [2021-11-11T20:58:23.638Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T20:58:23.648Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-11T20:58:23.670Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-11T20:58:23.690Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2021-11-11T20:58:23.690Z] 558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 [2021-11-11T20:58:23.690Z] latest [2021-11-11T20:58:23.690Z] 2.0.1-dev.11 [2021-11-11T20:58:23.690Z] 558c40fbdebbe4b00a0283e0ecd9585407ec2bc6-2.0.1-dev.11 [2021-11-11T20:58:23.690Z] main [2021-11-11T20:58:23.690Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:58:24.014Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:58:24.314Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 [2021-11-11T20:58:24.314Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-11-11T20:58:24.314Z] 1471688d8538: Preparing [2021-11-11T20:58:24.314Z] 447aedfe8a06: Preparing [2021-11-11T20:58:24.314Z] 921832a29b8b: Preparing [2021-11-11T20:58:24.314Z] e6904d26e876: Preparing [2021-11-11T20:58:24.314Z] 3291e91871a0: Preparing [2021-11-11T20:58:24.314Z] e2eb06d8af82: Preparing [2021-11-11T20:58:24.314Z] e2eb06d8af82: Waiting [2021-11-11T20:58:27.405Z] using credential edgex-jenkins-ssh [2021-11-11T20:58:27.537Z] Cloning the remote Git repository [2021-11-11T20:58:27.586Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-11-11T20:58:27.746Z] > git init /w/workspace/device-modbus-go/14 # timeout=10 [2021-11-11T20:58:27.891Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-11-11T20:58:27.895Z] > git --version # timeout=10 [2021-11-11T20:58:27.956Z] > git --version # 'git version 2.17.1' [2021-11-11T20:58:27.958Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T20:58:28.974Z] Avoid second fetch [2021-11-11T20:58:28.975Z] Checking out Revision 558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 (main) [2021-11-11T20:58:28.120Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T20:58:28.924Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-11-11T20:58:28.942Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T20:58:28.990Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T20:58:29.015Z] > git checkout -f 558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 # timeout=10 [2021-11-11T20:58:29.599Z] 447aedfe8a06: Pushed [2021-11-11T20:58:29.599Z] e2eb06d8af82: Layer already exists [2021-11-11T20:58:29.599Z] e6904d26e876: Pushed [2021-11-11T20:58:30.547Z] 3291e91871a0: Pushed [2021-11-11T20:58:31.487Z] 921832a29b8b: Pushed [2021-11-11T20:58:32.057Z] 1471688d8538: Pushed [2021-11-11T20:58:33.316Z] Commit message: "Merge pull request #294 from lenny-intel/latest-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T20:58:33.968Z] 558c40fbdebbe4b00a0283e0ecd9585407ec2bc6: digest: sha256:9b279b91bccd05fd9bad67bd264238058abcbf10d51234cad27740df1adb17ec size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:58:34.151Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-11T20:58:34.151Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-11T20:58:34.151Z] Dload Upload Total Spent Left Speed [2021-11-11T20:58:34.151Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 172k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh [2021-11-11T20:58:34.279Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:58:34.563Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-11T20:58:34.589Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-11-11T20:58:34.589Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-11-11T20:58:34.589Z] 1471688d8538: Preparing [2021-11-11T20:58:34.589Z] 447aedfe8a06: Preparing [2021-11-11T20:58:34.589Z] 921832a29b8b: Preparing [2021-11-11T20:58:34.589Z] e6904d26e876: Preparing [2021-11-11T20:58:34.589Z] 3291e91871a0: Preparing [2021-11-11T20:58:34.589Z] e2eb06d8af82: Preparing [2021-11-11T20:58:34.589Z] e2eb06d8af82: Waiting [2021-11-11T20:58:34.589Z] 3291e91871a0: Layer already exists [2021-11-11T20:58:34.589Z] 447aedfe8a06: Layer already exists [2021-11-11T20:58:34.589Z] 921832a29b8b: Layer already exists [2021-11-11T20:58:34.589Z] 1471688d8538: Layer already exists [2021-11-11T20:58:34.589Z] e6904d26e876: Layer already exists [2021-11-11T20:58:34.589Z] e2eb06d8af82: Layer already exists [2021-11-11T20:58:34.848Z] latest: digest: sha256:9b279b91bccd05fd9bad67bd264238058abcbf10d51234cad27740df1adb17ec size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:58:34.911Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-11T20:58:34.911Z] + sudo tee /etc/docker/daemon.new [2021-11-11T20:58:34.911Z] { [2021-11-11T20:58:34.911Z] "registry-mirrors": [ [2021-11-11T20:58:34.911Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-11T20:58:34.911Z] ], [2021-11-11T20:58:34.911Z] "bip": "10.250.0.254/24", [2021-11-11T20:58:34.911Z] "hosts": [ [2021-11-11T20:58:34.911Z] "tcp://0.0.0.0:5555", [2021-11-11T20:58:34.911Z] "unix:///var/run/docker.sock" [2021-11-11T20:58:34.911Z] ], [2021-11-11T20:58:34.911Z] "mtu": 1458, [2021-11-11T20:58:34.911Z] "selinux-enabled": true, [2021-11-11T20:58:34.911Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-11T20:58:34.911Z] } [Pipeline] sh [2021-11-11T20:58:35.145Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.11 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:58:35.257Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-11T20:58:35.436Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.11 [2021-11-11T20:58:35.436Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-11-11T20:58:35.436Z] 1471688d8538: Preparing [2021-11-11T20:58:35.436Z] 447aedfe8a06: Preparing [2021-11-11T20:58:35.436Z] 921832a29b8b: Preparing [2021-11-11T20:58:35.436Z] e6904d26e876: Preparing [2021-11-11T20:58:35.436Z] 3291e91871a0: Preparing [2021-11-11T20:58:35.436Z] e2eb06d8af82: Preparing [2021-11-11T20:58:35.436Z] e2eb06d8af82: Waiting [2021-11-11T20:58:35.436Z] 447aedfe8a06: Layer already exists [2021-11-11T20:58:35.436Z] e6904d26e876: Layer already exists [2021-11-11T20:58:35.436Z] 3291e91871a0: Layer already exists [2021-11-11T20:58:35.436Z] 921832a29b8b: Layer already exists [2021-11-11T20:58:35.436Z] 1471688d8538: Layer already exists [2021-11-11T20:58:35.436Z] e2eb06d8af82: Layer already exists [2021-11-11T20:58:35.436Z] 2.0.1-dev.11: digest: sha256:9b279b91bccd05fd9bad67bd264238058abcbf10d51234cad27740df1adb17ec size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:58:35.593Z] + sudo service docker restart [2021-11-11T20:58:35.738Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:558c40fbdebbe4b00a0283e0ecd9585407ec2bc6-2.0.1-dev.11 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:58:36.031Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:558c40fbdebbe4b00a0283e0ecd9585407ec2bc6-2.0.1-dev.11 [2021-11-11T20:58:36.031Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-11-11T20:58:36.031Z] 1471688d8538: Preparing [2021-11-11T20:58:36.031Z] 447aedfe8a06: Preparing [2021-11-11T20:58:36.031Z] 921832a29b8b: Preparing [2021-11-11T20:58:36.032Z] e6904d26e876: Preparing [2021-11-11T20:58:36.032Z] 3291e91871a0: Preparing [2021-11-11T20:58:36.032Z] e2eb06d8af82: Preparing [2021-11-11T20:58:36.032Z] e2eb06d8af82: Waiting [2021-11-11T20:58:36.032Z] 921832a29b8b: Layer already exists [2021-11-11T20:58:36.032Z] 3291e91871a0: Layer already exists [2021-11-11T20:58:36.032Z] e6904d26e876: Layer already exists [2021-11-11T20:58:36.032Z] 447aedfe8a06: Layer already exists [2021-11-11T20:58:36.032Z] 1471688d8538: Layer already exists [2021-11-11T20:58:36.032Z] e2eb06d8af82: Layer already exists [2021-11-11T20:58:36.032Z] 558c40fbdebbe4b00a0283e0ecd9585407ec2bc6-2.0.1-dev.11: digest: sha256:9b279b91bccd05fd9bad67bd264238058abcbf10d51234cad27740df1adb17ec size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:58:36.325Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:58:36.616Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2021-11-11T20:58:36.616Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-11-11T20:58:36.616Z] 1471688d8538: Preparing [2021-11-11T20:58:36.616Z] 447aedfe8a06: Preparing [2021-11-11T20:58:36.616Z] 921832a29b8b: Preparing [2021-11-11T20:58:36.616Z] e6904d26e876: Preparing [2021-11-11T20:58:36.616Z] 3291e91871a0: Preparing [2021-11-11T20:58:36.616Z] e2eb06d8af82: Preparing [2021-11-11T20:58:36.616Z] e2eb06d8af82: Waiting [2021-11-11T20:58:36.616Z] e6904d26e876: Layer already exists [2021-11-11T20:58:36.616Z] 1471688d8538: Layer already exists [2021-11-11T20:58:36.616Z] 447aedfe8a06: Layer already exists [2021-11-11T20:58:36.616Z] 3291e91871a0: Layer already exists [2021-11-11T20:58:36.616Z] 921832a29b8b: Layer already exists [2021-11-11T20:58:36.616Z] e2eb06d8af82: Layer already exists [2021-11-11T20:58:37.184Z] main: digest: sha256:9b279b91bccd05fd9bad67bd264238058abcbf10d51234cad27740df1adb17ec size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-11T20:58:37.234Z] ===================================================== [Pipeline] echo [2021-11-11T20:58:37.241Z] taggedImages: [2021-11-11T20:58:37.241Z] - nexus3.edgexfoundry.org:10004/device-modbus:558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 [2021-11-11T20:58:37.241Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-11-11T20:58:37.241Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.11 [2021-11-11T20:58:37.241Z] - nexus3.edgexfoundry.org:10004/device-modbus:558c40fbdebbe4b00a0283e0ecd9585407ec2bc6-2.0.1-dev.11 [2021-11-11T20:58:37.241Z] - 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 [2021-11-11T20:58:38.039Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:58:38.039Z] [2021-11-11T20:58:38.039Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:58:38.357Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:58:38.357Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-11T20:58:38.357Z] b4d181a07f80: Pulling fs layer [2021-11-11T20:58:38.357Z] a1111a8f2ec3: Pulling fs layer [2021-11-11T20:58:38.357Z] ed53099fbce6: Pulling fs layer [2021-11-11T20:58:38.357Z] dc539afda2c1: Pulling fs layer [2021-11-11T20:58:38.357Z] 77bc0d833cb6: Pulling fs layer [2021-11-11T20:58:38.357Z] 9065ff56babe: Pulling fs layer [2021-11-11T20:58:38.357Z] d287ab97295c: Pulling fs layer [2021-11-11T20:58:38.357Z] dc539afda2c1: Waiting [2021-11-11T20:58:38.357Z] 9065ff56babe: Waiting [2021-11-11T20:58:38.357Z] 77bc0d833cb6: Waiting [2021-11-11T20:58:38.357Z] d287ab97295c: Waiting [2021-11-11T20:58:38.357Z] a1111a8f2ec3: Verifying Checksum [2021-11-11T20:58:38.357Z] a1111a8f2ec3: Download complete [2021-11-11T20:58:38.357Z] dc539afda2c1: Verifying Checksum [2021-11-11T20:58:38.357Z] dc539afda2c1: Download complete [2021-11-11T20:58:38.357Z] ed53099fbce6: Verifying Checksum [2021-11-11T20:58:38.357Z] ed53099fbce6: Download complete [2021-11-11T20:58:38.357Z] 9065ff56babe: Verifying Checksum [2021-11-11T20:58:38.357Z] 9065ff56babe: Download complete [2021-11-11T20:58:38.616Z] 77bc0d833cb6: Verifying Checksum [2021-11-11T20:58:38.616Z] 77bc0d833cb6: Download complete [2021-11-11T20:58:38.616Z] b4d181a07f80: Verifying Checksum [2021-11-11T20:58:38.616Z] b4d181a07f80: Download complete [2021-11-11T20:58:39.190Z] d287ab97295c: Verifying Checksum [2021-11-11T20:58:39.190Z] d287ab97295c: Download complete [2021-11-11T20:58:40.144Z] b4d181a07f80: Pull complete [2021-11-11T20:58:40.144Z] a1111a8f2ec3: Pull complete [2021-11-11T20:58:40.718Z] ed53099fbce6: Pull complete [2021-11-11T20:58:40.718Z] dc539afda2c1: Pull complete [2021-11-11T20:58:40.980Z] 77bc0d833cb6: Pull complete [2021-11-11T20:58:41.251Z] 9065ff56babe: Pull complete [2021-11-11T20:58:46.578Z] d287ab97295c: Pull complete [2021-11-11T20:58:46.578Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-11T20:58:46.578Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:58:46.578Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-11T20:58:46.640Z] prd-centos7-docker-4c-2g-238 does not seem to be running inside a container [2021-11-11T20:58:46.708Z] $ 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/14 -v /w/workspace/device-modbus-go/14:/w/workspace/device-modbus-go/14:rw,z -v /w/workspace/device-modbus-go/14@tmp:/w/workspace/device-modbus-go/14@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 [2021-11-11T20:58:49.318Z] $ docker top 2562290f885448adc7b9fb128489b22c420c60e99cac4b6a48c8ede1ca526907 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:58:49.715Z] ---> job-cost.sh [2021-11-11T20:58:49.716Z] lf-activate-venv: SKIPPING [2021-11-11T20:58:49.716Z] INFO: No Stack... [2021-11-11T20:58:50.284Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-11T20:58:50.544Z] INFO: Archiving Costs [Pipeline] sh [2021-11-11T20:58:50.837Z] + cut -d, -f6 [2021-11-11T20:58:50.837Z] + cat /w/workspace/device-modbus-go/14/archives/cost.csv [Pipeline] lock [2021-11-11T20:58:50.865Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-14-stack-cost] [2021-11-11T20:58:50.960Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-14-stack-cost] did not exist. Created. [2021-11-11T20:58:50.960Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-11T20:58:51.499Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-11T20:58:51.540Z] Stashed 1 file(s) [Pipeline] } [2021-11-11T20:58:51.759Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-14-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-11T20:58:51.778Z] $ docker stop --time=1 2562290f885448adc7b9fb128489b22c420c60e99cac4b6a48c8ede1ca526907 [2021-11-11T20:58:52.907Z] $ docker rm -f 2562290f885448adc7b9fb128489b22c420c60e99cac4b6a48c8ede1ca526907 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:58:53.952Z] provisioning config files... [2021-11-11T20:58:53.979Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/14@tmp/config3192604234343923315tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:58:54.352Z] ---> docker-login.sh [2021-11-11T20:58:54.352Z] nexus3.edgexfoundry.org:10001 [2021-11-11T20:58:54.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:58:55.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:58:55.228Z] Configure a credential helper to remove this warning. See [2021-11-11T20:58:55.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:58:55.228Z] [2021-11-11T20:58:55.228Z] Login Succeeded [2021-11-11T20:58:55.580Z] nexus3.edgexfoundry.org:10002 [2021-11-11T20:58:56.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:58:56.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:58:56.187Z] Configure a credential helper to remove this warning. See [2021-11-11T20:58:56.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:58:56.187Z] [2021-11-11T20:58:56.187Z] Login Succeeded [2021-11-11T20:58:56.187Z] nexus3.edgexfoundry.org:10003 [2021-11-11T20:58:56.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:58:56.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:58:56.792Z] Configure a credential helper to remove this warning. See [2021-11-11T20:58:56.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:58:56.792Z] [2021-11-11T20:58:56.792Z] Login Succeeded [2021-11-11T20:58:56.792Z] nexus3.edgexfoundry.org:10004 [2021-11-11T20:58:57.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:58:57.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:58:57.395Z] Configure a credential helper to remove this warning. See [2021-11-11T20:58:57.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:58:57.395Z] [2021-11-11T20:58:57.395Z] Login Succeeded [2021-11-11T20:58:57.395Z] docker.io [2021-11-11T20:58:57.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:58:58.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:58:58.273Z] Configure a credential helper to remove this warning. See [2021-11-11T20:58:58.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:58:58.273Z] [2021-11-11T20:58:58.273Z] Login Succeeded [2021-11-11T20:58:58.273Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T20:58:58.293Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-11T20:58:58.619Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-11T20:58:58.630Z] ========================================================= [2021-11-11T20:58:58.630Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-11T20:58:58.630Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:58:59.004Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-11-11T20:58:59.280Z] Sending build context to Docker daemon 697.3kB [2021-11-11T20:58:59.557Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T20:58:59.557Z] Step 2/9 : FROM ${BASE} AS builder [2021-11-11T20:58:59.557Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-11T20:58:59.557Z] 552d1f2373af: Pulling fs layer [2021-11-11T20:58:59.557Z] ea3f2d53f512: Pulling fs layer [2021-11-11T20:58:59.557Z] 9e70ebbbe112: Pulling fs layer [2021-11-11T20:58:59.557Z] 7a9cfe048b4a: Pulling fs layer [2021-11-11T20:58:59.557Z] 7a9cfe048b4a: Waiting [2021-11-11T20:58:59.557Z] 72dc09318566: Pulling fs layer [2021-11-11T20:58:59.557Z] f4f7b4309257: Pulling fs layer [2021-11-11T20:58:59.557Z] 0ac9a79272e3: Pulling fs layer [2021-11-11T20:58:59.557Z] b78e95d17946: Pulling fs layer [2021-11-11T20:58:59.557Z] f4f7b4309257: Waiting [2021-11-11T20:58:59.557Z] 0ac9a79272e3: Waiting [2021-11-11T20:58:59.557Z] b78e95d17946: Waiting [2021-11-11T20:58:59.557Z] 72dc09318566: Waiting [2021-11-11T20:58:59.557Z] 9e70ebbbe112: Download complete [2021-11-11T20:58:59.557Z] ea3f2d53f512: Download complete [2021-11-11T20:58:59.557Z] 72dc09318566: Verifying Checksum [2021-11-11T20:58:59.557Z] 72dc09318566: Download complete [2021-11-11T20:59:00.093Z] f4f7b4309257: Verifying Checksum [2021-11-11T20:59:00.093Z] f4f7b4309257: Download complete [2021-11-11T20:59:00.093Z] 0ac9a79272e3: Verifying Checksum [2021-11-11T20:59:00.093Z] 0ac9a79272e3: Download complete [2021-11-11T20:59:00.093Z] 552d1f2373af: Verifying Checksum [2021-11-11T20:59:00.093Z] 552d1f2373af: Download complete [2021-11-11T20:59:00.753Z] 552d1f2373af: Pull complete [2021-11-11T20:59:01.367Z] ea3f2d53f512: Pull complete [2021-11-11T20:59:01.967Z] 9e70ebbbe112: Pull complete [2021-11-11T20:59:01.967Z] b78e95d17946: Verifying Checksum [2021-11-11T20:59:01.967Z] b78e95d17946: Download complete [2021-11-11T20:59:02.565Z] 7a9cfe048b4a: Verifying Checksum [2021-11-11T20:59:02.565Z] 7a9cfe048b4a: Download complete [2021-11-11T20:59:14.999Z] 7a9cfe048b4a: Pull complete [2021-11-11T20:59:14.999Z] 72dc09318566: Pull complete [2021-11-11T20:59:14.999Z] f4f7b4309257: Pull complete [2021-11-11T20:59:14.999Z] 0ac9a79272e3: Pull complete [2021-11-11T20:59:20.429Z] b78e95d17946: Pull complete [2021-11-11T20:59:20.429Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-11T20:59:20.429Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-11T20:59:20.429Z] ---> 8b459fc5aaf0 [2021-11-11T20:59:20.429Z] Step 3/9 : ARG MAKE='make build' [2021-11-11T20:59:23.072Z] ---> Running in 5d2b47cbffae [2021-11-11T20:59:23.072Z] Removing intermediate container 5d2b47cbffae [2021-11-11T20:59:23.072Z] ---> 543d5ab3294a [2021-11-11T20:59:23.072Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:59:23.072Z] ---> Running in 067728c4ebc6 [2021-11-11T20:59:25.727Z] Removing intermediate container 067728c4ebc6 [2021-11-11T20:59:25.727Z] ---> 2572dd09baaa [2021-11-11T20:59:25.727Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-11-11T20:59:25.727Z] ---> Running in 1a5a97e05c00 [2021-11-11T20:59:26.706Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-11T20:59:27.685Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-11T20:59:28.669Z] (1/8) Installing openssh-keygen (8.6_p1-r3) [2021-11-11T20:59:28.669Z] (2/8) Installing libedit (20210216.3.1-r0) [2021-11-11T20:59:28.944Z] (3/8) Installing openssh-client-common (8.6_p1-r3) [2021-11-11T20:59:29.232Z] (4/8) Installing openssh-client-default (8.6_p1-r3) [2021-11-11T20:59:29.232Z] (5/8) Installing openssh-sftp-server (8.6_p1-r3) [2021-11-11T20:59:29.232Z] (6/8) Installing openssh-server-common (8.6_p1-r3) [2021-11-11T20:59:29.511Z] (7/8) Installing openssh-server (8.6_p1-r3) [2021-11-11T20:59:29.511Z] (8/8) Installing openssh (8.6_p1-r3) [2021-11-11T20:59:29.511Z] Executing busybox-1.33.1-r3.trigger [2021-11-11T20:59:29.511Z] OK: 225 MiB in 60 packages [2021-11-11T20:59:30.965Z] Removing intermediate container 1a5a97e05c00 [2021-11-11T20:59:30.965Z] ---> 1611b8dd0cef [2021-11-11T20:59:30.965Z] Step 6/9 : WORKDIR /device-modbus-go [2021-11-11T20:59:30.965Z] ---> Running in 70ff985bf783 [2021-11-11T20:59:31.566Z] Removing intermediate container 70ff985bf783 [2021-11-11T20:59:31.566Z] ---> 4d039d106424 [2021-11-11T20:59:31.566Z] Step 7/9 : COPY . . [2021-11-11T20:59:32.556Z] ---> 78cd74095ef0 [2021-11-11T20:59:32.556Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T20:59:32.847Z] ---> Running in ffd7c09dc780 [2021-11-11T21:00:54.712Z] Removing intermediate container ffd7c09dc780 [2021-11-11T21:00:54.712Z] ---> 8b8798aa0549 [2021-11-11T21:00:54.712Z] Step 9/9 : RUN ${MAKE} [2021-11-11T21:00:54.712Z] ---> Running in c0c2adc9993b [2021-11-11T21:00:54.712Z] noop [2021-11-11T21:00:54.712Z] Removing intermediate container c0c2adc9993b [2021-11-11T21:00:54.712Z] ---> 30f89ec39d0e [2021-11-11T21:00:54.712Z] Successfully built 30f89ec39d0e [2021-11-11T21:00:54.712Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:00:55.057Z] + docker inspect -f . ci-base-image-arm64 [2021-11-11T21:00:55.058Z] . [Pipeline] withDockerContainer [2021-11-11T21:00:55.349Z] prd-ubuntu18.04-docker-arm64-4c-16g-239 does not seem to be running inside a container [2021-11-11T21:00:55.482Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/14 -v /w/workspace/device-modbus-go/14:/w/workspace/device-modbus-go/14:rw,z -v /w/workspace/device-modbus-go/14@tmp:/w/workspace/device-modbus-go/14@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 [2021-11-11T21:00:57.082Z] $ docker top 42f5ee1a19bd71a1731d889aa768436bf41cdfa23ffe5982ff24a75ea2ba4ab3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T21:00:58.039Z] + go version [2021-11-11T21:00:58.039Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-11T21:00:58.107Z] $ docker stop --time=1 42f5ee1a19bd71a1731d889aa768436bf41cdfa23ffe5982ff24a75ea2ba4ab3 [2021-11-11T21:00:59.807Z] $ docker rm -f 42f5ee1a19bd71a1731d889aa768436bf41cdfa23ffe5982ff24a75ea2ba4ab3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:01:00.518Z] + docker inspect -f . ci-base-image-arm64 [2021-11-11T21:01:00.518Z] . [Pipeline] withDockerContainer [2021-11-11T21:01:00.770Z] prd-ubuntu18.04-docker-arm64-4c-16g-239 does not seem to be running inside a container [2021-11-11T21:01:00.899Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/14 -v /w/workspace/device-modbus-go/14:/w/workspace/device-modbus-go/14:rw,z -v /w/workspace/device-modbus-go/14@tmp:/w/workspace/device-modbus-go/14@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 [2021-11-11T21:01:02.390Z] $ docker top b106426b16963513e9bf883d5aedc83a1fc46f3833e83a92e1b836ca2b516c60 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-11T21:01:03.279Z] + make test [2021-11-11T21:01:03.280Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-11T21:01:04.715Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-11-11T21:02:01.328Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-11-11T21:02:02.768Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.058s coverage: 46.6% of statements [2021-11-11T21:02:03.042Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-11T21:02:29.865Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-11T21:02:29.865Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-11T21:02:30.135Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-11T21:02:32.197Z] $ docker stop --time=1 b106426b16963513e9bf883d5aedc83a1fc46f3833e83a92e1b836ca2b516c60 [2021-11-11T21:02:34.089Z] $ docker rm -f b106426b16963513e9bf883d5aedc83a1fc46f3833e83a92e1b836ca2b516c60 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T21:02:34.948Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-11T21:02:34.970Z] Warning: overwriting stash ‘coverage-report’ [2021-11-11T21:02:35.516Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T21:02:36.031Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-11T21:02:36.365Z] + ls -al . [2021-11-11T21:02:36.365Z] total 184 [2021-11-11T21:02:36.365Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 11 21:02 . [2021-11-11T21:02:36.365Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 20:58 .. [2021-11-11T21:02:36.365Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 11 20:58 .dockerignore [2021-11-11T21:02:36.365Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 20:58 .git [2021-11-11T21:02:36.365Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 20:58 .github [2021-11-11T21:02:36.365Z] -rw-rw-r-- 1 jenkins jenkins 331 Nov 11 20:58 .gitignore [2021-11-11T21:02:36.365Z] -rw-rw-r-- 1 jenkins jenkins 8010 Nov 11 20:58 Attribution.txt [2021-11-11T21:02:36.365Z] -rw-rw-r-- 1 jenkins jenkins 6038 Nov 11 20:58 CHANGELOG.md [2021-11-11T21:02:36.365Z] -rw-rw-r-- 1 jenkins jenkins 1523 Nov 11 20:58 Dockerfile [2021-11-11T21:02:36.365Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 20:58 GOVERNANCE.md [2021-11-11T21:02:36.365Z] -rw-rw-r-- 1 jenkins jenkins 679 Nov 11 20:58 Jenkinsfile [2021-11-11T21:02:36.365Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 11 20:58 LICENSE [2021-11-11T21:02:36.365Z] -rw-rw-r-- 1 jenkins jenkins 1009 Nov 11 20:58 Makefile [2021-11-11T21:02:36.366Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 11 20:58 OWNERS.md [2021-11-11T21:02:36.366Z] -rw-rw-r-- 1 jenkins jenkins 2891 Nov 11 20:58 README.md [2021-11-11T21:02:36.366Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 11 20:55 VERSION [2021-11-11T21:02:36.366Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 20:58 bin [2021-11-11T21:02:36.366Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 20:58 cmd [2021-11-11T21:02:36.366Z] -rw-r--r-- 1 jenkins jenkins 23727 Nov 11 21:02 coverage.out [2021-11-11T21:02:36.366Z] -rw-rw-r-- 1 jenkins jenkins 301 Nov 11 20:58 go.mod [2021-11-11T21:02:36.366Z] -rw-rw-r-- 1 jenkins jenkins 49681 Nov 11 20:58 go.sum [2021-11-11T21:02:36.366Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 20:58 internal [2021-11-11T21:02:36.366Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 20:58 simulator [2021-11-11T21:02:36.366Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 20:58 snap [2021-11-11T21:02:36.366Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 11 20:58 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:02:36.713Z] + 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=558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 --label arch=arm64 --label version=2.0.1-dev.11 . [2021-11-11T21:02:36.985Z] Sending build context to Docker daemon 721.9kB [2021-11-11T21:02:36.985Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T21:02:36.985Z] Step 2/22 : FROM ${BASE} AS builder [2021-11-11T21:02:36.985Z] ---> 30f89ec39d0e [2021-11-11T21:02:36.985Z] Step 3/22 : ARG MAKE='make build' [2021-11-11T21:02:37.263Z] ---> Running in fd112c5ef6c7 [2021-11-11T21:02:37.538Z] Removing intermediate container fd112c5ef6c7 [2021-11-11T21:02:37.538Z] ---> ff5c07ac3246 [2021-11-11T21:02:37.538Z] Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T21:02:37.811Z] ---> Running in a5cb9549470a [2021-11-11T21:02:39.841Z] Removing intermediate container a5cb9549470a [2021-11-11T21:02:39.841Z] ---> c30adfe570fa [2021-11-11T21:02:39.841Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-11-11T21:02:39.841Z] ---> Running in 7edda438dd35 [2021-11-11T21:02:41.298Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-11T21:02:42.272Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-11T21:02:42.864Z] OK: 225 MiB in 60 packages [2021-11-11T21:02:43.838Z] Removing intermediate container 7edda438dd35 [2021-11-11T21:02:43.838Z] ---> c482dad88df4 [2021-11-11T21:02:43.838Z] Step 6/22 : WORKDIR /device-modbus-go [2021-11-11T21:02:43.838Z] ---> Running in 20d114fa2417 [2021-11-11T21:02:44.439Z] Removing intermediate container 20d114fa2417 [2021-11-11T21:02:44.439Z] ---> daf3140c9396 [2021-11-11T21:02:44.439Z] Step 7/22 : COPY . . [2021-11-11T21:02:45.448Z] ---> 7d1d9dddcef4 [2021-11-11T21:02:45.448Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T21:02:45.448Z] ---> Running in 1eb81b3bc295 [2021-11-11T21:02:48.074Z] Removing intermediate container 1eb81b3bc295 [2021-11-11T21:02:48.074Z] ---> b989335624c7 [2021-11-11T21:02:48.074Z] Step 9/22 : RUN ${MAKE} [2021-11-11T21:02:48.074Z] ---> Running in 745c7a25dd9d [2021-11-11T21:02:49.055Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.11" -o cmd/device-modbus ./cmd [2021-11-11T21:03:36.057Z] Removing intermediate container 745c7a25dd9d [2021-11-11T21:03:36.057Z] ---> 10873c3b886f [2021-11-11T21:03:36.057Z] Step 10/22 : FROM alpine:3.14 [2021-11-11T21:03:36.057Z] 3.14: Pulling from library/alpine [2021-11-11T21:03:36.057Z] 552d1f2373af: Already exists [2021-11-11T21:03:36.057Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-11T21:03:36.057Z] Status: Downloaded newer image for alpine:3.14 [2021-11-11T21:03:36.057Z] ---> bb3de5531c18 [2021-11-11T21:03:36.057Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-11-11T21:03:36.057Z] ---> Running in d4208851160a [2021-11-11T21:03:36.057Z] Removing intermediate container d4208851160a [2021-11-11T21:03:36.057Z] ---> cf562f65ef0c [2021-11-11T21:03:36.057Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T21:03:36.057Z] ---> Running in 6b373d6b4825 [2021-11-11T21:03:36.057Z] Removing intermediate container 6b373d6b4825 [2021-11-11T21:03:36.057Z] ---> 665ca249b9a6 [2021-11-11T21:03:36.057Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-11T21:03:36.057Z] ---> Running in 1390aeba8402 [2021-11-11T21:03:36.057Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-11T21:03:37.036Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-11T21:03:38.016Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-11T21:03:38.016Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-11T21:03:38.288Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-11T21:03:38.288Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-11T21:03:38.561Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-11T21:03:38.561Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-11T21:03:38.561Z] Executing busybox-1.33.1-r3.trigger [2021-11-11T21:03:38.561Z] OK: 8 MiB in 20 packages [2021-11-11T21:03:39.541Z] Removing intermediate container 1390aeba8402 [2021-11-11T21:03:39.541Z] ---> 367fea230a70 [2021-11-11T21:03:39.812Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-11-11T21:03:40.785Z] ---> 2310b966ea2b [2021-11-11T21:03:40.785Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-11-11T21:03:41.757Z] ---> b4c88da950aa [2021-11-11T21:03:41.757Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-11-11T21:03:42.350Z] ---> d0995d567e55 [2021-11-11T21:03:42.350Z] Step 17/22 : EXPOSE 59901 [2021-11-11T21:03:42.350Z] ---> Running in 066d2aaed3f8 [2021-11-11T21:03:42.620Z] Removing intermediate container 066d2aaed3f8 [2021-11-11T21:03:42.620Z] ---> 27ce803dd9c8 [2021-11-11T21:03:42.620Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-11-11T21:03:42.891Z] ---> Running in 98c580e8c8c0 [2021-11-11T21:03:43.162Z] Removing intermediate container 98c580e8c8c0 [2021-11-11T21:03:43.162Z] ---> c1cfa4a6066f [2021-11-11T21:03:43.162Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-11T21:03:43.162Z] ---> Running in 64ed137bc6c1 [2021-11-11T21:03:43.759Z] Removing intermediate container 64ed137bc6c1 [2021-11-11T21:03:43.759Z] ---> 2284b31f734f [2021-11-11T21:03:43.759Z] Step 20/22 : LABEL arch=arm64 [2021-11-11T21:03:43.759Z] ---> Running in c0e8c48c9261 [2021-11-11T21:03:44.350Z] Removing intermediate container c0e8c48c9261 [2021-11-11T21:03:44.350Z] ---> f6995da92f1c [2021-11-11T21:03:44.350Z] Step 21/22 : LABEL git_sha=558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 [2021-11-11T21:03:44.350Z] ---> Running in 827b89d28923 [2021-11-11T21:03:44.621Z] Removing intermediate container 827b89d28923 [2021-11-11T21:03:44.621Z] ---> b56d75da7ed2 [2021-11-11T21:03:44.621Z] Step 22/22 : LABEL version=2.0.1-dev.11 [2021-11-11T21:03:44.891Z] ---> Running in bb55c1ab8e85 [2021-11-11T21:03:45.161Z] Removing intermediate container bb55c1ab8e85 [2021-11-11T21:03:45.161Z] ---> 595759d117cb [2021-11-11T21:03:45.161Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-11T21:03:45.161Z] Successfully built 595759d117cb [2021-11-11T21:03:45.161Z] 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 [2021-11-11T21:03:45.303Z] provisioning config files... [2021-11-11T21:03:45.323Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/14@tmp/config6400567415898850200tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T21:03:45.676Z] ---> docker-login.sh [2021-11-11T21:03:45.676Z] nexus3.edgexfoundry.org:10001 [2021-11-11T21:03:45.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T21:03:46.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T21:03:46.220Z] Configure a credential helper to remove this warning. See [2021-11-11T21:03:46.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T21:03:46.220Z] [2021-11-11T21:03:46.220Z] Login Succeeded [2021-11-11T21:03:46.220Z] nexus3.edgexfoundry.org:10002 [2021-11-11T21:03:46.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T21:03:46.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T21:03:46.762Z] Configure a credential helper to remove this warning. See [2021-11-11T21:03:46.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T21:03:46.762Z] [2021-11-11T21:03:46.762Z] Login Succeeded [2021-11-11T21:03:46.762Z] nexus3.edgexfoundry.org:10003 [2021-11-11T21:03:47.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T21:03:47.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T21:03:47.312Z] Configure a credential helper to remove this warning. See [2021-11-11T21:03:47.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T21:03:47.312Z] [2021-11-11T21:03:47.312Z] Login Succeeded [2021-11-11T21:03:47.312Z] nexus3.edgexfoundry.org:10004 [2021-11-11T21:03:47.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T21:03:47.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T21:03:47.916Z] Configure a credential helper to remove this warning. See [2021-11-11T21:03:47.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T21:03:47.916Z] [2021-11-11T21:03:47.916Z] Login Succeeded [2021-11-11T21:03:47.916Z] docker.io [2021-11-11T21:03:48.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T21:03:48.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T21:03:48.792Z] Configure a credential helper to remove this warning. See [2021-11-11T21:03:48.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T21:03:48.792Z] [2021-11-11T21:03:48.792Z] Login Succeeded [2021-11-11T21:03:48.792Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T21:03:48.810Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-11T21:03:48.839Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-11T21:03:48.860Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2021-11-11T21:03:48.860Z] 558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 [2021-11-11T21:03:48.860Z] latest [2021-11-11T21:03:48.860Z] 2.0.1-dev.11 [2021-11-11T21:03:48.860Z] 558c40fbdebbe4b00a0283e0ecd9585407ec2bc6-2.0.1-dev.11 [2021-11-11T21:03:48.860Z] main [2021-11-11T21:03:48.860Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:03:49.215Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:03:49.570Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 [2021-11-11T21:03:49.570Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-11-11T21:03:49.570Z] e1788046ddc1: Preparing [2021-11-11T21:03:49.570Z] e0dca310046c: Preparing [2021-11-11T21:03:49.570Z] 7de97132231e: Preparing [2021-11-11T21:03:49.570Z] ceb5c0c33291: Preparing [2021-11-11T21:03:49.570Z] 122e91bf7cbb: Preparing [2021-11-11T21:03:49.570Z] ee420dfed78a: Preparing [2021-11-11T21:03:49.570Z] ee420dfed78a: Waiting [2021-11-11T21:03:53.878Z] 122e91bf7cbb: Pushed [2021-11-11T21:03:53.878Z] ee420dfed78a: Layer already exists [2021-11-11T21:03:54.853Z] ceb5c0c33291: Pushed [2021-11-11T21:03:55.446Z] e1788046ddc1: Pushed [2021-11-11T21:03:56.418Z] e0dca310046c: Pushed [2021-11-11T21:03:57.391Z] 7de97132231e: Pushed [2021-11-11T21:03:58.823Z] 558c40fbdebbe4b00a0283e0ecd9585407ec2bc6: digest: sha256:f2c4bc163e657534b1c3a1d3eb4a96c543532e5933aae6c755f27970db555813 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:03:59.161Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:03:59.498Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-11-11T21:03:59.498Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-11-11T21:03:59.498Z] e1788046ddc1: Preparing [2021-11-11T21:03:59.498Z] e0dca310046c: Preparing [2021-11-11T21:03:59.498Z] 7de97132231e: Preparing [2021-11-11T21:03:59.498Z] ceb5c0c33291: Preparing [2021-11-11T21:03:59.498Z] 122e91bf7cbb: Preparing [2021-11-11T21:03:59.498Z] ee420dfed78a: Preparing [2021-11-11T21:03:59.498Z] ee420dfed78a: Waiting [2021-11-11T21:03:59.770Z] e0dca310046c: Layer already exists [2021-11-11T21:03:59.770Z] 122e91bf7cbb: Layer already exists [2021-11-11T21:03:59.770Z] 7de97132231e: Layer already exists [2021-11-11T21:03:59.770Z] e1788046ddc1: Layer already exists [2021-11-11T21:03:59.770Z] ceb5c0c33291: Layer already exists [2021-11-11T21:03:59.770Z] ee420dfed78a: Layer already exists [2021-11-11T21:04:00.041Z] latest: digest: sha256:f2c4bc163e657534b1c3a1d3eb4a96c543532e5933aae6c755f27970db555813 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:04:00.389Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.11 [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:04:00.728Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.11 [2021-11-11T21:04:00.728Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-11-11T21:04:00.728Z] e1788046ddc1: Preparing [2021-11-11T21:04:00.728Z] e0dca310046c: Preparing [2021-11-11T21:04:00.728Z] 7de97132231e: Preparing [2021-11-11T21:04:00.728Z] ceb5c0c33291: Preparing [2021-11-11T21:04:00.728Z] 122e91bf7cbb: Preparing [2021-11-11T21:04:00.728Z] ee420dfed78a: Preparing [2021-11-11T21:04:00.728Z] ee420dfed78a: Waiting [2021-11-11T21:04:01.000Z] 122e91bf7cbb: Layer already exists [2021-11-11T21:04:01.000Z] e1788046ddc1: Layer already exists [2021-11-11T21:04:01.000Z] ceb5c0c33291: Layer already exists [2021-11-11T21:04:01.000Z] e0dca310046c: Layer already exists [2021-11-11T21:04:01.000Z] 7de97132231e: Layer already exists [2021-11-11T21:04:01.000Z] ee420dfed78a: Layer already exists [2021-11-11T21:04:01.000Z] 2.0.1-dev.11: digest: sha256:f2c4bc163e657534b1c3a1d3eb4a96c543532e5933aae6c755f27970db555813 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:04:01.340Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:558c40fbdebbe4b00a0283e0ecd9585407ec2bc6-2.0.1-dev.11 [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:04:01.675Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:558c40fbdebbe4b00a0283e0ecd9585407ec2bc6-2.0.1-dev.11 [2021-11-11T21:04:01.675Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-11-11T21:04:01.675Z] e1788046ddc1: Preparing [2021-11-11T21:04:01.675Z] e0dca310046c: Preparing [2021-11-11T21:04:01.675Z] 7de97132231e: Preparing [2021-11-11T21:04:01.675Z] ceb5c0c33291: Preparing [2021-11-11T21:04:01.675Z] 122e91bf7cbb: Preparing [2021-11-11T21:04:01.675Z] ee420dfed78a: Preparing [2021-11-11T21:04:01.675Z] ee420dfed78a: Waiting [2021-11-11T21:04:01.946Z] 122e91bf7cbb: Layer already exists [2021-11-11T21:04:01.946Z] ceb5c0c33291: Layer already exists [2021-11-11T21:04:01.946Z] e0dca310046c: Layer already exists [2021-11-11T21:04:01.946Z] 7de97132231e: Layer already exists [2021-11-11T21:04:01.946Z] e1788046ddc1: Layer already exists [2021-11-11T21:04:01.946Z] ee420dfed78a: Layer already exists [2021-11-11T21:04:01.946Z] 558c40fbdebbe4b00a0283e0ecd9585407ec2bc6-2.0.1-dev.11: digest: sha256:f2c4bc163e657534b1c3a1d3eb4a96c543532e5933aae6c755f27970db555813 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:04:02.286Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:04:02.623Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2021-11-11T21:04:02.623Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-11-11T21:04:02.623Z] e1788046ddc1: Preparing [2021-11-11T21:04:02.623Z] e0dca310046c: Preparing [2021-11-11T21:04:02.623Z] 7de97132231e: Preparing [2021-11-11T21:04:02.623Z] ceb5c0c33291: Preparing [2021-11-11T21:04:02.623Z] 122e91bf7cbb: Preparing [2021-11-11T21:04:02.623Z] ee420dfed78a: Preparing [2021-11-11T21:04:02.623Z] ee420dfed78a: Waiting [2021-11-11T21:04:02.623Z] 7de97132231e: Layer already exists [2021-11-11T21:04:02.623Z] ceb5c0c33291: Layer already exists [2021-11-11T21:04:02.623Z] e0dca310046c: Layer already exists [2021-11-11T21:04:02.895Z] 122e91bf7cbb: Layer already exists [2021-11-11T21:04:02.895Z] e1788046ddc1: Layer already exists [2021-11-11T21:04:02.895Z] ee420dfed78a: Layer already exists [2021-11-11T21:04:03.165Z] main: digest: sha256:f2c4bc163e657534b1c3a1d3eb4a96c543532e5933aae6c755f27970db555813 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-11T21:04:03.210Z] ===================================================== [Pipeline] echo [2021-11-11T21:04:03.218Z] taggedImages: [2021-11-11T21:04:03.218Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 [2021-11-11T21:04:03.218Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-11-11T21:04:03.218Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.11 [2021-11-11T21:04:03.218Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:558c40fbdebbe4b00a0283e0ecd9585407ec2bc6-2.0.1-dev.11 [2021-11-11T21:04:03.218Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:04:03.703Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T21:04:03.703Z] [2021-11-11T21:04:03.703Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:04:04.043Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T21:04:04.314Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-11T21:04:04.314Z] 448f6bf000e3: Pulling fs layer [2021-11-11T21:04:04.314Z] f757da607395: Pulling fs layer [2021-11-11T21:04:04.314Z] 05883995daec: Pulling fs layer [2021-11-11T21:04:04.314Z] 8603b9c90790: Pulling fs layer [2021-11-11T21:04:04.314Z] 1560dd03e051: Pulling fs layer [2021-11-11T21:04:04.314Z] 27f5ce0e4adf: Pulling fs layer [2021-11-11T21:04:04.314Z] c2d8d7efcc4b: Pulling fs layer [2021-11-11T21:04:04.314Z] 8603b9c90790: Waiting [2021-11-11T21:04:04.314Z] 1560dd03e051: Waiting [2021-11-11T21:04:04.314Z] 27f5ce0e4adf: Waiting [2021-11-11T21:04:04.314Z] c2d8d7efcc4b: Waiting [2021-11-11T21:04:04.314Z] f757da607395: Verifying Checksum [2021-11-11T21:04:04.314Z] f757da607395: Download complete [2021-11-11T21:04:04.314Z] 8603b9c90790: Verifying Checksum [2021-11-11T21:04:04.314Z] 8603b9c90790: Download complete [2021-11-11T21:04:04.587Z] 1560dd03e051: Verifying Checksum [2021-11-11T21:04:04.587Z] 1560dd03e051: Download complete [2021-11-11T21:04:04.587Z] 05883995daec: Verifying Checksum [2021-11-11T21:04:04.587Z] 05883995daec: Download complete [2021-11-11T21:04:04.587Z] 27f5ce0e4adf: Download complete [2021-11-11T21:04:04.861Z] 448f6bf000e3: Download complete [2021-11-11T21:04:07.479Z] c2d8d7efcc4b: Verifying Checksum [2021-11-11T21:04:07.479Z] c2d8d7efcc4b: Download complete [2021-11-11T21:04:08.456Z] 448f6bf000e3: Pull complete [2021-11-11T21:04:09.048Z] f757da607395: Pull complete [2021-11-11T21:04:10.474Z] 05883995daec: Pull complete [2021-11-11T21:04:10.749Z] 8603b9c90790: Pull complete [2021-11-11T21:04:11.730Z] 1560dd03e051: Pull complete [2021-11-11T21:04:12.002Z] 27f5ce0e4adf: Pull complete [2021-11-11T21:04:27.072Z] c2d8d7efcc4b: Pull complete [2021-11-11T21:04:27.072Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-11T21:04:27.072Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T21:04:27.072Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-11T21:04:27.305Z] prd-ubuntu18.04-docker-arm64-4c-16g-239 does not seem to be running inside a container [2021-11-11T21:04:27.395Z] $ 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/14 -v /w/workspace/device-modbus-go/14:/w/workspace/device-modbus-go/14:rw,z -v /w/workspace/device-modbus-go/14@tmp:/w/workspace/device-modbus-go/14@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 [2021-11-11T21:04:30.684Z] $ docker top 3b9aba7d08630c5cd10fa391dd004a84a4d3c0a137e5322c2e5d85e8f1108710 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T21:04:31.687Z] ---> job-cost.sh [2021-11-11T21:04:31.687Z] lf-activate-venv: SKIPPING [2021-11-11T21:04:31.687Z] INFO: No Stack... [2021-11-11T21:04:33.126Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-11T21:04:33.401Z] INFO: Archiving Costs [Pipeline] sh [2021-11-11T21:04:34.079Z] + + cutcat -d, /w/workspace/device-modbus-go/14/archives/cost.csv [2021-11-11T21:04:34.079Z] -f6 [Pipeline] lock [2021-11-11T21:04:34.150Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-14-stack-cost] [2021-11-11T21:04:34.162Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-14-stack-cost] did not exist. Created. [2021-11-11T21:04:34.162Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-11T21:04:35.026Z] /w/workspace/device-modbus-go/14@tmp/durable-e59442d8/script.sh: 1: /w/workspace/device-modbus-go/14@tmp/durable-e59442d8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-11T21:04:35.707Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-11T21:04:35.733Z] Warning: overwriting stash ‘stack-cost’ [2021-11-11T21:04:35.787Z] Stashed 1 file(s) [Pipeline] } [2021-11-11T21:04:35.809Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-14-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-11T21:04:35.839Z] $ docker stop --time=1 3b9aba7d08630c5cd10fa391dd004a84a4d3c0a137e5322c2e5d85e8f1108710 [2021-11-11T21:04:37.464Z] $ docker rm -f 3b9aba7d08630c5cd10fa391dd004a84a4d3c0a137e5322c2e5d85e8f1108710 [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 [2021-11-11T21:04:38.111Z] provisioning config files... [2021-11-11T21:04:38.120Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8072084728463291472tmp [Pipeline] { [Pipeline] sh [2021-11-11T21:04:38.964Z] + set +x [2021-11-11T21:04:38.964Z] + curl -s https://codecov.io/bash [2021-11-11T21:04:38.964Z] + bash -s -- [2021-11-11T21:04:38.964Z] [2021-11-11T21:04:38.964Z] _____ _ [2021-11-11T21:04:38.964Z] / ____| | | [2021-11-11T21:04:38.964Z] | | ___ __| | ___ ___ _____ __ [2021-11-11T21:04:38.964Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-11T21:04:38.964Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-11T21:04:38.964Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-11T21:04:38.964Z] Bash-1.0.6 [2021-11-11T21:04:38.964Z] [2021-11-11T21:04:38.964Z] [2021-11-11T21:04:38.964Z] ==> git version 2.24.4 found [2021-11-11T21:04:38.964Z] ==> 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 [2021-11-11T21:04:38.964Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-11T21:04:38.964Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-11T21:04:38.964Z] ==> Jenkins CI detected. [2021-11-11T21:04:38.964Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2021-11-11T21:04:38.964Z] project root: . [2021-11-11T21:04:38.964Z] --> token set from env [2021-11-11T21:04:38.964Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-11T21:04:38.964Z] ==> Running gcov in . (disable via -X gcov) [2021-11-11T21:04:38.964Z] ==> Python coveragepy not found [2021-11-11T21:04:38.964Z] ==> Searching for coverage reports in: [2021-11-11T21:04:38.964Z] + . [2021-11-11T21:04:38.964Z] -> Found 1 reports [2021-11-11T21:04:38.964Z] ==> Detecting git/mercurial file structure [2021-11-11T21:04:38.964Z] ==> Reading reports [2021-11-11T21:04:38.964Z] + ./coverage.out bytes=23727 [2021-11-11T21:04:38.964Z] ==> Appending adjustments [2021-11-11T21:04:38.964Z] https://docs.codecov.io/docs/fixing-reports [2021-11-11T21:04:39.224Z] + Found adjustments [2021-11-11T21:04:39.224Z] ==> Gzipping contents [2021-11-11T21:04:39.224Z] 4.0K /tmp/codecov.Juj0dL.gz [2021-11-11T21:04:39.224Z] ==> Uploading reports [2021-11-11T21:04:39.224Z] url: https://codecov.io [2021-11-11T21:04:39.224Z] query: branch=main&commit=558c40fbdebbe4b00a0283e0ecd9585407ec2bc6&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-11T21:04:39.224Z] -> Pinging Codecov [2021-11-11T21:04:39.224Z] 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=558c40fbdebbe4b00a0283e0ecd9585407ec2bc6&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-11T21:04:39.493Z] -> Uploading to [2021-11-11T21:04:39.494Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-11/55DBCA73C666E3227836607328DD7E49/558c40fbdebbe4b00a0283e0ecd9585407ec2bc6/82ef1cbf-aafd-49db-a2eb-253667ca161c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211111T210439Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=19688d72257a810172e90a78f57e283163a69c8916e893f207c92213d4109435 [2021-11-11T21:04:39.494Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-11T21:04:39.494Z] Dload Upload Total Spent Left Speed [2021-11-11T21:04:40.012Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4013 0 0 100 4013 0 13330 --:--:-- --:--:-- --:--:-- 13332 [2021-11-11T21:04:40.012Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 [Pipeline] } [2021-11-11T21:04:40.022Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-11T21:04:40.178Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-11T21:04:40.350Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:04:40.646Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-11T21:04:40.646Z] [2021-11-11T21:04:40.646Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:04:40.956Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-11T21:04:40.956Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-11T21:04:40.956Z] 188c0c94c7c5: Pulling fs layer [2021-11-11T21:04:40.956Z] 0ef7d3d256c8: Pulling fs layer [2021-11-11T21:04:40.956Z] de9db76c5a1d: Pulling fs layer [2021-11-11T21:04:40.956Z] 0eba1c9be4d2: Pulling fs layer [2021-11-11T21:04:40.956Z] 0d57e429df01: Pulling fs layer [2021-11-11T21:04:40.956Z] 4e4be7b47b0d: Pulling fs layer [2021-11-11T21:04:40.956Z] e1f770b5df2f: Pulling fs layer [2021-11-11T21:04:40.956Z] 85a0685a4137: Pulling fs layer [2021-11-11T21:04:40.956Z] 0eba1c9be4d2: Waiting [2021-11-11T21:04:40.956Z] 0d57e429df01: Waiting [2021-11-11T21:04:40.956Z] 4e4be7b47b0d: Waiting [2021-11-11T21:04:40.956Z] e1f770b5df2f: Waiting [2021-11-11T21:04:40.956Z] 85a0685a4137: Waiting [2021-11-11T21:04:40.956Z] de9db76c5a1d: Verifying Checksum [2021-11-11T21:04:40.956Z] de9db76c5a1d: Download complete [2021-11-11T21:04:40.956Z] 0ef7d3d256c8: Verifying Checksum [2021-11-11T21:04:40.956Z] 0ef7d3d256c8: Download complete [2021-11-11T21:04:40.956Z] 0d57e429df01: Verifying Checksum [2021-11-11T21:04:40.956Z] 0d57e429df01: Download complete [2021-11-11T21:04:40.956Z] 4e4be7b47b0d: Verifying Checksum [2021-11-11T21:04:40.956Z] 4e4be7b47b0d: Download complete [2021-11-11T21:04:40.956Z] 188c0c94c7c5: Verifying Checksum [2021-11-11T21:04:40.956Z] 188c0c94c7c5: Download complete [2021-11-11T21:04:41.222Z] e1f770b5df2f: Verifying Checksum [2021-11-11T21:04:41.222Z] e1f770b5df2f: Download complete [2021-11-11T21:04:41.493Z] 0eba1c9be4d2: Verifying Checksum [2021-11-11T21:04:41.493Z] 0eba1c9be4d2: Download complete [2021-11-11T21:04:41.755Z] 188c0c94c7c5: Pull complete [2021-11-11T21:04:41.755Z] 85a0685a4137: Verifying Checksum [2021-11-11T21:04:41.755Z] 85a0685a4137: Download complete [2021-11-11T21:04:41.755Z] 0ef7d3d256c8: Pull complete [2021-11-11T21:04:42.024Z] de9db76c5a1d: Pull complete [2021-11-11T21:04:52.090Z] 0eba1c9be4d2: Pull complete [2021-11-11T21:04:52.090Z] 0d57e429df01: Pull complete [2021-11-11T21:04:52.090Z] 4e4be7b47b0d: Pull complete [2021-11-11T21:04:52.090Z] e1f770b5df2f: Pull complete [2021-11-11T21:04:56.345Z] 85a0685a4137: Pull complete [2021-11-11T21:04:56.345Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-11T21:04:56.345Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-11T21:04:56.345Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-11T21:04:56.411Z] prd-centos7-docker-4c-2g-233 does not seem to be running inside a container [2021-11-11T21:04:56.448Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-11-11T21:04:58.514Z] $ docker top 0a7d1a3bee4c9366314cec8d93313b467f04bf39ed95b55178fe37d4c38c2a0c -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-11T21:04:58.581Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-11T21:04:58.874Z] + set -o pipefail [2021-11-11T21:04:58.874Z] + snyk monitor '--org=edgex-jenkins' [2021-11-11T21:05:04.163Z] [2021-11-11T21:05:04.163Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2021-11-11T21:05:04.163Z] [2021-11-11T21:05:04.163Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/64945552-1a9c-4735-97d2-fd6e5078839e [2021-11-11T21:05:04.163Z] [2021-11-11T21:05:04.163Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2021-11-11T21:05:04.163Z] [2021-11-11T21:05:04.163Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-11T21:05:04.163Z] [2021-11-11T21:05:04.163Z] [2021-11-11T21:05:04.163Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2021-11-11T21:05:04.164Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-11-11T21:05:04.176Z] $ docker stop --time=1 0a7d1a3bee4c9366314cec8d93313b467f04bf39ed95b55178fe37d4c38c2a0c [2021-11-11T21:05:13.467Z] $ docker rm -f 0a7d1a3bee4c9366314cec8d93313b467f04bf39ed95b55178fe37d4c38c2a0c [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 [2021-11-11T21:05:14.321Z] + git log --format=format:%s -1 558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:05:14.620Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T21:05:14.620Z] . [Pipeline] withDockerContainer [2021-11-11T21:05:14.684Z] prd-centos7-docker-4c-2g-233 does not seem to be running inside a container [2021-11-11T21:05:14.723Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-11T21:05:15.072Z] $ docker top 481b14fbb55f02a8c84adf6908585ef98ba4d13a5887202c0a5656c2496dbaee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-11T21:05:15.168Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T21:05:15.168Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T21:05:15.275Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T21:05:15.279Z] $ docker exec 481b14fbb55f02a8c84adf6908585ef98ba4d13a5887202c0a5656c2496dbaee ssh-agent [2021-11-11T21:05:15.373Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOCEonM/agent.14 [2021-11-11T21:05:15.373Z] SSH_AGENT_PID=21 [2021-11-11T21:05:15.377Z] Running ssh-add (command line suppressed) [2021-11-11T21:05:15.465Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_704753130302368853.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_704753130302368853.key) [2021-11-11T21:05:15.476Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T21:05:15.770Z] + git semver tag [2021-11-11T21:05:15.770Z] # -> Open(): unable to determine branch for HEAD [2021-11-11T21:05:15.770Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-11-11T21:05:15.770Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-11-11T21:05:15.770Z] # $SEMVER_REMOTE_NAME = origin [2021-11-11T21:05:15.770Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-11T21:05:15.770Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-11T21:05:15.770Z] # $SEMVER_BRANCH = main [2021-11-11T21:05:15.770Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2021-11-11T21:05:15.770Z] # 558c40fbdebbe4b00a0283e0ecd9585407ec2bc6 HEAD [2021-11-11T21:05:15.770Z] # -> Force: false [2021-11-11T21:05:15.770Z] # 4b718c533465422c27ef887c3a47c1245a153864 refs/tags/v2.0.1-dev.11 [Pipeline] } [2021-11-11T21:05:15.780Z] $ docker exec --env ******** --env ******** 481b14fbb55f02a8c84adf6908585ef98ba4d13a5887202c0a5656c2496dbaee ssh-agent -k [2021-11-11T21:05:15.867Z] unset SSH_AUTH_SOCK; [2021-11-11T21:05:15.867Z] unset SSH_AGENT_PID; [2021-11-11T21:05:15.867Z] echo Agent pid 21 killed; [2021-11-11T21:05:15.875Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-11T21:05:16.179Z] + git semver [Pipeline] } [2021-11-11T21:05:16.193Z] $ docker stop --time=1 481b14fbb55f02a8c84adf6908585ef98ba4d13a5887202c0a5656c2496dbaee [2021-11-11T21:05:17.391Z] $ docker rm -f 481b14fbb55f02a8c84adf6908585ef98ba4d13a5887202c0a5656c2496dbaee [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:05:17.778Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-11T21:05:17.778Z] [2021-11-11T21:05:17.778Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:05:18.092Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-11T21:05:18.092Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-11T21:05:18.092Z] ab5ef0e58194: Pulling fs layer [2021-11-11T21:05:18.092Z] 9712f1f96733: Pulling fs layer [2021-11-11T21:05:18.092Z] 63f879dbbcfc: Pulling fs layer [2021-11-11T21:05:18.092Z] 0d9ebad4ef96: Pulling fs layer [2021-11-11T21:05:18.092Z] e9a5061849ea: Pulling fs layer [2021-11-11T21:05:18.092Z] d747dcd14b5f: Pulling fs layer [2021-11-11T21:05:18.092Z] 2de7ff778b66: Pulling fs layer [2021-11-11T21:05:18.092Z] 0d9ebad4ef96: Waiting [2021-11-11T21:05:18.092Z] e9a5061849ea: Waiting [2021-11-11T21:05:18.092Z] d747dcd14b5f: Waiting [2021-11-11T21:05:18.092Z] 2de7ff778b66: Waiting [2021-11-11T21:05:18.092Z] 9712f1f96733: Download complete [2021-11-11T21:05:18.366Z] 63f879dbbcfc: Verifying Checksum [2021-11-11T21:05:18.367Z] 63f879dbbcfc: Download complete [2021-11-11T21:05:18.654Z] 0d9ebad4ef96: Verifying Checksum [2021-11-11T21:05:18.654Z] 0d9ebad4ef96: Download complete [2021-11-11T21:05:18.654Z] d747dcd14b5f: Verifying Checksum [2021-11-11T21:05:18.654Z] d747dcd14b5f: Download complete [2021-11-11T21:05:18.654Z] ab5ef0e58194: Verifying Checksum [2021-11-11T21:05:18.654Z] ab5ef0e58194: Download complete [2021-11-11T21:05:18.654Z] e9a5061849ea: Verifying Checksum [2021-11-11T21:05:18.654Z] e9a5061849ea: Download complete [2021-11-11T21:05:18.654Z] 2de7ff778b66: Verifying Checksum [2021-11-11T21:05:18.654Z] 2de7ff778b66: Download complete [2021-11-11T21:05:21.991Z] ab5ef0e58194: Pull complete [2021-11-11T21:05:21.991Z] 9712f1f96733: Pull complete [2021-11-11T21:05:22.250Z] 63f879dbbcfc: Pull complete [2021-11-11T21:05:26.489Z] 0d9ebad4ef96: Pull complete [2021-11-11T21:05:26.749Z] e9a5061849ea: Pull complete [2021-11-11T21:05:27.013Z] d747dcd14b5f: Pull complete [2021-11-11T21:05:28.419Z] 2de7ff778b66: Pull complete [2021-11-11T21:05:28.419Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-11T21:05:28.419Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-11T21:05:28.419Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-11T21:05:28.480Z] prd-centos7-docker-4c-2g-233 does not seem to be running inside a container [2021-11-11T21:05:28.532Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-11-11T21:05:31.538Z] $ docker top 56cf12a55a7785e1efbdd79bc3465aa61d166c0e76f89de4b9169fdde7aed658 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-11T21:05:31.617Z] provisioning config files... [2021-11-11T21:05:31.624Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6867069920413018935tmp [2021-11-11T21:05:31.633Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6342631918078946763tmp [2021-11-11T21:05:31.643Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3837292636617351707tmp [Pipeline] { [Pipeline] echo [2021-11-11T21:05:31.659Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T21:05:31.953Z] ---> sigul-configuration.sh [2021-11-11T21:05:31.953Z] gpg: directory `/root/.gnupg' created [2021-11-11T21:05:31.953Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-11T21:05:31.953Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-11T21:05:31.953Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-11T21:05:31.953Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-11T21:05:31.953Z] gpg: CAST5 encrypted data [2021-11-11T21:05:31.953Z] gpg: encrypted with 1 passphrase [2021-11-11T21:05:31.953Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-11T21:05:32.243Z] + mkdir /home/jenkins [2021-11-11T21:05:32.243Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-11T21:05:32.532Z] + 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 [2021-11-11T21:05:32.542Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T21:05:32.833Z] ---> sigul-install.sh [2021-11-11T21:05:32.833Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-11T21:05:33.121Z] + git tag --list [2021-11-11T21:05:33.121Z] 0.7.1 [2021-11-11T21:05:33.121Z] v1.0.0 [2021-11-11T21:05:33.121Z] v1.1.0 [2021-11-11T21:05:33.121Z] v1.1.1 [2021-11-11T21:05:33.121Z] v1.2.2 [2021-11-11T21:05:33.121Z] v1.3.0 [2021-11-11T21:05:33.121Z] v1.3.1 [2021-11-11T21:05:33.121Z] v2.0.0 [2021-11-11T21:05:33.121Z] v2.0.1-dev.1 [2021-11-11T21:05:33.121Z] v2.0.1-dev.10 [2021-11-11T21:05:33.121Z] v2.0.1-dev.11 [2021-11-11T21:05:33.121Z] v2.0.1-dev.2 [2021-11-11T21:05:33.121Z] v2.0.1-dev.3 [2021-11-11T21:05:33.121Z] v2.0.1-dev.4 [2021-11-11T21:05:33.121Z] v2.0.1-dev.5 [2021-11-11T21:05:33.121Z] v2.0.1-dev.6 [2021-11-11T21:05:33.121Z] v2.0.1-dev.7 [2021-11-11T21:05:33.121Z] v2.0.1-dev.8 [2021-11-11T21:05:33.121Z] v2.0.1-dev.9 [Pipeline] sh [2021-11-11T21:05:33.417Z] + lftools sign git-tag v2.0.1-dev.11 [2021-11-11T21:05:33.985Z] Signing Git tag with Sigul... [2021-11-11T21:05:33.985Z] Signing v2.0.1-dev.11 [Pipeline] echo [2021-11-11T21:05:34.934Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T21:05:35.221Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-11T21:05:35.228Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-11T21:05:35.244Z] $ docker stop --time=1 56cf12a55a7785e1efbdd79bc3465aa61d166c0e76f89de4b9169fdde7aed658 [2021-11-11T21:05:36.428Z] $ docker rm -f 56cf12a55a7785e1efbdd79bc3465aa61d166c0e76f89de4b9169fdde7aed658 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:05:36.922Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T21:05:36.923Z] . [Pipeline] withDockerContainer [2021-11-11T21:05:36.988Z] prd-centos7-docker-4c-2g-233 does not seem to be running inside a container [2021-11-11T21:05:37.023Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-11T21:05:37.372Z] $ docker top 1aba7268dfefcfd43254acbf65ddbf0ee12e5b2702164ffe20fe9059eda0b403 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-11T21:05:37.863Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T21:05:37.863Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T21:05:37.980Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T21:05:37.984Z] $ docker exec 1aba7268dfefcfd43254acbf65ddbf0ee12e5b2702164ffe20fe9059eda0b403 ssh-agent [2021-11-11T21:05:38.084Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFPogKB/agent.13 [2021-11-11T21:05:38.084Z] SSH_AGENT_PID=20 [2021-11-11T21:05:38.090Z] Running ssh-add (command line suppressed) [2021-11-11T21:05:38.188Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7115423438287164228.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7115423438287164228.key) [2021-11-11T21:05:38.203Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T21:05:38.494Z] + git semver bump pre [2021-11-11T21:05:38.494Z] # -> Open(): unable to determine branch for HEAD [2021-11-11T21:05:38.494Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-11-11T21:05:38.494Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-11-11T21:05:38.494Z] # $SEMVER_REMOTE_NAME = origin [2021-11-11T21:05:38.494Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-11T21:05:38.494Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-11T21:05:38.494Z] # $SEMVER_BRANCH = main [2021-11-11T21:05:38.494Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2021-11-11T21:05:38.494Z] 2.0.1-dev.12 [Pipeline] } [2021-11-11T21:05:38.508Z] $ docker exec --env ******** --env ******** 1aba7268dfefcfd43254acbf65ddbf0ee12e5b2702164ffe20fe9059eda0b403 ssh-agent -k [2021-11-11T21:05:38.605Z] unset SSH_AUTH_SOCK; [2021-11-11T21:05:38.605Z] unset SSH_AGENT_PID; [2021-11-11T21:05:38.605Z] echo Agent pid 20 killed; [2021-11-11T21:05:38.612Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-11T21:05:38.927Z] + git semver [Pipeline] } [2021-11-11T21:05:38.940Z] $ docker stop --time=1 1aba7268dfefcfd43254acbf65ddbf0ee12e5b2702164ffe20fe9059eda0b403 [2021-11-11T21:05:40.181Z] $ docker rm -f 1aba7268dfefcfd43254acbf65ddbf0ee12e5b2702164ffe20fe9059eda0b403 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:05:40.722Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T21:05:40.722Z] . [Pipeline] withDockerContainer [2021-11-11T21:05:40.832Z] prd-centos7-docker-4c-2g-233 does not seem to be running inside a container [2021-11-11T21:05:40.874Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-11T21:05:41.309Z] $ docker top 53c1dfbf6eba84f75c1d629dd59a39d4aceefa4fb33e987a5591f954ed4ea8e2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-11T21:05:41.491Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T21:05:41.491Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T21:05:41.592Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T21:05:41.595Z] $ docker exec 53c1dfbf6eba84f75c1d629dd59a39d4aceefa4fb33e987a5591f954ed4ea8e2 ssh-agent [2021-11-11T21:05:41.691Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkkepDa/agent.14 [2021-11-11T21:05:41.691Z] SSH_AGENT_PID=21 [2021-11-11T21:05:41.697Z] Running ssh-add (command line suppressed) [2021-11-11T21:05:41.791Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6219751226176134397.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6219751226176134397.key) [2021-11-11T21:05:41.805Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T21:05:42.093Z] + git semver push [2021-11-11T21:05:42.093Z] # -> Open(): unable to determine branch for HEAD [2021-11-11T21:05:42.093Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-11-11T21:05:42.093Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-11-11T21:05:42.093Z] # $SEMVER_REMOTE_NAME = origin [2021-11-11T21:05:42.093Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-11T21:05:42.093Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-11T21:05:42.093Z] # $SEMVER_BRANCH = main [2021-11-11T21:05:42.093Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2021-11-11T21:05:44.012Z] $ docker exec --env ******** --env ******** 53c1dfbf6eba84f75c1d629dd59a39d4aceefa4fb33e987a5591f954ed4ea8e2 ssh-agent -k [2021-11-11T21:05:44.089Z] unset SSH_AUTH_SOCK; [2021-11-11T21:05:44.090Z] unset SSH_AGENT_PID; [2021-11-11T21:05:44.090Z] echo Agent pid 21 killed; [2021-11-11T21:05:44.103Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-11T21:05:44.408Z] + git semver [Pipeline] } [2021-11-11T21:05:44.421Z] $ docker stop --time=1 53c1dfbf6eba84f75c1d629dd59a39d4aceefa4fb33e987a5591f954ed4ea8e2 [2021-11-11T21:05:45.601Z] $ docker rm -f 53c1dfbf6eba84f75c1d629dd59a39d4aceefa4fb33e987a5591f954ed4ea8e2 [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 [2021-11-11T21:05:46.401Z] + '[' -d /w/workspace/gexfoundry_device-modbus-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-11T21:05:46.699Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T21:05:47.258Z] ---> package-listing.sh [2021-11-11T21:05:47.258Z] ++ facter osfamily [2021-11-11T21:05:47.258Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-11T21:05:47.518Z] + OS_FAMILY=redhat [2021-11-11T21:05:47.518Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2021-11-11T21:05:47.518Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-11T21:05:47.518Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-11T21:05:47.518Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-11T21:05:47.518Z] + PACKAGES=/tmp/packages_start.txt [2021-11-11T21:05:47.518Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2021-11-11T21:05:47.518Z] + PACKAGES=/tmp/packages_end.txt [2021-11-11T21:05:47.518Z] + case "${OS_FAMILY}" in [2021-11-11T21:05:47.518Z] + rpm -qa [2021-11-11T21:05:47.518Z] + sort [2021-11-11T21:05:48.093Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-11T21:05:48.093Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-11T21:05:48.093Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-11T21:05:48.093Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2021-11-11T21:05:48.093Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2021-11-11T21:05:48.093Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2021-11-11T21:05:48.104Z] 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 [2021-11-11T21:05:48.385Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:05:48.937Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T21:05:48.937Z] [2021-11-11T21:05:48.937Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:05:49.234Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T21:05:49.234Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-11T21:05:49.234Z] b4d181a07f80: Pulling fs layer [2021-11-11T21:05:49.234Z] a1111a8f2ec3: Pulling fs layer [2021-11-11T21:05:49.234Z] ed53099fbce6: Pulling fs layer [2021-11-11T21:05:49.234Z] dc539afda2c1: Pulling fs layer [2021-11-11T21:05:49.234Z] 77bc0d833cb6: Pulling fs layer [2021-11-11T21:05:49.234Z] 9065ff56babe: Pulling fs layer [2021-11-11T21:05:49.234Z] d287ab97295c: Pulling fs layer [2021-11-11T21:05:49.234Z] 77bc0d833cb6: Waiting [2021-11-11T21:05:49.234Z] 9065ff56babe: Waiting [2021-11-11T21:05:49.234Z] d287ab97295c: Waiting [2021-11-11T21:05:49.234Z] dc539afda2c1: Waiting [2021-11-11T21:05:49.234Z] a1111a8f2ec3: Verifying Checksum [2021-11-11T21:05:49.234Z] a1111a8f2ec3: Download complete [2021-11-11T21:05:49.234Z] dc539afda2c1: Verifying Checksum [2021-11-11T21:05:49.234Z] dc539afda2c1: Download complete [2021-11-11T21:05:49.498Z] 77bc0d833cb6: Verifying Checksum [2021-11-11T21:05:49.498Z] 77bc0d833cb6: Download complete [2021-11-11T21:05:49.498Z] ed53099fbce6: Verifying Checksum [2021-11-11T21:05:49.498Z] ed53099fbce6: Download complete [2021-11-11T21:05:49.498Z] 9065ff56babe: Verifying Checksum [2021-11-11T21:05:49.498Z] 9065ff56babe: Download complete [2021-11-11T21:05:49.498Z] b4d181a07f80: Verifying Checksum [2021-11-11T21:05:49.498Z] b4d181a07f80: Download complete [2021-11-11T21:05:50.081Z] d287ab97295c: Verifying Checksum [2021-11-11T21:05:50.081Z] d287ab97295c: Download complete [2021-11-11T21:05:50.655Z] b4d181a07f80: Pull complete [2021-11-11T21:05:50.914Z] a1111a8f2ec3: Pull complete [2021-11-11T21:05:51.497Z] ed53099fbce6: Pull complete [2021-11-11T21:05:51.497Z] dc539afda2c1: Pull complete [2021-11-11T21:05:51.758Z] 77bc0d833cb6: Pull complete [2021-11-11T21:05:52.020Z] 9065ff56babe: Pull complete [2021-11-11T21:05:57.357Z] d287ab97295c: Pull complete [2021-11-11T21:05:57.357Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-11T21:05:57.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T21:05:57.357Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-11T21:05:57.416Z] prd-centos7-docker-4c-2g-233 does not seem to be running inside a container [2021-11-11T21:05:57.448Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-11T21:05:59.750Z] $ docker top df66e60af3887f2d199d6eb34a8dcbb2654fa0d6a2d923acf0af7c96cd6d77b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T21:06:00.104Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-11T21:06:00.400Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-11T21:06:00.687Z] + ls /var/log/sa-host [2021-11-11T21:06:00.687Z] + sadf -c /var/log/sa-host/sa11 [2021-11-11T21:06:00.687Z] file_magic: OK [2021-11-11T21:06:00.687Z] HZ: Using current value: 100 [2021-11-11T21:06:00.687Z] file_header: OK [2021-11-11T21:06:00.687Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-11T21:06:00.687Z] Statistics: [2021-11-11T21:06:00.687Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-11T21:06:00.687Z] File successfully converted to sysstat format version 12.0.3 [2021-11-11T21:06:00.687Z] + sadf -c /var/log/sa-host/sa30 [2021-11-11T21:06:00.687Z] file_magic: OK [2021-11-11T21:06:00.687Z] HZ: Using current value: 100 [2021-11-11T21:06:00.687Z] file_header: OK [2021-11-11T21:06:00.687Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-11T21:06:00.687Z] Statistics: [2021-11-11T21:06:00.687Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-11T21:06:00.687Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T21:06:00.768Z] provisioning config files... [2021-11-11T21:06:00.777Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1998996026119736693tmp [Pipeline] { [Pipeline] echo [2021-11-11T21:06:00.786Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T21:06:01.069Z] ---> create-netrc.sh [Pipeline] } [2021-11-11T21:06:01.076Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-11T21:06:01.403Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-11T21:06:01.413Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T21:06:01.706Z] ---> sudo-logs.sh [2021-11-11T21:06:01.706Z] Archiving 'sudo' log.. [2021-11-11T21:06:01.706Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-233.novalocal: Name or service not known [2021-11-11T21:06:01.706Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-233.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-11T21:06:01.727Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T21:06:02.013Z] ---> job-cost.sh [2021-11-11T21:06:02.013Z] lf-activate-venv: SKIPPING [2021-11-11T21:06:02.013Z] DEBUG: total: 0.10999999940395355 [2021-11-11T21:06:02.013Z] INFO: Retrieving Stack Cost... [2021-11-11T21:06:02.271Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-11T21:06:02.841Z] INFO: Archiving Costs [Pipeline] echo [2021-11-11T21:06:02.853Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T21:06:03.146Z] ---> logs-deploy.sh [2021-11-11T21:06:03.146Z] lf-activate-venv: SKIPPING [2021-11-11T21:06:03.146Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/14 [2021-11-11T21:06:03.146Z] INFO: archiving workspace using pattern(s): [2021-11-11T21:06:03.715Z] Archives upload complete. [2021-11-11T21:06:03.975Z] INFO: archiving logs to Nexus