Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0336c9d051e2f73d586bb6c363b90ff6160f5d37 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-ssh4193080161722312822.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-ssh14051087980862743946.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-ssh1792742593532720462.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-ssh17875938345757703810.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-ssh17083606744152992150.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 ‘prd-ubuntu20.04-docker-8c-8g-34824’ Running on prd-ubuntu20.04-docker-8c-8g-34836 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 0336c9d051e2f73d586bb6c363b90ff6160f5d37 (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 0336c9d051e2f73d586bb6c363b90ff6160f5d37 # timeout=10 Commit message: "Merge pull request #340 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.35" > git rev-list --no-walk 19472f7a5fdc6e4787d855a3cc3865d021cdd964 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-03T02:44:58.204Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-03T02:44:58.271Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-03T02:44:58.289Z] ========================================================= [2022-05-03T02:44:58.290Z] EdgeX Global Pipelines Version Info [2022-05-03T02:44:58.290Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-03T02:44:59.047Z] ------------------- [2022-05-03T02:44:59.047Z] stable info: [2022-05-03T02:44:59.047Z] ------------------- [2022-05-03T02:44:59.047Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-03T02:44:59.047Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-03T02:44:59.047Z] Message: update stable to v1.0.227 [2022-05-03T02:44:59.619Z] ------------------- [2022-05-03T02:44:59.619Z] experimental info: [2022-05-03T02:44:59.619Z] ------------------- [2022-05-03T02:44:59.619Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-05-03T02:44:59.619Z] Commit SHA: 602d0728ebfd21a5b975e02ac0465e47e5fef8c7 [2022-05-03T02:44:59.619Z] Message: update experimental to v1.0.228 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-03T02:44:59.769Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-05-03T02:44:59.785Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-05-03T02:44:59.801Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-03T02:44:59.817Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-03T02:44:59.831Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-03T02:44:59.847Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-03T02:44:59.864Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-03T02:44:59.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-03T02:44:59.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-03T02:44:59.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-03T02:44:59.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-03T02:44:59.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-05-03T02:44:59.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-03T02:44:59.983Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-03T02:44:59.999Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-03T02:45:00.016Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-03T02:45:00.031Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-03T02:45:00.047Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-03T02:45:00.064Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-03T02:45:00.081Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-03T02:45:00.097Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-03T02:45:00.112Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-03T02:45:00.129Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-03T02:45:00.148Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-03T02:45:00.165Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-03T02:45:00.181Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-03T02:45:00.196Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-03T02:45:00.211Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-03T02:45:00.231Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-03T02:45:00.246Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0336c9d051e2f73d586bb6c363b90ff6160f5d37 [Pipeline] echo [2022-05-03T02:45:00.260Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0336c9d [Pipeline] echo [2022-05-03T02:45:00.276Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T02:45:00.328Z] provisioning config files... [2022-05-03T02:45:00.349Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3395920013730091999tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T02:45:00.672Z] ---> docker-login.sh [2022-05-03T02:45:00.672Z] nexus3.edgexfoundry.org:10001 [2022-05-03T02:45:00.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T02:45:00.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T02:45:00.935Z] Configure a credential helper to remove this warning. See [2022-05-03T02:45:00.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T02:45:00.935Z] [2022-05-03T02:45:00.935Z] Login Succeeded [2022-05-03T02:45:00.935Z] nexus3.edgexfoundry.org:10002 [2022-05-03T02:45:00.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T02:45:01.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T02:45:01.280Z] Configure a credential helper to remove this warning. See [2022-05-03T02:45:01.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T02:45:01.280Z] [2022-05-03T02:45:01.280Z] Login Succeeded [2022-05-03T02:45:01.280Z] nexus3.edgexfoundry.org:10003 [2022-05-03T02:45:01.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T02:45:01.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T02:45:01.280Z] Configure a credential helper to remove this warning. See [2022-05-03T02:45:01.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T02:45:01.280Z] [2022-05-03T02:45:01.280Z] Login Succeeded [2022-05-03T02:45:01.280Z] nexus3.edgexfoundry.org:10004 [2022-05-03T02:45:01.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T02:45:01.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T02:45:01.280Z] Configure a credential helper to remove this warning. See [2022-05-03T02:45:01.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T02:45:01.280Z] [2022-05-03T02:45:01.280Z] Login Succeeded [2022-05-03T02:45:01.280Z] docker.io [2022-05-03T02:45:01.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T02:45:01.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T02:45:01.824Z] Configure a credential helper to remove this warning. See [2022-05-03T02:45:01.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T02:45:01.824Z] [2022-05-03T02:45:01.824Z] Login Succeeded [2022-05-03T02:45:01.824Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T02:45:01.838Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-03T02:45:02.221Z] + git rev-list -1 --merges 0336c9d051e2f73d586bb6c363b90ff6160f5d37~1..0336c9d051e2f73d586bb6c363b90ff6160f5d37 [Pipeline] echo [2022-05-03T02:45:02.359Z] -----------> git rev-list -1 --merges 0336c9d051e2f73d586bb6c363b90ff6160f5d37~1..0336c9d051e2f73d586bb6c363b90ff6160f5d37 0336c9d051e2f73d586bb6c363b90ff6160f5d37 [2022-05-03T02:45:02.359Z] 0336c9d051e2f73d586bb6c363b90ff6160f5d37 [false] [Pipeline] sh [2022-05-03T02:45:02.654Z] + git log --format=format:%s -1 0336c9d051e2f73d586bb6c363b90ff6160f5d37 [Pipeline] echo [2022-05-03T02:45:02.672Z] ========================================================= [2022-05-03T02:45:02.672Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-03T02:45:02.672Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-03T02:45:02.999Z] + git log --format=format:%s -1 0336c9d051e2f73d586bb6c363b90ff6160f5d37 [Pipeline] echo [2022-05-03T02:45:03.011Z] [semverPrep] GIT_COMMIT: 0336c9d051e2f73d586bb6c363b90ff6160f5d37, Commit Message: Merge pull request #340 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.35 [Pipeline] echo [2022-05-03T02:45:03.023Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-03T02:45:03.439Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-03T02:45:03.439Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-03T02:45:03.439Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-03T02:45:03.439Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-03T02:45:03.439Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-03T02:45:03.439Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-03T02:45:03.439Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-03T02:45:03.800Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T02:45:03.800Z] [2022-05-03T02:45:03.800Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T02:45:04.118Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T02:45:04.118Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-03T02:45:04.118Z] 1fe172e4850f: Pulling fs layer [2022-05-03T02:45:04.118Z] caf521ccaac6: Pulling fs layer [2022-05-03T02:45:04.118Z] 3ead6fa29328: Pulling fs layer [2022-05-03T02:45:04.118Z] 5c2a1cbceb83: Pulling fs layer [2022-05-03T02:45:04.118Z] a8d5f1318db7: Pulling fs layer [2022-05-03T02:45:04.118Z] c427282e49a2: Pulling fs layer [2022-05-03T02:45:04.118Z] 1827001aaf11: Pulling fs layer [2022-05-03T02:45:04.118Z] 0714d37db230: Pulling fs layer [2022-05-03T02:45:04.118Z] ac28cf19c067: Pulling fs layer [2022-05-03T02:45:04.118Z] ca983d60f3e2: Pulling fs layer [2022-05-03T02:45:04.118Z] 9f894cec8388: Pulling fs layer [2022-05-03T02:45:04.118Z] 5c2a1cbceb83: Waiting [2022-05-03T02:45:04.118Z] a8d5f1318db7: Waiting [2022-05-03T02:45:04.118Z] c427282e49a2: Waiting [2022-05-03T02:45:04.118Z] ac28cf19c067: Waiting [2022-05-03T02:45:04.118Z] ca983d60f3e2: Waiting [2022-05-03T02:45:04.118Z] 9f894cec8388: Waiting [2022-05-03T02:45:04.118Z] caf521ccaac6: Verifying Checksum [2022-05-03T02:45:04.118Z] caf521ccaac6: Download complete [2022-05-03T02:45:04.118Z] 5c2a1cbceb83: Verifying Checksum [2022-05-03T02:45:04.118Z] 5c2a1cbceb83: Download complete [2022-05-03T02:45:04.118Z] a8d5f1318db7: Verifying Checksum [2022-05-03T02:45:04.118Z] a8d5f1318db7: Download complete [2022-05-03T02:45:04.382Z] c427282e49a2: Verifying Checksum [2022-05-03T02:45:04.382Z] c427282e49a2: Download complete [2022-05-03T02:45:04.382Z] 3ead6fa29328: Verifying Checksum [2022-05-03T02:45:04.382Z] 3ead6fa29328: Download complete [2022-05-03T02:45:04.382Z] 0714d37db230: Download complete [2022-05-03T02:45:04.382Z] ac28cf19c067: Download complete [2022-05-03T02:45:04.382Z] ca983d60f3e2: Verifying Checksum [2022-05-03T02:45:04.382Z] ca983d60f3e2: Download complete [2022-05-03T02:45:04.382Z] 9f894cec8388: Verifying Checksum [2022-05-03T02:45:04.382Z] 9f894cec8388: Download complete [2022-05-03T02:45:04.382Z] 1fe172e4850f: Verifying Checksum [2022-05-03T02:45:04.382Z] 1fe172e4850f: Download complete [2022-05-03T02:45:04.647Z] 1827001aaf11: Verifying Checksum [2022-05-03T02:45:04.647Z] 1827001aaf11: Download complete [2022-05-03T02:45:06.039Z] 1fe172e4850f: Pull complete [2022-05-03T02:45:06.039Z] caf521ccaac6: Pull complete [2022-05-03T02:45:06.303Z] 3ead6fa29328: Pull complete [2022-05-03T02:45:06.565Z] 5c2a1cbceb83: Pull complete [2022-05-03T02:45:06.827Z] a8d5f1318db7: Pull complete [2022-05-03T02:45:07.088Z] c427282e49a2: Pull complete [2022-05-03T02:45:09.022Z] 1827001aaf11: Pull complete [2022-05-03T02:45:09.022Z] 0714d37db230: Pull complete [2022-05-03T02:45:09.291Z] ac28cf19c067: Pull complete [2022-05-03T02:45:09.291Z] ca983d60f3e2: Pull complete [2022-05-03T02:45:09.559Z] 9f894cec8388: Pull complete [2022-05-03T02:45:09.560Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-03T02:45:09.560Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T02:45:09.560Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-03T02:45:09.650Z] prd-ubuntu20.04-docker-8c-8g-34836 does not seem to be running inside a container [2022-05-03T02:45:09.697Z] $ 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-03T02:45:11.195Z] $ docker top c26de762bbcbb83a81943c96f7a90d21637dcbcb54cf339a0ab73d5f1e9b631f -eo pid,comm [2022-05-03T02:45:11.271Z] 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-03T02:45:11.271Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-03T02:45:11.318Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-03T02:45:11.318Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-03T02:45:11.445Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-03T02:45:11.450Z] $ docker exec c26de762bbcbb83a81943c96f7a90d21637dcbcb54cf339a0ab73d5f1e9b631f ssh-agent [2022-05-03T02:45:11.604Z] SSH_AUTH_SOCK=/tmp/ssh-eQelQ1MpvHws/agent.33 [2022-05-03T02:45:11.604Z] SSH_AGENT_PID=40 [2022-05-03T02:45:11.613Z] Running ssh-add (command line suppressed) [2022-05-03T02:45:11.746Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6417657627018347482.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6417657627018347482.key) [2022-05-03T02:45:11.768Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-03T02:45:12.063Z] + git tag --points-at HEAD [Pipeline] } [2022-05-03T02:45:12.088Z] $ docker exec --env ******** --env ******** c26de762bbcbb83a81943c96f7a90d21637dcbcb54cf339a0ab73d5f1e9b631f ssh-agent -k [2022-05-03T02:45:12.204Z] unset SSH_AUTH_SOCK; [2022-05-03T02:45:12.204Z] unset SSH_AGENT_PID; [2022-05-03T02:45:12.204Z] echo Agent pid 40 killed; [2022-05-03T02:45:12.216Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-03T02:45:12.245Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-03T02:45:12.245Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-03T02:45:12.389Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-03T02:45:12.394Z] $ docker exec c26de762bbcbb83a81943c96f7a90d21637dcbcb54cf339a0ab73d5f1e9b631f ssh-agent [2022-05-03T02:45:12.527Z] SSH_AUTH_SOCK=/tmp/ssh-sN8DEUV8Rb34/agent.74 [2022-05-03T02:45:12.527Z] SSH_AGENT_PID=81 [2022-05-03T02:45:12.534Z] Running ssh-add (command line suppressed) [2022-05-03T02:45:12.659Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4352348427916548476.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4352348427916548476.key) [2022-05-03T02:45:12.673Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-03T02:45:12.966Z] + git semver init [2022-05-03T02:45:13.226Z] 2022-05-03 02:45:13,173 [run_init] DEBUG init version:0.0.0 force:False [2022-05-03T02:45:13.227Z] 2022-05-03 02:45:13,174 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-05-03T02:45:13.227Z] 2022-05-03 02:45:13,174 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-05-03T02:45:13.227Z] 2022-05-03 02:45:13,174 [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-03T02:45:14.170Z] 2022-05-03 02:45:14,042 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2022-05-03T02:45:14.170Z] 2022-05-03 02:45:14,042 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2022-05-03T02:45:14.170Z] 2022-05-03 02:45:14,042 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-03T02:45:14.170Z] 2022-05-03 02:45:14,043 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-03T02:45:14.170Z] 2.2.0-dev.15 [Pipeline] } [2022-05-03T02:45:14.184Z] $ docker exec --env ******** --env ******** c26de762bbcbb83a81943c96f7a90d21637dcbcb54cf339a0ab73d5f1e9b631f ssh-agent -k [2022-05-03T02:45:14.285Z] unset SSH_AUTH_SOCK; [2022-05-03T02:45:14.286Z] unset SSH_AGENT_PID; [2022-05-03T02:45:14.286Z] echo Agent pid 81 killed; [2022-05-03T02:45:14.296Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-03T02:45:14.620Z] + git semver [Pipeline] } [2022-05-03T02:45:14.902Z] $ docker stop --time=1 c26de762bbcbb83a81943c96f7a90d21637dcbcb54cf339a0ab73d5f1e9b631f [2022-05-03T02:45:16.227Z] $ docker rm -f c26de762bbcbb83a81943c96f7a90d21637dcbcb54cf339a0ab73d5f1e9b631f [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-03T02:45:16.601Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-03T02:45:16.914Z] Stashed 1 file(s) [Pipeline] echo [2022-05-03T02:45:16.919Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.15 [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-03T02:45:17.129Z] provisioning config files... [2022-05-03T02:45:17.142Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7294150961417378671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T02:45:17.451Z] ---> docker-login.sh [2022-05-03T02:45:17.451Z] nexus3.edgexfoundry.org:10001 [2022-05-03T02:45:17.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T02:45:17.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T02:45:17.451Z] Configure a credential helper to remove this warning. See [2022-05-03T02:45:17.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T02:45:17.451Z] [2022-05-03T02:45:17.451Z] Login Succeeded [2022-05-03T02:45:17.451Z] nexus3.edgexfoundry.org:10002 [2022-05-03T02:45:17.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T02:45:17.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T02:45:17.712Z] Configure a credential helper to remove this warning. See [2022-05-03T02:45:17.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T02:45:17.712Z] [2022-05-03T02:45:17.712Z] Login Succeeded [2022-05-03T02:45:17.712Z] nexus3.edgexfoundry.org:10003 [2022-05-03T02:45:17.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T02:45:17.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T02:45:17.712Z] Configure a credential helper to remove this warning. See [2022-05-03T02:45:17.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T02:45:17.712Z] [2022-05-03T02:45:17.712Z] Login Succeeded [2022-05-03T02:45:17.712Z] nexus3.edgexfoundry.org:10004 [2022-05-03T02:45:17.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T02:45:17.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T02:45:17.974Z] Configure a credential helper to remove this warning. See [2022-05-03T02:45:17.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T02:45:17.974Z] [2022-05-03T02:45:17.975Z] Login Succeeded [2022-05-03T02:45:17.975Z] docker.io [2022-05-03T02:45:17.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T02:45:18.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T02:45:18.235Z] Configure a credential helper to remove this warning. See [2022-05-03T02:45:18.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T02:45:18.235Z] [2022-05-03T02:45:18.235Z] Login Succeeded [2022-05-03T02:45:18.235Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T02:45:18.246Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-03T02:45:18.328Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-03T02:45:18.342Z] ========================================================= [2022-05-03T02:45:18.342Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-03T02:45:18.342Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-03T02:45:18.663Z] + 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-03T02:45:18.663Z] Sending build context to Docker daemon 5.897MB [2022-05-03T02:45:18.663Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T02:45:18.663Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-03T02:45:18.663Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-03T02:45:18.663Z] 59bf1c3509f3: Pulling fs layer [2022-05-03T02:45:18.663Z] 666ba61612fd: Pulling fs layer [2022-05-03T02:45:18.663Z] 8ed8ca486205: Pulling fs layer [2022-05-03T02:45:18.663Z] 4fe6c5a15a65: Pulling fs layer [2022-05-03T02:45:18.663Z] 22a0e8bec74d: Pulling fs layer [2022-05-03T02:45:18.663Z] ca2b28591e48: Pulling fs layer [2022-05-03T02:45:18.663Z] a51346096db8: Pulling fs layer [2022-05-03T02:45:18.663Z] daebc70d1ce1: Pulling fs layer [2022-05-03T02:45:18.663Z] 0e18a0eac166: Pulling fs layer [2022-05-03T02:45:18.663Z] a51346096db8: Waiting [2022-05-03T02:45:18.663Z] 4fe6c5a15a65: Waiting [2022-05-03T02:45:18.663Z] 0e18a0eac166: Waiting [2022-05-03T02:45:18.663Z] daebc70d1ce1: Waiting [2022-05-03T02:45:18.663Z] 22a0e8bec74d: Waiting [2022-05-03T02:45:18.663Z] ca2b28591e48: Waiting [2022-05-03T02:45:18.663Z] 8ed8ca486205: Verifying Checksum [2022-05-03T02:45:18.663Z] 8ed8ca486205: Download complete [2022-05-03T02:45:18.663Z] 666ba61612fd: Verifying Checksum [2022-05-03T02:45:18.663Z] 666ba61612fd: Download complete [2022-05-03T02:45:18.663Z] 22a0e8bec74d: Verifying Checksum [2022-05-03T02:45:18.663Z] 22a0e8bec74d: Download complete [2022-05-03T02:45:18.923Z] 59bf1c3509f3: Verifying Checksum [2022-05-03T02:45:18.923Z] ca2b28591e48: Download complete [2022-05-03T02:45:18.923Z] a51346096db8: Download complete [2022-05-03T02:45:18.923Z] daebc70d1ce1: Verifying Checksum [2022-05-03T02:45:18.923Z] daebc70d1ce1: Download complete [2022-05-03T02:45:18.923Z] 59bf1c3509f3: Pull complete [2022-05-03T02:45:19.186Z] 666ba61612fd: Pull complete [2022-05-03T02:45:19.186Z] 8ed8ca486205: Pull complete [2022-05-03T02:45:19.446Z] 0e18a0eac166: Verifying Checksum [2022-05-03T02:45:19.446Z] 0e18a0eac166: Download complete [2022-05-03T02:45:19.446Z] 4fe6c5a15a65: Verifying Checksum [2022-05-03T02:45:19.447Z] 4fe6c5a15a65: Download complete [2022-05-03T02:45:23.652Z] 4fe6c5a15a65: Pull complete [2022-05-03T02:45:23.652Z] 22a0e8bec74d: Pull complete [2022-05-03T02:45:23.652Z] ca2b28591e48: Pull complete [2022-05-03T02:45:23.652Z] a51346096db8: Pull complete [2022-05-03T02:45:23.652Z] daebc70d1ce1: Pull complete [2022-05-03T02:45:26.193Z] 0e18a0eac166: Pull complete [2022-05-03T02:45:26.193Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-03T02:45:26.193Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-03T02:45:26.193Z] ---> f018257e8ee9 [2022-05-03T02:45:26.193Z] Step 3/10 : ARG MAKE='make build' [2022-05-03T02:45:27.587Z] ---> Running in 52c93ac01170 [2022-05-03T02:45:27.587Z] Removing intermediate container 52c93ac01170 [2022-05-03T02:45:27.587Z] ---> 28798102b377 [2022-05-03T02:45:27.587Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T02:45:27.587Z] ---> Running in 160f82755b62 [2022-05-03T02:45:28.160Z] Removing intermediate container 160f82755b62 [2022-05-03T02:45:28.160Z] ---> b96ee09d8e50 [2022-05-03T02:45:28.160Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-03T02:45:28.160Z] ---> Running in 93ab7ee2b7ea [2022-05-03T02:45:28.426Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-03T02:45:29.371Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-03T02:45:29.631Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-03T02:45:29.631Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-03T02:45:29.631Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-03T02:45:29.892Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-03T02:45:29.892Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-03T02:45:30.153Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-03T02:45:30.153Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-05-03T02:45:30.153Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-03T02:45:30.412Z] Executing busybox-1.34.1-r3.trigger [2022-05-03T02:45:30.412Z] OK: 226 MiB in 60 packages [2022-05-03T02:45:30.673Z] Removing intermediate container 93ab7ee2b7ea [2022-05-03T02:45:30.673Z] ---> 642ad9891118 [2022-05-03T02:45:30.673Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-03T02:45:30.673Z] ---> Running in 06f0da4bf50e [2022-05-03T02:45:30.933Z] Removing intermediate container 06f0da4bf50e [2022-05-03T02:45:30.933Z] ---> 397f3e790f40 [2022-05-03T02:45:30.933Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-03T02:45:30.933Z] ---> e935be8fc5b0 [2022-05-03T02:45:30.933Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T02:45:30.933Z] ---> Running in c0be9ef74e4a [2022-05-03T02:45:32.054Z] Still waiting to schedule task [2022-05-03T02:45:32.055Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-34827’ [2022-05-03T02:45:45.957Z] Removing intermediate container c0be9ef74e4a [2022-05-03T02:45:45.957Z] ---> 6550b96c2c2f [2022-05-03T02:45:45.957Z] Step 9/10 : COPY . . [2022-05-03T02:45:45.957Z] ---> 3c8366a189d4 [2022-05-03T02:45:45.957Z] Step 10/10 : RUN ${MAKE} [2022-05-03T02:45:45.957Z] ---> Running in 166723b0235d [2022-05-03T02:45:45.957Z] noop [2022-05-03T02:45:45.957Z] Removing intermediate container 166723b0235d [2022-05-03T02:45:45.957Z] ---> 0d8e88d1dc3f [2022-05-03T02:45:45.957Z] Successfully built 0d8e88d1dc3f [2022-05-03T02:45:45.957Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T02:45:46.262Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-03T02:45:46.262Z] . [Pipeline] withDockerContainer [2022-05-03T02:45:46.326Z] prd-ubuntu20.04-docker-8c-8g-34836 does not seem to be running inside a container [2022-05-03T02:45:46.364Z] $ 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-03T02:45:46.748Z] $ docker top 3714b988067efbedf3a708225d3e7dbc37ed96410f0ab0970a88313cf77f0a90 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-03T02:45:47.113Z] + go version [2022-05-03T02:45:47.114Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-03T02:45:47.133Z] $ docker stop --time=1 3714b988067efbedf3a708225d3e7dbc37ed96410f0ab0970a88313cf77f0a90 [2022-05-03T02:45:48.479Z] $ docker rm -f 3714b988067efbedf3a708225d3e7dbc37ed96410f0ab0970a88313cf77f0a90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T02:45:48.894Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-03T02:45:48.894Z] . [Pipeline] withDockerContainer [2022-05-03T02:45:48.964Z] prd-ubuntu20.04-docker-8c-8g-34836 does not seem to be running inside a container [2022-05-03T02:45:49.052Z] $ 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-03T02:45:49.484Z] $ docker top f9dbbdc2fd406a52934de516190620987782487fb617a59529c491cbc04ec613 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-03T02:45:49.872Z] + make test [2022-05-03T02:45:49.872Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-03T02:45:50.441Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-03T02:46:00.425Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-03T02:46:00.425Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 46.4% of statements [2022-05-03T02:46:05.709Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-03T02:46:09.002Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-03T02:46:09.002Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-03T02:46:09.002Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-03T02:46:09.588Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-03T02:46:09.605Z] $ docker stop --time=1 f9dbbdc2fd406a52934de516190620987782487fb617a59529c491cbc04ec613 [2022-05-03T02:46:11.672Z] $ docker rm -f f9dbbdc2fd406a52934de516190620987782487fb617a59529c491cbc04ec613 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-03T02:46:12.133Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-03T02:46:12.181Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-03T02:46:12.727Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-03T02:46:13.022Z] + ls -al . [2022-05-03T02:46:13.022Z] total 180 [2022-05-03T02:46:13.022Z] drwxrwxr-x 10 jenkins jenkins 4096 May 3 02:46 . [2022-05-03T02:46:13.022Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 02:44 .. [2022-05-03T02:46:13.022Z] -rw-rw-r-- 1 jenkins jenkins 140 May 3 02:44 .dockerignore [2022-05-03T02:46:13.022Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 02:45 .git [2022-05-03T02:46:13.022Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 02:44 .github [2022-05-03T02:46:13.022Z] -rw-rw-r-- 1 jenkins jenkins 331 May 3 02:44 .gitignore [2022-05-03T02:46:13.022Z] -rw-rw-r-- 1 jenkins jenkins 41 May 3 02:44 .golangci.yml [2022-05-03T02:46:13.022Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 02:45 .semver [2022-05-03T02:46:13.022Z] -rw-rw-r-- 1 jenkins jenkins 9377 May 3 02:44 Attribution.txt [2022-05-03T02:46:13.022Z] -rw-rw-r-- 1 jenkins jenkins 6038 May 3 02:44 CHANGELOG.md [2022-05-03T02:46:13.022Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 3 02:44 Dockerfile [2022-05-03T02:46:13.022Z] -rw-rw-r-- 1 jenkins jenkins 677 May 3 02:44 GOVERNANCE.md [2022-05-03T02:46:13.022Z] -rw-rw-r-- 1 jenkins jenkins 680 May 3 02:44 Jenkinsfile [2022-05-03T02:46:13.022Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 3 02:44 LICENSE [2022-05-03T02:46:13.022Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 3 02:44 Makefile [2022-05-03T02:46:13.022Z] -rw-rw-r-- 1 jenkins jenkins 622 May 3 02:44 OWNERS.md [2022-05-03T02:46:13.022Z] -rw-rw-r-- 1 jenkins jenkins 3680 May 3 02:44 README.md [2022-05-03T02:46:13.022Z] -rw-rw-r-- 1 jenkins jenkins 12 May 3 02:45 VERSION [2022-05-03T02:46:13.022Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 02:44 bin [2022-05-03T02:46:13.022Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 02:44 cmd [2022-05-03T02:46:13.023Z] -rw-r--r-- 1 jenkins jenkins 24065 May 3 02:45 coverage.out [2022-05-03T02:46:13.023Z] -rw-rw-r-- 1 jenkins jenkins 3399 May 3 02:44 go.mod [2022-05-03T02:46:13.023Z] -rw-rw-r-- 1 jenkins jenkins 35440 May 3 02:44 go.sum [2022-05-03T02:46:13.023Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 02:44 internal [2022-05-03T02:46:13.023Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 02:44 simulator [2022-05-03T02:46:13.023Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 02:44 snap [2022-05-03T02:46:13.023Z] -rw-rw-r-- 1 jenkins jenkins 229 May 3 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-03T02:46:13.331Z] + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=0336c9d051e2f73d586bb6c363b90ff6160f5d37 --label arch=amd64 --label version=2.2.0-dev.15 . [2022-05-03T02:46:13.331Z] Sending build context to Docker daemon 5.922MB [2022-05-03T02:46:13.331Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T02:46:13.331Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-03T02:46:13.331Z] ---> 0d8e88d1dc3f [2022-05-03T02:46:13.331Z] Step 3/23 : ARG MAKE='make build' [2022-05-03T02:46:13.331Z] ---> Running in c4da86575ca8 [2022-05-03T02:46:13.594Z] Removing intermediate container c4da86575ca8 [2022-05-03T02:46:13.594Z] ---> 322943f9da67 [2022-05-03T02:46:13.594Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T02:46:13.594Z] ---> Running in 433f28c164e0 [2022-05-03T02:46:14.165Z] Removing intermediate container 433f28c164e0 [2022-05-03T02:46:14.165Z] ---> 469895b1e9ca [2022-05-03T02:46:14.165Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-03T02:46:14.425Z] ---> Running in d97626a47c89 [2022-05-03T02:46:14.684Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-03T02:46:15.627Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-03T02:46:15.627Z] OK: 226 MiB in 60 packages [2022-05-03T02:46:16.197Z] Removing intermediate container d97626a47c89 [2022-05-03T02:46:16.197Z] ---> b1cca81af17d [2022-05-03T02:46:16.197Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-03T02:46:16.197Z] ---> Running in 4ccadcc396fb [2022-05-03T02:46:16.197Z] Removing intermediate container 4ccadcc396fb [2022-05-03T02:46:16.197Z] ---> 7ba9f5cbfaac [2022-05-03T02:46:16.197Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-03T02:46:16.459Z] ---> 6036f916118e [2022-05-03T02:46:16.459Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T02:46:16.459Z] ---> Running in dbb822c201e2 [2022-05-03T02:46:17.032Z] Removing intermediate container dbb822c201e2 [2022-05-03T02:46:17.032Z] ---> 0c710475b393 [2022-05-03T02:46:17.032Z] Step 9/23 : COPY . . [2022-05-03T02:46:17.294Z] ---> 99d445807159 [2022-05-03T02:46:17.294Z] Step 10/23 : RUN ${MAKE} [2022-05-03T02:46:17.294Z] ---> Running in c8d591639d73 [2022-05-03T02:46:17.554Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-05-03T02:46:39.505Z] Removing intermediate container c8d591639d73 [2022-05-03T02:46:39.505Z] ---> 6d3b3984ad96 [2022-05-03T02:46:39.505Z] Step 11/23 : FROM alpine:3.14 [2022-05-03T02:46:39.505Z] 3.14: Pulling from library/alpine [2022-05-03T02:46:39.505Z] 8663204ce13b: Pulling fs layer [2022-05-03T02:46:39.505Z] 8663204ce13b: Download complete [2022-05-03T02:46:39.505Z] 8663204ce13b: Pull complete [2022-05-03T02:46:39.505Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-03T02:46:39.505Z] Status: Downloaded newer image for alpine:3.14 [2022-05-03T02:46:39.505Z] ---> e04c818066af [2022-05-03T02:46:39.505Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-03T02:46:39.505Z] ---> Running in 3fb61fefc25c [2022-05-03T02:46:39.505Z] Removing intermediate container 3fb61fefc25c [2022-05-03T02:46:39.505Z] ---> 1dbecb9de61e [2022-05-03T02:46:39.505Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T02:46:39.505Z] ---> Running in 668a8a21b8aa [2022-05-03T02:46:39.505Z] Removing intermediate container 668a8a21b8aa [2022-05-03T02:46:39.505Z] ---> ea114e1fd01d [2022-05-03T02:46:39.505Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-03T02:46:39.505Z] ---> Running in d566b15701dd [2022-05-03T02:46:39.505Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-03T02:46:39.505Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-03T02:46:39.765Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-03T02:46:39.765Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-03T02:46:40.026Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-03T02:46:40.026Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-03T02:46:40.026Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-03T02:46:40.285Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-03T02:46:40.285Z] Executing busybox-1.33.1-r7.trigger [2022-05-03T02:46:40.285Z] OK: 8 MiB in 20 packages [2022-05-03T02:46:40.856Z] Removing intermediate container d566b15701dd [2022-05-03T02:46:40.856Z] ---> 3c9941b81267 [2022-05-03T02:46:40.856Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-03T02:46:41.429Z] ---> 6e527607dfd5 [2022-05-03T02:46:41.429Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-03T02:46:41.429Z] ---> 33a7e59ab379 [2022-05-03T02:46:41.429Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-03T02:46:41.691Z] ---> 4df82d24871a [2022-05-03T02:46:41.691Z] Step 18/23 : EXPOSE 59901 [2022-05-03T02:46:41.691Z] ---> Running in de3655a42ebe [2022-05-03T02:46:41.691Z] Removing intermediate container de3655a42ebe [2022-05-03T02:46:41.691Z] ---> b944d78e289d [2022-05-03T02:46:41.691Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-03T02:46:41.691Z] ---> Running in b22a341c06d8 [2022-05-03T02:46:41.953Z] Removing intermediate container b22a341c06d8 [2022-05-03T02:46:41.953Z] ---> 57062b693fd6 [2022-05-03T02:46:41.953Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-03T02:46:41.953Z] ---> Running in 62809f44cb0b [2022-05-03T02:46:41.953Z] Removing intermediate container 62809f44cb0b [2022-05-03T02:46:41.953Z] ---> aa508f616a73 [2022-05-03T02:46:41.953Z] Step 21/23 : LABEL arch=amd64 [2022-05-03T02:46:41.953Z] ---> Running in 039e5d359d0c [2022-05-03T02:46:42.217Z] Removing intermediate container 039e5d359d0c [2022-05-03T02:46:42.217Z] ---> 70f9f7c942c7 [2022-05-03T02:46:42.217Z] Step 22/23 : LABEL git_sha=0336c9d051e2f73d586bb6c363b90ff6160f5d37 [2022-05-03T02:46:42.217Z] ---> Running in 7b70ad761b15 [2022-05-03T02:46:42.217Z] Removing intermediate container 7b70ad761b15 [2022-05-03T02:46:42.217Z] ---> d2682589fbb8 [2022-05-03T02:46:42.217Z] Step 23/23 : LABEL version=2.2.0-dev.15 [2022-05-03T02:46:42.477Z] ---> Running in ca1cae2786ec [2022-05-03T02:46:42.477Z] Removing intermediate container ca1cae2786ec [2022-05-03T02:46:42.477Z] ---> b106a0b9eafd [2022-05-03T02:46:42.477Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-03T02:46:42.477Z] Successfully built b106a0b9eafd [2022-05-03T02:46:42.477Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T02:46:42.584Z] provisioning config files... [2022-05-03T02:46:42.595Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7898581650085030584tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T02:46:42.902Z] ---> docker-login.sh [2022-05-03T02:46:42.902Z] nexus3.edgexfoundry.org:10001 [2022-05-03T02:46:42.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T02:46:42.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T02:46:42.902Z] Configure a credential helper to remove this warning. See [2022-05-03T02:46:42.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T02:46:42.902Z] [2022-05-03T02:46:42.902Z] Login Succeeded [2022-05-03T02:46:42.902Z] nexus3.edgexfoundry.org:10002 [2022-05-03T02:46:42.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T02:46:43.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T02:46:43.163Z] Configure a credential helper to remove this warning. See [2022-05-03T02:46:43.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T02:46:43.163Z] [2022-05-03T02:46:43.163Z] Login Succeeded [2022-05-03T02:46:43.163Z] nexus3.edgexfoundry.org:10003 [2022-05-03T02:46:43.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T02:46:43.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T02:46:43.163Z] Configure a credential helper to remove this warning. See [2022-05-03T02:46:43.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T02:46:43.163Z] [2022-05-03T02:46:43.163Z] Login Succeeded [2022-05-03T02:46:43.163Z] nexus3.edgexfoundry.org:10004 [2022-05-03T02:46:43.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T02:46:43.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T02:46:43.424Z] Configure a credential helper to remove this warning. See [2022-05-03T02:46:43.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T02:46:43.424Z] [2022-05-03T02:46:43.424Z] Login Succeeded [2022-05-03T02:46:43.424Z] docker.io [2022-05-03T02:46:43.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T02:46:43.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T02:46:43.686Z] Configure a credential helper to remove this warning. See [2022-05-03T02:46:43.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T02:46:43.686Z] [2022-05-03T02:46:43.686Z] Login Succeeded [2022-05-03T02:46:43.686Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T02:46:43.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-03T02:46:43.734Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-03T02:46:43.767Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-05-03T02:46:43.767Z] 0336c9d051e2f73d586bb6c363b90ff6160f5d37 [2022-05-03T02:46:43.767Z] latest [2022-05-03T02:46:43.767Z] 2.2.0-dev.15 [2022-05-03T02:46:43.767Z] 0336c9d051e2f73d586bb6c363b90ff6160f5d37-2.2.0-dev.15 [2022-05-03T02:46:43.767Z] main [2022-05-03T02:46:43.767Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T02:46:44.095Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0336c9d051e2f73d586bb6c363b90ff6160f5d37 [Pipeline] isUnix [Pipeline] sh [2022-05-03T02:46:44.395Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:0336c9d051e2f73d586bb6c363b90ff6160f5d37 [2022-05-03T02:46:44.395Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-03T02:46:44.395Z] 186cc8e5eddd: Preparing [2022-05-03T02:46:44.395Z] 1bf9ab322d12: Preparing [2022-05-03T02:46:44.395Z] 893552f93cd1: Preparing [2022-05-03T02:46:44.395Z] ad1a8725e5d1: Preparing [2022-05-03T02:46:44.395Z] 06e9b7cf988e: Preparing [2022-05-03T02:46:44.395Z] b541d28bf3b4: Preparing [2022-05-03T02:46:44.395Z] b541d28bf3b4: Waiting [2022-05-03T02:46:44.395Z] 186cc8e5eddd: Pushed [2022-05-03T02:46:44.395Z] 1bf9ab322d12: Pushed [2022-05-03T02:46:44.395Z] 06e9b7cf988e: Pushed [2022-05-03T02:46:44.395Z] b541d28bf3b4: Layer already exists [2022-05-03T02:46:44.661Z] ad1a8725e5d1: Pushed [2022-05-03T02:46:47.212Z] 893552f93cd1: Pushed [2022-05-03T02:46:47.474Z] 0336c9d051e2f73d586bb6c363b90ff6160f5d37: digest: sha256:d93b4aa6d64a54854193fd0bc1615475b08e05626e1da60e0791cffb9d00775a size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-03T02:46:47.776Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T02:46:48.071Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-05-03T02:46:48.072Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-03T02:46:48.072Z] 186cc8e5eddd: Preparing [2022-05-03T02:46:48.072Z] 1bf9ab322d12: Preparing [2022-05-03T02:46:48.072Z] 893552f93cd1: Preparing [2022-05-03T02:46:48.072Z] ad1a8725e5d1: Preparing [2022-05-03T02:46:48.072Z] 06e9b7cf988e: Preparing [2022-05-03T02:46:48.072Z] b541d28bf3b4: Preparing [2022-05-03T02:46:48.072Z] b541d28bf3b4: Waiting [2022-05-03T02:46:48.072Z] 1bf9ab322d12: Layer already exists [2022-05-03T02:46:48.072Z] 893552f93cd1: Layer already exists [2022-05-03T02:46:48.072Z] 06e9b7cf988e: Layer already exists [2022-05-03T02:46:48.072Z] 186cc8e5eddd: Layer already exists [2022-05-03T02:46:48.072Z] ad1a8725e5d1: Layer already exists [2022-05-03T02:46:48.072Z] b541d28bf3b4: Layer already exists [2022-05-03T02:46:48.072Z] latest: digest: sha256:d93b4aa6d64a54854193fd0bc1615475b08e05626e1da60e0791cffb9d00775a size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-03T02:46:48.371Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh [2022-05-03T02:46:48.668Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.15 [2022-05-03T02:46:48.668Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-03T02:46:48.668Z] 186cc8e5eddd: Preparing [2022-05-03T02:46:48.668Z] 1bf9ab322d12: Preparing [2022-05-03T02:46:48.668Z] 893552f93cd1: Preparing [2022-05-03T02:46:48.668Z] ad1a8725e5d1: Preparing [2022-05-03T02:46:48.668Z] 06e9b7cf988e: Preparing [2022-05-03T02:46:48.668Z] b541d28bf3b4: Preparing [2022-05-03T02:46:48.668Z] b541d28bf3b4: Waiting [2022-05-03T02:46:48.668Z] 186cc8e5eddd: Layer already exists [2022-05-03T02:46:48.668Z] 06e9b7cf988e: Layer already exists [2022-05-03T02:46:48.668Z] 1bf9ab322d12: Layer already exists [2022-05-03T02:46:48.668Z] 893552f93cd1: Layer already exists [2022-05-03T02:46:48.668Z] ad1a8725e5d1: Layer already exists [2022-05-03T02:46:48.668Z] b541d28bf3b4: Layer already exists [2022-05-03T02:46:48.668Z] 2.2.0-dev.15: digest: sha256:d93b4aa6d64a54854193fd0bc1615475b08e05626e1da60e0791cffb9d00775a size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-03T02:46:48.970Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0336c9d051e2f73d586bb6c363b90ff6160f5d37-2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh [2022-05-03T02:46:49.268Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:0336c9d051e2f73d586bb6c363b90ff6160f5d37-2.2.0-dev.15 [2022-05-03T02:46:49.268Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-03T02:46:49.268Z] 186cc8e5eddd: Preparing [2022-05-03T02:46:49.268Z] 1bf9ab322d12: Preparing [2022-05-03T02:46:49.268Z] 893552f93cd1: Preparing [2022-05-03T02:46:49.268Z] ad1a8725e5d1: Preparing [2022-05-03T02:46:49.268Z] 06e9b7cf988e: Preparing [2022-05-03T02:46:49.268Z] b541d28bf3b4: Preparing [2022-05-03T02:46:49.268Z] b541d28bf3b4: Waiting [2022-05-03T02:46:49.268Z] 06e9b7cf988e: Layer already exists [2022-05-03T02:46:49.268Z] 186cc8e5eddd: Layer already exists [2022-05-03T02:46:49.268Z] 1bf9ab322d12: Layer already exists [2022-05-03T02:46:49.268Z] 893552f93cd1: Layer already exists [2022-05-03T02:46:49.268Z] ad1a8725e5d1: Layer already exists [2022-05-03T02:46:49.268Z] b541d28bf3b4: Layer already exists [2022-05-03T02:46:49.268Z] 0336c9d051e2f73d586bb6c363b90ff6160f5d37-2.2.0-dev.15: digest: sha256:d93b4aa6d64a54854193fd0bc1615475b08e05626e1da60e0791cffb9d00775a size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-03T02:46:49.581Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2022-05-03T02:46:49.877Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-05-03T02:46:49.877Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-03T02:46:49.877Z] 186cc8e5eddd: Preparing [2022-05-03T02:46:49.877Z] 1bf9ab322d12: Preparing [2022-05-03T02:46:49.877Z] 893552f93cd1: Preparing [2022-05-03T02:46:49.877Z] ad1a8725e5d1: Preparing [2022-05-03T02:46:49.877Z] 06e9b7cf988e: Preparing [2022-05-03T02:46:49.877Z] b541d28bf3b4: Preparing [2022-05-03T02:46:49.877Z] b541d28bf3b4: Waiting [2022-05-03T02:46:49.877Z] 893552f93cd1: Layer already exists [2022-05-03T02:46:49.877Z] ad1a8725e5d1: Layer already exists [2022-05-03T02:46:49.877Z] 1bf9ab322d12: Layer already exists [2022-05-03T02:46:49.877Z] 06e9b7cf988e: Layer already exists [2022-05-03T02:46:49.877Z] 186cc8e5eddd: Layer already exists [2022-05-03T02:46:49.877Z] b541d28bf3b4: Layer already exists [2022-05-03T02:46:49.877Z] main: digest: sha256:d93b4aa6d64a54854193fd0bc1615475b08e05626e1da60e0791cffb9d00775a size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-03T02:46:49.919Z] ===================================================== [Pipeline] echo [2022-05-03T02:46:49.929Z] taggedImages: [2022-05-03T02:46:49.929Z] - nexus3.edgexfoundry.org:10004/device-modbus:0336c9d051e2f73d586bb6c363b90ff6160f5d37 [2022-05-03T02:46:49.929Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-05-03T02:46:49.929Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.15 [2022-05-03T02:46:49.929Z] - nexus3.edgexfoundry.org:10004/device-modbus:0336c9d051e2f73d586bb6c363b90ff6160f5d37-2.2.0-dev.15 [2022-05-03T02:46:49.929Z] - 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-03T02:46:50.313Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T02:46:50.313Z] [2022-05-03T02:46:50.313Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T02:46:50.625Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T02:46:50.625Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-03T02:46:50.625Z] 5eb5b503b376: Pulling fs layer [2022-05-03T02:46:50.625Z] 5c69ac0246d0: Pulling fs layer [2022-05-03T02:46:50.625Z] ec43610c2a17: Pulling fs layer [2022-05-03T02:46:50.625Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-03T02:46:50.625Z] 33b1e0a273af: Pulling fs layer [2022-05-03T02:46:50.625Z] 5d3b04190fa2: Pulling fs layer [2022-05-03T02:46:50.625Z] 2f39f015ded8: Pulling fs layer [2022-05-03T02:46:50.625Z] 5d3b04190fa2: Waiting [2022-05-03T02:46:50.625Z] 33b1e0a273af: Waiting [2022-05-03T02:46:50.625Z] 3a2ae6a8a46f: Waiting [2022-05-03T02:46:50.625Z] 2f39f015ded8: Waiting [2022-05-03T02:46:50.625Z] 5c69ac0246d0: Download complete [2022-05-03T02:46:50.625Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-03T02:46:50.625Z] 3a2ae6a8a46f: Download complete [2022-05-03T02:46:50.625Z] 33b1e0a273af: Verifying Checksum [2022-05-03T02:46:50.625Z] 33b1e0a273af: Download complete [2022-05-03T02:46:50.625Z] 5d3b04190fa2: Download complete [2022-05-03T02:46:50.884Z] ec43610c2a17: Verifying Checksum [2022-05-03T02:46:50.884Z] ec43610c2a17: Download complete [2022-05-03T02:46:50.884Z] 5eb5b503b376: Download complete [2022-05-03T02:46:51.455Z] 2f39f015ded8: Verifying Checksum [2022-05-03T02:46:51.455Z] 2f39f015ded8: Download complete [2022-05-03T02:46:52.025Z] 5eb5b503b376: Pull complete [2022-05-03T02:46:52.285Z] 5c69ac0246d0: Pull complete [2022-05-03T02:46:52.855Z] ec43610c2a17: Pull complete [2022-05-03T02:46:52.855Z] 3a2ae6a8a46f: Pull complete [2022-05-03T02:46:53.115Z] 33b1e0a273af: Pull complete [2022-05-03T02:46:53.115Z] 5d3b04190fa2: Pull complete [2022-05-03T02:46:58.398Z] 2f39f015ded8: Pull complete [2022-05-03T02:46:58.399Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-03T02:46:58.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T02:46:58.399Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-03T02:46:58.494Z] prd-ubuntu20.04-docker-8c-8g-34836 does not seem to be running inside a container [2022-05-03T02:46:58.628Z] $ 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-03T02:47:00.419Z] $ docker top db1bd6a352b8d06ee538efb230df7efbfb7fde0544e68f983d9d7e29286ecf13 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T02:47:00.822Z] ---> job-cost.sh [2022-05-03T02:47:00.822Z] lf-activate-venv: SKIPPING [2022-05-03T02:47:00.822Z] INFO: No Stack... [2022-05-03T02:47:01.084Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-03T02:47:01.657Z] INFO: Archiving Costs [Pipeline] sh [2022-05-03T02:47:01.950Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-05-03T02:47:01.951Z] + cut -d, -f6 [Pipeline] lock [2022-05-03T02:47:01.968Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-33-stack-cost] [2022-05-03T02:47:01.974Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-33-stack-cost] did not exist. Created. [2022-05-03T02:47:01.974Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-03T02:47:02.294Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-03T02:47:02.323Z] Stashed 1 file(s) [Pipeline] } [2022-05-03T02:47:02.334Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-33-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-03T02:47:02.363Z] $ docker stop --time=1 db1bd6a352b8d06ee538efb230df7efbfb7fde0544e68f983d9d7e29286ecf13 [2022-05-03T02:47:03.566Z] $ docker rm -f db1bd6a352b8d06ee538efb230df7efbfb7fde0544e68f983d9d7e29286ecf13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-03T03:54:41.404Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-39491 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-05-03T03:54:41.418Z] Running in /w/workspace/device-modbus-go/33 [Pipeline] { [Pipeline] checkout [2022-05-03T03:54:41.688Z] Selected Git installation does not exist. Using Default [2022-05-03T03:54:41.688Z] The recommended git tool is: NONE [2022-05-03T03:54:46.961Z] using credential edgex-jenkins-ssh [2022-05-03T03:54:46.980Z] Cloning the remote Git repository [2022-05-03T03:54:47.039Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-05-03T03:54:47.115Z] > git init /w/workspace/device-modbus-go/33 # timeout=10 [2022-05-03T03:54:47.213Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-05-03T03:54:47.214Z] > git --version # timeout=10 [2022-05-03T03:54:47.241Z] > git --version # 'git version 2.25.1' [2022-05-03T03:54:47.243Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-03T03:54:47.359Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-03T03:54:48.457Z] Avoid second fetch [2022-05-03T03:54:48.458Z] Checking out Revision 0336c9d051e2f73d586bb6c363b90ff6160f5d37 (main) [2022-05-03T03:54:48.422Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-05-03T03:54:48.442Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-03T03:54:48.480Z] > git config core.sparsecheckout # timeout=10 [2022-05-03T03:54:48.493Z] > git checkout -f 0336c9d051e2f73d586bb6c363b90ff6160f5d37 # timeout=10 [2022-05-03T03:54:52.634Z] Commit message: "Merge pull request #340 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.35" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-03T03:54:53.543Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-03T03:54:53.543Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-03T03:54:53.543Z] Dload Upload Total Spent Left Speed [2022-05-03T03:54:53.543Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 98691 0 --:--:-- --:--:-- --:--:-- 98691 [Pipeline] sh [2022-05-03T03:54:54.082Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-03T03:54:54.433Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-03T03:54:54.433Z] + sudo tee /etc/docker/daemon.new [2022-05-03T03:54:54.433Z] { [2022-05-03T03:54:54.433Z] "registry-mirrors": [ [2022-05-03T03:54:54.433Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-03T03:54:54.433Z] ], [2022-05-03T03:54:54.433Z] "bip": "10.250.0.254/24", [2022-05-03T03:54:54.433Z] "hosts": [ [2022-05-03T03:54:54.433Z] "tcp://0.0.0.0:5555", [2022-05-03T03:54:54.433Z] "unix:///var/run/docker.sock" [2022-05-03T03:54:54.433Z] ], [2022-05-03T03:54:54.433Z] "mtu": 1458, [2022-05-03T03:54:54.433Z] "selinux-enabled": true, [2022-05-03T03:54:54.433Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-03T03:54:54.433Z] } [Pipeline] sh [2022-05-03T03:54:54.787Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-03T03:54:55.139Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T03:55:13.505Z] provisioning config files... [2022-05-03T03:55:13.528Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/33@tmp/config1342043013740496345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T03:55:13.898Z] ---> docker-login.sh [2022-05-03T03:55:13.898Z] nexus3.edgexfoundry.org:10001 [2022-05-03T03:55:14.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:55:14.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:55:14.767Z] Configure a credential helper to remove this warning. See [2022-05-03T03:55:14.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:55:14.767Z] [2022-05-03T03:55:14.767Z] Login Succeeded [2022-05-03T03:55:14.767Z] nexus3.edgexfoundry.org:10002 [2022-05-03T03:55:15.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:55:15.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:55:15.040Z] Configure a credential helper to remove this warning. See [2022-05-03T03:55:15.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:55:15.040Z] [2022-05-03T03:55:15.040Z] Login Succeeded [2022-05-03T03:55:15.040Z] nexus3.edgexfoundry.org:10003 [2022-05-03T03:55:15.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:55:15.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:55:15.586Z] Configure a credential helper to remove this warning. See [2022-05-03T03:55:15.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:55:15.586Z] [2022-05-03T03:55:15.586Z] Login Succeeded [2022-05-03T03:55:15.586Z] nexus3.edgexfoundry.org:10004 [2022-05-03T03:55:15.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:55:15.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:55:15.861Z] Configure a credential helper to remove this warning. See [2022-05-03T03:55:15.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:55:15.861Z] [2022-05-03T03:55:15.861Z] Login Succeeded [2022-05-03T03:55:15.861Z] docker.io [2022-05-03T03:55:16.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:55:16.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:55:16.725Z] Configure a credential helper to remove this warning. See [2022-05-03T03:55:16.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:55:16.725Z] [2022-05-03T03:55:16.725Z] Login Succeeded [2022-05-03T03:55:16.725Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T03:55:16.741Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-03T03:55:17.239Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-03T03:55:17.251Z] ========================================================= [2022-05-03T03:55:17.251Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-03T03:55:17.251Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:55:17.603Z] + 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-03T03:55:17.874Z] Sending build context to Docker daemon 3.077MB [2022-05-03T03:55:17.874Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T03:55:17.874Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-03T03:55:18.153Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-03T03:55:18.153Z] 9b3977197b4f: Pulling fs layer [2022-05-03T03:55:18.153Z] 1a89e8eeedd5: Pulling fs layer [2022-05-03T03:55:18.153Z] 94645a83ff95: Pulling fs layer [2022-05-03T03:55:18.153Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-03T03:55:18.153Z] 0c92f367c5e7: Pulling fs layer [2022-05-03T03:55:18.153Z] 3096ccb668a1: Pulling fs layer [2022-05-03T03:55:18.153Z] e8cf19c19ddd: Pulling fs layer [2022-05-03T03:55:18.153Z] a4caa8a26152: Pulling fs layer [2022-05-03T03:55:18.153Z] 3f3a8bcf1eab: Waiting [2022-05-03T03:55:18.153Z] 0c92f367c5e7: Waiting [2022-05-03T03:55:18.153Z] 3096ccb668a1: Waiting [2022-05-03T03:55:18.153Z] e8cf19c19ddd: Waiting [2022-05-03T03:55:18.153Z] a4caa8a26152: Waiting [2022-05-03T03:55:18.153Z] 94645a83ff95: Verifying Checksum [2022-05-03T03:55:18.153Z] 94645a83ff95: Download complete [2022-05-03T03:55:18.153Z] 1a89e8eeedd5: Verifying Checksum [2022-05-03T03:55:18.153Z] 1a89e8eeedd5: Download complete [2022-05-03T03:55:18.153Z] 0c92f367c5e7: Verifying Checksum [2022-05-03T03:55:18.153Z] 0c92f367c5e7: Download complete [2022-05-03T03:55:18.153Z] 3096ccb668a1: Verifying Checksum [2022-05-03T03:55:18.153Z] 3096ccb668a1: Download complete [2022-05-03T03:55:18.153Z] 9b3977197b4f: Verifying Checksum [2022-05-03T03:55:18.153Z] 9b3977197b4f: Download complete [2022-05-03T03:55:18.153Z] e8cf19c19ddd: Verifying Checksum [2022-05-03T03:55:18.153Z] e8cf19c19ddd: Download complete [2022-05-03T03:55:19.141Z] 9b3977197b4f: Pull complete [2022-05-03T03:55:19.748Z] 1a89e8eeedd5: Pull complete [2022-05-03T03:55:19.748Z] 94645a83ff95: Pull complete [2022-05-03T03:55:20.346Z] a4caa8a26152: Verifying Checksum [2022-05-03T03:55:20.346Z] a4caa8a26152: Download complete [2022-05-03T03:55:20.628Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-03T03:55:20.628Z] 3f3a8bcf1eab: Download complete [2022-05-03T03:55:33.031Z] 3f3a8bcf1eab: Pull complete [2022-05-03T03:55:33.031Z] 0c92f367c5e7: Pull complete [2022-05-03T03:55:33.305Z] 3096ccb668a1: Pull complete [2022-05-03T03:55:33.579Z] e8cf19c19ddd: Pull complete [2022-05-03T03:55:40.301Z] a4caa8a26152: Pull complete [2022-05-03T03:55:40.301Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-03T03:55:40.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-03T03:55:40.301Z] ---> 725f1c02e7f9 [2022-05-03T03:55:40.301Z] Step 3/10 : ARG MAKE='make build' [2022-05-03T03:55:40.301Z] ---> Running in 4b31291786fc [2022-05-03T03:55:40.575Z] Removing intermediate container 4b31291786fc [2022-05-03T03:55:40.575Z] ---> d037cd23fcd2 [2022-05-03T03:55:40.575Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T03:55:40.849Z] ---> Running in 484afe3a3f09 [2022-05-03T03:55:42.842Z] Removing intermediate container 484afe3a3f09 [2022-05-03T03:55:42.842Z] ---> 49240e960de4 [2022-05-03T03:55:42.842Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-03T03:55:42.842Z] ---> Running in be5c27055e78 [2022-05-03T03:55:43.443Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-03T03:55:44.436Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-03T03:55:45.425Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-03T03:55:45.425Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-03T03:55:45.425Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-03T03:55:45.701Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-03T03:55:45.701Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-03T03:55:45.701Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-03T03:55:45.976Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-05-03T03:55:45.976Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-03T03:55:45.976Z] Executing busybox-1.34.1-r3.trigger [2022-05-03T03:55:46.262Z] OK: 226 MiB in 60 packages [2022-05-03T03:55:47.255Z] Removing intermediate container be5c27055e78 [2022-05-03T03:55:47.255Z] ---> 6a6cceb14eb1 [2022-05-03T03:55:47.255Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-03T03:55:47.255Z] ---> Running in e0d6b6f61f81 [2022-05-03T03:55:47.530Z] Removing intermediate container e0d6b6f61f81 [2022-05-03T03:55:47.530Z] ---> f66675ebb7b6 [2022-05-03T03:55:47.530Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-03T03:55:48.137Z] ---> f84a09ec0537 [2022-05-03T03:55:48.137Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T03:55:48.137Z] ---> Running in 82188623043c [2022-05-03T03:56:35.154Z] Removing intermediate container 82188623043c [2022-05-03T03:56:35.154Z] ---> 27d42651745f [2022-05-03T03:56:35.154Z] Step 9/10 : COPY . . [2022-05-03T03:56:35.154Z] ---> 242bbc59c489 [2022-05-03T03:56:35.154Z] Step 10/10 : RUN ${MAKE} [2022-05-03T03:56:35.154Z] ---> Running in e46f4881cb45 [2022-05-03T03:56:35.154Z] noop [2022-05-03T03:56:35.154Z] Removing intermediate container e46f4881cb45 [2022-05-03T03:56:35.154Z] ---> e5455cb101be [2022-05-03T03:56:35.154Z] Successfully built e5455cb101be [2022-05-03T03:56:35.154Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:56:35.502Z] + docker inspect -f . ci-base-image-arm64 [2022-05-03T03:56:35.502Z] . [Pipeline] withDockerContainer [2022-05-03T03:56:35.730Z] prd-ubuntu20.04-docker-arm64-4c-16g-39491 does not seem to be running inside a container [2022-05-03T03:56:35.819Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/33 -v /w/workspace/device-modbus-go/33:/w/workspace/device-modbus-go/33:rw,z -v /w/workspace/device-modbus-go/33@tmp:/w/workspace/device-modbus-go/33@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-arm64 cat [2022-05-03T03:56:37.076Z] $ docker top f6878aa0bcf82729badb491f63b3785dcdc14a28c1a017b33e4b45a8f9abdbac -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-03T03:56:37.985Z] + go version [2022-05-03T03:56:37.985Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-03T03:56:38.019Z] $ docker stop --time=1 f6878aa0bcf82729badb491f63b3785dcdc14a28c1a017b33e4b45a8f9abdbac [2022-05-03T03:56:39.646Z] $ docker rm -f f6878aa0bcf82729badb491f63b3785dcdc14a28c1a017b33e4b45a8f9abdbac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:56:40.250Z] + docker inspect -f . ci-base-image-arm64 [2022-05-03T03:56:40.250Z] . [Pipeline] withDockerContainer [2022-05-03T03:56:40.483Z] prd-ubuntu20.04-docker-arm64-4c-16g-39491 does not seem to be running inside a container [2022-05-03T03:56:40.578Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/33 -v /w/workspace/device-modbus-go/33:/w/workspace/device-modbus-go/33:rw,z -v /w/workspace/device-modbus-go/33@tmp:/w/workspace/device-modbus-go/33@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-arm64 cat [2022-05-03T03:56:41.833Z] $ docker top 886733f7bb410e1489f85dea66d52afb737dc164452155b4ecba6cf56c00af40 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-03T03:56:42.756Z] + make test [2022-05-03T03:56:42.756Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-03T03:56:44.736Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-03T03:58:06.598Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-03T03:58:06.598Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.055s coverage: 46.4% of statements [2022-05-03T03:58:06.598Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-03T03:58:06.598Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-03T03:58:28.814Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-03T03:58:28.814Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-03T03:58:28.814Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-03T03:58:30.271Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-03T03:58:30.296Z] $ docker stop --time=1 886733f7bb410e1489f85dea66d52afb737dc164452155b4ecba6cf56c00af40 [2022-05-03T03:58:32.085Z] $ docker rm -f 886733f7bb410e1489f85dea66d52afb737dc164452155b4ecba6cf56c00af40 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-03T03:58:33.050Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-03T03:58:33.072Z] Warning: overwriting stash ‘coverage-report’ [2022-05-03T03:58:33.534Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-03T03:58:33.944Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-03T03:58:34.283Z] + ls -al . [2022-05-03T03:58:34.283Z] total 176 [2022-05-03T03:58:34.283Z] drwxrwxr-x 9 jenkins jenkins 4096 May 3 03:58 . [2022-05-03T03:58:34.283Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 03:54 .. [2022-05-03T03:58:34.283Z] -rw-rw-r-- 1 jenkins jenkins 140 May 3 03:54 .dockerignore [2022-05-03T03:58:34.283Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 03:54 .git [2022-05-03T03:58:34.283Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:54 .github [2022-05-03T03:58:34.283Z] -rw-rw-r-- 1 jenkins jenkins 331 May 3 03:54 .gitignore [2022-05-03T03:58:34.283Z] -rw-rw-r-- 1 jenkins jenkins 41 May 3 03:54 .golangci.yml [2022-05-03T03:58:34.283Z] -rw-rw-r-- 1 jenkins jenkins 9377 May 3 03:54 Attribution.txt [2022-05-03T03:58:34.283Z] -rw-rw-r-- 1 jenkins jenkins 6038 May 3 03:54 CHANGELOG.md [2022-05-03T03:58:34.283Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 3 03:54 Dockerfile [2022-05-03T03:58:34.283Z] -rw-rw-r-- 1 jenkins jenkins 677 May 3 03:54 GOVERNANCE.md [2022-05-03T03:58:34.283Z] -rw-rw-r-- 1 jenkins jenkins 680 May 3 03:54 Jenkinsfile [2022-05-03T03:58:34.283Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 3 03:54 LICENSE [2022-05-03T03:58:34.283Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 3 03:54 Makefile [2022-05-03T03:58:34.283Z] -rw-rw-r-- 1 jenkins jenkins 622 May 3 03:54 OWNERS.md [2022-05-03T03:58:34.283Z] -rw-rw-r-- 1 jenkins jenkins 3680 May 3 03:54 README.md [2022-05-03T03:58:34.283Z] -rw-rw-r-- 1 jenkins jenkins 12 May 3 02:45 VERSION [2022-05-03T03:58:34.283Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 03:54 bin [2022-05-03T03:58:34.283Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:54 cmd [2022-05-03T03:58:34.283Z] -rw-r--r-- 1 jenkins jenkins 24065 May 3 03:57 coverage.out [2022-05-03T03:58:34.283Z] -rw-rw-r-- 1 jenkins jenkins 3399 May 3 03:54 go.mod [2022-05-03T03:58:34.283Z] -rw-rw-r-- 1 jenkins jenkins 35440 May 3 03:54 go.sum [2022-05-03T03:58:34.283Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:54 internal [2022-05-03T03:58:34.283Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 03:54 simulator [2022-05-03T03:58:34.283Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 03:54 snap [2022-05-03T03:58:34.283Z] -rw-rw-r-- 1 jenkins jenkins 229 May 3 03:54 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:58:34.635Z] + 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=0336c9d051e2f73d586bb6c363b90ff6160f5d37 --label arch=arm64 --label version=2.2.0-dev.15 . [2022-05-03T03:58:34.908Z] Sending build context to Docker daemon 3.102MB [2022-05-03T03:58:34.908Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T03:58:34.908Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-03T03:58:34.908Z] ---> e5455cb101be [2022-05-03T03:58:34.908Z] Step 3/23 : ARG MAKE='make build' [2022-05-03T03:58:35.183Z] ---> Running in f3058a6e6db9 [2022-05-03T03:58:35.460Z] Removing intermediate container f3058a6e6db9 [2022-05-03T03:58:35.460Z] ---> ce4798eeacdd [2022-05-03T03:58:35.460Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T03:58:35.460Z] ---> Running in 42cbc8adeb1a [2022-05-03T03:58:37.449Z] Removing intermediate container 42cbc8adeb1a [2022-05-03T03:58:37.449Z] ---> d1e260323c79 [2022-05-03T03:58:37.449Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-03T03:58:37.449Z] ---> Running in a52e4b38a380 [2022-05-03T03:58:38.468Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-03T03:58:39.075Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-03T03:58:40.115Z] OK: 226 MiB in 60 packages [2022-05-03T03:58:41.116Z] Removing intermediate container a52e4b38a380 [2022-05-03T03:58:41.116Z] ---> d39e40d186dd [2022-05-03T03:58:41.116Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-03T03:58:41.116Z] ---> Running in 877b41d8b47a [2022-05-03T03:58:41.116Z] Removing intermediate container 877b41d8b47a [2022-05-03T03:58:41.116Z] ---> 01f0541f089a [2022-05-03T03:58:41.116Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-03T03:58:41.716Z] ---> f981d61c1714 [2022-05-03T03:58:41.716Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T03:58:41.998Z] ---> Running in daf187a91bdf [2022-05-03T03:58:43.977Z] Removing intermediate container daf187a91bdf [2022-05-03T03:58:43.977Z] ---> 0355692b4e7b [2022-05-03T03:58:43.977Z] Step 9/23 : COPY . . [2022-05-03T03:58:44.574Z] ---> cedc8878b2cb [2022-05-03T03:58:44.574Z] Step 10/23 : RUN ${MAKE} [2022-05-03T03:58:44.574Z] ---> Running in 6ea67c0d492c [2022-05-03T03:58:45.559Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-05-03T04:00:52.451Z] Removing intermediate container 6ea67c0d492c [2022-05-03T04:00:52.451Z] ---> 78ec9273f377 [2022-05-03T04:00:52.451Z] Step 11/23 : FROM alpine:3.14 [2022-05-03T04:00:52.451Z] 3.14: Pulling from library/alpine [2022-05-03T04:00:52.451Z] 455c02918c45: Pulling fs layer [2022-05-03T04:00:52.451Z] 455c02918c45: Verifying Checksum [2022-05-03T04:00:52.451Z] 455c02918c45: Download complete [2022-05-03T04:00:52.451Z] 455c02918c45: Pull complete [2022-05-03T04:00:52.451Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-03T04:00:52.451Z] Status: Downloaded newer image for alpine:3.14 [2022-05-03T04:00:52.451Z] ---> ac73e934f311 [2022-05-03T04:00:52.451Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-03T04:00:52.451Z] ---> Running in fa5a1372ee81 [2022-05-03T04:00:52.451Z] Removing intermediate container fa5a1372ee81 [2022-05-03T04:00:52.451Z] ---> 22ccb332e875 [2022-05-03T04:00:52.451Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T04:00:52.451Z] ---> Running in 864223242f06 [2022-05-03T04:00:52.451Z] Removing intermediate container 864223242f06 [2022-05-03T04:00:52.451Z] ---> 7dddf4a6200d [2022-05-03T04:00:52.451Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-03T04:00:52.451Z] ---> Running in 6b5358e6619b [2022-05-03T04:00:52.451Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-03T04:00:52.451Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-03T04:00:52.451Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-03T04:00:52.451Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-03T04:00:52.451Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-03T04:00:52.451Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-03T04:00:52.451Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-03T04:00:52.451Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-03T04:00:52.451Z] Executing busybox-1.33.1-r7.trigger [2022-05-03T04:00:52.451Z] OK: 8 MiB in 20 packages [2022-05-03T04:00:52.451Z] Removing intermediate container 6b5358e6619b [2022-05-03T04:00:52.451Z] ---> 3718f5ee2d7d [2022-05-03T04:00:52.451Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-03T04:00:52.451Z] ---> 8c10fbc30c0c [2022-05-03T04:00:52.451Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-03T04:00:52.451Z] ---> 4f690f342cc2 [2022-05-03T04:00:52.451Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-03T04:00:52.451Z] ---> 8c9cfae39cae [2022-05-03T04:00:52.451Z] Step 18/23 : EXPOSE 59901 [2022-05-03T04:00:52.451Z] ---> Running in b1c37221e600 [2022-05-03T04:00:52.451Z] Removing intermediate container b1c37221e600 [2022-05-03T04:00:52.451Z] ---> 34e848acd4f5 [2022-05-03T04:00:52.451Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-03T04:00:52.451Z] ---> Running in 996b0b795712 [2022-05-03T04:00:52.451Z] Removing intermediate container 996b0b795712 [2022-05-03T04:00:52.451Z] ---> ab95bc5c32fc [2022-05-03T04:00:52.451Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-03T04:00:52.451Z] ---> Running in ff4b58349934 [2022-05-03T04:00:52.451Z] Removing intermediate container ff4b58349934 [2022-05-03T04:00:52.451Z] ---> 00ab52fb77c1 [2022-05-03T04:00:52.451Z] Step 21/23 : LABEL arch=arm64 [2022-05-03T04:00:52.451Z] ---> Running in b9003c4ddf1b [2022-05-03T04:00:52.451Z] Removing intermediate container b9003c4ddf1b [2022-05-03T04:00:52.451Z] ---> 034e25b9a108 [2022-05-03T04:00:52.451Z] Step 22/23 : LABEL git_sha=0336c9d051e2f73d586bb6c363b90ff6160f5d37 [2022-05-03T04:00:52.451Z] ---> Running in a914bb6e9d32 [2022-05-03T04:00:52.451Z] Removing intermediate container a914bb6e9d32 [2022-05-03T04:00:52.451Z] ---> 2f83706a5c6f [2022-05-03T04:00:52.451Z] Step 23/23 : LABEL version=2.2.0-dev.15 [2022-05-03T04:00:52.451Z] ---> Running in fb3c4a1d227e [2022-05-03T04:00:52.452Z] Removing intermediate container fb3c4a1d227e [2022-05-03T04:00:52.452Z] ---> f2343a7db020 [2022-05-03T04:00:52.452Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-03T04:00:52.452Z] Successfully built f2343a7db020 [2022-05-03T04:00:52.452Z] 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-03T04:00:52.657Z] provisioning config files... [2022-05-03T04:00:52.804Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/33@tmp/config2662994974184682734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:00:53.159Z] ---> docker-login.sh [2022-05-03T04:00:53.159Z] nexus3.edgexfoundry.org:10001 [2022-05-03T04:00:53.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:00:53.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:00:53.435Z] Configure a credential helper to remove this warning. See [2022-05-03T04:00:53.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:00:53.435Z] [2022-05-03T04:00:53.435Z] Login Succeeded [2022-05-03T04:00:53.435Z] nexus3.edgexfoundry.org:10002 [2022-05-03T04:00:54.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:00:54.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:00:54.030Z] Configure a credential helper to remove this warning. See [2022-05-03T04:00:54.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:00:54.030Z] [2022-05-03T04:00:54.030Z] Login Succeeded [2022-05-03T04:00:54.030Z] nexus3.edgexfoundry.org:10003 [2022-05-03T04:00:54.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:00:54.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:00:54.577Z] Configure a credential helper to remove this warning. See [2022-05-03T04:00:54.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:00:54.577Z] [2022-05-03T04:00:54.577Z] Login Succeeded [2022-05-03T04:00:54.577Z] nexus3.edgexfoundry.org:10004 [2022-05-03T04:00:54.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:00:54.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:00:54.852Z] Configure a credential helper to remove this warning. See [2022-05-03T04:00:54.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:00:54.852Z] [2022-05-03T04:00:54.852Z] Login Succeeded [2022-05-03T04:00:54.852Z] docker.io [2022-05-03T04:00:55.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:00:55.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:00:55.719Z] Configure a credential helper to remove this warning. See [2022-05-03T04:00:55.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:00:55.719Z] [2022-05-03T04:00:55.719Z] Login Succeeded [2022-05-03T04:00:55.719Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T04:00:55.737Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-03T04:00:55.780Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-03T04:00:55.806Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-05-03T04:00:55.806Z] 0336c9d051e2f73d586bb6c363b90ff6160f5d37 [2022-05-03T04:00:55.806Z] latest [2022-05-03T04:00:55.806Z] 2.2.0-dev.15 [2022-05-03T04:00:55.806Z] 0336c9d051e2f73d586bb6c363b90ff6160f5d37-2.2.0-dev.15 [2022-05-03T04:00:55.806Z] main [2022-05-03T04:00:55.806Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:00:56.166Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0336c9d051e2f73d586bb6c363b90ff6160f5d37 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:00:56.510Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0336c9d051e2f73d586bb6c363b90ff6160f5d37 [2022-05-03T04:00:56.510Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-03T04:00:56.510Z] a6a23c829760: Preparing [2022-05-03T04:00:56.510Z] 20b1ca70c324: Preparing [2022-05-03T04:00:56.510Z] 970c9435e30f: Preparing [2022-05-03T04:00:56.510Z] 97a801d52311: Preparing [2022-05-03T04:00:56.510Z] 647916973733: Preparing [2022-05-03T04:00:56.510Z] f73e7dbfee58: Preparing [2022-05-03T04:00:56.510Z] f73e7dbfee58: Waiting [2022-05-03T04:00:56.806Z] 20b1ca70c324: Pushed [2022-05-03T04:00:56.806Z] 647916973733: Pushed [2022-05-03T04:00:56.806Z] a6a23c829760: Pushed [2022-05-03T04:00:56.806Z] f73e7dbfee58: Layer already exists [2022-05-03T04:00:57.401Z] 97a801d52311: Pushed [2022-05-03T04:01:02.792Z] 970c9435e30f: Pushed [2022-05-03T04:01:02.792Z] 0336c9d051e2f73d586bb6c363b90ff6160f5d37: digest: sha256:5ff2d3d9e0eea6cdba04c0eae89b20d4e1d7a940ba877f984b5cc97c237d44ea size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:01:03.136Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:01:03.474Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-05-03T04:01:03.474Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-03T04:01:03.474Z] a6a23c829760: Preparing [2022-05-03T04:01:03.474Z] 20b1ca70c324: Preparing [2022-05-03T04:01:03.474Z] 970c9435e30f: Preparing [2022-05-03T04:01:03.474Z] 97a801d52311: Preparing [2022-05-03T04:01:03.474Z] 647916973733: Preparing [2022-05-03T04:01:03.474Z] f73e7dbfee58: Preparing [2022-05-03T04:01:03.474Z] f73e7dbfee58: Waiting [2022-05-03T04:01:03.474Z] 20b1ca70c324: Layer already exists [2022-05-03T04:01:03.474Z] 647916973733: Layer already exists [2022-05-03T04:01:03.474Z] 97a801d52311: Layer already exists [2022-05-03T04:01:03.474Z] a6a23c829760: Layer already exists [2022-05-03T04:01:03.474Z] 970c9435e30f: Layer already exists [2022-05-03T04:01:03.474Z] f73e7dbfee58: Layer already exists [2022-05-03T04:01:03.748Z] latest: digest: sha256:5ff2d3d9e0eea6cdba04c0eae89b20d4e1d7a940ba877f984b5cc97c237d44ea size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:01:04.088Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:01:04.423Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.15 [2022-05-03T04:01:04.423Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-03T04:01:04.423Z] a6a23c829760: Preparing [2022-05-03T04:01:04.423Z] 20b1ca70c324: Preparing [2022-05-03T04:01:04.423Z] 970c9435e30f: Preparing [2022-05-03T04:01:04.423Z] 97a801d52311: Preparing [2022-05-03T04:01:04.423Z] 647916973733: Preparing [2022-05-03T04:01:04.423Z] f73e7dbfee58: Preparing [2022-05-03T04:01:04.423Z] f73e7dbfee58: Waiting [2022-05-03T04:01:04.423Z] 20b1ca70c324: Layer already exists [2022-05-03T04:01:04.423Z] 647916973733: Layer already exists [2022-05-03T04:01:04.423Z] 97a801d52311: Layer already exists [2022-05-03T04:01:04.423Z] 970c9435e30f: Layer already exists [2022-05-03T04:01:04.423Z] a6a23c829760: Layer already exists [2022-05-03T04:01:04.423Z] f73e7dbfee58: Layer already exists [2022-05-03T04:01:04.702Z] 2.2.0-dev.15: digest: sha256:5ff2d3d9e0eea6cdba04c0eae89b20d4e1d7a940ba877f984b5cc97c237d44ea size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:01:05.048Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0336c9d051e2f73d586bb6c363b90ff6160f5d37-2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:01:05.388Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0336c9d051e2f73d586bb6c363b90ff6160f5d37-2.2.0-dev.15 [2022-05-03T04:01:05.388Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-03T04:01:05.388Z] a6a23c829760: Preparing [2022-05-03T04:01:05.388Z] 20b1ca70c324: Preparing [2022-05-03T04:01:05.388Z] 970c9435e30f: Preparing [2022-05-03T04:01:05.388Z] 97a801d52311: Preparing [2022-05-03T04:01:05.388Z] 647916973733: Preparing [2022-05-03T04:01:05.388Z] f73e7dbfee58: Preparing [2022-05-03T04:01:05.388Z] f73e7dbfee58: Waiting [2022-05-03T04:01:05.388Z] 20b1ca70c324: Layer already exists [2022-05-03T04:01:05.388Z] 97a801d52311: Layer already exists [2022-05-03T04:01:05.388Z] 970c9435e30f: Layer already exists [2022-05-03T04:01:05.388Z] a6a23c829760: Layer already exists [2022-05-03T04:01:05.388Z] 647916973733: Layer already exists [2022-05-03T04:01:05.663Z] f73e7dbfee58: Layer already exists [2022-05-03T04:01:05.663Z] 0336c9d051e2f73d586bb6c363b90ff6160f5d37-2.2.0-dev.15: digest: sha256:5ff2d3d9e0eea6cdba04c0eae89b20d4e1d7a940ba877f984b5cc97c237d44ea size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:01:06.012Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:01:06.354Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-05-03T04:01:06.354Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-03T04:01:06.354Z] a6a23c829760: Preparing [2022-05-03T04:01:06.354Z] 20b1ca70c324: Preparing [2022-05-03T04:01:06.354Z] 970c9435e30f: Preparing [2022-05-03T04:01:06.354Z] 97a801d52311: Preparing [2022-05-03T04:01:06.354Z] 647916973733: Preparing [2022-05-03T04:01:06.354Z] f73e7dbfee58: Preparing [2022-05-03T04:01:06.354Z] f73e7dbfee58: Waiting [2022-05-03T04:01:06.354Z] 647916973733: Layer already exists [2022-05-03T04:01:06.354Z] 970c9435e30f: Layer already exists [2022-05-03T04:01:06.354Z] 97a801d52311: Layer already exists [2022-05-03T04:01:06.354Z] a6a23c829760: Layer already exists [2022-05-03T04:01:06.354Z] 20b1ca70c324: Layer already exists [2022-05-03T04:01:06.354Z] f73e7dbfee58: Layer already exists [2022-05-03T04:01:06.626Z] main: digest: sha256:5ff2d3d9e0eea6cdba04c0eae89b20d4e1d7a940ba877f984b5cc97c237d44ea size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-03T04:01:06.673Z] ===================================================== [Pipeline] echo [2022-05-03T04:01:06.684Z] taggedImages: [2022-05-03T04:01:06.684Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0336c9d051e2f73d586bb6c363b90ff6160f5d37 [2022-05-03T04:01:06.684Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-05-03T04:01:06.684Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.15 [2022-05-03T04:01:06.684Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0336c9d051e2f73d586bb6c363b90ff6160f5d37-2.2.0-dev.15 [2022-05-03T04:01:06.684Z] - 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-03T04:01:07.062Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-03T04:01:07.062Z] [2022-05-03T04:01:07.062Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:01:07.410Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-03T04:01:07.684Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-03T04:01:07.684Z] 8998bd30e6a1: Pulling fs layer [2022-05-03T04:01:07.684Z] 04944245beec: Pulling fs layer [2022-05-03T04:01:07.684Z] 699f458cf7ca: Pulling fs layer [2022-05-03T04:01:07.684Z] 765212b225bb: Pulling fs layer [2022-05-03T04:01:07.684Z] f23df028b6ca: Pulling fs layer [2022-05-03T04:01:07.684Z] d65c8cfc05b1: Pulling fs layer [2022-05-03T04:01:07.684Z] 2437ff75d9bd: Pulling fs layer [2022-05-03T04:01:07.684Z] 765212b225bb: Waiting [2022-05-03T04:01:07.684Z] f23df028b6ca: Waiting [2022-05-03T04:01:07.684Z] d65c8cfc05b1: Waiting [2022-05-03T04:01:07.684Z] 2437ff75d9bd: Waiting [2022-05-03T04:01:07.684Z] 04944245beec: Verifying Checksum [2022-05-03T04:01:07.684Z] 04944245beec: Download complete [2022-05-03T04:01:07.684Z] 765212b225bb: Download complete [2022-05-03T04:01:07.684Z] f23df028b6ca: Download complete [2022-05-03T04:01:07.684Z] d65c8cfc05b1: Verifying Checksum [2022-05-03T04:01:07.684Z] d65c8cfc05b1: Download complete [2022-05-03T04:01:07.958Z] 699f458cf7ca: Verifying Checksum [2022-05-03T04:01:07.958Z] 699f458cf7ca: Download complete [2022-05-03T04:01:08.233Z] 8998bd30e6a1: Verifying Checksum [2022-05-03T04:01:08.233Z] 8998bd30e6a1: Download complete [2022-05-03T04:01:10.860Z] 2437ff75d9bd: Verifying Checksum [2022-05-03T04:01:10.860Z] 2437ff75d9bd: Download complete [2022-05-03T04:01:12.299Z] 8998bd30e6a1: Pull complete [2022-05-03T04:01:12.903Z] 04944245beec: Pull complete [2022-05-03T04:01:14.332Z] 699f458cf7ca: Pull complete [2022-05-03T04:01:14.609Z] 765212b225bb: Pull complete [2022-05-03T04:01:15.207Z] f23df028b6ca: Pull complete [2022-05-03T04:01:15.481Z] d65c8cfc05b1: Pull complete [2022-05-03T04:01:30.621Z] 2437ff75d9bd: Pull complete [2022-05-03T04:01:30.621Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-03T04:01:30.621Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-03T04:01:30.621Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-03T04:01:30.841Z] prd-ubuntu20.04-docker-arm64-4c-16g-39491 does not seem to be running inside a container [2022-05-03T04:01:30.932Z] $ 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/33 -v /w/workspace/device-modbus-go/33:/w/workspace/device-modbus-go/33:rw,z -v /w/workspace/device-modbus-go/33@tmp:/w/workspace/device-modbus-go/33@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:arm64 cat [2022-05-03T04:01:33.309Z] $ docker top 7e7d1d1dca7f38f0dbbe33ec67fa3f30489c2ed611db6ad43e3b78ec92df3649 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:01:34.183Z] ---> job-cost.sh [2022-05-03T04:01:34.183Z] lf-activate-venv: SKIPPING [2022-05-03T04:01:34.183Z] INFO: No Stack... [2022-05-03T04:01:34.772Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-03T04:01:35.362Z] INFO: Archiving Costs [Pipeline] sh [2022-05-03T04:01:36.026Z] + cut -d, -f6 [2022-05-03T04:01:36.026Z] + cat /w/workspace/device-modbus-go/33/archives/cost.csv [Pipeline] lock [2022-05-03T04:01:36.086Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-33-stack-cost] [2022-05-03T04:01:36.094Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-33-stack-cost] did not exist. Created. [2022-05-03T04:01:36.094Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-03T04:01:36.765Z] /w/workspace/device-modbus-go/33@tmp/durable-1430b38e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-03T04:01:37.440Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-03T04:01:37.462Z] Warning: overwriting stash ‘stack-cost’ [2022-05-03T04:01:37.514Z] Stashed 1 file(s) [Pipeline] } [2022-05-03T04:01:37.520Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-33-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-03T04:01:37.551Z] $ docker stop --time=1 7e7d1d1dca7f38f0dbbe33ec67fa3f30489c2ed611db6ad43e3b78ec92df3649 [2022-05-03T04:01:39.014Z] $ docker rm -f 7e7d1d1dca7f38f0dbbe33ec67fa3f30489c2ed611db6ad43e3b78ec92df3649 [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-03T04:01:39.455Z] provisioning config files... [2022-05-03T04:01:39.464Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8967066073177870915tmp [Pipeline] { [Pipeline] sh [2022-05-03T04:01:39.764Z] + set +x [2022-05-03T04:01:39.764Z] + + curl -s https://codecov.io/bashbash [2022-05-03T04:01:39.764Z] -s -- [2022-05-03T04:01:39.764Z] [2022-05-03T04:01:39.764Z] _____ _ [2022-05-03T04:01:39.764Z] / ____| | | [2022-05-03T04:01:39.764Z] | | ___ __| | ___ ___ _____ __ [2022-05-03T04:01:39.764Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-03T04:01:39.764Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-03T04:01:39.764Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-03T04:01:39.764Z] Bash-1.0.6 [2022-05-03T04:01:39.764Z] [2022-05-03T04:01:39.764Z] [2022-05-03T04:01:39.764Z] ==> git version 2.25.1 found [2022-05-03T04:01:39.764Z] ==> 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-03T04:01:39.764Z] Release-Date: 2020-01-08 [2022-05-03T04:01:39.764Z] 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-03T04:01:39.764Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-03T04:01:39.764Z] ==> Jenkins CI detected. [2022-05-03T04:01:39.764Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-05-03T04:01:39.764Z] project root: . [2022-05-03T04:01:39.764Z] --> token set from env [2022-05-03T04:01:39.764Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-03T04:01:39.764Z] ==> Running gcov in . (disable via -X gcov) [2022-05-03T04:01:39.764Z] ==> Python coveragepy not found [2022-05-03T04:01:39.764Z] ==> Searching for coverage reports in: [2022-05-03T04:01:39.764Z] + . [2022-05-03T04:01:39.764Z] -> Found 1 reports [2022-05-03T04:01:39.764Z] ==> Detecting git/mercurial file structure [2022-05-03T04:01:39.764Z] ==> Reading reports [2022-05-03T04:01:39.764Z] + ./coverage.out bytes=24065 [2022-05-03T04:01:39.764Z] ==> Appending adjustments [2022-05-03T04:01:39.764Z] https://docs.codecov.io/docs/fixing-reports [2022-05-03T04:01:40.025Z] + Found adjustments [2022-05-03T04:01:40.025Z] ==> Gzipping contents [2022-05-03T04:01:40.025Z] 4.0K /tmp/codecov.L2IM7P.gz [2022-05-03T04:01:40.025Z] ==> Uploading reports [2022-05-03T04:01:40.025Z] url: https://codecov.io [2022-05-03T04:01:40.025Z] query: branch=main&commit=0336c9d051e2f73d586bb6c363b90ff6160f5d37&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-03T04:01:40.025Z] -> Pinging Codecov [2022-05-03T04:01:40.025Z] 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=0336c9d051e2f73d586bb6c363b90ff6160f5d37&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-03T04:01:40.285Z] -> Uploading to [2022-05-03T04:01:40.285Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-03/55DBCA73C666E3227836607328DD7E49/0336c9d051e2f73d586bb6c363b90ff6160f5d37/a7f90381-e792-4b11-82be-bf6e74df5406.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220503T040140Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=495c0fa12e3dbbb058ce624585b46cc68cfa1a8f63d8f94ea43b975a38c3541c [2022-05-03T04:01:40.285Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-03T04:01:40.285Z] Dload Upload Total Spent Left Speed [2022-05-03T04:01:40.545Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4044 0 0 100 4044 0 16047 --:--:-- --:--:-- --:--:-- 16047 [2022-05-03T04:01:40.545Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/0336c9d051e2f73d586bb6c363b90ff6160f5d37 [Pipeline] } [2022-05-03T04:01:40.554Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-03T04:01:40.815Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-03T04:01:40.824Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:01:41.115Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-03T04:01:41.115Z] [2022-05-03T04:01:41.115Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:01:41.416Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-03T04:01:41.416Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-03T04:01:41.416Z] 188c0c94c7c5: Pulling fs layer [2022-05-03T04:01:41.416Z] 0ef7d3d256c8: Pulling fs layer [2022-05-03T04:01:41.416Z] de9db76c5a1d: Pulling fs layer [2022-05-03T04:01:41.416Z] 0eba1c9be4d2: Pulling fs layer [2022-05-03T04:01:41.416Z] 0d57e429df01: Pulling fs layer [2022-05-03T04:01:41.416Z] 4e4be7b47b0d: Pulling fs layer [2022-05-03T04:01:41.416Z] e1f770b5df2f: Pulling fs layer [2022-05-03T04:01:41.416Z] 85a0685a4137: Pulling fs layer [2022-05-03T04:01:41.416Z] 0d57e429df01: Waiting [2022-05-03T04:01:41.416Z] 4e4be7b47b0d: Waiting [2022-05-03T04:01:41.416Z] e1f770b5df2f: Waiting [2022-05-03T04:01:41.416Z] 85a0685a4137: Waiting [2022-05-03T04:01:41.416Z] 0eba1c9be4d2: Waiting [2022-05-03T04:01:41.416Z] de9db76c5a1d: Verifying Checksum [2022-05-03T04:01:41.416Z] de9db76c5a1d: Download complete [2022-05-03T04:01:41.416Z] 0ef7d3d256c8: Verifying Checksum [2022-05-03T04:01:41.416Z] 0ef7d3d256c8: Download complete [2022-05-03T04:01:41.416Z] 0d57e429df01: Verifying Checksum [2022-05-03T04:01:41.416Z] 4e4be7b47b0d: Verifying Checksum [2022-05-03T04:01:41.416Z] 4e4be7b47b0d: Download complete [2022-05-03T04:01:41.416Z] 188c0c94c7c5: Verifying Checksum [2022-05-03T04:01:41.416Z] 188c0c94c7c5: Download complete [2022-05-03T04:01:41.677Z] 188c0c94c7c5: Pull complete [2022-05-03T04:01:41.677Z] 0ef7d3d256c8: Pull complete [2022-05-03T04:01:41.677Z] e1f770b5df2f: Verifying Checksum [2022-05-03T04:01:41.677Z] e1f770b5df2f: Download complete [2022-05-03T04:01:41.677Z] de9db76c5a1d: Pull complete [2022-05-03T04:01:42.279Z] 0eba1c9be4d2: Verifying Checksum [2022-05-03T04:01:42.279Z] 0eba1c9be4d2: Download complete [2022-05-03T04:01:42.279Z] 85a0685a4137: Verifying Checksum [2022-05-03T04:01:42.279Z] 85a0685a4137: Download complete [2022-05-03T04:01:45.569Z] 0eba1c9be4d2: Pull complete [2022-05-03T04:01:45.569Z] 0d57e429df01: Pull complete [2022-05-03T04:01:45.569Z] 4e4be7b47b0d: Pull complete [2022-05-03T04:01:45.830Z] e1f770b5df2f: Pull complete [2022-05-03T04:01:49.123Z] 85a0685a4137: Pull complete [2022-05-03T04:01:49.429Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-03T04:01:49.689Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-03T04:01:49.689Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-03T04:01:49.758Z] prd-ubuntu20.04-docker-8c-8g-34836 does not seem to be running inside a container [2022-05-03T04:01:49.805Z] $ 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-03T04:01:51.264Z] $ docker top 305cce0e5c1a95aa75d8636c28f19c9e24ab5ca6cc49d4ac942dde38411b733c -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-03T04:01:51.336Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-03T04:01:51.619Z] + set -o pipefail [2022-05-03T04:01:51.619Z] + snyk monitor '--org=edgex-jenkins' [2022-05-03T04:01:56.900Z] [2022-05-03T04:01:56.900Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-05-03T04:01:56.900Z] [2022-05-03T04:01:56.900Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/97487f88-0302-43e0-88bf-c64350402d1f [2022-05-03T04:01:56.900Z] [2022-05-03T04:01:56.900Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-05-03T04:01:56.900Z] [2022-05-03T04:01:56.900Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-03T04:01:56.900Z] [2022-05-03T04:01:56.900Z] [Pipeline] } [2022-05-03T04:01:56.921Z] $ docker stop --time=1 305cce0e5c1a95aa75d8636c28f19c9e24ab5ca6cc49d4ac942dde38411b733c [2022-05-03T04:01:58.998Z] $ docker rm -f 305cce0e5c1a95aa75d8636c28f19c9e24ab5ca6cc49d4ac942dde38411b733c [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-03T04:01:59.709Z] + git log --format=format:%s -1 0336c9d051e2f73d586bb6c363b90ff6160f5d37 [Pipeline] sh [2022-05-03T04:02:00.003Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-03T04:02:00.003Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:02:00.302Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T04:02:00.302Z] . [Pipeline] withDockerContainer [2022-05-03T04:02:00.372Z] prd-ubuntu20.04-docker-8c-8g-34836 does not seem to be running inside a container [2022-05-03T04:02:00.414Z] $ 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-03T04:02:00.827Z] $ docker top 7cce32c675d8e02c520b041fc1e0eac8942a1aba0515f6b96d8056deca8d6712 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-03T04:02:00.910Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-03T04:02:00.910Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-03T04:02:01.030Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-03T04:02:01.041Z] $ docker exec 7cce32c675d8e02c520b041fc1e0eac8942a1aba0515f6b96d8056deca8d6712 ssh-agent [2022-05-03T04:02:01.153Z] SSH_AUTH_SOCK=/tmp/ssh-1hQIRxcn3xGC/agent.34 [2022-05-03T04:02:01.153Z] SSH_AGENT_PID=40 [2022-05-03T04:02:01.158Z] Running ssh-add (command line suppressed) [2022-05-03T04:02:01.294Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4108694063256073313.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4108694063256073313.key) [2022-05-03T04:02:01.300Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-03T04:02:01.590Z] + git semver tag [2022-05-03T04:02:01.850Z] 2022-05-03 04:02:01,767 [run_tag] DEBUG tag force:False [2022-05-03T04:02:01.851Z] 2022-05-03 04:02:01,767 [check_head_tag] DEBUG check head tag [2022-05-03T04:02:01.851Z] 2022-05-03 04:02:01,768 [execute] INFO git cat-file --batch-check [2022-05-03T04:02:01.851Z] 2022-05-03 04:02:01,769 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-05-03T04:02:01.851Z] 2022-05-03 04:02:01,772 [execute] INFO git cat-file --batch [2022-05-03T04:02:01.851Z] 2022-05-03 04:02:01,772 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-05-03T04:02:01.851Z] 2022-05-03 04:02:01,785 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-03T04:02:01.851Z] 2022-05-03 04:02:01,785 [execute] INFO git tag -a v2.2.0-dev.15 -m v2.2.0-dev.15 [2022-05-03T04:02:01.851Z] 2022-05-03 04:02:01,786 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.15', '-m', 'v2.2.0-dev.15'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-03T04:02:01.851Z] 2022-05-03 04:02:01,791 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-03T04:02:01.851Z] 2.2.0-dev.15 [Pipeline] } [2022-05-03T04:02:01.869Z] $ docker exec --env ******** --env ******** 7cce32c675d8e02c520b041fc1e0eac8942a1aba0515f6b96d8056deca8d6712 ssh-agent -k [2022-05-03T04:02:01.973Z] unset SSH_AUTH_SOCK; [2022-05-03T04:02:01.974Z] unset SSH_AGENT_PID; [2022-05-03T04:02:01.974Z] echo Agent pid 40 killed; [2022-05-03T04:02:01.976Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-03T04:02:02.291Z] + git semver [Pipeline] } [2022-05-03T04:02:02.573Z] $ docker stop --time=1 7cce32c675d8e02c520b041fc1e0eac8942a1aba0515f6b96d8056deca8d6712 [2022-05-03T04:02:03.895Z] $ docker rm -f 7cce32c675d8e02c520b041fc1e0eac8942a1aba0515f6b96d8056deca8d6712 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:02:04.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-03T04:02:04.282Z] [2022-05-03T04:02:04.282Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:02:04.589Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-03T04:02:04.589Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-03T04:02:04.589Z] ab5ef0e58194: Pulling fs layer [2022-05-03T04:02:04.589Z] 9712f1f96733: Pulling fs layer [2022-05-03T04:02:04.589Z] 63f879dbbcfc: Pulling fs layer [2022-05-03T04:02:04.589Z] 0d9ebad4ef96: Pulling fs layer [2022-05-03T04:02:04.589Z] e9a5061849ea: Pulling fs layer [2022-05-03T04:02:04.589Z] d747dcd14b5f: Pulling fs layer [2022-05-03T04:02:04.589Z] 2de7ff778b66: Pulling fs layer [2022-05-03T04:02:04.589Z] 2de7ff778b66: Waiting [2022-05-03T04:02:04.589Z] 0d9ebad4ef96: Waiting [2022-05-03T04:02:04.589Z] d747dcd14b5f: Waiting [2022-05-03T04:02:04.589Z] e9a5061849ea: Waiting [2022-05-03T04:02:04.589Z] 9712f1f96733: Verifying Checksum [2022-05-03T04:02:04.589Z] 9712f1f96733: Download complete [2022-05-03T04:02:04.854Z] 63f879dbbcfc: Verifying Checksum [2022-05-03T04:02:04.854Z] 63f879dbbcfc: Download complete [2022-05-03T04:02:05.117Z] ab5ef0e58194: Verifying Checksum [2022-05-03T04:02:05.117Z] ab5ef0e58194: Download complete [2022-05-03T04:02:05.117Z] 0d9ebad4ef96: Verifying Checksum [2022-05-03T04:02:05.117Z] 0d9ebad4ef96: Download complete [2022-05-03T04:02:05.117Z] d747dcd14b5f: Verifying Checksum [2022-05-03T04:02:05.117Z] d747dcd14b5f: Download complete [2022-05-03T04:02:05.117Z] e9a5061849ea: Verifying Checksum [2022-05-03T04:02:05.117Z] e9a5061849ea: Download complete [2022-05-03T04:02:05.377Z] 2de7ff778b66: Verifying Checksum [2022-05-03T04:02:05.377Z] 2de7ff778b66: Download complete [2022-05-03T04:02:08.671Z] ab5ef0e58194: Pull complete [2022-05-03T04:02:08.671Z] 9712f1f96733: Pull complete [2022-05-03T04:02:08.931Z] 63f879dbbcfc: Pull complete [2022-05-03T04:02:13.130Z] 0d9ebad4ef96: Pull complete [2022-05-03T04:02:13.130Z] e9a5061849ea: Pull complete [2022-05-03T04:02:13.130Z] d747dcd14b5f: Pull complete [2022-05-03T04:02:14.077Z] 2de7ff778b66: Pull complete [2022-05-03T04:02:14.077Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-03T04:02:14.077Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-03T04:02:14.077Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-03T04:02:14.139Z] prd-ubuntu20.04-docker-8c-8g-34836 does not seem to be running inside a container [2022-05-03T04:02:14.178Z] $ 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-03T04:02:16.599Z] $ docker top c2e39df0d2fd80bdcbaf011169f7243e04f76e2775ee2b1b120f5e064473eb62 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-03T04:02:16.678Z] provisioning config files... [2022-05-03T04:02:16.686Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2260164571398797434tmp [2022-05-03T04:02:16.697Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1681325346310188616tmp [2022-05-03T04:02:16.707Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6991487364111762334tmp [Pipeline] { [Pipeline] echo [2022-05-03T04:02:16.721Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:02:17.013Z] ---> sigul-configuration.sh [2022-05-03T04:02:17.013Z] gpg: directory `/root/.gnupg' created [2022-05-03T04:02:17.013Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-03T04:02:17.013Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-03T04:02:17.013Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-03T04:02:17.013Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-03T04:02:17.013Z] gpg: CAST5 encrypted data [2022-05-03T04:02:17.013Z] gpg: encrypted with 1 passphrase [2022-05-03T04:02:17.013Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-03T04:02:17.302Z] + mkdir /home/jenkins [2022-05-03T04:02:17.302Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-03T04:02:17.596Z] + 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-03T04:02:17.610Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:02:17.896Z] ---> sigul-install.sh [2022-05-03T04:02:17.896Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-03T04:02:18.202Z] + git tag --list [2022-05-03T04:02:18.202Z] 0.7.1 [2022-05-03T04:02:18.202Z] v1.0.0 [2022-05-03T04:02:18.202Z] v1.1.0 [2022-05-03T04:02:18.202Z] v1.1.1 [2022-05-03T04:02:18.202Z] v1.2.2 [2022-05-03T04:02:18.202Z] v1.3.0 [2022-05-03T04:02:18.202Z] v1.3.1 [2022-05-03T04:02:18.202Z] v2.0.0 [2022-05-03T04:02:18.202Z] v2.0.1-dev.1 [2022-05-03T04:02:18.202Z] v2.0.1-dev.10 [2022-05-03T04:02:18.202Z] v2.0.1-dev.11 [2022-05-03T04:02:18.202Z] v2.0.1-dev.12 [2022-05-03T04:02:18.202Z] v2.0.1-dev.2 [2022-05-03T04:02:18.202Z] v2.0.1-dev.3 [2022-05-03T04:02:18.202Z] v2.0.1-dev.4 [2022-05-03T04:02:18.202Z] v2.0.1-dev.5 [2022-05-03T04:02:18.202Z] v2.0.1-dev.6 [2022-05-03T04:02:18.202Z] v2.0.1-dev.7 [2022-05-03T04:02:18.202Z] v2.0.1-dev.8 [2022-05-03T04:02:18.202Z] v2.0.1-dev.9 [2022-05-03T04:02:18.202Z] v2.1.0 [2022-05-03T04:02:18.202Z] v2.2.0-dev.1 [2022-05-03T04:02:18.202Z] v2.2.0-dev.10 [2022-05-03T04:02:18.202Z] v2.2.0-dev.11 [2022-05-03T04:02:18.202Z] v2.2.0-dev.12 [2022-05-03T04:02:18.202Z] v2.2.0-dev.13 [2022-05-03T04:02:18.202Z] v2.2.0-dev.14 [2022-05-03T04:02:18.202Z] v2.2.0-dev.15 [2022-05-03T04:02:18.202Z] v2.2.0-dev.2 [2022-05-03T04:02:18.202Z] v2.2.0-dev.3 [2022-05-03T04:02:18.202Z] v2.2.0-dev.4 [2022-05-03T04:02:18.202Z] v2.2.0-dev.5 [2022-05-03T04:02:18.202Z] v2.2.0-dev.6 [2022-05-03T04:02:18.202Z] v2.2.0-dev.7 [2022-05-03T04:02:18.202Z] v2.2.0-dev.8 [2022-05-03T04:02:18.202Z] v2.2.0-dev.9 [Pipeline] sh [2022-05-03T04:02:18.490Z] + lftools sign git-tag v2.2.0-dev.15 [2022-05-03T04:02:19.065Z] Signing Git tag with Sigul... [2022-05-03T04:02:19.065Z] Signing v2.2.0-dev.15 [Pipeline] echo [2022-05-03T04:02:19.338Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:02:19.639Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-03T04:02:19.647Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-03T04:02:19.672Z] $ docker stop --time=1 c2e39df0d2fd80bdcbaf011169f7243e04f76e2775ee2b1b120f5e064473eb62 [2022-05-03T04:02:20.996Z] $ docker rm -f c2e39df0d2fd80bdcbaf011169f7243e04f76e2775ee2b1b120f5e064473eb62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-03T04:02:21.426Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-03T04:02:21.426Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:02:21.720Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T04:02:21.720Z] . [Pipeline] withDockerContainer [2022-05-03T04:02:21.818Z] prd-ubuntu20.04-docker-8c-8g-34836 does not seem to be running inside a container [2022-05-03T04:02:21.903Z] $ 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-03T04:02:22.343Z] $ docker top 4874b3b9d1f0cd3eb734ccf7289082e7572bc6f6e5d345113a108591923eadef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-03T04:02:22.428Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-03T04:02:22.428Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-03T04:02:22.555Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-03T04:02:22.566Z] $ docker exec 4874b3b9d1f0cd3eb734ccf7289082e7572bc6f6e5d345113a108591923eadef ssh-agent [2022-05-03T04:02:22.702Z] SSH_AUTH_SOCK=/tmp/ssh-xBL3VQaIlgmv/agent.32 [2022-05-03T04:02:22.702Z] SSH_AGENT_PID=38 [2022-05-03T04:02:22.707Z] Running ssh-add (command line suppressed) [2022-05-03T04:02:22.838Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4027580588850413602.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4027580588850413602.key) [2022-05-03T04:02:22.845Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-03T04:02:23.138Z] + git semver bump pre [2022-05-03T04:02:23.398Z] 2022-05-03 04:02:23,331 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-03T04:02:23.398Z] 2022-05-03 04:02:23,331 [bump_version] DEBUG bumping version:2.2.0-dev.15 on axis:pre with prefix:dev [2022-05-03T04:02:23.398Z] 2022-05-03 04:02:23,332 [bump_version] DEBUG bumped version:2.2.0-dev.16 [2022-05-03T04:02:23.398Z] 2022-05-03 04:02:23,332 [write_version] DEBUG write version:2.2.0-dev.16 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2022-05-03T04:02:23.398Z] 2022-05-03 04:02:23,332 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-03T04:02:23.398Z] 2022-05-03 04:02:23,332 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-03T04:02:23.398Z] 2022-05-03 04:02:23,334 [execute] INFO git cat-file --batch-check [2022-05-03T04:02:23.398Z] 2022-05-03 04:02:23,334 [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-03T04:02:23.398Z] 2022-05-03 04:02:23,339 [execute] INFO git cat-file --batch [2022-05-03T04:02:23.398Z] 2022-05-03 04:02:23,339 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-03T04:02:23.398Z] 2022-05-03 04:02:23,345 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-03T04:02:23.398Z] 2.2.0-dev.16 [Pipeline] } [2022-05-03T04:02:23.417Z] $ docker exec --env ******** --env ******** 4874b3b9d1f0cd3eb734ccf7289082e7572bc6f6e5d345113a108591923eadef ssh-agent -k [2022-05-03T04:02:23.516Z] unset SSH_AUTH_SOCK; [2022-05-03T04:02:23.516Z] unset SSH_AGENT_PID; [2022-05-03T04:02:23.517Z] echo Agent pid 38 killed; [2022-05-03T04:02:23.521Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-03T04:02:23.824Z] + git semver [Pipeline] } [2022-05-03T04:02:24.108Z] $ docker stop --time=1 4874b3b9d1f0cd3eb734ccf7289082e7572bc6f6e5d345113a108591923eadef [2022-05-03T04:02:25.404Z] $ docker rm -f 4874b3b9d1f0cd3eb734ccf7289082e7572bc6f6e5d345113a108591923eadef [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-03T04:02:25.758Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-03T04:02:25.758Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:02:26.059Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T04:02:26.059Z] . [Pipeline] withDockerContainer [2022-05-03T04:02:26.134Z] prd-ubuntu20.04-docker-8c-8g-34836 does not seem to be running inside a container [2022-05-03T04:02:26.180Z] $ 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-03T04:02:26.564Z] $ docker top 208482a5818ed343681aaedf215533396f28e080cdbb71e7bad625afb633d07a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-03T04:02:26.665Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-03T04:02:26.665Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-03T04:02:26.808Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-03T04:02:26.819Z] $ docker exec 208482a5818ed343681aaedf215533396f28e080cdbb71e7bad625afb633d07a ssh-agent [2022-05-03T04:02:26.934Z] SSH_AUTH_SOCK=/tmp/ssh-Y0J3ByJcEiSY/agent.32 [2022-05-03T04:02:26.934Z] SSH_AGENT_PID=38 [2022-05-03T04:02:26.939Z] Running ssh-add (command line suppressed) [2022-05-03T04:02:27.055Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4125265346023505048.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4125265346023505048.key) [2022-05-03T04:02:27.063Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-03T04:02:27.350Z] + git semver push [2022-05-03T04:02:27.611Z] 2022-05-03 04:02:27,530 [run_push] DEBUG push [2022-05-03T04:02:27.611Z] 2022-05-03 04:02:27,530 [execute] INFO git push origin semver [2022-05-03T04:02:27.611Z] 2022-05-03 04:02:27,530 [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-03T04:02:28.553Z] 2022-05-03 04:02:28,270 [run_push] DEBUG push all version tags [2022-05-03T04:02:28.553Z] 2022-05-03 04:02:28,270 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-03T04:02:28.553Z] 2022-05-03 04:02:28,271 [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-03T04:02:29.124Z] 2022-05-03 04:02:28,997 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-03T04:02:29.124Z] 2.2.0-dev.16 [Pipeline] } [2022-05-03T04:02:29.142Z] $ docker exec --env ******** --env ******** 208482a5818ed343681aaedf215533396f28e080cdbb71e7bad625afb633d07a ssh-agent -k [2022-05-03T04:02:29.266Z] unset SSH_AUTH_SOCK; [2022-05-03T04:02:29.267Z] unset SSH_AGENT_PID; [2022-05-03T04:02:29.267Z] echo Agent pid 38 killed; [2022-05-03T04:02:29.275Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-03T04:02:29.581Z] + git semver [Pipeline] } [2022-05-03T04:02:29.866Z] $ docker stop --time=1 208482a5818ed343681aaedf215533396f28e080cdbb71e7bad625afb633d07a [2022-05-03T04:02:31.171Z] $ docker rm -f 208482a5818ed343681aaedf215533396f28e080cdbb71e7bad625afb633d07a [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-03T04:02:31.773Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-05-03T04:02:31.773Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-05-03T04:02:31.773Z] total 16 [2022-05-03T04:02:31.773Z] drwxr-xr-x 3 root root 4096 May 3 02:47 . [2022-05-03T04:02:31.773Z] drwxrwxr-x 11 jenkins jenkins 4096 May 3 04:02 .. [2022-05-03T04:02:31.773Z] drwxr-xr-x 2 root root 4096 May 3 02:47 cost [2022-05-03T04:02:31.773Z] -rw-r--r-- 1 root root 86 May 3 02:47 cost.csv [2022-05-03T04:02:31.773Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-05-03T04:02:31.773Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-05-03T04:02:31.773Z] total 16 [2022-05-03T04:02:31.773Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 02:47 . [2022-05-03T04:02:31.773Z] drwxrwxr-x 11 jenkins jenkins 4096 May 3 04:02 .. [2022-05-03T04:02:31.773Z] drwxr-xr-x 2 jenkins jenkins 4096 May 3 02:47 cost [2022-05-03T04:02:31.773Z] -rw-r--r-- 1 jenkins jenkins 86 May 3 02:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:02:32.073Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:02:32.935Z] ---> package-listing.sh [2022-05-03T04:02:32.935Z] ++ facter osfamily [2022-05-03T04:02:32.935Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-03T04:02:33.196Z] + OS_FAMILY=debian [2022-05-03T04:02:33.196Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-05-03T04:02:33.196Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-03T04:02:33.196Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-03T04:02:33.196Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-03T04:02:33.196Z] + PACKAGES=/tmp/packages_start.txt [2022-05-03T04:02:33.196Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-05-03T04:02:33.196Z] + PACKAGES=/tmp/packages_end.txt [2022-05-03T04:02:33.196Z] + case "${OS_FAMILY}" in [2022-05-03T04:02:33.196Z] + dpkg -l [2022-05-03T04:02:33.196Z] + grep '^ii' [2022-05-03T04:02:33.196Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-03T04:02:33.196Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-03T04:02:33.196Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-03T04:02:33.196Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-05-03T04:02:33.196Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-05-03T04:02:33.196Z] + 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-03T04:02:33.210Z] 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-03T04:02:33.490Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:02:34.050Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T04:02:34.050Z] . [Pipeline] withDockerContainer [2022-05-03T04:02:34.120Z] prd-ubuntu20.04-docker-8c-8g-34836 does not seem to be running inside a container [2022-05-03T04:02:34.164Z] $ 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-03T04:02:34.422Z] $ docker top dc69eabb5c891687c785c53ed6e06eea28a05475433bc2dd52285beeaa4a0759 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-03T04:02:34.777Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-03T04:02:35.067Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-03T04:02:35.361Z] + ls /var/log/sa-host [2022-05-03T04:02:35.361Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T04:02:35.451Z] provisioning config files... [2022-05-03T04:02:35.461Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6841495877448139769tmp [Pipeline] { [Pipeline] echo [2022-05-03T04:02:35.477Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:02:35.768Z] ---> create-netrc.sh [Pipeline] } [2022-05-03T04:02:35.777Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:02:36.108Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-03T04:02:36.118Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:02:36.407Z] ---> sudo-logs.sh [2022-05-03T04:02:36.407Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-03T04:02:36.440Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:02:36.725Z] ---> job-cost.sh [2022-05-03T04:02:36.725Z] lf-activate-venv: SKIPPING [2022-05-03T04:02:36.725Z] DEBUG: total: 0.2199999988079071 [2022-05-03T04:02:36.725Z] INFO: Retrieving Stack Cost... [2022-05-03T04:02:36.986Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-03T04:02:37.556Z] INFO: Archiving Costs [Pipeline] echo [2022-05-03T04:02:37.569Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:02:37.850Z] ---> logs-deploy.sh [2022-05-03T04:02:37.850Z] lf-activate-venv: SKIPPING [2022-05-03T04:02:37.850Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/33 [2022-05-03T04:02:37.850Z] INFO: archiving workspace using pattern(s): [2022-05-03T04:02:38.791Z] Archives upload complete. [2022-05-03T04:02:38.791Z] INFO: archiving logs to Nexus