Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 159a8a861e29f2433d7a50979645c48e0f5e62c9 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-ssh8297863861126727654.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-ssh501313792530002687.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-ssh3981148670118916551.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-ssh1042158933054644134.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-ssh3632346072177246995.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-27910 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-ssh1010806917380290520.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 159a8a861e29f2433d7a50979645c48e0f5e62c9 (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 159a8a861e29f2433d7a50979645c48e0f5e62c9 # timeout=10 Commit message: "Merge pull request #292 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.0.1-dev.28" > git rev-list --no-walk e9f0d89f8cfabfca8c60418791cfe6d3382bb269 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-08T05:25:49.491Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-08T05:25:49.536Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-08T05:25:49.550Z] ========================================================= [2021-11-08T05:25:49.550Z] EdgeX Global Pipelines Version Info [2021-11-08T05:25:49.550Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-08T05:25:50.694Z] ------------------- [2021-11-08T05:25:50.695Z] stable info: [2021-11-08T05:25:50.695Z] ------------------- [2021-11-08T05:25:50.695Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-08T05:25:50.695Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-08T05:25:50.695Z] Message: update stable to v1.0.211 [2021-11-08T05:25:51.290Z] ------------------- [2021-11-08T05:25:51.290Z] experimental info: [2021-11-08T05:25:51.290Z] ------------------- [2021-11-08T05:25:51.290Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-08T05:25:51.290Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-08T05:25:51.290Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-08T05:25:51.370Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-11-08T05:25:51.385Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-11-08T05:25:51.394Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-08T05:25:51.404Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-08T05:25:51.416Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-08T05:25:51.426Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-08T05:25:51.437Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-08T05:25:51.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-08T05:25:51.460Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-08T05:25:51.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-08T05:25:51.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-08T05:25:51.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-11-08T05:25:51.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-08T05:25:51.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-08T05:25:51.523Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-08T05:25:51.533Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-08T05:25:51.543Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-08T05:25:51.554Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-08T05:25:51.564Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-08T05:25:51.574Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-11-08T05:25:51.584Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-08T05:25:51.594Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-08T05:25:51.605Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-08T05:25:51.615Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-08T05:25:51.625Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-08T05:25:51.637Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-08T05:25:51.647Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-08T05:25:51.657Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-08T05:25:51.668Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-08T05:25:51.678Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 159a8a861e29f2433d7a50979645c48e0f5e62c9 [Pipeline] echo [2021-11-08T05:25:51.690Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 159a8a8 [Pipeline] echo [2021-11-08T05:25:51.701Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-08T05:25:51.746Z] provisioning config files... [2021-11-08T05:25:51.759Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8116573097151960778tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-08T05:25:52.069Z] ---> docker-login.sh [2021-11-08T05:25:52.069Z] nexus3.edgexfoundry.org:10001 [2021-11-08T05:25:52.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T05:25:52.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T05:25:52.337Z] Configure a credential helper to remove this warning. See [2021-11-08T05:25:52.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T05:25:52.337Z] [2021-11-08T05:25:52.337Z] Login Succeeded [2021-11-08T05:25:52.337Z] nexus3.edgexfoundry.org:10002 [2021-11-08T05:25:52.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T05:25:52.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T05:25:52.337Z] Configure a credential helper to remove this warning. See [2021-11-08T05:25:52.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T05:25:52.337Z] [2021-11-08T05:25:52.337Z] Login Succeeded [2021-11-08T05:25:52.337Z] nexus3.edgexfoundry.org:10003 [2021-11-08T05:25:52.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T05:25:52.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T05:25:52.599Z] Configure a credential helper to remove this warning. See [2021-11-08T05:25:52.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T05:25:52.599Z] [2021-11-08T05:25:52.599Z] Login Succeeded [2021-11-08T05:25:52.599Z] nexus3.edgexfoundry.org:10004 [2021-11-08T05:25:52.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T05:25:52.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T05:25:52.599Z] Configure a credential helper to remove this warning. See [2021-11-08T05:25:52.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T05:25:52.599Z] [2021-11-08T05:25:52.599Z] Login Succeeded [2021-11-08T05:25:52.599Z] docker.io [2021-11-08T05:25:52.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T05:25:53.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T05:25:53.173Z] Configure a credential helper to remove this warning. See [2021-11-08T05:25:53.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T05:25:53.173Z] [2021-11-08T05:25:53.173Z] Login Succeeded [2021-11-08T05:25:53.173Z] ---> docker-login.sh ends [Pipeline] } [2021-11-08T05:25:53.180Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-08T05:25:53.624Z] + git rev-list -1 --merges 159a8a861e29f2433d7a50979645c48e0f5e62c9~1..159a8a861e29f2433d7a50979645c48e0f5e62c9 [Pipeline] echo [2021-11-08T05:25:53.657Z] -----------> git rev-list -1 --merges 159a8a861e29f2433d7a50979645c48e0f5e62c9~1..159a8a861e29f2433d7a50979645c48e0f5e62c9 159a8a861e29f2433d7a50979645c48e0f5e62c9 [2021-11-08T05:25:53.657Z] 159a8a861e29f2433d7a50979645c48e0f5e62c9 [false] [Pipeline] sh [2021-11-08T05:25:53.959Z] + git log --format=format:%s -1 159a8a861e29f2433d7a50979645c48e0f5e62c9 [Pipeline] echo [2021-11-08T05:25:53.979Z] ========================================================= [2021-11-08T05:25:53.979Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-08T05:25:53.979Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-08T05:25:54.327Z] + git log --format=format:%s -1 159a8a861e29f2433d7a50979645c48e0f5e62c9 [Pipeline] echo [2021-11-08T05:25:54.339Z] [semverPrep] GIT_COMMIT: 159a8a861e29f2433d7a50979645c48e0f5e62c9, Commit Message: Merge pull request #292 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.0.1-dev.28 [Pipeline] echo [2021-11-08T05:25:54.351Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:25:54.988Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-08T05:25:54.988Z] [2021-11-08T05:25:54.988Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:25:55.289Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-08T05:25:55.289Z] latest: Pulling from edgex-devops/git-semver [2021-11-08T05:25:55.289Z] a0d0a0d46f8b: Pulling fs layer [2021-11-08T05:25:55.289Z] 3e5f54012d9b: Pulling fs layer [2021-11-08T05:25:55.289Z] 4c7163046ea9: Pulling fs layer [2021-11-08T05:25:55.289Z] 0c2d73faf560: Pulling fs layer [2021-11-08T05:25:55.289Z] 0c2d73faf560: Waiting [2021-11-08T05:25:55.289Z] 3e5f54012d9b: Verifying Checksum [2021-11-08T05:25:55.289Z] 3e5f54012d9b: Download complete [2021-11-08T05:25:55.289Z] a0d0a0d46f8b: Verifying Checksum [2021-11-08T05:25:55.289Z] a0d0a0d46f8b: Download complete [2021-11-08T05:25:55.289Z] 4c7163046ea9: Verifying Checksum [2021-11-08T05:25:55.289Z] 4c7163046ea9: Download complete [2021-11-08T05:25:55.552Z] 0c2d73faf560: Verifying Checksum [2021-11-08T05:25:55.552Z] 0c2d73faf560: Download complete [2021-11-08T05:25:55.552Z] a0d0a0d46f8b: Pull complete [2021-11-08T05:25:55.552Z] 3e5f54012d9b: Pull complete [2021-11-08T05:25:56.128Z] 4c7163046ea9: Pull complete [2021-11-08T05:25:56.128Z] 0c2d73faf560: Pull complete [2021-11-08T05:25:56.128Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-08T05:25:56.128Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-08T05:25:56.128Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-08T05:25:56.206Z] prd-centos7-docker-4c-2g-27910 does not seem to be running inside a container [2021-11-08T05:25:56.244Z] $ 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-08T05:25:56.937Z] $ docker top 33fc9758a433c7dee482ee39e4f47048cdcbd329883ea240fc776b6cf6411abd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-08T05:25:57.033Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-08T05:25:57.033Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-08T05:25:57.160Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-08T05:25:57.163Z] $ docker exec 33fc9758a433c7dee482ee39e4f47048cdcbd329883ea240fc776b6cf6411abd ssh-agent [2021-11-08T05:25:57.281Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXohaoDO/agent.14 [2021-11-08T05:25:57.281Z] SSH_AGENT_PID=21 [2021-11-08T05:25:57.291Z] Running ssh-add (command line suppressed) [2021-11-08T05:25:57.405Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8662102502981731065.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8662102502981731065.key) [2021-11-08T05:25:57.418Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-08T05:25:57.714Z] + git tag --points-at HEAD [Pipeline] } [2021-11-08T05:25:57.727Z] $ docker exec --env ******** --env ******** 33fc9758a433c7dee482ee39e4f47048cdcbd329883ea240fc776b6cf6411abd ssh-agent -k [2021-11-08T05:25:57.823Z] unset SSH_AUTH_SOCK; [2021-11-08T05:25:57.823Z] unset SSH_AGENT_PID; [2021-11-08T05:25:57.823Z] echo Agent pid 21 killed; [2021-11-08T05:25:57.829Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-08T05:25:57.854Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-08T05:25:57.854Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-08T05:25:57.974Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-08T05:25:57.977Z] $ docker exec 33fc9758a433c7dee482ee39e4f47048cdcbd329883ea240fc776b6cf6411abd ssh-agent [2021-11-08T05:25:58.090Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDEOHeI/agent.54 [2021-11-08T05:25:58.090Z] SSH_AGENT_PID=60 [2021-11-08T05:25:58.094Z] Running ssh-add (command line suppressed) [2021-11-08T05:25:58.199Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2502578212391827533.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2502578212391827533.key) [2021-11-08T05:25:58.214Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-08T05:25:58.504Z] + git semver init [2021-11-08T05:25:58.504Z] # -> Open(): unable to determine branch for HEAD [2021-11-08T05:25:58.504Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-11-08T05:25:58.504Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-11-08T05:25:58.504Z] # $SEMVER_REMOTE_NAME = origin [2021-11-08T05:25:58.504Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-08T05:25:58.504Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-08T05:25:58.504Z] # $SEMVER_BRANCH = main [2021-11-08T05:25:58.504Z] # $SEMVER_TEMP = /tmp/semver-000722305 [2021-11-08T05:25:58.504Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-11-08T05:25:59.076Z] # '/tmp/semver-000722305' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' [2021-11-08T05:25:59.076Z] # -> Force: false [2021-11-08T05:25:59.076Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2021-11-08T05:25:59.085Z] $ docker exec --env ******** --env ******** 33fc9758a433c7dee482ee39e4f47048cdcbd329883ea240fc776b6cf6411abd ssh-agent -k [2021-11-08T05:25:59.172Z] unset SSH_AUTH_SOCK; [2021-11-08T05:25:59.173Z] unset SSH_AGENT_PID; [2021-11-08T05:25:59.173Z] echo Agent pid 60 killed; [2021-11-08T05:25:59.183Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-08T05:25:59.496Z] + git semver [Pipeline] } [2021-11-08T05:25:59.508Z] $ docker stop --time=1 33fc9758a433c7dee482ee39e4f47048cdcbd329883ea240fc776b6cf6411abd [2021-11-08T05:26:00.737Z] $ docker rm -f 33fc9758a433c7dee482ee39e4f47048cdcbd329883ea240fc776b6cf6411abd [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-08T05:26:01.071Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-08T05:26:01.304Z] Stashed 1 file(s) [Pipeline] echo [2021-11-08T05:26:01.306Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.10 [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-08T05:26:16.446Z] Still waiting to schedule task [2021-11-08T05:26:16.447Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-08T05:26:16.449Z] Still waiting to schedule task [2021-11-08T05:26:16.449Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-27907’ is offline [2021-11-08T05:27:42.492Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27911 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2021-11-08T05:27:42.505Z] Running in /w/workspace/device-modbus-go/13 [Pipeline] { [Pipeline] checkout [2021-11-08T05:27:42.718Z] Selected Git installation does not exist. Using Default [2021-11-08T05:27:42.718Z] The recommended git tool is: NONE [2021-11-08T05:27:49.320Z] using credential edgex-jenkins-ssh [2021-11-08T05:27:49.336Z] Cloning the remote Git repository [2021-11-08T05:27:49.396Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-11-08T05:27:49.503Z] > git init /w/workspace/device-modbus-go/13 # timeout=10 [2021-11-08T05:27:49.596Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-11-08T05:27:49.596Z] > git --version # timeout=10 [2021-11-08T05:27:49.615Z] > git --version # 'git version 2.17.1' [2021-11-08T05:27:49.617Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-08T05:27:49.691Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-08T05:27:50.506Z] Avoid second fetch [2021-11-08T05:27:50.507Z] Checking out Revision 159a8a861e29f2433d7a50979645c48e0f5e62c9 (main) [2021-11-08T05:27:50.466Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-11-08T05:27:50.483Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-08T05:27:50.523Z] > git config core.sparsecheckout # timeout=10 [2021-11-08T05:27:50.541Z] > git checkout -f 159a8a861e29f2433d7a50979645c48e0f5e62c9 # timeout=10 [2021-11-08T05:27:54.684Z] Commit message: "Merge pull request #292 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.0.1-dev.28" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-08T05:27:55.676Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-08T05:27:55.676Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-08T05:27:55.676Z] Dload Upload Total Spent Left Speed [2021-11-08T05:27:55.676Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 90953 0 --:--:-- --:--:-- --:--:-- 90953 [Pipeline] sh [2021-11-08T05:27:56.066Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-08T05:27:56.406Z] + sudo tee /etc/docker/daemon.new [2021-11-08T05:27:56.407Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-08T05:27:56.407Z] { [2021-11-08T05:27:56.407Z] "registry-mirrors": [ [2021-11-08T05:27:56.407Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-08T05:27:56.407Z] ], [2021-11-08T05:27:56.407Z] "bip": "10.250.0.254/24", [2021-11-08T05:27:56.407Z] "hosts": [ [2021-11-08T05:27:56.407Z] "tcp://0.0.0.0:5555", [2021-11-08T05:27:56.407Z] "unix:///var/run/docker.sock" [2021-11-08T05:27:56.407Z] ], [2021-11-08T05:27:56.407Z] "mtu": 1458, [2021-11-08T05:27:56.407Z] "selinux-enabled": true, [2021-11-08T05:27:56.407Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-08T05:27:56.407Z] } [Pipeline] sh [2021-11-08T05:27:56.748Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-08T05:27:57.081Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-08T05:28:15.405Z] provisioning config files... [2021-11-08T05:28:15.426Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/13@tmp/config6775680342901992914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-08T05:28:15.826Z] ---> docker-login.sh [2021-11-08T05:28:15.826Z] nexus3.edgexfoundry.org:10001 [2021-11-08T05:28:16.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T05:28:16.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T05:28:16.715Z] Configure a credential helper to remove this warning. See [2021-11-08T05:28:16.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T05:28:16.715Z] [2021-11-08T05:28:16.715Z] Login Succeeded [2021-11-08T05:28:16.715Z] nexus3.edgexfoundry.org:10002 [2021-11-08T05:28:16.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T05:28:17.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T05:28:17.258Z] Configure a credential helper to remove this warning. See [2021-11-08T05:28:17.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T05:28:17.258Z] [2021-11-08T05:28:17.258Z] Login Succeeded [2021-11-08T05:28:17.258Z] nexus3.edgexfoundry.org:10003 [2021-11-08T05:28:17.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T05:28:17.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T05:28:17.809Z] Configure a credential helper to remove this warning. See [2021-11-08T05:28:17.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T05:28:17.809Z] [2021-11-08T05:28:17.809Z] Login Succeeded [2021-11-08T05:28:17.809Z] nexus3.edgexfoundry.org:10004 [2021-11-08T05:28:18.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T05:28:18.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T05:28:18.081Z] Configure a credential helper to remove this warning. See [2021-11-08T05:28:18.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T05:28:18.081Z] [2021-11-08T05:28:18.081Z] Login Succeeded [2021-11-08T05:28:18.081Z] docker.io [2021-11-08T05:28:18.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T05:28:18.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T05:28:18.947Z] Configure a credential helper to remove this warning. See [2021-11-08T05:28:18.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T05:28:18.947Z] [2021-11-08T05:28:18.947Z] Login Succeeded [2021-11-08T05:28:18.947Z] ---> docker-login.sh ends [Pipeline] } [2021-11-08T05:28:18.964Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-08T05:28:19.220Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-08T05:28:19.230Z] ========================================================= [2021-11-08T05:28:19.230Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-08T05:28:19.230Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:28:19.566Z] + 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-08T05:28:19.840Z] Sending build context to Docker daemon 702.5kB [2021-11-08T05:28:19.840Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2021-11-08T05:28:19.840Z] Step 2/9 : FROM ${BASE} AS builder [2021-11-08T05:28:20.116Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-08T05:28:20.116Z] 552d1f2373af: Pulling fs layer [2021-11-08T05:28:20.116Z] ea3f2d53f512: Pulling fs layer [2021-11-08T05:28:20.116Z] 9e70ebbbe112: Pulling fs layer [2021-11-08T05:28:20.116Z] 7a9cfe048b4a: Pulling fs layer [2021-11-08T05:28:20.116Z] 72dc09318566: Pulling fs layer [2021-11-08T05:28:20.116Z] f4f7b4309257: Pulling fs layer [2021-11-08T05:28:20.116Z] 0ac9a79272e3: Pulling fs layer [2021-11-08T05:28:20.116Z] b78e95d17946: Pulling fs layer [2021-11-08T05:28:20.116Z] 7a9cfe048b4a: Waiting [2021-11-08T05:28:20.116Z] 72dc09318566: Waiting [2021-11-08T05:28:20.116Z] f4f7b4309257: Waiting [2021-11-08T05:28:20.116Z] b78e95d17946: Waiting [2021-11-08T05:28:20.116Z] 0ac9a79272e3: Waiting [2021-11-08T05:28:20.116Z] 9e70ebbbe112: Download complete [2021-11-08T05:28:20.116Z] ea3f2d53f512: Verifying Checksum [2021-11-08T05:28:20.116Z] ea3f2d53f512: Download complete [2021-11-08T05:28:20.116Z] 72dc09318566: Verifying Checksum [2021-11-08T05:28:20.116Z] 72dc09318566: Download complete [2021-11-08T05:28:20.116Z] f4f7b4309257: Verifying Checksum [2021-11-08T05:28:20.116Z] f4f7b4309257: Download complete [2021-11-08T05:28:20.116Z] 0ac9a79272e3: Verifying Checksum [2021-11-08T05:28:20.116Z] 0ac9a79272e3: Download complete [2021-11-08T05:28:20.116Z] 552d1f2373af: Verifying Checksum [2021-11-08T05:28:20.116Z] 552d1f2373af: Download complete [2021-11-08T05:28:21.108Z] 552d1f2373af: Pull complete [2021-11-08T05:28:21.722Z] ea3f2d53f512: Pull complete [2021-11-08T05:28:21.997Z] 9e70ebbbe112: Pull complete [2021-11-08T05:28:22.278Z] b78e95d17946: Verifying Checksum [2021-11-08T05:28:22.278Z] b78e95d17946: Download complete [2021-11-08T05:28:22.553Z] 7a9cfe048b4a: Verifying Checksum [2021-11-08T05:28:22.553Z] 7a9cfe048b4a: Download complete [2021-11-08T05:28:32.398Z] Running on prd-centos7-docker-4c-2g-27912 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2021-11-08T05:28:32.408Z] Running in /w/workspace/device-modbus-go/13 [Pipeline] { [Pipeline] checkout [2021-11-08T05:28:32.489Z] Selected Git installation does not exist. Using Default [2021-11-08T05:28:32.489Z] The recommended git tool is: NONE [2021-11-08T05:28:34.357Z] using credential edgex-jenkins-ssh [2021-11-08T05:28:34.367Z] Cloning the remote Git repository [2021-11-08T05:28:34.636Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-11-08T05:28:34.683Z] > git init /w/workspace/device-modbus-go/13 # timeout=10 [2021-11-08T05:28:34.717Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-11-08T05:28:34.717Z] > git --version # timeout=10 [2021-11-08T05:28:34.722Z] > git --version # 'git version 2.24.4' [2021-11-08T05:28:34.723Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-08T05:28:34.746Z] [INFO] Currently running in a labeled security context [2021-11-08T05:28:34.746Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-08T05:28:34.746Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/13@tmp/jenkins-gitclient-ssh1264046876869956528.key [2021-11-08T05:28:34.770Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-08T05:28:34.975Z] 7a9cfe048b4a: Pull complete [2021-11-08T05:28:34.975Z] 72dc09318566: Pull complete [2021-11-08T05:28:34.975Z] f4f7b4309257: Pull complete [2021-11-08T05:28:34.975Z] 0ac9a79272e3: Pull complete [2021-11-08T05:28:35.232Z] Avoid second fetch [2021-11-08T05:28:35.233Z] Checking out Revision 159a8a861e29f2433d7a50979645c48e0f5e62c9 (main) [2021-11-08T05:28:35.472Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-11-08T05:28:35.481Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-08T05:28:35.495Z] > git config core.sparsecheckout # timeout=10 [2021-11-08T05:28:35.500Z] > git checkout -f 159a8a861e29f2433d7a50979645c48e0f5e62c9 # timeout=10 [2021-11-08T05:28:38.815Z] Commit message: "Merge pull request #292 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.0.1-dev.28" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-08T05:28:39.138Z] provisioning config files... [2021-11-08T05:28:39.149Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/13@tmp/config2631803727643309382tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-08T05:28:39.548Z] ---> docker-login.sh [2021-11-08T05:28:39.549Z] nexus3.edgexfoundry.org:10001 [2021-11-08T05:28:39.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T05:28:39.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T05:28:39.549Z] Configure a credential helper to remove this warning. See [2021-11-08T05:28:39.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T05:28:39.549Z] [2021-11-08T05:28:39.549Z] Login Succeeded [2021-11-08T05:28:39.549Z] nexus3.edgexfoundry.org:10002 [2021-11-08T05:28:39.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T05:28:39.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T05:28:39.809Z] Configure a credential helper to remove this warning. See [2021-11-08T05:28:39.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T05:28:39.809Z] [2021-11-08T05:28:39.809Z] Login Succeeded [2021-11-08T05:28:39.809Z] nexus3.edgexfoundry.org:10003 [2021-11-08T05:28:39.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T05:28:39.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T05:28:39.809Z] Configure a credential helper to remove this warning. See [2021-11-08T05:28:39.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T05:28:39.809Z] [2021-11-08T05:28:39.809Z] Login Succeeded [2021-11-08T05:28:39.809Z] nexus3.edgexfoundry.org:10004 [2021-11-08T05:28:39.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T05:28:40.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T05:28:40.071Z] Configure a credential helper to remove this warning. See [2021-11-08T05:28:40.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T05:28:40.071Z] [2021-11-08T05:28:40.071Z] Login Succeeded [2021-11-08T05:28:40.071Z] docker.io [2021-11-08T05:28:40.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T05:28:40.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T05:28:40.331Z] Configure a credential helper to remove this warning. See [2021-11-08T05:28:40.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T05:28:40.331Z] [2021-11-08T05:28:40.331Z] Login Succeeded [2021-11-08T05:28:40.331Z] ---> docker-login.sh ends [Pipeline] } [2021-11-08T05:28:40.363Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-08T05:28:40.380Z] b78e95d17946: Pull complete [2021-11-08T05:28:40.380Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-08T05:28:40.380Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-08T05:28:40.380Z] ---> 8b459fc5aaf0 [2021-11-08T05:28:40.380Z] Step 3/9 : ARG MAKE='make build' [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-08T05:28:40.489Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-08T05:28:40.497Z] ========================================================= [2021-11-08T05:28:40.497Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-08T05:28:40.497Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:28:40.809Z] + 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-08T05:28:40.809Z] Sending build context to Docker daemon 704kB [2021-11-08T05:28:40.809Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2021-11-08T05:28:40.809Z] Step 2/9 : FROM ${BASE} AS builder [2021-11-08T05:28:40.809Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-08T05:28:40.809Z] a0d0a0d46f8b: Pulling fs layer [2021-11-08T05:28:40.809Z] 31adcdaf11c8: Pulling fs layer [2021-11-08T05:28:40.809Z] b8b176561691: Pulling fs layer [2021-11-08T05:28:40.809Z] 4527c011a84f: Pulling fs layer [2021-11-08T05:28:40.809Z] 5d74067f8e1e: Pulling fs layer [2021-11-08T05:28:40.809Z] e0aca202a116: Pulling fs layer [2021-11-08T05:28:40.809Z] 3a43be97a3b4: Pulling fs layer [2021-11-08T05:28:40.809Z] 34cad66bf833: Pulling fs layer [2021-11-08T05:28:40.809Z] b4e3c513aaa6: Pulling fs layer [2021-11-08T05:28:40.809Z] 4527c011a84f: Waiting [2021-11-08T05:28:40.809Z] 3a43be97a3b4: Waiting [2021-11-08T05:28:40.809Z] 34cad66bf833: Waiting [2021-11-08T05:28:40.809Z] 5d74067f8e1e: Waiting [2021-11-08T05:28:40.809Z] b4e3c513aaa6: Waiting [2021-11-08T05:28:40.809Z] e0aca202a116: Waiting [2021-11-08T05:28:40.809Z] b8b176561691: Verifying Checksum [2021-11-08T05:28:40.809Z] b8b176561691: Download complete [2021-11-08T05:28:40.809Z] 31adcdaf11c8: Verifying Checksum [2021-11-08T05:28:40.809Z] 31adcdaf11c8: Download complete [2021-11-08T05:28:40.809Z] 5d74067f8e1e: Verifying Checksum [2021-11-08T05:28:40.809Z] 5d74067f8e1e: Download complete [2021-11-08T05:28:40.809Z] e0aca202a116: Verifying Checksum [2021-11-08T05:28:40.809Z] e0aca202a116: Download complete [2021-11-08T05:28:40.809Z] a0d0a0d46f8b: Verifying Checksum [2021-11-08T05:28:40.809Z] a0d0a0d46f8b: Download complete [2021-11-08T05:28:41.074Z] 3a43be97a3b4: Verifying Checksum [2021-11-08T05:28:41.074Z] 3a43be97a3b4: Download complete [2021-11-08T05:28:41.074Z] 34cad66bf833: Verifying Checksum [2021-11-08T05:28:41.074Z] 34cad66bf833: Download complete [2021-11-08T05:28:41.354Z] a0d0a0d46f8b: Pull complete [2021-11-08T05:28:41.360Z] ---> Running in c172846e1d38 [2021-11-08T05:28:41.621Z] b4e3c513aaa6: Verifying Checksum [2021-11-08T05:28:41.621Z] b4e3c513aaa6: Download complete [2021-11-08T05:28:41.621Z] 4527c011a84f: Verifying Checksum [2021-11-08T05:28:41.621Z] 4527c011a84f: Download complete [2021-11-08T05:28:41.621Z] 31adcdaf11c8: Pull complete [2021-11-08T05:28:41.621Z] b8b176561691: Pull complete [2021-11-08T05:28:41.657Z] Removing intermediate container c172846e1d38 [2021-11-08T05:28:41.657Z] ---> bc87e6a42a90 [2021-11-08T05:28:41.657Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-08T05:28:42.003Z] ---> Running in 1f2333398e43 [2021-11-08T05:28:43.989Z] Removing intermediate container 1f2333398e43 [2021-11-08T05:28:43.989Z] ---> 9df0b40991fa [2021-11-08T05:28:43.989Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-11-08T05:28:43.989Z] ---> Running in 0c18ef0c582c [2021-11-08T05:28:44.971Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-08T05:28:45.849Z] 4527c011a84f: Pull complete [2021-11-08T05:28:45.849Z] 5d74067f8e1e: Pull complete [2021-11-08T05:28:45.849Z] e0aca202a116: Pull complete [2021-11-08T05:28:45.849Z] 3a43be97a3b4: Pull complete [2021-11-08T05:28:45.849Z] 34cad66bf833: Pull complete [2021-11-08T05:28:45.948Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-08T05:28:46.924Z] (1/8) Installing openssh-keygen (8.6_p1-r3) [2021-11-08T05:28:46.924Z] (2/8) Installing libedit (20210216.3.1-r0) [2021-11-08T05:28:46.924Z] (3/8) Installing openssh-client-common (8.6_p1-r3) [2021-11-08T05:28:46.924Z] (4/8) Installing openssh-client-default (8.6_p1-r3) [2021-11-08T05:28:47.194Z] (5/8) Installing openssh-sftp-server (8.6_p1-r3) [2021-11-08T05:28:47.194Z] (6/8) Installing openssh-server-common (8.6_p1-r3) [2021-11-08T05:28:47.194Z] (7/8) Installing openssh-server (8.6_p1-r3) [2021-11-08T05:28:47.469Z] (8/8) Installing openssh (8.6_p1-r3) [2021-11-08T05:28:47.469Z] Executing busybox-1.33.1-r3.trigger [2021-11-08T05:28:47.469Z] OK: 225 MiB in 60 packages [2021-11-08T05:28:47.786Z] b4e3c513aaa6: Pull complete [2021-11-08T05:28:47.786Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-08T05:28:47.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-08T05:28:47.787Z] ---> 9f6097aaca64 [2021-11-08T05:28:47.787Z] Step 3/9 : ARG MAKE='make build' [2021-11-08T05:28:48.448Z] Removing intermediate container 0c18ef0c582c [2021-11-08T05:28:48.449Z] ---> 65aa62b9688e [2021-11-08T05:28:48.449Z] Step 6/9 : WORKDIR /device-modbus-go [2021-11-08T05:28:48.724Z] ---> Running in ae26da64370e [2021-11-08T05:28:49.000Z] Removing intermediate container ae26da64370e [2021-11-08T05:28:49.000Z] ---> 1e756e4f1cec [2021-11-08T05:28:49.000Z] Step 7/9 : COPY . . [2021-11-08T05:28:49.978Z] ---> 009f8c5122e4 [2021-11-08T05:28:49.978Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-08T05:28:50.257Z] ---> Running in d867e24d371f [2021-11-08T05:28:52.010Z] ---> Running in 6be316ca981e [2021-11-08T05:28:52.010Z] Removing intermediate container 6be316ca981e [2021-11-08T05:28:52.010Z] ---> 5d58e0ebc5f8 [2021-11-08T05:28:52.010Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-08T05:28:52.010Z] ---> Running in 44237142a3e5 [2021-11-08T05:28:52.278Z] Removing intermediate container 44237142a3e5 [2021-11-08T05:28:52.278Z] ---> e0671fdafdf8 [2021-11-08T05:28:52.278Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-11-08T05:28:52.278Z] ---> Running in c56d5fe5cb27 [2021-11-08T05:28:52.540Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-08T05:28:53.507Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-08T05:28:53.769Z] (1/8) Installing openssh-keygen (8.6_p1-r3) [2021-11-08T05:28:53.769Z] (2/8) Installing libedit (20210216.3.1-r0) [2021-11-08T05:28:53.769Z] (3/8) Installing openssh-client-common (8.6_p1-r3) [2021-11-08T05:28:54.033Z] (4/8) Installing openssh-client-default (8.6_p1-r3) [2021-11-08T05:28:54.033Z] (5/8) Installing openssh-sftp-server (8.6_p1-r3) [2021-11-08T05:28:54.033Z] (6/8) Installing openssh-server-common (8.6_p1-r3) [2021-11-08T05:28:54.299Z] (7/8) Installing openssh-server (8.6_p1-r3) [2021-11-08T05:28:54.299Z] (8/8) Installing openssh (8.6_p1-r3) [2021-11-08T05:28:54.299Z] Executing busybox-1.33.1-r3.trigger [2021-11-08T05:28:54.299Z] OK: 226 MiB in 60 packages [2021-11-08T05:28:54.877Z] Removing intermediate container c56d5fe5cb27 [2021-11-08T05:28:54.877Z] ---> 9a08092f0a18 [2021-11-08T05:28:54.877Z] Step 6/9 : WORKDIR /device-modbus-go [2021-11-08T05:28:54.877Z] ---> Running in 4592a92d13b3 [2021-11-08T05:28:54.877Z] Removing intermediate container 4592a92d13b3 [2021-11-08T05:28:54.877Z] ---> dd74cced3f6c [2021-11-08T05:28:54.877Z] Step 7/9 : COPY . . [2021-11-08T05:28:55.144Z] ---> a45bf50a34e0 [2021-11-08T05:28:55.144Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-08T05:28:55.144Z] ---> Running in 202c26d501a9 [2021-11-08T05:29:27.361Z] Removing intermediate container 202c26d501a9 [2021-11-08T05:29:27.361Z] ---> 486d87b72294 [2021-11-08T05:29:27.361Z] Step 9/9 : RUN ${MAKE} [2021-11-08T05:29:27.361Z] ---> Running in a91c8c528c08 [2021-11-08T05:29:27.361Z] noop [2021-11-08T05:29:27.361Z] Removing intermediate container a91c8c528c08 [2021-11-08T05:29:27.361Z] ---> a4cf22fb71e2 [2021-11-08T05:29:27.361Z] Successfully built a4cf22fb71e2 [2021-11-08T05:29:27.361Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:29:27.670Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-08T05:29:27.670Z] . [Pipeline] withDockerContainer [2021-11-08T05:29:27.738Z] prd-centos7-docker-4c-2g-27912 does not seem to be running inside a container [2021-11-08T05:29:27.792Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/13 -v /w/workspace/device-modbus-go/13:/w/workspace/device-modbus-go/13:rw,z -v /w/workspace/device-modbus-go/13@tmp:/w/workspace/device-modbus-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-08T05:29:28.175Z] $ docker top 8e1791f04842f1ad60cdf997fb7609c700557c985ecbc7e24762ef168509812c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-08T05:29:28.540Z] + go version [2021-11-08T05:29:28.540Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-08T05:29:28.551Z] $ docker stop --time=1 8e1791f04842f1ad60cdf997fb7609c700557c985ecbc7e24762ef168509812c [2021-11-08T05:29:29.714Z] $ docker rm -f 8e1791f04842f1ad60cdf997fb7609c700557c985ecbc7e24762ef168509812c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:29:30.255Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-08T05:29:30.255Z] . [Pipeline] withDockerContainer [2021-11-08T05:29:30.314Z] prd-centos7-docker-4c-2g-27912 does not seem to be running inside a container [2021-11-08T05:29:30.353Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/13 -v /w/workspace/device-modbus-go/13:/w/workspace/device-modbus-go/13:rw,z -v /w/workspace/device-modbus-go/13@tmp:/w/workspace/device-modbus-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-08T05:29:30.741Z] $ docker top 62883f868b8a2d8ca21c461e5f25019169163d063311e30d80301717ba228720 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-08T05:29:31.113Z] + make test [2021-11-08T05:29:31.113Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-08T05:29:31.374Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-11-08T05:29:49.592Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-11-08T05:29:49.592Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 46.6% of statements [2021-11-08T05:29:49.592Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-08T05:29:53.850Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-08T05:29:54.110Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-08T05:29:54.110Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-08T05:29:54.692Z] $ docker stop --time=1 62883f868b8a2d8ca21c461e5f25019169163d063311e30d80301717ba228720 [2021-11-08T05:29:56.171Z] $ docker rm -f 62883f868b8a2d8ca21c461e5f25019169163d063311e30d80301717ba228720 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-08T05:29:56.564Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-08T05:29:56.728Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-08T05:29:57.959Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-08T05:29:58.252Z] + ls -al . [2021-11-08T05:29:58.252Z] total 152 [2021-11-08T05:29:58.252Z] drwxrwxr-x. 9 jenkins jenkins 4096 Nov 8 05:29 . [2021-11-08T05:29:58.252Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 8 05:28 .. [2021-11-08T05:29:58.252Z] -rw-rw-r--. 1 jenkins jenkins 8010 Nov 8 05:28 Attribution.txt [2021-11-08T05:29:58.252Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 8 05:28 bin [2021-11-08T05:29:58.252Z] -rw-rw-r--. 1 jenkins jenkins 6038 Nov 8 05:28 CHANGELOG.md [2021-11-08T05:29:58.252Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 8 05:28 cmd [2021-11-08T05:29:58.252Z] -rw-r--r--. 1 jenkins jenkins 23727 Nov 8 05:29 coverage.out [2021-11-08T05:29:58.252Z] -rw-rw-r--. 1 jenkins jenkins 1523 Nov 8 05:28 Dockerfile [2021-11-08T05:29:58.252Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 8 05:28 .dockerignore [2021-11-08T05:29:58.252Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 8 05:28 .git [2021-11-08T05:29:58.252Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 8 05:28 .github [2021-11-08T05:29:58.252Z] -rw-rw-r--. 1 jenkins jenkins 331 Nov 8 05:28 .gitignore [2021-11-08T05:29:58.252Z] -rw-rw-r--. 1 jenkins jenkins 308 Nov 8 05:28 go.mod [2021-11-08T05:29:58.252Z] -rw-rw-r--. 1 jenkins jenkins 49577 Nov 8 05:28 go.sum [2021-11-08T05:29:58.252Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 8 05:28 GOVERNANCE.md [2021-11-08T05:29:58.252Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 8 05:28 internal [2021-11-08T05:29:58.252Z] -rw-rw-r--. 1 jenkins jenkins 679 Nov 8 05:28 Jenkinsfile [2021-11-08T05:29:58.252Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 8 05:28 LICENSE [2021-11-08T05:29:58.252Z] -rw-rw-r--. 1 jenkins jenkins 1009 Nov 8 05:28 Makefile [2021-11-08T05:29:58.252Z] -rw-rw-r--. 1 jenkins jenkins 622 Nov 8 05:28 OWNERS.md [2021-11-08T05:29:58.252Z] -rw-rw-r--. 1 jenkins jenkins 2891 Nov 8 05:28 README.md [2021-11-08T05:29:58.252Z] drwxrwxr-x. 2 jenkins jenkins 52 Nov 8 05:28 simulator [2021-11-08T05:29:58.252Z] drwxrwxr-x. 4 jenkins jenkins 71 Nov 8 05:28 snap [2021-11-08T05:29:58.252Z] -rw-rw-r--. 1 jenkins jenkins 12 Nov 8 05:26 VERSION [2021-11-08T05:29:58.252Z] -rw-rw-r--. 1 jenkins jenkins 229 Nov 8 05:28 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:29:58.565Z] + 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=159a8a861e29f2433d7a50979645c48e0f5e62c9 --label arch=amd64 --label version=2.0.1-dev.10 . [2021-11-08T05:29:58.565Z] Sending build context to Docker daemon 728.6kB [2021-11-08T05:29:58.565Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.14 [2021-11-08T05:29:58.565Z] Step 2/22 : FROM ${BASE} AS builder [2021-11-08T05:29:58.565Z] ---> a4cf22fb71e2 [2021-11-08T05:29:58.565Z] Step 3/22 : ARG MAKE='make build' [2021-11-08T05:29:58.565Z] ---> Running in 8064f7a6833b [2021-11-08T05:29:58.565Z] Removing intermediate container 8064f7a6833b [2021-11-08T05:29:58.565Z] ---> 1bfa6d285e15 [2021-11-08T05:29:58.565Z] Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-08T05:29:58.565Z] ---> Running in 93087b93eea6 [2021-11-08T05:29:59.139Z] Removing intermediate container 93087b93eea6 [2021-11-08T05:29:59.139Z] ---> 4dc14eae5ce2 [2021-11-08T05:29:59.139Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-11-08T05:29:59.139Z] ---> Running in 330cc36f4777 [2021-11-08T05:29:59.403Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-08T05:30:00.344Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-08T05:30:00.604Z] OK: 226 MiB in 60 packages [2021-11-08T05:30:00.604Z] Removing intermediate container 330cc36f4777 [2021-11-08T05:30:00.604Z] ---> 89d13d1ac8c2 [2021-11-08T05:30:00.604Z] Step 6/22 : WORKDIR /device-modbus-go [2021-11-08T05:30:00.865Z] ---> Running in c000b8fe36e7 [2021-11-08T05:30:00.865Z] Removing intermediate container c000b8fe36e7 [2021-11-08T05:30:00.865Z] ---> a32d0d69762a [2021-11-08T05:30:00.865Z] Step 7/22 : COPY . . [2021-11-08T05:30:01.126Z] ---> 92ca49c91375 [2021-11-08T05:30:01.126Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-08T05:30:01.126Z] ---> Running in 6a150f3a3a4d [2021-11-08T05:30:01.706Z] Removing intermediate container 6a150f3a3a4d [2021-11-08T05:30:01.706Z] ---> 88b0efd8865c [2021-11-08T05:30:01.706Z] Step 9/22 : RUN ${MAKE} [2021-11-08T05:30:01.706Z] ---> Running in 21a5766054bf [2021-11-08T05:30:01.970Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.10" -o cmd/device-modbus ./cmd [2021-11-08T05:30:12.055Z] Removing intermediate container d867e24d371f [2021-11-08T05:30:12.055Z] ---> 6b6c755a8083 [2021-11-08T05:30:12.055Z] Step 9/9 : RUN ${MAKE} [2021-11-08T05:30:12.055Z] ---> Running in 92f58de19568 [2021-11-08T05:30:12.055Z] noop [2021-11-08T05:30:12.055Z] Removing intermediate container 92f58de19568 [2021-11-08T05:30:12.055Z] ---> 491bf4f34dac [2021-11-08T05:30:12.055Z] Successfully built 491bf4f34dac [2021-11-08T05:30:12.055Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:30:12.410Z] + docker inspect -f . ci-base-image-arm64 [2021-11-08T05:30:12.410Z] . [Pipeline] withDockerContainer [2021-11-08T05:30:12.678Z] prd-ubuntu18.04-docker-arm64-4c-16g-27911 does not seem to be running inside a container [2021-11-08T05:30:12.763Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/13 -v /w/workspace/device-modbus-go/13:/w/workspace/device-modbus-go/13:rw,z -v /w/workspace/device-modbus-go/13@tmp:/w/workspace/device-modbus-go/13@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-08T05:30:14.274Z] $ docker top 53defd3ca216683e7b9e5e6337eeb17d72c81f97767a1757c49cb1882bf25e51 -eo pid,comm [2021-11-08T05:30:14.324Z] Removing intermediate container 21a5766054bf [2021-11-08T05:30:14.324Z] ---> a81397410033 [2021-11-08T05:30:14.324Z] Step 10/22 : FROM alpine:3.14 [Pipeline] { [Pipeline] sh [2021-11-08T05:30:15.207Z] + go version [2021-11-08T05:30:15.207Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-08T05:30:15.224Z] $ docker stop --time=1 53defd3ca216683e7b9e5e6337eeb17d72c81f97767a1757c49cb1882bf25e51 [2021-11-08T05:30:16.869Z] 3.14: Pulling from library/alpine [2021-11-08T05:30:16.869Z] a0d0a0d46f8b: Already exists [2021-11-08T05:30:16.930Z] $ docker rm -f 53defd3ca216683e7b9e5e6337eeb17d72c81f97767a1757c49cb1882bf25e51 [2021-11-08T05:30:17.145Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-08T05:30:17.145Z] Status: Downloaded newer image for alpine:3.14 [2021-11-08T05:30:17.145Z] ---> 14119a10abf4 [2021-11-08T05:30:17.145Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-11-08T05:30:17.145Z] ---> Running in a4dfe2c08eb9 [2021-11-08T05:30:17.145Z] Removing intermediate container a4dfe2c08eb9 [2021-11-08T05:30:17.145Z] ---> 61a92b943bdc [2021-11-08T05:30:17.145Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-08T05:30:17.145Z] ---> Running in a365254cede4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:30:17.567Z] + docker inspect -f . ci-base-image-arm64 [2021-11-08T05:30:17.567Z] . [Pipeline] withDockerContainer [2021-11-08T05:30:17.712Z] Removing intermediate container a365254cede4 [2021-11-08T05:30:17.713Z] ---> 28451e116dee [2021-11-08T05:30:17.713Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-08T05:30:17.713Z] ---> Running in 33cf9f35a08e [2021-11-08T05:30:17.824Z] prd-ubuntu18.04-docker-arm64-4c-16g-27911 does not seem to be running inside a container [2021-11-08T05:30:17.899Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/13 -v /w/workspace/device-modbus-go/13:/w/workspace/device-modbus-go/13:rw,z -v /w/workspace/device-modbus-go/13@tmp:/w/workspace/device-modbus-go/13@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-08T05:30:17.973Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-08T05:30:18.915Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-08T05:30:19.176Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-08T05:30:19.176Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-08T05:30:19.176Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-08T05:30:19.317Z] $ docker top b187106043c0aa66e4fa0fd4eec1f21f45730a9bb9640c3c3f68d03269a05fa7 -eo pid,comm [2021-11-08T05:30:19.436Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-08T05:30:19.436Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-08T05:30:19.436Z] (6/6) Installing zeromq (4.3.4-r0) [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-08T05:30:19.701Z] Executing busybox-1.33.1-r3.trigger [2021-11-08T05:30:19.701Z] OK: 8 MiB in 20 packages [2021-11-08T05:30:19.976Z] Removing intermediate container 33cf9f35a08e [2021-11-08T05:30:19.976Z] ---> 59e1ae0bc3ea [2021-11-08T05:30:19.976Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-11-08T05:30:20.238Z] ---> d2e4ffc95742 [2021-11-08T05:30:20.238Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-11-08T05:30:20.250Z] + make test [2021-11-08T05:30:20.250Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-08T05:30:20.500Z] ---> a22b8cb5b4ff [2021-11-08T05:30:20.500Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-11-08T05:30:20.500Z] ---> 8a4473c7c6e1 [2021-11-08T05:30:20.500Z] Step 17/22 : EXPOSE 59901 [2021-11-08T05:30:20.500Z] ---> Running in 90f57949ab2e [2021-11-08T05:30:20.760Z] Removing intermediate container 90f57949ab2e [2021-11-08T05:30:20.760Z] ---> d7c59cdde65d [2021-11-08T05:30:20.760Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-11-08T05:30:20.760Z] ---> Running in 86187791ca38 [2021-11-08T05:30:20.760Z] Removing intermediate container 86187791ca38 [2021-11-08T05:30:20.760Z] ---> e34160ae0bfe [2021-11-08T05:30:20.760Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-08T05:30:20.760Z] ---> Running in 343f0aae58b7 [2021-11-08T05:30:20.760Z] Removing intermediate container 343f0aae58b7 [2021-11-08T05:30:20.760Z] ---> 4c6c9d48a00f [2021-11-08T05:30:20.760Z] Step 20/22 : LABEL arch=amd64 [2021-11-08T05:30:20.760Z] ---> Running in 9a83b02f9499 [2021-11-08T05:30:21.026Z] Removing intermediate container 9a83b02f9499 [2021-11-08T05:30:21.026Z] ---> 86ea101b2760 [2021-11-08T05:30:21.026Z] Step 21/22 : LABEL git_sha=159a8a861e29f2433d7a50979645c48e0f5e62c9 [2021-11-08T05:30:21.026Z] ---> Running in df76dac899c3 [2021-11-08T05:30:21.026Z] Removing intermediate container df76dac899c3 [2021-11-08T05:30:21.026Z] ---> f610ed049883 [2021-11-08T05:30:21.026Z] Step 22/22 : LABEL version=2.0.1-dev.10 [2021-11-08T05:30:21.026Z] ---> Running in 04bf905646e1 [2021-11-08T05:30:21.297Z] Removing intermediate container 04bf905646e1 [2021-11-08T05:30:21.297Z] ---> be4c32745469 [2021-11-08T05:30:21.297Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-08T05:30:21.297Z] Successfully built be4c32745469 [2021-11-08T05:30:21.297Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-08T05:30:21.468Z] provisioning config files... [2021-11-08T05:30:21.477Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/13@tmp/config4730770325995649683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-08T05:30:21.687Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-11-08T05:30:21.784Z] ---> docker-login.sh [2021-11-08T05:30:21.784Z] nexus3.edgexfoundry.org:10001 [2021-11-08T05:30:21.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T05:30:21.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T05:30:21.784Z] Configure a credential helper to remove this warning. See [2021-11-08T05:30:21.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T05:30:21.784Z] [2021-11-08T05:30:21.784Z] Login Succeeded [2021-11-08T05:30:21.784Z] nexus3.edgexfoundry.org:10002 [2021-11-08T05:30:21.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T05:30:21.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T05:30:21.784Z] Configure a credential helper to remove this warning. See [2021-11-08T05:30:21.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T05:30:21.784Z] [2021-11-08T05:30:21.784Z] Login Succeeded [2021-11-08T05:30:21.784Z] nexus3.edgexfoundry.org:10003 [2021-11-08T05:30:22.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T05:30:22.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T05:30:22.044Z] Configure a credential helper to remove this warning. See [2021-11-08T05:30:22.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T05:30:22.044Z] [2021-11-08T05:30:22.044Z] Login Succeeded [2021-11-08T05:30:22.044Z] nexus3.edgexfoundry.org:10004 [2021-11-08T05:30:22.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T05:30:22.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T05:30:22.305Z] Configure a credential helper to remove this warning. See [2021-11-08T05:30:22.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T05:30:22.305Z] [2021-11-08T05:30:22.305Z] Login Succeeded [2021-11-08T05:30:22.305Z] docker.io [2021-11-08T05:30:22.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T05:30:22.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T05:30:22.565Z] Configure a credential helper to remove this warning. See [2021-11-08T05:30:22.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T05:30:22.565Z] [2021-11-08T05:30:22.565Z] Login Succeeded [2021-11-08T05:30:22.565Z] ---> docker-login.sh ends [Pipeline] } [2021-11-08T05:30:22.578Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-08T05:30:22.612Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-08T05:30:22.635Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2021-11-08T05:30:22.635Z] 159a8a861e29f2433d7a50979645c48e0f5e62c9 [2021-11-08T05:30:22.635Z] latest [2021-11-08T05:30:22.635Z] 2.0.1-dev.10 [2021-11-08T05:30:22.635Z] 159a8a861e29f2433d7a50979645c48e0f5e62c9-2.0.1-dev.10 [2021-11-08T05:30:22.635Z] main [2021-11-08T05:30:22.635Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:30:22.953Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:159a8a861e29f2433d7a50979645c48e0f5e62c9 [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:30:23.251Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:159a8a861e29f2433d7a50979645c48e0f5e62c9 [2021-11-08T05:30:23.251Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-11-08T05:30:23.251Z] 545e350c03ba: Preparing [2021-11-08T05:30:23.251Z] fc67286b6268: Preparing [2021-11-08T05:30:23.251Z] cb060b089255: Preparing [2021-11-08T05:30:23.251Z] 3abb03e139a2: Preparing [2021-11-08T05:30:23.251Z] 18692b35b9be: Preparing [2021-11-08T05:30:23.251Z] e2eb06d8af82: Preparing [2021-11-08T05:30:23.251Z] e2eb06d8af82: Waiting [2021-11-08T05:30:23.512Z] fc67286b6268: Pushed [2021-11-08T05:30:23.512Z] 18692b35b9be: Pushed [2021-11-08T05:30:23.512Z] e2eb06d8af82: Layer already exists [2021-11-08T05:30:23.512Z] 545e350c03ba: Pushed [2021-11-08T05:30:23.512Z] 3abb03e139a2: Pushed [2021-11-08T05:30:24.453Z] cb060b089255: Pushed [2021-11-08T05:30:24.712Z] 159a8a861e29f2433d7a50979645c48e0f5e62c9: digest: sha256:8a6fc8147ea524341a3391a8fdbc9fa8e5504fe94b55d2dc5b1fcf6705b90fdb size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:30:25.008Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:30:25.300Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-11-08T05:30:25.300Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-11-08T05:30:25.300Z] 545e350c03ba: Preparing [2021-11-08T05:30:25.300Z] fc67286b6268: Preparing [2021-11-08T05:30:25.300Z] cb060b089255: Preparing [2021-11-08T05:30:25.300Z] 3abb03e139a2: Preparing [2021-11-08T05:30:25.300Z] 18692b35b9be: Preparing [2021-11-08T05:30:25.300Z] e2eb06d8af82: Preparing [2021-11-08T05:30:25.300Z] e2eb06d8af82: Waiting [2021-11-08T05:30:25.300Z] fc67286b6268: Layer already exists [2021-11-08T05:30:25.300Z] 3abb03e139a2: Layer already exists [2021-11-08T05:30:25.300Z] cb060b089255: Layer already exists [2021-11-08T05:30:25.300Z] 545e350c03ba: Layer already exists [2021-11-08T05:30:25.300Z] 18692b35b9be: Layer already exists [2021-11-08T05:30:25.300Z] e2eb06d8af82: Layer already exists [2021-11-08T05:30:25.300Z] latest: digest: sha256:8a6fc8147ea524341a3391a8fdbc9fa8e5504fe94b55d2dc5b1fcf6705b90fdb size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:30:25.595Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.10 [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:30:25.886Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.10 [2021-11-08T05:30:25.886Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-11-08T05:30:25.886Z] 545e350c03ba: Preparing [2021-11-08T05:30:25.886Z] fc67286b6268: Preparing [2021-11-08T05:30:25.886Z] cb060b089255: Preparing [2021-11-08T05:30:25.886Z] 3abb03e139a2: Preparing [2021-11-08T05:30:25.886Z] 18692b35b9be: Preparing [2021-11-08T05:30:25.886Z] e2eb06d8af82: Preparing [2021-11-08T05:30:25.886Z] e2eb06d8af82: Waiting [2021-11-08T05:30:25.886Z] 3abb03e139a2: Layer already exists [2021-11-08T05:30:25.886Z] 545e350c03ba: Layer already exists [2021-11-08T05:30:25.886Z] fc67286b6268: Layer already exists [2021-11-08T05:30:25.886Z] 18692b35b9be: Layer already exists [2021-11-08T05:30:25.886Z] cb060b089255: Layer already exists [2021-11-08T05:30:25.886Z] e2eb06d8af82: Layer already exists [2021-11-08T05:30:25.886Z] 2.0.1-dev.10: digest: sha256:8a6fc8147ea524341a3391a8fdbc9fa8e5504fe94b55d2dc5b1fcf6705b90fdb size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:30:26.184Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:159a8a861e29f2433d7a50979645c48e0f5e62c9-2.0.1-dev.10 [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:30:26.477Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:159a8a861e29f2433d7a50979645c48e0f5e62c9-2.0.1-dev.10 [2021-11-08T05:30:26.477Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-11-08T05:30:26.477Z] 545e350c03ba: Preparing [2021-11-08T05:30:26.477Z] fc67286b6268: Preparing [2021-11-08T05:30:26.477Z] cb060b089255: Preparing [2021-11-08T05:30:26.477Z] 3abb03e139a2: Preparing [2021-11-08T05:30:26.477Z] 18692b35b9be: Preparing [2021-11-08T05:30:26.477Z] e2eb06d8af82: Preparing [2021-11-08T05:30:26.477Z] e2eb06d8af82: Waiting [2021-11-08T05:30:26.477Z] 3abb03e139a2: Layer already exists [2021-11-08T05:30:26.477Z] 545e350c03ba: Layer already exists [2021-11-08T05:30:26.477Z] fc67286b6268: Layer already exists [2021-11-08T05:30:26.477Z] 18692b35b9be: Layer already exists [2021-11-08T05:30:26.477Z] cb060b089255: Layer already exists [2021-11-08T05:30:26.477Z] e2eb06d8af82: Layer already exists [2021-11-08T05:30:26.477Z] 159a8a861e29f2433d7a50979645c48e0f5e62c9-2.0.1-dev.10: digest: sha256:8a6fc8147ea524341a3391a8fdbc9fa8e5504fe94b55d2dc5b1fcf6705b90fdb size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:30:26.770Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:30:27.058Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2021-11-08T05:30:27.058Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-11-08T05:30:27.058Z] 545e350c03ba: Preparing [2021-11-08T05:30:27.058Z] fc67286b6268: Preparing [2021-11-08T05:30:27.058Z] cb060b089255: Preparing [2021-11-08T05:30:27.058Z] 3abb03e139a2: Preparing [2021-11-08T05:30:27.058Z] 18692b35b9be: Preparing [2021-11-08T05:30:27.058Z] e2eb06d8af82: Preparing [2021-11-08T05:30:27.058Z] e2eb06d8af82: Waiting [2021-11-08T05:30:27.058Z] 545e350c03ba: Layer already exists [2021-11-08T05:30:27.058Z] 18692b35b9be: Layer already exists [2021-11-08T05:30:27.058Z] 3abb03e139a2: Layer already exists [2021-11-08T05:30:27.058Z] fc67286b6268: Layer already exists [2021-11-08T05:30:27.058Z] cb060b089255: Layer already exists [2021-11-08T05:30:27.058Z] e2eb06d8af82: Layer already exists [2021-11-08T05:30:27.058Z] main: digest: sha256:8a6fc8147ea524341a3391a8fdbc9fa8e5504fe94b55d2dc5b1fcf6705b90fdb size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-08T05:30:27.093Z] ===================================================== [Pipeline] echo [2021-11-08T05:30:27.102Z] taggedImages: [2021-11-08T05:30:27.102Z] - nexus3.edgexfoundry.org:10004/device-modbus:159a8a861e29f2433d7a50979645c48e0f5e62c9 [2021-11-08T05:30:27.102Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-11-08T05:30:27.102Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.10 [2021-11-08T05:30:27.102Z] - nexus3.edgexfoundry.org:10004/device-modbus:159a8a861e29f2433d7a50979645c48e0f5e62c9-2.0.1-dev.10 [2021-11-08T05:30:27.102Z] - 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-08T05:30:27.621Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-08T05:30:27.621Z] [2021-11-08T05:30:27.621Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:30:27.927Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-08T05:30:27.927Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-08T05:30:27.927Z] b4d181a07f80: Pulling fs layer [2021-11-08T05:30:27.927Z] a1111a8f2ec3: Pulling fs layer [2021-11-08T05:30:27.927Z] ed53099fbce6: Pulling fs layer [2021-11-08T05:30:27.927Z] dc539afda2c1: Pulling fs layer [2021-11-08T05:30:27.927Z] 77bc0d833cb6: Pulling fs layer [2021-11-08T05:30:27.927Z] 9065ff56babe: Pulling fs layer [2021-11-08T05:30:27.927Z] d287ab97295c: Pulling fs layer [2021-11-08T05:30:27.927Z] dc539afda2c1: Waiting [2021-11-08T05:30:27.927Z] 77bc0d833cb6: Waiting [2021-11-08T05:30:27.927Z] 9065ff56babe: Waiting [2021-11-08T05:30:27.927Z] d287ab97295c: Waiting [2021-11-08T05:30:27.927Z] a1111a8f2ec3: Verifying Checksum [2021-11-08T05:30:27.927Z] a1111a8f2ec3: Download complete [2021-11-08T05:30:27.927Z] dc539afda2c1: Verifying Checksum [2021-11-08T05:30:27.927Z] dc539afda2c1: Download complete [2021-11-08T05:30:27.927Z] ed53099fbce6: Verifying Checksum [2021-11-08T05:30:27.927Z] ed53099fbce6: Download complete [2021-11-08T05:30:28.196Z] 9065ff56babe: Verifying Checksum [2021-11-08T05:30:28.196Z] 9065ff56babe: Download complete [2021-11-08T05:30:28.196Z] 77bc0d833cb6: Verifying Checksum [2021-11-08T05:30:28.196Z] 77bc0d833cb6: Download complete [2021-11-08T05:30:28.196Z] b4d181a07f80: Verifying Checksum [2021-11-08T05:30:28.196Z] b4d181a07f80: Download complete [2021-11-08T05:30:28.779Z] d287ab97295c: Verifying Checksum [2021-11-08T05:30:28.779Z] d287ab97295c: Download complete [2021-11-08T05:30:29.759Z] b4d181a07f80: Pull complete [2021-11-08T05:30:29.759Z] a1111a8f2ec3: Pull complete [2021-11-08T05:30:30.343Z] ed53099fbce6: Pull complete [2021-11-08T05:30:30.610Z] dc539afda2c1: Pull complete [2021-11-08T05:30:30.875Z] 77bc0d833cb6: Pull complete [2021-11-08T05:30:30.875Z] 9065ff56babe: Pull complete [2021-11-08T05:30:36.195Z] d287ab97295c: Pull complete [2021-11-08T05:30:36.195Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-08T05:30:36.195Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-08T05:30:36.195Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-08T05:30:36.268Z] prd-centos7-docker-4c-2g-27912 does not seem to be running inside a container [2021-11-08T05:30:36.298Z] $ 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/13 -v /w/workspace/device-modbus-go/13:/w/workspace/device-modbus-go/13:rw,z -v /w/workspace/device-modbus-go/13@tmp:/w/workspace/device-modbus-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-08T05:30:39.147Z] $ docker top 2109823dc1d4dad09f287d9f86abdc8344564d50441dbb3816f00f0738d23433 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-08T05:30:39.586Z] ---> job-cost.sh [2021-11-08T05:30:39.586Z] lf-activate-venv: SKIPPING [2021-11-08T05:30:39.586Z] INFO: No Stack... [2021-11-08T05:30:41.498Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-08T05:30:41.759Z] INFO: Archiving Costs [Pipeline] sh [2021-11-08T05:30:42.056Z] + cat /w/workspace/device-modbus-go/13/archives/cost.csv [2021-11-08T05:30:42.056Z] + cut -d, -f6 [Pipeline] lock [2021-11-08T05:30:42.081Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-13-stack-cost] [2021-11-08T05:30:42.089Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-13-stack-cost] did not exist. Created. [2021-11-08T05:30:42.089Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-08T05:30:42.388Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-08T05:30:42.418Z] Stashed 1 file(s) [Pipeline] } [2021-11-08T05:30:42.429Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-13-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-08T05:30:42.445Z] $ docker stop --time=1 2109823dc1d4dad09f287d9f86abdc8344564d50441dbb3816f00f0738d23433 [2021-11-08T05:30:43.571Z] $ docker rm -f 2109823dc1d4dad09f287d9f86abdc8344564d50441dbb3816f00f0738d23433 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-08T05:31:18.293Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-11-08T05:31:18.293Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.053s coverage: 46.6% of statements [2021-11-08T05:31:18.293Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-08T05:31:40.506Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-08T05:31:40.506Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-08T05:31:40.506Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-08T05:31:40.520Z] $ docker stop --time=1 b187106043c0aa66e4fa0fd4eec1f21f45730a9bb9640c3c3f68d03269a05fa7 [2021-11-08T05:31:42.325Z] $ docker rm -f b187106043c0aa66e4fa0fd4eec1f21f45730a9bb9640c3c3f68d03269a05fa7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-08T05:31:43.178Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-08T05:31:43.203Z] Warning: overwriting stash ‘coverage-report’ [2021-11-08T05:31:43.668Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-08T05:31:44.260Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-08T05:31:44.592Z] + ls -al . [2021-11-08T05:31:44.592Z] total 184 [2021-11-08T05:31:44.592Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 05:31 . [2021-11-08T05:31:44.592Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 05:27 .. [2021-11-08T05:31:44.592Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 05:27 .dockerignore [2021-11-08T05:31:44.592Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 05:27 .git [2021-11-08T05:31:44.592Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 05:27 .github [2021-11-08T05:31:44.592Z] -rw-rw-r-- 1 jenkins jenkins 331 Nov 8 05:27 .gitignore [2021-11-08T05:31:44.592Z] -rw-rw-r-- 1 jenkins jenkins 8010 Nov 8 05:27 Attribution.txt [2021-11-08T05:31:44.592Z] -rw-rw-r-- 1 jenkins jenkins 6038 Nov 8 05:27 CHANGELOG.md [2021-11-08T05:31:44.592Z] -rw-rw-r-- 1 jenkins jenkins 1523 Nov 8 05:27 Dockerfile [2021-11-08T05:31:44.592Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 05:27 GOVERNANCE.md [2021-11-08T05:31:44.592Z] -rw-rw-r-- 1 jenkins jenkins 679 Nov 8 05:27 Jenkinsfile [2021-11-08T05:31:44.592Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 05:27 LICENSE [2021-11-08T05:31:44.592Z] -rw-rw-r-- 1 jenkins jenkins 1009 Nov 8 05:27 Makefile [2021-11-08T05:31:44.592Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 8 05:27 OWNERS.md [2021-11-08T05:31:44.592Z] -rw-rw-r-- 1 jenkins jenkins 2891 Nov 8 05:27 README.md [2021-11-08T05:31:44.592Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 05:26 VERSION [2021-11-08T05:31:44.592Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 05:27 bin [2021-11-08T05:31:44.592Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 05:27 cmd [2021-11-08T05:31:44.592Z] -rw-r--r-- 1 jenkins jenkins 23727 Nov 8 05:31 coverage.out [2021-11-08T05:31:44.592Z] -rw-rw-r-- 1 jenkins jenkins 308 Nov 8 05:27 go.mod [2021-11-08T05:31:44.592Z] -rw-rw-r-- 1 jenkins jenkins 49577 Nov 8 05:27 go.sum [2021-11-08T05:31:44.592Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 05:27 internal [2021-11-08T05:31:44.592Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 05:27 simulator [2021-11-08T05:31:44.592Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 05:27 snap [2021-11-08T05:31:44.592Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 8 05:27 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:31:44.930Z] + 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=159a8a861e29f2433d7a50979645c48e0f5e62c9 --label arch=arm64 --label version=2.0.1-dev.10 . [2021-11-08T05:31:45.202Z] Sending build context to Docker daemon 727kB [2021-11-08T05:31:45.480Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.14 [2021-11-08T05:31:45.480Z] Step 2/22 : FROM ${BASE} AS builder [2021-11-08T05:31:45.480Z] ---> 491bf4f34dac [2021-11-08T05:31:45.480Z] Step 3/22 : ARG MAKE='make build' [2021-11-08T05:31:45.480Z] ---> Running in f5e064bbbc60 [2021-11-08T05:31:45.752Z] Removing intermediate container f5e064bbbc60 [2021-11-08T05:31:45.752Z] ---> 3d32b972b36d [2021-11-08T05:31:45.752Z] Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-08T05:31:46.025Z] ---> Running in 2c950ff1c29f [2021-11-08T05:31:48.012Z] Removing intermediate container 2c950ff1c29f [2021-11-08T05:31:48.012Z] ---> 250a11706c0f [2021-11-08T05:31:48.012Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-11-08T05:31:48.012Z] ---> Running in 87e46dda2121 [2021-11-08T05:31:48.993Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-08T05:31:49.964Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-08T05:31:50.937Z] OK: 225 MiB in 60 packages [2021-11-08T05:31:51.531Z] Removing intermediate container 87e46dda2121 [2021-11-08T05:31:51.531Z] ---> 908e7f1443b9 [2021-11-08T05:31:51.531Z] Step 6/22 : WORKDIR /device-modbus-go [2021-11-08T05:31:51.531Z] ---> Running in 1d9dd0becff4 [2021-11-08T05:31:52.126Z] Removing intermediate container 1d9dd0becff4 [2021-11-08T05:31:52.126Z] ---> c802e8f76f63 [2021-11-08T05:31:52.126Z] Step 7/22 : COPY . . [2021-11-08T05:31:53.110Z] ---> 16e0ed069ec2 [2021-11-08T05:31:53.110Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-08T05:31:53.110Z] ---> Running in a15f4f98b5b0 [2021-11-08T05:31:55.727Z] Removing intermediate container a15f4f98b5b0 [2021-11-08T05:31:55.727Z] ---> 92c3310ef06e [2021-11-08T05:31:55.727Z] Step 9/22 : RUN ${MAKE} [2021-11-08T05:31:55.727Z] ---> Running in 088c6bfc439a [2021-11-08T05:31:56.324Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.10" -o cmd/device-modbus ./cmd [2021-11-08T05:32:35.426Z] Removing intermediate container 088c6bfc439a [2021-11-08T05:32:35.426Z] ---> 64353d05e6c5 [2021-11-08T05:32:35.426Z] Step 10/22 : FROM alpine:3.14 [2021-11-08T05:32:36.016Z] 3.14: Pulling from library/alpine [2021-11-08T05:32:36.016Z] 552d1f2373af: Already exists [2021-11-08T05:32:36.289Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-08T05:32:36.289Z] Status: Downloaded newer image for alpine:3.14 [2021-11-08T05:32:36.289Z] ---> bb3de5531c18 [2021-11-08T05:32:36.289Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-11-08T05:32:36.289Z] ---> Running in 1e70199cc0f2 [2021-11-08T05:32:36.885Z] Removing intermediate container 1e70199cc0f2 [2021-11-08T05:32:36.885Z] ---> 69e25d2f0a52 [2021-11-08T05:32:36.885Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-08T05:32:36.885Z] ---> Running in 471561740c22 [2021-11-08T05:32:38.855Z] Removing intermediate container 471561740c22 [2021-11-08T05:32:38.855Z] ---> 4a4a29abc2c9 [2021-11-08T05:32:38.855Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-08T05:32:38.855Z] ---> Running in aa0a8bc421cb [2021-11-08T05:32:39.835Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-08T05:32:40.808Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-08T05:32:41.402Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-08T05:32:41.402Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-08T05:32:41.675Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-08T05:32:41.675Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-08T05:32:41.675Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-08T05:32:41.947Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-08T05:32:41.947Z] Executing busybox-1.33.1-r3.trigger [2021-11-08T05:32:41.947Z] OK: 8 MiB in 20 packages [2021-11-08T05:32:42.940Z] Removing intermediate container aa0a8bc421cb [2021-11-08T05:32:42.940Z] ---> f599c63d5c5b [2021-11-08T05:32:42.940Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-11-08T05:32:43.914Z] ---> bbdd2a57212b [2021-11-08T05:32:43.914Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-11-08T05:32:44.888Z] ---> b3eea0fede94 [2021-11-08T05:32:44.888Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-11-08T05:32:45.481Z] ---> 514a0d520388 [2021-11-08T05:32:45.481Z] Step 17/22 : EXPOSE 59901 [2021-11-08T05:32:45.481Z] ---> Running in 976a71fddd54 [2021-11-08T05:32:45.752Z] Removing intermediate container 976a71fddd54 [2021-11-08T05:32:45.752Z] ---> 9a8af8209be7 [2021-11-08T05:32:45.752Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-11-08T05:32:46.030Z] ---> Running in ea2f184670ea [2021-11-08T05:32:46.302Z] Removing intermediate container ea2f184670ea [2021-11-08T05:32:46.302Z] ---> 05b65b913a41 [2021-11-08T05:32:46.302Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-08T05:32:46.302Z] ---> Running in 94ea0b52fb41 [2021-11-08T05:32:46.898Z] Removing intermediate container 94ea0b52fb41 [2021-11-08T05:32:46.898Z] ---> 4cf3f3423f37 [2021-11-08T05:32:46.898Z] Step 20/22 : LABEL arch=arm64 [2021-11-08T05:32:46.898Z] ---> Running in cc8ba337503d [2021-11-08T05:32:47.170Z] Removing intermediate container cc8ba337503d [2021-11-08T05:32:47.170Z] ---> 0c8b90576734 [2021-11-08T05:32:47.170Z] Step 21/22 : LABEL git_sha=159a8a861e29f2433d7a50979645c48e0f5e62c9 [2021-11-08T05:32:47.170Z] ---> Running in bbb390b3d7e1 [2021-11-08T05:32:47.765Z] Removing intermediate container bbb390b3d7e1 [2021-11-08T05:32:47.765Z] ---> 7540a65887a1 [2021-11-08T05:32:47.765Z] Step 22/22 : LABEL version=2.0.1-dev.10 [2021-11-08T05:32:47.765Z] ---> Running in 7be820916bf5 [2021-11-08T05:32:48.360Z] Removing intermediate container 7be820916bf5 [2021-11-08T05:32:48.360Z] ---> b0deadf6d750 [2021-11-08T05:32:48.360Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-08T05:32:48.360Z] Successfully built b0deadf6d750 [2021-11-08T05:32:48.360Z] 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-08T05:32:48.495Z] provisioning config files... [2021-11-08T05:32:48.514Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/13@tmp/config390948798904783364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-08T05:32:48.855Z] ---> docker-login.sh [2021-11-08T05:32:48.856Z] nexus3.edgexfoundry.org:10001 [2021-11-08T05:32:49.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T05:32:49.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T05:32:49.132Z] Configure a credential helper to remove this warning. See [2021-11-08T05:32:49.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T05:32:49.132Z] [2021-11-08T05:32:49.132Z] Login Succeeded [2021-11-08T05:32:49.132Z] nexus3.edgexfoundry.org:10002 [2021-11-08T05:32:49.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T05:32:49.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T05:32:49.726Z] Configure a credential helper to remove this warning. See [2021-11-08T05:32:49.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T05:32:49.726Z] [2021-11-08T05:32:49.726Z] Login Succeeded [2021-11-08T05:32:49.726Z] nexus3.edgexfoundry.org:10003 [2021-11-08T05:32:49.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T05:32:50.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T05:32:50.268Z] Configure a credential helper to remove this warning. See [2021-11-08T05:32:50.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T05:32:50.268Z] [2021-11-08T05:32:50.268Z] Login Succeeded [2021-11-08T05:32:50.268Z] nexus3.edgexfoundry.org:10004 [2021-11-08T05:32:50.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T05:32:50.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T05:32:50.811Z] Configure a credential helper to remove this warning. See [2021-11-08T05:32:50.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T05:32:50.811Z] [2021-11-08T05:32:50.811Z] Login Succeeded [2021-11-08T05:32:50.811Z] docker.io [2021-11-08T05:32:51.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T05:32:51.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T05:32:51.676Z] Configure a credential helper to remove this warning. See [2021-11-08T05:32:51.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T05:32:51.676Z] [2021-11-08T05:32:51.676Z] Login Succeeded [2021-11-08T05:32:51.676Z] ---> docker-login.sh ends [Pipeline] } [2021-11-08T05:32:51.691Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-08T05:32:51.723Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-08T05:32:51.741Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2021-11-08T05:32:51.741Z] 159a8a861e29f2433d7a50979645c48e0f5e62c9 [2021-11-08T05:32:51.741Z] latest [2021-11-08T05:32:51.741Z] 2.0.1-dev.10 [2021-11-08T05:32:51.741Z] 159a8a861e29f2433d7a50979645c48e0f5e62c9-2.0.1-dev.10 [2021-11-08T05:32:51.741Z] main [2021-11-08T05:32:51.741Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:32:52.093Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:159a8a861e29f2433d7a50979645c48e0f5e62c9 [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:32:52.429Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:159a8a861e29f2433d7a50979645c48e0f5e62c9 [2021-11-08T05:32:52.429Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-11-08T05:32:52.429Z] d6f3e5b20cb0: Preparing [2021-11-08T05:32:52.429Z] ab72f70b1fa6: Preparing [2021-11-08T05:32:52.429Z] ec84bf98b544: Preparing [2021-11-08T05:32:52.429Z] 585dd37fa5fd: Preparing [2021-11-08T05:32:52.429Z] ac74313ac75f: Preparing [2021-11-08T05:32:52.429Z] ee420dfed78a: Preparing [2021-11-08T05:32:52.429Z] ee420dfed78a: Waiting [2021-11-08T05:32:52.702Z] ab72f70b1fa6: Pushed [2021-11-08T05:32:52.702Z] d6f3e5b20cb0: Pushed [2021-11-08T05:32:52.702Z] ac74313ac75f: Pushed [2021-11-08T05:32:52.702Z] ee420dfed78a: Layer already exists [2021-11-08T05:32:53.293Z] 585dd37fa5fd: Pushed [2021-11-08T05:32:55.901Z] ec84bf98b544: Pushed [2021-11-08T05:32:55.901Z] 159a8a861e29f2433d7a50979645c48e0f5e62c9: digest: sha256:04093c2f6779ccc8d94989be8464939d6f299ec3ceaf44f61995f996fbddadb9 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:32:56.240Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:32:56.572Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-11-08T05:32:56.572Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-11-08T05:32:56.572Z] d6f3e5b20cb0: Preparing [2021-11-08T05:32:56.572Z] ab72f70b1fa6: Preparing [2021-11-08T05:32:56.572Z] ec84bf98b544: Preparing [2021-11-08T05:32:56.572Z] 585dd37fa5fd: Preparing [2021-11-08T05:32:56.572Z] ac74313ac75f: Preparing [2021-11-08T05:32:56.572Z] ee420dfed78a: Preparing [2021-11-08T05:32:56.572Z] ee420dfed78a: Waiting [2021-11-08T05:32:56.572Z] ac74313ac75f: Layer already exists [2021-11-08T05:32:56.572Z] 585dd37fa5fd: Layer already exists [2021-11-08T05:32:56.572Z] d6f3e5b20cb0: Layer already exists [2021-11-08T05:32:56.572Z] ec84bf98b544: Layer already exists [2021-11-08T05:32:56.572Z] ab72f70b1fa6: Layer already exists [2021-11-08T05:32:56.572Z] ee420dfed78a: Layer already exists [2021-11-08T05:32:56.844Z] latest: digest: sha256:04093c2f6779ccc8d94989be8464939d6f299ec3ceaf44f61995f996fbddadb9 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:32:57.188Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.10 [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:32:57.527Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.10 [2021-11-08T05:32:57.527Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-11-08T05:32:57.527Z] d6f3e5b20cb0: Preparing [2021-11-08T05:32:57.527Z] ab72f70b1fa6: Preparing [2021-11-08T05:32:57.527Z] ec84bf98b544: Preparing [2021-11-08T05:32:57.528Z] 585dd37fa5fd: Preparing [2021-11-08T05:32:57.528Z] ac74313ac75f: Preparing [2021-11-08T05:32:57.528Z] ee420dfed78a: Preparing [2021-11-08T05:32:57.528Z] ee420dfed78a: Waiting [2021-11-08T05:32:57.528Z] ab72f70b1fa6: Layer already exists [2021-11-08T05:32:57.800Z] ac74313ac75f: Layer already exists [2021-11-08T05:32:57.800Z] ec84bf98b544: Layer already exists [2021-11-08T05:32:57.800Z] d6f3e5b20cb0: Layer already exists [2021-11-08T05:32:57.800Z] 585dd37fa5fd: Layer already exists [2021-11-08T05:32:57.800Z] ee420dfed78a: Layer already exists [2021-11-08T05:32:57.800Z] 2.0.1-dev.10: digest: sha256:04093c2f6779ccc8d94989be8464939d6f299ec3ceaf44f61995f996fbddadb9 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:32:58.144Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:159a8a861e29f2433d7a50979645c48e0f5e62c9-2.0.1-dev.10 [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:32:58.481Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:159a8a861e29f2433d7a50979645c48e0f5e62c9-2.0.1-dev.10 [2021-11-08T05:32:58.481Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-11-08T05:32:58.481Z] d6f3e5b20cb0: Preparing [2021-11-08T05:32:58.481Z] ab72f70b1fa6: Preparing [2021-11-08T05:32:58.481Z] ec84bf98b544: Preparing [2021-11-08T05:32:58.481Z] 585dd37fa5fd: Preparing [2021-11-08T05:32:58.481Z] ac74313ac75f: Preparing [2021-11-08T05:32:58.481Z] ee420dfed78a: Preparing [2021-11-08T05:32:58.481Z] ee420dfed78a: Waiting [2021-11-08T05:32:58.753Z] 585dd37fa5fd: Layer already exists [2021-11-08T05:32:58.753Z] ac74313ac75f: Layer already exists [2021-11-08T05:32:58.753Z] ec84bf98b544: Layer already exists [2021-11-08T05:32:58.753Z] d6f3e5b20cb0: Layer already exists [2021-11-08T05:32:58.753Z] ab72f70b1fa6: Layer already exists [2021-11-08T05:32:58.753Z] ee420dfed78a: Layer already exists [2021-11-08T05:32:58.753Z] 159a8a861e29f2433d7a50979645c48e0f5e62c9-2.0.1-dev.10: digest: sha256:04093c2f6779ccc8d94989be8464939d6f299ec3ceaf44f61995f996fbddadb9 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:32:59.095Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:32:59.430Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2021-11-08T05:32:59.430Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-11-08T05:32:59.430Z] d6f3e5b20cb0: Preparing [2021-11-08T05:32:59.430Z] ab72f70b1fa6: Preparing [2021-11-08T05:32:59.430Z] ec84bf98b544: Preparing [2021-11-08T05:32:59.430Z] 585dd37fa5fd: Preparing [2021-11-08T05:32:59.430Z] ac74313ac75f: Preparing [2021-11-08T05:32:59.430Z] ee420dfed78a: Preparing [2021-11-08T05:32:59.430Z] ee420dfed78a: Waiting [2021-11-08T05:32:59.430Z] ab72f70b1fa6: Layer already exists [2021-11-08T05:32:59.430Z] ac74313ac75f: Layer already exists [2021-11-08T05:32:59.430Z] d6f3e5b20cb0: Layer already exists [2021-11-08T05:32:59.430Z] ec84bf98b544: Layer already exists [2021-11-08T05:32:59.430Z] 585dd37fa5fd: Layer already exists [2021-11-08T05:32:59.701Z] ee420dfed78a: Layer already exists [2021-11-08T05:32:59.701Z] main: digest: sha256:04093c2f6779ccc8d94989be8464939d6f299ec3ceaf44f61995f996fbddadb9 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-08T05:32:59.747Z] ===================================================== [Pipeline] echo [2021-11-08T05:32:59.755Z] taggedImages: [2021-11-08T05:32:59.755Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:159a8a861e29f2433d7a50979645c48e0f5e62c9 [2021-11-08T05:32:59.755Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-11-08T05:32:59.755Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.10 [2021-11-08T05:32:59.755Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:159a8a861e29f2433d7a50979645c48e0f5e62c9-2.0.1-dev.10 [2021-11-08T05:32:59.755Z] - 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-08T05:33:00.164Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-08T05:33:00.436Z] [2021-11-08T05:33:00.436Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:33:00.780Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-08T05:33:01.053Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-08T05:33:01.053Z] 448f6bf000e3: Pulling fs layer [2021-11-08T05:33:01.053Z] f757da607395: Pulling fs layer [2021-11-08T05:33:01.053Z] 05883995daec: Pulling fs layer [2021-11-08T05:33:01.053Z] 8603b9c90790: Pulling fs layer [2021-11-08T05:33:01.053Z] 1560dd03e051: Pulling fs layer [2021-11-08T05:33:01.053Z] 27f5ce0e4adf: Pulling fs layer [2021-11-08T05:33:01.053Z] c2d8d7efcc4b: Pulling fs layer [2021-11-08T05:33:01.053Z] 1560dd03e051: Waiting [2021-11-08T05:33:01.053Z] 27f5ce0e4adf: Waiting [2021-11-08T05:33:01.053Z] c2d8d7efcc4b: Waiting [2021-11-08T05:33:01.053Z] 8603b9c90790: Waiting [2021-11-08T05:33:01.053Z] f757da607395: Verifying Checksum [2021-11-08T05:33:01.053Z] f757da607395: Download complete [2021-11-08T05:33:01.053Z] 8603b9c90790: Verifying Checksum [2021-11-08T05:33:01.053Z] 8603b9c90790: Download complete [2021-11-08T05:33:01.053Z] 1560dd03e051: Verifying Checksum [2021-11-08T05:33:01.053Z] 1560dd03e051: Download complete [2021-11-08T05:33:01.053Z] 27f5ce0e4adf: Verifying Checksum [2021-11-08T05:33:01.053Z] 27f5ce0e4adf: Download complete [2021-11-08T05:33:01.328Z] 05883995daec: Verifying Checksum [2021-11-08T05:33:01.328Z] 05883995daec: Download complete [2021-11-08T05:33:01.601Z] 448f6bf000e3: Verifying Checksum [2021-11-08T05:33:01.601Z] 448f6bf000e3: Download complete [2021-11-08T05:33:04.218Z] c2d8d7efcc4b: Verifying Checksum [2021-11-08T05:33:04.218Z] c2d8d7efcc4b: Download complete [2021-11-08T05:33:05.196Z] 448f6bf000e3: Pull complete [2021-11-08T05:33:05.793Z] f757da607395: Pull complete [2021-11-08T05:33:07.227Z] 05883995daec: Pull complete [2021-11-08T05:33:07.501Z] 8603b9c90790: Pull complete [2021-11-08T05:33:08.478Z] 1560dd03e051: Pull complete [2021-11-08T05:33:08.752Z] 27f5ce0e4adf: Pull complete [2021-11-08T05:33:23.841Z] c2d8d7efcc4b: Pull complete [2021-11-08T05:33:23.841Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-08T05:33:23.842Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-08T05:33:23.842Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-08T05:33:24.103Z] prd-ubuntu18.04-docker-arm64-4c-16g-27911 does not seem to be running inside a container [2021-11-08T05:33:24.210Z] $ 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/13 -v /w/workspace/device-modbus-go/13:/w/workspace/device-modbus-go/13:rw,z -v /w/workspace/device-modbus-go/13@tmp:/w/workspace/device-modbus-go/13@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-08T05:33:26.948Z] $ docker top 198117d5294c1e866221cf8d2ee1ee378a8d4fc7a23f799d7159b7e76b8dac4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-08T05:33:27.957Z] ---> job-cost.sh [2021-11-08T05:33:27.957Z] lf-activate-venv: SKIPPING [2021-11-08T05:33:27.957Z] INFO: No Stack... [2021-11-08T05:33:33.342Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-08T05:33:33.933Z] INFO: Archiving Costs [Pipeline] sh [2021-11-08T05:33:34.585Z] + cut -d, -f6 [2021-11-08T05:33:34.585Z] + cat /w/workspace/device-modbus-go/13/archives/cost.csv [Pipeline] lock [2021-11-08T05:33:34.640Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-13-stack-cost] [2021-11-08T05:33:34.648Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-13-stack-cost] did not exist. Created. [2021-11-08T05:33:34.649Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-08T05:33:35.317Z] /w/workspace/device-modbus-go/13@tmp/durable-82300980/script.sh: 1: /w/workspace/device-modbus-go/13@tmp/durable-82300980/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-08T05:33:35.971Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-08T05:33:35.997Z] Warning: overwriting stash ‘stack-cost’ [2021-11-08T05:33:36.046Z] Stashed 1 file(s) [Pipeline] } [2021-11-08T05:33:36.052Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-13-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-08T05:33:36.062Z] $ docker stop --time=1 198117d5294c1e866221cf8d2ee1ee378a8d4fc7a23f799d7159b7e76b8dac4d [2021-11-08T05:33:37.582Z] $ docker rm -f 198117d5294c1e866221cf8d2ee1ee378a8d4fc7a23f799d7159b7e76b8dac4d [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-08T05:33:38.260Z] provisioning config files... [2021-11-08T05:33:38.271Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3902761784889272172tmp [Pipeline] { [Pipeline] sh [2021-11-08T05:33:38.585Z] + set +x [2021-11-08T05:33:38.585Z] + bash -s -- [2021-11-08T05:33:38.585Z] + curl -s https://codecov.io/bash [2021-11-08T05:33:38.585Z] [2021-11-08T05:33:38.585Z] _____ _ [2021-11-08T05:33:38.585Z] / ____| | | [2021-11-08T05:33:38.585Z] | | ___ __| | ___ ___ _____ __ [2021-11-08T05:33:38.585Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-08T05:33:38.585Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-08T05:33:38.585Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-08T05:33:38.585Z] Bash-1.0.6 [2021-11-08T05:33:38.585Z] [2021-11-08T05:33:38.585Z] [2021-11-08T05:33:38.585Z] ==> git version 2.24.4 found [2021-11-08T05:33:38.585Z] ==> 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-08T05:33:38.585Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-08T05:33:38.585Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-08T05:33:38.585Z] ==> Jenkins CI detected. [2021-11-08T05:33:38.585Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2021-11-08T05:33:38.585Z] project root: . [2021-11-08T05:33:38.585Z] --> token set from env [2021-11-08T05:33:38.585Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-08T05:33:38.850Z] ==> Running gcov in . (disable via -X gcov) [2021-11-08T05:33:38.850Z] ==> Python coveragepy not found [2021-11-08T05:33:38.850Z] ==> Searching for coverage reports in: [2021-11-08T05:33:38.850Z] + . [2021-11-08T05:33:38.850Z] -> Found 1 reports [2021-11-08T05:33:38.850Z] ==> Detecting git/mercurial file structure [2021-11-08T05:33:38.850Z] ==> Reading reports [2021-11-08T05:33:38.850Z] + ./coverage.out bytes=23727 [2021-11-08T05:33:38.850Z] ==> Appending adjustments [2021-11-08T05:33:38.850Z] https://docs.codecov.io/docs/fixing-reports [2021-11-08T05:33:38.850Z] + Found adjustments [2021-11-08T05:33:38.850Z] ==> Gzipping contents [2021-11-08T05:33:38.850Z] 4.0K /tmp/codecov.IJYc24.gz [2021-11-08T05:33:38.850Z] ==> Uploading reports [2021-11-08T05:33:38.850Z] url: https://codecov.io [2021-11-08T05:33:38.850Z] query: branch=main&commit=159a8a861e29f2433d7a50979645c48e0f5e62c9&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-08T05:33:38.850Z] -> Pinging Codecov [2021-11-08T05:33:38.850Z] 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=159a8a861e29f2433d7a50979645c48e0f5e62c9&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-08T05:33:39.422Z] -> Uploading to [2021-11-08T05:33:39.422Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-08/55DBCA73C666E3227836607328DD7E49/159a8a861e29f2433d7a50979645c48e0f5e62c9/c1918501-eca5-465b-879d-e614acd01419.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211108T053339Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4454e933cf01236c91addcbdb1510b7b3dae2dd2fe66a01253fd0c7fca99be8b [2021-11-08T05:33:39.422Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-08T05:33:39.422Z] Dload Upload Total Spent Left Speed [2021-11-08T05:33:39.422Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3999 0 0 100 3999 0 14456 --:--:-- --:--:-- --:--:-- 14436 100 3999 0 0 100 3999 0 14447 --:--:-- --:--:-- --:--:-- 14436 [2021-11-08T05:33:39.422Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/159a8a861e29f2433d7a50979645c48e0f5e62c9 [Pipeline] } [2021-11-08T05:33:39.430Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-08T05:33:39.814Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-08T05:33:39.823Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:33:40.125Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-08T05:33:40.125Z] [2021-11-08T05:33:40.125Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:33:40.436Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-08T05:33:40.436Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-08T05:33:40.436Z] 188c0c94c7c5: Pulling fs layer [2021-11-08T05:33:40.436Z] 0ef7d3d256c8: Pulling fs layer [2021-11-08T05:33:40.436Z] de9db76c5a1d: Pulling fs layer [2021-11-08T05:33:40.436Z] 0eba1c9be4d2: Pulling fs layer [2021-11-08T05:33:40.436Z] 0d57e429df01: Pulling fs layer [2021-11-08T05:33:40.436Z] 4e4be7b47b0d: Pulling fs layer [2021-11-08T05:33:40.436Z] e1f770b5df2f: Pulling fs layer [2021-11-08T05:33:40.436Z] 85a0685a4137: Pulling fs layer [2021-11-08T05:33:40.436Z] 0d57e429df01: Waiting [2021-11-08T05:33:40.436Z] 4e4be7b47b0d: Waiting [2021-11-08T05:33:40.436Z] e1f770b5df2f: Waiting [2021-11-08T05:33:40.436Z] 85a0685a4137: Waiting [2021-11-08T05:33:40.436Z] 0eba1c9be4d2: Waiting [2021-11-08T05:33:40.436Z] de9db76c5a1d: Verifying Checksum [2021-11-08T05:33:40.436Z] de9db76c5a1d: Download complete [2021-11-08T05:33:40.436Z] 0ef7d3d256c8: Verifying Checksum [2021-11-08T05:33:40.436Z] 0ef7d3d256c8: Download complete [2021-11-08T05:33:40.436Z] 0d57e429df01: Verifying Checksum [2021-11-08T05:33:40.436Z] 0d57e429df01: Download complete [2021-11-08T05:33:40.436Z] 4e4be7b47b0d: Verifying Checksum [2021-11-08T05:33:40.436Z] 4e4be7b47b0d: Download complete [2021-11-08T05:33:40.436Z] 188c0c94c7c5: Verifying Checksum [2021-11-08T05:33:40.436Z] 188c0c94c7c5: Download complete [2021-11-08T05:33:40.702Z] e1f770b5df2f: Verifying Checksum [2021-11-08T05:33:40.702Z] e1f770b5df2f: Download complete [2021-11-08T05:33:41.305Z] 0eba1c9be4d2: Verifying Checksum [2021-11-08T05:33:41.305Z] 0eba1c9be4d2: Download complete [2021-11-08T05:33:41.305Z] 188c0c94c7c5: Pull complete [2021-11-08T05:33:41.305Z] 85a0685a4137: Verifying Checksum [2021-11-08T05:33:41.305Z] 85a0685a4137: Download complete [2021-11-08T05:33:41.305Z] 0ef7d3d256c8: Pull complete [2021-11-08T05:33:41.571Z] de9db76c5a1d: Pull complete [2021-11-08T05:33:45.823Z] 0eba1c9be4d2: Pull complete [2021-11-08T05:33:45.823Z] 0d57e429df01: Pull complete [2021-11-08T05:33:45.823Z] 4e4be7b47b0d: Pull complete [2021-11-08T05:33:46.083Z] e1f770b5df2f: Pull complete [2021-11-08T05:33:50.327Z] 85a0685a4137: Pull complete [2021-11-08T05:33:50.327Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-08T05:33:50.327Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-08T05:33:50.327Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-08T05:33:50.393Z] prd-centos7-docker-4c-2g-27910 does not seem to be running inside a container [2021-11-08T05:33:50.430Z] $ 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-08T05:33:52.449Z] $ docker top 48020e8e15cf3db4ada7ea55cfbef64d0999169c138754893a9ce5ac3d999e76 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-08T05:33:52.527Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-08T05:33:52.803Z] + set -o pipefail [2021-11-08T05:33:52.803Z] + snyk monitor '--org=edgex-jenkins' [2021-11-08T05:33:57.017Z] [2021-11-08T05:33:57.017Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2021-11-08T05:33:57.017Z] [2021-11-08T05:33:57.017Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/338977ea-3c6a-4b3c-9c09-c3a33883eebc [2021-11-08T05:33:57.017Z] [2021-11-08T05:33:57.017Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2021-11-08T05:33:57.017Z] [2021-11-08T05:33:57.017Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-08T05:33:57.017Z] [2021-11-08T05:33:57.017Z] [2021-11-08T05:33:57.017Z] You are approaching your monthly limit of 200 private tests for your edgex-jenkins org. [2021-11-08T05:33:57.017Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-11-08T05:33:57.289Z] $ docker stop --time=1 48020e8e15cf3db4ada7ea55cfbef64d0999169c138754893a9ce5ac3d999e76 [2021-11-08T05:33:59.155Z] $ docker rm -f 48020e8e15cf3db4ada7ea55cfbef64d0999169c138754893a9ce5ac3d999e76 [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-08T05:34:00.027Z] + git log --format=format:%s -1 159a8a861e29f2433d7a50979645c48e0f5e62c9 [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:34:00.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-08T05:34:00.342Z] . [Pipeline] withDockerContainer [2021-11-08T05:34:00.398Z] prd-centos7-docker-4c-2g-27910 does not seem to be running inside a container [2021-11-08T05:34:00.427Z] $ 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-08T05:34:00.779Z] $ docker top c2e70e50dc128c926606bfe38a3bb5b58cbe642e114d931f4e1ef29ba89be82d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-08T05:34:00.872Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-08T05:34:00.872Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-08T05:34:00.986Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-08T05:34:00.989Z] $ docker exec c2e70e50dc128c926606bfe38a3bb5b58cbe642e114d931f4e1ef29ba89be82d ssh-agent [2021-11-08T05:34:01.105Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdKOdnk/agent.14 [2021-11-08T05:34:01.105Z] SSH_AGENT_PID=20 [2021-11-08T05:34:01.111Z] Running ssh-add (command line suppressed) [2021-11-08T05:34:01.218Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5028343868087517673.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5028343868087517673.key) [2021-11-08T05:34:01.231Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-08T05:34:01.526Z] + git semver tag [2021-11-08T05:34:01.526Z] # -> Open(): unable to determine branch for HEAD [2021-11-08T05:34:01.526Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-11-08T05:34:01.526Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-11-08T05:34:01.526Z] # $SEMVER_REMOTE_NAME = origin [2021-11-08T05:34:01.526Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-08T05:34:01.526Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-08T05:34:01.526Z] # $SEMVER_BRANCH = main [2021-11-08T05:34:01.526Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2021-11-08T05:34:01.526Z] # 159a8a861e29f2433d7a50979645c48e0f5e62c9 HEAD [2021-11-08T05:34:01.526Z] # -> Force: false [2021-11-08T05:34:01.526Z] # 05e008a54bfa4bd889e92ca52498d01d1d0c602e refs/tags/v2.0.1-dev.10 [Pipeline] } [2021-11-08T05:34:01.534Z] $ docker exec --env ******** --env ******** c2e70e50dc128c926606bfe38a3bb5b58cbe642e114d931f4e1ef29ba89be82d ssh-agent -k [2021-11-08T05:34:01.621Z] unset SSH_AUTH_SOCK; [2021-11-08T05:34:01.621Z] unset SSH_AGENT_PID; [2021-11-08T05:34:01.621Z] echo Agent pid 20 killed; [2021-11-08T05:34:01.630Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-08T05:34:01.938Z] + git semver [Pipeline] } [2021-11-08T05:34:01.950Z] $ docker stop --time=1 c2e70e50dc128c926606bfe38a3bb5b58cbe642e114d931f4e1ef29ba89be82d [2021-11-08T05:34:03.117Z] $ docker rm -f c2e70e50dc128c926606bfe38a3bb5b58cbe642e114d931f4e1ef29ba89be82d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:34:03.499Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-08T05:34:03.499Z] [2021-11-08T05:34:03.499Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:34:03.806Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-08T05:34:03.806Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-08T05:34:03.806Z] ab5ef0e58194: Pulling fs layer [2021-11-08T05:34:03.806Z] 9712f1f96733: Pulling fs layer [2021-11-08T05:34:03.806Z] 63f879dbbcfc: Pulling fs layer [2021-11-08T05:34:03.806Z] 0d9ebad4ef96: Pulling fs layer [2021-11-08T05:34:03.806Z] e9a5061849ea: Pulling fs layer [2021-11-08T05:34:03.806Z] d747dcd14b5f: Pulling fs layer [2021-11-08T05:34:03.806Z] 2de7ff778b66: Pulling fs layer [2021-11-08T05:34:03.806Z] 0d9ebad4ef96: Waiting [2021-11-08T05:34:03.806Z] e9a5061849ea: Waiting [2021-11-08T05:34:03.806Z] d747dcd14b5f: Waiting [2021-11-08T05:34:03.806Z] 2de7ff778b66: Waiting [2021-11-08T05:34:03.806Z] 9712f1f96733: Verifying Checksum [2021-11-08T05:34:03.806Z] 9712f1f96733: Download complete [2021-11-08T05:34:04.069Z] 63f879dbbcfc: Verifying Checksum [2021-11-08T05:34:04.069Z] 63f879dbbcfc: Download complete [2021-11-08T05:34:04.340Z] 0d9ebad4ef96: Verifying Checksum [2021-11-08T05:34:04.340Z] 0d9ebad4ef96: Download complete [2021-11-08T05:34:04.340Z] d747dcd14b5f: Verifying Checksum [2021-11-08T05:34:04.340Z] d747dcd14b5f: Download complete [2021-11-08T05:34:04.340Z] e9a5061849ea: Verifying Checksum [2021-11-08T05:34:04.340Z] e9a5061849ea: Download complete [2021-11-08T05:34:04.340Z] ab5ef0e58194: Verifying Checksum [2021-11-08T05:34:04.340Z] ab5ef0e58194: Download complete [2021-11-08T05:34:04.340Z] 2de7ff778b66: Verifying Checksum [2021-11-08T05:34:04.340Z] 2de7ff778b66: Download complete [2021-11-08T05:34:06.921Z] ab5ef0e58194: Pull complete [2021-11-08T05:34:07.187Z] 9712f1f96733: Pull complete [2021-11-08T05:34:07.771Z] 63f879dbbcfc: Pull complete [2021-11-08T05:34:11.998Z] 0d9ebad4ef96: Pull complete [2021-11-08T05:34:11.998Z] e9a5061849ea: Pull complete [2021-11-08T05:34:11.998Z] d747dcd14b5f: Pull complete [2021-11-08T05:34:13.394Z] 2de7ff778b66: Pull complete [2021-11-08T05:34:13.394Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-08T05:34:13.394Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-08T05:34:13.394Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-08T05:34:13.464Z] prd-centos7-docker-4c-2g-27910 does not seem to be running inside a container [2021-11-08T05:34:13.504Z] $ 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-08T05:34:16.682Z] $ docker top 35abf13ffb170a9cbf40fc41906cea6a4eca24467c74f9c1156b8b3985e5faf5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-08T05:34:16.756Z] provisioning config files... [2021-11-08T05:34:16.765Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6133529118074495914tmp [2021-11-08T05:34:16.777Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4218989030120789639tmp [2021-11-08T05:34:16.788Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2056085495078822897tmp [Pipeline] { [Pipeline] echo [2021-11-08T05:34:16.804Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T05:34:17.090Z] ---> sigul-configuration.sh [2021-11-08T05:34:17.090Z] gpg: directory `/root/.gnupg' created [2021-11-08T05:34:17.090Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-08T05:34:17.090Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-08T05:34:17.090Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-08T05:34:17.090Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-08T05:34:17.090Z] gpg: CAST5 encrypted data [2021-11-08T05:34:17.090Z] gpg: encrypted with 1 passphrase [2021-11-08T05:34:17.090Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-08T05:34:17.378Z] + mkdir /home/jenkins [2021-11-08T05:34:17.378Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-08T05:34:17.668Z] + 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-08T05:34:17.676Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T05:34:17.964Z] ---> sigul-install.sh [2021-11-08T05:34:17.964Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-08T05:34:18.263Z] + git tag --list [2021-11-08T05:34:18.263Z] 0.7.1 [2021-11-08T05:34:18.263Z] v1.0.0 [2021-11-08T05:34:18.263Z] v1.1.0 [2021-11-08T05:34:18.263Z] v1.1.1 [2021-11-08T05:34:18.263Z] v1.2.2 [2021-11-08T05:34:18.263Z] v1.3.0 [2021-11-08T05:34:18.263Z] v1.3.1 [2021-11-08T05:34:18.263Z] v2.0.0 [2021-11-08T05:34:18.263Z] v2.0.1-dev.1 [2021-11-08T05:34:18.263Z] v2.0.1-dev.10 [2021-11-08T05:34:18.263Z] v2.0.1-dev.2 [2021-11-08T05:34:18.263Z] v2.0.1-dev.3 [2021-11-08T05:34:18.263Z] v2.0.1-dev.4 [2021-11-08T05:34:18.263Z] v2.0.1-dev.5 [2021-11-08T05:34:18.263Z] v2.0.1-dev.6 [2021-11-08T05:34:18.263Z] v2.0.1-dev.7 [2021-11-08T05:34:18.263Z] v2.0.1-dev.8 [2021-11-08T05:34:18.263Z] v2.0.1-dev.9 [Pipeline] sh [2021-11-08T05:34:18.550Z] + lftools sign git-tag v2.0.1-dev.10 [2021-11-08T05:34:19.121Z] Signing Git tag with Sigul... [2021-11-08T05:34:19.121Z] Signing v2.0.1-dev.10 [Pipeline] echo [2021-11-08T05:34:20.070Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T05:34:20.362Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-08T05:34:20.369Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-08T05:34:20.387Z] $ docker stop --time=1 35abf13ffb170a9cbf40fc41906cea6a4eca24467c74f9c1156b8b3985e5faf5 [2021-11-08T05:34:21.572Z] $ docker rm -f 35abf13ffb170a9cbf40fc41906cea6a4eca24467c74f9c1156b8b3985e5faf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:34:22.139Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-08T05:34:22.139Z] . [Pipeline] withDockerContainer [2021-11-08T05:34:22.207Z] prd-centos7-docker-4c-2g-27910 does not seem to be running inside a container [2021-11-08T05:34:22.243Z] $ 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-08T05:34:22.600Z] $ docker top 519befc7313b67ec8153ab92fa88d3b9e67994cfe3ed79ef13aba3ab55f7f10a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-08T05:34:22.690Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-08T05:34:22.691Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-08T05:34:22.799Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-08T05:34:22.802Z] $ docker exec 519befc7313b67ec8153ab92fa88d3b9e67994cfe3ed79ef13aba3ab55f7f10a ssh-agent [2021-11-08T05:34:22.898Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHILGcM/agent.14 [2021-11-08T05:34:22.898Z] SSH_AGENT_PID=20 [2021-11-08T05:34:22.903Z] Running ssh-add (command line suppressed) [2021-11-08T05:34:22.994Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8043508739058308061.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8043508739058308061.key) [2021-11-08T05:34:23.007Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-08T05:34:23.300Z] + git semver bump pre [2021-11-08T05:34:23.300Z] # -> Open(): unable to determine branch for HEAD [2021-11-08T05:34:23.300Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-11-08T05:34:23.300Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-11-08T05:34:23.300Z] # $SEMVER_REMOTE_NAME = origin [2021-11-08T05:34:23.300Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-08T05:34:23.300Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-08T05:34:23.300Z] # $SEMVER_BRANCH = main [2021-11-08T05:34:23.300Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2021-11-08T05:34:23.300Z] 2.0.1-dev.11 [Pipeline] } [2021-11-08T05:34:23.310Z] $ docker exec --env ******** --env ******** 519befc7313b67ec8153ab92fa88d3b9e67994cfe3ed79ef13aba3ab55f7f10a ssh-agent -k [2021-11-08T05:34:23.396Z] unset SSH_AUTH_SOCK; [2021-11-08T05:34:23.396Z] unset SSH_AGENT_PID; [2021-11-08T05:34:23.397Z] echo Agent pid 20 killed; [2021-11-08T05:34:23.406Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-08T05:34:23.722Z] + git semver [Pipeline] } [2021-11-08T05:34:23.734Z] $ docker stop --time=1 519befc7313b67ec8153ab92fa88d3b9e67994cfe3ed79ef13aba3ab55f7f10a [2021-11-08T05:34:24.934Z] $ docker rm -f 519befc7313b67ec8153ab92fa88d3b9e67994cfe3ed79ef13aba3ab55f7f10a [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:34:25.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-08T05:34:25.334Z] . [Pipeline] withDockerContainer [2021-11-08T05:34:25.393Z] prd-centos7-docker-4c-2g-27910 does not seem to be running inside a container [2021-11-08T05:34:25.424Z] $ 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-08T05:34:25.800Z] $ docker top f505bd070f5553c3e486e59672aa49b1623d36784f20a9da1ce56726c2d092e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-08T05:34:25.933Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-08T05:34:25.933Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-08T05:34:26.090Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-08T05:34:26.093Z] $ docker exec f505bd070f5553c3e486e59672aa49b1623d36784f20a9da1ce56726c2d092e1 ssh-agent [2021-11-08T05:34:26.253Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDBhmLd/agent.13 [2021-11-08T05:34:26.253Z] SSH_AGENT_PID=19 [2021-11-08T05:34:26.290Z] Running ssh-add (command line suppressed) [2021-11-08T05:34:26.385Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3888352683077722919.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3888352683077722919.key) [2021-11-08T05:34:26.395Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-08T05:34:26.682Z] + git semver push [2021-11-08T05:34:26.682Z] # -> Open(): unable to determine branch for HEAD [2021-11-08T05:34:26.682Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-11-08T05:34:26.682Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-11-08T05:34:26.682Z] # $SEMVER_REMOTE_NAME = origin [2021-11-08T05:34:26.682Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-08T05:34:26.682Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-08T05:34:26.682Z] # $SEMVER_BRANCH = main [2021-11-08T05:34:26.682Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2021-11-08T05:34:28.071Z] $ docker exec --env ******** --env ******** f505bd070f5553c3e486e59672aa49b1623d36784f20a9da1ce56726c2d092e1 ssh-agent -k [2021-11-08T05:34:28.170Z] unset SSH_AUTH_SOCK; [2021-11-08T05:34:28.170Z] unset SSH_AGENT_PID; [2021-11-08T05:34:28.170Z] echo Agent pid 19 killed; [2021-11-08T05:34:28.180Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-08T05:34:28.484Z] + git semver [Pipeline] } [2021-11-08T05:34:28.500Z] $ docker stop --time=1 f505bd070f5553c3e486e59672aa49b1623d36784f20a9da1ce56726c2d092e1 [2021-11-08T05:34:29.687Z] $ docker rm -f f505bd070f5553c3e486e59672aa49b1623d36784f20a9da1ce56726c2d092e1 [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-08T05:34:30.811Z] + '[' -d /w/workspace/gexfoundry_device-modbus-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-08T05:34:31.104Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T05:34:31.654Z] ---> package-listing.sh [2021-11-08T05:34:31.654Z] ++ facter osfamily [2021-11-08T05:34:31.654Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-08T05:34:31.915Z] + OS_FAMILY=redhat [2021-11-08T05:34:31.915Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2021-11-08T05:34:31.915Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-08T05:34:31.915Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-08T05:34:31.915Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-08T05:34:31.915Z] + PACKAGES=/tmp/packages_start.txt [2021-11-08T05:34:31.915Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2021-11-08T05:34:31.915Z] + PACKAGES=/tmp/packages_end.txt [2021-11-08T05:34:31.915Z] + case "${OS_FAMILY}" in [2021-11-08T05:34:31.915Z] + sort [2021-11-08T05:34:31.915Z] + rpm -qa [2021-11-08T05:34:32.486Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-08T05:34:32.486Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-08T05:34:32.486Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-08T05:34:32.486Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2021-11-08T05:34:32.486Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2021-11-08T05:34:32.486Z] + 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-08T05:34:32.497Z] 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-08T05:34:32.776Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:34:33.324Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-08T05:34:33.324Z] [2021-11-08T05:34:33.324Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-08T05:34:33.620Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-08T05:34:33.620Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-08T05:34:33.620Z] b4d181a07f80: Pulling fs layer [2021-11-08T05:34:33.620Z] a1111a8f2ec3: Pulling fs layer [2021-11-08T05:34:33.620Z] ed53099fbce6: Pulling fs layer [2021-11-08T05:34:33.620Z] dc539afda2c1: Pulling fs layer [2021-11-08T05:34:33.620Z] 77bc0d833cb6: Pulling fs layer [2021-11-08T05:34:33.620Z] 9065ff56babe: Pulling fs layer [2021-11-08T05:34:33.620Z] d287ab97295c: Pulling fs layer [2021-11-08T05:34:33.620Z] 77bc0d833cb6: Waiting [2021-11-08T05:34:33.620Z] 9065ff56babe: Waiting [2021-11-08T05:34:33.620Z] d287ab97295c: Waiting [2021-11-08T05:34:33.620Z] dc539afda2c1: Waiting [2021-11-08T05:34:33.620Z] a1111a8f2ec3: Verifying Checksum [2021-11-08T05:34:33.620Z] a1111a8f2ec3: Download complete [2021-11-08T05:34:33.620Z] dc539afda2c1: Verifying Checksum [2021-11-08T05:34:33.620Z] dc539afda2c1: Download complete [2021-11-08T05:34:33.620Z] ed53099fbce6: Verifying Checksum [2021-11-08T05:34:33.620Z] ed53099fbce6: Download complete [2021-11-08T05:34:33.620Z] 77bc0d833cb6: Verifying Checksum [2021-11-08T05:34:33.620Z] 77bc0d833cb6: Download complete [2021-11-08T05:34:33.620Z] 9065ff56babe: Verifying Checksum [2021-11-08T05:34:33.620Z] 9065ff56babe: Download complete [2021-11-08T05:34:33.886Z] b4d181a07f80: Verifying Checksum [2021-11-08T05:34:33.886Z] b4d181a07f80: Download complete [2021-11-08T05:34:34.473Z] d287ab97295c: Verifying Checksum [2021-11-08T05:34:34.473Z] d287ab97295c: Download complete [2021-11-08T05:34:35.427Z] b4d181a07f80: Pull complete [2021-11-08T05:34:35.427Z] a1111a8f2ec3: Pull complete [2021-11-08T05:34:35.998Z] ed53099fbce6: Pull complete [2021-11-08T05:34:35.998Z] dc539afda2c1: Pull complete [2021-11-08T05:34:36.263Z] 77bc0d833cb6: Pull complete [2021-11-08T05:34:36.263Z] 9065ff56babe: Pull complete [2021-11-08T05:34:41.591Z] d287ab97295c: Pull complete [2021-11-08T05:34:41.591Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-08T05:34:41.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-08T05:34:41.591Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-08T05:34:41.654Z] prd-centos7-docker-4c-2g-27910 does not seem to be running inside a container [2021-11-08T05:34:41.688Z] $ 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-08T05:34:43.857Z] $ docker top ed3f5ab2a16d7e33084bdd42a3e706a53ae01e68bfb674c9be4405acd10781b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-08T05:34:44.213Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-08T05:34:44.500Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-08T05:34:44.794Z] + ls /var/log/sa-host [2021-11-08T05:34:44.794Z] + sadf -c /var/log/sa-host/sa08 [2021-11-08T05:34:44.794Z] file_magic: OK [2021-11-08T05:34:44.794Z] HZ: Using current value: 100 [2021-11-08T05:34:44.794Z] file_header: OK [2021-11-08T05:34:44.794Z] 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-08T05:34:44.794Z] Statistics: [2021-11-08T05:34:44.794Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-08T05:34:44.794Z] File successfully converted to sysstat format version 12.0.3 [2021-11-08T05:34:44.794Z] + sadf -c /var/log/sa-host/sa30 [2021-11-08T05:34:44.794Z] file_magic: OK [2021-11-08T05:34:44.794Z] HZ: Using current value: 100 [2021-11-08T05:34:44.794Z] file_header: OK [2021-11-08T05:34:44.794Z] 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-08T05:34:44.794Z] Statistics: [2021-11-08T05:34:44.794Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-08T05:34:44.794Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-08T05:34:45.087Z] provisioning config files... [2021-11-08T05:34:45.104Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config882780888795074374tmp [Pipeline] { [Pipeline] echo [2021-11-08T05:34:45.114Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T05:34:45.405Z] ---> create-netrc.sh [Pipeline] } [2021-11-08T05:34:45.412Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-08T05:34:45.744Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-08T05:34:45.756Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T05:34:46.045Z] ---> sudo-logs.sh [2021-11-08T05:34:46.045Z] Archiving 'sudo' log.. [2021-11-08T05:34:46.045Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-27910.novalocal: Name or service not known [2021-11-08T05:34:46.045Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-27910.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-08T05:34:46.062Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T05:34:46.345Z] ---> job-cost.sh [2021-11-08T05:34:46.345Z] lf-activate-venv: SKIPPING [2021-11-08T05:34:46.345Z] DEBUG: total: 0.10999999940395355 [2021-11-08T05:34:46.345Z] INFO: Retrieving Stack Cost... [2021-11-08T05:34:46.605Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-08T05:34:46.865Z] INFO: Archiving Costs [Pipeline] echo [2021-11-08T05:34:46.876Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T05:34:47.165Z] ---> logs-deploy.sh [2021-11-08T05:34:47.165Z] lf-activate-venv: SKIPPING [2021-11-08T05:34:47.165Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/13 [2021-11-08T05:34:47.165Z] INFO: archiving workspace using pattern(s): [2021-11-08T05:34:47.745Z] Archives upload complete. [2021-11-08T05:34:48.008Z] INFO: archiving logs to Nexus