Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 88a58696cb067fb6eae2a796006b77d9cd89139c 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-ssh6114854176187940478.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-ssh3724676722247961343.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 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-ssh136644394413942041.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 # timeout=10 Commit message: "Merge pull request #366 from ernestojeda/fix-builder-images-sdk-c" > 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-ssh6425185175946230252.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-ssh3724272669796133690.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-932 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-ssh2013805901189074458.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 88a58696cb067fb6eae2a796006b77d9cd89139c (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 88a58696cb067fb6eae2a796006b77d9cd89139c # timeout=10 Commit message: "Merge pull request #297 from MonicaisHer/update-snap-docs" > git rev-list --no-walk 3366fcb7b8cfa87a3d941489b4b63a155443012c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-17T09:10:00.960Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-17T09:10:00.996Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-17T09:10:01.008Z] ========================================================= [2021-11-17T09:10:01.008Z] EdgeX Global Pipelines Version Info [2021-11-17T09:10:01.008Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:10:02.153Z] ------------------- [2021-11-17T09:10:02.153Z] stable info: [2021-11-17T09:10:02.153Z] ------------------- [2021-11-17T09:10:02.153Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-17T09:10:02.153Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-17T09:10:02.153Z] Message: update stable to v1.0.215 [2021-11-17T09:10:03.100Z] ------------------- [2021-11-17T09:10:03.100Z] experimental info: [2021-11-17T09:10:03.100Z] ------------------- [2021-11-17T09:10:03.100Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-17T09:10:03.100Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-17T09:10:03.100Z] Message: update experimental to v1.0.215 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-17T09:10:03.165Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-11-17T09:10:03.173Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-11-17T09:10:03.182Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-17T09:10:03.191Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-17T09:10:03.201Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-17T09:10:03.211Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-17T09:10:03.222Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-17T09:10:03.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-17T09:10:03.240Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-17T09:10:03.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-17T09:10:03.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-17T09:10:03.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-11-17T09:10:03.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-17T09:10:03.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-17T09:10:03.293Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-17T09:10:03.302Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-17T09:10:03.311Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-17T09:10:03.323Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-17T09:10:03.331Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-17T09:10:03.340Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-11-17T09:10:03.349Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-17T09:10:03.358Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-17T09:10:03.370Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-17T09:10:03.379Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-17T09:10:03.388Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-17T09:10:03.397Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-17T09:10:03.406Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-17T09:10:03.415Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-17T09:10:03.424Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-17T09:10:03.433Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 88a58696cb067fb6eae2a796006b77d9cd89139c [Pipeline] echo [2021-11-17T09:10:03.442Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 88a5869 [Pipeline] echo [2021-11-17T09:10:03.452Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T09:10:03.494Z] provisioning config files... [2021-11-17T09:10:03.506Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3864996335513108672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:10:03.819Z] ---> docker-login.sh [2021-11-17T09:10:03.819Z] nexus3.edgexfoundry.org:10001 [2021-11-17T09:10:03.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:10:04.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:10:04.079Z] Configure a credential helper to remove this warning. See [2021-11-17T09:10:04.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:10:04.079Z] [2021-11-17T09:10:04.079Z] Login Succeeded [2021-11-17T09:10:04.079Z] nexus3.edgexfoundry.org:10002 [2021-11-17T09:10:04.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:10:04.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:10:04.079Z] Configure a credential helper to remove this warning. See [2021-11-17T09:10:04.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:10:04.079Z] [2021-11-17T09:10:04.079Z] Login Succeeded [2021-11-17T09:10:04.079Z] nexus3.edgexfoundry.org:10003 [2021-11-17T09:10:04.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:10:04.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:10:04.340Z] Configure a credential helper to remove this warning. See [2021-11-17T09:10:04.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:10:04.341Z] [2021-11-17T09:10:04.341Z] Login Succeeded [2021-11-17T09:10:04.341Z] nexus3.edgexfoundry.org:10004 [2021-11-17T09:10:04.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:10:04.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:10:04.341Z] Configure a credential helper to remove this warning. See [2021-11-17T09:10:04.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:10:04.341Z] [2021-11-17T09:10:04.341Z] Login Succeeded [2021-11-17T09:10:04.341Z] docker.io [2021-11-17T09:10:04.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:10:04.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:10:04.603Z] Configure a credential helper to remove this warning. See [2021-11-17T09:10:04.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:10:04.603Z] [2021-11-17T09:10:04.603Z] Login Succeeded [2021-11-17T09:10:04.603Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T09:10:04.611Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-17T09:10:05.037Z] + git rev-list -1 --merges 88a58696cb067fb6eae2a796006b77d9cd89139c~1..88a58696cb067fb6eae2a796006b77d9cd89139c [Pipeline] echo [2021-11-17T09:10:05.071Z] -----------> git rev-list -1 --merges 88a58696cb067fb6eae2a796006b77d9cd89139c~1..88a58696cb067fb6eae2a796006b77d9cd89139c 88a58696cb067fb6eae2a796006b77d9cd89139c [2021-11-17T09:10:05.071Z] 88a58696cb067fb6eae2a796006b77d9cd89139c [false] [Pipeline] sh [2021-11-17T09:10:05.370Z] + git log --format=format:%s -1 88a58696cb067fb6eae2a796006b77d9cd89139c [Pipeline] echo [2021-11-17T09:10:05.385Z] ========================================================= [2021-11-17T09:10:05.385Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-17T09:10:05.385Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-17T09:10:05.711Z] + git log --format=format:%s -1 88a58696cb067fb6eae2a796006b77d9cd89139c [Pipeline] echo [2021-11-17T09:10:05.728Z] [semverPrep] GIT_COMMIT: 88a58696cb067fb6eae2a796006b77d9cd89139c, Commit Message: Merge pull request #297 from MonicaisHer/update-snap-docs [Pipeline] echo [2021-11-17T09:10:05.737Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:10:06.162Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T09:10:06.162Z] [2021-11-17T09:10:06.162Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:10:06.466Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T09:10:06.466Z] latest: Pulling from edgex-devops/git-semver [2021-11-17T09:10:06.466Z] a0d0a0d46f8b: Pulling fs layer [2021-11-17T09:10:06.466Z] 3e5f54012d9b: Pulling fs layer [2021-11-17T09:10:06.466Z] 4c7163046ea9: Pulling fs layer [2021-11-17T09:10:06.467Z] 0c2d73faf560: Pulling fs layer [2021-11-17T09:10:06.467Z] 0c2d73faf560: Waiting [2021-11-17T09:10:06.467Z] 3e5f54012d9b: Verifying Checksum [2021-11-17T09:10:06.467Z] 3e5f54012d9b: Download complete [2021-11-17T09:10:06.467Z] a0d0a0d46f8b: Verifying Checksum [2021-11-17T09:10:06.467Z] a0d0a0d46f8b: Download complete [2021-11-17T09:10:06.732Z] 0c2d73faf560: Verifying Checksum [2021-11-17T09:10:06.732Z] 0c2d73faf560: Download complete [2021-11-17T09:10:06.732Z] 4c7163046ea9: Verifying Checksum [2021-11-17T09:10:06.732Z] 4c7163046ea9: Download complete [2021-11-17T09:10:06.732Z] a0d0a0d46f8b: Pull complete [2021-11-17T09:10:06.732Z] 3e5f54012d9b: Pull complete [2021-11-17T09:10:06.993Z] 4c7163046ea9: Pull complete [2021-11-17T09:10:07.254Z] 0c2d73faf560: Pull complete [2021-11-17T09:10:07.254Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-17T09:10:07.254Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T09:10:07.254Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-17T09:10:07.327Z] prd-centos7-docker-4c-2g-932 does not seem to be running inside a container [2021-11-17T09:10:06.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-17T09:10:07.254Z] $ docker top b88ef6facea9866f61b4ad4c8c87d2e3ccf7659c420ec6c4ec3db0b1fefecb1c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-17T09:10:08.005Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T09:10:08.005Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T09:10:08.112Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T09:10:07.485Z] $ docker exec b88ef6facea9866f61b4ad4c8c87d2e3ccf7659c420ec6c4ec3db0b1fefecb1c ssh-agent [2021-11-17T09:10:08.214Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeOoicg/agent.14 [2021-11-17T09:10:08.214Z] SSH_AGENT_PID=20 [2021-11-17T09:10:08.221Z] Running ssh-add (command line suppressed) [2021-11-17T09:10:07.696Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5085206210027900224.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5085206210027900224.key) [2021-11-17T09:10:08.323Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T09:10:08.615Z] + git tag --points-at HEAD [Pipeline] } [2021-11-17T09:10:08.041Z] $ docker exec --env ******** --env ******** b88ef6facea9866f61b4ad4c8c87d2e3ccf7659c420ec6c4ec3db0b1fefecb1c ssh-agent -k [2021-11-17T09:10:08.127Z] unset SSH_AUTH_SOCK; [2021-11-17T09:10:08.127Z] unset SSH_AGENT_PID; [2021-11-17T09:10:08.127Z] echo Agent pid 20 killed; [2021-11-17T09:10:08.717Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-17T09:10:08.741Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T09:10:08.741Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T09:10:08.846Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T09:10:08.280Z] $ docker exec b88ef6facea9866f61b4ad4c8c87d2e3ccf7659c420ec6c4ec3db0b1fefecb1c ssh-agent [2021-11-17T09:10:08.949Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAmhkph/agent.51 [2021-11-17T09:10:08.949Z] SSH_AGENT_PID=58 [2021-11-17T09:10:08.953Z] Running ssh-add (command line suppressed) [2021-11-17T09:10:08.491Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1658383613982926372.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1658383613982926372.key) [2021-11-17T09:10:09.057Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T09:10:09.347Z] + git semver init [2021-11-17T09:10:09.347Z] # -> Open(): unable to determine branch for HEAD [2021-11-17T09:10:09.347Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-11-17T09:10:09.347Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-11-17T09:10:09.347Z] # $SEMVER_REMOTE_NAME = origin [2021-11-17T09:10:09.347Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-17T09:10:09.347Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-17T09:10:09.347Z] # $SEMVER_BRANCH = main [2021-11-17T09:10:09.347Z] # $SEMVER_TEMP = /tmp/semver-921578436 [2021-11-17T09:10:09.347Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-11-17T09:10:09.347Z] # -> Clone(): ssh: handshake failed: knownhosts: key mismatch [2021-11-17T09:10:09.347Z] # git init /tmp/semver-921578436 [2021-11-17T09:10:09.347Z] # '/tmp/semver-921578436' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' [2021-11-17T09:10:09.347Z] # -> Force: false [2021-11-17T09:10:09.347Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2021-11-17T09:10:08.831Z] $ docker exec --env ******** --env ******** b88ef6facea9866f61b4ad4c8c87d2e3ccf7659c420ec6c4ec3db0b1fefecb1c ssh-agent -k [2021-11-17T09:10:08.950Z] unset SSH_AUTH_SOCK; [2021-11-17T09:10:08.950Z] unset SSH_AGENT_PID; [2021-11-17T09:10:08.950Z] echo Agent pid 58 killed; [2021-11-17T09:10:09.476Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-17T09:10:09.790Z] + git semver [Pipeline] } [2021-11-17T09:10:09.315Z] $ docker stop --time=1 b88ef6facea9866f61b4ad4c8c87d2e3ccf7659c420ec6c4ec3db0b1fefecb1c [2021-11-17T09:10:10.516Z] $ docker rm -f b88ef6facea9866f61b4ad4c8c87d2e3ccf7659c420ec6c4ec3db0b1fefecb1c [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-17T09:10:11.261Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-17T09:10:11.485Z] Stashed 1 file(s) [Pipeline] echo [2021-11-17T09:10:11.488Z] [edgeXSemver]: initialized semver on version 0.0.0 [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-17T09:10:26.674Z] Still waiting to schedule task [2021-11-17T09:10:26.674Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-17T09:10:26.677Z] Still waiting to schedule task [2021-11-17T09:10:26.678Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-933’ is offline [2021-11-17T09:12:26.462Z] Running on prd-centos7-docker-4c-2g-936 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2021-11-17T09:12:26.473Z] Running in /w/workspace/device-modbus-go/16 [Pipeline] { [Pipeline] checkout [2021-11-17T09:12:26.553Z] Selected Git installation does not exist. Using Default [2021-11-17T09:12:26.553Z] The recommended git tool is: NONE [2021-11-17T09:12:28.385Z] using credential edgex-jenkins-ssh [2021-11-17T09:12:28.397Z] Cloning the remote Git repository [2021-11-17T09:12:27.280Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-11-17T09:12:27.334Z] > git init /w/workspace/device-modbus-go/16 # timeout=10 [2021-11-17T09:12:27.366Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-11-17T09:12:27.366Z] > git --version # timeout=10 [2021-11-17T09:12:27.373Z] > git --version # 'git version 2.24.4' [2021-11-17T09:12:27.373Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T09:12:27.395Z] [INFO] Currently running in a labeled security context [2021-11-17T09:12:27.395Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-17T09:12:27.396Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/16@tmp/jenkins-gitclient-ssh1343407237321654224.key [2021-11-17T09:12:27.420Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T09:12:29.291Z] Avoid second fetch [2021-11-17T09:12:29.291Z] Checking out Revision 88a58696cb067fb6eae2a796006b77d9cd89139c (main) [2021-11-17T09:12:28.134Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-11-17T09:12:28.143Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T09:12:28.162Z] > git config core.sparsecheckout # timeout=10 [2021-11-17T09:12:28.171Z] > git checkout -f 88a58696cb067fb6eae2a796006b77d9cd89139c # timeout=10 [2021-11-17T09:12:32.890Z] Commit message: "Merge pull request #297 from MonicaisHer/update-snap-docs" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T09:12:33.247Z] provisioning config files... [2021-11-17T09:12:33.261Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/16@tmp/config2908931076984001623tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:12:33.657Z] ---> docker-login.sh [2021-11-17T09:12:33.657Z] nexus3.edgexfoundry.org:10001 [2021-11-17T09:12:33.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:12:33.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:12:33.922Z] Configure a credential helper to remove this warning. See [2021-11-17T09:12:33.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:12:33.922Z] [2021-11-17T09:12:33.922Z] Login Succeeded [2021-11-17T09:12:33.922Z] nexus3.edgexfoundry.org:10002 [2021-11-17T09:12:33.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:12:33.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:12:33.922Z] Configure a credential helper to remove this warning. See [2021-11-17T09:12:33.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:12:33.922Z] [2021-11-17T09:12:33.922Z] Login Succeeded [2021-11-17T09:12:33.922Z] nexus3.edgexfoundry.org:10003 [2021-11-17T09:12:33.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:12:33.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:12:33.922Z] Configure a credential helper to remove this warning. See [2021-11-17T09:12:33.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:12:33.922Z] [2021-11-17T09:12:33.922Z] Login Succeeded [2021-11-17T09:12:33.922Z] nexus3.edgexfoundry.org:10004 [2021-11-17T09:12:34.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:12:34.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:12:34.183Z] Configure a credential helper to remove this warning. See [2021-11-17T09:12:34.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:12:34.183Z] [2021-11-17T09:12:34.183Z] Login Succeeded [2021-11-17T09:12:34.183Z] docker.io [2021-11-17T09:12:34.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:12:34.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:12:34.760Z] Configure a credential helper to remove this warning. See [2021-11-17T09:12:34.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:12:34.760Z] [2021-11-17T09:12:34.760Z] Login Succeeded [2021-11-17T09:12:34.760Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T09:12:34.791Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-11-17T09:12:34.828Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-935 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2021-11-17T09:12:34.838Z] Running in /w/workspace/device-modbus-go/16 [Pipeline] { [Pipeline] checkout [Pipeline] echo [2021-11-17T09:12:34.928Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-17T09:12:34.937Z] ========================================================= [2021-11-17T09:12:34.937Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-17T09:12:34.937Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:12:35.038Z] Selected Git installation does not exist. Using Default [2021-11-17T09:12:35.038Z] The recommended git tool is: NONE [2021-11-17T09:12:35.256Z] + 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-17T09:12:35.256Z] Sending build context to Docker daemon 710.7kB [2021-11-17T09:12:35.256Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T09:12:35.256Z] Step 2/9 : FROM ${BASE} AS builder [2021-11-17T09:12:35.256Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-17T09:12:35.256Z] a0d0a0d46f8b: Pulling fs layer [2021-11-17T09:12:35.256Z] 31adcdaf11c8: Pulling fs layer [2021-11-17T09:12:35.256Z] b8b176561691: Pulling fs layer [2021-11-17T09:12:35.256Z] 4527c011a84f: Pulling fs layer [2021-11-17T09:12:35.256Z] 5d74067f8e1e: Pulling fs layer [2021-11-17T09:12:35.256Z] e0aca202a116: Pulling fs layer [2021-11-17T09:12:35.256Z] 3a43be97a3b4: Pulling fs layer [2021-11-17T09:12:35.256Z] 34cad66bf833: Pulling fs layer [2021-11-17T09:12:35.256Z] b4e3c513aaa6: Pulling fs layer [2021-11-17T09:12:35.256Z] 4527c011a84f: Waiting [2021-11-17T09:12:35.256Z] 5d74067f8e1e: Waiting [2021-11-17T09:12:35.256Z] e0aca202a116: Waiting [2021-11-17T09:12:35.256Z] 3a43be97a3b4: Waiting [2021-11-17T09:12:35.256Z] 34cad66bf833: Waiting [2021-11-17T09:12:35.256Z] b4e3c513aaa6: Waiting [2021-11-17T09:12:35.256Z] b8b176561691: Verifying Checksum [2021-11-17T09:12:35.256Z] b8b176561691: Download complete [2021-11-17T09:12:35.256Z] 31adcdaf11c8: Verifying Checksum [2021-11-17T09:12:35.256Z] 31adcdaf11c8: Download complete [2021-11-17T09:12:35.256Z] 5d74067f8e1e: Verifying Checksum [2021-11-17T09:12:35.256Z] 5d74067f8e1e: Download complete [2021-11-17T09:12:35.256Z] a0d0a0d46f8b: Verifying Checksum [2021-11-17T09:12:35.256Z] a0d0a0d46f8b: Download complete [2021-11-17T09:12:35.256Z] e0aca202a116: Verifying Checksum [2021-11-17T09:12:35.256Z] e0aca202a116: Download complete [2021-11-17T09:12:35.256Z] 3a43be97a3b4: Verifying Checksum [2021-11-17T09:12:35.256Z] 3a43be97a3b4: Download complete [2021-11-17T09:12:35.520Z] 34cad66bf833: Verifying Checksum [2021-11-17T09:12:35.520Z] 34cad66bf833: Download complete [2021-11-17T09:12:35.798Z] a0d0a0d46f8b: Pull complete [2021-11-17T09:12:36.071Z] 4527c011a84f: Verifying Checksum [2021-11-17T09:12:36.071Z] 4527c011a84f: Download complete [2021-11-17T09:12:36.071Z] b4e3c513aaa6: Verifying Checksum [2021-11-17T09:12:36.071Z] b4e3c513aaa6: Download complete [2021-11-17T09:12:36.071Z] 31adcdaf11c8: Pull complete [2021-11-17T09:12:36.071Z] b8b176561691: Pull complete [2021-11-17T09:12:40.317Z] 4527c011a84f: Pull complete [2021-11-17T09:12:40.317Z] 5d74067f8e1e: Pull complete [2021-11-17T09:12:40.317Z] e0aca202a116: Pull complete [2021-11-17T09:12:40.445Z] using credential edgex-jenkins-ssh [2021-11-17T09:12:40.464Z] Cloning the remote Git repository [2021-11-17T09:12:40.578Z] 3a43be97a3b4: Pull complete [2021-11-17T09:12:40.578Z] 34cad66bf833: Pull complete [2021-11-17T09:12:40.515Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-11-17T09:12:40.614Z] > git init /w/workspace/device-modbus-go/16 # timeout=10 [2021-11-17T09:12:40.694Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-11-17T09:12:40.695Z] > git --version # timeout=10 [2021-11-17T09:12:40.721Z] > git --version # 'git version 2.17.1' [2021-11-17T09:12:40.722Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T09:12:40.813Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T09:12:41.637Z] Avoid second fetch [2021-11-17T09:12:41.637Z] Checking out Revision 88a58696cb067fb6eae2a796006b77d9cd89139c (main) [2021-11-17T09:12:41.594Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-11-17T09:12:41.615Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T09:12:41.658Z] > git config core.sparsecheckout # timeout=10 [2021-11-17T09:12:41.672Z] > git checkout -f 88a58696cb067fb6eae2a796006b77d9cd89139c # timeout=10 [2021-11-17T09:12:43.145Z] b4e3c513aaa6: Pull complete [2021-11-17T09:12:43.405Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-17T09:12:43.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-17T09:12:43.405Z] ---> 9f6097aaca64 [2021-11-17T09:12:43.405Z] Step 3/9 : ARG MAKE='make build' [2021-11-17T09:12:45.924Z] Commit message: "Merge pull request #297 from MonicaisHer/update-snap-docs" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-17T09:12:46.733Z] ---> Running in 898df638a5da [2021-11-17T09:12:46.733Z] Removing intermediate container 898df638a5da [2021-11-17T09:12:46.733Z] ---> 60132a125801 [2021-11-17T09:12:46.733Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T09:12:46.861Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-17T09:12:46.861Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-17T09:12:46.861Z] Dload Upload Total Spent Left Speed [2021-11-17T09:12:46.861Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 195k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh [2021-11-17T09:12:46.996Z] ---> Running in ace5d8f3e6ee [2021-11-17T09:12:47.267Z] Removing intermediate container ace5d8f3e6ee [2021-11-17T09:12:47.267Z] ---> 6053765398fb [2021-11-17T09:12:47.267Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-11-17T09:12:47.289Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-17T09:12:47.529Z] ---> Running in 0a974a596cad [2021-11-17T09:12:47.647Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-17T09:12:47.647Z] sudo tee /etc/docker/daemon.new [2021-11-17T09:12:47.647Z] { [2021-11-17T09:12:47.647Z] "registry-mirrors": [ [2021-11-17T09:12:47.647Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-17T09:12:47.647Z] ], [2021-11-17T09:12:47.647Z] "bip": "10.250.0.254/24", [2021-11-17T09:12:47.647Z] "hosts": [ [2021-11-17T09:12:47.647Z] "tcp://0.0.0.0:5555", [2021-11-17T09:12:47.647Z] "unix:///var/run/docker.sock" [2021-11-17T09:12:47.647Z] ], [2021-11-17T09:12:47.647Z] "mtu": 1458, [2021-11-17T09:12:47.647Z] "selinux-enabled": true, [2021-11-17T09:12:47.647Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-17T09:12:47.647Z] } [Pipeline] sh [2021-11-17T09:12:47.799Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-17T09:12:48.003Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-17T09:12:48.341Z] + sudo service docker restart [2021-11-17T09:12:48.369Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-17T09:12:48.944Z] (1/8) Installing openssh-keygen (8.6_p1-r3) [2021-11-17T09:12:48.944Z] (2/8) Installing libedit (20210216.3.1-r0) [2021-11-17T09:12:48.944Z] (3/8) Installing openssh-client-common (8.6_p1-r3) [2021-11-17T09:12:49.206Z] (4/8) Installing openssh-client-default (8.6_p1-r3) [2021-11-17T09:12:49.206Z] (5/8) Installing openssh-sftp-server (8.6_p1-r3) [2021-11-17T09:12:49.206Z] (6/8) Installing openssh-server-common (8.6_p1-r3) [2021-11-17T09:12:49.470Z] (7/8) Installing openssh-server (8.6_p1-r3) [2021-11-17T09:12:49.470Z] (8/8) Installing openssh (8.6_p1-r3) [2021-11-17T09:12:49.470Z] Executing busybox-1.33.1-r3.trigger [2021-11-17T09:12:49.470Z] OK: 226 MiB in 60 packages [2021-11-17T09:12:50.049Z] Removing intermediate container 0a974a596cad [2021-11-17T09:12:50.049Z] ---> 9ebe00733b22 [2021-11-17T09:12:50.049Z] Step 6/9 : WORKDIR /device-modbus-go [2021-11-17T09:12:50.049Z] ---> Running in 98f421fcb898 [2021-11-17T09:12:50.049Z] Removing intermediate container 98f421fcb898 [2021-11-17T09:12:50.049Z] ---> 6f461ce5e57d [2021-11-17T09:12:50.049Z] Step 7/9 : COPY . . [2021-11-17T09:12:50.307Z] ---> 2575112dc2d9 [2021-11-17T09:12:50.307Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T09:12:50.307Z] ---> Running in 17613c48c699 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T09:13:06.665Z] provisioning config files... [2021-11-17T09:13:06.690Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/16@tmp/config7318841545246409859tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:13:07.054Z] ---> docker-login.sh [2021-11-17T09:13:07.054Z] nexus3.edgexfoundry.org:10001 [2021-11-17T09:13:07.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:13:08.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:13:08.004Z] Configure a credential helper to remove this warning. See [2021-11-17T09:13:08.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:13:08.004Z] [2021-11-17T09:13:08.004Z] Login Succeeded [2021-11-17T09:13:08.004Z] nexus3.edgexfoundry.org:10002 [2021-11-17T09:13:08.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:13:08.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:13:08.600Z] Configure a credential helper to remove this warning. See [2021-11-17T09:13:08.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:13:08.600Z] [2021-11-17T09:13:08.600Z] Login Succeeded [2021-11-17T09:13:08.600Z] nexus3.edgexfoundry.org:10003 [2021-11-17T09:13:08.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:13:09.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:13:09.146Z] Configure a credential helper to remove this warning. See [2021-11-17T09:13:09.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:13:09.146Z] [2021-11-17T09:13:09.146Z] Login Succeeded [2021-11-17T09:13:09.146Z] nexus3.edgexfoundry.org:10004 [2021-11-17T09:13:09.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:13:09.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:13:09.417Z] Configure a credential helper to remove this warning. See [2021-11-17T09:13:09.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:13:09.417Z] [2021-11-17T09:13:09.417Z] Login Succeeded [2021-11-17T09:13:09.688Z] docker.io [2021-11-17T09:13:09.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:13:10.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:13:10.235Z] Configure a credential helper to remove this warning. See [2021-11-17T09:13:10.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:13:10.235Z] [2021-11-17T09:13:10.235Z] Login Succeeded [2021-11-17T09:13:10.235Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T09:13:10.251Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-17T09:13:10.542Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-17T09:13:10.551Z] ========================================================= [2021-11-17T09:13:10.552Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-17T09:13:10.552Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:13:10.919Z] + 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-17T09:13:11.190Z] Sending build context to Docker daemon 709.6kB [2021-11-17T09:13:11.190Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T09:13:11.190Z] Step 2/9 : FROM ${BASE} AS builder [2021-11-17T09:13:11.469Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-17T09:13:11.469Z] 552d1f2373af: Pulling fs layer [2021-11-17T09:13:11.469Z] ea3f2d53f512: Pulling fs layer [2021-11-17T09:13:11.469Z] 9e70ebbbe112: Pulling fs layer [2021-11-17T09:13:11.469Z] 7a9cfe048b4a: Pulling fs layer [2021-11-17T09:13:11.469Z] 72dc09318566: Pulling fs layer [2021-11-17T09:13:11.469Z] f4f7b4309257: Pulling fs layer [2021-11-17T09:13:11.469Z] 7a9cfe048b4a: Waiting [2021-11-17T09:13:11.469Z] 0ac9a79272e3: Pulling fs layer [2021-11-17T09:13:11.469Z] 72dc09318566: Waiting [2021-11-17T09:13:11.469Z] f4f7b4309257: Waiting [2021-11-17T09:13:11.469Z] b78e95d17946: Pulling fs layer [2021-11-17T09:13:11.469Z] 0ac9a79272e3: Waiting [2021-11-17T09:13:11.469Z] 9e70ebbbe112: Verifying Checksum [2021-11-17T09:13:11.469Z] 9e70ebbbe112: Download complete [2021-11-17T09:13:11.469Z] ea3f2d53f512: Verifying Checksum [2021-11-17T09:13:11.469Z] ea3f2d53f512: Download complete [2021-11-17T09:13:11.469Z] 72dc09318566: Verifying Checksum [2021-11-17T09:13:11.469Z] 72dc09318566: Download complete [2021-11-17T09:13:11.469Z] f4f7b4309257: Verifying Checksum [2021-11-17T09:13:11.469Z] f4f7b4309257: Download complete [2021-11-17T09:13:11.469Z] 552d1f2373af: Verifying Checksum [2021-11-17T09:13:11.469Z] 552d1f2373af: Download complete [2021-11-17T09:13:11.469Z] 0ac9a79272e3: Verifying Checksum [2021-11-17T09:13:11.469Z] 0ac9a79272e3: Download complete [2021-11-17T09:13:12.465Z] 552d1f2373af: Pull complete [2021-11-17T09:13:13.080Z] ea3f2d53f512: Pull complete [2021-11-17T09:13:13.362Z] 9e70ebbbe112: Pull complete [2021-11-17T09:13:13.633Z] b78e95d17946: Download complete [2021-11-17T09:13:13.908Z] 7a9cfe048b4a: Verifying Checksum [2021-11-17T09:13:13.908Z] 7a9cfe048b4a: Download complete [2021-11-17T09:13:22.479Z] Removing intermediate container 17613c48c699 [2021-11-17T09:13:22.479Z] ---> 63d10140d204 [2021-11-17T09:13:22.479Z] Step 9/9 : RUN ${MAKE} [2021-11-17T09:13:22.479Z] ---> Running in dd4395614552 [2021-11-17T09:13:22.479Z] noop [2021-11-17T09:13:22.479Z] Removing intermediate container dd4395614552 [2021-11-17T09:13:22.479Z] ---> 52a02f63cffe [2021-11-17T09:13:22.479Z] Successfully built 52a02f63cffe [2021-11-17T09:13:22.479Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:13:22.784Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-17T09:13:22.784Z] . [Pipeline] withDockerContainer [2021-11-17T09:13:22.861Z] prd-centos7-docker-4c-2g-936 does not seem to be running inside a container [2021-11-17T09:13:22.893Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/16 -v /w/workspace/device-modbus-go/16:/w/workspace/device-modbus-go/16:rw,z -v /w/workspace/device-modbus-go/16@tmp:/w/workspace/device-modbus-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-17T09:13:23.237Z] $ docker top 7b9f8cdc2331a0ca7ef40309796463aee67466dbb8896d3df72378327e68203e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-17T09:13:23.621Z] + go version [2021-11-17T09:13:23.621Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-17T09:13:23.629Z] $ docker stop --time=1 7b9f8cdc2331a0ca7ef40309796463aee67466dbb8896d3df72378327e68203e [2021-11-17T09:13:24.082Z] 7a9cfe048b4a: Pull complete [2021-11-17T09:13:24.356Z] 72dc09318566: Pull complete [2021-11-17T09:13:24.632Z] f4f7b4309257: Pull complete [2021-11-17T09:13:24.806Z] $ docker rm -f 7b9f8cdc2331a0ca7ef40309796463aee67466dbb8896d3df72378327e68203e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:13:25.226Z] 0ac9a79272e3: Pull complete [2021-11-17T09:13:25.333Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-17T09:13:25.333Z] . [Pipeline] withDockerContainer [2021-11-17T09:13:25.397Z] prd-centos7-docker-4c-2g-936 does not seem to be running inside a container [2021-11-17T09:13:25.431Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/16 -v /w/workspace/device-modbus-go/16:/w/workspace/device-modbus-go/16:rw,z -v /w/workspace/device-modbus-go/16@tmp:/w/workspace/device-modbus-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-17T09:13:25.789Z] $ docker top cf26065134713ce190f812d191f502506abdf32cbe313e03a9aafca2afedc322 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-17T09:13:26.162Z] + make test [2021-11-17T09:13:26.162Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-17T09:13:26.430Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-11-17T09:13:31.951Z] b78e95d17946: Pull complete [2021-11-17T09:13:31.951Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-17T09:13:31.951Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-17T09:13:31.952Z] ---> 8b459fc5aaf0 [2021-11-17T09:13:31.952Z] Step 3/9 : ARG MAKE='make build' [2021-11-17T09:13:32.961Z] ---> Running in 015a0f08e2c6 [2021-11-17T09:13:33.250Z] Removing intermediate container 015a0f08e2c6 [2021-11-17T09:13:33.250Z] ---> 75d8b2166b8e [2021-11-17T09:13:33.250Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T09:13:33.250Z] ---> Running in e47c72c3ff3b [2021-11-17T09:13:35.882Z] Removing intermediate container e47c72c3ff3b [2021-11-17T09:13:35.882Z] ---> 70422e9948a7 [2021-11-17T09:13:35.882Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-11-17T09:13:35.882Z] ---> Running in e1618e414dfa [2021-11-17T09:13:36.863Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-17T09:13:37.843Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-17T09:13:38.442Z] (1/8) Installing openssh-keygen (8.6_p1-r3) [2021-11-17T09:13:38.442Z] (2/8) Installing libedit (20210216.3.1-r0) [2021-11-17T09:13:38.715Z] (3/8) Installing openssh-client-common (8.6_p1-r3) [2021-11-17T09:13:38.715Z] (4/8) Installing openssh-client-default (8.6_p1-r3) [2021-11-17T09:13:38.989Z] (5/8) Installing openssh-sftp-server (8.6_p1-r3) [2021-11-17T09:13:38.989Z] (6/8) Installing openssh-server-common (8.6_p1-r3) [2021-11-17T09:13:39.266Z] (7/8) Installing openssh-server (8.6_p1-r3) [2021-11-17T09:13:39.267Z] (8/8) Installing openssh (8.6_p1-r3) [2021-11-17T09:13:39.267Z] Executing busybox-1.33.1-r3.trigger [2021-11-17T09:13:39.267Z] OK: 225 MiB in 60 packages [2021-11-17T09:13:40.715Z] Removing intermediate container e1618e414dfa [2021-11-17T09:13:40.715Z] ---> dd4cb7465a7e [2021-11-17T09:13:40.715Z] Step 6/9 : WORKDIR /device-modbus-go [2021-11-17T09:13:40.715Z] ---> Running in 8cf1d91e71e8 [2021-11-17T09:13:41.314Z] Removing intermediate container 8cf1d91e71e8 [2021-11-17T09:13:41.314Z] ---> d34ddcfbfba0 [2021-11-17T09:13:41.314Z] Step 7/9 : COPY . . [2021-11-17T09:13:41.400Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-11-17T09:13:41.981Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 46.6% of statements [2021-11-17T09:13:42.245Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-17T09:13:42.294Z] ---> 291794dbcf4b [2021-11-17T09:13:42.294Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T09:13:42.294Z] ---> Running in a4ac0a5b0144 [2021-11-17T09:13:48.897Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-17T09:13:48.898Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-17T09:13:48.898Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-17T09:13:48.918Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-17T09:13:48.928Z] $ docker stop --time=1 cf26065134713ce190f812d191f502506abdf32cbe313e03a9aafca2afedc322 [2021-11-17T09:13:50.364Z] $ docker rm -f cf26065134713ce190f812d191f502506abdf32cbe313e03a9aafca2afedc322 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-17T09:13:50.750Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-17T09:13:50.940Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-17T09:13:51.603Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-17T09:13:51.895Z] + ls -al . [2021-11-17T09:13:51.895Z] total 152 [2021-11-17T09:13:51.895Z] drwxrwxr-x. 9 jenkins jenkins 4096 Nov 17 09:13 . [2021-11-17T09:13:51.895Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 17 09:12 .. [2021-11-17T09:13:51.895Z] -rw-rw-r--. 1 jenkins jenkins 8010 Nov 17 09:12 Attribution.txt [2021-11-17T09:13:51.895Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 17 09:12 bin [2021-11-17T09:13:51.895Z] -rw-rw-r--. 1 jenkins jenkins 6038 Nov 17 09:12 CHANGELOG.md [2021-11-17T09:13:51.895Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 17 09:12 cmd [2021-11-17T09:13:51.895Z] -rw-r--r--. 1 jenkins jenkins 23727 Nov 17 09:13 coverage.out [2021-11-17T09:13:51.895Z] -rw-rw-r--. 1 jenkins jenkins 1523 Nov 17 09:12 Dockerfile [2021-11-17T09:13:51.895Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 17 09:12 .dockerignore [2021-11-17T09:13:51.895Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 17 09:12 .git [2021-11-17T09:13:51.895Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 17 09:12 .github [2021-11-17T09:13:51.895Z] -rw-rw-r--. 1 jenkins jenkins 331 Nov 17 09:12 .gitignore [2021-11-17T09:13:51.895Z] -rw-rw-r--. 1 jenkins jenkins 294 Nov 17 09:12 go.mod [2021-11-17T09:13:51.895Z] -rw-rw-r--. 1 jenkins jenkins 49487 Nov 17 09:12 go.sum [2021-11-17T09:13:51.895Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 17 09:12 GOVERNANCE.md [2021-11-17T09:13:51.895Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 17 09:12 internal [2021-11-17T09:13:51.895Z] -rw-rw-r--. 1 jenkins jenkins 679 Nov 17 09:12 Jenkinsfile [2021-11-17T09:13:51.895Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 17 09:12 LICENSE [2021-11-17T09:13:51.895Z] -rw-rw-r--. 1 jenkins jenkins 1009 Nov 17 09:12 Makefile [2021-11-17T09:13:51.895Z] -rw-rw-r--. 1 jenkins jenkins 622 Nov 17 09:12 OWNERS.md [2021-11-17T09:13:51.895Z] -rw-rw-r--. 1 jenkins jenkins 3488 Nov 17 09:12 README.md [2021-11-17T09:13:51.895Z] drwxrwxr-x. 2 jenkins jenkins 52 Nov 17 09:12 simulator [2021-11-17T09:13:51.895Z] drwxrwxr-x. 4 jenkins jenkins 71 Nov 17 09:12 snap [2021-11-17T09:13:51.895Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 17 09:10 VERSION [2021-11-17T09:13:51.895Z] -rw-rw-r--. 1 jenkins jenkins 229 Nov 17 09:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:13:52.196Z] + 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=88a58696cb067fb6eae2a796006b77d9cd89139c --label arch=amd64 --label version=0.0.0 . [2021-11-17T09:13:52.196Z] Sending build context to Docker daemon 735.2kB [2021-11-17T09:13:52.196Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T09:13:52.196Z] Step 2/22 : FROM ${BASE} AS builder [2021-11-17T09:13:52.196Z] ---> 52a02f63cffe [2021-11-17T09:13:52.196Z] Step 3/22 : ARG MAKE='make build' [2021-11-17T09:13:52.196Z] ---> Running in aa5a197443ad [2021-11-17T09:13:52.456Z] Removing intermediate container aa5a197443ad [2021-11-17T09:13:52.456Z] ---> ca3531226c48 [2021-11-17T09:13:52.456Z] Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T09:13:52.456Z] ---> Running in 1d11b5bb9410 [2021-11-17T09:13:52.717Z] Removing intermediate container 1d11b5bb9410 [2021-11-17T09:13:52.717Z] ---> e90db2c0537f [2021-11-17T09:13:52.717Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-11-17T09:13:52.717Z] ---> Running in a594af2ebfee [2021-11-17T09:13:52.978Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-17T09:13:53.923Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-17T09:13:54.188Z] OK: 226 MiB in 60 packages [2021-11-17T09:13:54.456Z] Removing intermediate container a594af2ebfee [2021-11-17T09:13:54.456Z] ---> 250645eef1a0 [2021-11-17T09:13:54.456Z] Step 6/22 : WORKDIR /device-modbus-go [2021-11-17T09:13:54.456Z] ---> Running in c1798ec70e17 [2021-11-17T09:13:54.456Z] Removing intermediate container c1798ec70e17 [2021-11-17T09:13:54.456Z] ---> 880a4994e149 [2021-11-17T09:13:54.456Z] Step 7/22 : COPY . . [2021-11-17T09:13:54.715Z] ---> 5855155b987c [2021-11-17T09:13:54.715Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T09:13:54.715Z] ---> Running in 428a9d17dbbe [2021-11-17T09:13:55.288Z] Removing intermediate container 428a9d17dbbe [2021-11-17T09:13:55.288Z] ---> 9ab77f07dd0f [2021-11-17T09:13:55.288Z] Step 9/22 : RUN ${MAKE} [2021-11-17T09:13:55.288Z] ---> Running in 9a66c736dcc2 [2021-11-17T09:13:55.550Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2021-11-17T09:14:07.913Z] Removing intermediate container 9a66c736dcc2 [2021-11-17T09:14:07.913Z] ---> ddbec0d5f0da [2021-11-17T09:14:07.913Z] Step 10/22 : FROM alpine:3.14 [2021-11-17T09:14:07.913Z] 3.14: Pulling from library/alpine [2021-11-17T09:14:07.913Z] 97518928ae5f: Pulling fs layer [2021-11-17T09:14:07.913Z] 97518928ae5f: Verifying Checksum [2021-11-17T09:14:07.913Z] 97518928ae5f: Download complete [2021-11-17T09:14:07.913Z] 97518928ae5f: Pull complete [2021-11-17T09:14:07.913Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-17T09:14:07.913Z] Status: Downloaded newer image for alpine:3.14 [2021-11-17T09:14:07.913Z] ---> 0a97eee8041e [2021-11-17T09:14:07.913Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-11-17T09:14:07.913Z] ---> Running in f84e5066ba50 [2021-11-17T09:14:08.173Z] Removing intermediate container f84e5066ba50 [2021-11-17T09:14:08.173Z] ---> 527cb0dd5d1e [2021-11-17T09:14:08.173Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T09:14:08.173Z] ---> Running in 10bb1ddcf8ff [2021-11-17T09:14:08.441Z] Removing intermediate container 10bb1ddcf8ff [2021-11-17T09:14:08.441Z] ---> c037456c8c00 [2021-11-17T09:14:08.441Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-17T09:14:08.441Z] ---> Running in 54530c6d0bdc [2021-11-17T09:14:08.704Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-17T09:14:09.644Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-17T09:14:10.215Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-17T09:14:10.215Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-17T09:14:10.215Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-17T09:14:10.478Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-17T09:14:10.478Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-17T09:14:10.478Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-17T09:14:10.739Z] Executing busybox-1.33.1-r6.trigger [2021-11-17T09:14:10.739Z] OK: 8 MiB in 20 packages [2021-11-17T09:14:11.003Z] Removing intermediate container 54530c6d0bdc [2021-11-17T09:14:11.003Z] ---> 83265699900c [2021-11-17T09:14:11.003Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-11-17T09:14:11.270Z] ---> 5939dd4d4cff [2021-11-17T09:14:11.270Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-11-17T09:14:11.534Z] ---> 8ff8cbed96a1 [2021-11-17T09:14:11.534Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-11-17T09:14:11.534Z] ---> d293f6f91675 [2021-11-17T09:14:11.534Z] Step 17/22 : EXPOSE 59901 [2021-11-17T09:14:11.534Z] ---> Running in 3209b22e3f7c [2021-11-17T09:14:11.804Z] Removing intermediate container 3209b22e3f7c [2021-11-17T09:14:11.804Z] ---> 04d17fda7a2c [2021-11-17T09:14:11.804Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-11-17T09:14:11.804Z] ---> Running in 8462ceded838 [2021-11-17T09:14:11.804Z] Removing intermediate container 8462ceded838 [2021-11-17T09:14:11.804Z] ---> 20360aabd2bf [2021-11-17T09:14:11.804Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-17T09:14:11.804Z] ---> Running in 1b3514aa4522 [2021-11-17T09:14:12.070Z] Removing intermediate container 1b3514aa4522 [2021-11-17T09:14:12.070Z] ---> 4d63f4f70a8f [2021-11-17T09:14:12.070Z] Step 20/22 : LABEL arch=amd64 [2021-11-17T09:14:12.070Z] ---> Running in 5acae7d59988 [2021-11-17T09:14:12.070Z] Removing intermediate container 5acae7d59988 [2021-11-17T09:14:12.070Z] ---> cd4259903452 [2021-11-17T09:14:12.070Z] Step 21/22 : LABEL git_sha=88a58696cb067fb6eae2a796006b77d9cd89139c [2021-11-17T09:14:12.070Z] ---> Running in 4b72d70198d1 [2021-11-17T09:14:12.070Z] Removing intermediate container 4b72d70198d1 [2021-11-17T09:14:12.070Z] ---> ac6f655a4873 [2021-11-17T09:14:12.070Z] Step 22/22 : LABEL version=0.0.0 [2021-11-17T09:14:12.070Z] ---> Running in f0e3e4c38b65 [2021-11-17T09:14:12.330Z] Removing intermediate container f0e3e4c38b65 [2021-11-17T09:14:12.330Z] ---> 8d43e0ff525d [2021-11-17T09:14:12.330Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-17T09:14:12.330Z] Successfully built 8d43e0ff525d [2021-11-17T09:14:12.330Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T09:14:12.544Z] provisioning config files... [2021-11-17T09:14:12.554Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/16@tmp/config8146949239987120892tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:14:12.869Z] ---> docker-login.sh [2021-11-17T09:14:12.870Z] nexus3.edgexfoundry.org:10001 [2021-11-17T09:14:12.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:14:12.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:14:12.870Z] Configure a credential helper to remove this warning. See [2021-11-17T09:14:12.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:14:12.870Z] [2021-11-17T09:14:12.870Z] Login Succeeded [2021-11-17T09:14:12.870Z] nexus3.edgexfoundry.org:10002 [2021-11-17T09:14:12.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:14:12.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:14:12.870Z] Configure a credential helper to remove this warning. See [2021-11-17T09:14:12.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:14:12.870Z] [2021-11-17T09:14:12.870Z] Login Succeeded [2021-11-17T09:14:12.870Z] nexus3.edgexfoundry.org:10003 [2021-11-17T09:14:13.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:14:13.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:14:13.130Z] Configure a credential helper to remove this warning. See [2021-11-17T09:14:13.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:14:13.130Z] [2021-11-17T09:14:13.130Z] Login Succeeded [2021-11-17T09:14:13.130Z] nexus3.edgexfoundry.org:10004 [2021-11-17T09:14:13.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:14:13.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:14:13.130Z] Configure a credential helper to remove this warning. See [2021-11-17T09:14:13.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:14:13.130Z] [2021-11-17T09:14:13.130Z] Login Succeeded [2021-11-17T09:14:13.130Z] docker.io [2021-11-17T09:14:13.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:14:13.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:14:13.657Z] Configure a credential helper to remove this warning. See [2021-11-17T09:14:13.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:14:13.657Z] [2021-11-17T09:14:13.657Z] Login Succeeded [2021-11-17T09:14:13.657Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T09:14:13.665Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-17T09:14:13.689Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-17T09:14:13.707Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2021-11-17T09:14:13.707Z] 88a58696cb067fb6eae2a796006b77d9cd89139c [2021-11-17T09:14:13.707Z] latest [2021-11-17T09:14:13.707Z] 0.0.0 [2021-11-17T09:14:13.707Z] 88a58696cb067fb6eae2a796006b77d9cd89139c-0.0.0 [2021-11-17T09:14:13.707Z] main [2021-11-17T09:14:13.707Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:14:14.021Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:88a58696cb067fb6eae2a796006b77d9cd89139c [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:14:14.320Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:88a58696cb067fb6eae2a796006b77d9cd89139c [2021-11-17T09:14:14.320Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-11-17T09:14:14.320Z] 326f6f5f4651: Preparing [2021-11-17T09:14:14.320Z] 27c4eb5e1bd5: Preparing [2021-11-17T09:14:14.320Z] b277b3b1bded: Preparing [2021-11-17T09:14:14.320Z] 91d5b66fe27f: Preparing [2021-11-17T09:14:14.320Z] 1c2353a0bbf4: Preparing [2021-11-17T09:14:14.320Z] 1a058d5342cc: Preparing [2021-11-17T09:14:14.320Z] 1a058d5342cc: Waiting [2021-11-17T09:14:14.582Z] 326f6f5f4651: Pushed [2021-11-17T09:14:14.582Z] 1c2353a0bbf4: Pushed [2021-11-17T09:14:14.582Z] 27c4eb5e1bd5: Pushed [2021-11-17T09:14:14.582Z] 1a058d5342cc: Layer already exists [2021-11-17T09:14:14.582Z] 91d5b66fe27f: Pushed [2021-11-17T09:14:15.520Z] b277b3b1bded: Pushed [2021-11-17T09:14:15.778Z] 88a58696cb067fb6eae2a796006b77d9cd89139c: digest: sha256:c35d0aedc3b8492b5cf9326f4f841401fa42e19478f591bc1426bca9fea0985b size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:14:16.077Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:14:16.378Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-11-17T09:14:16.378Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-11-17T09:14:16.378Z] 326f6f5f4651: Preparing [2021-11-17T09:14:16.378Z] 27c4eb5e1bd5: Preparing [2021-11-17T09:14:16.378Z] b277b3b1bded: Preparing [2021-11-17T09:14:16.378Z] 91d5b66fe27f: Preparing [2021-11-17T09:14:16.378Z] 1c2353a0bbf4: Preparing [2021-11-17T09:14:16.378Z] 1a058d5342cc: Preparing [2021-11-17T09:14:16.378Z] 1a058d5342cc: Waiting [2021-11-17T09:14:16.378Z] 1c2353a0bbf4: Layer already exists [2021-11-17T09:14:16.378Z] 27c4eb5e1bd5: Layer already exists [2021-11-17T09:14:16.378Z] b277b3b1bded: Layer already exists [2021-11-17T09:14:16.378Z] 326f6f5f4651: Layer already exists [2021-11-17T09:14:16.378Z] 91d5b66fe27f: Layer already exists [2021-11-17T09:14:16.378Z] 1a058d5342cc: Layer already exists [2021-11-17T09:14:16.378Z] latest: digest: sha256:c35d0aedc3b8492b5cf9326f4f841401fa42e19478f591bc1426bca9fea0985b size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:14:16.672Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0.0.0 [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:14:16.965Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:0.0.0 [2021-11-17T09:14:16.965Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-11-17T09:14:16.965Z] 326f6f5f4651: Preparing [2021-11-17T09:14:16.965Z] 27c4eb5e1bd5: Preparing [2021-11-17T09:14:16.965Z] b277b3b1bded: Preparing [2021-11-17T09:14:16.965Z] 91d5b66fe27f: Preparing [2021-11-17T09:14:16.965Z] 1c2353a0bbf4: Preparing [2021-11-17T09:14:16.965Z] 1a058d5342cc: Preparing [2021-11-17T09:14:16.965Z] 1a058d5342cc: Waiting [2021-11-17T09:14:16.965Z] 27c4eb5e1bd5: Layer already exists [2021-11-17T09:14:16.965Z] 326f6f5f4651: Layer already exists [2021-11-17T09:14:16.965Z] b277b3b1bded: Layer already exists [2021-11-17T09:14:16.965Z] 1c2353a0bbf4: Layer already exists [2021-11-17T09:14:16.965Z] 91d5b66fe27f: Layer already exists [2021-11-17T09:14:16.965Z] 1a058d5342cc: Layer already exists [2021-11-17T09:14:16.965Z] 0.0.0: digest: sha256:c35d0aedc3b8492b5cf9326f4f841401fa42e19478f591bc1426bca9fea0985b size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:14:17.261Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:88a58696cb067fb6eae2a796006b77d9cd89139c-0.0.0 [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:14:17.555Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:88a58696cb067fb6eae2a796006b77d9cd89139c-0.0.0 [2021-11-17T09:14:17.555Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-11-17T09:14:17.555Z] 326f6f5f4651: Preparing [2021-11-17T09:14:17.555Z] 27c4eb5e1bd5: Preparing [2021-11-17T09:14:17.555Z] b277b3b1bded: Preparing [2021-11-17T09:14:17.555Z] 91d5b66fe27f: Preparing [2021-11-17T09:14:17.555Z] 1c2353a0bbf4: Preparing [2021-11-17T09:14:17.555Z] 1a058d5342cc: Preparing [2021-11-17T09:14:17.555Z] 1a058d5342cc: Waiting [2021-11-17T09:14:17.555Z] 1c2353a0bbf4: Layer already exists [2021-11-17T09:14:17.555Z] 27c4eb5e1bd5: Layer already exists [2021-11-17T09:14:17.555Z] 326f6f5f4651: Layer already exists [2021-11-17T09:14:17.555Z] b277b3b1bded: Layer already exists [2021-11-17T09:14:17.555Z] 91d5b66fe27f: Layer already exists [2021-11-17T09:14:17.555Z] 1a058d5342cc: Layer already exists [2021-11-17T09:14:17.555Z] 88a58696cb067fb6eae2a796006b77d9cd89139c-0.0.0: digest: sha256:c35d0aedc3b8492b5cf9326f4f841401fa42e19478f591bc1426bca9fea0985b size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:14:17.852Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:14:18.149Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2021-11-17T09:14:18.149Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-11-17T09:14:18.149Z] 326f6f5f4651: Preparing [2021-11-17T09:14:18.149Z] 27c4eb5e1bd5: Preparing [2021-11-17T09:14:18.149Z] b277b3b1bded: Preparing [2021-11-17T09:14:18.149Z] 91d5b66fe27f: Preparing [2021-11-17T09:14:18.149Z] 1c2353a0bbf4: Preparing [2021-11-17T09:14:18.149Z] 1a058d5342cc: Preparing [2021-11-17T09:14:18.149Z] 1a058d5342cc: Waiting [2021-11-17T09:14:18.149Z] 326f6f5f4651: Layer already exists [2021-11-17T09:14:18.149Z] 1c2353a0bbf4: Layer already exists [2021-11-17T09:14:18.149Z] 27c4eb5e1bd5: Layer already exists [2021-11-17T09:14:18.149Z] 91d5b66fe27f: Layer already exists [2021-11-17T09:14:18.149Z] b277b3b1bded: Layer already exists [2021-11-17T09:14:18.149Z] 1a058d5342cc: Layer already exists [2021-11-17T09:14:18.149Z] main: digest: sha256:c35d0aedc3b8492b5cf9326f4f841401fa42e19478f591bc1426bca9fea0985b size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-17T09:14:18.182Z] ===================================================== [Pipeline] echo [2021-11-17T09:14:18.190Z] taggedImages: [2021-11-17T09:14:18.190Z] - nexus3.edgexfoundry.org:10004/device-modbus:88a58696cb067fb6eae2a796006b77d9cd89139c [2021-11-17T09:14:18.190Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-11-17T09:14:18.190Z] - nexus3.edgexfoundry.org:10004/device-modbus:0.0.0 [2021-11-17T09:14:18.190Z] - nexus3.edgexfoundry.org:10004/device-modbus:88a58696cb067fb6eae2a796006b77d9cd89139c-0.0.0 [2021-11-17T09:14:18.190Z] - 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-17T09:14:18.645Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T09:14:18.646Z] [2021-11-17T09:14:18.646Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:14:18.944Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T09:14:18.944Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-17T09:14:18.944Z] b4d181a07f80: Pulling fs layer [2021-11-17T09:14:18.944Z] a1111a8f2ec3: Pulling fs layer [2021-11-17T09:14:18.944Z] ed53099fbce6: Pulling fs layer [2021-11-17T09:14:18.944Z] dc539afda2c1: Pulling fs layer [2021-11-17T09:14:18.944Z] 77bc0d833cb6: Pulling fs layer [2021-11-17T09:14:18.944Z] 9065ff56babe: Pulling fs layer [2021-11-17T09:14:18.944Z] d287ab97295c: Pulling fs layer [2021-11-17T09:14:18.944Z] dc539afda2c1: Waiting [2021-11-17T09:14:18.944Z] 77bc0d833cb6: Waiting [2021-11-17T09:14:18.944Z] 9065ff56babe: Waiting [2021-11-17T09:14:18.944Z] d287ab97295c: Waiting [2021-11-17T09:14:18.944Z] a1111a8f2ec3: Verifying Checksum [2021-11-17T09:14:18.944Z] a1111a8f2ec3: Download complete [2021-11-17T09:14:18.944Z] dc539afda2c1: Download complete [2021-11-17T09:14:18.944Z] ed53099fbce6: Verifying Checksum [2021-11-17T09:14:18.944Z] ed53099fbce6: Download complete [2021-11-17T09:14:18.944Z] 9065ff56babe: Verifying Checksum [2021-11-17T09:14:18.944Z] 9065ff56babe: Download complete [2021-11-17T09:14:19.210Z] 77bc0d833cb6: Verifying Checksum [2021-11-17T09:14:19.210Z] 77bc0d833cb6: Download complete [2021-11-17T09:14:19.210Z] b4d181a07f80: Verifying Checksum [2021-11-17T09:14:19.210Z] b4d181a07f80: Download complete [2021-11-17T09:14:19.813Z] d287ab97295c: Verifying Checksum [2021-11-17T09:14:19.813Z] d287ab97295c: Download complete [2021-11-17T09:14:20.758Z] b4d181a07f80: Pull complete [2021-11-17T09:14:20.758Z] a1111a8f2ec3: Pull complete [2021-11-17T09:14:21.337Z] ed53099fbce6: Pull complete [2021-11-17T09:14:21.337Z] dc539afda2c1: Pull complete [2021-11-17T09:14:21.608Z] 77bc0d833cb6: Pull complete [2021-11-17T09:14:21.608Z] 9065ff56babe: Pull complete [2021-11-17T09:14:26.956Z] d287ab97295c: Pull complete [2021-11-17T09:14:26.956Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-17T09:14:26.956Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T09:14:26.956Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-17T09:14:27.027Z] prd-centos7-docker-4c-2g-936 does not seem to be running inside a container [2021-11-17T09:14:27.069Z] $ 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/16 -v /w/workspace/device-modbus-go/16:/w/workspace/device-modbus-go/16:rw,z -v /w/workspace/device-modbus-go/16@tmp:/w/workspace/device-modbus-go/16@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-17T09:14:29.429Z] $ docker top 3b9bab9ba419948d508771ee0652703f1c0e50ca472a4874079eec2f1912a4ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:14:29.827Z] ---> job-cost.sh [2021-11-17T09:14:29.827Z] lf-activate-venv: SKIPPING [2021-11-17T09:14:29.827Z] INFO: No Stack... [2021-11-17T09:14:30.086Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-17T09:14:30.346Z] INFO: Archiving Costs [Pipeline] sh [2021-11-17T09:14:30.638Z] + cat /w/workspace/device-modbus-go/16/archives/cost.csv [2021-11-17T09:14:30.638Z] + cut -d, -f6 [Pipeline] lock [2021-11-17T09:14:30.667Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-16-stack-cost] [2021-11-17T09:14:30.672Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-16-stack-cost] did not exist. Created. [2021-11-17T09:14:30.672Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-17T09:14:30.976Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-17T09:14:31.005Z] Stashed 1 file(s) [Pipeline] } [2021-11-17T09:14:31.011Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-16-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-17T09:14:31.026Z] $ docker stop --time=1 3b9bab9ba419948d508771ee0652703f1c0e50ca472a4874079eec2f1912a4ef [2021-11-17T09:14:32.159Z] $ docker rm -f 3b9bab9ba419948d508771ee0652703f1c0e50ca472a4874079eec2f1912a4ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-17T09:15:04.117Z] Removing intermediate container a4ac0a5b0144 [2021-11-17T09:15:04.117Z] ---> 561ec6f6b0af [2021-11-17T09:15:04.117Z] Step 9/9 : RUN ${MAKE} [2021-11-17T09:15:04.117Z] ---> Running in ede3e8eb6efb [2021-11-17T09:15:04.117Z] noop [2021-11-17T09:15:04.117Z] Removing intermediate container ede3e8eb6efb [2021-11-17T09:15:04.117Z] ---> f6f5a37e5f8a [2021-11-17T09:15:04.117Z] Successfully built f6f5a37e5f8a [2021-11-17T09:15:04.117Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:15:04.456Z] + docker inspect -f . ci-base-image-arm64 [2021-11-17T09:15:04.456Z] . [Pipeline] withDockerContainer [2021-11-17T09:15:04.715Z] prd-ubuntu18.04-docker-arm64-4c-16g-935 does not seem to be running inside a container [2021-11-17T09:15:04.800Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/16 -v /w/workspace/device-modbus-go/16:/w/workspace/device-modbus-go/16:rw,z -v /w/workspace/device-modbus-go/16@tmp:/w/workspace/device-modbus-go/16@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-17T09:15:06.309Z] $ docker top 82b671fbc769e90dec22db578452f7e1bd48666d07b83491389a320563e6e6ca -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-17T09:15:07.294Z] + go version [2021-11-17T09:15:07.294Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-17T09:15:07.318Z] $ docker stop --time=1 82b671fbc769e90dec22db578452f7e1bd48666d07b83491389a320563e6e6ca [2021-11-17T09:15:09.057Z] $ docker rm -f 82b671fbc769e90dec22db578452f7e1bd48666d07b83491389a320563e6e6ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:15:09.727Z] + docker inspect -f . ci-base-image-arm64 [2021-11-17T09:15:09.728Z] . [Pipeline] withDockerContainer [2021-11-17T09:15:09.967Z] prd-ubuntu18.04-docker-arm64-4c-16g-935 does not seem to be running inside a container [2021-11-17T09:15:10.053Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/16 -v /w/workspace/device-modbus-go/16:/w/workspace/device-modbus-go/16:rw,z -v /w/workspace/device-modbus-go/16@tmp:/w/workspace/device-modbus-go/16@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-17T09:15:11.630Z] $ docker top 3a9c3e45c7650710b522c6844cfcd63e136d79a63db4bb6ee013d40acf85f6dc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-17T09:15:12.628Z] + make test [2021-11-17T09:15:12.628Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-17T09:15:14.077Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-11-17T09:16:10.684Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-11-17T09:16:10.684Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.053s coverage: 46.6% of statements [2021-11-17T09:16:10.684Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-17T09:16:37.492Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-17T09:16:37.492Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-17T09:16:37.492Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-17T09:16:38.101Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-17T09:16:38.113Z] $ docker stop --time=1 3a9c3e45c7650710b522c6844cfcd63e136d79a63db4bb6ee013d40acf85f6dc [2021-11-17T09:16:39.899Z] $ docker rm -f 3a9c3e45c7650710b522c6844cfcd63e136d79a63db4bb6ee013d40acf85f6dc [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-17T09:16:40.728Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-17T09:16:40.755Z] Warning: overwriting stash ‘coverage-report’ [2021-11-17T09:16:41.209Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-17T09:16:41.676Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-17T09:16:42.008Z] + ls -al . [2021-11-17T09:16:42.008Z] total 184 [2021-11-17T09:16:42.008Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 17 09:16 . [2021-11-17T09:16:42.008Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 17 09:12 .. [2021-11-17T09:16:42.008Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 17 09:12 .dockerignore [2021-11-17T09:16:42.008Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 17 09:12 .git [2021-11-17T09:16:42.008Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 09:12 .github [2021-11-17T09:16:42.008Z] -rw-rw-r-- 1 jenkins jenkins 331 Nov 17 09:12 .gitignore [2021-11-17T09:16:42.008Z] -rw-rw-r-- 1 jenkins jenkins 8010 Nov 17 09:12 Attribution.txt [2021-11-17T09:16:42.008Z] -rw-rw-r-- 1 jenkins jenkins 6038 Nov 17 09:12 CHANGELOG.md [2021-11-17T09:16:42.009Z] -rw-rw-r-- 1 jenkins jenkins 1523 Nov 17 09:12 Dockerfile [2021-11-17T09:16:42.009Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 17 09:12 GOVERNANCE.md [2021-11-17T09:16:42.009Z] -rw-rw-r-- 1 jenkins jenkins 679 Nov 17 09:12 Jenkinsfile [2021-11-17T09:16:42.009Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 17 09:12 LICENSE [2021-11-17T09:16:42.009Z] -rw-rw-r-- 1 jenkins jenkins 1009 Nov 17 09:12 Makefile [2021-11-17T09:16:42.009Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 17 09:12 OWNERS.md [2021-11-17T09:16:42.009Z] -rw-rw-r-- 1 jenkins jenkins 3488 Nov 17 09:12 README.md [2021-11-17T09:16:42.009Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 17 09:10 VERSION [2021-11-17T09:16:42.009Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 09:12 bin [2021-11-17T09:16:42.009Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 17 09:12 cmd [2021-11-17T09:16:42.009Z] -rw-r--r-- 1 jenkins jenkins 23727 Nov 17 09:16 coverage.out [2021-11-17T09:16:42.009Z] -rw-rw-r-- 1 jenkins jenkins 294 Nov 17 09:12 go.mod [2021-11-17T09:16:42.009Z] -rw-rw-r-- 1 jenkins jenkins 49487 Nov 17 09:12 go.sum [2021-11-17T09:16:42.009Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 17 09:12 internal [2021-11-17T09:16:42.009Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 09:12 simulator [2021-11-17T09:16:42.009Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 17 09:12 snap [2021-11-17T09:16:42.009Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 17 09:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:16:42.348Z] + 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=88a58696cb067fb6eae2a796006b77d9cd89139c --label arch=arm64 --label version=0.0.0 . [2021-11-17T09:16:42.623Z] Sending build context to Docker daemon 734.2kB [2021-11-17T09:16:42.623Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T09:16:42.623Z] Step 2/22 : FROM ${BASE} AS builder [2021-11-17T09:16:42.623Z] ---> f6f5a37e5f8a [2021-11-17T09:16:42.623Z] Step 3/22 : ARG MAKE='make build' [2021-11-17T09:16:42.896Z] ---> Running in d863a9f801ea [2021-11-17T09:16:43.490Z] Removing intermediate container d863a9f801ea [2021-11-17T09:16:43.490Z] ---> 2ec312f00fe5 [2021-11-17T09:16:43.490Z] Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T09:16:43.490Z] ---> Running in 0f6dc613a593 [2021-11-17T09:16:45.458Z] Removing intermediate container 0f6dc613a593 [2021-11-17T09:16:45.459Z] ---> 3b16299210bf [2021-11-17T09:16:45.459Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-11-17T09:16:45.459Z] ---> Running in f80a27b8ea96 [2021-11-17T09:16:46.891Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-17T09:16:47.494Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-17T09:16:48.091Z] OK: 225 MiB in 60 packages [2021-11-17T09:16:49.077Z] Removing intermediate container f80a27b8ea96 [2021-11-17T09:16:49.077Z] ---> cc34c1bde282 [2021-11-17T09:16:49.077Z] Step 6/22 : WORKDIR /device-modbus-go [2021-11-17T09:16:49.349Z] ---> Running in 777cf1097ba3 [2021-11-17T09:16:49.623Z] Removing intermediate container 777cf1097ba3 [2021-11-17T09:16:49.623Z] ---> 0b2032d0d646 [2021-11-17T09:16:49.623Z] Step 7/22 : COPY . . [2021-11-17T09:16:50.618Z] ---> b89dcbd482c3 [2021-11-17T09:16:50.618Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T09:16:50.618Z] ---> Running in ff418d6f64ef [2021-11-17T09:16:53.238Z] Removing intermediate container ff418d6f64ef [2021-11-17T09:16:53.238Z] ---> 780710d7b7f3 [2021-11-17T09:16:53.238Z] Step 9/22 : RUN ${MAKE} [2021-11-17T09:16:53.238Z] ---> Running in 664cbd0f986c [2021-11-17T09:16:54.213Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2021-11-17T09:17:33.243Z] Removing intermediate container 664cbd0f986c [2021-11-17T09:17:33.243Z] ---> 9dc4c22de003 [2021-11-17T09:17:33.243Z] Step 10/22 : FROM alpine:3.14 [2021-11-17T09:17:33.243Z] 3.14: Pulling from library/alpine [2021-11-17T09:17:33.243Z] be307f383ecc: Pulling fs layer [2021-11-17T09:17:33.243Z] be307f383ecc: Verifying Checksum [2021-11-17T09:17:33.243Z] be307f383ecc: Download complete [2021-11-17T09:17:33.243Z] be307f383ecc: Pull complete [2021-11-17T09:17:33.243Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-17T09:17:33.243Z] Status: Downloaded newer image for alpine:3.14 [2021-11-17T09:17:33.243Z] ---> 5b8b7b635229 [2021-11-17T09:17:33.243Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-11-17T09:17:33.243Z] ---> Running in d2d1f4990392 [2021-11-17T09:17:33.243Z] Removing intermediate container d2d1f4990392 [2021-11-17T09:17:33.243Z] ---> 1fc4f5e09ef1 [2021-11-17T09:17:33.243Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T09:17:33.243Z] ---> Running in ff325e850aad [2021-11-17T09:17:34.226Z] Removing intermediate container ff325e850aad [2021-11-17T09:17:34.226Z] ---> 5cf1b7811f7d [2021-11-17T09:17:34.226Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-17T09:17:34.226Z] ---> Running in f13eb739441f [2021-11-17T09:17:35.655Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-17T09:17:36.249Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-17T09:17:37.221Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-17T09:17:37.221Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-17T09:17:37.221Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-17T09:17:37.221Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-17T09:17:37.495Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-17T09:17:37.495Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-17T09:17:37.495Z] Executing busybox-1.33.1-r6.trigger [2021-11-17T09:17:37.495Z] OK: 8 MiB in 20 packages [2021-11-17T09:17:38.480Z] Removing intermediate container f13eb739441f [2021-11-17T09:17:38.480Z] ---> 5dccd66b8fc0 [2021-11-17T09:17:38.480Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-11-17T09:17:39.917Z] ---> b40d3ee17c51 [2021-11-17T09:17:39.917Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-11-17T09:17:40.510Z] ---> a6a21f3bb29e [2021-11-17T09:17:40.511Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-11-17T09:17:41.108Z] ---> fb7533a36761 [2021-11-17T09:17:41.108Z] Step 17/22 : EXPOSE 59901 [2021-11-17T09:17:41.108Z] ---> Running in 81ae925432be [2021-11-17T09:17:41.719Z] Removing intermediate container 81ae925432be [2021-11-17T09:17:41.719Z] ---> 2dec2f55e362 [2021-11-17T09:17:41.719Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-11-17T09:17:41.719Z] ---> Running in 443ea214ebf7 [2021-11-17T09:17:41.998Z] Removing intermediate container 443ea214ebf7 [2021-11-17T09:17:41.998Z] ---> b810cf999ead [2021-11-17T09:17:41.998Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-17T09:17:42.278Z] ---> Running in c7498ee5a21d [2021-11-17T09:17:42.550Z] Removing intermediate container c7498ee5a21d [2021-11-17T09:17:42.550Z] ---> 603bbb5e1af6 [2021-11-17T09:17:42.550Z] Step 20/22 : LABEL arch=arm64 [2021-11-17T09:17:42.821Z] ---> Running in c4d24bf2057f [2021-11-17T09:17:43.096Z] Removing intermediate container c4d24bf2057f [2021-11-17T09:17:43.096Z] ---> 36f7db8c8418 [2021-11-17T09:17:43.096Z] Step 21/22 : LABEL git_sha=88a58696cb067fb6eae2a796006b77d9cd89139c [2021-11-17T09:17:43.096Z] ---> Running in 41db0e94c848 [2021-11-17T09:17:43.692Z] Removing intermediate container 41db0e94c848 [2021-11-17T09:17:43.692Z] ---> c9c3248a2eab [2021-11-17T09:17:43.692Z] Step 22/22 : LABEL version=0.0.0 [2021-11-17T09:17:43.692Z] ---> Running in 47efa58f3eb1 [2021-11-17T09:17:44.286Z] Removing intermediate container 47efa58f3eb1 [2021-11-17T09:17:44.286Z] ---> 4da9d6d69172 [2021-11-17T09:17:44.286Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-17T09:17:44.286Z] Successfully built 4da9d6d69172 [2021-11-17T09:17:44.286Z] 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-17T09:17:44.415Z] provisioning config files... [2021-11-17T09:17:44.432Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/16@tmp/config5004132370643330245tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:17:44.777Z] ---> docker-login.sh [2021-11-17T09:17:44.777Z] nexus3.edgexfoundry.org:10001 [2021-11-17T09:17:45.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:17:45.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:17:45.324Z] Configure a credential helper to remove this warning. See [2021-11-17T09:17:45.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:17:45.324Z] [2021-11-17T09:17:45.324Z] Login Succeeded [2021-11-17T09:17:45.324Z] nexus3.edgexfoundry.org:10002 [2021-11-17T09:17:45.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:17:45.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:17:45.872Z] Configure a credential helper to remove this warning. See [2021-11-17T09:17:45.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:17:45.872Z] [2021-11-17T09:17:45.872Z] Login Succeeded [2021-11-17T09:17:45.872Z] nexus3.edgexfoundry.org:10003 [2021-11-17T09:17:46.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:17:46.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:17:46.418Z] Configure a credential helper to remove this warning. See [2021-11-17T09:17:46.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:17:46.418Z] [2021-11-17T09:17:46.418Z] Login Succeeded [2021-11-17T09:17:46.418Z] nexus3.edgexfoundry.org:10004 [2021-11-17T09:17:46.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:17:46.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:17:46.965Z] Configure a credential helper to remove this warning. See [2021-11-17T09:17:46.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:17:46.965Z] [2021-11-17T09:17:46.965Z] Login Succeeded [2021-11-17T09:17:46.965Z] docker.io [2021-11-17T09:17:47.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:17:47.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:17:47.831Z] Configure a credential helper to remove this warning. See [2021-11-17T09:17:47.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:17:47.831Z] [2021-11-17T09:17:47.831Z] Login Succeeded [2021-11-17T09:17:47.831Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T09:17:47.848Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-17T09:17:47.875Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-17T09:17:47.893Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2021-11-17T09:17:47.893Z] 88a58696cb067fb6eae2a796006b77d9cd89139c [2021-11-17T09:17:47.893Z] latest [2021-11-17T09:17:47.893Z] 0.0.0 [2021-11-17T09:17:47.893Z] 88a58696cb067fb6eae2a796006b77d9cd89139c-0.0.0 [2021-11-17T09:17:47.893Z] main [2021-11-17T09:17:47.893Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:17:48.226Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:88a58696cb067fb6eae2a796006b77d9cd89139c [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:17:48.589Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:88a58696cb067fb6eae2a796006b77d9cd89139c [2021-11-17T09:17:48.589Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-11-17T09:17:48.589Z] 3a2220e22916: Preparing [2021-11-17T09:17:48.589Z] 0d86e9b7b2db: Preparing [2021-11-17T09:17:48.589Z] c3ab63e14210: Preparing [2021-11-17T09:17:48.589Z] a5e5a5057229: Preparing [2021-11-17T09:17:48.589Z] 8699df95497e: Preparing [2021-11-17T09:17:48.589Z] 62170e181a92: Preparing [2021-11-17T09:17:48.589Z] 62170e181a92: Waiting [2021-11-17T09:17:48.863Z] 3a2220e22916: Pushed [2021-11-17T09:17:48.863Z] 0d86e9b7b2db: Pushed [2021-11-17T09:17:48.863Z] 8699df95497e: Pushed [2021-11-17T09:17:48.863Z] 62170e181a92: Layer already exists [2021-11-17T09:17:49.454Z] a5e5a5057229: Pushed [2021-11-17T09:17:52.059Z] c3ab63e14210: Pushed [2021-11-17T09:17:52.059Z] 88a58696cb067fb6eae2a796006b77d9cd89139c: digest: sha256:20fe6b24e73fb7561f01a2dce7a214bd1133badee5ac7e88efbd457260175f1c size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:17:52.401Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:17:52.739Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-11-17T09:17:52.739Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-11-17T09:17:52.739Z] 3a2220e22916: Preparing [2021-11-17T09:17:52.739Z] 0d86e9b7b2db: Preparing [2021-11-17T09:17:52.739Z] c3ab63e14210: Preparing [2021-11-17T09:17:52.739Z] a5e5a5057229: Preparing [2021-11-17T09:17:52.739Z] 8699df95497e: Preparing [2021-11-17T09:17:52.739Z] 62170e181a92: Preparing [2021-11-17T09:17:52.739Z] 62170e181a92: Waiting [2021-11-17T09:17:52.739Z] 3a2220e22916: Layer already exists [2021-11-17T09:17:53.012Z] 8699df95497e: Layer already exists [2021-11-17T09:17:53.012Z] c3ab63e14210: Layer already exists [2021-11-17T09:17:53.012Z] 0d86e9b7b2db: Layer already exists [2021-11-17T09:17:53.012Z] a5e5a5057229: Layer already exists [2021-11-17T09:17:53.012Z] 62170e181a92: Layer already exists [2021-11-17T09:17:53.012Z] latest: digest: sha256:20fe6b24e73fb7561f01a2dce7a214bd1133badee5ac7e88efbd457260175f1c size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:17:53.355Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0.0.0 [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:17:53.695Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0.0.0 [2021-11-17T09:17:53.696Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-11-17T09:17:53.696Z] 3a2220e22916: Preparing [2021-11-17T09:17:53.696Z] 0d86e9b7b2db: Preparing [2021-11-17T09:17:53.696Z] c3ab63e14210: Preparing [2021-11-17T09:17:53.696Z] a5e5a5057229: Preparing [2021-11-17T09:17:53.696Z] 8699df95497e: Preparing [2021-11-17T09:17:53.696Z] 62170e181a92: Preparing [2021-11-17T09:17:53.696Z] 62170e181a92: Waiting [2021-11-17T09:17:53.968Z] 0d86e9b7b2db: Layer already exists [2021-11-17T09:17:53.968Z] 3a2220e22916: Layer already exists [2021-11-17T09:17:53.968Z] c3ab63e14210: Layer already exists [2021-11-17T09:17:53.968Z] a5e5a5057229: Layer already exists [2021-11-17T09:17:53.968Z] 8699df95497e: Layer already exists [2021-11-17T09:17:53.968Z] 62170e181a92: Layer already exists [2021-11-17T09:17:53.968Z] 0.0.0: digest: sha256:20fe6b24e73fb7561f01a2dce7a214bd1133badee5ac7e88efbd457260175f1c size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:17:54.311Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:88a58696cb067fb6eae2a796006b77d9cd89139c-0.0.0 [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:17:54.647Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:88a58696cb067fb6eae2a796006b77d9cd89139c-0.0.0 [2021-11-17T09:17:54.647Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-11-17T09:17:54.647Z] 3a2220e22916: Preparing [2021-11-17T09:17:54.647Z] 0d86e9b7b2db: Preparing [2021-11-17T09:17:54.647Z] c3ab63e14210: Preparing [2021-11-17T09:17:54.647Z] a5e5a5057229: Preparing [2021-11-17T09:17:54.647Z] 8699df95497e: Preparing [2021-11-17T09:17:54.647Z] 62170e181a92: Preparing [2021-11-17T09:17:54.647Z] 62170e181a92: Waiting [2021-11-17T09:17:54.647Z] c3ab63e14210: Layer already exists [2021-11-17T09:17:54.647Z] 8699df95497e: Layer already exists [2021-11-17T09:17:54.647Z] 3a2220e22916: Layer already exists [2021-11-17T09:17:54.647Z] a5e5a5057229: Layer already exists [2021-11-17T09:17:54.647Z] 0d86e9b7b2db: Layer already exists [2021-11-17T09:17:54.647Z] 62170e181a92: Layer already exists [2021-11-17T09:17:54.917Z] 88a58696cb067fb6eae2a796006b77d9cd89139c-0.0.0: digest: sha256:20fe6b24e73fb7561f01a2dce7a214bd1133badee5ac7e88efbd457260175f1c size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:17:55.252Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:17:55.585Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2021-11-17T09:17:55.585Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-11-17T09:17:55.585Z] 3a2220e22916: Preparing [2021-11-17T09:17:55.585Z] 0d86e9b7b2db: Preparing [2021-11-17T09:17:55.585Z] c3ab63e14210: Preparing [2021-11-17T09:17:55.585Z] a5e5a5057229: Preparing [2021-11-17T09:17:55.585Z] 8699df95497e: Preparing [2021-11-17T09:17:55.585Z] 62170e181a92: Preparing [2021-11-17T09:17:55.585Z] 62170e181a92: Waiting [2021-11-17T09:17:55.585Z] a5e5a5057229: Layer already exists [2021-11-17T09:17:55.585Z] c3ab63e14210: Layer already exists [2021-11-17T09:17:55.855Z] 0d86e9b7b2db: Layer already exists [2021-11-17T09:17:55.855Z] 3a2220e22916: Layer already exists [2021-11-17T09:17:55.855Z] 8699df95497e: Layer already exists [2021-11-17T09:17:55.855Z] 62170e181a92: Layer already exists [2021-11-17T09:17:55.855Z] main: digest: sha256:20fe6b24e73fb7561f01a2dce7a214bd1133badee5ac7e88efbd457260175f1c size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-17T09:17:55.903Z] ===================================================== [Pipeline] echo [2021-11-17T09:17:55.912Z] taggedImages: [2021-11-17T09:17:55.912Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:88a58696cb067fb6eae2a796006b77d9cd89139c [2021-11-17T09:17:55.912Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-11-17T09:17:55.912Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0.0.0 [2021-11-17T09:17:55.912Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:88a58696cb067fb6eae2a796006b77d9cd89139c-0.0.0 [2021-11-17T09:17:55.912Z] - 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-17T09:17:56.324Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-17T09:17:56.594Z] [2021-11-17T09:17:56.594Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:17:56.932Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-17T09:17:57.204Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-17T09:17:57.204Z] 448f6bf000e3: Pulling fs layer [2021-11-17T09:17:57.204Z] f757da607395: Pulling fs layer [2021-11-17T09:17:57.204Z] 05883995daec: Pulling fs layer [2021-11-17T09:17:57.204Z] 8603b9c90790: Pulling fs layer [2021-11-17T09:17:57.204Z] 1560dd03e051: Pulling fs layer [2021-11-17T09:17:57.204Z] 27f5ce0e4adf: Pulling fs layer [2021-11-17T09:17:57.204Z] c2d8d7efcc4b: Pulling fs layer [2021-11-17T09:17:57.204Z] 8603b9c90790: Waiting [2021-11-17T09:17:57.204Z] 1560dd03e051: Waiting [2021-11-17T09:17:57.204Z] 27f5ce0e4adf: Waiting [2021-11-17T09:17:57.204Z] c2d8d7efcc4b: Waiting [2021-11-17T09:17:57.204Z] f757da607395: Verifying Checksum [2021-11-17T09:17:57.204Z] f757da607395: Download complete [2021-11-17T09:17:57.204Z] 8603b9c90790: Verifying Checksum [2021-11-17T09:17:57.204Z] 8603b9c90790: Download complete [2021-11-17T09:17:57.204Z] 1560dd03e051: Verifying Checksum [2021-11-17T09:17:57.204Z] 1560dd03e051: Download complete [2021-11-17T09:17:57.478Z] 27f5ce0e4adf: Verifying Checksum [2021-11-17T09:17:57.478Z] 27f5ce0e4adf: Download complete [2021-11-17T09:17:57.478Z] 05883995daec: Verifying Checksum [2021-11-17T09:17:57.478Z] 05883995daec: Download complete [2021-11-17T09:17:57.749Z] 448f6bf000e3: Verifying Checksum [2021-11-17T09:17:57.749Z] 448f6bf000e3: Download complete [2021-11-17T09:18:00.361Z] c2d8d7efcc4b: Verifying Checksum [2021-11-17T09:18:00.361Z] c2d8d7efcc4b: Download complete [2021-11-17T09:18:01.337Z] 448f6bf000e3: Pull complete [2021-11-17T09:18:01.930Z] f757da607395: Pull complete [2021-11-17T09:18:03.363Z] 05883995daec: Pull complete [2021-11-17T09:18:03.635Z] 8603b9c90790: Pull complete [2021-11-17T09:18:04.613Z] 1560dd03e051: Pull complete [2021-11-17T09:18:05.207Z] 27f5ce0e4adf: Pull complete [2021-11-17T09:18:20.285Z] c2d8d7efcc4b: Pull complete [2021-11-17T09:18:20.285Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-17T09:18:20.285Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-17T09:18:20.285Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-17T09:18:20.515Z] prd-ubuntu18.04-docker-arm64-4c-16g-935 does not seem to be running inside a container [2021-11-17T09:18:20.593Z] $ 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/16 -v /w/workspace/device-modbus-go/16:/w/workspace/device-modbus-go/16:rw,z -v /w/workspace/device-modbus-go/16@tmp:/w/workspace/device-modbus-go/16@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-17T09:18:23.302Z] $ docker top a1b356c1d32fce906b66f04a3f6052e0124b9fc3d2b6d2c799f73e6f284b0219 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:18:24.315Z] ---> job-cost.sh [2021-11-17T09:18:24.315Z] lf-activate-venv: SKIPPING [2021-11-17T09:18:24.315Z] INFO: No Stack... [2021-11-17T09:18:25.294Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-17T09:18:25.893Z] INFO: Archiving Costs [Pipeline] sh [2021-11-17T09:18:26.553Z] + cat /w/workspace/device-modbus-go/16/archives/cost.csv [2021-11-17T09:18:26.553Z] + cut -d, -f6 [Pipeline] lock [2021-11-17T09:18:26.612Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-16-stack-cost] [2021-11-17T09:18:26.618Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-16-stack-cost] did not exist. Created. [2021-11-17T09:18:26.618Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-17T09:18:27.280Z] /w/workspace/device-modbus-go/16@tmp/durable-4755a6cc/script.sh: 1: /w/workspace/device-modbus-go/16@tmp/durable-4755a6cc/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-17T09:18:27.941Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-17T09:18:27.968Z] Warning: overwriting stash ‘stack-cost’ [2021-11-17T09:18:28.015Z] Stashed 1 file(s) [Pipeline] } [2021-11-17T09:18:28.021Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-16-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-17T09:18:28.033Z] $ docker stop --time=1 a1b356c1d32fce906b66f04a3f6052e0124b9fc3d2b6d2c799f73e6f284b0219 [2021-11-17T09:18:29.561Z] $ docker rm -f a1b356c1d32fce906b66f04a3f6052e0124b9fc3d2b6d2c799f73e6f284b0219 [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-17T09:18:30.140Z] provisioning config files... [2021-11-17T09:18:30.148Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5034865296959687807tmp [Pipeline] { [Pipeline] sh [2021-11-17T09:18:30.462Z] + set +x [2021-11-17T09:18:30.462Z] + bash -s -- [2021-11-17T09:18:30.462Z] + curl -s https://codecov.io/bash [2021-11-17T09:18:30.462Z] [2021-11-17T09:18:30.462Z] _____ _ [2021-11-17T09:18:30.462Z] / ____| | | [2021-11-17T09:18:30.462Z] | | ___ __| | ___ ___ _____ __ [2021-11-17T09:18:30.462Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-17T09:18:30.462Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-17T09:18:30.462Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-17T09:18:30.462Z] Bash-1.0.6 [2021-11-17T09:18:30.462Z] [2021-11-17T09:18:30.462Z] [2021-11-17T09:18:30.462Z] ==> git version 2.24.4 found [2021-11-17T09:18:30.462Z] ==> 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-17T09:18:30.462Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-17T09:18:30.462Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-17T09:18:30.462Z] ==> Jenkins CI detected. [2021-11-17T09:18:30.462Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2021-11-17T09:18:30.462Z] project root: . [2021-11-17T09:18:30.462Z] --> token set from env [2021-11-17T09:18:30.462Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-17T09:18:30.462Z] ==> Running gcov in . (disable via -X gcov) [2021-11-17T09:18:30.462Z] ==> Python coveragepy not found [2021-11-17T09:18:30.462Z] ==> Searching for coverage reports in: [2021-11-17T09:18:30.462Z] + . [2021-11-17T09:18:30.462Z] -> Found 1 reports [2021-11-17T09:18:30.462Z] ==> Detecting git/mercurial file structure [2021-11-17T09:18:30.463Z] ==> Reading reports [2021-11-17T09:18:30.463Z] + ./coverage.out bytes=23727 [2021-11-17T09:18:30.463Z] ==> Appending adjustments [2021-11-17T09:18:30.463Z] https://docs.codecov.io/docs/fixing-reports [2021-11-17T09:18:30.724Z] + Found adjustments [2021-11-17T09:18:30.724Z] ==> Gzipping contents [2021-11-17T09:18:30.724Z] 4.0K /tmp/codecov.77XDvF.gz [2021-11-17T09:18:30.724Z] ==> Uploading reports [2021-11-17T09:18:30.724Z] url: https://codecov.io [2021-11-17T09:18:30.724Z] query: branch=main&commit=88a58696cb067fb6eae2a796006b77d9cd89139c&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-17T09:18:30.724Z] -> Pinging Codecov [2021-11-17T09:18:30.724Z] 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=88a58696cb067fb6eae2a796006b77d9cd89139c&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-17T09:18:30.984Z] -> Uploading to [2021-11-17T09:18:30.984Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-17/55DBCA73C666E3227836607328DD7E49/88a58696cb067fb6eae2a796006b77d9cd89139c/5f5a06be-b659-4364-ad66-7843b263a97f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211117T091830Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9f6019775be7ac9909d6911e06b92dcb7ebf162fb0d78406316ddb32d0f69d57 [2021-11-17T09:18:30.984Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-17T09:18:30.984Z] Dload Upload Total Spent Left Speed [2021-11-17T09:18:31.245Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3991 0 0 100 3991 0 13054 --:--:-- --:--:-- --:--:-- 13085 [2021-11-17T09:18:31.245Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/88a58696cb067fb6eae2a796006b77d9cd89139c [Pipeline] } [2021-11-17T09:18:31.266Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-17T09:18:31.629Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-17T09:18:31.646Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:18:31.941Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-17T09:18:31.941Z] [2021-11-17T09:18:31.941Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:18:32.264Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-17T09:18:32.264Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-17T09:18:32.264Z] 188c0c94c7c5: Pulling fs layer [2021-11-17T09:18:32.264Z] 0ef7d3d256c8: Pulling fs layer [2021-11-17T09:18:32.264Z] de9db76c5a1d: Pulling fs layer [2021-11-17T09:18:32.264Z] 0eba1c9be4d2: Pulling fs layer [2021-11-17T09:18:32.264Z] 0d57e429df01: Pulling fs layer [2021-11-17T09:18:32.264Z] 4e4be7b47b0d: Pulling fs layer [2021-11-17T09:18:32.264Z] e1f770b5df2f: Pulling fs layer [2021-11-17T09:18:32.264Z] 85a0685a4137: Pulling fs layer [2021-11-17T09:18:32.264Z] 0d57e429df01: Waiting [2021-11-17T09:18:32.264Z] 4e4be7b47b0d: Waiting [2021-11-17T09:18:32.264Z] e1f770b5df2f: Waiting [2021-11-17T09:18:32.264Z] 85a0685a4137: Waiting [2021-11-17T09:18:32.264Z] 0eba1c9be4d2: Waiting [2021-11-17T09:18:32.264Z] de9db76c5a1d: Verifying Checksum [2021-11-17T09:18:32.264Z] de9db76c5a1d: Download complete [2021-11-17T09:18:32.264Z] 0ef7d3d256c8: Download complete [2021-11-17T09:18:32.264Z] 0d57e429df01: Verifying Checksum [2021-11-17T09:18:32.264Z] 0d57e429df01: Download complete [2021-11-17T09:18:32.264Z] 4e4be7b47b0d: Verifying Checksum [2021-11-17T09:18:32.264Z] 4e4be7b47b0d: Download complete [2021-11-17T09:18:32.264Z] 188c0c94c7c5: Verifying Checksum [2021-11-17T09:18:32.264Z] 188c0c94c7c5: Download complete [2021-11-17T09:18:32.541Z] e1f770b5df2f: Verifying Checksum [2021-11-17T09:18:32.541Z] e1f770b5df2f: Download complete [2021-11-17T09:18:32.805Z] 0eba1c9be4d2: Verifying Checksum [2021-11-17T09:18:32.805Z] 0eba1c9be4d2: Download complete [2021-11-17T09:18:33.065Z] 188c0c94c7c5: Pull complete [2021-11-17T09:18:33.065Z] 85a0685a4137: Verifying Checksum [2021-11-17T09:18:33.065Z] 85a0685a4137: Download complete [2021-11-17T09:18:33.065Z] 0ef7d3d256c8: Pull complete [2021-11-17T09:18:33.065Z] de9db76c5a1d: Pull complete [2021-11-17T09:18:37.293Z] 0eba1c9be4d2: Pull complete [2021-11-17T09:18:37.293Z] 0d57e429df01: Pull complete [2021-11-17T09:18:37.293Z] 4e4be7b47b0d: Pull complete [2021-11-17T09:18:37.293Z] e1f770b5df2f: Pull complete [2021-11-17T09:18:41.532Z] 85a0685a4137: Pull complete [2021-11-17T09:18:41.532Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-17T09:18:41.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-17T09:18:41.532Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-17T09:18:41.599Z] prd-centos7-docker-4c-2g-932 does not seem to be running inside a container [2021-11-17T09:18:41.637Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-11-17T09:18:44.063Z] $ docker top cc4c7c192d4a313d73c1f45f3c01449c75f605242918d21d21f986a9c74e3f01 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-17T09:18:44.136Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-17T09:18:44.417Z] + set -o pipefail [2021-11-17T09:18:44.417Z] + snyk monitor '--org=edgex-jenkins' [2021-11-17T09:18:49.731Z] [2021-11-17T09:18:49.731Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2021-11-17T09:18:49.731Z] [2021-11-17T09:18:49.731Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/142dd84a-e830-4dcc-ab5e-1aa77f9c4db4 [2021-11-17T09:18:49.731Z] [2021-11-17T09:18:49.731Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2021-11-17T09:18:49.731Z] [2021-11-17T09:18:49.731Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-17T09:18:49.731Z] [2021-11-17T09:18:49.731Z] [Pipeline] } [2021-11-17T09:18:49.743Z] $ docker stop --time=1 cc4c7c192d4a313d73c1f45f3c01449c75f605242918d21d21f986a9c74e3f01 [2021-11-17T09:18:51.668Z] $ docker rm -f cc4c7c192d4a313d73c1f45f3c01449c75f605242918d21d21f986a9c74e3f01 [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-17T09:18:52.529Z] + git log --format=format:%s -1 88a58696cb067fb6eae2a796006b77d9cd89139c [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:18:52.828Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T09:18:52.828Z] . [Pipeline] withDockerContainer [2021-11-17T09:18:52.888Z] prd-centos7-docker-4c-2g-932 does not seem to be running inside a container [2021-11-17T09:18:52.932Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-17T09:18:53.281Z] $ docker top 1d75247fea778a35fbc1e1448936676129273634fd49c2796167164cb0b2639d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-17T09:18:53.369Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T09:18:53.369Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T09:18:53.472Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T09:18:53.475Z] $ docker exec 1d75247fea778a35fbc1e1448936676129273634fd49c2796167164cb0b2639d ssh-agent [2021-11-17T09:18:53.566Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHBkgin/agent.13 [2021-11-17T09:18:53.566Z] SSH_AGENT_PID=20 [2021-11-17T09:18:53.571Z] Running ssh-add (command line suppressed) [2021-11-17T09:18:53.660Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7630357713074740911.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7630357713074740911.key) [2021-11-17T09:18:53.674Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T09:18:53.970Z] + git semver tag [2021-11-17T09:18:53.970Z] # -> Open(): unable to determine branch for HEAD [2021-11-17T09:18:53.970Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-11-17T09:18:53.970Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-11-17T09:18:53.970Z] # $SEMVER_REMOTE_NAME = origin [2021-11-17T09:18:53.970Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-17T09:18:53.970Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-17T09:18:53.970Z] # $SEMVER_BRANCH = main [2021-11-17T09:18:53.970Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2021-11-17T09:18:53.970Z] # 88a58696cb067fb6eae2a796006b77d9cd89139c HEAD [2021-11-17T09:18:53.970Z] # -> Force: false [2021-11-17T09:18:53.970Z] # 1817544ae506130d616a889aaf87be30dd873c72 refs/tags/v0.0.0 [Pipeline] } [2021-11-17T09:18:53.980Z] $ docker exec --env ******** --env ******** 1d75247fea778a35fbc1e1448936676129273634fd49c2796167164cb0b2639d ssh-agent -k [2021-11-17T09:18:54.066Z] unset SSH_AUTH_SOCK; [2021-11-17T09:18:54.066Z] unset SSH_AGENT_PID; [2021-11-17T09:18:54.066Z] echo Agent pid 20 killed; [2021-11-17T09:18:54.075Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-17T09:18:54.391Z] + git semver [Pipeline] } [2021-11-17T09:18:54.404Z] $ docker stop --time=1 1d75247fea778a35fbc1e1448936676129273634fd49c2796167164cb0b2639d [2021-11-17T09:18:55.595Z] $ docker rm -f 1d75247fea778a35fbc1e1448936676129273634fd49c2796167164cb0b2639d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:18:55.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-17T09:18:55.996Z] [2021-11-17T09:18:55.996Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:18:56.299Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-17T09:18:56.299Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-17T09:18:56.299Z] ab5ef0e58194: Pulling fs layer [2021-11-17T09:18:56.299Z] 9712f1f96733: Pulling fs layer [2021-11-17T09:18:56.299Z] 63f879dbbcfc: Pulling fs layer [2021-11-17T09:18:56.299Z] 0d9ebad4ef96: Pulling fs layer [2021-11-17T09:18:56.299Z] e9a5061849ea: Pulling fs layer [2021-11-17T09:18:56.299Z] d747dcd14b5f: Pulling fs layer [2021-11-17T09:18:56.299Z] 2de7ff778b66: Pulling fs layer [2021-11-17T09:18:56.299Z] 0d9ebad4ef96: Waiting [2021-11-17T09:18:56.299Z] e9a5061849ea: Waiting [2021-11-17T09:18:56.299Z] d747dcd14b5f: Waiting [2021-11-17T09:18:56.299Z] 2de7ff778b66: Waiting [2021-11-17T09:18:56.299Z] 9712f1f96733: Verifying Checksum [2021-11-17T09:18:56.299Z] 9712f1f96733: Download complete [2021-11-17T09:18:56.896Z] 0d9ebad4ef96: Verifying Checksum [2021-11-17T09:18:56.896Z] 0d9ebad4ef96: Download complete [2021-11-17T09:18:56.896Z] 63f879dbbcfc: Verifying Checksum [2021-11-17T09:18:56.896Z] 63f879dbbcfc: Download complete [2021-11-17T09:18:56.896Z] d747dcd14b5f: Verifying Checksum [2021-11-17T09:18:56.896Z] d747dcd14b5f: Download complete [2021-11-17T09:18:56.896Z] ab5ef0e58194: Verifying Checksum [2021-11-17T09:18:56.896Z] ab5ef0e58194: Download complete [2021-11-17T09:18:56.896Z] e9a5061849ea: Verifying Checksum [2021-11-17T09:18:56.896Z] e9a5061849ea: Download complete [2021-11-17T09:18:56.896Z] 2de7ff778b66: Verifying Checksum [2021-11-17T09:18:56.896Z] 2de7ff778b66: Download complete [2021-11-17T09:18:59.465Z] ab5ef0e58194: Pull complete [2021-11-17T09:18:59.465Z] 9712f1f96733: Pull complete [2021-11-17T09:19:00.868Z] 63f879dbbcfc: Pull complete [2021-11-17T09:19:05.098Z] 0d9ebad4ef96: Pull complete [2021-11-17T09:19:05.099Z] e9a5061849ea: Pull complete [2021-11-17T09:19:05.099Z] d747dcd14b5f: Pull complete [2021-11-17T09:19:06.037Z] 2de7ff778b66: Pull complete [2021-11-17T09:19:06.037Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-17T09:19:06.037Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-17T09:19:06.037Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-17T09:19:06.106Z] prd-centos7-docker-4c-2g-932 does not seem to be running inside a container [2021-11-17T09:19:06.138Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-11-17T09:19:09.221Z] $ docker top 68f6db736e45d3b524043824fca7b0b79cfe64902c4cbfe1f14f44f945848106 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-17T09:19:09.305Z] provisioning config files... [2021-11-17T09:19:09.315Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1336455443277008810tmp [2021-11-17T09:19:09.326Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config292624397345870127tmp [2021-11-17T09:19:09.336Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2974963392460861443tmp [Pipeline] { [Pipeline] echo [2021-11-17T09:19:09.351Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:19:09.647Z] ---> sigul-configuration.sh [2021-11-17T09:19:09.647Z] gpg: directory `/root/.gnupg' created [2021-11-17T09:19:09.647Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-17T09:19:09.647Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-17T09:19:09.647Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-17T09:19:09.647Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-17T09:19:09.647Z] gpg: CAST5 encrypted data [2021-11-17T09:19:09.647Z] gpg: encrypted with 1 passphrase [2021-11-17T09:19:09.647Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-17T09:19:09.933Z] + mkdir /home/jenkins [2021-11-17T09:19:09.933Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-17T09:19:10.225Z] + 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-17T09:19:10.234Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:19:10.527Z] ---> sigul-install.sh [2021-11-17T09:19:10.527Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-17T09:19:10.819Z] + git tag --list [2021-11-17T09:19:10.819Z] 0.7.1 [2021-11-17T09:19:10.819Z] v0.0.0 [2021-11-17T09:19:10.819Z] v1.0.0 [2021-11-17T09:19:10.819Z] v1.1.0 [2021-11-17T09:19:10.819Z] v1.1.1 [2021-11-17T09:19:10.819Z] v1.2.2 [2021-11-17T09:19:10.819Z] v1.3.0 [2021-11-17T09:19:10.819Z] v1.3.1 [2021-11-17T09:19:10.819Z] v2.0.0 [2021-11-17T09:19:10.819Z] v2.0.1-dev.1 [2021-11-17T09:19:10.819Z] v2.0.1-dev.10 [2021-11-17T09:19:10.819Z] v2.0.1-dev.11 [2021-11-17T09:19:10.819Z] v2.0.1-dev.12 [2021-11-17T09:19:10.819Z] v2.0.1-dev.2 [2021-11-17T09:19:10.819Z] v2.0.1-dev.3 [2021-11-17T09:19:10.819Z] v2.0.1-dev.4 [2021-11-17T09:19:10.819Z] v2.0.1-dev.5 [2021-11-17T09:19:10.819Z] v2.0.1-dev.6 [2021-11-17T09:19:10.819Z] v2.0.1-dev.7 [2021-11-17T09:19:10.819Z] v2.0.1-dev.8 [2021-11-17T09:19:10.819Z] v2.0.1-dev.9 [Pipeline] sh [2021-11-17T09:19:11.112Z] + lftools sign git-tag v0.0.0 [2021-11-17T09:19:11.683Z] Signing Git tag with Sigul... [2021-11-17T09:19:11.683Z] Signing v0.0.0 [Pipeline] echo [2021-11-17T09:19:12.638Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:19:12.940Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-17T09:19:12.948Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-17T09:19:12.966Z] $ docker stop --time=1 68f6db736e45d3b524043824fca7b0b79cfe64902c4cbfe1f14f44f945848106 [2021-11-17T09:19:14.185Z] $ docker rm -f 68f6db736e45d3b524043824fca7b0b79cfe64902c4cbfe1f14f44f945848106 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:19:14.761Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T09:19:14.761Z] . [Pipeline] withDockerContainer [2021-11-17T09:19:14.824Z] prd-centos7-docker-4c-2g-932 does not seem to be running inside a container [2021-11-17T09:19:14.866Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-17T09:19:15.196Z] $ docker top 101ba141f84eee2a6549cf5a9d4649974433698ee126c2f34b5d791957b671ab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-17T09:19:15.291Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T09:19:15.291Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T09:19:15.393Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T09:19:15.396Z] $ docker exec 101ba141f84eee2a6549cf5a9d4649974433698ee126c2f34b5d791957b671ab ssh-agent [2021-11-17T09:19:15.493Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIElICi/agent.14 [2021-11-17T09:19:15.493Z] SSH_AGENT_PID=20 [2021-11-17T09:19:15.498Z] Running ssh-add (command line suppressed) [2021-11-17T09:19:15.592Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_772778855331762863.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_772778855331762863.key) [2021-11-17T09:19:15.602Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T09:19:15.892Z] + git semver bump pre [2021-11-17T09:19:15.892Z] # -> Open(): unable to determine branch for HEAD [2021-11-17T09:19:15.892Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-11-17T09:19:15.892Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-11-17T09:19:15.892Z] # $SEMVER_REMOTE_NAME = origin [2021-11-17T09:19:15.892Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-17T09:19:15.892Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-17T09:19:15.892Z] # $SEMVER_BRANCH = main [2021-11-17T09:19:15.892Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2021-11-17T09:19:15.892Z] 0.0.1-dev.1 [Pipeline] } [2021-11-17T09:19:15.904Z] $ docker exec --env ******** --env ******** 101ba141f84eee2a6549cf5a9d4649974433698ee126c2f34b5d791957b671ab ssh-agent -k [2021-11-17T09:19:15.992Z] unset SSH_AUTH_SOCK; [2021-11-17T09:19:15.992Z] unset SSH_AGENT_PID; [2021-11-17T09:19:15.993Z] echo Agent pid 20 killed; [2021-11-17T09:19:16.001Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-17T09:19:16.311Z] + git semver [Pipeline] } [2021-11-17T09:19:16.324Z] $ docker stop --time=1 101ba141f84eee2a6549cf5a9d4649974433698ee126c2f34b5d791957b671ab [2021-11-17T09:19:17.528Z] $ docker rm -f 101ba141f84eee2a6549cf5a9d4649974433698ee126c2f34b5d791957b671ab [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:19:17.877Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T09:19:17.877Z] . [Pipeline] withDockerContainer [2021-11-17T09:19:17.939Z] prd-centos7-docker-4c-2g-932 does not seem to be running inside a container [2021-11-17T09:19:17.972Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-17T09:19:18.333Z] $ docker top f3b4871e9a6af129cbd2cef52baf68521770d14755e7c68f9d5ebe4c1f2777e4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-17T09:19:18.421Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T09:19:18.421Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T09:19:18.531Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T09:19:18.534Z] $ docker exec f3b4871e9a6af129cbd2cef52baf68521770d14755e7c68f9d5ebe4c1f2777e4 ssh-agent [2021-11-17T09:19:18.633Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXocFLAb/agent.13 [2021-11-17T09:19:18.633Z] SSH_AGENT_PID=19 [2021-11-17T09:19:18.638Z] Running ssh-add (command line suppressed) [2021-11-17T09:19:18.730Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7319474412458473426.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7319474412458473426.key) [2021-11-17T09:19:18.741Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T09:19:19.032Z] + git semver push [2021-11-17T09:19:19.032Z] # -> Open(): unable to determine branch for HEAD [2021-11-17T09:19:19.032Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-11-17T09:19:19.032Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-11-17T09:19:19.032Z] # $SEMVER_REMOTE_NAME = origin [2021-11-17T09:19:19.032Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-17T09:19:19.032Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-17T09:19:19.032Z] # $SEMVER_BRANCH = main [2021-11-17T09:19:19.032Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2021-11-17T09:19:19.032Z] git-semver-push: ssh: handshake failed: knownhosts: key mismatch [Pipeline] } [2021-11-17T09:19:19.048Z] $ docker exec --env ******** --env ******** f3b4871e9a6af129cbd2cef52baf68521770d14755e7c68f9d5ebe4c1f2777e4 ssh-agent -k [2021-11-17T09:19:19.146Z] unset SSH_AUTH_SOCK; [2021-11-17T09:19:19.146Z] unset SSH_AGENT_PID; [2021-11-17T09:19:19.146Z] echo Agent pid 19 killed; [2021-11-17T09:19:19.154Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2021-11-17T09:19:19.185Z] $ docker stop --time=1 f3b4871e9a6af129cbd2cef52baf68521770d14755e7c68f9d5ebe4c1f2777e4 [2021-11-17T09:19:20.376Z] $ docker rm -f f3b4871e9a6af129cbd2cef52baf68521770d14755e7c68f9d5ebe4c1f2777e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to earlier failure(s) [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-17T09:19:21.302Z] + '[' -d /w/workspace/gexfoundry_device-modbus-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:19:21.652Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:19:22.208Z] ---> package-listing.sh [2021-11-17T09:19:22.208Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-17T09:19:22.208Z] ++ facter osfamily [2021-11-17T09:19:22.468Z] + OS_FAMILY=redhat [2021-11-17T09:19:22.468Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2021-11-17T09:19:22.468Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-17T09:19:22.468Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-17T09:19:22.468Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-17T09:19:22.468Z] + PACKAGES=/tmp/packages_start.txt [2021-11-17T09:19:22.468Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2021-11-17T09:19:22.468Z] + PACKAGES=/tmp/packages_end.txt [2021-11-17T09:19:22.468Z] + case "${OS_FAMILY}" in [2021-11-17T09:19:22.468Z] + rpm -qa [2021-11-17T09:19:22.468Z] + sort [2021-11-17T09:19:23.039Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-17T09:19:23.039Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-17T09:19:23.039Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-17T09:19:23.039Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2021-11-17T09:19:23.039Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2021-11-17T09:19:23.039Z] + 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-17T09:19:23.051Z] 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-17T09:19:23.332Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:19:23.883Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T09:19:23.883Z] [2021-11-17T09:19:23.883Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:19:24.184Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T09:19:24.184Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-17T09:19:24.184Z] b4d181a07f80: Pulling fs layer [2021-11-17T09:19:24.184Z] a1111a8f2ec3: Pulling fs layer [2021-11-17T09:19:24.184Z] ed53099fbce6: Pulling fs layer [2021-11-17T09:19:24.184Z] dc539afda2c1: Pulling fs layer [2021-11-17T09:19:24.184Z] 77bc0d833cb6: Pulling fs layer [2021-11-17T09:19:24.184Z] 9065ff56babe: Pulling fs layer [2021-11-17T09:19:24.184Z] d287ab97295c: Pulling fs layer [2021-11-17T09:19:24.184Z] 77bc0d833cb6: Waiting [2021-11-17T09:19:24.184Z] 9065ff56babe: Waiting [2021-11-17T09:19:24.184Z] d287ab97295c: Waiting [2021-11-17T09:19:24.184Z] a1111a8f2ec3: Verifying Checksum [2021-11-17T09:19:24.184Z] a1111a8f2ec3: Download complete [2021-11-17T09:19:24.184Z] dc539afda2c1: Verifying Checksum [2021-11-17T09:19:24.184Z] dc539afda2c1: Download complete [2021-11-17T09:19:24.184Z] ed53099fbce6: Verifying Checksum [2021-11-17T09:19:24.184Z] ed53099fbce6: Download complete [2021-11-17T09:19:24.448Z] 9065ff56babe: Verifying Checksum [2021-11-17T09:19:24.448Z] 9065ff56babe: Download complete [2021-11-17T09:19:24.448Z] 77bc0d833cb6: Verifying Checksum [2021-11-17T09:19:24.448Z] 77bc0d833cb6: Download complete [2021-11-17T09:19:24.448Z] b4d181a07f80: Verifying Checksum [2021-11-17T09:19:24.448Z] b4d181a07f80: Download complete [2021-11-17T09:19:25.022Z] d287ab97295c: Verifying Checksum [2021-11-17T09:19:25.022Z] d287ab97295c: Download complete [2021-11-17T09:19:25.970Z] b4d181a07f80: Pull complete [2021-11-17T09:19:25.970Z] a1111a8f2ec3: Pull complete [2021-11-17T09:19:26.548Z] ed53099fbce6: Pull complete [2021-11-17T09:19:26.810Z] dc539afda2c1: Pull complete [2021-11-17T09:19:27.070Z] 77bc0d833cb6: Pull complete [2021-11-17T09:19:27.070Z] 9065ff56babe: Pull complete [2021-11-17T09:19:32.361Z] d287ab97295c: Pull complete [2021-11-17T09:19:32.361Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-17T09:19:32.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T09:19:32.361Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-17T09:19:32.420Z] prd-centos7-docker-4c-2g-932 does not seem to be running inside a container [2021-11-17T09:19:32.454Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-17T09:19:34.608Z] $ docker top ede57525ee13b6643872aed72aea24c17ac05d2a0e1b8294414650c247bd18f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-17T09:19:34.957Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-17T09:19:35.251Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-17T09:19:35.543Z] + ls /var/log/sa-host [2021-11-17T09:19:35.543Z] + sadf -c /var/log/sa-host/sa17 [2021-11-17T09:19:35.543Z] file_magic: OK [2021-11-17T09:19:35.543Z] HZ: Using current value: 100 [2021-11-17T09:19:35.543Z] file_header: OK [2021-11-17T09:19:35.543Z] 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-17T09:19:35.543Z] Statistics: [2021-11-17T09:19:35.543Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-17T09:19:35.543Z] File successfully converted to sysstat format version 12.0.3 [2021-11-17T09:19:35.543Z] + sadf -c /var/log/sa-host/sa30 [2021-11-17T09:19:35.543Z] file_magic: OK [2021-11-17T09:19:35.543Z] HZ: Using current value: 100 [2021-11-17T09:19:35.543Z] file_header: OK [2021-11-17T09:19:35.543Z] 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-17T09:19:35.543Z] Statistics: [2021-11-17T09:19:35.543Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-17T09:19:35.543Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T09:19:35.621Z] provisioning config files... [2021-11-17T09:19:35.631Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1613801325572065322tmp [Pipeline] { [Pipeline] echo [2021-11-17T09:19:35.644Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:19:35.934Z] ---> create-netrc.sh [Pipeline] } [2021-11-17T09:19:35.942Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:19:36.263Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-17T09:19:36.271Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:19:36.554Z] ---> sudo-logs.sh [2021-11-17T09:19:36.554Z] Archiving 'sudo' log.. [2021-11-17T09:19:36.554Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-932.novalocal: Name or service not known [2021-11-17T09:19:36.554Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-932.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-17T09:19:36.577Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:19:36.869Z] ---> job-cost.sh [2021-11-17T09:19:36.869Z] lf-activate-venv: SKIPPING [2021-11-17T09:19:36.869Z] DEBUG: total: 0.10999999940395355 [2021-11-17T09:19:36.869Z] INFO: Retrieving Stack Cost... [2021-11-17T09:19:37.438Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-17T09:19:37.698Z] INFO: Archiving Costs [Pipeline] echo [2021-11-17T09:19:37.711Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:19:38.001Z] ---> logs-deploy.sh [2021-11-17T09:19:38.001Z] lf-activate-venv: SKIPPING [2021-11-17T09:19:38.001Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/16 [2021-11-17T09:19:38.001Z] INFO: archiving workspace using pattern(s): [2021-11-17T09:19:38.572Z] Archives upload complete. [2021-11-17T09:19:38.831Z] INFO: archiving logs to Nexus