Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e403711dcd95b7f18079a8fe9cea73294caabbda 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-ssh8582576323856653039.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh6637917835503394838.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh6638999096970354119.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > 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-ssh8330282908203872860.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-ssh8718370738108158505.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13611 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-modbus-go_main@tmp/jenkins-gitclient-ssh1179782626999700623.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision e403711dcd95b7f18079a8fe9cea73294caabbda (main) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e403711dcd95b7f18079a8fe9cea73294caabbda # timeout=10 Commit message: "Merge pull request #285 from lenny-intel/cors-secrets-file" > git rev-list --no-walk 2914c8785d6fb43e30410761fbe9b43bb07dce53 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-01T01:56:30.451Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-01T01:56:30.501Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-01T01:56:30.516Z] ========================================================= [2021-11-01T01:56:30.516Z] EdgeX Global Pipelines Version Info [2021-11-01T01:56:30.516Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-01T01:56:31.680Z] ------------------- [2021-11-01T01:56:31.680Z] stable info: [2021-11-01T01:56:31.680Z] ------------------- [2021-11-01T01:56:31.680Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-01T01:56:31.680Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-01T01:56:31.680Z] Message: update stable to v1.0.211 [2021-11-01T01:56:32.252Z] ------------------- [2021-11-01T01:56:32.252Z] experimental info: [2021-11-01T01:56:32.252Z] ------------------- [2021-11-01T01:56:32.252Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-01T01:56:32.252Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-01T01:56:32.252Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-01T01:56:32.332Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-11-01T01:56:32.346Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-11-01T01:56:32.356Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-01T01:56:32.371Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-01T01:56:32.385Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-01T01:56:32.397Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-01T01:56:32.409Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-01T01:56:32.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-01T01:56:32.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-01T01:56:32.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-01T01:56:32.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-01T01:56:32.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-11-01T01:56:32.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-01T01:56:32.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-01T01:56:32.518Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-01T01:56:32.529Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-01T01:56:32.549Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-01T01:56:32.558Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-01T01:56:32.571Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-01T01:56:32.587Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-11-01T01:56:32.598Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-01T01:56:32.609Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-01T01:56:32.619Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-01T01:56:32.628Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-01T01:56:32.640Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-01T01:56:32.649Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-01T01:56:32.659Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-01T01:56:32.671Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-01T01:56:32.689Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-01T01:56:32.702Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e403711dcd95b7f18079a8fe9cea73294caabbda [Pipeline] echo [2021-11-01T01:56:32.716Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e403711 [Pipeline] echo [2021-11-01T01:56:32.728Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T01:56:32.765Z] provisioning config files... [2021-11-01T01:56:32.784Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3960261741386314291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T01:56:33.093Z] ---> docker-login.sh [2021-11-01T01:56:33.093Z] nexus3.edgexfoundry.org:10001 [2021-11-01T01:56:33.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:56:33.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:56:33.093Z] Configure a credential helper to remove this warning. See [2021-11-01T01:56:33.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:56:33.093Z] [2021-11-01T01:56:33.093Z] Login Succeeded [2021-11-01T01:56:33.093Z] nexus3.edgexfoundry.org:10002 [2021-11-01T01:56:33.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:56:33.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:56:33.360Z] Configure a credential helper to remove this warning. See [2021-11-01T01:56:33.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:56:33.360Z] [2021-11-01T01:56:33.360Z] Login Succeeded [2021-11-01T01:56:33.360Z] nexus3.edgexfoundry.org:10003 [2021-11-01T01:56:33.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:56:33.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:56:33.360Z] Configure a credential helper to remove this warning. See [2021-11-01T01:56:33.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:56:33.360Z] [2021-11-01T01:56:33.360Z] Login Succeeded [2021-11-01T01:56:33.360Z] nexus3.edgexfoundry.org:10004 [2021-11-01T01:56:33.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:56:33.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:56:33.619Z] Configure a credential helper to remove this warning. See [2021-11-01T01:56:33.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:56:33.619Z] [2021-11-01T01:56:33.619Z] Login Succeeded [2021-11-01T01:56:33.619Z] docker.io [2021-11-01T01:56:33.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:56:33.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:56:33.881Z] Configure a credential helper to remove this warning. See [2021-11-01T01:56:33.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:56:33.881Z] [2021-11-01T01:56:33.881Z] Login Succeeded [2021-11-01T01:56:33.881Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T01:56:33.889Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-01T01:56:34.317Z] + git rev-list -1 --merges e403711dcd95b7f18079a8fe9cea73294caabbda~1..e403711dcd95b7f18079a8fe9cea73294caabbda [Pipeline] echo [2021-11-01T01:56:34.351Z] -----------> git rev-list -1 --merges e403711dcd95b7f18079a8fe9cea73294caabbda~1..e403711dcd95b7f18079a8fe9cea73294caabbda e403711dcd95b7f18079a8fe9cea73294caabbda [2021-11-01T01:56:34.352Z] e403711dcd95b7f18079a8fe9cea73294caabbda [false] [Pipeline] sh [2021-11-01T01:56:34.659Z] + git log --format=format:%s -1 e403711dcd95b7f18079a8fe9cea73294caabbda [Pipeline] echo [2021-11-01T01:56:34.671Z] ========================================================= [2021-11-01T01:56:34.672Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-01T01:56:34.672Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-01T01:56:35.011Z] + git log --format=format:%s -1 e403711dcd95b7f18079a8fe9cea73294caabbda [Pipeline] echo [2021-11-01T01:56:35.022Z] [semverPrep] GIT_COMMIT: e403711dcd95b7f18079a8fe9cea73294caabbda, Commit Message: Merge pull request #285 from lenny-intel/cors-secrets-file [Pipeline] echo [2021-11-01T01:56:35.030Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:56:35.522Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T01:56:35.522Z] [2021-11-01T01:56:35.522Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:56:35.838Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T01:56:35.838Z] latest: Pulling from edgex-devops/git-semver [2021-11-01T01:56:35.838Z] a0d0a0d46f8b: Pulling fs layer [2021-11-01T01:56:35.838Z] 3e5f54012d9b: Pulling fs layer [2021-11-01T01:56:35.838Z] 4c7163046ea9: Pulling fs layer [2021-11-01T01:56:35.838Z] 0c2d73faf560: Pulling fs layer [2021-11-01T01:56:35.838Z] 0c2d73faf560: Waiting [2021-11-01T01:56:35.838Z] 3e5f54012d9b: Verifying Checksum [2021-11-01T01:56:35.838Z] 3e5f54012d9b: Download complete [2021-11-01T01:56:35.838Z] a0d0a0d46f8b: Verifying Checksum [2021-11-01T01:56:35.838Z] a0d0a0d46f8b: Download complete [2021-11-01T01:56:35.838Z] 0c2d73faf560: Verifying Checksum [2021-11-01T01:56:35.838Z] 0c2d73faf560: Download complete [2021-11-01T01:56:35.838Z] 4c7163046ea9: Verifying Checksum [2021-11-01T01:56:35.838Z] 4c7163046ea9: Download complete [2021-11-01T01:56:36.108Z] a0d0a0d46f8b: Pull complete [2021-11-01T01:56:36.108Z] 3e5f54012d9b: Pull complete [2021-11-01T01:56:36.369Z] 4c7163046ea9: Pull complete [2021-11-01T01:56:36.634Z] 0c2d73faf560: Pull complete [2021-11-01T01:56:36.634Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-01T01:56:36.634Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T01:56:36.634Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-01T01:56:36.708Z] prd-centos7-docker-4c-2g-13611 does not seem to be running inside a container [2021-11-01T01:56:36.480Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-01T01:56:37.151Z] $ docker top 64682122067b804d89a9c463b0950cba3fd6b9740c297200cedd613f315d8763 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T01:56:37.485Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T01:56:37.485Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T01:56:37.589Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T01:56:37.376Z] $ docker exec 64682122067b804d89a9c463b0950cba3fd6b9740c297200cedd613f315d8763 ssh-agent [2021-11-01T01:56:37.690Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNblPem/agent.13 [2021-11-01T01:56:37.690Z] SSH_AGENT_PID=19 [2021-11-01T01:56:37.698Z] Running ssh-add (command line suppressed) [2021-11-01T01:56:37.589Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2679964952654457490.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2679964952654457490.key) [2021-11-01T01:56:37.799Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T01:56:38.100Z] + git tag --points-at HEAD [Pipeline] } [2021-11-01T01:56:37.938Z] $ docker exec --env ******** --env ******** 64682122067b804d89a9c463b0950cba3fd6b9740c297200cedd613f315d8763 ssh-agent -k [2021-11-01T01:56:38.032Z] unset SSH_AUTH_SOCK; [2021-11-01T01:56:38.033Z] unset SSH_AGENT_PID; [2021-11-01T01:56:38.033Z] echo Agent pid 19 killed; [2021-11-01T01:56:38.208Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-01T01:56:38.230Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T01:56:38.230Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T01:56:38.327Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T01:56:38.175Z] $ docker exec 64682122067b804d89a9c463b0950cba3fd6b9740c297200cedd613f315d8763 ssh-agent [2021-11-01T01:56:38.418Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbAgaLK/agent.52 [2021-11-01T01:56:38.418Z] SSH_AGENT_PID=57 [2021-11-01T01:56:38.422Z] Running ssh-add (command line suppressed) [2021-11-01T01:56:38.371Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3404982054113093386.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3404982054113093386.key) [2021-11-01T01:56:38.531Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T01:56:38.832Z] + git semver init [2021-11-01T01:56:38.832Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T01:56:38.832Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-11-01T01:56:38.832Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-11-01T01:56:38.832Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T01:56:38.832Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T01:56:38.832Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T01:56:38.832Z] # $SEMVER_BRANCH = main [2021-11-01T01:56:38.832Z] # $SEMVER_TEMP = /tmp/semver-055278578 [2021-11-01T01:56:38.832Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-11-01T01:56:39.409Z] # '/tmp/semver-055278578' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' [2021-11-01T01:56:39.409Z] # -> Force: false [2021-11-01T01:56:39.409Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2021-11-01T01:56:39.355Z] $ docker exec --env ******** --env ******** 64682122067b804d89a9c463b0950cba3fd6b9740c297200cedd613f315d8763 ssh-agent -k [2021-11-01T01:56:39.447Z] unset SSH_AUTH_SOCK; [2021-11-01T01:56:39.448Z] unset SSH_AGENT_PID; [2021-11-01T01:56:39.448Z] echo Agent pid 57 killed; [2021-11-01T01:56:39.514Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T01:56:39.826Z] + git semver [Pipeline] } [2021-11-01T01:56:39.810Z] $ docker stop --time=1 64682122067b804d89a9c463b0950cba3fd6b9740c297200cedd613f315d8763 [2021-11-01T01:56:41.014Z] $ docker rm -f 64682122067b804d89a9c463b0950cba3fd6b9740c297200cedd613f315d8763 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-01T01:56:41.363Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-01T01:56:41.610Z] Stashed 1 file(s) [Pipeline] echo [2021-11-01T01:56:41.613Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.8 [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-01T01:56:56.757Z] Still waiting to schedule task [2021-11-01T01:56:56.758Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-01T01:56:56.760Z] Still waiting to schedule task [2021-11-01T01:56:56.760Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-13609’ [2021-11-01T01:57:48.278Z] Running on prd-centos7-docker-4c-2g-13618 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2021-11-01T01:57:48.289Z] Running in /w/workspace/device-modbus-go/11 [Pipeline] { [Pipeline] checkout [2021-11-01T01:57:48.396Z] Selected Git installation does not exist. Using Default [2021-11-01T01:57:48.396Z] The recommended git tool is: NONE [2021-11-01T01:57:50.696Z] using credential edgex-jenkins-ssh [2021-11-01T01:57:50.705Z] Cloning the remote Git repository [2021-11-01T01:57:51.628Z] Avoid second fetch [2021-11-01T01:57:51.629Z] Checking out Revision e403711dcd95b7f18079a8fe9cea73294caabbda (main) [2021-11-01T01:57:50.201Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-11-01T01:57:50.284Z] > git init /w/workspace/device-modbus-go/11 # timeout=10 [2021-11-01T01:57:50.315Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-11-01T01:57:50.315Z] > git --version # timeout=10 [2021-11-01T01:57:50.325Z] > git --version # 'git version 2.24.4' [2021-11-01T01:57:50.326Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-01T01:57:50.355Z] [INFO] Currently running in a labeled security context [2021-11-01T01:57:50.356Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-01T01:57:50.356Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/11@tmp/jenkins-gitclient-ssh5438025911740856514.key [2021-11-01T01:57:50.411Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T01:57:51.076Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-11-01T01:57:51.086Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T01:57:51.110Z] > git config core.sparsecheckout # timeout=10 [2021-11-01T01:57:51.116Z] > git checkout -f e403711dcd95b7f18079a8fe9cea73294caabbda # timeout=10 [2021-11-01T01:57:55.089Z] Commit message: "Merge pull request #285 from lenny-intel/cors-secrets-file" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T01:57:55.774Z] provisioning config files... [2021-11-01T01:57:55.796Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/11@tmp/config4572684478635632842tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T01:57:56.175Z] ---> docker-login.sh [2021-11-01T01:57:56.175Z] nexus3.edgexfoundry.org:10001 [2021-11-01T01:57:56.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:57:56.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:57:56.175Z] Configure a credential helper to remove this warning. See [2021-11-01T01:57:56.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:57:56.175Z] [2021-11-01T01:57:56.175Z] Login Succeeded [2021-11-01T01:57:56.175Z] nexus3.edgexfoundry.org:10002 [2021-11-01T01:57:56.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:57:56.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:57:56.445Z] Configure a credential helper to remove this warning. See [2021-11-01T01:57:56.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:57:56.445Z] [2021-11-01T01:57:56.445Z] Login Succeeded [2021-11-01T01:57:56.445Z] nexus3.edgexfoundry.org:10003 [2021-11-01T01:57:56.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:57:56.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:57:56.445Z] Configure a credential helper to remove this warning. See [2021-11-01T01:57:56.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:57:56.445Z] [2021-11-01T01:57:56.445Z] Login Succeeded [2021-11-01T01:57:56.445Z] nexus3.edgexfoundry.org:10004 [2021-11-01T01:57:56.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:57:56.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:57:56.711Z] Configure a credential helper to remove this warning. See [2021-11-01T01:57:56.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:57:56.711Z] [2021-11-01T01:57:56.711Z] Login Succeeded [2021-11-01T01:57:56.711Z] docker.io [2021-11-01T01:57:56.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:57:56.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:57:56.974Z] Configure a credential helper to remove this warning. See [2021-11-01T01:57:56.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:57:56.974Z] [2021-11-01T01:57:56.974Z] Login Succeeded [2021-11-01T01:57:56.974Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T01:57:57.005Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-01T01:57:57.145Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-01T01:57:57.154Z] ========================================================= [2021-11-01T01:57:57.154Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-01T01:57:57.154Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:57:57.480Z] + 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-01T01:57:57.480Z] Sending build context to Docker daemon 686.1kB [2021-11-01T01:57:57.480Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T01:57:57.480Z] Step 2/9 : FROM ${BASE} AS builder [2021-11-01T01:57:57.480Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-01T01:57:57.480Z] a0d0a0d46f8b: Pulling fs layer [2021-11-01T01:57:57.480Z] 31adcdaf11c8: Pulling fs layer [2021-11-01T01:57:57.480Z] b8b176561691: Pulling fs layer [2021-11-01T01:57:57.480Z] 4527c011a84f: Pulling fs layer [2021-11-01T01:57:57.480Z] 5d74067f8e1e: Pulling fs layer [2021-11-01T01:57:57.480Z] e0aca202a116: Pulling fs layer [2021-11-01T01:57:57.480Z] 3a43be97a3b4: Pulling fs layer [2021-11-01T01:57:57.480Z] 34cad66bf833: Pulling fs layer [2021-11-01T01:57:57.480Z] b4e3c513aaa6: Pulling fs layer [2021-11-01T01:57:57.480Z] 5d74067f8e1e: Waiting [2021-11-01T01:57:57.480Z] e0aca202a116: Waiting [2021-11-01T01:57:57.480Z] 3a43be97a3b4: Waiting [2021-11-01T01:57:57.480Z] 34cad66bf833: Waiting [2021-11-01T01:57:57.480Z] b4e3c513aaa6: Waiting [2021-11-01T01:57:57.480Z] 4527c011a84f: Waiting [2021-11-01T01:57:57.480Z] b8b176561691: Download complete [2021-11-01T01:57:57.480Z] 31adcdaf11c8: Verifying Checksum [2021-11-01T01:57:57.480Z] 31adcdaf11c8: Download complete [2021-11-01T01:57:57.480Z] 5d74067f8e1e: Verifying Checksum [2021-11-01T01:57:57.480Z] 5d74067f8e1e: Download complete [2021-11-01T01:57:57.480Z] e0aca202a116: Verifying Checksum [2021-11-01T01:57:57.480Z] e0aca202a116: Download complete [2021-11-01T01:57:57.748Z] 3a43be97a3b4: Verifying Checksum [2021-11-01T01:57:57.748Z] 3a43be97a3b4: Download complete [2021-11-01T01:57:57.748Z] a0d0a0d46f8b: Verifying Checksum [2021-11-01T01:57:57.748Z] a0d0a0d46f8b: Download complete [2021-11-01T01:57:57.748Z] 34cad66bf833: Verifying Checksum [2021-11-01T01:57:57.748Z] 34cad66bf833: Download complete [2021-11-01T01:57:58.020Z] a0d0a0d46f8b: Pull complete [2021-11-01T01:57:58.289Z] 31adcdaf11c8: Pull complete [2021-11-01T01:57:58.289Z] 4527c011a84f: Verifying Checksum [2021-11-01T01:57:58.289Z] 4527c011a84f: Download complete [2021-11-01T01:57:58.289Z] b4e3c513aaa6: Verifying Checksum [2021-11-01T01:57:58.289Z] b4e3c513aaa6: Download complete [2021-11-01T01:57:58.289Z] b8b176561691: Pull complete [2021-11-01T01:58:02.549Z] 4527c011a84f: Pull complete [2021-11-01T01:58:02.549Z] 5d74067f8e1e: Pull complete [2021-11-01T01:58:02.549Z] e0aca202a116: Pull complete [2021-11-01T01:58:02.549Z] 3a43be97a3b4: Pull complete [2021-11-01T01:58:02.549Z] 34cad66bf833: Pull complete [2021-11-01T01:58:05.127Z] b4e3c513aaa6: Pull complete [2021-11-01T01:58:05.127Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-01T01:58:05.127Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-01T01:58:05.127Z] ---> 9f6097aaca64 [2021-11-01T01:58:05.127Z] Step 3/9 : ARG MAKE='make build' [2021-11-01T01:58:07.041Z] ---> Running in 2da38f868075 [2021-11-01T01:58:07.041Z] Removing intermediate container 2da38f868075 [2021-11-01T01:58:07.041Z] ---> 09d5ec461bb9 [2021-11-01T01:58:07.041Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T01:58:07.041Z] ---> Running in fedd5599fe8b [2021-11-01T01:58:07.623Z] Removing intermediate container fedd5599fe8b [2021-11-01T01:58:07.623Z] ---> 306472a9420f [2021-11-01T01:58:07.623Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-11-01T01:58:07.623Z] ---> Running in bfd118b6f6a6 [2021-11-01T01:58:07.889Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-01T01:58:08.835Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-01T01:58:09.098Z] (1/8) Installing openssh-keygen (8.6_p1-r3) [2021-11-01T01:58:09.098Z] (2/8) Installing libedit (20210216.3.1-r0) [2021-11-01T01:58:09.098Z] (3/8) Installing openssh-client-common (8.6_p1-r3) [2021-11-01T01:58:09.362Z] (4/8) Installing openssh-client-default (8.6_p1-r3) [2021-11-01T01:58:09.362Z] (5/8) Installing openssh-sftp-server (8.6_p1-r3) [2021-11-01T01:58:09.627Z] (6/8) Installing openssh-server-common (8.6_p1-r3) [2021-11-01T01:58:09.627Z] (7/8) Installing openssh-server (8.6_p1-r3) [2021-11-01T01:58:09.627Z] (8/8) Installing openssh (8.6_p1-r3) [2021-11-01T01:58:09.888Z] Executing busybox-1.33.1-r3.trigger [2021-11-01T01:58:09.888Z] OK: 226 MiB in 60 packages [2021-11-01T01:58:10.148Z] Removing intermediate container bfd118b6f6a6 [2021-11-01T01:58:10.148Z] ---> ec867049c63c [2021-11-01T01:58:10.148Z] Step 6/9 : WORKDIR /device-modbus-go [2021-11-01T01:58:10.148Z] ---> Running in 324a5e1d0f3b [2021-11-01T01:58:10.148Z] Removing intermediate container 324a5e1d0f3b [2021-11-01T01:58:10.148Z] ---> 3bb109f78265 [2021-11-01T01:58:10.148Z] Step 7/9 : COPY . . [2021-11-01T01:58:10.409Z] ---> f8237890b0f7 [2021-11-01T01:58:10.409Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T01:58:10.409Z] ---> Running in cfbe842a884a [2021-11-01T01:58:42.592Z] Removing intermediate container cfbe842a884a [2021-11-01T01:58:42.592Z] ---> b727527d3085 [2021-11-01T01:58:42.592Z] Step 9/9 : RUN ${MAKE} [2021-11-01T01:58:42.592Z] ---> Running in 3b18d25a67bc [2021-11-01T01:58:42.592Z] noop [2021-11-01T01:58:42.592Z] Removing intermediate container 3b18d25a67bc [2021-11-01T01:58:42.592Z] ---> 8d69b5c63edb [2021-11-01T01:58:42.592Z] Successfully built 8d69b5c63edb [2021-11-01T01:58:42.592Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:58:42.891Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-01T01:58:42.891Z] . [Pipeline] withDockerContainer [2021-11-01T01:58:42.971Z] prd-centos7-docker-4c-2g-13618 does not seem to be running inside a container [2021-11-01T01:58:43.007Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/11 -v /w/workspace/device-modbus-go/11:/w/workspace/device-modbus-go/11:rw,z -v /w/workspace/device-modbus-go/11@tmp:/w/workspace/device-modbus-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-01T01:58:43.336Z] $ docker top fbeb4799d39e42b630a56e9c57110f98c338cb72d534b45d9932a3bdbf95bddb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-01T01:58:43.705Z] + go version [2021-11-01T01:58:43.705Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-01T01:58:43.714Z] $ docker stop --time=1 fbeb4799d39e42b630a56e9c57110f98c338cb72d534b45d9932a3bdbf95bddb [2021-11-01T01:58:44.913Z] $ docker rm -f fbeb4799d39e42b630a56e9c57110f98c338cb72d534b45d9932a3bdbf95bddb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:58:45.371Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-01T01:58:45.371Z] . [Pipeline] withDockerContainer [2021-11-01T01:58:45.439Z] prd-centos7-docker-4c-2g-13618 does not seem to be running inside a container [2021-11-01T01:58:45.494Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/11 -v /w/workspace/device-modbus-go/11:/w/workspace/device-modbus-go/11:rw,z -v /w/workspace/device-modbus-go/11@tmp:/w/workspace/device-modbus-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-01T01:58:45.879Z] $ docker top 4b43eb58c8bfc449ad711d9dd58259ef0652d9ee3ee5a030a2de3ae18567109a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-01T01:58:46.260Z] + make test [2021-11-01T01:58:46.260Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-01T01:58:46.525Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-11-01T01:59:04.857Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-11-01T01:59:04.857Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 46.6% of statements [2021-11-01T01:59:04.857Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-01T01:59:11.492Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-01T01:59:11.492Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-01T01:59:11.492Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-01T01:59:11.771Z] $ docker stop --time=1 4b43eb58c8bfc449ad711d9dd58259ef0652d9ee3ee5a030a2de3ae18567109a [2021-11-01T01:59:13.423Z] $ docker rm -f 4b43eb58c8bfc449ad711d9dd58259ef0652d9ee3ee5a030a2de3ae18567109a [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-01T01:59:13.868Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-01T01:59:14.052Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-01T01:59:14.714Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-01T01:59:15.010Z] + ls -al . [2021-11-01T01:59:15.010Z] total 152 [2021-11-01T01:59:15.010Z] drwxrwxr-x. 9 jenkins jenkins 4096 Nov 1 01:59 . [2021-11-01T01:59:15.010Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 1 01:57 .. [2021-11-01T01:59:15.010Z] -rw-rw-r--. 1 jenkins jenkins 8010 Nov 1 01:57 Attribution.txt [2021-11-01T01:59:15.010Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 1 01:57 bin [2021-11-01T01:59:15.010Z] -rw-rw-r--. 1 jenkins jenkins 6038 Nov 1 01:57 CHANGELOG.md [2021-11-01T01:59:15.010Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 1 01:57 cmd [2021-11-01T01:59:15.010Z] -rw-r--r--. 1 jenkins jenkins 23727 Nov 1 01:59 coverage.out [2021-11-01T01:59:15.010Z] -rw-rw-r--. 1 jenkins jenkins 1523 Nov 1 01:57 Dockerfile [2021-11-01T01:59:15.010Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 1 01:57 .dockerignore [2021-11-01T01:59:15.010Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 1 01:57 .git [2021-11-01T01:59:15.010Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 1 01:57 .github [2021-11-01T01:59:15.010Z] -rw-rw-r--. 1 jenkins jenkins 331 Nov 1 01:57 .gitignore [2021-11-01T01:59:15.010Z] -rw-rw-r--. 1 jenkins jenkins 308 Nov 1 01:57 go.mod [2021-11-01T01:59:15.010Z] -rw-rw-r--. 1 jenkins jenkins 50567 Nov 1 01:57 go.sum [2021-11-01T01:59:15.010Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 1 01:57 GOVERNANCE.md [2021-11-01T01:59:15.010Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 1 01:57 internal [2021-11-01T01:59:15.010Z] -rw-rw-r--. 1 jenkins jenkins 679 Nov 1 01:57 Jenkinsfile [2021-11-01T01:59:15.010Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 1 01:57 LICENSE [2021-11-01T01:59:15.010Z] -rw-rw-r--. 1 jenkins jenkins 1009 Nov 1 01:57 Makefile [2021-11-01T01:59:15.010Z] -rw-rw-r--. 1 jenkins jenkins 622 Nov 1 01:57 OWNERS.md [2021-11-01T01:59:15.010Z] -rw-rw-r--. 1 jenkins jenkins 2891 Nov 1 01:57 README.md [2021-11-01T01:59:15.010Z] drwxrwxr-x. 2 jenkins jenkins 52 Nov 1 01:57 simulator [2021-11-01T01:59:15.010Z] drwxrwxr-x. 4 jenkins jenkins 71 Nov 1 01:57 snap [2021-11-01T01:59:15.010Z] -rw-rw-r--. 1 jenkins jenkins 11 Nov 1 01:56 VERSION [2021-11-01T01:59:15.010Z] -rw-rw-r--. 1 jenkins jenkins 229 Nov 1 01:57 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:59:15.331Z] + 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=e403711dcd95b7f18079a8fe9cea73294caabbda --label arch=amd64 --label version=2.0.1-dev.8 . [2021-11-01T01:59:15.331Z] Sending build context to Docker daemon 710.7kB [2021-11-01T01:59:15.331Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T01:59:15.331Z] Step 2/22 : FROM ${BASE} AS builder [2021-11-01T01:59:15.331Z] ---> 8d69b5c63edb [2021-11-01T01:59:15.331Z] Step 3/22 : ARG MAKE='make build' [2021-11-01T01:59:15.331Z] ---> Running in f5a13eeab313 [2021-11-01T01:59:15.331Z] Removing intermediate container f5a13eeab313 [2021-11-01T01:59:15.331Z] ---> 968af6edf684 [2021-11-01T01:59:15.331Z] Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T01:59:15.331Z] ---> Running in 9741c56600be [2021-11-01T01:59:15.903Z] Removing intermediate container 9741c56600be [2021-11-01T01:59:15.903Z] ---> 5ba49edadb47 [2021-11-01T01:59:15.903Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-11-01T01:59:16.165Z] ---> Running in 19faab212bfb [2021-11-01T01:59:16.429Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-01T01:59:17.370Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-01T01:59:17.630Z] OK: 226 MiB in 60 packages [2021-11-01T01:59:17.892Z] Removing intermediate container 19faab212bfb [2021-11-01T01:59:17.892Z] ---> 0f6ec7a8092f [2021-11-01T01:59:17.892Z] Step 6/22 : WORKDIR /device-modbus-go [2021-11-01T01:59:17.892Z] ---> Running in 3c13eaf0fc58 [2021-11-01T01:59:17.892Z] Removing intermediate container 3c13eaf0fc58 [2021-11-01T01:59:17.892Z] ---> 7d75a14fa3e2 [2021-11-01T01:59:17.892Z] Step 7/22 : COPY . . [2021-11-01T01:59:18.157Z] ---> 9b314cb2fdae [2021-11-01T01:59:18.157Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T01:59:18.419Z] ---> Running in 92ea61e8c6a4 [2021-11-01T01:59:18.989Z] Removing intermediate container 92ea61e8c6a4 [2021-11-01T01:59:18.989Z] ---> 054871da223b [2021-11-01T01:59:18.989Z] Step 9/22 : RUN ${MAKE} [2021-11-01T01:59:18.989Z] ---> Running in ae87cdd9a597 [2021-11-01T01:59:19.260Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.8" -o cmd/device-modbus ./cmd [2021-11-01T01:59:31.637Z] Removing intermediate container ae87cdd9a597 [2021-11-01T01:59:31.637Z] ---> e72a8fdbde01 [2021-11-01T01:59:31.637Z] Step 10/22 : FROM alpine:3.14 [2021-11-01T01:59:31.637Z] 3.14: Pulling from library/alpine [2021-11-01T01:59:31.637Z] a0d0a0d46f8b: Already exists [2021-11-01T01:59:31.637Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-01T01:59:31.637Z] Status: Downloaded newer image for alpine:3.14 [2021-11-01T01:59:31.637Z] ---> 14119a10abf4 [2021-11-01T01:59:31.637Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-11-01T01:59:31.637Z] ---> Running in e43c882e5aab [2021-11-01T01:59:31.899Z] Removing intermediate container e43c882e5aab [2021-11-01T01:59:31.899Z] ---> 38fc631b9ae7 [2021-11-01T01:59:31.899Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T01:59:31.899Z] ---> Running in 8a32eed33932 [2021-11-01T01:59:32.164Z] Removing intermediate container 8a32eed33932 [2021-11-01T01:59:32.164Z] ---> bf142fbe8785 [2021-11-01T01:59:32.164Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-01T01:59:32.164Z] ---> Running in c64ff4f89cef [2021-11-01T01:59:32.426Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-01T01:59:33.373Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-01T01:59:33.633Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-01T01:59:33.895Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-01T01:59:33.895Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-01T01:59:33.895Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-01T01:59:34.158Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-01T01:59:34.158Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-01T01:59:34.417Z] Executing busybox-1.33.1-r3.trigger [2021-11-01T01:59:34.417Z] OK: 8 MiB in 20 packages [2021-11-01T01:59:34.676Z] Removing intermediate container c64ff4f89cef [2021-11-01T01:59:34.676Z] ---> 8e2b09107c61 [2021-11-01T01:59:34.676Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-11-01T01:59:34.937Z] ---> 1fdeea30828c [2021-11-01T01:59:34.937Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-11-01T01:59:34.937Z] ---> 33618ab214a2 [2021-11-01T01:59:34.937Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-11-01T01:59:35.200Z] ---> 7029fd994857 [2021-11-01T01:59:35.200Z] Step 17/22 : EXPOSE 59901 [2021-11-01T01:59:35.200Z] ---> Running in 1ecb97f67aa1 [2021-11-01T01:59:35.200Z] Removing intermediate container 1ecb97f67aa1 [2021-11-01T01:59:35.200Z] ---> bf3b3c5a9025 [2021-11-01T01:59:35.200Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-11-01T01:59:35.200Z] ---> Running in 49414ff82994 [2021-11-01T01:59:35.458Z] Removing intermediate container 49414ff82994 [2021-11-01T01:59:35.458Z] ---> b16ea22486f1 [2021-11-01T01:59:35.458Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-01T01:59:35.458Z] ---> Running in f4633218c100 [2021-11-01T01:59:35.458Z] Removing intermediate container f4633218c100 [2021-11-01T01:59:35.458Z] ---> e256a44d6afc [2021-11-01T01:59:35.458Z] Step 20/22 : LABEL arch=amd64 [2021-11-01T01:59:35.458Z] ---> Running in df1e91b0533b [2021-11-01T01:59:35.458Z] Removing intermediate container df1e91b0533b [2021-11-01T01:59:35.458Z] ---> 8cd1ab422eff [2021-11-01T01:59:35.458Z] Step 21/22 : LABEL git_sha=e403711dcd95b7f18079a8fe9cea73294caabbda [2021-11-01T01:59:35.718Z] ---> Running in 5bbb5a821d41 [2021-11-01T01:59:35.718Z] Removing intermediate container 5bbb5a821d41 [2021-11-01T01:59:35.718Z] ---> 248e73f6507e [2021-11-01T01:59:35.718Z] Step 22/22 : LABEL version=2.0.1-dev.8 [2021-11-01T01:59:35.718Z] ---> Running in 6b715ab12a4d [2021-11-01T01:59:35.718Z] Removing intermediate container 6b715ab12a4d [2021-11-01T01:59:35.718Z] ---> 8f33d02e034c [2021-11-01T01:59:35.718Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-01T01:59:35.718Z] Successfully built 8f33d02e034c [2021-11-01T01:59:35.718Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T01:59:35.857Z] provisioning config files... [2021-11-01T01:59:35.871Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/11@tmp/config6172058476346409713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T01:59:36.188Z] ---> docker-login.sh [2021-11-01T01:59:36.188Z] nexus3.edgexfoundry.org:10001 [2021-11-01T01:59:36.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:59:36.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:59:36.188Z] Configure a credential helper to remove this warning. See [2021-11-01T01:59:36.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:59:36.188Z] [2021-11-01T01:59:36.188Z] Login Succeeded [2021-11-01T01:59:36.188Z] nexus3.edgexfoundry.org:10002 [2021-11-01T01:59:36.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:59:36.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:59:36.188Z] Configure a credential helper to remove this warning. See [2021-11-01T01:59:36.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:59:36.188Z] [2021-11-01T01:59:36.188Z] Login Succeeded [2021-11-01T01:59:36.451Z] nexus3.edgexfoundry.org:10003 [2021-11-01T01:59:36.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:59:36.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:59:36.451Z] Configure a credential helper to remove this warning. See [2021-11-01T01:59:36.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:59:36.451Z] [2021-11-01T01:59:36.451Z] Login Succeeded [2021-11-01T01:59:36.451Z] nexus3.edgexfoundry.org:10004 [2021-11-01T01:59:36.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:59:36.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:59:36.451Z] Configure a credential helper to remove this warning. See [2021-11-01T01:59:36.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:59:36.451Z] [2021-11-01T01:59:36.451Z] Login Succeeded [2021-11-01T01:59:36.451Z] docker.io [2021-11-01T01:59:36.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:59:36.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:59:36.973Z] Configure a credential helper to remove this warning. See [2021-11-01T01:59:36.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:59:36.973Z] [2021-11-01T01:59:36.973Z] Login Succeeded [2021-11-01T01:59:36.973Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T01:59:36.980Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-01T01:59:37.010Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-01T01:59:37.035Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2021-11-01T01:59:37.035Z] e403711dcd95b7f18079a8fe9cea73294caabbda [2021-11-01T01:59:37.035Z] latest [2021-11-01T01:59:37.035Z] 2.0.1-dev.8 [2021-11-01T01:59:37.035Z] e403711dcd95b7f18079a8fe9cea73294caabbda-2.0.1-dev.8 [2021-11-01T01:59:37.035Z] main [2021-11-01T01:59:37.035Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:59:37.352Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e403711dcd95b7f18079a8fe9cea73294caabbda [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:59:37.669Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:e403711dcd95b7f18079a8fe9cea73294caabbda [2021-11-01T01:59:37.669Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-11-01T01:59:37.669Z] 48c38f5a71b8: Preparing [2021-11-01T01:59:37.669Z] caae999e847e: Preparing [2021-11-01T01:59:37.669Z] cdfe58e08052: Preparing [2021-11-01T01:59:37.669Z] 561ce2979737: Preparing [2021-11-01T01:59:37.669Z] d267d8ab3848: Preparing [2021-11-01T01:59:37.669Z] e2eb06d8af82: Preparing [2021-11-01T01:59:37.669Z] e2eb06d8af82: Waiting [2021-11-01T01:59:37.934Z] d267d8ab3848: Pushed [2021-11-01T01:59:37.934Z] e2eb06d8af82: Layer already exists [2021-11-01T01:59:37.934Z] caae999e847e: Pushed [2021-11-01T01:59:37.934Z] 48c38f5a71b8: Pushed [2021-11-01T01:59:37.934Z] 561ce2979737: Pushed [2021-11-01T01:59:38.881Z] cdfe58e08052: Pushed [2021-11-01T01:59:38.881Z] e403711dcd95b7f18079a8fe9cea73294caabbda: digest: sha256:9e70cdec396a3fdb7161891aceb0b6ac5f97bdebb3b5265961f373d32a53e588 size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:59:39.179Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:59:39.484Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-11-01T01:59:39.484Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-11-01T01:59:39.484Z] 48c38f5a71b8: Preparing [2021-11-01T01:59:39.484Z] caae999e847e: Preparing [2021-11-01T01:59:39.484Z] cdfe58e08052: Preparing [2021-11-01T01:59:39.484Z] 561ce2979737: Preparing [2021-11-01T01:59:39.484Z] d267d8ab3848: Preparing [2021-11-01T01:59:39.484Z] e2eb06d8af82: Preparing [2021-11-01T01:59:39.484Z] e2eb06d8af82: Waiting [2021-11-01T01:59:39.484Z] caae999e847e: Layer already exists [2021-11-01T01:59:39.484Z] 561ce2979737: Layer already exists [2021-11-01T01:59:39.484Z] 48c38f5a71b8: Layer already exists [2021-11-01T01:59:39.484Z] d267d8ab3848: Layer already exists [2021-11-01T01:59:39.484Z] cdfe58e08052: Layer already exists [2021-11-01T01:59:39.484Z] e2eb06d8af82: Layer already exists [2021-11-01T01:59:39.484Z] latest: digest: sha256:9e70cdec396a3fdb7161891aceb0b6ac5f97bdebb3b5265961f373d32a53e588 size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:59:39.789Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.8 [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:59:40.083Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.8 [2021-11-01T01:59:40.084Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-11-01T01:59:40.084Z] 48c38f5a71b8: Preparing [2021-11-01T01:59:40.084Z] caae999e847e: Preparing [2021-11-01T01:59:40.084Z] cdfe58e08052: Preparing [2021-11-01T01:59:40.084Z] 561ce2979737: Preparing [2021-11-01T01:59:40.084Z] d267d8ab3848: Preparing [2021-11-01T01:59:40.084Z] e2eb06d8af82: Preparing [2021-11-01T01:59:40.084Z] e2eb06d8af82: Waiting [2021-11-01T01:59:40.084Z] d267d8ab3848: Layer already exists [2021-11-01T01:59:40.084Z] 48c38f5a71b8: Layer already exists [2021-11-01T01:59:40.084Z] cdfe58e08052: Layer already exists [2021-11-01T01:59:40.084Z] caae999e847e: Layer already exists [2021-11-01T01:59:40.084Z] 561ce2979737: Layer already exists [2021-11-01T01:59:40.084Z] e2eb06d8af82: Layer already exists [2021-11-01T01:59:40.084Z] 2.0.1-dev.8: digest: sha256:9e70cdec396a3fdb7161891aceb0b6ac5f97bdebb3b5265961f373d32a53e588 size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:59:40.386Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e403711dcd95b7f18079a8fe9cea73294caabbda-2.0.1-dev.8 [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:59:40.677Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:e403711dcd95b7f18079a8fe9cea73294caabbda-2.0.1-dev.8 [2021-11-01T01:59:40.677Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-11-01T01:59:40.677Z] 48c38f5a71b8: Preparing [2021-11-01T01:59:40.677Z] caae999e847e: Preparing [2021-11-01T01:59:40.677Z] cdfe58e08052: Preparing [2021-11-01T01:59:40.677Z] 561ce2979737: Preparing [2021-11-01T01:59:40.677Z] d267d8ab3848: Preparing [2021-11-01T01:59:40.677Z] e2eb06d8af82: Preparing [2021-11-01T01:59:40.677Z] e2eb06d8af82: Waiting [2021-11-01T01:59:40.677Z] d267d8ab3848: Layer already exists [2021-11-01T01:59:40.677Z] 561ce2979737: Layer already exists [2021-11-01T01:59:40.677Z] 48c38f5a71b8: Layer already exists [2021-11-01T01:59:40.677Z] caae999e847e: Layer already exists [2021-11-01T01:59:40.677Z] cdfe58e08052: Layer already exists [2021-11-01T01:59:40.677Z] e2eb06d8af82: Layer already exists [2021-11-01T01:59:40.677Z] e403711dcd95b7f18079a8fe9cea73294caabbda-2.0.1-dev.8: digest: sha256:9e70cdec396a3fdb7161891aceb0b6ac5f97bdebb3b5265961f373d32a53e588 size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:59:40.991Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:59:41.300Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2021-11-01T01:59:41.300Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-11-01T01:59:41.300Z] 48c38f5a71b8: Preparing [2021-11-01T01:59:41.300Z] caae999e847e: Preparing [2021-11-01T01:59:41.300Z] cdfe58e08052: Preparing [2021-11-01T01:59:41.300Z] 561ce2979737: Preparing [2021-11-01T01:59:41.300Z] d267d8ab3848: Preparing [2021-11-01T01:59:41.300Z] e2eb06d8af82: Preparing [2021-11-01T01:59:41.300Z] e2eb06d8af82: Waiting [2021-11-01T01:59:41.300Z] d267d8ab3848: Layer already exists [2021-11-01T01:59:41.300Z] caae999e847e: Layer already exists [2021-11-01T01:59:41.300Z] 48c38f5a71b8: Layer already exists [2021-11-01T01:59:41.300Z] 561ce2979737: Layer already exists [2021-11-01T01:59:41.300Z] cdfe58e08052: Layer already exists [2021-11-01T01:59:41.300Z] e2eb06d8af82: Layer already exists [2021-11-01T01:59:41.300Z] main: digest: sha256:9e70cdec396a3fdb7161891aceb0b6ac5f97bdebb3b5265961f373d32a53e588 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-01T01:59:41.343Z] ===================================================== [Pipeline] echo [2021-11-01T01:59:41.355Z] taggedImages: [2021-11-01T01:59:41.355Z] - nexus3.edgexfoundry.org:10004/device-modbus:e403711dcd95b7f18079a8fe9cea73294caabbda [2021-11-01T01:59:41.355Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-11-01T01:59:41.355Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.8 [2021-11-01T01:59:41.355Z] - nexus3.edgexfoundry.org:10004/device-modbus:e403711dcd95b7f18079a8fe9cea73294caabbda-2.0.1-dev.8 [2021-11-01T01:59:41.355Z] - 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-01T01:59:41.951Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T01:59:41.951Z] [2021-11-01T01:59:41.951Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:59:42.266Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T01:59:42.266Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-01T01:59:42.266Z] b4d181a07f80: Pulling fs layer [2021-11-01T01:59:42.266Z] a1111a8f2ec3: Pulling fs layer [2021-11-01T01:59:42.266Z] ed53099fbce6: Pulling fs layer [2021-11-01T01:59:42.266Z] dc539afda2c1: Pulling fs layer [2021-11-01T01:59:42.266Z] 77bc0d833cb6: Pulling fs layer [2021-11-01T01:59:42.266Z] 9065ff56babe: Pulling fs layer [2021-11-01T01:59:42.266Z] d287ab97295c: Pulling fs layer [2021-11-01T01:59:42.266Z] dc539afda2c1: Waiting [2021-11-01T01:59:42.266Z] 77bc0d833cb6: Waiting [2021-11-01T01:59:42.266Z] 9065ff56babe: Waiting [2021-11-01T01:59:42.266Z] d287ab97295c: Waiting [2021-11-01T01:59:42.266Z] a1111a8f2ec3: Verifying Checksum [2021-11-01T01:59:42.266Z] a1111a8f2ec3: Download complete [2021-11-01T01:59:42.266Z] dc539afda2c1: Verifying Checksum [2021-11-01T01:59:42.266Z] dc539afda2c1: Download complete [2021-11-01T01:59:42.531Z] ed53099fbce6: Verifying Checksum [2021-11-01T01:59:42.531Z] ed53099fbce6: Download complete [2021-11-01T01:59:42.531Z] 9065ff56babe: Verifying Checksum [2021-11-01T01:59:42.531Z] 9065ff56babe: Download complete [2021-11-01T01:59:42.531Z] 77bc0d833cb6: Verifying Checksum [2021-11-01T01:59:42.531Z] 77bc0d833cb6: Download complete [2021-11-01T01:59:42.531Z] b4d181a07f80: Verifying Checksum [2021-11-01T01:59:42.531Z] b4d181a07f80: Download complete [2021-11-01T01:59:43.115Z] d287ab97295c: Verifying Checksum [2021-11-01T01:59:43.115Z] d287ab97295c: Download complete [2021-11-01T01:59:44.071Z] b4d181a07f80: Pull complete [2021-11-01T01:59:44.336Z] a1111a8f2ec3: Pull complete [2021-11-01T01:59:44.913Z] ed53099fbce6: Pull complete [2021-11-01T01:59:44.913Z] dc539afda2c1: Pull complete [2021-11-01T01:59:45.172Z] 77bc0d833cb6: Pull complete [2021-11-01T01:59:45.172Z] 9065ff56babe: Pull complete [2021-11-01T01:59:50.483Z] d287ab97295c: Pull complete [2021-11-01T01:59:50.483Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-01T01:59:50.483Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T01:59:50.483Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-01T01:59:50.552Z] prd-centos7-docker-4c-2g-13618 does not seem to be running inside a container [2021-11-01T01:59:50.601Z] $ 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/11 -v /w/workspace/device-modbus-go/11:/w/workspace/device-modbus-go/11:rw,z -v /w/workspace/device-modbus-go/11@tmp:/w/workspace/device-modbus-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-01T01:59:53.069Z] $ docker top bf59bfbfd91e7b4963fcd7061fed40fecaecffa928520aaa8404691962627757 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T01:59:53.463Z] ---> job-cost.sh [2021-11-01T01:59:53.463Z] lf-activate-venv: SKIPPING [2021-11-01T01:59:53.463Z] INFO: No Stack... [2021-11-01T01:59:53.725Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-01T01:59:53.984Z] INFO: Archiving Costs [Pipeline] sh [2021-11-01T01:59:54.279Z] + cat /w/workspace/device-modbus-go/11/archives/cost.csv [2021-11-01T01:59:54.279Z] + cut -d, -f6 [Pipeline] lock [2021-11-01T01:59:54.308Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-11-stack-cost] [2021-11-01T01:59:54.313Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-11-stack-cost] did not exist. Created. [2021-11-01T01:59:54.314Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-01T01:59:54.623Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-01T01:59:54.658Z] Stashed 1 file(s) [Pipeline] } [2021-11-01T01:59:54.667Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-11-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-01T01:59:54.683Z] $ docker stop --time=1 bf59bfbfd91e7b4963fcd7061fed40fecaecffa928520aaa8404691962627757 [2021-11-01T01:59:55.839Z] $ docker rm -f bf59bfbfd91e7b4963fcd7061fed40fecaecffa928520aaa8404691962627757 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-01T02:00:43.909Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13621 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2021-11-01T02:00:43.925Z] Running in /w/workspace/device-modbus-go/11 [Pipeline] { [Pipeline] checkout [2021-11-01T02:00:44.161Z] Selected Git installation does not exist. Using Default [2021-11-01T02:00:44.161Z] The recommended git tool is: NONE [2021-11-01T02:00:51.463Z] using credential edgex-jenkins-ssh [2021-11-01T02:00:51.481Z] Cloning the remote Git repository [2021-11-01T02:00:51.546Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-11-01T02:00:51.684Z] > git init /w/workspace/device-modbus-go/11 # timeout=10 [2021-11-01T02:00:51.795Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-11-01T02:00:51.797Z] > git --version # timeout=10 [2021-11-01T02:00:51.820Z] > git --version # 'git version 2.17.1' [2021-11-01T02:00:51.822Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-01T02:00:52.846Z] Avoid second fetch [2021-11-01T02:00:52.846Z] Checking out Revision e403711dcd95b7f18079a8fe9cea73294caabbda (main) [2021-11-01T02:00:51.936Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T02:00:52.794Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-11-01T02:00:52.822Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T02:00:52.872Z] > git config core.sparsecheckout # timeout=10 [2021-11-01T02:00:52.893Z] > git checkout -f e403711dcd95b7f18079a8fe9cea73294caabbda # timeout=10 [2021-11-01T02:00:57.625Z] Commit message: "Merge pull request #285 from lenny-intel/cors-secrets-file" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-01T02:00:58.629Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-01T02:00:58.629Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-01T02:00:58.629Z] Dload Upload Total Spent Left Speed [2021-11-01T02:00:58.629Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 177k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh [2021-11-01T02:00:59.087Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-01T02:00:59.457Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-01T02:00:59.457Z] sudo tee /etc/docker/daemon.new [2021-11-01T02:00:59.457Z] { [2021-11-01T02:00:59.457Z] "registry-mirrors": [ [2021-11-01T02:00:59.457Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-01T02:00:59.457Z] ], [2021-11-01T02:00:59.457Z] "bip": "10.250.0.254/24", [2021-11-01T02:00:59.457Z] "hosts": [ [2021-11-01T02:00:59.457Z] "tcp://0.0.0.0:5555", [2021-11-01T02:00:59.457Z] "unix:///var/run/docker.sock" [2021-11-01T02:00:59.457Z] ], [2021-11-01T02:00:59.457Z] "mtu": 1458, [2021-11-01T02:00:59.457Z] "selinux-enabled": true, [2021-11-01T02:00:59.457Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-01T02:00:59.457Z] } [Pipeline] sh [2021-11-01T02:00:59.844Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-01T02:01:00.225Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T02:01:18.650Z] provisioning config files... [2021-11-01T02:01:18.679Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/11@tmp/config6130085159690725574tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:01:19.063Z] ---> docker-login.sh [2021-11-01T02:01:19.063Z] nexus3.edgexfoundry.org:10001 [2021-11-01T02:01:20.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T02:01:20.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T02:01:20.368Z] Configure a credential helper to remove this warning. See [2021-11-01T02:01:20.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T02:01:20.368Z] [2021-11-01T02:01:20.368Z] Login Succeeded [2021-11-01T02:01:20.368Z] nexus3.edgexfoundry.org:10002 [2021-11-01T02:01:20.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T02:01:20.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T02:01:20.971Z] Configure a credential helper to remove this warning. See [2021-11-01T02:01:20.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T02:01:20.971Z] [2021-11-01T02:01:20.971Z] Login Succeeded [2021-11-01T02:01:20.971Z] nexus3.edgexfoundry.org:10003 [2021-11-01T02:01:21.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T02:01:21.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T02:01:21.521Z] Configure a credential helper to remove this warning. See [2021-11-01T02:01:21.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T02:01:21.521Z] [2021-11-01T02:01:21.521Z] Login Succeeded [2021-11-01T02:01:21.521Z] nexus3.edgexfoundry.org:10004 [2021-11-01T02:01:21.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T02:01:22.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T02:01:22.068Z] Configure a credential helper to remove this warning. See [2021-11-01T02:01:22.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T02:01:22.068Z] [2021-11-01T02:01:22.068Z] Login Succeeded [2021-11-01T02:01:22.068Z] docker.io [2021-11-01T02:01:22.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T02:01:22.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T02:01:22.939Z] Configure a credential helper to remove this warning. See [2021-11-01T02:01:22.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T02:01:22.939Z] [2021-11-01T02:01:22.939Z] Login Succeeded [2021-11-01T02:01:22.939Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T02:01:22.958Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-01T02:01:23.368Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-01T02:01:23.379Z] ========================================================= [2021-11-01T02:01:23.379Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-01T02:01:23.379Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:01:23.784Z] + 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-01T02:01:24.069Z] Sending build context to Docker daemon 685.1kB [2021-11-01T02:01:24.362Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T02:01:24.362Z] Step 2/9 : FROM ${BASE} AS builder [2021-11-01T02:01:24.362Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-01T02:01:24.362Z] 552d1f2373af: Pulling fs layer [2021-11-01T02:01:24.362Z] ea3f2d53f512: Pulling fs layer [2021-11-01T02:01:24.362Z] 9e70ebbbe112: Pulling fs layer [2021-11-01T02:01:24.362Z] 7a9cfe048b4a: Pulling fs layer [2021-11-01T02:01:24.362Z] 72dc09318566: Pulling fs layer [2021-11-01T02:01:24.362Z] f4f7b4309257: Pulling fs layer [2021-11-01T02:01:24.362Z] 0ac9a79272e3: Pulling fs layer [2021-11-01T02:01:24.362Z] b78e95d17946: Pulling fs layer [2021-11-01T02:01:24.362Z] f4f7b4309257: Waiting [2021-11-01T02:01:24.362Z] 0ac9a79272e3: Waiting [2021-11-01T02:01:24.362Z] b78e95d17946: Waiting [2021-11-01T02:01:24.362Z] 7a9cfe048b4a: Waiting [2021-11-01T02:01:24.362Z] 72dc09318566: Waiting [2021-11-01T02:01:24.362Z] 9e70ebbbe112: Verifying Checksum [2021-11-01T02:01:24.362Z] 9e70ebbbe112: Download complete [2021-11-01T02:01:24.362Z] ea3f2d53f512: Download complete [2021-11-01T02:01:24.362Z] 72dc09318566: Download complete [2021-11-01T02:01:24.640Z] f4f7b4309257: Verifying Checksum [2021-11-01T02:01:24.640Z] f4f7b4309257: Download complete [2021-11-01T02:01:24.640Z] 552d1f2373af: Verifying Checksum [2021-11-01T02:01:24.640Z] 552d1f2373af: Download complete [2021-11-01T02:01:24.640Z] 0ac9a79272e3: Verifying Checksum [2021-11-01T02:01:24.640Z] 0ac9a79272e3: Download complete [2021-11-01T02:01:25.250Z] 552d1f2373af: Pull complete [2021-11-01T02:01:25.854Z] ea3f2d53f512: Pull complete [2021-11-01T02:01:26.456Z] 9e70ebbbe112: Pull complete [2021-11-01T02:01:26.456Z] b78e95d17946: Verifying Checksum [2021-11-01T02:01:26.456Z] b78e95d17946: Download complete [2021-11-01T02:01:27.052Z] 7a9cfe048b4a: Verifying Checksum [2021-11-01T02:01:27.052Z] 7a9cfe048b4a: Download complete [2021-11-01T02:01:39.516Z] 7a9cfe048b4a: Pull complete [2021-11-01T02:01:39.516Z] 72dc09318566: Pull complete [2021-11-01T02:01:39.516Z] f4f7b4309257: Pull complete [2021-11-01T02:01:39.516Z] 0ac9a79272e3: Pull complete [2021-11-01T02:01:46.257Z] b78e95d17946: Pull complete [2021-11-01T02:01:46.257Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-01T02:01:46.257Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-01T02:01:46.257Z] ---> 8b459fc5aaf0 [2021-11-01T02:01:46.257Z] Step 3/9 : ARG MAKE='make build' [2021-11-01T02:01:48.910Z] ---> Running in 8022bd2ad254 [2021-11-01T02:01:49.190Z] Removing intermediate container 8022bd2ad254 [2021-11-01T02:01:49.190Z] ---> 4563efd39b8d [2021-11-01T02:01:49.190Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T02:01:49.190Z] ---> Running in 562f7e12106c [2021-11-01T02:01:51.835Z] Removing intermediate container 562f7e12106c [2021-11-01T02:01:51.835Z] ---> 1d7b94ad02b0 [2021-11-01T02:01:51.835Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-11-01T02:01:51.835Z] ---> Running in 712c099bd39a [2021-11-01T02:01:53.279Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-01T02:01:54.269Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-01T02:01:54.871Z] (1/8) Installing openssh-keygen (8.6_p1-r3) [2021-11-01T02:01:55.148Z] (2/8) Installing libedit (20210216.3.1-r0) [2021-11-01T02:01:55.148Z] (3/8) Installing openssh-client-common (8.6_p1-r3) [2021-11-01T02:01:55.423Z] (4/8) Installing openssh-client-default (8.6_p1-r3) [2021-11-01T02:01:55.423Z] (5/8) Installing openssh-sftp-server (8.6_p1-r3) [2021-11-01T02:01:55.423Z] (6/8) Installing openssh-server-common (8.6_p1-r3) [2021-11-01T02:01:55.698Z] (7/8) Installing openssh-server (8.6_p1-r3) [2021-11-01T02:01:55.698Z] (8/8) Installing openssh (8.6_p1-r3) [2021-11-01T02:01:55.698Z] Executing busybox-1.33.1-r3.trigger [2021-11-01T02:01:55.975Z] OK: 225 MiB in 60 packages [2021-11-01T02:01:57.427Z] Removing intermediate container 712c099bd39a [2021-11-01T02:01:57.427Z] ---> e65facc6604b [2021-11-01T02:01:57.427Z] Step 6/9 : WORKDIR /device-modbus-go [2021-11-01T02:01:57.427Z] ---> Running in e720b305cb30 [2021-11-01T02:01:57.705Z] Removing intermediate container e720b305cb30 [2021-11-01T02:01:57.706Z] ---> 296eab698413 [2021-11-01T02:01:57.706Z] Step 7/9 : COPY . . [2021-11-01T02:01:58.695Z] ---> a8bc2b8e8427 [2021-11-01T02:01:58.695Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T02:01:58.978Z] ---> Running in ec66cf244a44 [2021-11-01T02:03:35.815Z] Removing intermediate container ec66cf244a44 [2021-11-01T02:03:35.815Z] ---> ba82745a5d73 [2021-11-01T02:03:35.815Z] Step 9/9 : RUN ${MAKE} [2021-11-01T02:03:35.815Z] ---> Running in 9bf2daa41048 [2021-11-01T02:03:35.815Z] noop [2021-11-01T02:03:35.815Z] Removing intermediate container 9bf2daa41048 [2021-11-01T02:03:35.815Z] ---> f1eed9eeadd1 [2021-11-01T02:03:35.815Z] Successfully built f1eed9eeadd1 [2021-11-01T02:03:35.815Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:03:36.173Z] + docker inspect -f . ci-base-image-arm64 [2021-11-01T02:03:36.173Z] . [Pipeline] withDockerContainer [2021-11-01T02:03:36.464Z] prd-ubuntu18.04-docker-arm64-4c-16g-13621 does not seem to be running inside a container [2021-11-01T02:03:36.575Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/11 -v /w/workspace/device-modbus-go/11:/w/workspace/device-modbus-go/11:rw,z -v /w/workspace/device-modbus-go/11@tmp:/w/workspace/device-modbus-go/11@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-01T02:03:38.332Z] $ docker top 742495cc342c2c2820592c27b1505d83dcec47e587f3955a7f9bed0f572a8108 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-01T02:03:39.360Z] + go version [2021-11-01T02:03:39.360Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-01T02:03:39.392Z] $ docker stop --time=1 742495cc342c2c2820592c27b1505d83dcec47e587f3955a7f9bed0f572a8108 [2021-11-01T02:03:41.253Z] $ docker rm -f 742495cc342c2c2820592c27b1505d83dcec47e587f3955a7f9bed0f572a8108 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:03:42.021Z] + docker inspect -f . ci-base-image-arm64 [2021-11-01T02:03:42.021Z] . [Pipeline] withDockerContainer [2021-11-01T02:03:42.271Z] prd-ubuntu18.04-docker-arm64-4c-16g-13621 does not seem to be running inside a container [2021-11-01T02:03:42.369Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/11 -v /w/workspace/device-modbus-go/11:/w/workspace/device-modbus-go/11:rw,z -v /w/workspace/device-modbus-go/11@tmp:/w/workspace/device-modbus-go/11@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-01T02:03:43.922Z] $ docker top 3b2013a52ad991e2310ca458caab8e7d63c4933547820a5d0f3594435ff0b6d1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-01T02:03:44.878Z] + make test [2021-11-01T02:03:44.879Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-01T02:03:46.338Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-11-01T02:04:42.987Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-11-01T02:04:44.437Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.060s coverage: 46.6% of statements [2021-11-01T02:04:44.717Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-01T02:05:17.152Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-01T02:05:17.152Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-01T02:05:17.152Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-01T02:05:17.180Z] $ docker stop --time=1 3b2013a52ad991e2310ca458caab8e7d63c4933547820a5d0f3594435ff0b6d1 [2021-11-01T02:05:19.001Z] $ docker rm -f 3b2013a52ad991e2310ca458caab8e7d63c4933547820a5d0f3594435ff0b6d1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-01T02:05:19.876Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-01T02:05:19.897Z] Warning: overwriting stash ‘coverage-report’ [2021-11-01T02:05:20.454Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-01T02:05:20.973Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-01T02:05:21.313Z] + ls -al . [2021-11-01T02:05:21.313Z] total 184 [2021-11-01T02:05:21.313Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 1 02:05 . [2021-11-01T02:05:21.313Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 02:00 .. [2021-11-01T02:05:21.313Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 02:00 .dockerignore [2021-11-01T02:05:21.313Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 02:00 .git [2021-11-01T02:05:21.313Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 02:00 .github [2021-11-01T02:05:21.313Z] -rw-rw-r-- 1 jenkins jenkins 331 Nov 1 02:00 .gitignore [2021-11-01T02:05:21.313Z] -rw-rw-r-- 1 jenkins jenkins 8010 Nov 1 02:00 Attribution.txt [2021-11-01T02:05:21.313Z] -rw-rw-r-- 1 jenkins jenkins 6038 Nov 1 02:00 CHANGELOG.md [2021-11-01T02:05:21.313Z] -rw-rw-r-- 1 jenkins jenkins 1523 Nov 1 02:00 Dockerfile [2021-11-01T02:05:21.313Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 02:00 GOVERNANCE.md [2021-11-01T02:05:21.313Z] -rw-rw-r-- 1 jenkins jenkins 679 Nov 1 02:00 Jenkinsfile [2021-11-01T02:05:21.313Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 02:00 LICENSE [2021-11-01T02:05:21.313Z] -rw-rw-r-- 1 jenkins jenkins 1009 Nov 1 02:00 Makefile [2021-11-01T02:05:21.313Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 1 02:00 OWNERS.md [2021-11-01T02:05:21.313Z] -rw-rw-r-- 1 jenkins jenkins 2891 Nov 1 02:00 README.md [2021-11-01T02:05:21.313Z] -rw-rw-r-- 1 jenkins jenkins 11 Nov 1 01:56 VERSION [2021-11-01T02:05:21.313Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 02:00 bin [2021-11-01T02:05:21.313Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 02:00 cmd [2021-11-01T02:05:21.313Z] -rw-r--r-- 1 jenkins jenkins 23727 Nov 1 02:04 coverage.out [2021-11-01T02:05:21.313Z] -rw-rw-r-- 1 jenkins jenkins 308 Nov 1 02:00 go.mod [2021-11-01T02:05:21.313Z] -rw-rw-r-- 1 jenkins jenkins 50567 Nov 1 02:00 go.sum [2021-11-01T02:05:21.313Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 02:00 internal [2021-11-01T02:05:21.313Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 02:00 simulator [2021-11-01T02:05:21.313Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 02:00 snap [2021-11-01T02:05:21.313Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 1 02:00 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:05:21.673Z] + 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=e403711dcd95b7f18079a8fe9cea73294caabbda --label arch=arm64 --label version=2.0.1-dev.8 . [2021-11-01T02:05:21.954Z] Sending build context to Docker daemon 709.6kB [2021-11-01T02:05:21.954Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T02:05:21.954Z] Step 2/22 : FROM ${BASE} AS builder [2021-11-01T02:05:21.954Z] ---> f1eed9eeadd1 [2021-11-01T02:05:21.954Z] Step 3/22 : ARG MAKE='make build' [2021-11-01T02:05:22.229Z] ---> Running in 1f09f8c021da [2021-11-01T02:05:22.828Z] Removing intermediate container 1f09f8c021da [2021-11-01T02:05:22.828Z] ---> 1df2fc13d9a2 [2021-11-01T02:05:22.828Z] Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T02:05:22.828Z] ---> Running in 2a309bb07ea0 [2021-11-01T02:05:24.807Z] Removing intermediate container 2a309bb07ea0 [2021-11-01T02:05:24.807Z] ---> 9f826580b041 [2021-11-01T02:05:24.807Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-11-01T02:05:24.807Z] ---> Running in a553291a74fb [2021-11-01T02:05:26.244Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-01T02:05:27.219Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-01T02:05:27.814Z] OK: 225 MiB in 60 packages [2021-11-01T02:05:28.795Z] Removing intermediate container a553291a74fb [2021-11-01T02:05:28.795Z] ---> 7462e4cfc2b4 [2021-11-01T02:05:28.795Z] Step 6/22 : WORKDIR /device-modbus-go [2021-11-01T02:05:29.069Z] ---> Running in e1f7c41291fa [2021-11-01T02:05:29.342Z] Removing intermediate container e1f7c41291fa [2021-11-01T02:05:29.342Z] ---> 198a18a595c4 [2021-11-01T02:05:29.342Z] Step 7/22 : COPY . . [2021-11-01T02:05:30.326Z] ---> 8e7d2e43f1eb [2021-11-01T02:05:30.326Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T02:05:30.607Z] ---> Running in 8663e53ab85c [2021-11-01T02:05:33.266Z] Removing intermediate container 8663e53ab85c [2021-11-01T02:05:33.266Z] ---> 98056cdd5535 [2021-11-01T02:05:33.266Z] Step 9/22 : RUN ${MAKE} [2021-11-01T02:05:33.266Z] ---> Running in 1da91f784dc5 [2021-11-01T02:05:34.308Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.8" -o cmd/device-modbus ./cmd [2021-11-01T02:06:13.405Z] Removing intermediate container 1da91f784dc5 [2021-11-01T02:06:13.405Z] ---> db4cbd1af609 [2021-11-01T02:06:13.405Z] Step 10/22 : FROM alpine:3.14 [2021-11-01T02:06:13.405Z] 3.14: Pulling from library/alpine [2021-11-01T02:06:13.405Z] 552d1f2373af: Already exists [2021-11-01T02:06:13.405Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-01T02:06:13.405Z] Status: Downloaded newer image for alpine:3.14 [2021-11-01T02:06:13.405Z] ---> bb3de5531c18 [2021-11-01T02:06:13.405Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-11-01T02:06:13.405Z] ---> Running in 58a5d3757363 [2021-11-01T02:06:13.405Z] Removing intermediate container 58a5d3757363 [2021-11-01T02:06:13.405Z] ---> ee5752218609 [2021-11-01T02:06:13.405Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T02:06:13.405Z] ---> Running in ae4c9095d17a [2021-11-01T02:06:14.394Z] Removing intermediate container ae4c9095d17a [2021-11-01T02:06:14.394Z] ---> 7be48b2b720e [2021-11-01T02:06:14.394Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-01T02:06:14.394Z] ---> Running in 07b1fb5f3e99 [2021-11-01T02:06:15.830Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-01T02:06:16.800Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-01T02:06:17.393Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-01T02:06:17.663Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-01T02:06:17.663Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-01T02:06:17.663Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-01T02:06:17.934Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-01T02:06:17.934Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-01T02:06:18.204Z] Executing busybox-1.33.1-r3.trigger [2021-11-01T02:06:18.204Z] OK: 8 MiB in 20 packages [2021-11-01T02:06:19.180Z] Removing intermediate container 07b1fb5f3e99 [2021-11-01T02:06:19.180Z] ---> aa4386d4788c [2021-11-01T02:06:19.180Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-11-01T02:06:20.155Z] ---> 9975fb88d58a [2021-11-01T02:06:20.155Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-11-01T02:06:21.140Z] ---> c351befa3415 [2021-11-01T02:06:21.140Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-11-01T02:06:21.737Z] ---> 3ece8cf2ecfb [2021-11-01T02:06:21.737Z] Step 17/22 : EXPOSE 59901 [2021-11-01T02:06:21.737Z] ---> Running in 561c2af84512 [2021-11-01T02:06:22.334Z] Removing intermediate container 561c2af84512 [2021-11-01T02:06:22.334Z] ---> 2ce432a798ab [2021-11-01T02:06:22.334Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-11-01T02:06:22.334Z] ---> Running in f1a86e51faaf [2021-11-01T02:06:22.923Z] Removing intermediate container f1a86e51faaf [2021-11-01T02:06:22.923Z] ---> 34df70382fbe [2021-11-01T02:06:22.923Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-01T02:06:22.923Z] ---> Running in fcc77ecdcff0 [2021-11-01T02:06:23.524Z] Removing intermediate container fcc77ecdcff0 [2021-11-01T02:06:23.524Z] ---> f00e9606a320 [2021-11-01T02:06:23.524Z] Step 20/22 : LABEL arch=arm64 [2021-11-01T02:06:23.524Z] ---> Running in 2ffb73e75c6b [2021-11-01T02:06:23.796Z] Removing intermediate container 2ffb73e75c6b [2021-11-01T02:06:23.796Z] ---> 07430131f14d [2021-11-01T02:06:23.796Z] Step 21/22 : LABEL git_sha=e403711dcd95b7f18079a8fe9cea73294caabbda [2021-11-01T02:06:24.067Z] ---> Running in fcaf9ce7c287 [2021-11-01T02:06:24.341Z] Removing intermediate container fcaf9ce7c287 [2021-11-01T02:06:24.341Z] ---> 270c7093141c [2021-11-01T02:06:24.341Z] Step 22/22 : LABEL version=2.0.1-dev.8 [2021-11-01T02:06:24.615Z] ---> Running in 9ad0fed69b1a [2021-11-01T02:06:24.887Z] Removing intermediate container 9ad0fed69b1a [2021-11-01T02:06:24.887Z] ---> 78f67c7c5b2e [2021-11-01T02:06:24.887Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-01T02:06:24.887Z] Successfully built 78f67c7c5b2e [2021-11-01T02:06:24.887Z] 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-01T02:06:25.129Z] provisioning config files... [2021-11-01T02:06:25.153Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/11@tmp/config8655667999051722050tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:06:25.520Z] ---> docker-login.sh [2021-11-01T02:06:25.520Z] nexus3.edgexfoundry.org:10001 [2021-11-01T02:06:25.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T02:06:26.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T02:06:26.070Z] Configure a credential helper to remove this warning. See [2021-11-01T02:06:26.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T02:06:26.070Z] [2021-11-01T02:06:26.070Z] Login Succeeded [2021-11-01T02:06:26.070Z] nexus3.edgexfoundry.org:10002 [2021-11-01T02:06:26.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T02:06:26.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T02:06:26.627Z] Configure a credential helper to remove this warning. See [2021-11-01T02:06:26.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T02:06:26.627Z] [2021-11-01T02:06:26.627Z] Login Succeeded [2021-11-01T02:06:26.627Z] nexus3.edgexfoundry.org:10003 [2021-11-01T02:06:27.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T02:06:27.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T02:06:27.227Z] Configure a credential helper to remove this warning. See [2021-11-01T02:06:27.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T02:06:27.227Z] [2021-11-01T02:06:27.227Z] Login Succeeded [2021-11-01T02:06:27.227Z] nexus3.edgexfoundry.org:10004 [2021-11-01T02:06:27.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T02:06:27.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T02:06:27.829Z] Configure a credential helper to remove this warning. See [2021-11-01T02:06:27.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T02:06:27.829Z] [2021-11-01T02:06:27.829Z] Login Succeeded [2021-11-01T02:06:27.829Z] docker.io [2021-11-01T02:06:28.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T02:06:28.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T02:06:28.707Z] Configure a credential helper to remove this warning. See [2021-11-01T02:06:28.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T02:06:28.707Z] [2021-11-01T02:06:28.707Z] Login Succeeded [2021-11-01T02:06:28.707Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T02:06:28.730Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-01T02:06:28.763Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-01T02:06:28.790Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2021-11-01T02:06:28.790Z] e403711dcd95b7f18079a8fe9cea73294caabbda [2021-11-01T02:06:28.790Z] latest [2021-11-01T02:06:28.790Z] 2.0.1-dev.8 [2021-11-01T02:06:28.790Z] e403711dcd95b7f18079a8fe9cea73294caabbda-2.0.1-dev.8 [2021-11-01T02:06:28.790Z] main [2021-11-01T02:06:28.790Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:06:29.188Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e403711dcd95b7f18079a8fe9cea73294caabbda [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:06:29.546Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e403711dcd95b7f18079a8fe9cea73294caabbda [2021-11-01T02:06:29.546Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-11-01T02:06:29.546Z] 3de49a950a93: Preparing [2021-11-01T02:06:29.546Z] ca076dfa72d9: Preparing [2021-11-01T02:06:29.546Z] 8d70f77d97c4: Preparing [2021-11-01T02:06:29.546Z] 44aebe7235fc: Preparing [2021-11-01T02:06:29.546Z] 061ba57a012a: Preparing [2021-11-01T02:06:29.546Z] ee420dfed78a: Preparing [2021-11-01T02:06:29.546Z] ee420dfed78a: Waiting [2021-11-01T02:06:29.826Z] ca076dfa72d9: Pushed [2021-11-01T02:06:29.826Z] 061ba57a012a: Pushed [2021-11-01T02:06:29.826Z] 3de49a950a93: Pushed [2021-11-01T02:06:29.826Z] ee420dfed78a: Layer already exists [2021-11-01T02:06:30.427Z] 44aebe7235fc: Pushed [2021-11-01T02:06:33.052Z] 8d70f77d97c4: Pushed [2021-11-01T02:06:33.052Z] e403711dcd95b7f18079a8fe9cea73294caabbda: digest: sha256:428f54919f700fb77e1fc56dc62d6c149d278ce1b75d0dc35bf94f286220a1d6 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:06:33.428Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:06:33.786Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-11-01T02:06:33.786Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-11-01T02:06:33.786Z] 3de49a950a93: Preparing [2021-11-01T02:06:33.786Z] ca076dfa72d9: Preparing [2021-11-01T02:06:33.786Z] 8d70f77d97c4: Preparing [2021-11-01T02:06:33.786Z] 44aebe7235fc: Preparing [2021-11-01T02:06:33.786Z] 061ba57a012a: Preparing [2021-11-01T02:06:33.786Z] ee420dfed78a: Preparing [2021-11-01T02:06:33.786Z] ee420dfed78a: Waiting [2021-11-01T02:06:34.072Z] ca076dfa72d9: Layer already exists [2021-11-01T02:06:34.072Z] 3de49a950a93: Layer already exists [2021-11-01T02:06:34.072Z] 44aebe7235fc: Layer already exists [2021-11-01T02:06:34.072Z] 8d70f77d97c4: Layer already exists [2021-11-01T02:06:34.072Z] 061ba57a012a: Layer already exists [2021-11-01T02:06:34.072Z] ee420dfed78a: Layer already exists [2021-11-01T02:06:34.072Z] latest: digest: sha256:428f54919f700fb77e1fc56dc62d6c149d278ce1b75d0dc35bf94f286220a1d6 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:06:34.437Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.8 [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:06:34.786Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.8 [2021-11-01T02:06:34.786Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-11-01T02:06:34.786Z] 3de49a950a93: Preparing [2021-11-01T02:06:34.786Z] ca076dfa72d9: Preparing [2021-11-01T02:06:34.786Z] 8d70f77d97c4: Preparing [2021-11-01T02:06:34.786Z] 44aebe7235fc: Preparing [2021-11-01T02:06:34.786Z] 061ba57a012a: Preparing [2021-11-01T02:06:34.786Z] ee420dfed78a: Preparing [2021-11-01T02:06:34.786Z] ee420dfed78a: Waiting [2021-11-01T02:06:34.786Z] 44aebe7235fc: Layer already exists [2021-11-01T02:06:34.786Z] 061ba57a012a: Layer already exists [2021-11-01T02:06:34.786Z] 8d70f77d97c4: Layer already exists [2021-11-01T02:06:34.786Z] ca076dfa72d9: Layer already exists [2021-11-01T02:06:34.786Z] 3de49a950a93: Layer already exists [2021-11-01T02:06:35.061Z] ee420dfed78a: Layer already exists [2021-11-01T02:06:35.061Z] 2.0.1-dev.8: digest: sha256:428f54919f700fb77e1fc56dc62d6c149d278ce1b75d0dc35bf94f286220a1d6 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:06:35.416Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e403711dcd95b7f18079a8fe9cea73294caabbda-2.0.1-dev.8 [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:06:35.762Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e403711dcd95b7f18079a8fe9cea73294caabbda-2.0.1-dev.8 [2021-11-01T02:06:35.762Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-11-01T02:06:35.762Z] 3de49a950a93: Preparing [2021-11-01T02:06:35.762Z] ca076dfa72d9: Preparing [2021-11-01T02:06:35.762Z] 8d70f77d97c4: Preparing [2021-11-01T02:06:35.762Z] 44aebe7235fc: Preparing [2021-11-01T02:06:35.762Z] 061ba57a012a: Preparing [2021-11-01T02:06:35.762Z] ee420dfed78a: Preparing [2021-11-01T02:06:35.762Z] ee420dfed78a: Waiting [2021-11-01T02:06:35.762Z] 3de49a950a93: Layer already exists [2021-11-01T02:06:35.762Z] 061ba57a012a: Layer already exists [2021-11-01T02:06:35.762Z] 8d70f77d97c4: Layer already exists [2021-11-01T02:06:35.762Z] ca076dfa72d9: Layer already exists [2021-11-01T02:06:35.762Z] 44aebe7235fc: Layer already exists [2021-11-01T02:06:36.043Z] ee420dfed78a: Layer already exists [2021-11-01T02:06:36.043Z] e403711dcd95b7f18079a8fe9cea73294caabbda-2.0.1-dev.8: digest: sha256:428f54919f700fb77e1fc56dc62d6c149d278ce1b75d0dc35bf94f286220a1d6 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:06:36.403Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:06:36.752Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2021-11-01T02:06:36.752Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-11-01T02:06:36.752Z] 3de49a950a93: Preparing [2021-11-01T02:06:36.752Z] ca076dfa72d9: Preparing [2021-11-01T02:06:36.752Z] 8d70f77d97c4: Preparing [2021-11-01T02:06:36.752Z] 44aebe7235fc: Preparing [2021-11-01T02:06:36.752Z] 061ba57a012a: Preparing [2021-11-01T02:06:36.752Z] ee420dfed78a: Preparing [2021-11-01T02:06:36.752Z] ee420dfed78a: Waiting [2021-11-01T02:06:36.752Z] ca076dfa72d9: Layer already exists [2021-11-01T02:06:37.025Z] 8d70f77d97c4: Layer already exists [2021-11-01T02:06:37.025Z] 061ba57a012a: Layer already exists [2021-11-01T02:06:37.025Z] 3de49a950a93: Layer already exists [2021-11-01T02:06:37.025Z] 44aebe7235fc: Layer already exists [2021-11-01T02:06:37.025Z] ee420dfed78a: Layer already exists [2021-11-01T02:06:37.025Z] main: digest: sha256:428f54919f700fb77e1fc56dc62d6c149d278ce1b75d0dc35bf94f286220a1d6 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-01T02:06:37.072Z] ===================================================== [Pipeline] echo [2021-11-01T02:06:37.093Z] taggedImages: [2021-11-01T02:06:37.093Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e403711dcd95b7f18079a8fe9cea73294caabbda [2021-11-01T02:06:37.093Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-11-01T02:06:37.093Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.8 [2021-11-01T02:06:37.093Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e403711dcd95b7f18079a8fe9cea73294caabbda-2.0.1-dev.8 [2021-11-01T02:06:37.093Z] - 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-01T02:06:37.572Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-01T02:06:37.850Z] [2021-11-01T02:06:37.850Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:06:38.215Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-01T02:06:38.499Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-01T02:06:38.499Z] 448f6bf000e3: Pulling fs layer [2021-11-01T02:06:38.499Z] f757da607395: Pulling fs layer [2021-11-01T02:06:38.499Z] 05883995daec: Pulling fs layer [2021-11-01T02:06:38.499Z] 8603b9c90790: Pulling fs layer [2021-11-01T02:06:38.499Z] 1560dd03e051: Pulling fs layer [2021-11-01T02:06:38.499Z] 27f5ce0e4adf: Pulling fs layer [2021-11-01T02:06:38.499Z] c2d8d7efcc4b: Pulling fs layer [2021-11-01T02:06:38.499Z] 8603b9c90790: Waiting [2021-11-01T02:06:38.499Z] 1560dd03e051: Waiting [2021-11-01T02:06:38.499Z] 27f5ce0e4adf: Waiting [2021-11-01T02:06:38.499Z] f757da607395: Verifying Checksum [2021-11-01T02:06:38.499Z] f757da607395: Download complete [2021-11-01T02:06:38.499Z] 8603b9c90790: Verifying Checksum [2021-11-01T02:06:38.499Z] 8603b9c90790: Download complete [2021-11-01T02:06:38.777Z] 1560dd03e051: Verifying Checksum [2021-11-01T02:06:38.777Z] 1560dd03e051: Download complete [2021-11-01T02:06:38.777Z] 27f5ce0e4adf: Verifying Checksum [2021-11-01T02:06:38.777Z] 27f5ce0e4adf: Download complete [2021-11-01T02:06:38.777Z] 05883995daec: Verifying Checksum [2021-11-01T02:06:38.777Z] 05883995daec: Download complete [2021-11-01T02:06:39.058Z] 448f6bf000e3: Verifying Checksum [2021-11-01T02:06:39.058Z] 448f6bf000e3: Download complete [2021-11-01T02:06:41.709Z] c2d8d7efcc4b: Verifying Checksum [2021-11-01T02:06:41.709Z] c2d8d7efcc4b: Download complete [2021-11-01T02:06:43.158Z] 448f6bf000e3: Pull complete [2021-11-01T02:06:43.760Z] f757da607395: Pull complete [2021-11-01T02:06:45.208Z] 05883995daec: Pull complete [2021-11-01T02:06:45.494Z] 8603b9c90790: Pull complete [2021-11-01T02:06:46.483Z] 1560dd03e051: Pull complete [2021-11-01T02:06:46.758Z] 27f5ce0e4adf: Pull complete [2021-11-01T02:07:01.969Z] c2d8d7efcc4b: Pull complete [2021-11-01T02:07:01.969Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-01T02:07:01.969Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-01T02:07:01.969Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-01T02:07:02.246Z] prd-ubuntu18.04-docker-arm64-4c-16g-13621 does not seem to be running inside a container [2021-11-01T02:07:02.348Z] $ 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/11 -v /w/workspace/device-modbus-go/11:/w/workspace/device-modbus-go/11:rw,z -v /w/workspace/device-modbus-go/11@tmp:/w/workspace/device-modbus-go/11@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-01T02:07:05.884Z] $ docker top f37c239095ee61672c8e08954915b6bdb7d2bdd29917f1b3616435504e2df9bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:07:06.875Z] ---> job-cost.sh [2021-11-01T02:07:06.875Z] lf-activate-venv: SKIPPING [2021-11-01T02:07:06.875Z] INFO: No Stack... [2021-11-01T02:07:07.155Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-01T02:07:07.756Z] INFO: Archiving Costs [Pipeline] sh [2021-11-01T02:07:08.428Z] + cat /w/workspace/device-modbus-go/11/archives/cost.csv [2021-11-01T02:07:08.428Z] + cut -d, -f6 [Pipeline] lock [2021-11-01T02:07:08.503Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-11-stack-cost] [2021-11-01T02:07:08.509Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-11-stack-cost] did not exist. Created. [2021-11-01T02:07:08.509Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-01T02:07:09.199Z] /w/workspace/device-modbus-go/11@tmp/durable-421e7b6d/script.sh: 1: /w/workspace/device-modbus-go/11@tmp/durable-421e7b6d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-01T02:07:09.886Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-01T02:07:09.916Z] Warning: overwriting stash ‘stack-cost’ [2021-11-01T02:07:09.974Z] Stashed 1 file(s) [Pipeline] } [2021-11-01T02:07:09.985Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-11-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-01T02:07:10.015Z] $ docker stop --time=1 f37c239095ee61672c8e08954915b6bdb7d2bdd29917f1b3616435504e2df9bd [2021-11-01T02:07:11.680Z] $ docker rm -f f37c239095ee61672c8e08954915b6bdb7d2bdd29917f1b3616435504e2df9bd [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-01T02:07:12.531Z] provisioning config files... [2021-11-01T02:07:12.545Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3069678341636298592tmp [Pipeline] { [Pipeline] sh [2021-11-01T02:07:12.850Z] + set +x [2021-11-01T02:07:12.850Z] + curl -s https://codecov.io/bash [2021-11-01T02:07:12.850Z] + bash -s -- [2021-11-01T02:07:12.850Z] [2021-11-01T02:07:12.850Z] _____ _ [2021-11-01T02:07:12.850Z] / ____| | | [2021-11-01T02:07:12.851Z] | | ___ __| | ___ ___ _____ __ [2021-11-01T02:07:12.851Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-01T02:07:12.851Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-01T02:07:12.851Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-01T02:07:12.851Z] Bash-1.0.6 [2021-11-01T02:07:12.851Z] [2021-11-01T02:07:12.851Z] [2021-11-01T02:07:12.851Z] ==> git version 2.24.4 found [2021-11-01T02:07:12.851Z] ==> 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-01T02:07:12.851Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-01T02:07:12.851Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-01T02:07:12.851Z] ==> Jenkins CI detected. [2021-11-01T02:07:12.851Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2021-11-01T02:07:12.851Z] project root: . [2021-11-01T02:07:12.851Z] --> token set from env [2021-11-01T02:07:12.851Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-01T02:07:12.851Z] ==> Running gcov in . (disable via -X gcov) [2021-11-01T02:07:12.851Z] ==> Python coveragepy not found [2021-11-01T02:07:12.851Z] ==> Searching for coverage reports in: [2021-11-01T02:07:12.851Z] + . [2021-11-01T02:07:12.851Z] -> Found 1 reports [2021-11-01T02:07:12.851Z] ==> Detecting git/mercurial file structure [2021-11-01T02:07:12.851Z] ==> Reading reports [2021-11-01T02:07:12.851Z] + ./coverage.out bytes=23727 [2021-11-01T02:07:13.112Z] ==> Appending adjustments [2021-11-01T02:07:13.112Z] https://docs.codecov.io/docs/fixing-reports [2021-11-01T02:07:13.112Z] + Found adjustments [2021-11-01T02:07:13.112Z] ==> Gzipping contents [2021-11-01T02:07:13.112Z] 4.0K /tmp/codecov.5PAXnz.gz [2021-11-01T02:07:13.112Z] ==> Uploading reports [2021-11-01T02:07:13.112Z] url: https://codecov.io [2021-11-01T02:07:13.112Z] query: branch=main&commit=e403711dcd95b7f18079a8fe9cea73294caabbda&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-01T02:07:13.112Z] -> Pinging Codecov [2021-11-01T02:07:13.112Z] 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=e403711dcd95b7f18079a8fe9cea73294caabbda&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-01T02:07:14.062Z] -> Uploading to [2021-11-01T02:07:14.062Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-01/55DBCA73C666E3227836607328DD7E49/e403711dcd95b7f18079a8fe9cea73294caabbda/d979af0e-7b80-442d-9899-cf8b4c129007.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211101T020713Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c8a77d7e27aaa02b3814341fb1f5be9e5e6a0f47a50ce1669b9f60e0368c2ccc [2021-11-01T02:07:14.062Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-01T02:07:14.062Z] Dload Upload Total Spent Left Speed [2021-11-01T02:07:14.321Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3991 0 0 100 3991 0 12965 --:--:-- --:--:-- --:--:-- 12957 100 3991 0 0 100 3991 0 12958 --:--:-- --:--:-- --:--:-- 12957 [2021-11-01T02:07:14.321Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/e403711dcd95b7f18079a8fe9cea73294caabbda [Pipeline] } [2021-11-01T02:07:14.327Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-01T02:07:14.533Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-01T02:07:14.546Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:07:14.859Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-01T02:07:14.859Z] [2021-11-01T02:07:14.859Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:07:15.190Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-01T02:07:15.190Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-01T02:07:15.190Z] 188c0c94c7c5: Pulling fs layer [2021-11-01T02:07:15.190Z] 0ef7d3d256c8: Pulling fs layer [2021-11-01T02:07:15.190Z] de9db76c5a1d: Pulling fs layer [2021-11-01T02:07:15.190Z] 0eba1c9be4d2: Pulling fs layer [2021-11-01T02:07:15.190Z] 0d57e429df01: Pulling fs layer [2021-11-01T02:07:15.190Z] 4e4be7b47b0d: Pulling fs layer [2021-11-01T02:07:15.190Z] e1f770b5df2f: Pulling fs layer [2021-11-01T02:07:15.190Z] 85a0685a4137: Pulling fs layer [2021-11-01T02:07:15.190Z] 0d57e429df01: Waiting [2021-11-01T02:07:15.190Z] 4e4be7b47b0d: Waiting [2021-11-01T02:07:15.190Z] e1f770b5df2f: Waiting [2021-11-01T02:07:15.190Z] 85a0685a4137: Waiting [2021-11-01T02:07:15.190Z] 0eba1c9be4d2: Waiting [2021-11-01T02:07:15.190Z] de9db76c5a1d: Verifying Checksum [2021-11-01T02:07:15.190Z] de9db76c5a1d: Download complete [2021-11-01T02:07:15.190Z] 0ef7d3d256c8: Verifying Checksum [2021-11-01T02:07:15.190Z] 0ef7d3d256c8: Download complete [2021-11-01T02:07:15.190Z] 0d57e429df01: Verifying Checksum [2021-11-01T02:07:15.190Z] 0d57e429df01: Download complete [2021-11-01T02:07:15.190Z] 4e4be7b47b0d: Verifying Checksum [2021-11-01T02:07:15.190Z] 4e4be7b47b0d: Download complete [2021-11-01T02:07:15.190Z] 188c0c94c7c5: Verifying Checksum [2021-11-01T02:07:15.190Z] 188c0c94c7c5: Download complete [2021-11-01T02:07:15.838Z] 188c0c94c7c5: Pull complete [2021-11-01T02:07:15.838Z] e1f770b5df2f: Verifying Checksum [2021-11-01T02:07:15.838Z] e1f770b5df2f: Download complete [2021-11-01T02:07:15.838Z] 0ef7d3d256c8: Pull complete [2021-11-01T02:07:15.838Z] de9db76c5a1d: Pull complete [2021-11-01T02:07:16.112Z] 0eba1c9be4d2: Verifying Checksum [2021-11-01T02:07:16.112Z] 0eba1c9be4d2: Download complete [2021-11-01T02:07:16.382Z] 85a0685a4137: Verifying Checksum [2021-11-01T02:07:16.382Z] 85a0685a4137: Download complete [2021-11-01T02:07:20.650Z] 0eba1c9be4d2: Pull complete [2021-11-01T02:07:20.650Z] 0d57e429df01: Pull complete [2021-11-01T02:07:20.650Z] 4e4be7b47b0d: Pull complete [2021-11-01T02:07:20.650Z] e1f770b5df2f: Pull complete [2021-11-01T02:07:24.913Z] 85a0685a4137: Pull complete [2021-11-01T02:07:24.913Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-01T02:07:24.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-01T02:07:24.913Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-01T02:07:24.987Z] prd-centos7-docker-4c-2g-13611 does not seem to be running inside a container [2021-11-01T02:07:25.029Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-11-01T02:07:27.207Z] $ docker top 38b1de275d8a8ddd84b6598a2e663bb0bff4ef3e4007a086ea16db369b3ac845 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-01T02:07:27.290Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-01T02:07:27.590Z] + set -o pipefail [2021-11-01T02:07:27.590Z] + snyk monitor '--org=edgex-jenkins' [2021-11-01T02:07:32.914Z] [2021-11-01T02:07:32.914Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2021-11-01T02:07:32.914Z] [2021-11-01T02:07:32.914Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/c91abf75-b6a8-4769-b397-81aa28ec14dd [2021-11-01T02:07:32.914Z] [2021-11-01T02:07:32.914Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2021-11-01T02:07:32.914Z] [2021-11-01T02:07:32.914Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-01T02:07:32.914Z] [2021-11-01T02:07:32.914Z] [Pipeline] } [2021-11-01T02:07:32.929Z] $ docker stop --time=1 38b1de275d8a8ddd84b6598a2e663bb0bff4ef3e4007a086ea16db369b3ac845 [2021-11-01T02:07:34.894Z] $ docker rm -f 38b1de275d8a8ddd84b6598a2e663bb0bff4ef3e4007a086ea16db369b3ac845 [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-01T02:07:35.879Z] + git log --format=format:%s -1 e403711dcd95b7f18079a8fe9cea73294caabbda [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:07:36.187Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T02:07:36.187Z] . [Pipeline] withDockerContainer [2021-11-01T02:07:36.256Z] prd-centos7-docker-4c-2g-13611 does not seem to be running inside a container [2021-11-01T02:07:36.305Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-01T02:07:36.685Z] $ docker top c20949d801ba36f61bc1bc6d11b61d131f1574a6cda34968ed0755ed90982f12 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T02:07:36.803Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T02:07:36.803Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T02:07:36.913Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T02:07:36.917Z] $ docker exec c20949d801ba36f61bc1bc6d11b61d131f1574a6cda34968ed0755ed90982f12 ssh-agent [2021-11-01T02:07:37.020Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmlKhAE/agent.14 [2021-11-01T02:07:37.020Z] SSH_AGENT_PID=20 [2021-11-01T02:07:37.026Z] Running ssh-add (command line suppressed) [2021-11-01T02:07:37.109Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_45837204061510053.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_45837204061510053.key) [2021-11-01T02:07:37.132Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T02:07:37.438Z] + git semver tag [2021-11-01T02:07:37.439Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T02:07:37.439Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-11-01T02:07:37.439Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-11-01T02:07:37.439Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T02:07:37.439Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T02:07:37.439Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T02:07:37.439Z] # $SEMVER_BRANCH = main [2021-11-01T02:07:37.439Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2021-11-01T02:07:37.439Z] # e403711dcd95b7f18079a8fe9cea73294caabbda HEAD [2021-11-01T02:07:37.439Z] # -> Force: false [2021-11-01T02:07:37.439Z] # 8032ab93168eb615295a166fbc8d134dcc201b2e refs/tags/v2.0.1-dev.8 [Pipeline] } [2021-11-01T02:07:37.449Z] $ docker exec --env ******** --env ******** c20949d801ba36f61bc1bc6d11b61d131f1574a6cda34968ed0755ed90982f12 ssh-agent -k [2021-11-01T02:07:37.535Z] unset SSH_AUTH_SOCK; [2021-11-01T02:07:37.536Z] unset SSH_AGENT_PID; [2021-11-01T02:07:37.536Z] echo Agent pid 20 killed; [2021-11-01T02:07:37.554Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T02:07:37.876Z] + git semver [Pipeline] } [2021-11-01T02:07:37.894Z] $ docker stop --time=1 c20949d801ba36f61bc1bc6d11b61d131f1574a6cda34968ed0755ed90982f12 [2021-11-01T02:07:39.103Z] $ docker rm -f c20949d801ba36f61bc1bc6d11b61d131f1574a6cda34968ed0755ed90982f12 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:07:39.521Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-01T02:07:39.521Z] [2021-11-01T02:07:39.521Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:07:39.837Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-01T02:07:39.837Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-01T02:07:39.837Z] ab5ef0e58194: Pulling fs layer [2021-11-01T02:07:39.837Z] 9712f1f96733: Pulling fs layer [2021-11-01T02:07:39.837Z] 63f879dbbcfc: Pulling fs layer [2021-11-01T02:07:39.837Z] 0d9ebad4ef96: Pulling fs layer [2021-11-01T02:07:39.837Z] e9a5061849ea: Pulling fs layer [2021-11-01T02:07:39.837Z] d747dcd14b5f: Pulling fs layer [2021-11-01T02:07:39.837Z] 2de7ff778b66: Pulling fs layer [2021-11-01T02:07:39.837Z] 0d9ebad4ef96: Waiting [2021-11-01T02:07:39.837Z] e9a5061849ea: Waiting [2021-11-01T02:07:39.837Z] d747dcd14b5f: Waiting [2021-11-01T02:07:39.837Z] 2de7ff778b66: Waiting [2021-11-01T02:07:39.837Z] 9712f1f96733: Verifying Checksum [2021-11-01T02:07:39.837Z] 9712f1f96733: Download complete [2021-11-01T02:07:40.440Z] 63f879dbbcfc: Verifying Checksum [2021-11-01T02:07:40.440Z] 63f879dbbcfc: Download complete [2021-11-01T02:07:40.440Z] ab5ef0e58194: Verifying Checksum [2021-11-01T02:07:40.440Z] ab5ef0e58194: Download complete [2021-11-01T02:07:40.440Z] d747dcd14b5f: Verifying Checksum [2021-11-01T02:07:40.440Z] d747dcd14b5f: Download complete [2021-11-01T02:07:40.440Z] 0d9ebad4ef96: Verifying Checksum [2021-11-01T02:07:40.440Z] 0d9ebad4ef96: Download complete [2021-11-01T02:07:40.709Z] e9a5061849ea: Verifying Checksum [2021-11-01T02:07:40.709Z] e9a5061849ea: Download complete [2021-11-01T02:07:40.709Z] 2de7ff778b66: Verifying Checksum [2021-11-01T02:07:40.709Z] 2de7ff778b66: Download complete [2021-11-01T02:07:44.066Z] ab5ef0e58194: Pull complete [2021-11-01T02:07:44.066Z] 9712f1f96733: Pull complete [2021-11-01T02:07:45.018Z] 63f879dbbcfc: Pull complete [2021-11-01T02:07:50.345Z] 0d9ebad4ef96: Pull complete [2021-11-01T02:07:50.345Z] e9a5061849ea: Pull complete [2021-11-01T02:07:50.345Z] d747dcd14b5f: Pull complete [2021-11-01T02:07:51.300Z] 2de7ff778b66: Pull complete [2021-11-01T02:07:51.300Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-01T02:07:51.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-01T02:07:51.301Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-01T02:07:51.376Z] prd-centos7-docker-4c-2g-13611 does not seem to be running inside a container [2021-11-01T02:07:51.429Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-11-01T02:07:54.570Z] $ docker top 01382467125bf33b5ff0fa0772388e347d482fc181339390e56901a085cccc17 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-01T02:07:54.657Z] provisioning config files... [2021-11-01T02:07:54.669Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3245244416938533627tmp [2021-11-01T02:07:54.683Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3282810210386708875tmp [2021-11-01T02:07:54.695Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2930855383511967754tmp [Pipeline] { [Pipeline] echo [2021-11-01T02:07:54.710Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:07:55.004Z] ---> sigul-configuration.sh [2021-11-01T02:07:55.004Z] gpg: directory `/root/.gnupg' created [2021-11-01T02:07:55.004Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-01T02:07:55.004Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-01T02:07:55.004Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-01T02:07:55.004Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-01T02:07:55.004Z] gpg: CAST5 encrypted data [2021-11-01T02:07:55.004Z] gpg: encrypted with 1 passphrase [2021-11-01T02:07:55.004Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-01T02:07:55.297Z] + mkdir /home/jenkins [2021-11-01T02:07:55.297Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-01T02:07:55.594Z] + 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-01T02:07:55.605Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:07:55.899Z] ---> sigul-install.sh [2021-11-01T02:07:55.899Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-01T02:07:56.201Z] + git tag --list [2021-11-01T02:07:56.201Z] 0.7.1 [2021-11-01T02:07:56.201Z] v1.0.0 [2021-11-01T02:07:56.201Z] v1.1.0 [2021-11-01T02:07:56.201Z] v1.1.1 [2021-11-01T02:07:56.201Z] v1.2.2 [2021-11-01T02:07:56.201Z] v1.3.0 [2021-11-01T02:07:56.201Z] v1.3.1 [2021-11-01T02:07:56.201Z] v2.0.0 [2021-11-01T02:07:56.201Z] v2.0.1-dev.1 [2021-11-01T02:07:56.201Z] v2.0.1-dev.2 [2021-11-01T02:07:56.201Z] v2.0.1-dev.3 [2021-11-01T02:07:56.201Z] v2.0.1-dev.4 [2021-11-01T02:07:56.201Z] v2.0.1-dev.5 [2021-11-01T02:07:56.201Z] v2.0.1-dev.6 [2021-11-01T02:07:56.201Z] v2.0.1-dev.7 [2021-11-01T02:07:56.201Z] v2.0.1-dev.8 [Pipeline] sh [2021-11-01T02:07:56.499Z] + lftools sign git-tag v2.0.1-dev.8 [2021-11-01T02:07:57.080Z] Signing Git tag with Sigul... [2021-11-01T02:07:57.080Z] Signing v2.0.1-dev.8 [Pipeline] echo [2021-11-01T02:07:58.033Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:07:58.330Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-01T02:07:58.337Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-01T02:07:58.356Z] $ docker stop --time=1 01382467125bf33b5ff0fa0772388e347d482fc181339390e56901a085cccc17 [2021-11-01T02:07:59.554Z] $ docker rm -f 01382467125bf33b5ff0fa0772388e347d482fc181339390e56901a085cccc17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:08:00.114Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T02:08:00.114Z] . [Pipeline] withDockerContainer [2021-11-01T02:08:00.185Z] prd-centos7-docker-4c-2g-13611 does not seem to be running inside a container [2021-11-01T02:08:00.223Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-01T02:08:00.583Z] $ docker top ddb2f62c9d0aca0edda448da4a552012e087a53c5f768ed4ae32f836aae0a4ab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T02:08:00.677Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T02:08:00.677Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T02:08:00.777Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T02:08:00.779Z] $ docker exec ddb2f62c9d0aca0edda448da4a552012e087a53c5f768ed4ae32f836aae0a4ab ssh-agent [2021-11-01T02:08:00.888Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLOdeoL/agent.15 [2021-11-01T02:08:00.888Z] SSH_AGENT_PID=21 [2021-11-01T02:08:00.895Z] Running ssh-add (command line suppressed) [2021-11-01T02:08:01.002Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5450768300862577321.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5450768300862577321.key) [2021-11-01T02:08:01.017Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T02:08:01.316Z] + git semver bump pre [2021-11-01T02:08:01.316Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T02:08:01.316Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-11-01T02:08:01.316Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-11-01T02:08:01.316Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T02:08:01.316Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T02:08:01.316Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T02:08:01.316Z] # $SEMVER_BRANCH = main [2021-11-01T02:08:01.316Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2021-11-01T02:08:01.316Z] 2.0.1-dev.9 [Pipeline] } [2021-11-01T02:08:01.322Z] $ docker exec --env ******** --env ******** ddb2f62c9d0aca0edda448da4a552012e087a53c5f768ed4ae32f836aae0a4ab ssh-agent -k [2021-11-01T02:08:01.410Z] unset SSH_AUTH_SOCK; [2021-11-01T02:08:01.410Z] unset SSH_AGENT_PID; [2021-11-01T02:08:01.410Z] echo Agent pid 21 killed; [2021-11-01T02:08:01.421Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T02:08:01.742Z] + git semver [Pipeline] } [2021-11-01T02:08:01.753Z] $ docker stop --time=1 ddb2f62c9d0aca0edda448da4a552012e087a53c5f768ed4ae32f836aae0a4ab [2021-11-01T02:08:02.955Z] $ docker rm -f ddb2f62c9d0aca0edda448da4a552012e087a53c5f768ed4ae32f836aae0a4ab [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:08:03.309Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T02:08:03.309Z] . [Pipeline] withDockerContainer [2021-11-01T02:08:03.371Z] prd-centos7-docker-4c-2g-13611 does not seem to be running inside a container [2021-11-01T02:08:03.406Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-01T02:08:03.798Z] $ docker top 90000dde97039fe2f77e71c5d60c7087dd06150d6f8764b03ffc6a85a5d505dc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T02:08:03.949Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T02:08:03.949Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T02:08:04.084Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T02:08:04.088Z] $ docker exec 90000dde97039fe2f77e71c5d60c7087dd06150d6f8764b03ffc6a85a5d505dc ssh-agent [2021-11-01T02:08:04.238Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFJKJPH/agent.14 [2021-11-01T02:08:04.238Z] SSH_AGENT_PID=21 [2021-11-01T02:08:04.271Z] Running ssh-add (command line suppressed) [2021-11-01T02:08:04.382Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1955050031967749934.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1955050031967749934.key) [2021-11-01T02:08:04.401Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T02:08:04.696Z] + git semver push [2021-11-01T02:08:04.696Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T02:08:04.696Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-11-01T02:08:04.696Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-11-01T02:08:04.696Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T02:08:04.696Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T02:08:04.696Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T02:08:04.696Z] # $SEMVER_BRANCH = main [2021-11-01T02:08:04.696Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2021-11-01T02:08:06.095Z] $ docker exec --env ******** --env ******** 90000dde97039fe2f77e71c5d60c7087dd06150d6f8764b03ffc6a85a5d505dc ssh-agent -k [2021-11-01T02:08:06.188Z] unset SSH_AUTH_SOCK; [2021-11-01T02:08:06.188Z] unset SSH_AGENT_PID; [2021-11-01T02:08:06.188Z] echo Agent pid 21 killed; [2021-11-01T02:08:06.199Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T02:08:06.509Z] + git semver [Pipeline] } [2021-11-01T02:08:06.525Z] $ docker stop --time=1 90000dde97039fe2f77e71c5d60c7087dd06150d6f8764b03ffc6a85a5d505dc [2021-11-01T02:08:07.715Z] $ docker rm -f 90000dde97039fe2f77e71c5d60c7087dd06150d6f8764b03ffc6a85a5d505dc [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-01T02:08:08.693Z] + '[' -d /w/workspace/gexfoundry_device-modbus-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:08:08.987Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:08:09.548Z] ---> package-listing.sh [2021-11-01T02:08:09.548Z] ++ facter osfamily [2021-11-01T02:08:09.548Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-01T02:08:09.814Z] + OS_FAMILY=redhat [2021-11-01T02:08:09.814Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2021-11-01T02:08:09.814Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-01T02:08:09.814Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-01T02:08:09.814Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-01T02:08:09.814Z] + PACKAGES=/tmp/packages_start.txt [2021-11-01T02:08:09.814Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2021-11-01T02:08:09.814Z] + PACKAGES=/tmp/packages_end.txt [2021-11-01T02:08:09.814Z] + case "${OS_FAMILY}" in [2021-11-01T02:08:09.814Z] + sort [2021-11-01T02:08:09.814Z] + rpm -qa [2021-11-01T02:08:10.755Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-01T02:08:10.755Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-01T02:08:10.755Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-01T02:08:10.755Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2021-11-01T02:08:10.755Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2021-11-01T02:08:10.755Z] + 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-01T02:08:10.768Z] 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-01T02:08:11.055Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:08:11.616Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T02:08:11.616Z] [2021-11-01T02:08:11.616Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:08:11.914Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T02:08:11.915Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-01T02:08:11.915Z] b4d181a07f80: Pulling fs layer [2021-11-01T02:08:11.915Z] a1111a8f2ec3: Pulling fs layer [2021-11-01T02:08:11.915Z] ed53099fbce6: Pulling fs layer [2021-11-01T02:08:11.915Z] dc539afda2c1: Pulling fs layer [2021-11-01T02:08:11.915Z] 77bc0d833cb6: Pulling fs layer [2021-11-01T02:08:11.915Z] 9065ff56babe: Pulling fs layer [2021-11-01T02:08:11.915Z] d287ab97295c: Pulling fs layer [2021-11-01T02:08:11.915Z] 77bc0d833cb6: Waiting [2021-11-01T02:08:11.915Z] 9065ff56babe: Waiting [2021-11-01T02:08:11.915Z] d287ab97295c: Waiting [2021-11-01T02:08:11.915Z] dc539afda2c1: Waiting [2021-11-01T02:08:11.915Z] a1111a8f2ec3: Verifying Checksum [2021-11-01T02:08:11.915Z] a1111a8f2ec3: Download complete [2021-11-01T02:08:11.915Z] dc539afda2c1: Verifying Checksum [2021-11-01T02:08:11.915Z] dc539afda2c1: Download complete [2021-11-01T02:08:12.180Z] ed53099fbce6: Verifying Checksum [2021-11-01T02:08:12.180Z] ed53099fbce6: Download complete [2021-11-01T02:08:12.180Z] 9065ff56babe: Verifying Checksum [2021-11-01T02:08:12.180Z] 9065ff56babe: Download complete [2021-11-01T02:08:12.180Z] 77bc0d833cb6: Verifying Checksum [2021-11-01T02:08:12.180Z] 77bc0d833cb6: Download complete [2021-11-01T02:08:12.180Z] b4d181a07f80: Verifying Checksum [2021-11-01T02:08:12.180Z] b4d181a07f80: Download complete [2021-11-01T02:08:12.762Z] d287ab97295c: Verifying Checksum [2021-11-01T02:08:12.762Z] d287ab97295c: Download complete [2021-11-01T02:08:13.733Z] b4d181a07f80: Pull complete [2021-11-01T02:08:13.996Z] a1111a8f2ec3: Pull complete [2021-11-01T02:08:14.576Z] ed53099fbce6: Pull complete [2021-11-01T02:08:14.576Z] dc539afda2c1: Pull complete [2021-11-01T02:08:14.840Z] 77bc0d833cb6: Pull complete [2021-11-01T02:08:14.840Z] 9065ff56babe: Pull complete [2021-11-01T02:08:20.173Z] d287ab97295c: Pull complete [2021-11-01T02:08:20.173Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-01T02:08:20.173Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T02:08:20.173Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-01T02:08:20.239Z] prd-centos7-docker-4c-2g-13611 does not seem to be running inside a container [2021-11-01T02:08:20.276Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-01T02:08:22.552Z] $ docker top b2f5483d5553aa5afa3fc4783aa5d9c34a9d6a0ea6516b707e076c890f266ec5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-01T02:08:22.911Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-01T02:08:23.201Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-01T02:08:23.499Z] + ls /var/log/sa-host [2021-11-01T02:08:23.499Z] + sadf -c /var/log/sa-host/sa01 [2021-11-01T02:08:23.499Z] file_magic: OK [2021-11-01T02:08:23.499Z] HZ: Using current value: 100 [2021-11-01T02:08:23.499Z] file_header: OK [2021-11-01T02:08:23.499Z] 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-01T02:08:23.499Z] Statistics: [2021-11-01T02:08:23.499Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-01T02:08:23.499Z] File successfully converted to sysstat format version 12.0.3 [2021-11-01T02:08:23.499Z] + sadf -c /var/log/sa-host/sa30 [2021-11-01T02:08:23.499Z] file_magic: OK [2021-11-01T02:08:23.499Z] HZ: Using current value: 100 [2021-11-01T02:08:23.499Z] file_header: OK [2021-11-01T02:08:23.499Z] 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-01T02:08:23.499Z] Statistics: [2021-11-01T02:08:23.499Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-01T02:08:23.499Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T02:08:23.601Z] provisioning config files... [2021-11-01T02:08:23.620Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7749993972660867998tmp [Pipeline] { [Pipeline] echo [2021-11-01T02:08:23.632Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:08:23.923Z] ---> create-netrc.sh [Pipeline] } [2021-11-01T02:08:23.930Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:08:24.270Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-01T02:08:24.278Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:08:24.575Z] ---> sudo-logs.sh [2021-11-01T02:08:24.575Z] Archiving 'sudo' log.. [2021-11-01T02:08:24.575Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13611.novalocal: Name or service not known [2021-11-01T02:08:24.575Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13611.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-01T02:08:24.600Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:08:24.889Z] ---> job-cost.sh [2021-11-01T02:08:24.889Z] lf-activate-venv: SKIPPING [2021-11-01T02:08:24.889Z] DEBUG: total: 0.10999999940395355 [2021-11-01T02:08:24.889Z] INFO: Retrieving Stack Cost... [2021-11-01T02:08:25.152Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-01T02:08:25.413Z] INFO: Archiving Costs [Pipeline] echo [2021-11-01T02:08:25.429Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:08:25.718Z] ---> logs-deploy.sh [2021-11-01T02:08:25.718Z] lf-activate-venv: SKIPPING [2021-11-01T02:08:25.718Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/11 [2021-11-01T02:08:25.718Z] INFO: archiving workspace using pattern(s): [2021-11-01T02:08:26.661Z] Archives upload complete. [2021-11-01T02:08:26.661Z] INFO: archiving logs to Nexus