Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d7023bcda15e937cec539ef29d6768596b85ffc4 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-ssh5816539173766498380.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh9779504733860415271.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh7246321010167876204.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh2510007559379099262.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-ssh5660387140450754893.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-41052 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.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 d7023bcda15e937cec539ef29d6768596b85ffc4 (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 d7023bcda15e937cec539ef29d6768596b85ffc4 # timeout=10 Commit message: "docs(snap): Move usage instructions to docs (#342)" > git rev-list --no-walk 0336c9d051e2f73d586bb6c363b90ff6160f5d37 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-06T13:34:14.801Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-06T13:34:14.845Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-06T13:34:14.859Z] ========================================================= [2022-05-06T13:34:14.859Z] EdgeX Global Pipelines Version Info [2022-05-06T13:34:14.859Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:34:15.611Z] ------------------- [2022-05-06T13:34:15.612Z] stable info: [2022-05-06T13:34:15.612Z] ------------------- [2022-05-06T13:34:15.612Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-06T13:34:15.612Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-06T13:34:15.612Z] Message: update stable to v1.0.227 [2022-05-06T13:34:16.186Z] ------------------- [2022-05-06T13:34:16.186Z] experimental info: [2022-05-06T13:34:16.186Z] ------------------- [2022-05-06T13:34:16.186Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-06T13:34:16.186Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-06T13:34:16.186Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-06T13:34:16.341Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-05-06T13:34:16.355Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-05-06T13:34:16.370Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-06T13:34:16.382Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-06T13:34:16.395Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-06T13:34:16.407Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-06T13:34:16.422Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-06T13:34:16.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-06T13:34:16.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-06T13:34:16.472Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-06T13:34:16.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-06T13:34:16.510Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-05-06T13:34:16.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-06T13:34:16.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-06T13:34:16.553Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-06T13:34:16.570Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-06T13:34:16.582Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-06T13:34:16.595Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-06T13:34:16.614Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-06T13:34:16.633Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-06T13:34:16.651Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-06T13:34:16.671Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-06T13:34:16.691Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-06T13:34:16.710Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-06T13:34:16.728Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-06T13:34:16.746Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-06T13:34:16.763Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-06T13:34:16.778Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-06T13:34:16.792Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-06T13:34:16.806Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d7023bcda15e937cec539ef29d6768596b85ffc4 [Pipeline] echo [2022-05-06T13:34:16.818Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d7023bc [Pipeline] echo [2022-05-06T13:34:16.830Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-06T13:34:16.873Z] provisioning config files... [2022-05-06T13:34:16.888Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8129125943395991605tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:34:17.215Z] ---> docker-login.sh [2022-05-06T13:34:17.215Z] nexus3.edgexfoundry.org:10001 [2022-05-06T13:34:17.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:34:17.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:34:17.482Z] Configure a credential helper to remove this warning. See [2022-05-06T13:34:17.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:34:17.482Z] [2022-05-06T13:34:17.482Z] Login Succeeded [2022-05-06T13:34:17.482Z] nexus3.edgexfoundry.org:10002 [2022-05-06T13:34:17.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:34:17.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:34:17.745Z] Configure a credential helper to remove this warning. See [2022-05-06T13:34:17.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:34:17.745Z] [2022-05-06T13:34:17.745Z] Login Succeeded [2022-05-06T13:34:17.745Z] nexus3.edgexfoundry.org:10003 [2022-05-06T13:34:17.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:34:17.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:34:17.745Z] Configure a credential helper to remove this warning. See [2022-05-06T13:34:17.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:34:17.745Z] [2022-05-06T13:34:17.745Z] Login Succeeded [2022-05-06T13:34:17.745Z] nexus3.edgexfoundry.org:10004 [2022-05-06T13:34:18.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:34:18.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:34:18.009Z] Configure a credential helper to remove this warning. See [2022-05-06T13:34:18.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:34:18.009Z] [2022-05-06T13:34:18.009Z] Login Succeeded [2022-05-06T13:34:18.009Z] docker.io [2022-05-06T13:34:18.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:34:18.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:34:18.279Z] Configure a credential helper to remove this warning. See [2022-05-06T13:34:18.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:34:18.279Z] [2022-05-06T13:34:18.279Z] Login Succeeded [2022-05-06T13:34:18.279Z] ---> docker-login.sh ends [Pipeline] } [2022-05-06T13:34:18.287Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-06T13:34:18.661Z] + git rev-list -1 --merges d7023bcda15e937cec539ef29d6768596b85ffc4~1..d7023bcda15e937cec539ef29d6768596b85ffc4 [Pipeline] echo [2022-05-06T13:34:18.818Z] -----------> git rev-list -1 --merges d7023bcda15e937cec539ef29d6768596b85ffc4~1..d7023bcda15e937cec539ef29d6768596b85ffc4 d7023bcda15e937cec539ef29d6768596b85ffc4 [false] [Pipeline] sh [2022-05-06T13:34:19.116Z] + git log --format=format:%s -1 d7023bcda15e937cec539ef29d6768596b85ffc4 [Pipeline] echo [2022-05-06T13:34:19.136Z] ========================================================= [2022-05-06T13:34:19.136Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-06T13:34:19.136Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-06T13:34:19.507Z] + git log --format=format:%s -1 d7023bcda15e937cec539ef29d6768596b85ffc4 [Pipeline] echo [2022-05-06T13:34:19.520Z] [semverPrep] GIT_COMMIT: d7023bcda15e937cec539ef29d6768596b85ffc4, Commit Message: docs(snap): Move usage instructions to docs (#342) [Pipeline] echo [2022-05-06T13:34:19.530Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-06T13:34:19.922Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-06T13:34:19.922Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-06T13:34:19.922Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-06T13:34:19.922Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-06T13:34:19.922Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-06T13:34:19.922Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-06T13:34:19.922Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:34:20.274Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-06T13:34:20.274Z] [2022-05-06T13:34:20.274Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:34:20.581Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-06T13:34:20.581Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-06T13:34:20.581Z] 1fe172e4850f: Pulling fs layer [2022-05-06T13:34:20.581Z] caf521ccaac6: Pulling fs layer [2022-05-06T13:34:20.581Z] 3ead6fa29328: Pulling fs layer [2022-05-06T13:34:20.581Z] 5c2a1cbceb83: Pulling fs layer [2022-05-06T13:34:20.581Z] a8d5f1318db7: Pulling fs layer [2022-05-06T13:34:20.581Z] c427282e49a2: Pulling fs layer [2022-05-06T13:34:20.581Z] 1827001aaf11: Pulling fs layer [2022-05-06T13:34:20.581Z] 0714d37db230: Pulling fs layer [2022-05-06T13:34:20.581Z] ac28cf19c067: Pulling fs layer [2022-05-06T13:34:20.581Z] ca983d60f3e2: Pulling fs layer [2022-05-06T13:34:20.581Z] 9f894cec8388: Pulling fs layer [2022-05-06T13:34:20.581Z] 5c2a1cbceb83: Waiting [2022-05-06T13:34:20.581Z] c427282e49a2: Waiting [2022-05-06T13:34:20.581Z] ac28cf19c067: Waiting [2022-05-06T13:34:20.581Z] ca983d60f3e2: Waiting [2022-05-06T13:34:20.581Z] 1827001aaf11: Waiting [2022-05-06T13:34:20.581Z] 0714d37db230: Waiting [2022-05-06T13:34:20.581Z] a8d5f1318db7: Waiting [2022-05-06T13:34:20.581Z] caf521ccaac6: Verifying Checksum [2022-05-06T13:34:20.581Z] caf521ccaac6: Download complete [2022-05-06T13:34:20.581Z] 5c2a1cbceb83: Download complete [2022-05-06T13:34:20.842Z] a8d5f1318db7: Verifying Checksum [2022-05-06T13:34:20.842Z] a8d5f1318db7: Download complete [2022-05-06T13:34:20.842Z] c427282e49a2: Download complete [2022-05-06T13:34:20.842Z] 3ead6fa29328: Verifying Checksum [2022-05-06T13:34:20.842Z] 3ead6fa29328: Download complete [2022-05-06T13:34:20.842Z] 0714d37db230: Download complete [2022-05-06T13:34:20.842Z] ac28cf19c067: Download complete [2022-05-06T13:34:20.842Z] ca983d60f3e2: Download complete [2022-05-06T13:34:20.842Z] 9f894cec8388: Download complete [2022-05-06T13:34:20.842Z] 1fe172e4850f: Download complete [2022-05-06T13:34:21.102Z] 1827001aaf11: Verifying Checksum [2022-05-06T13:34:21.102Z] 1827001aaf11: Download complete [2022-05-06T13:34:22.039Z] 1fe172e4850f: Pull complete [2022-05-06T13:34:22.299Z] caf521ccaac6: Pull complete [2022-05-06T13:34:22.559Z] 3ead6fa29328: Pull complete [2022-05-06T13:34:22.818Z] 5c2a1cbceb83: Pull complete [2022-05-06T13:34:23.078Z] a8d5f1318db7: Pull complete [2022-05-06T13:34:23.078Z] c427282e49a2: Pull complete [2022-05-06T13:34:24.982Z] 1827001aaf11: Pull complete [2022-05-06T13:34:24.982Z] 0714d37db230: Pull complete [2022-05-06T13:34:24.982Z] ac28cf19c067: Pull complete [2022-05-06T13:34:24.982Z] ca983d60f3e2: Pull complete [2022-05-06T13:34:25.242Z] 9f894cec8388: Pull complete [2022-05-06T13:34:25.242Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-06T13:34:25.242Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-06T13:34:25.242Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-06T13:34:25.313Z] prd-ubuntu20.04-docker-8c-8g-41052 does not seem to be running inside a container [2022-05-06T13:34:25.358Z] $ 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:10003/edgex-devops/py-git-semver:latest cat [2022-05-06T13:34:26.581Z] $ docker top 4341417dee26463a4248137d77977d8162fb5ba3af0e2eebcf2e5d7c84c461e0 -eo pid,comm [2022-05-06T13:34:26.638Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-06T13:34:26.638Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-06T13:34:26.675Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-06T13:34:26.675Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-06T13:34:26.802Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-06T13:34:26.812Z] $ docker exec 4341417dee26463a4248137d77977d8162fb5ba3af0e2eebcf2e5d7c84c461e0 ssh-agent [2022-05-06T13:34:26.948Z] SSH_AUTH_SOCK=/tmp/ssh-qPnOirZltek8/agent.33 [2022-05-06T13:34:26.948Z] SSH_AGENT_PID=39 [2022-05-06T13:34:26.955Z] Running ssh-add (command line suppressed) [2022-05-06T13:34:27.081Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8856621021545197522.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8856621021545197522.key) [2022-05-06T13:34:27.089Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-06T13:34:27.378Z] + git tag --points-at HEAD [Pipeline] } [2022-05-06T13:34:27.397Z] $ docker exec --env ******** --env ******** 4341417dee26463a4248137d77977d8162fb5ba3af0e2eebcf2e5d7c84c461e0 ssh-agent -k [2022-05-06T13:34:27.512Z] unset SSH_AUTH_SOCK; [2022-05-06T13:34:27.512Z] unset SSH_AGENT_PID; [2022-05-06T13:34:27.512Z] echo Agent pid 39 killed; [2022-05-06T13:34:27.519Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-06T13:34:27.541Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-06T13:34:27.541Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-06T13:34:27.667Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-06T13:34:27.676Z] $ docker exec 4341417dee26463a4248137d77977d8162fb5ba3af0e2eebcf2e5d7c84c461e0 ssh-agent [2022-05-06T13:34:27.800Z] SSH_AUTH_SOCK=/tmp/ssh-ibEAzkOZ4MxB/agent.72 [2022-05-06T13:34:27.800Z] SSH_AGENT_PID=78 [2022-05-06T13:34:27.806Z] Running ssh-add (command line suppressed) [2022-05-06T13:34:27.924Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_993202337656278457.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_993202337656278457.key) [2022-05-06T13:34:27.932Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-06T13:34:28.226Z] + git semver init [2022-05-06T13:34:28.486Z] 2022-05-06 13:34:28,457 [run_init] DEBUG init version:0.0.0 force:False [2022-05-06T13:34:28.486Z] 2022-05-06 13:34:28,458 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-05-06T13:34:28.486Z] 2022-05-06 13:34:28,459 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-05-06T13:34:28.486Z] 2022-05-06 13:34:28,459 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-06T13:34:29.424Z] 2022-05-06 13:34:29,271 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2022-05-06T13:34:29.424Z] 2022-05-06 13:34:29,271 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2022-05-06T13:34:29.424Z] 2022-05-06 13:34:29,272 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-06T13:34:29.424Z] 2022-05-06 13:34:29,272 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-06T13:34:29.424Z] 2.2.0-dev.16 [Pipeline] } [2022-05-06T13:34:29.440Z] $ docker exec --env ******** --env ******** 4341417dee26463a4248137d77977d8162fb5ba3af0e2eebcf2e5d7c84c461e0 ssh-agent -k [2022-05-06T13:34:29.545Z] unset SSH_AUTH_SOCK; [2022-05-06T13:34:29.546Z] unset SSH_AGENT_PID; [2022-05-06T13:34:29.546Z] echo Agent pid 78 killed; [2022-05-06T13:34:29.551Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-06T13:34:29.862Z] + git semver [Pipeline] } [2022-05-06T13:34:30.142Z] $ docker stop --time=1 4341417dee26463a4248137d77977d8162fb5ba3af0e2eebcf2e5d7c84c461e0 [2022-05-06T13:34:31.436Z] $ docker rm -f 4341417dee26463a4248137d77977d8162fb5ba3af0e2eebcf2e5d7c84c461e0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-06T13:34:31.780Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-06T13:34:32.033Z] Stashed 1 file(s) [Pipeline] echo [2022-05-06T13:34:32.037Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.16 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-06T13:34:32.193Z] provisioning config files... [2022-05-06T13:34:32.204Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5370769232681922197tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:34:32.506Z] ---> docker-login.sh [2022-05-06T13:34:32.506Z] nexus3.edgexfoundry.org:10001 [2022-05-06T13:34:32.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:34:32.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:34:32.506Z] Configure a credential helper to remove this warning. See [2022-05-06T13:34:32.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:34:32.506Z] [2022-05-06T13:34:32.506Z] Login Succeeded [2022-05-06T13:34:32.506Z] nexus3.edgexfoundry.org:10002 [2022-05-06T13:34:32.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:34:32.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:34:32.506Z] Configure a credential helper to remove this warning. See [2022-05-06T13:34:32.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:34:32.506Z] [2022-05-06T13:34:32.506Z] Login Succeeded [2022-05-06T13:34:32.506Z] nexus3.edgexfoundry.org:10003 [2022-05-06T13:34:32.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:34:32.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:34:32.767Z] Configure a credential helper to remove this warning. See [2022-05-06T13:34:32.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:34:32.767Z] [2022-05-06T13:34:32.767Z] Login Succeeded [2022-05-06T13:34:32.767Z] nexus3.edgexfoundry.org:10004 [2022-05-06T13:34:32.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:34:33.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:34:33.028Z] Configure a credential helper to remove this warning. See [2022-05-06T13:34:33.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:34:33.028Z] [2022-05-06T13:34:33.028Z] Login Succeeded [2022-05-06T13:34:33.028Z] docker.io [2022-05-06T13:34:33.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:34:33.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:34:33.287Z] Configure a credential helper to remove this warning. See [2022-05-06T13:34:33.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:34:33.287Z] [2022-05-06T13:34:33.287Z] Login Succeeded [2022-05-06T13:34:33.287Z] ---> docker-login.sh ends [Pipeline] } [2022-05-06T13:34:33.295Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-06T13:34:33.373Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-06T13:34:33.392Z] ========================================================= [2022-05-06T13:34:33.392Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-06T13:34:33.392Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:34:33.708Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-06T13:34:33.708Z] Sending build context to Docker daemon 5.854MB [2022-05-06T13:34:33.708Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-06T13:34:33.708Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-06T13:34:33.708Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-06T13:34:33.708Z] 59bf1c3509f3: Pulling fs layer [2022-05-06T13:34:33.708Z] 666ba61612fd: Pulling fs layer [2022-05-06T13:34:33.708Z] 8ed8ca486205: Pulling fs layer [2022-05-06T13:34:33.708Z] 4fe6c5a15a65: Pulling fs layer [2022-05-06T13:34:33.708Z] 22a0e8bec74d: Pulling fs layer [2022-05-06T13:34:33.708Z] ca2b28591e48: Pulling fs layer [2022-05-06T13:34:33.708Z] a51346096db8: Pulling fs layer [2022-05-06T13:34:33.708Z] daebc70d1ce1: Pulling fs layer [2022-05-06T13:34:33.708Z] 0e18a0eac166: Pulling fs layer [2022-05-06T13:34:33.708Z] 22a0e8bec74d: Waiting [2022-05-06T13:34:33.708Z] ca2b28591e48: Waiting [2022-05-06T13:34:33.708Z] daebc70d1ce1: Waiting [2022-05-06T13:34:33.708Z] 0e18a0eac166: Waiting [2022-05-06T13:34:33.708Z] a51346096db8: Waiting [2022-05-06T13:34:33.708Z] 4fe6c5a15a65: Waiting [2022-05-06T13:34:33.708Z] 8ed8ca486205: Download complete [2022-05-06T13:34:33.708Z] 666ba61612fd: Verifying Checksum [2022-05-06T13:34:33.708Z] 666ba61612fd: Download complete [2022-05-06T13:34:33.708Z] 22a0e8bec74d: Verifying Checksum [2022-05-06T13:34:33.708Z] 22a0e8bec74d: Download complete [2022-05-06T13:34:33.708Z] ca2b28591e48: Verifying Checksum [2022-05-06T13:34:33.708Z] ca2b28591e48: Download complete [2022-05-06T13:34:33.969Z] a51346096db8: Verifying Checksum [2022-05-06T13:34:33.969Z] a51346096db8: Download complete [2022-05-06T13:34:33.969Z] 59bf1c3509f3: Verifying Checksum [2022-05-06T13:34:33.969Z] 59bf1c3509f3: Download complete [2022-05-06T13:34:33.969Z] daebc70d1ce1: Verifying Checksum [2022-05-06T13:34:33.969Z] daebc70d1ce1: Download complete [2022-05-06T13:34:33.969Z] 59bf1c3509f3: Pull complete [2022-05-06T13:34:34.311Z] 666ba61612fd: Pull complete [2022-05-06T13:34:34.311Z] 8ed8ca486205: Pull complete [2022-05-06T13:34:34.571Z] 0e18a0eac166: Verifying Checksum [2022-05-06T13:34:34.571Z] 0e18a0eac166: Download complete [2022-05-06T13:34:34.571Z] 4fe6c5a15a65: Download complete [2022-05-06T13:34:38.761Z] 4fe6c5a15a65: Pull complete [2022-05-06T13:34:38.761Z] 22a0e8bec74d: Pull complete [2022-05-06T13:34:38.761Z] ca2b28591e48: Pull complete [2022-05-06T13:34:38.761Z] a51346096db8: Pull complete [2022-05-06T13:34:38.761Z] daebc70d1ce1: Pull complete [2022-05-06T13:34:40.138Z] 0e18a0eac166: Pull complete [2022-05-06T13:34:40.138Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-06T13:34:40.138Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-06T13:34:40.138Z] ---> f018257e8ee9 [2022-05-06T13:34:40.138Z] Step 3/10 : ARG MAKE='make build' [2022-05-06T13:34:41.521Z] ---> Running in a6edc8b82b51 [2022-05-06T13:34:41.521Z] Removing intermediate container a6edc8b82b51 [2022-05-06T13:34:41.521Z] ---> fe4a04e82c98 [2022-05-06T13:34:41.521Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-06T13:34:41.521Z] ---> Running in 665d6918c7df [2022-05-06T13:34:42.091Z] Removing intermediate container 665d6918c7df [2022-05-06T13:34:42.091Z] ---> 1f5c0f7227e1 [2022-05-06T13:34:42.091Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-06T13:34:42.091Z] ---> Running in d706923c2c47 [2022-05-06T13:34:42.351Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-06T13:34:43.291Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-06T13:34:43.551Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-06T13:34:43.551Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-06T13:34:43.551Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-06T13:34:43.812Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-06T13:34:43.812Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-06T13:34:43.812Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-06T13:34:44.073Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-05-06T13:34:44.073Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-06T13:34:44.333Z] Executing busybox-1.34.1-r3.trigger [2022-05-06T13:34:44.333Z] OK: 226 MiB in 60 packages [2022-05-06T13:34:44.595Z] Removing intermediate container d706923c2c47 [2022-05-06T13:34:44.595Z] ---> e0f530f54a74 [2022-05-06T13:34:44.595Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-06T13:34:44.595Z] ---> Running in a9330b1be336 [2022-05-06T13:34:44.595Z] Removing intermediate container a9330b1be336 [2022-05-06T13:34:44.595Z] ---> 90d0370333db [2022-05-06T13:34:44.595Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-06T13:34:44.855Z] ---> 280b36d7c988 [2022-05-06T13:34:44.855Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-06T13:34:44.855Z] ---> Running in 6c424681cff7 [2022-05-06T13:34:47.160Z] Still waiting to schedule task [2022-05-06T13:34:47.160Z] ‘prd-centos7-blackbox-4c-2g-34311’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-06T13:34:47.160Z] ‘prd-centos7-builder-2c-1g-40571’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-06T13:34:47.160Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-41053’ is offline [2022-05-06T13:34:47.160Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-41054’ is offline [2022-05-06T13:34:47.160Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-41055’ is offline [2022-05-06T13:34:47.161Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-41056’ is offline [2022-05-06T13:34:59.764Z] Removing intermediate container 6c424681cff7 [2022-05-06T13:34:59.764Z] ---> 644963e1e69f [2022-05-06T13:34:59.764Z] Step 9/10 : COPY . . [2022-05-06T13:34:59.764Z] ---> 7d82fd5220cc [2022-05-06T13:34:59.764Z] Step 10/10 : RUN ${MAKE} [2022-05-06T13:34:59.764Z] ---> Running in d441ed63dcc1 [2022-05-06T13:34:59.764Z] noop [2022-05-06T13:35:00.024Z] Removing intermediate container d441ed63dcc1 [2022-05-06T13:35:00.024Z] ---> 217026c529a1 [2022-05-06T13:35:00.024Z] Successfully built 217026c529a1 [2022-05-06T13:35:00.024Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:35:00.325Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-06T13:35:00.325Z] . [Pipeline] withDockerContainer [2022-05-06T13:35:00.390Z] prd-ubuntu20.04-docker-8c-8g-41052 does not seem to be running inside a container [2022-05-06T13:35:00.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-06T13:35:00.793Z] $ docker top 1dafbc0f3ff6016a4f65f9d70da88bb814c2c0843c1ff822bee69e277a0e3cd6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-06T13:35:01.143Z] + go version [2022-05-06T13:35:01.144Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-06T13:35:01.162Z] $ docker stop --time=1 1dafbc0f3ff6016a4f65f9d70da88bb814c2c0843c1ff822bee69e277a0e3cd6 [2022-05-06T13:35:02.465Z] $ docker rm -f 1dafbc0f3ff6016a4f65f9d70da88bb814c2c0843c1ff822bee69e277a0e3cd6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:35:02.890Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-06T13:35:02.890Z] . [Pipeline] withDockerContainer [2022-05-06T13:35:03.012Z] prd-ubuntu20.04-docker-8c-8g-41052 does not seem to be running inside a container [2022-05-06T13:35:03.062Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-06T13:35:03.421Z] $ docker top 9ecdbc8766f312e499641849719c370beb2f2f2ff02c5cb91c5f0ccb98b5f842 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-06T13:35:03.787Z] + make test [2022-05-06T13:35:03.788Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-06T13:35:04.358Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-06T13:35:14.345Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-06T13:35:14.345Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 46.4% of statements [2022-05-06T13:35:19.621Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-06T13:35:23.814Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-06T13:35:23.814Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-06T13:35:23.814Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-06T13:35:23.828Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-06T13:35:23.848Z] $ docker stop --time=1 9ecdbc8766f312e499641849719c370beb2f2f2ff02c5cb91c5f0ccb98b5f842 [2022-05-06T13:35:25.539Z] $ docker rm -f 9ecdbc8766f312e499641849719c370beb2f2f2ff02c5cb91c5f0ccb98b5f842 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-06T13:35:25.974Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-06T13:35:26.012Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-06T13:35:26.536Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-06T13:35:26.824Z] + ls -al . [2022-05-06T13:35:26.824Z] total 180 [2022-05-06T13:35:26.824Z] drwxrwxr-x 10 jenkins jenkins 4096 May 6 13:35 . [2022-05-06T13:35:26.824Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 13:34 .. [2022-05-06T13:35:26.824Z] -rw-rw-r-- 1 jenkins jenkins 140 May 6 13:34 .dockerignore [2022-05-06T13:35:26.824Z] drwxrwxr-x 8 jenkins jenkins 4096 May 6 13:34 .git [2022-05-06T13:35:26.824Z] drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:34 .github [2022-05-06T13:35:26.824Z] -rw-rw-r-- 1 jenkins jenkins 331 May 6 13:34 .gitignore [2022-05-06T13:35:26.824Z] -rw-rw-r-- 1 jenkins jenkins 41 May 6 13:34 .golangci.yml [2022-05-06T13:35:26.824Z] drwxr-xr-x 3 jenkins jenkins 4096 May 6 13:34 .semver [2022-05-06T13:35:26.824Z] -rw-rw-r-- 1 jenkins jenkins 9377 May 6 13:34 Attribution.txt [2022-05-06T13:35:26.824Z] -rw-rw-r-- 1 jenkins jenkins 6038 May 6 13:34 CHANGELOG.md [2022-05-06T13:35:26.824Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 6 13:34 Dockerfile [2022-05-06T13:35:26.824Z] -rw-rw-r-- 1 jenkins jenkins 677 May 6 13:34 GOVERNANCE.md [2022-05-06T13:35:26.824Z] -rw-rw-r-- 1 jenkins jenkins 680 May 6 13:34 Jenkinsfile [2022-05-06T13:35:26.824Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 6 13:34 LICENSE [2022-05-06T13:35:26.824Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 6 13:34 Makefile [2022-05-06T13:35:26.824Z] -rw-rw-r-- 1 jenkins jenkins 622 May 6 13:34 OWNERS.md [2022-05-06T13:35:26.824Z] -rw-rw-r-- 1 jenkins jenkins 3397 May 6 13:34 README.md [2022-05-06T13:35:26.824Z] -rw-rw-r-- 1 jenkins jenkins 12 May 6 13:34 VERSION [2022-05-06T13:35:26.824Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 13:34 bin [2022-05-06T13:35:26.824Z] drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:34 cmd [2022-05-06T13:35:26.824Z] -rw-r--r-- 1 jenkins jenkins 24065 May 6 13:35 coverage.out [2022-05-06T13:35:26.824Z] -rw-rw-r-- 1 jenkins jenkins 3399 May 6 13:34 go.mod [2022-05-06T13:35:26.824Z] -rw-rw-r-- 1 jenkins jenkins 35440 May 6 13:34 go.sum [2022-05-06T13:35:26.824Z] drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:34 internal [2022-05-06T13:35:26.824Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 13:34 simulator [2022-05-06T13:35:26.824Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 13:34 snap [2022-05-06T13:35:26.824Z] -rw-rw-r-- 1 jenkins jenkins 229 May 6 13:34 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:35:27.128Z] + 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=d7023bcda15e937cec539ef29d6768596b85ffc4 --label arch=amd64 --label version=2.2.0-dev.16 . [2022-05-06T13:35:27.128Z] Sending build context to Docker daemon 5.879MB [2022-05-06T13:35:27.128Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-06T13:35:27.129Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-06T13:35:27.129Z] ---> 217026c529a1 [2022-05-06T13:35:27.129Z] Step 3/23 : ARG MAKE='make build' [2022-05-06T13:35:27.129Z] ---> Running in 26a71db45fc3 [2022-05-06T13:35:27.388Z] Removing intermediate container 26a71db45fc3 [2022-05-06T13:35:27.388Z] ---> 43965595db3f [2022-05-06T13:35:27.388Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-06T13:35:27.388Z] ---> Running in 6831ad1e0108 [2022-05-06T13:35:27.957Z] Removing intermediate container 6831ad1e0108 [2022-05-06T13:35:27.957Z] ---> 3e36921aa436 [2022-05-06T13:35:27.957Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-06T13:35:27.957Z] ---> Running in d62b108ed56a [2022-05-06T13:35:28.219Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-06T13:35:29.163Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-06T13:35:29.163Z] OK: 226 MiB in 60 packages [2022-05-06T13:35:29.740Z] Removing intermediate container d62b108ed56a [2022-05-06T13:35:29.740Z] ---> 72b4c3b68446 [2022-05-06T13:35:29.740Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-06T13:35:29.740Z] ---> Running in 410c82b3bb62 [2022-05-06T13:35:29.740Z] Removing intermediate container 410c82b3bb62 [2022-05-06T13:35:29.740Z] ---> 9068d71ea660 [2022-05-06T13:35:29.740Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-06T13:35:29.740Z] ---> f152b9ab2d3c [2022-05-06T13:35:29.740Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-06T13:35:29.740Z] ---> Running in 61e7510af240 [2022-05-06T13:35:30.311Z] Removing intermediate container 61e7510af240 [2022-05-06T13:35:30.311Z] ---> 50d3905845c7 [2022-05-06T13:35:30.311Z] Step 9/23 : COPY . . [2022-05-06T13:35:30.880Z] ---> 32f3d3655339 [2022-05-06T13:35:30.880Z] Step 10/23 : RUN ${MAKE} [2022-05-06T13:35:30.880Z] ---> Running in bf8fc480fc5b [2022-05-06T13:35:31.139Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-05-06T13:35:53.079Z] Removing intermediate container bf8fc480fc5b [2022-05-06T13:35:53.080Z] ---> ab8d174be9e0 [2022-05-06T13:35:53.080Z] Step 11/23 : FROM alpine:3.14 [2022-05-06T13:35:53.080Z] 3.14: Pulling from library/alpine [2022-05-06T13:35:53.080Z] 8663204ce13b: Pulling fs layer [2022-05-06T13:35:53.080Z] 8663204ce13b: Verifying Checksum [2022-05-06T13:35:53.080Z] 8663204ce13b: Download complete [2022-05-06T13:35:53.080Z] 8663204ce13b: Pull complete [2022-05-06T13:35:53.080Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-06T13:35:53.080Z] Status: Downloaded newer image for alpine:3.14 [2022-05-06T13:35:53.080Z] ---> e04c818066af [2022-05-06T13:35:53.080Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-06T13:35:53.080Z] ---> Running in b9e496587025 [2022-05-06T13:35:53.080Z] Removing intermediate container b9e496587025 [2022-05-06T13:35:53.080Z] ---> cd806f589dfe [2022-05-06T13:35:53.080Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-06T13:35:53.080Z] ---> Running in a024f6d62e21 [2022-05-06T13:35:53.080Z] Removing intermediate container a024f6d62e21 [2022-05-06T13:35:53.080Z] ---> 20294715bc1f [2022-05-06T13:35:53.080Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-06T13:35:53.080Z] ---> Running in 3f671935f098 [2022-05-06T13:35:53.080Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-06T13:35:53.080Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-06T13:35:53.080Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-06T13:35:53.080Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-06T13:35:53.080Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-06T13:35:53.080Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-06T13:35:53.080Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-06T13:35:53.080Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-06T13:35:53.340Z] Executing busybox-1.33.1-r7.trigger [2022-05-06T13:35:53.340Z] OK: 8 MiB in 20 packages [2022-05-06T13:35:53.599Z] Removing intermediate container 3f671935f098 [2022-05-06T13:35:53.599Z] ---> 111ba153dce5 [2022-05-06T13:35:53.599Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-06T13:35:54.169Z] ---> 32ce62878519 [2022-05-06T13:35:54.169Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-06T13:35:54.429Z] ---> 39bbee50b0a0 [2022-05-06T13:35:54.429Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-06T13:35:54.429Z] ---> d0776b8aa834 [2022-05-06T13:35:54.429Z] Step 18/23 : EXPOSE 59901 [2022-05-06T13:35:54.429Z] ---> Running in 35b004b10fc8 [2022-05-06T13:35:54.689Z] Removing intermediate container 35b004b10fc8 [2022-05-06T13:35:54.689Z] ---> 009e58343d2b [2022-05-06T13:35:54.689Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-06T13:35:54.689Z] ---> Running in 43f7b15f36b1 [2022-05-06T13:35:54.689Z] Removing intermediate container 43f7b15f36b1 [2022-05-06T13:35:54.689Z] ---> c900e6217362 [2022-05-06T13:35:54.689Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-06T13:35:54.689Z] ---> Running in 068dfdd35ada [2022-05-06T13:35:54.953Z] Removing intermediate container 068dfdd35ada [2022-05-06T13:35:54.953Z] ---> 8d6ed55f72e3 [2022-05-06T13:35:54.953Z] Step 21/23 : LABEL arch=amd64 [2022-05-06T13:35:54.953Z] ---> Running in 4c7bbd93f0bf [2022-05-06T13:35:54.953Z] Removing intermediate container 4c7bbd93f0bf [2022-05-06T13:35:54.953Z] ---> 927f999a3feb [2022-05-06T13:35:54.953Z] Step 22/23 : LABEL git_sha=d7023bcda15e937cec539ef29d6768596b85ffc4 [2022-05-06T13:35:54.953Z] ---> Running in 5f3dc91828cf [2022-05-06T13:35:54.953Z] Removing intermediate container 5f3dc91828cf [2022-05-06T13:35:54.953Z] ---> f2eb700f0a9d [2022-05-06T13:35:54.953Z] Step 23/23 : LABEL version=2.2.0-dev.16 [2022-05-06T13:35:55.213Z] ---> Running in 2a624245008b [2022-05-06T13:35:55.213Z] Removing intermediate container 2a624245008b [2022-05-06T13:35:55.213Z] ---> 0eac7dbc7e52 [2022-05-06T13:35:55.213Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-06T13:35:55.213Z] Successfully built 0eac7dbc7e52 [2022-05-06T13:35:55.213Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-06T13:35:55.317Z] provisioning config files... [2022-05-06T13:35:55.326Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3928830448767717665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:35:55.626Z] ---> docker-login.sh [2022-05-06T13:35:55.626Z] nexus3.edgexfoundry.org:10001 [2022-05-06T13:35:55.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:35:55.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:35:55.626Z] Configure a credential helper to remove this warning. See [2022-05-06T13:35:55.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:35:55.626Z] [2022-05-06T13:35:55.626Z] Login Succeeded [2022-05-06T13:35:55.626Z] nexus3.edgexfoundry.org:10002 [2022-05-06T13:35:55.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:35:55.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:35:55.886Z] Configure a credential helper to remove this warning. See [2022-05-06T13:35:55.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:35:55.886Z] [2022-05-06T13:35:55.886Z] Login Succeeded [2022-05-06T13:35:55.886Z] nexus3.edgexfoundry.org:10003 [2022-05-06T13:35:55.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:35:55.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:35:55.886Z] Configure a credential helper to remove this warning. See [2022-05-06T13:35:55.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:35:55.886Z] [2022-05-06T13:35:55.886Z] Login Succeeded [2022-05-06T13:35:55.886Z] nexus3.edgexfoundry.org:10004 [2022-05-06T13:35:55.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:35:56.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:35:56.145Z] Configure a credential helper to remove this warning. See [2022-05-06T13:35:56.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:35:56.145Z] [2022-05-06T13:35:56.145Z] Login Succeeded [2022-05-06T13:35:56.145Z] docker.io [2022-05-06T13:35:56.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:35:56.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:35:56.406Z] Configure a credential helper to remove this warning. See [2022-05-06T13:35:56.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:35:56.406Z] [2022-05-06T13:35:56.406Z] Login Succeeded [2022-05-06T13:35:56.406Z] ---> docker-login.sh ends [Pipeline] } [2022-05-06T13:35:56.414Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-06T13:35:56.452Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-06T13:35:56.477Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-05-06T13:35:56.477Z] d7023bcda15e937cec539ef29d6768596b85ffc4 [2022-05-06T13:35:56.477Z] latest [2022-05-06T13:35:56.477Z] 2.2.0-dev.16 [2022-05-06T13:35:56.477Z] d7023bcda15e937cec539ef29d6768596b85ffc4-2.2.0-dev.16 [2022-05-06T13:35:56.477Z] main [2022-05-06T13:35:56.477Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:35:56.804Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d7023bcda15e937cec539ef29d6768596b85ffc4 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:35:57.098Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:d7023bcda15e937cec539ef29d6768596b85ffc4 [2022-05-06T13:35:57.098Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-06T13:35:57.098Z] eb992484e37c: Preparing [2022-05-06T13:35:57.098Z] 9b9a4ced9729: Preparing [2022-05-06T13:35:57.098Z] d075b63e5fcc: Preparing [2022-05-06T13:35:57.098Z] f506f55b72c7: Preparing [2022-05-06T13:35:57.098Z] 8cb51a5b01c3: Preparing [2022-05-06T13:35:57.098Z] b541d28bf3b4: Preparing [2022-05-06T13:35:57.098Z] b541d28bf3b4: Waiting [2022-05-06T13:35:57.098Z] 8cb51a5b01c3: Pushed [2022-05-06T13:35:57.098Z] eb992484e37c: Pushed [2022-05-06T13:35:57.098Z] 9b9a4ced9729: Pushed [2022-05-06T13:35:57.098Z] b541d28bf3b4: Layer already exists [2022-05-06T13:35:57.360Z] f506f55b72c7: Pushed [2022-05-06T13:35:59.901Z] d075b63e5fcc: Pushed [2022-05-06T13:35:59.901Z] d7023bcda15e937cec539ef29d6768596b85ffc4: digest: sha256:363f9ec74b7bad6e1841cb6a6b41345681027afe4a56fd6cef8dfc3317e35b54 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:36:00.201Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:36:00.491Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-05-06T13:36:00.492Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-06T13:36:00.492Z] eb992484e37c: Preparing [2022-05-06T13:36:00.492Z] 9b9a4ced9729: Preparing [2022-05-06T13:36:00.492Z] d075b63e5fcc: Preparing [2022-05-06T13:36:00.492Z] f506f55b72c7: Preparing [2022-05-06T13:36:00.492Z] 8cb51a5b01c3: Preparing [2022-05-06T13:36:00.492Z] b541d28bf3b4: Preparing [2022-05-06T13:36:00.492Z] b541d28bf3b4: Waiting [2022-05-06T13:36:00.492Z] d075b63e5fcc: Layer already exists [2022-05-06T13:36:00.492Z] eb992484e37c: Layer already exists [2022-05-06T13:36:00.492Z] 9b9a4ced9729: Layer already exists [2022-05-06T13:36:00.492Z] f506f55b72c7: Layer already exists [2022-05-06T13:36:00.492Z] 8cb51a5b01c3: Layer already exists [2022-05-06T13:36:00.492Z] b541d28bf3b4: Layer already exists [2022-05-06T13:36:00.492Z] latest: digest: sha256:363f9ec74b7bad6e1841cb6a6b41345681027afe4a56fd6cef8dfc3317e35b54 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:36:00.842Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:36:01.130Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.16 [2022-05-06T13:36:01.130Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-06T13:36:01.130Z] eb992484e37c: Preparing [2022-05-06T13:36:01.130Z] 9b9a4ced9729: Preparing [2022-05-06T13:36:01.130Z] d075b63e5fcc: Preparing [2022-05-06T13:36:01.130Z] f506f55b72c7: Preparing [2022-05-06T13:36:01.130Z] 8cb51a5b01c3: Preparing [2022-05-06T13:36:01.130Z] b541d28bf3b4: Preparing [2022-05-06T13:36:01.130Z] b541d28bf3b4: Waiting [2022-05-06T13:36:01.130Z] 9b9a4ced9729: Layer already exists [2022-05-06T13:36:01.130Z] f506f55b72c7: Layer already exists [2022-05-06T13:36:01.130Z] d075b63e5fcc: Layer already exists [2022-05-06T13:36:01.130Z] 8cb51a5b01c3: Layer already exists [2022-05-06T13:36:01.130Z] eb992484e37c: Layer already exists [2022-05-06T13:36:01.130Z] b541d28bf3b4: Layer already exists [2022-05-06T13:36:01.130Z] 2.2.0-dev.16: digest: sha256:363f9ec74b7bad6e1841cb6a6b41345681027afe4a56fd6cef8dfc3317e35b54 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:36:01.459Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d7023bcda15e937cec539ef29d6768596b85ffc4-2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:36:01.750Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:d7023bcda15e937cec539ef29d6768596b85ffc4-2.2.0-dev.16 [2022-05-06T13:36:01.750Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-06T13:36:01.750Z] eb992484e37c: Preparing [2022-05-06T13:36:01.750Z] 9b9a4ced9729: Preparing [2022-05-06T13:36:01.750Z] d075b63e5fcc: Preparing [2022-05-06T13:36:01.750Z] f506f55b72c7: Preparing [2022-05-06T13:36:01.750Z] 8cb51a5b01c3: Preparing [2022-05-06T13:36:01.750Z] b541d28bf3b4: Preparing [2022-05-06T13:36:01.750Z] b541d28bf3b4: Waiting [2022-05-06T13:36:01.750Z] f506f55b72c7: Layer already exists [2022-05-06T13:36:01.750Z] d075b63e5fcc: Layer already exists [2022-05-06T13:36:01.750Z] 9b9a4ced9729: Layer already exists [2022-05-06T13:36:01.750Z] 8cb51a5b01c3: Layer already exists [2022-05-06T13:36:01.750Z] eb992484e37c: Layer already exists [2022-05-06T13:36:01.750Z] b541d28bf3b4: Layer already exists [2022-05-06T13:36:01.750Z] d7023bcda15e937cec539ef29d6768596b85ffc4-2.2.0-dev.16: digest: sha256:363f9ec74b7bad6e1841cb6a6b41345681027afe4a56fd6cef8dfc3317e35b54 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:36:02.055Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:36:02.352Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-05-06T13:36:02.352Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-06T13:36:02.352Z] eb992484e37c: Preparing [2022-05-06T13:36:02.352Z] 9b9a4ced9729: Preparing [2022-05-06T13:36:02.352Z] d075b63e5fcc: Preparing [2022-05-06T13:36:02.352Z] f506f55b72c7: Preparing [2022-05-06T13:36:02.352Z] 8cb51a5b01c3: Preparing [2022-05-06T13:36:02.352Z] b541d28bf3b4: Preparing [2022-05-06T13:36:02.352Z] b541d28bf3b4: Waiting [2022-05-06T13:36:02.352Z] 9b9a4ced9729: Layer already exists [2022-05-06T13:36:02.352Z] eb992484e37c: Layer already exists [2022-05-06T13:36:02.352Z] d075b63e5fcc: Layer already exists [2022-05-06T13:36:02.352Z] 8cb51a5b01c3: Layer already exists [2022-05-06T13:36:02.352Z] f506f55b72c7: Layer already exists [2022-05-06T13:36:02.352Z] b541d28bf3b4: Layer already exists [2022-05-06T13:36:02.352Z] main: digest: sha256:363f9ec74b7bad6e1841cb6a6b41345681027afe4a56fd6cef8dfc3317e35b54 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-06T13:36:02.389Z] ===================================================== [Pipeline] echo [2022-05-06T13:36:02.398Z] taggedImages: [2022-05-06T13:36:02.398Z] - nexus3.edgexfoundry.org:10004/device-modbus:d7023bcda15e937cec539ef29d6768596b85ffc4 [2022-05-06T13:36:02.398Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-05-06T13:36:02.398Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.16 [2022-05-06T13:36:02.398Z] - nexus3.edgexfoundry.org:10004/device-modbus:d7023bcda15e937cec539ef29d6768596b85ffc4-2.2.0-dev.16 [2022-05-06T13:36:02.398Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:36:02.770Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-06T13:36:02.770Z] [2022-05-06T13:36:02.770Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:36:03.086Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-06T13:36:03.086Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-06T13:36:03.086Z] 5eb5b503b376: Pulling fs layer [2022-05-06T13:36:03.086Z] 5c69ac0246d0: Pulling fs layer [2022-05-06T13:36:03.086Z] ec43610c2a17: Pulling fs layer [2022-05-06T13:36:03.086Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-06T13:36:03.086Z] 33b1e0a273af: Pulling fs layer [2022-05-06T13:36:03.086Z] 5d3b04190fa2: Pulling fs layer [2022-05-06T13:36:03.086Z] 2f39f015ded8: Pulling fs layer [2022-05-06T13:36:03.086Z] 3a2ae6a8a46f: Waiting [2022-05-06T13:36:03.086Z] 33b1e0a273af: Waiting [2022-05-06T13:36:03.086Z] 5d3b04190fa2: Waiting [2022-05-06T13:36:03.086Z] 2f39f015ded8: Waiting [2022-05-06T13:36:03.086Z] 5c69ac0246d0: Download complete [2022-05-06T13:36:03.086Z] 3a2ae6a8a46f: Download complete [2022-05-06T13:36:03.086Z] 33b1e0a273af: Verifying Checksum [2022-05-06T13:36:03.086Z] 33b1e0a273af: Download complete [2022-05-06T13:36:03.087Z] 5d3b04190fa2: Verifying Checksum [2022-05-06T13:36:03.087Z] 5d3b04190fa2: Download complete [2022-05-06T13:36:03.347Z] ec43610c2a17: Verifying Checksum [2022-05-06T13:36:03.347Z] 5eb5b503b376: Verifying Checksum [2022-05-06T13:36:03.347Z] 5eb5b503b376: Download complete [2022-05-06T13:36:03.914Z] 2f39f015ded8: Download complete [2022-05-06T13:36:04.481Z] 5eb5b503b376: Pull complete [2022-05-06T13:36:04.739Z] 5c69ac0246d0: Pull complete [2022-05-06T13:36:04.997Z] ec43610c2a17: Pull complete [2022-05-06T13:36:04.997Z] 3a2ae6a8a46f: Pull complete [2022-05-06T13:36:05.258Z] 33b1e0a273af: Pull complete [2022-05-06T13:36:05.258Z] 5d3b04190fa2: Pull complete [2022-05-06T13:36:09.448Z] 2f39f015ded8: Pull complete [2022-05-06T13:36:09.448Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-06T13:36:09.448Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-06T13:36:09.448Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-06T13:36:09.574Z] prd-ubuntu20.04-docker-8c-8g-41052 does not seem to be running inside a container [2022-05-06T13:36:09.634Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-06T13:36:11.115Z] $ docker top 9dbc10a3286380667577b967789fb214b52a3de0eee45d71f5f0d72c84cd63d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:36:11.251Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-41057 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-05-06T13:36:11.266Z] Running in /w/workspace/device-modbus-go/34 [Pipeline] { [Pipeline] checkout [2022-05-06T13:36:11.507Z] ---> job-cost.sh [2022-05-06T13:36:11.507Z] lf-activate-venv: SKIPPING [2022-05-06T13:36:11.507Z] INFO: No Stack... [2022-05-06T13:36:11.742Z] Selected Git installation does not exist. Using Default [2022-05-06T13:36:11.742Z] The recommended git tool is: NONE [2022-05-06T13:36:11.766Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-06T13:36:12.336Z] INFO: Archiving Costs [Pipeline] sh [2022-05-06T13:36:12.629Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-05-06T13:36:12.630Z] + cut -d, -f6 [Pipeline] lock [2022-05-06T13:36:12.648Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-34-stack-cost] [2022-05-06T13:36:12.655Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-34-stack-cost] did not exist. Created. [2022-05-06T13:36:12.655Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-06T13:36:12.961Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-06T13:36:12.995Z] Stashed 1 file(s) [Pipeline] } [2022-05-06T13:36:13.003Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-34-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-06T13:36:13.027Z] $ docker stop --time=1 9dbc10a3286380667577b967789fb214b52a3de0eee45d71f5f0d72c84cd63d2 [2022-05-06T13:36:14.180Z] $ docker rm -f 9dbc10a3286380667577b967789fb214b52a3de0eee45d71f5f0d72c84cd63d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-06T13:36:19.192Z] using credential edgex-jenkins-ssh [2022-05-06T13:36:19.210Z] Cloning the remote Git repository [2022-05-06T13:36:19.289Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-05-06T13:36:19.383Z] > git init /w/workspace/device-modbus-go/34 # timeout=10 [2022-05-06T13:36:19.487Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-05-06T13:36:19.488Z] > git --version # timeout=10 [2022-05-06T13:36:19.605Z] > git --version # 'git version 2.25.1' [2022-05-06T13:36:19.607Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-06T13:36:19.751Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-06T13:36:21.027Z] Avoid second fetch [2022-05-06T13:36:21.027Z] Checking out Revision d7023bcda15e937cec539ef29d6768596b85ffc4 (main) [2022-05-06T13:36:20.985Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-05-06T13:36:21.013Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-06T13:36:21.063Z] > git config core.sparsecheckout # timeout=10 [2022-05-06T13:36:21.084Z] > git checkout -f d7023bcda15e937cec539ef29d6768596b85ffc4 # timeout=10 [2022-05-06T13:36:25.646Z] Commit message: "docs(snap): Move usage instructions to docs (#342)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-06T13:36:26.561Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-06T13:36:26.561Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-06T13:36:26.561Z] Dload Upload Total Spent Left Speed [2022-05-06T13:36:26.561Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh [2022-05-06T13:36:27.195Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-06T13:36:27.553Z] + + sudo tee /etc/docker/daemon.new [2022-05-06T13:36:27.553Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-06T13:36:27.553Z] { [2022-05-06T13:36:27.553Z] "registry-mirrors": [ [2022-05-06T13:36:27.553Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-06T13:36:27.553Z] ], [2022-05-06T13:36:27.553Z] "bip": "10.250.0.254/24", [2022-05-06T13:36:27.553Z] "hosts": [ [2022-05-06T13:36:27.553Z] "tcp://0.0.0.0:5555", [2022-05-06T13:36:27.553Z] "unix:///var/run/docker.sock" [2022-05-06T13:36:27.553Z] ], [2022-05-06T13:36:27.553Z] "mtu": 1458, [2022-05-06T13:36:27.553Z] "selinux-enabled": true, [2022-05-06T13:36:27.553Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-06T13:36:27.553Z] } [Pipeline] sh [2022-05-06T13:36:27.928Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-06T13:36:28.296Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-06T13:36:46.695Z] provisioning config files... [2022-05-06T13:36:46.726Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/34@tmp/config112704476246546429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:36:47.127Z] ---> docker-login.sh [2022-05-06T13:36:47.127Z] nexus3.edgexfoundry.org:10001 [2022-05-06T13:36:47.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:36:48.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:36:48.335Z] Configure a credential helper to remove this warning. See [2022-05-06T13:36:48.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:36:48.335Z] [2022-05-06T13:36:48.335Z] Login Succeeded [2022-05-06T13:36:48.335Z] nexus3.edgexfoundry.org:10002 [2022-05-06T13:36:48.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:36:48.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:36:48.614Z] Configure a credential helper to remove this warning. See [2022-05-06T13:36:48.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:36:48.614Z] [2022-05-06T13:36:48.614Z] Login Succeeded [2022-05-06T13:36:48.614Z] nexus3.edgexfoundry.org:10003 [2022-05-06T13:36:49.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:36:49.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:36:49.289Z] Configure a credential helper to remove this warning. See [2022-05-06T13:36:49.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:36:49.289Z] [2022-05-06T13:36:49.289Z] Login Succeeded [2022-05-06T13:36:49.289Z] nexus3.edgexfoundry.org:10004 [2022-05-06T13:36:49.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:36:49.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:36:49.842Z] Configure a credential helper to remove this warning. See [2022-05-06T13:36:49.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:36:49.842Z] [2022-05-06T13:36:49.842Z] Login Succeeded [2022-05-06T13:36:49.842Z] docker.io [2022-05-06T13:36:50.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:36:50.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:36:50.714Z] Configure a credential helper to remove this warning. See [2022-05-06T13:36:50.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:36:50.714Z] [2022-05-06T13:36:50.714Z] Login Succeeded [2022-05-06T13:36:50.714Z] ---> docker-login.sh ends [Pipeline] } [2022-05-06T13:36:50.733Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-06T13:36:51.203Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-06T13:36:51.217Z] ========================================================= [2022-05-06T13:36:51.217Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-06T13:36:51.217Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:36:51.580Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-06T13:36:51.856Z] Sending build context to Docker daemon 3.055MB [2022-05-06T13:36:52.135Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-06T13:36:52.135Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-06T13:36:52.135Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-06T13:36:52.135Z] 9b3977197b4f: Pulling fs layer [2022-05-06T13:36:52.135Z] 1a89e8eeedd5: Pulling fs layer [2022-05-06T13:36:52.135Z] 94645a83ff95: Pulling fs layer [2022-05-06T13:36:52.135Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-06T13:36:52.135Z] 0c92f367c5e7: Pulling fs layer [2022-05-06T13:36:52.135Z] 3096ccb668a1: Pulling fs layer [2022-05-06T13:36:52.135Z] e8cf19c19ddd: Pulling fs layer [2022-05-06T13:36:52.135Z] a4caa8a26152: Pulling fs layer [2022-05-06T13:36:52.135Z] 0c92f367c5e7: Waiting [2022-05-06T13:36:52.135Z] 3096ccb668a1: Waiting [2022-05-06T13:36:52.135Z] e8cf19c19ddd: Waiting [2022-05-06T13:36:52.135Z] a4caa8a26152: Waiting [2022-05-06T13:36:52.135Z] 3f3a8bcf1eab: Waiting [2022-05-06T13:36:52.135Z] 94645a83ff95: Verifying Checksum [2022-05-06T13:36:52.135Z] 94645a83ff95: Download complete [2022-05-06T13:36:52.135Z] 1a89e8eeedd5: Verifying Checksum [2022-05-06T13:36:52.135Z] 1a89e8eeedd5: Download complete [2022-05-06T13:36:52.135Z] 0c92f367c5e7: Verifying Checksum [2022-05-06T13:36:52.135Z] 0c92f367c5e7: Download complete [2022-05-06T13:36:52.412Z] 3096ccb668a1: Download complete [2022-05-06T13:36:52.412Z] 9b3977197b4f: Verifying Checksum [2022-05-06T13:36:52.412Z] 9b3977197b4f: Download complete [2022-05-06T13:36:52.412Z] e8cf19c19ddd: Verifying Checksum [2022-05-06T13:36:52.412Z] e8cf19c19ddd: Download complete [2022-05-06T13:36:53.014Z] 9b3977197b4f: Pull complete [2022-05-06T13:36:53.624Z] 1a89e8eeedd5: Pull complete [2022-05-06T13:36:54.232Z] 94645a83ff95: Pull complete [2022-05-06T13:36:54.506Z] a4caa8a26152: Verifying Checksum [2022-05-06T13:36:54.506Z] a4caa8a26152: Download complete [2022-05-06T13:36:55.106Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-06T13:36:55.106Z] 3f3a8bcf1eab: Download complete [2022-05-06T13:37:10.253Z] 3f3a8bcf1eab: Pull complete [2022-05-06T13:37:10.253Z] 0c92f367c5e7: Pull complete [2022-05-06T13:37:10.253Z] 3096ccb668a1: Pull complete [2022-05-06T13:37:10.253Z] e8cf19c19ddd: Pull complete [2022-05-06T13:37:15.730Z] a4caa8a26152: Pull complete [2022-05-06T13:37:15.730Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-06T13:37:15.730Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-06T13:37:15.730Z] ---> 725f1c02e7f9 [2022-05-06T13:37:15.730Z] Step 3/10 : ARG MAKE='make build' [2022-05-06T13:37:16.750Z] ---> Running in 2b6db7901332 [2022-05-06T13:37:17.356Z] Removing intermediate container 2b6db7901332 [2022-05-06T13:37:17.356Z] ---> 83c8fb289b0e [2022-05-06T13:37:17.356Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-06T13:37:17.356Z] ---> Running in 8a1442962e3a [2022-05-06T13:37:20.790Z] Removing intermediate container 8a1442962e3a [2022-05-06T13:37:20.790Z] ---> bf2023f71dee [2022-05-06T13:37:20.790Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-06T13:37:20.790Z] ---> Running in 2ea4a25097dc [2022-05-06T13:37:21.790Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-06T13:37:22.772Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-06T13:37:23.759Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-06T13:37:24.038Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-06T13:37:24.038Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-06T13:37:24.314Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-06T13:37:24.314Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-06T13:37:24.588Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-06T13:37:24.588Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-05-06T13:37:24.588Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-06T13:37:24.867Z] Executing busybox-1.34.1-r3.trigger [2022-05-06T13:37:24.867Z] OK: 226 MiB in 60 packages [2022-05-06T13:37:25.866Z] Removing intermediate container 2ea4a25097dc [2022-05-06T13:37:25.866Z] ---> 3bcac719a26b [2022-05-06T13:37:25.866Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-06T13:37:26.143Z] ---> Running in 21a16591a8c5 [2022-05-06T13:37:26.422Z] Removing intermediate container 21a16591a8c5 [2022-05-06T13:37:26.422Z] ---> 2a2edb9dc509 [2022-05-06T13:37:26.422Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-06T13:37:27.045Z] ---> b4324af9bb8d [2022-05-06T13:37:27.045Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-06T13:37:27.325Z] ---> Running in 08f83f808690 [2022-05-06T13:38:14.384Z] Removing intermediate container 08f83f808690 [2022-05-06T13:38:14.384Z] ---> dd42c9d642c6 [2022-05-06T13:38:14.384Z] Step 9/10 : COPY . . [2022-05-06T13:38:14.675Z] ---> 0e3a1223469a [2022-05-06T13:38:14.675Z] Step 10/10 : RUN ${MAKE} [2022-05-06T13:38:14.958Z] ---> Running in ad2d32893195 [2022-05-06T13:38:15.954Z] noop [2022-05-06T13:38:16.567Z] Removing intermediate container ad2d32893195 [2022-05-06T13:38:16.567Z] ---> 2da79162d8ce [2022-05-06T13:38:16.567Z] Successfully built 2da79162d8ce [2022-05-06T13:38:16.567Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:38:17.209Z] + docker inspect -f . ci-base-image-arm64 [2022-05-06T13:38:17.209Z] . [Pipeline] withDockerContainer [2022-05-06T13:38:17.488Z] prd-ubuntu20.04-docker-arm64-4c-16g-41057 does not seem to be running inside a container [2022-05-06T13:38:17.608Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/34 -v /w/workspace/device-modbus-go/34:/w/workspace/device-modbus-go/34:rw,z -v /w/workspace/device-modbus-go/34@tmp:/w/workspace/device-modbus-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-06T13:38:19.121Z] $ docker top 9bc899fde50e72eb520d635110be39336826aeec6d5f30bfdd500da3691ba714 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-06T13:38:20.121Z] + go version [2022-05-06T13:38:20.121Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-06T13:38:20.162Z] $ docker stop --time=1 9bc899fde50e72eb520d635110be39336826aeec6d5f30bfdd500da3691ba714 [2022-05-06T13:38:21.878Z] $ docker rm -f 9bc899fde50e72eb520d635110be39336826aeec6d5f30bfdd500da3691ba714 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:38:22.544Z] + docker inspect -f . ci-base-image-arm64 [2022-05-06T13:38:22.545Z] . [Pipeline] withDockerContainer [2022-05-06T13:38:22.840Z] prd-ubuntu20.04-docker-arm64-4c-16g-41057 does not seem to be running inside a container [2022-05-06T13:38:22.961Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/34 -v /w/workspace/device-modbus-go/34:/w/workspace/device-modbus-go/34:rw,z -v /w/workspace/device-modbus-go/34@tmp:/w/workspace/device-modbus-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-06T13:38:24.471Z] $ docker top a7c78f8674d6a32f24532260518dd402e8b7784b44704dc98906b5125f8d9ebf -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-06T13:38:25.495Z] + make test [2022-05-06T13:38:25.495Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-06T13:38:27.503Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-06T13:40:19.564Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-06T13:40:19.564Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.070s coverage: 46.4% of statements [2022-05-06T13:40:19.564Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-06T13:40:19.564Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-06T13:40:41.815Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-06T13:40:41.815Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-06T13:40:41.815Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-06T13:40:42.824Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-06T13:40:42.856Z] $ docker stop --time=1 a7c78f8674d6a32f24532260518dd402e8b7784b44704dc98906b5125f8d9ebf [2022-05-06T13:40:44.767Z] $ docker rm -f a7c78f8674d6a32f24532260518dd402e8b7784b44704dc98906b5125f8d9ebf [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-06T13:40:45.876Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-06T13:40:45.899Z] Warning: overwriting stash ‘coverage-report’ [2022-05-06T13:40:46.540Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-06T13:40:46.942Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-06T13:40:47.293Z] + ls -al . [2022-05-06T13:40:47.293Z] total 176 [2022-05-06T13:40:47.293Z] drwxrwxr-x 9 jenkins jenkins 4096 May 6 13:40 . [2022-05-06T13:40:47.293Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 13:36 .. [2022-05-06T13:40:47.293Z] -rw-rw-r-- 1 jenkins jenkins 140 May 6 13:36 .dockerignore [2022-05-06T13:40:47.293Z] drwxrwxr-x 8 jenkins jenkins 4096 May 6 13:36 .git [2022-05-06T13:40:47.293Z] drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:36 .github [2022-05-06T13:40:47.293Z] -rw-rw-r-- 1 jenkins jenkins 331 May 6 13:36 .gitignore [2022-05-06T13:40:47.293Z] -rw-rw-r-- 1 jenkins jenkins 41 May 6 13:36 .golangci.yml [2022-05-06T13:40:47.293Z] -rw-rw-r-- 1 jenkins jenkins 9377 May 6 13:36 Attribution.txt [2022-05-06T13:40:47.293Z] -rw-rw-r-- 1 jenkins jenkins 6038 May 6 13:36 CHANGELOG.md [2022-05-06T13:40:47.294Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 6 13:36 Dockerfile [2022-05-06T13:40:47.294Z] -rw-rw-r-- 1 jenkins jenkins 677 May 6 13:36 GOVERNANCE.md [2022-05-06T13:40:47.294Z] -rw-rw-r-- 1 jenkins jenkins 680 May 6 13:36 Jenkinsfile [2022-05-06T13:40:47.294Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 6 13:36 LICENSE [2022-05-06T13:40:47.294Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 6 13:36 Makefile [2022-05-06T13:40:47.294Z] -rw-rw-r-- 1 jenkins jenkins 622 May 6 13:36 OWNERS.md [2022-05-06T13:40:47.294Z] -rw-rw-r-- 1 jenkins jenkins 3397 May 6 13:36 README.md [2022-05-06T13:40:47.294Z] -rw-rw-r-- 1 jenkins jenkins 12 May 6 13:34 VERSION [2022-05-06T13:40:47.294Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 13:36 bin [2022-05-06T13:40:47.294Z] drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:36 cmd [2022-05-06T13:40:47.294Z] -rw-r--r-- 1 jenkins jenkins 24065 May 6 13:40 coverage.out [2022-05-06T13:40:47.294Z] -rw-rw-r-- 1 jenkins jenkins 3399 May 6 13:36 go.mod [2022-05-06T13:40:47.294Z] -rw-rw-r-- 1 jenkins jenkins 35440 May 6 13:36 go.sum [2022-05-06T13:40:47.294Z] drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:36 internal [2022-05-06T13:40:47.294Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 13:36 simulator [2022-05-06T13:40:47.294Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 13:36 snap [2022-05-06T13:40:47.294Z] -rw-rw-r-- 1 jenkins jenkins 229 May 6 13:36 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:40:47.652Z] + 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=d7023bcda15e937cec539ef29d6768596b85ffc4 --label arch=arm64 --label version=2.2.0-dev.16 . [2022-05-06T13:40:47.931Z] Sending build context to Docker daemon 3.08MB [2022-05-06T13:40:48.207Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-06T13:40:48.207Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-06T13:40:48.207Z] ---> 2da79162d8ce [2022-05-06T13:40:48.207Z] Step 3/23 : ARG MAKE='make build' [2022-05-06T13:40:48.207Z] ---> Running in ea35eac3d8f1 [2022-05-06T13:40:48.489Z] Removing intermediate container ea35eac3d8f1 [2022-05-06T13:40:48.489Z] ---> cb60d2595c15 [2022-05-06T13:40:48.489Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-06T13:40:48.768Z] ---> Running in b55ff8a9efb6 [2022-05-06T13:40:50.761Z] Removing intermediate container b55ff8a9efb6 [2022-05-06T13:40:50.761Z] ---> 6e66e7cf1a1c [2022-05-06T13:40:50.761Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-06T13:40:50.761Z] ---> Running in cc1e11dd287b [2022-05-06T13:40:51.752Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-06T13:40:52.738Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-06T13:40:54.209Z] OK: 226 MiB in 60 packages [2022-05-06T13:40:54.813Z] Removing intermediate container cc1e11dd287b [2022-05-06T13:40:54.813Z] ---> 376b7debef07 [2022-05-06T13:40:54.813Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-06T13:40:54.813Z] ---> Running in f196a67b5636 [2022-05-06T13:40:55.418Z] Removing intermediate container f196a67b5636 [2022-05-06T13:40:55.418Z] ---> f3c94d723cd5 [2022-05-06T13:40:55.418Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-06T13:40:56.022Z] ---> a25c5dc6ff08 [2022-05-06T13:40:56.022Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-06T13:40:56.022Z] ---> Running in cd90d61a6958 [2022-05-06T13:40:58.022Z] Removing intermediate container cd90d61a6958 [2022-05-06T13:40:58.022Z] ---> c1a09e62ceae [2022-05-06T13:40:58.022Z] Step 9/23 : COPY . . [2022-05-06T13:40:59.016Z] ---> e008f607ad7f [2022-05-06T13:40:59.016Z] Step 10/23 : RUN ${MAKE} [2022-05-06T13:40:59.310Z] ---> Running in 302ad3283b64 [2022-05-06T13:41:00.308Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-05-06T13:43:22.292Z] Removing intermediate container 302ad3283b64 [2022-05-06T13:43:22.292Z] ---> 553ad43322af [2022-05-06T13:43:22.292Z] Step 11/23 : FROM alpine:3.14 [2022-05-06T13:43:22.292Z] 3.14: Pulling from library/alpine [2022-05-06T13:43:22.292Z] 455c02918c45: Pulling fs layer [2022-05-06T13:43:22.292Z] 455c02918c45: Verifying Checksum [2022-05-06T13:43:22.292Z] 455c02918c45: Download complete [2022-05-06T13:43:22.566Z] 455c02918c45: Pull complete [2022-05-06T13:43:22.566Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-06T13:43:22.566Z] Status: Downloaded newer image for alpine:3.14 [2022-05-06T13:43:22.566Z] ---> ac73e934f311 [2022-05-06T13:43:22.566Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-06T13:43:22.843Z] ---> Running in 455d85bcbe03 [2022-05-06T13:43:23.122Z] Removing intermediate container 455d85bcbe03 [2022-05-06T13:43:23.122Z] ---> f36bf182ace3 [2022-05-06T13:43:23.122Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-06T13:43:23.122Z] ---> Running in 74f72dba4e82 [2022-05-06T13:43:25.124Z] Removing intermediate container 74f72dba4e82 [2022-05-06T13:43:25.124Z] ---> 06ab020ccdaf [2022-05-06T13:43:25.124Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-06T13:43:25.124Z] ---> Running in 0b67b376562b [2022-05-06T13:43:26.122Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-06T13:43:27.104Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-06T13:43:27.701Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-06T13:43:27.701Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-06T13:43:27.975Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-06T13:43:27.975Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-06T13:43:28.255Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-06T13:43:28.255Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-06T13:43:28.255Z] Executing busybox-1.33.1-r7.trigger [2022-05-06T13:43:28.255Z] OK: 8 MiB in 20 packages [2022-05-06T13:43:29.236Z] Removing intermediate container 0b67b376562b [2022-05-06T13:43:29.236Z] ---> 1bdc1a6fb34c [2022-05-06T13:43:29.236Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-06T13:43:31.224Z] ---> e7bb82dcf6cc [2022-05-06T13:43:31.224Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-06T13:43:31.501Z] ---> 0b98b969885f [2022-05-06T13:43:31.501Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-06T13:43:32.103Z] ---> 9ff9c284b559 [2022-05-06T13:43:32.103Z] Step 18/23 : EXPOSE 59901 [2022-05-06T13:43:32.103Z] ---> Running in 59b7ccb9ef5c [2022-05-06T13:43:32.388Z] Removing intermediate container 59b7ccb9ef5c [2022-05-06T13:43:32.388Z] ---> 474528dcb5ef [2022-05-06T13:43:32.388Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-06T13:43:32.669Z] ---> Running in 09d63dfaf1b8 [2022-05-06T13:43:32.944Z] Removing intermediate container 09d63dfaf1b8 [2022-05-06T13:43:32.944Z] ---> 68001e184b8c [2022-05-06T13:43:32.944Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-06T13:43:32.944Z] ---> Running in 2540a35241c6 [2022-05-06T13:43:33.232Z] Removing intermediate container 2540a35241c6 [2022-05-06T13:43:33.232Z] ---> 2988af568f28 [2022-05-06T13:43:33.232Z] Step 21/23 : LABEL arch=arm64 [2022-05-06T13:43:33.508Z] ---> Running in 42b6e0c8d3d8 [2022-05-06T13:43:33.784Z] Removing intermediate container 42b6e0c8d3d8 [2022-05-06T13:43:33.784Z] ---> a1d20ab7410a [2022-05-06T13:43:33.784Z] Step 22/23 : LABEL git_sha=d7023bcda15e937cec539ef29d6768596b85ffc4 [2022-05-06T13:43:33.784Z] ---> Running in 1e65941b677d [2022-05-06T13:43:34.063Z] Removing intermediate container 1e65941b677d [2022-05-06T13:43:34.063Z] ---> 5829438716a1 [2022-05-06T13:43:34.063Z] Step 23/23 : LABEL version=2.2.0-dev.16 [2022-05-06T13:43:34.338Z] ---> Running in a12c40069b26 [2022-05-06T13:43:34.610Z] Removing intermediate container a12c40069b26 [2022-05-06T13:43:34.610Z] ---> 5335081598ba [2022-05-06T13:43:34.610Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-06T13:43:34.610Z] Successfully built 5335081598ba [2022-05-06T13:43:34.610Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-06T13:43:34.699Z] provisioning config files... [2022-05-06T13:43:34.720Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/34@tmp/config6385247716709159503tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:43:35.083Z] ---> docker-login.sh [2022-05-06T13:43:35.083Z] nexus3.edgexfoundry.org:10001 [2022-05-06T13:43:35.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:43:35.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:43:35.358Z] Configure a credential helper to remove this warning. See [2022-05-06T13:43:35.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:43:35.358Z] [2022-05-06T13:43:35.358Z] Login Succeeded [2022-05-06T13:43:35.358Z] nexus3.edgexfoundry.org:10002 [2022-05-06T13:43:35.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:43:35.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:43:35.957Z] Configure a credential helper to remove this warning. See [2022-05-06T13:43:35.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:43:35.957Z] [2022-05-06T13:43:35.957Z] Login Succeeded [2022-05-06T13:43:35.957Z] nexus3.edgexfoundry.org:10003 [2022-05-06T13:43:36.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:43:36.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:43:36.518Z] Configure a credential helper to remove this warning. See [2022-05-06T13:43:36.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:43:36.518Z] [2022-05-06T13:43:36.518Z] Login Succeeded [2022-05-06T13:43:36.518Z] nexus3.edgexfoundry.org:10004 [2022-05-06T13:43:36.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:43:37.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:43:37.070Z] Configure a credential helper to remove this warning. See [2022-05-06T13:43:37.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:43:37.070Z] [2022-05-06T13:43:37.070Z] Login Succeeded [2022-05-06T13:43:37.070Z] docker.io [2022-05-06T13:43:37.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:43:37.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:43:37.947Z] Configure a credential helper to remove this warning. See [2022-05-06T13:43:37.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:43:37.947Z] [2022-05-06T13:43:37.947Z] Login Succeeded [2022-05-06T13:43:37.947Z] ---> docker-login.sh ends [Pipeline] } [2022-05-06T13:43:37.966Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-06T13:43:38.000Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-06T13:43:38.021Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-05-06T13:43:38.021Z] d7023bcda15e937cec539ef29d6768596b85ffc4 [2022-05-06T13:43:38.021Z] latest [2022-05-06T13:43:38.021Z] 2.2.0-dev.16 [2022-05-06T13:43:38.021Z] d7023bcda15e937cec539ef29d6768596b85ffc4-2.2.0-dev.16 [2022-05-06T13:43:38.021Z] main [2022-05-06T13:43:38.021Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:43:38.394Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d7023bcda15e937cec539ef29d6768596b85ffc4 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:43:38.757Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d7023bcda15e937cec539ef29d6768596b85ffc4 [2022-05-06T13:43:38.757Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-06T13:43:38.757Z] e052c05ec85b: Preparing [2022-05-06T13:43:38.757Z] d9b209a2c189: Preparing [2022-05-06T13:43:38.757Z] e2a3aec32458: Preparing [2022-05-06T13:43:38.757Z] 0e05da470fcc: Preparing [2022-05-06T13:43:38.757Z] 8f75f2090601: Preparing [2022-05-06T13:43:38.757Z] f73e7dbfee58: Preparing [2022-05-06T13:43:38.757Z] f73e7dbfee58: Waiting [2022-05-06T13:43:39.034Z] d9b209a2c189: Pushed [2022-05-06T13:43:39.034Z] 8f75f2090601: Pushed [2022-05-06T13:43:39.034Z] e052c05ec85b: Pushed [2022-05-06T13:43:39.034Z] f73e7dbfee58: Layer already exists [2022-05-06T13:43:39.634Z] 0e05da470fcc: Pushed [2022-05-06T13:43:45.030Z] e2a3aec32458: Pushed [2022-05-06T13:43:45.030Z] d7023bcda15e937cec539ef29d6768596b85ffc4: digest: sha256:146ca58582a8d6112fbe4adb79fd9b525effc62b8059386f26d1cff15c8bddb8 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:43:45.383Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:43:45.726Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-05-06T13:43:45.726Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-06T13:43:45.726Z] e052c05ec85b: Preparing [2022-05-06T13:43:45.726Z] d9b209a2c189: Preparing [2022-05-06T13:43:45.726Z] e2a3aec32458: Preparing [2022-05-06T13:43:45.726Z] 0e05da470fcc: Preparing [2022-05-06T13:43:45.726Z] 8f75f2090601: Preparing [2022-05-06T13:43:45.726Z] f73e7dbfee58: Preparing [2022-05-06T13:43:45.726Z] f73e7dbfee58: Waiting [2022-05-06T13:43:45.726Z] d9b209a2c189: Layer already exists [2022-05-06T13:43:45.726Z] 0e05da470fcc: Layer already exists [2022-05-06T13:43:45.726Z] e2a3aec32458: Layer already exists [2022-05-06T13:43:45.726Z] 8f75f2090601: Layer already exists [2022-05-06T13:43:45.726Z] e052c05ec85b: Layer already exists [2022-05-06T13:43:45.726Z] f73e7dbfee58: Layer already exists [2022-05-06T13:43:46.000Z] latest: digest: sha256:146ca58582a8d6112fbe4adb79fd9b525effc62b8059386f26d1cff15c8bddb8 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:43:46.364Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:43:46.712Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.16 [2022-05-06T13:43:46.712Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-06T13:43:46.712Z] e052c05ec85b: Preparing [2022-05-06T13:43:46.712Z] d9b209a2c189: Preparing [2022-05-06T13:43:46.712Z] e2a3aec32458: Preparing [2022-05-06T13:43:46.712Z] 0e05da470fcc: Preparing [2022-05-06T13:43:46.712Z] 8f75f2090601: Preparing [2022-05-06T13:43:46.712Z] f73e7dbfee58: Preparing [2022-05-06T13:43:46.712Z] f73e7dbfee58: Waiting [2022-05-06T13:43:46.712Z] 0e05da470fcc: Layer already exists [2022-05-06T13:43:46.712Z] 8f75f2090601: Layer already exists [2022-05-06T13:43:46.712Z] d9b209a2c189: Layer already exists [2022-05-06T13:43:46.712Z] e2a3aec32458: Layer already exists [2022-05-06T13:43:46.712Z] e052c05ec85b: Layer already exists [2022-05-06T13:43:46.984Z] f73e7dbfee58: Layer already exists [2022-05-06T13:43:46.984Z] 2.2.0-dev.16: digest: sha256:146ca58582a8d6112fbe4adb79fd9b525effc62b8059386f26d1cff15c8bddb8 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:43:47.336Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d7023bcda15e937cec539ef29d6768596b85ffc4-2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:43:47.746Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d7023bcda15e937cec539ef29d6768596b85ffc4-2.2.0-dev.16 [2022-05-06T13:43:47.746Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-06T13:43:47.746Z] e052c05ec85b: Preparing [2022-05-06T13:43:47.746Z] d9b209a2c189: Preparing [2022-05-06T13:43:47.746Z] e2a3aec32458: Preparing [2022-05-06T13:43:47.746Z] 0e05da470fcc: Preparing [2022-05-06T13:43:47.746Z] 8f75f2090601: Preparing [2022-05-06T13:43:47.746Z] f73e7dbfee58: Preparing [2022-05-06T13:43:47.746Z] f73e7dbfee58: Waiting [2022-05-06T13:43:47.746Z] e052c05ec85b: Layer already exists [2022-05-06T13:43:47.746Z] d9b209a2c189: Layer already exists [2022-05-06T13:43:47.746Z] e2a3aec32458: Layer already exists [2022-05-06T13:43:47.746Z] 8f75f2090601: Layer already exists [2022-05-06T13:43:47.746Z] 0e05da470fcc: Layer already exists [2022-05-06T13:43:47.746Z] f73e7dbfee58: Layer already exists [2022-05-06T13:43:47.746Z] d7023bcda15e937cec539ef29d6768596b85ffc4-2.2.0-dev.16: digest: sha256:146ca58582a8d6112fbe4adb79fd9b525effc62b8059386f26d1cff15c8bddb8 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:43:48.373Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:43:48.715Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-05-06T13:43:48.715Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-06T13:43:48.715Z] e052c05ec85b: Preparing [2022-05-06T13:43:48.715Z] d9b209a2c189: Preparing [2022-05-06T13:43:48.715Z] e2a3aec32458: Preparing [2022-05-06T13:43:48.715Z] 0e05da470fcc: Preparing [2022-05-06T13:43:48.715Z] 8f75f2090601: Preparing [2022-05-06T13:43:48.715Z] f73e7dbfee58: Preparing [2022-05-06T13:43:48.715Z] f73e7dbfee58: Waiting [2022-05-06T13:43:48.715Z] e2a3aec32458: Layer already exists [2022-05-06T13:43:48.715Z] d9b209a2c189: Layer already exists [2022-05-06T13:43:48.715Z] 8f75f2090601: Layer already exists [2022-05-06T13:43:48.715Z] e052c05ec85b: Layer already exists [2022-05-06T13:43:48.715Z] 0e05da470fcc: Layer already exists [2022-05-06T13:43:48.988Z] f73e7dbfee58: Layer already exists [2022-05-06T13:43:48.988Z] main: digest: sha256:146ca58582a8d6112fbe4adb79fd9b525effc62b8059386f26d1cff15c8bddb8 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-06T13:43:49.036Z] ===================================================== [Pipeline] echo [2022-05-06T13:43:49.046Z] taggedImages: [2022-05-06T13:43:49.046Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d7023bcda15e937cec539ef29d6768596b85ffc4 [2022-05-06T13:43:49.046Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-05-06T13:43:49.046Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.16 [2022-05-06T13:43:49.046Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d7023bcda15e937cec539ef29d6768596b85ffc4-2.2.0-dev.16 [2022-05-06T13:43:49.046Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:43:49.409Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-06T13:43:49.409Z] [2022-05-06T13:43:49.409Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:43:49.761Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-06T13:43:50.036Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-06T13:43:50.036Z] 8998bd30e6a1: Pulling fs layer [2022-05-06T13:43:50.036Z] 04944245beec: Pulling fs layer [2022-05-06T13:43:50.036Z] 699f458cf7ca: Pulling fs layer [2022-05-06T13:43:50.036Z] 765212b225bb: Pulling fs layer [2022-05-06T13:43:50.036Z] f23df028b6ca: Pulling fs layer [2022-05-06T13:43:50.036Z] d65c8cfc05b1: Pulling fs layer [2022-05-06T13:43:50.036Z] 2437ff75d9bd: Pulling fs layer [2022-05-06T13:43:50.036Z] 765212b225bb: Waiting [2022-05-06T13:43:50.036Z] f23df028b6ca: Waiting [2022-05-06T13:43:50.036Z] d65c8cfc05b1: Waiting [2022-05-06T13:43:50.036Z] 2437ff75d9bd: Waiting [2022-05-06T13:43:50.036Z] 04944245beec: Verifying Checksum [2022-05-06T13:43:50.036Z] 04944245beec: Download complete [2022-05-06T13:43:50.036Z] 765212b225bb: Verifying Checksum [2022-05-06T13:43:50.036Z] 765212b225bb: Download complete [2022-05-06T13:43:50.036Z] f23df028b6ca: Verifying Checksum [2022-05-06T13:43:50.036Z] f23df028b6ca: Download complete [2022-05-06T13:43:50.036Z] d65c8cfc05b1: Verifying Checksum [2022-05-06T13:43:50.036Z] d65c8cfc05b1: Download complete [2022-05-06T13:43:50.316Z] 699f458cf7ca: Verifying Checksum [2022-05-06T13:43:50.316Z] 699f458cf7ca: Download complete [2022-05-06T13:43:50.598Z] 8998bd30e6a1: Verifying Checksum [2022-05-06T13:43:50.598Z] 8998bd30e6a1: Download complete [2022-05-06T13:43:53.228Z] 2437ff75d9bd: Verifying Checksum [2022-05-06T13:43:53.228Z] 2437ff75d9bd: Download complete [2022-05-06T13:43:55.214Z] 8998bd30e6a1: Pull complete [2022-05-06T13:43:55.487Z] 04944245beec: Pull complete [2022-05-06T13:43:56.937Z] 699f458cf7ca: Pull complete [2022-05-06T13:43:57.214Z] 765212b225bb: Pull complete [2022-05-06T13:43:58.203Z] f23df028b6ca: Pull complete [2022-05-06T13:43:58.203Z] d65c8cfc05b1: Pull complete [2022-05-06T13:44:13.309Z] 2437ff75d9bd: Pull complete [2022-05-06T13:44:13.309Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-06T13:44:13.309Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-06T13:44:13.309Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-06T13:44:13.558Z] prd-ubuntu20.04-docker-arm64-4c-16g-41057 does not seem to be running inside a container [2022-05-06T13:44:13.683Z] $ 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/34 -v /w/workspace/device-modbus-go/34:/w/workspace/device-modbus-go/34:rw,z -v /w/workspace/device-modbus-go/34@tmp:/w/workspace/device-modbus-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-06T13:44:16.310Z] $ docker top 46bac125cf478836720296839689cc19205fb5b93da1d9041bb045f75384fb86 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:44:17.236Z] ---> job-cost.sh [2022-05-06T13:44:17.236Z] lf-activate-venv: SKIPPING [2022-05-06T13:44:17.236Z] INFO: No Stack... [2022-05-06T13:44:17.511Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-06T13:44:18.495Z] INFO: Archiving Costs [Pipeline] sh [2022-05-06T13:44:19.172Z] + cut -d, -f6 [2022-05-06T13:44:19.172Z] + cat /w/workspace/device-modbus-go/34/archives/cost.csv [Pipeline] lock [2022-05-06T13:44:19.242Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-34-stack-cost] [2022-05-06T13:44:19.254Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-34-stack-cost] did not exist. Created. [2022-05-06T13:44:19.254Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-06T13:44:19.961Z] /w/workspace/device-modbus-go/34@tmp/durable-d7fb824e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-06T13:44:20.650Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-06T13:44:20.678Z] Warning: overwriting stash ‘stack-cost’ [2022-05-06T13:44:20.733Z] Stashed 1 file(s) [Pipeline] } [2022-05-06T13:44:20.742Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-34-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-06T13:44:20.780Z] $ docker stop --time=1 46bac125cf478836720296839689cc19205fb5b93da1d9041bb045f75384fb86 [2022-05-06T13:44:22.328Z] $ docker rm -f 46bac125cf478836720296839689cc19205fb5b93da1d9041bb045f75384fb86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-05-06T13:44:22.791Z] provisioning config files... [2022-05-06T13:44:22.801Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1948736913575397711tmp [Pipeline] { [Pipeline] sh [2022-05-06T13:44:23.097Z] + set +x [2022-05-06T13:44:23.097Z] + curl -s https://codecov.io/bash [2022-05-06T13:44:23.097Z] + bash -s -- [2022-05-06T13:44:23.097Z] [2022-05-06T13:44:23.097Z] _____ _ [2022-05-06T13:44:23.097Z] / ____| | | [2022-05-06T13:44:23.097Z] | | ___ __| | ___ ___ _____ __ [2022-05-06T13:44:23.097Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-06T13:44:23.097Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-06T13:44:23.097Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-06T13:44:23.097Z] Bash-1.0.6 [2022-05-06T13:44:23.097Z] [2022-05-06T13:44:23.097Z] [2022-05-06T13:44:23.097Z] ==> git version 2.25.1 found [2022-05-06T13:44:23.097Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-05-06T13:44:23.097Z] Release-Date: 2020-01-08 [2022-05-06T13:44:23.097Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-05-06T13:44:23.097Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-06T13:44:23.097Z] ==> Jenkins CI detected. [2022-05-06T13:44:23.097Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-05-06T13:44:23.097Z] project root: . [2022-05-06T13:44:23.097Z] --> token set from env [2022-05-06T13:44:23.097Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-06T13:44:23.097Z] ==> Running gcov in . (disable via -X gcov) [2022-05-06T13:44:23.097Z] ==> Python coveragepy not found [2022-05-06T13:44:23.097Z] ==> Searching for coverage reports in: [2022-05-06T13:44:23.097Z] + . [2022-05-06T13:44:23.097Z] -> Found 1 reports [2022-05-06T13:44:23.097Z] ==> Detecting git/mercurial file structure [2022-05-06T13:44:23.097Z] ==> Reading reports [2022-05-06T13:44:23.097Z] + ./coverage.out bytes=24065 [2022-05-06T13:44:23.097Z] ==> Appending adjustments [2022-05-06T13:44:23.097Z] https://docs.codecov.io/docs/fixing-reports [2022-05-06T13:44:23.359Z] + Found adjustments [2022-05-06T13:44:23.359Z] ==> Gzipping contents [2022-05-06T13:44:23.359Z] 4.0K /tmp/codecov.KHpU0j.gz [2022-05-06T13:44:23.359Z] ==> Uploading reports [2022-05-06T13:44:23.359Z] url: https://codecov.io [2022-05-06T13:44:23.359Z] query: branch=main&commit=d7023bcda15e937cec539ef29d6768596b85ffc4&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-06T13:44:23.359Z] -> Pinging Codecov [2022-05-06T13:44:23.359Z] 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=d7023bcda15e937cec539ef29d6768596b85ffc4&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-06T13:44:23.619Z] -> Uploading to [2022-05-06T13:44:23.619Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-06/55DBCA73C666E3227836607328DD7E49/d7023bcda15e937cec539ef29d6768596b85ffc4/17b7b600-10f1-4226-8587-5c5dc5bb9317.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220506T134423Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=75a91eb2463289cb9fff18fca3e081dcf6c3e65cb17dba81a8a73bab0240a2df [2022-05-06T13:44:23.619Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-06T13:44:23.619Z] Dload Upload Total Spent Left Speed [2022-05-06T13:44:23.879Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4018 0 0 100 4018 0 17937 --:--:-- --:--:-- --:--:-- 17937 [2022-05-06T13:44:23.879Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/d7023bcda15e937cec539ef29d6768596b85ffc4 [Pipeline] } [2022-05-06T13:44:23.888Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-06T13:44:24.025Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-06T13:44:24.037Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:44:24.331Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-06T13:44:24.331Z] [2022-05-06T13:44:24.331Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:44:24.641Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-06T13:44:24.641Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-06T13:44:24.641Z] 188c0c94c7c5: Pulling fs layer [2022-05-06T13:44:24.641Z] 0ef7d3d256c8: Pulling fs layer [2022-05-06T13:44:24.641Z] de9db76c5a1d: Pulling fs layer [2022-05-06T13:44:24.641Z] 0eba1c9be4d2: Pulling fs layer [2022-05-06T13:44:24.641Z] 0d57e429df01: Pulling fs layer [2022-05-06T13:44:24.641Z] 4e4be7b47b0d: Pulling fs layer [2022-05-06T13:44:24.641Z] e1f770b5df2f: Pulling fs layer [2022-05-06T13:44:24.641Z] 85a0685a4137: Pulling fs layer [2022-05-06T13:44:24.641Z] e1f770b5df2f: Waiting [2022-05-06T13:44:24.641Z] 0eba1c9be4d2: Waiting [2022-05-06T13:44:24.641Z] 85a0685a4137: Waiting [2022-05-06T13:44:24.641Z] 4e4be7b47b0d: Waiting [2022-05-06T13:44:24.641Z] de9db76c5a1d: Verifying Checksum [2022-05-06T13:44:24.641Z] de9db76c5a1d: Download complete [2022-05-06T13:44:24.641Z] 0ef7d3d256c8: Download complete [2022-05-06T13:44:24.641Z] 0d57e429df01: Download complete [2022-05-06T13:44:24.641Z] 4e4be7b47b0d: Download complete [2022-05-06T13:44:24.641Z] 188c0c94c7c5: Verifying Checksum [2022-05-06T13:44:24.641Z] 188c0c94c7c5: Download complete [2022-05-06T13:44:24.904Z] 188c0c94c7c5: Pull complete [2022-05-06T13:44:24.904Z] e1f770b5df2f: Verifying Checksum [2022-05-06T13:44:24.904Z] e1f770b5df2f: Download complete [2022-05-06T13:44:24.904Z] 0ef7d3d256c8: Pull complete [2022-05-06T13:44:25.166Z] de9db76c5a1d: Pull complete [2022-05-06T13:44:25.425Z] 0eba1c9be4d2: Verifying Checksum [2022-05-06T13:44:25.425Z] 0eba1c9be4d2: Download complete [2022-05-06T13:44:25.684Z] 85a0685a4137: Verifying Checksum [2022-05-06T13:44:25.684Z] 85a0685a4137: Download complete [2022-05-06T13:44:28.974Z] 0eba1c9be4d2: Pull complete [2022-05-06T13:44:28.974Z] 0d57e429df01: Pull complete [2022-05-06T13:44:28.974Z] 4e4be7b47b0d: Pull complete [2022-05-06T13:44:28.974Z] e1f770b5df2f: Pull complete [2022-05-06T13:44:32.266Z] 85a0685a4137: Pull complete [2022-05-06T13:44:32.266Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-06T13:44:32.267Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-06T13:44:32.267Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-06T13:44:32.335Z] prd-ubuntu20.04-docker-8c-8g-41052 does not seem to be running inside a container [2022-05-06T13:44:32.373Z] $ 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 [2022-05-06T13:44:34.124Z] $ docker top 02103b975bd184bd18d0cb7c09d79b0fb80e882cb921677069333f6c41b35b6e -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-06T13:44:34.196Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-06T13:44:34.478Z] + set -o pipefail [2022-05-06T13:44:34.478Z] + snyk monitor '--org=edgex-jenkins' [2022-05-06T13:44:39.756Z] [2022-05-06T13:44:39.756Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-05-06T13:44:39.756Z] [2022-05-06T13:44:39.756Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/67d488e8-7711-4c2a-8c87-9af8e6de0526 [2022-05-06T13:44:39.756Z] [2022-05-06T13:44:39.756Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-05-06T13:44:39.756Z] [2022-05-06T13:44:39.756Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-06T13:44:39.756Z] [2022-05-06T13:44:39.756Z] [Pipeline] } [2022-05-06T13:44:39.772Z] $ docker stop --time=1 02103b975bd184bd18d0cb7c09d79b0fb80e882cb921677069333f6c41b35b6e [2022-05-06T13:44:41.794Z] $ docker rm -f 02103b975bd184bd18d0cb7c09d79b0fb80e882cb921677069333f6c41b35b6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-06T13:44:42.508Z] + git log --format=format:%s -1 d7023bcda15e937cec539ef29d6768596b85ffc4 [Pipeline] sh [2022-05-06T13:44:42.805Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-06T13:44:42.805Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:44:43.100Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-06T13:44:43.100Z] . [Pipeline] withDockerContainer [2022-05-06T13:44:43.164Z] prd-ubuntu20.04-docker-8c-8g-41052 does not seem to be running inside a container [2022-05-06T13:44:43.203Z] $ 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:10003/edgex-devops/py-git-semver:latest cat [2022-05-06T13:44:43.601Z] $ docker top d13b82cec0d99c7263eb6f5185d581bef907a3b98696367e6d28c9663033c2f4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-06T13:44:43.696Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-06T13:44:43.696Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-06T13:44:43.819Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-06T13:44:43.826Z] $ docker exec d13b82cec0d99c7263eb6f5185d581bef907a3b98696367e6d28c9663033c2f4 ssh-agent [2022-05-06T13:44:43.939Z] SSH_AUTH_SOCK=/tmp/ssh-KBGYFBraDma3/agent.33 [2022-05-06T13:44:43.939Z] SSH_AGENT_PID=39 [2022-05-06T13:44:43.944Z] Running ssh-add (command line suppressed) [2022-05-06T13:44:44.075Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_996926355281316246.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_996926355281316246.key) [2022-05-06T13:44:44.085Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-06T13:44:44.373Z] + git semver tag [2022-05-06T13:44:44.633Z] 2022-05-06 13:44:44,553 [run_tag] DEBUG tag force:False [2022-05-06T13:44:44.633Z] 2022-05-06 13:44:44,553 [check_head_tag] DEBUG check head tag [2022-05-06T13:44:44.633Z] 2022-05-06 13:44:44,554 [execute] INFO git cat-file --batch-check [2022-05-06T13:44:44.633Z] 2022-05-06 13:44:44,554 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-05-06T13:44:44.633Z] 2022-05-06 13:44:44,557 [execute] INFO git cat-file --batch [2022-05-06T13:44:44.633Z] 2022-05-06 13:44:44,557 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-05-06T13:44:44.633Z] 2022-05-06 13:44:44,567 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-06T13:44:44.633Z] 2022-05-06 13:44:44,568 [execute] INFO git tag -a v2.2.0-dev.16 -m v2.2.0-dev.16 [2022-05-06T13:44:44.633Z] 2022-05-06 13:44:44,568 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.16', '-m', 'v2.2.0-dev.16'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-06T13:44:44.633Z] 2022-05-06 13:44:44,572 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-06T13:44:44.633Z] 2.2.0-dev.16 [Pipeline] } [2022-05-06T13:44:44.647Z] $ docker exec --env ******** --env ******** d13b82cec0d99c7263eb6f5185d581bef907a3b98696367e6d28c9663033c2f4 ssh-agent -k [2022-05-06T13:44:44.762Z] unset SSH_AUTH_SOCK; [2022-05-06T13:44:44.762Z] unset SSH_AGENT_PID; [2022-05-06T13:44:44.762Z] echo Agent pid 39 killed; [2022-05-06T13:44:44.770Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-06T13:44:45.091Z] + git semver [Pipeline] } [2022-05-06T13:44:45.371Z] $ docker stop --time=1 d13b82cec0d99c7263eb6f5185d581bef907a3b98696367e6d28c9663033c2f4 [2022-05-06T13:44:46.687Z] $ docker rm -f d13b82cec0d99c7263eb6f5185d581bef907a3b98696367e6d28c9663033c2f4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:44:47.114Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-06T13:44:47.114Z] [2022-05-06T13:44:47.114Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:44:47.429Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-06T13:44:47.429Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-06T13:44:47.429Z] ab5ef0e58194: Pulling fs layer [2022-05-06T13:44:47.429Z] 9712f1f96733: Pulling fs layer [2022-05-06T13:44:47.429Z] 63f879dbbcfc: Pulling fs layer [2022-05-06T13:44:47.429Z] 0d9ebad4ef96: Pulling fs layer [2022-05-06T13:44:47.429Z] e9a5061849ea: Pulling fs layer [2022-05-06T13:44:47.429Z] d747dcd14b5f: Pulling fs layer [2022-05-06T13:44:47.429Z] 2de7ff778b66: Pulling fs layer [2022-05-06T13:44:47.429Z] 2de7ff778b66: Waiting [2022-05-06T13:44:47.429Z] d747dcd14b5f: Waiting [2022-05-06T13:44:47.429Z] 0d9ebad4ef96: Waiting [2022-05-06T13:44:47.429Z] e9a5061849ea: Waiting [2022-05-06T13:44:47.429Z] 9712f1f96733: Verifying Checksum [2022-05-06T13:44:47.691Z] 63f879dbbcfc: Verifying Checksum [2022-05-06T13:44:47.691Z] 63f879dbbcfc: Download complete [2022-05-06T13:44:47.951Z] 0d9ebad4ef96: Verifying Checksum [2022-05-06T13:44:47.951Z] 0d9ebad4ef96: Download complete [2022-05-06T13:44:47.951Z] d747dcd14b5f: Download complete [2022-05-06T13:44:47.951Z] e9a5061849ea: Verifying Checksum [2022-05-06T13:44:47.951Z] e9a5061849ea: Download complete [2022-05-06T13:44:47.951Z] ab5ef0e58194: Verifying Checksum [2022-05-06T13:44:47.951Z] ab5ef0e58194: Download complete [2022-05-06T13:44:48.212Z] 2de7ff778b66: Verifying Checksum [2022-05-06T13:44:48.212Z] 2de7ff778b66: Download complete [2022-05-06T13:44:50.744Z] ab5ef0e58194: Pull complete [2022-05-06T13:44:50.744Z] 9712f1f96733: Pull complete [2022-05-06T13:44:51.312Z] 63f879dbbcfc: Pull complete [2022-05-06T13:44:55.505Z] 0d9ebad4ef96: Pull complete [2022-05-06T13:44:55.505Z] e9a5061849ea: Pull complete [2022-05-06T13:44:55.505Z] d747dcd14b5f: Pull complete [2022-05-06T13:44:56.445Z] 2de7ff778b66: Pull complete [2022-05-06T13:44:56.445Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-06T13:44:56.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-06T13:44:56.445Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-06T13:44:56.508Z] prd-ubuntu20.04-docker-8c-8g-41052 does not seem to be running inside a container [2022-05-06T13:44:56.556Z] $ 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 [2022-05-06T13:44:58.417Z] $ docker top 927b448837f00ecec550107954bdc3afedb1947e9de63eac9c1578420316c2e4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-06T13:44:58.502Z] provisioning config files... [2022-05-06T13:44:58.511Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5441956133535085862tmp [2022-05-06T13:44:58.523Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8856241763515005120tmp [2022-05-06T13:44:58.534Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config184898772600325853tmp [Pipeline] { [Pipeline] echo [2022-05-06T13:44:58.550Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:44:58.835Z] ---> sigul-configuration.sh [2022-05-06T13:44:58.835Z] gpg: directory `/root/.gnupg' created [2022-05-06T13:44:58.835Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-06T13:44:58.835Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-06T13:44:58.835Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-06T13:44:58.835Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-06T13:44:58.835Z] gpg: CAST5 encrypted data [2022-05-06T13:44:58.835Z] gpg: encrypted with 1 passphrase [2022-05-06T13:44:58.835Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-06T13:44:59.129Z] + mkdir /home/jenkins [2022-05-06T13:44:59.129Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-06T13:44:59.426Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-05-06T13:44:59.438Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:44:59.728Z] ---> sigul-install.sh [2022-05-06T13:44:59.729Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-06T13:45:00.022Z] + git tag --list [2022-05-06T13:45:00.022Z] 0.7.1 [2022-05-06T13:45:00.022Z] v1.0.0 [2022-05-06T13:45:00.022Z] v1.1.0 [2022-05-06T13:45:00.022Z] v1.1.1 [2022-05-06T13:45:00.022Z] v1.2.2 [2022-05-06T13:45:00.022Z] v1.3.0 [2022-05-06T13:45:00.022Z] v1.3.1 [2022-05-06T13:45:00.022Z] v2.0.0 [2022-05-06T13:45:00.022Z] v2.0.1-dev.1 [2022-05-06T13:45:00.022Z] v2.0.1-dev.10 [2022-05-06T13:45:00.022Z] v2.0.1-dev.11 [2022-05-06T13:45:00.022Z] v2.0.1-dev.12 [2022-05-06T13:45:00.022Z] v2.0.1-dev.2 [2022-05-06T13:45:00.022Z] v2.0.1-dev.3 [2022-05-06T13:45:00.022Z] v2.0.1-dev.4 [2022-05-06T13:45:00.022Z] v2.0.1-dev.5 [2022-05-06T13:45:00.022Z] v2.0.1-dev.6 [2022-05-06T13:45:00.022Z] v2.0.1-dev.7 [2022-05-06T13:45:00.022Z] v2.0.1-dev.8 [2022-05-06T13:45:00.022Z] v2.0.1-dev.9 [2022-05-06T13:45:00.022Z] v2.1.0 [2022-05-06T13:45:00.022Z] v2.2.0-dev.1 [2022-05-06T13:45:00.022Z] v2.2.0-dev.10 [2022-05-06T13:45:00.022Z] v2.2.0-dev.11 [2022-05-06T13:45:00.022Z] v2.2.0-dev.12 [2022-05-06T13:45:00.023Z] v2.2.0-dev.13 [2022-05-06T13:45:00.023Z] v2.2.0-dev.14 [2022-05-06T13:45:00.023Z] v2.2.0-dev.15 [2022-05-06T13:45:00.023Z] v2.2.0-dev.16 [2022-05-06T13:45:00.023Z] v2.2.0-dev.2 [2022-05-06T13:45:00.023Z] v2.2.0-dev.3 [2022-05-06T13:45:00.023Z] v2.2.0-dev.4 [2022-05-06T13:45:00.023Z] v2.2.0-dev.5 [2022-05-06T13:45:00.023Z] v2.2.0-dev.6 [2022-05-06T13:45:00.023Z] v2.2.0-dev.7 [2022-05-06T13:45:00.023Z] v2.2.0-dev.8 [2022-05-06T13:45:00.023Z] v2.2.0-dev.9 [Pipeline] sh [2022-05-06T13:45:00.314Z] + lftools sign git-tag v2.2.0-dev.16 [2022-05-06T13:45:00.885Z] Signing Git tag with Sigul... [2022-05-06T13:45:00.885Z] Signing v2.2.0-dev.16 [Pipeline] echo [2022-05-06T13:45:01.838Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:45:02.126Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-06T13:45:02.133Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-06T13:45:02.162Z] $ docker stop --time=1 927b448837f00ecec550107954bdc3afedb1947e9de63eac9c1578420316c2e4 [2022-05-06T13:45:03.449Z] $ docker rm -f 927b448837f00ecec550107954bdc3afedb1947e9de63eac9c1578420316c2e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-06T13:45:03.844Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-06T13:45:03.845Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:45:04.144Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-06T13:45:04.145Z] . [Pipeline] withDockerContainer [2022-05-06T13:45:04.214Z] prd-ubuntu20.04-docker-8c-8g-41052 does not seem to be running inside a container [2022-05-06T13:45:04.251Z] $ 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:10003/edgex-devops/py-git-semver:latest cat [2022-05-06T13:45:04.608Z] $ docker top 3b5c808b3b63c62f30f9fe41146a7b7092606cd136f8fc4076b008ffe989342f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-06T13:45:04.737Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-06T13:45:04.737Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-06T13:45:04.867Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-06T13:45:04.875Z] $ docker exec 3b5c808b3b63c62f30f9fe41146a7b7092606cd136f8fc4076b008ffe989342f ssh-agent [2022-05-06T13:45:04.998Z] SSH_AUTH_SOCK=/tmp/ssh-lAhXQFdSNOqO/agent.33 [2022-05-06T13:45:04.998Z] SSH_AGENT_PID=39 [2022-05-06T13:45:05.003Z] Running ssh-add (command line suppressed) [2022-05-06T13:45:05.128Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5820158185630041216.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5820158185630041216.key) [2022-05-06T13:45:05.139Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-06T13:45:05.429Z] + git semver bump pre [2022-05-06T13:45:05.690Z] 2022-05-06 13:45:05,641 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-06T13:45:05.690Z] 2022-05-06 13:45:05,641 [bump_version] DEBUG bumping version:2.2.0-dev.16 on axis:pre with prefix:dev [2022-05-06T13:45:05.690Z] 2022-05-06 13:45:05,641 [bump_version] DEBUG bumped version:2.2.0-dev.17 [2022-05-06T13:45:05.690Z] 2022-05-06 13:45:05,641 [write_version] DEBUG write version:2.2.0-dev.17 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2022-05-06T13:45:05.690Z] 2022-05-06 13:45:05,642 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-06T13:45:05.690Z] 2022-05-06 13:45:05,642 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-06T13:45:05.690Z] 2022-05-06 13:45:05,646 [execute] INFO git cat-file --batch-check [2022-05-06T13:45:05.690Z] 2022-05-06 13:45:05,646 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-06T13:45:05.690Z] 2022-05-06 13:45:05,653 [execute] INFO git cat-file --batch [2022-05-06T13:45:05.690Z] 2022-05-06 13:45:05,653 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-06T13:45:05.690Z] 2022-05-06 13:45:05,658 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-06T13:45:05.690Z] 2.2.0-dev.17 [Pipeline] } [2022-05-06T13:45:05.705Z] $ docker exec --env ******** --env ******** 3b5c808b3b63c62f30f9fe41146a7b7092606cd136f8fc4076b008ffe989342f ssh-agent -k [2022-05-06T13:45:05.818Z] unset SSH_AUTH_SOCK; [2022-05-06T13:45:05.819Z] unset SSH_AGENT_PID; [2022-05-06T13:45:05.819Z] echo Agent pid 39 killed; [2022-05-06T13:45:05.823Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-06T13:45:06.131Z] + git semver [Pipeline] } [2022-05-06T13:45:06.409Z] $ docker stop --time=1 3b5c808b3b63c62f30f9fe41146a7b7092606cd136f8fc4076b008ffe989342f [2022-05-06T13:45:07.706Z] $ docker rm -f 3b5c808b3b63c62f30f9fe41146a7b7092606cd136f8fc4076b008ffe989342f [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-06T13:45:08.056Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-06T13:45:08.056Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:45:08.348Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-06T13:45:08.348Z] . [Pipeline] withDockerContainer [2022-05-06T13:45:08.413Z] prd-ubuntu20.04-docker-8c-8g-41052 does not seem to be running inside a container [2022-05-06T13:45:08.451Z] $ 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:10003/edgex-devops/py-git-semver:latest cat [2022-05-06T13:45:08.809Z] $ docker top 986ddf1a1578dfef3362ecd580e63a59a46cda99dfece23a43fa66a2fd6db52e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-06T13:45:08.908Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-06T13:45:08.908Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-06T13:45:09.023Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-06T13:45:09.030Z] $ docker exec 986ddf1a1578dfef3362ecd580e63a59a46cda99dfece23a43fa66a2fd6db52e ssh-agent [2022-05-06T13:45:09.137Z] SSH_AUTH_SOCK=/tmp/ssh-ovdY5ehwens0/agent.33 [2022-05-06T13:45:09.137Z] SSH_AGENT_PID=39 [2022-05-06T13:45:09.143Z] Running ssh-add (command line suppressed) [2022-05-06T13:45:09.254Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8481201392539216038.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8481201392539216038.key) [2022-05-06T13:45:09.264Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-06T13:45:09.555Z] + git semver push [2022-05-06T13:45:09.815Z] 2022-05-06 13:45:09,819 [run_push] DEBUG push [2022-05-06T13:45:09.815Z] 2022-05-06 13:45:09,820 [execute] INFO git push origin semver [2022-05-06T13:45:10.075Z] 2022-05-06 13:45:09,820 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-05-06T13:45:10.646Z] 2022-05-06 13:45:10,626 [run_push] DEBUG push all version tags [2022-05-06T13:45:10.646Z] 2022-05-06 13:45:10,626 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-06T13:45:10.646Z] 2022-05-06 13:45:10,627 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-06T13:45:11.589Z] 2022-05-06 13:45:11,355 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-06T13:45:11.589Z] 2.2.0-dev.17 [Pipeline] } [2022-05-06T13:45:11.605Z] $ docker exec --env ******** --env ******** 986ddf1a1578dfef3362ecd580e63a59a46cda99dfece23a43fa66a2fd6db52e ssh-agent -k [2022-05-06T13:45:11.707Z] unset SSH_AUTH_SOCK; [2022-05-06T13:45:11.707Z] unset SSH_AGENT_PID; [2022-05-06T13:45:11.708Z] echo Agent pid 39 killed; [2022-05-06T13:45:11.716Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-06T13:45:12.023Z] + git semver [Pipeline] } [2022-05-06T13:45:12.306Z] $ docker stop --time=1 986ddf1a1578dfef3362ecd580e63a59a46cda99dfece23a43fa66a2fd6db52e [2022-05-06T13:45:13.626Z] $ docker rm -f 986ddf1a1578dfef3362ecd580e63a59a46cda99dfece23a43fa66a2fd6db52e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-05-06T13:45:14.210Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-05-06T13:45:14.211Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-05-06T13:45:14.211Z] total 16 [2022-05-06T13:45:14.211Z] drwxr-xr-x 3 root root 4096 May 6 13:36 . [2022-05-06T13:45:14.211Z] drwxrwxr-x 11 jenkins jenkins 4096 May 6 13:44 .. [2022-05-06T13:45:14.211Z] drwxr-xr-x 2 root root 4096 May 6 13:36 cost [2022-05-06T13:45:14.211Z] -rw-r--r-- 1 root root 86 May 6 13:36 cost.csv [2022-05-06T13:45:14.211Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-05-06T13:45:14.211Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-05-06T13:45:14.211Z] total 16 [2022-05-06T13:45:14.211Z] drwxr-xr-x 3 jenkins jenkins 4096 May 6 13:36 . [2022-05-06T13:45:14.211Z] drwxrwxr-x 11 jenkins jenkins 4096 May 6 13:44 .. [2022-05-06T13:45:14.211Z] drwxr-xr-x 2 jenkins jenkins 4096 May 6 13:36 cost [2022-05-06T13:45:14.211Z] -rw-r--r-- 1 jenkins jenkins 86 May 6 13:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:45:14.531Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:45:15.398Z] ---> package-listing.sh [2022-05-06T13:45:15.398Z] ++ facter osfamily [2022-05-06T13:45:15.398Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-06T13:45:15.659Z] + OS_FAMILY=debian [2022-05-06T13:45:15.659Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-05-06T13:45:15.659Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-06T13:45:15.659Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-06T13:45:15.659Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-06T13:45:15.659Z] + PACKAGES=/tmp/packages_start.txt [2022-05-06T13:45:15.659Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-05-06T13:45:15.659Z] + PACKAGES=/tmp/packages_end.txt [2022-05-06T13:45:15.659Z] + case "${OS_FAMILY}" in [2022-05-06T13:45:15.659Z] + dpkg -l [2022-05-06T13:45:15.659Z] + grep '^ii' [2022-05-06T13:45:15.659Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-06T13:45:15.659Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-06T13:45:15.659Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-06T13:45:15.659Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-05-06T13:45:15.659Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-05-06T13:45:15.659Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2022-05-06T13:45:15.674Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-06T13:45:15.967Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:45:16.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-06T13:45:16.526Z] . [Pipeline] withDockerContainer [2022-05-06T13:45:16.597Z] prd-ubuntu20.04-docker-8c-8g-41052 does not seem to be running inside a container [2022-05-06T13:45:16.641Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -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 [2022-05-06T13:45:16.872Z] $ docker top 6a539b28ded574084d04b4c2a0e84aefdd262d2a9e40e8a788c65de47ed8aca3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-06T13:45:17.225Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-06T13:45:17.516Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-06T13:45:17.806Z] + ls /var/log/sa-host [2022-05-06T13:45:17.806Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-06T13:45:17.887Z] provisioning config files... [2022-05-06T13:45:17.895Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8610076752998891958tmp [Pipeline] { [Pipeline] echo [2022-05-06T13:45:17.912Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:45:18.199Z] ---> create-netrc.sh [Pipeline] } [2022-05-06T13:45:18.207Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:45:18.540Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-06T13:45:18.551Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:45:18.839Z] ---> sudo-logs.sh [2022-05-06T13:45:18.839Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-06T13:45:18.869Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:45:19.152Z] ---> job-cost.sh [2022-05-06T13:45:19.152Z] lf-activate-venv: SKIPPING [2022-05-06T13:45:19.152Z] DEBUG: total: 0.2199999988079071 [2022-05-06T13:45:19.152Z] INFO: Retrieving Stack Cost... [2022-05-06T13:45:19.722Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-06T13:45:19.983Z] INFO: Archiving Costs [Pipeline] echo [2022-05-06T13:45:19.998Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:45:20.287Z] ---> logs-deploy.sh [2022-05-06T13:45:20.287Z] lf-activate-venv: SKIPPING [2022-05-06T13:45:20.287Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/34 [2022-05-06T13:45:20.287Z] INFO: archiving workspace using pattern(s): [2022-05-06T13:45:21.226Z] Archives upload complete. [2022-05-06T13:45:21.486Z] INFO: archiving logs to Nexus