Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 34696552c2fac84d635c044d3d9d718bd3379cee 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-ssh17138930571796816729.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-ssh16191060057786438621.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-ssh17016272512360989007.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-ssh17013476804292773957.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-ssh1633708808940988170.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-41791 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 34696552c2fac84d635c044d3d9d718bd3379cee (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 34696552c2fac84d635c044d3d9d718bd3379cee # timeout=10 Commit message: "Merge pull request #344 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.37" > git rev-list --no-walk d7023bcda15e937cec539ef29d6768596b85ffc4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-09T10:53:30.817Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-09T10:53:30.880Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-09T10:53:30.897Z] ========================================================= [2022-05-09T10:53:30.897Z] EdgeX Global Pipelines Version Info [2022-05-09T10:53:30.897Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-09T10:53:31.688Z] ------------------- [2022-05-09T10:53:31.688Z] stable info: [2022-05-09T10:53:31.688Z] ------------------- [2022-05-09T10:53:31.688Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-09T10:53:31.688Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-09T10:53:31.688Z] Message: update stable to v1.0.227 [2022-05-09T10:53:32.261Z] ------------------- [2022-05-09T10:53:32.261Z] experimental info: [2022-05-09T10:53:32.261Z] ------------------- [2022-05-09T10:53:32.261Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-09T10:53:32.261Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-09T10:53:32.261Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-09T10:53:32.388Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-05-09T10:53:32.404Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-05-09T10:53:32.417Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-09T10:53:32.429Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-09T10:53:32.441Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-09T10:53:32.455Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-09T10:53:32.468Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-09T10:53:32.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-09T10:53:32.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-09T10:53:32.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-09T10:53:32.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-09T10:53:32.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-05-09T10:53:32.537Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-09T10:53:32.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-09T10:53:32.570Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-09T10:53:32.587Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-09T10:53:32.601Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-09T10:53:32.613Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-09T10:53:32.627Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-09T10:53:32.642Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-09T10:53:32.659Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-09T10:53:32.672Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-09T10:53:32.684Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-09T10:53:32.698Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-09T10:53:32.709Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-09T10:53:32.723Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-09T10:53:32.735Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-09T10:53:32.747Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-09T10:53:32.762Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-09T10:53:32.772Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 34696552c2fac84d635c044d3d9d718bd3379cee [Pipeline] echo [2022-05-09T10:53:32.785Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3469655 [Pipeline] echo [2022-05-09T10:53:32.796Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T10:53:32.844Z] provisioning config files... [2022-05-09T10:53:32.856Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2717547019471811735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T10:53:33.161Z] ---> docker-login.sh [2022-05-09T10:53:33.162Z] nexus3.edgexfoundry.org:10001 [2022-05-09T10:53:33.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:53:33.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:53:33.688Z] Configure a credential helper to remove this warning. See [2022-05-09T10:53:33.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:53:33.688Z] [2022-05-09T10:53:33.688Z] Login Succeeded [2022-05-09T10:53:33.688Z] nexus3.edgexfoundry.org:10002 [2022-05-09T10:53:33.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:53:33.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:53:33.688Z] Configure a credential helper to remove this warning. See [2022-05-09T10:53:33.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:53:33.688Z] [2022-05-09T10:53:33.688Z] Login Succeeded [2022-05-09T10:53:33.688Z] nexus3.edgexfoundry.org:10003 [2022-05-09T10:53:33.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:53:33.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:53:33.951Z] Configure a credential helper to remove this warning. See [2022-05-09T10:53:33.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:53:33.952Z] [2022-05-09T10:53:33.952Z] Login Succeeded [2022-05-09T10:53:33.952Z] nexus3.edgexfoundry.org:10004 [2022-05-09T10:53:33.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:53:34.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:53:34.214Z] Configure a credential helper to remove this warning. See [2022-05-09T10:53:34.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:53:34.214Z] [2022-05-09T10:53:34.214Z] Login Succeeded [2022-05-09T10:53:34.214Z] docker.io [2022-05-09T10:53:34.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:53:34.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:53:34.476Z] Configure a credential helper to remove this warning. See [2022-05-09T10:53:34.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:53:34.476Z] [2022-05-09T10:53:34.476Z] Login Succeeded [2022-05-09T10:53:34.476Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T10:53:34.485Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-09T10:53:34.842Z] + git rev-list -1 --merges 34696552c2fac84d635c044d3d9d718bd3379cee~1..34696552c2fac84d635c044d3d9d718bd3379cee [Pipeline] echo [2022-05-09T10:53:34.983Z] -----------> git rev-list -1 --merges 34696552c2fac84d635c044d3d9d718bd3379cee~1..34696552c2fac84d635c044d3d9d718bd3379cee 34696552c2fac84d635c044d3d9d718bd3379cee [2022-05-09T10:53:34.983Z] 34696552c2fac84d635c044d3d9d718bd3379cee [false] [Pipeline] sh [2022-05-09T10:53:35.274Z] + git log --format=format:%s -1 34696552c2fac84d635c044d3d9d718bd3379cee [Pipeline] echo [2022-05-09T10:53:35.292Z] ========================================================= [2022-05-09T10:53:35.292Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-09T10:53:35.292Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-09T10:53:35.635Z] + git log --format=format:%s -1 34696552c2fac84d635c044d3d9d718bd3379cee [Pipeline] echo [2022-05-09T10:53:35.652Z] [semverPrep] GIT_COMMIT: 34696552c2fac84d635c044d3d9d718bd3379cee, Commit Message: Merge pull request #344 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.37 [Pipeline] echo [2022-05-09T10:53:35.661Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-09T10:53:36.088Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-09T10:53:36.088Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-09T10:53:36.088Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-09T10:53:36.088Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-09T10:53:36.088Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2022-05-09T10:53:36.088Z] tee -a /etc/ssh/ssh_known_hosts [2022-05-09T10:53:36.088Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:53:36.433Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T10:53:36.433Z] [2022-05-09T10:53:36.433Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:53:36.741Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T10:53:36.741Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-09T10:53:36.741Z] 1fe172e4850f: Pulling fs layer [2022-05-09T10:53:36.741Z] caf521ccaac6: Pulling fs layer [2022-05-09T10:53:36.741Z] 3ead6fa29328: Pulling fs layer [2022-05-09T10:53:36.741Z] 5c2a1cbceb83: Pulling fs layer [2022-05-09T10:53:36.741Z] a8d5f1318db7: Pulling fs layer [2022-05-09T10:53:36.741Z] c427282e49a2: Pulling fs layer [2022-05-09T10:53:36.741Z] 5c2a1cbceb83: Waiting [2022-05-09T10:53:36.741Z] a8d5f1318db7: Waiting [2022-05-09T10:53:36.741Z] c427282e49a2: Waiting [2022-05-09T10:53:36.741Z] 1827001aaf11: Pulling fs layer [2022-05-09T10:53:36.741Z] 0714d37db230: Pulling fs layer [2022-05-09T10:53:36.741Z] ac28cf19c067: Pulling fs layer [2022-05-09T10:53:36.741Z] 1827001aaf11: Waiting [2022-05-09T10:53:36.741Z] ca983d60f3e2: Pulling fs layer [2022-05-09T10:53:36.741Z] 9f894cec8388: Pulling fs layer [2022-05-09T10:53:36.741Z] ac28cf19c067: Waiting [2022-05-09T10:53:36.741Z] caf521ccaac6: Verifying Checksum [2022-05-09T10:53:36.741Z] caf521ccaac6: Download complete [2022-05-09T10:53:36.741Z] 5c2a1cbceb83: Verifying Checksum [2022-05-09T10:53:36.741Z] 5c2a1cbceb83: Download complete [2022-05-09T10:53:37.003Z] a8d5f1318db7: Verifying Checksum [2022-05-09T10:53:37.003Z] a8d5f1318db7: Download complete [2022-05-09T10:53:37.003Z] 3ead6fa29328: Verifying Checksum [2022-05-09T10:53:37.003Z] 3ead6fa29328: Download complete [2022-05-09T10:53:37.003Z] c427282e49a2: Verifying Checksum [2022-05-09T10:53:37.003Z] c427282e49a2: Download complete [2022-05-09T10:53:37.003Z] 0714d37db230: Verifying Checksum [2022-05-09T10:53:37.003Z] 0714d37db230: Download complete [2022-05-09T10:53:37.003Z] ac28cf19c067: Download complete [2022-05-09T10:53:37.003Z] ca983d60f3e2: Download complete [2022-05-09T10:53:37.003Z] 9f894cec8388: Download complete [2022-05-09T10:53:37.003Z] 1fe172e4850f: Download complete [2022-05-09T10:53:37.263Z] 1827001aaf11: Verifying Checksum [2022-05-09T10:53:37.263Z] 1827001aaf11: Download complete [2022-05-09T10:53:38.650Z] 1fe172e4850f: Pull complete [2022-05-09T10:53:38.650Z] caf521ccaac6: Pull complete [2022-05-09T10:53:39.222Z] 3ead6fa29328: Pull complete [2022-05-09T10:53:39.222Z] 5c2a1cbceb83: Pull complete [2022-05-09T10:53:39.793Z] a8d5f1318db7: Pull complete [2022-05-09T10:53:39.793Z] c427282e49a2: Pull complete [2022-05-09T10:53:41.710Z] 1827001aaf11: Pull complete [2022-05-09T10:53:41.710Z] 0714d37db230: Pull complete [2022-05-09T10:53:41.971Z] ac28cf19c067: Pull complete [2022-05-09T10:53:41.971Z] ca983d60f3e2: Pull complete [2022-05-09T10:53:42.231Z] 9f894cec8388: Pull complete [2022-05-09T10:53:42.231Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-09T10:53:42.231Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T10:53:42.231Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-09T10:53:42.322Z] prd-ubuntu20.04-docker-8c-8g-41791 does not seem to be running inside a container [2022-05-09T10:53:42.363Z] $ 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-09T10:53:44.026Z] $ docker top b07607713d098866044ac722b7893cfaeb0029ad7dc34d84a3509e0380ac0aae -eo pid,comm [2022-05-09T10:53:44.096Z] 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-09T10:53:44.096Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-09T10:53:44.135Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T10:53:44.135Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T10:53:44.289Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T10:53:44.299Z] $ docker exec b07607713d098866044ac722b7893cfaeb0029ad7dc34d84a3509e0380ac0aae ssh-agent [2022-05-09T10:53:44.431Z] SSH_AUTH_SOCK=/tmp/ssh-huUeihT3VxjG/agent.33 [2022-05-09T10:53:44.431Z] SSH_AGENT_PID=40 [2022-05-09T10:53:44.441Z] Running ssh-add (command line suppressed) [2022-05-09T10:53:44.574Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7504183389084992512.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7504183389084992512.key) [2022-05-09T10:53:44.590Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T10:53:44.884Z] + git tag --points-at HEAD [Pipeline] } [2022-05-09T10:53:44.914Z] $ docker exec --env ******** --env ******** b07607713d098866044ac722b7893cfaeb0029ad7dc34d84a3509e0380ac0aae ssh-agent -k [2022-05-09T10:53:45.030Z] unset SSH_AUTH_SOCK; [2022-05-09T10:53:45.030Z] unset SSH_AGENT_PID; [2022-05-09T10:53:45.030Z] echo Agent pid 40 killed; [2022-05-09T10:53:45.033Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-09T10:53:45.062Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T10:53:45.062Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T10:53:45.204Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T10:53:45.214Z] $ docker exec b07607713d098866044ac722b7893cfaeb0029ad7dc34d84a3509e0380ac0aae ssh-agent [2022-05-09T10:53:45.332Z] SSH_AUTH_SOCK=/tmp/ssh-1F9N1b2djlOK/agent.74 [2022-05-09T10:53:45.332Z] SSH_AGENT_PID=80 [2022-05-09T10:53:45.339Z] Running ssh-add (command line suppressed) [2022-05-09T10:53:45.469Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3632507237085942671.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3632507237085942671.key) [2022-05-09T10:53:45.475Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T10:53:45.768Z] + git semver init [2022-05-09T10:53:46.028Z] 2022-05-09 10:53:45,974 [run_init] DEBUG init version:0.0.0 force:False [2022-05-09T10:53:46.028Z] 2022-05-09 10:53:45,974 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-05-09T10:53:46.028Z] 2022-05-09 10:53:45,975 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-05-09T10:53:46.028Z] 2022-05-09 10:53:45,975 [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-09T10:53:46.973Z] 2022-05-09 10:53:46,777 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2022-05-09T10:53:46.973Z] 2022-05-09 10:53:46,778 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2022-05-09T10:53:46.973Z] 2022-05-09 10:53:46,778 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-09T10:53:46.973Z] 2022-05-09 10:53:46,778 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-09T10:53:46.973Z] 2.2.0-dev.17 [Pipeline] } [2022-05-09T10:53:46.993Z] $ docker exec --env ******** --env ******** b07607713d098866044ac722b7893cfaeb0029ad7dc34d84a3509e0380ac0aae ssh-agent -k [2022-05-09T10:53:47.108Z] unset SSH_AUTH_SOCK; [2022-05-09T10:53:47.109Z] unset SSH_AGENT_PID; [2022-05-09T10:53:47.109Z] echo Agent pid 80 killed; [2022-05-09T10:53:47.114Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-09T10:53:47.425Z] + git semver [Pipeline] } [2022-05-09T10:53:47.708Z] $ docker stop --time=1 b07607713d098866044ac722b7893cfaeb0029ad7dc34d84a3509e0380ac0aae [2022-05-09T10:53:49.039Z] $ docker rm -f b07607713d098866044ac722b7893cfaeb0029ad7dc34d84a3509e0380ac0aae [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T10:53:49.394Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-09T10:53:49.657Z] Stashed 1 file(s) [Pipeline] echo [2022-05-09T10:53:49.661Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.17 [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-09T10:53:49.811Z] provisioning config files... [2022-05-09T10:53:49.820Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7170749013385964237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T10:53:50.119Z] ---> docker-login.sh [2022-05-09T10:53:50.120Z] nexus3.edgexfoundry.org:10001 [2022-05-09T10:53:50.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:53:50.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:53:50.120Z] Configure a credential helper to remove this warning. See [2022-05-09T10:53:50.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:53:50.120Z] [2022-05-09T10:53:50.120Z] Login Succeeded [2022-05-09T10:53:50.120Z] nexus3.edgexfoundry.org:10002 [2022-05-09T10:53:50.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:53:50.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:53:50.380Z] Configure a credential helper to remove this warning. See [2022-05-09T10:53:50.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:53:50.380Z] [2022-05-09T10:53:50.380Z] Login Succeeded [2022-05-09T10:53:50.380Z] nexus3.edgexfoundry.org:10003 [2022-05-09T10:53:50.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:53:50.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:53:50.380Z] Configure a credential helper to remove this warning. See [2022-05-09T10:53:50.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:53:50.380Z] [2022-05-09T10:53:50.380Z] Login Succeeded [2022-05-09T10:53:50.380Z] nexus3.edgexfoundry.org:10004 [2022-05-09T10:53:50.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:53:50.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:53:50.641Z] Configure a credential helper to remove this warning. See [2022-05-09T10:53:50.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:53:50.641Z] [2022-05-09T10:53:50.641Z] Login Succeeded [2022-05-09T10:53:50.641Z] docker.io [2022-05-09T10:53:50.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:53:50.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:53:50.902Z] Configure a credential helper to remove this warning. See [2022-05-09T10:53:50.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:53:50.902Z] [2022-05-09T10:53:50.902Z] Login Succeeded [2022-05-09T10:53:50.902Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T10:53:50.911Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-09T10:53:50.970Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-09T10:53:50.979Z] ========================================================= [2022-05-09T10:53:50.979Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-09T10:53:50.979Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:53:51.286Z] + 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-09T10:53:51.286Z] Sending build context to Docker daemon 5.851MB [2022-05-09T10:53:51.286Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T10:53:51.286Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-09T10:53:51.286Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-09T10:53:51.286Z] 59bf1c3509f3: Pulling fs layer [2022-05-09T10:53:51.286Z] 666ba61612fd: Pulling fs layer [2022-05-09T10:53:51.286Z] 8ed8ca486205: Pulling fs layer [2022-05-09T10:53:51.286Z] 4fe6c5a15a65: Pulling fs layer [2022-05-09T10:53:51.286Z] 22a0e8bec74d: Pulling fs layer [2022-05-09T10:53:51.286Z] ca2b28591e48: Pulling fs layer [2022-05-09T10:53:51.286Z] a51346096db8: Pulling fs layer [2022-05-09T10:53:51.287Z] daebc70d1ce1: Pulling fs layer [2022-05-09T10:53:51.287Z] 0e18a0eac166: Pulling fs layer [2022-05-09T10:53:51.287Z] 4fe6c5a15a65: Waiting [2022-05-09T10:53:51.287Z] 22a0e8bec74d: Waiting [2022-05-09T10:53:51.287Z] ca2b28591e48: Waiting [2022-05-09T10:53:51.287Z] 0e18a0eac166: Waiting [2022-05-09T10:53:51.287Z] a51346096db8: Waiting [2022-05-09T10:53:51.287Z] daebc70d1ce1: Waiting [2022-05-09T10:53:51.287Z] 8ed8ca486205: Download complete [2022-05-09T10:53:51.287Z] 666ba61612fd: Verifying Checksum [2022-05-09T10:53:51.287Z] 666ba61612fd: Download complete [2022-05-09T10:53:51.287Z] 22a0e8bec74d: Verifying Checksum [2022-05-09T10:53:51.287Z] 22a0e8bec74d: Download complete [2022-05-09T10:53:51.548Z] ca2b28591e48: Download complete [2022-05-09T10:53:51.548Z] 59bf1c3509f3: Verifying Checksum [2022-05-09T10:53:51.548Z] 59bf1c3509f3: Download complete [2022-05-09T10:53:51.548Z] a51346096db8: Verifying Checksum [2022-05-09T10:53:51.548Z] a51346096db8: Download complete [2022-05-09T10:53:51.548Z] daebc70d1ce1: Verifying Checksum [2022-05-09T10:53:51.548Z] daebc70d1ce1: Download complete [2022-05-09T10:53:51.548Z] 59bf1c3509f3: Pull complete [2022-05-09T10:53:51.810Z] 666ba61612fd: Pull complete [2022-05-09T10:53:51.810Z] 8ed8ca486205: Pull complete [2022-05-09T10:53:52.069Z] 0e18a0eac166: Verifying Checksum [2022-05-09T10:53:52.069Z] 0e18a0eac166: Download complete [2022-05-09T10:53:52.328Z] 4fe6c5a15a65: Verifying Checksum [2022-05-09T10:53:52.328Z] 4fe6c5a15a65: Download complete [2022-05-09T10:53:56.552Z] 4fe6c5a15a65: Pull complete [2022-05-09T10:53:56.552Z] 22a0e8bec74d: Pull complete [2022-05-09T10:53:56.552Z] ca2b28591e48: Pull complete [2022-05-09T10:53:56.552Z] a51346096db8: Pull complete [2022-05-09T10:53:56.811Z] daebc70d1ce1: Pull complete [2022-05-09T10:53:59.364Z] 0e18a0eac166: Pull complete [2022-05-09T10:53:59.364Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-09T10:53:59.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-09T10:53:59.364Z] ---> f018257e8ee9 [2022-05-09T10:53:59.364Z] Step 3/10 : ARG MAKE='make build' [2022-05-09T10:54:01.284Z] ---> Running in 6d56b1e7ce9a [2022-05-09T10:54:01.284Z] Removing intermediate container 6d56b1e7ce9a [2022-05-09T10:54:01.284Z] ---> 0aba558b688b [2022-05-09T10:54:01.284Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T10:54:01.284Z] ---> Running in 25146eb62ec9 [2022-05-09T10:54:01.856Z] Removing intermediate container 25146eb62ec9 [2022-05-09T10:54:01.856Z] ---> 22db53332b52 [2022-05-09T10:54:01.856Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-09T10:54:02.116Z] ---> Running in 69e8051f4f61 [2022-05-09T10:54:02.378Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-09T10:54:03.321Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-09T10:54:03.582Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-09T10:54:03.582Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-09T10:54:03.844Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-09T10:54:03.844Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-09T10:54:03.844Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-09T10:54:04.105Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-09T10:54:04.105Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-05-09T10:54:04.105Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-09T10:54:04.366Z] Executing busybox-1.34.1-r3.trigger [2022-05-09T10:54:04.366Z] OK: 226 MiB in 60 packages [2022-05-09T10:54:04.779Z] Still waiting to schedule task [2022-05-09T10:54:04.779Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-09T10:54:04.936Z] Removing intermediate container 69e8051f4f61 [2022-05-09T10:54:04.936Z] ---> df0502616b57 [2022-05-09T10:54:04.936Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-09T10:54:04.936Z] ---> Running in 39a0c58e2421 [2022-05-09T10:54:04.936Z] Removing intermediate container 39a0c58e2421 [2022-05-09T10:54:04.936Z] ---> 6dae3a5ce4fc [2022-05-09T10:54:04.936Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-09T10:54:05.197Z] ---> f8a5808247af [2022-05-09T10:54:05.197Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T10:54:05.197Z] ---> Running in dde71e8876d4 [2022-05-09T10:54:20.105Z] Removing intermediate container dde71e8876d4 [2022-05-09T10:54:20.105Z] ---> 93ca15fa4ff5 [2022-05-09T10:54:20.105Z] Step 9/10 : COPY . . [2022-05-09T10:54:20.105Z] ---> 4fa81a1557eb [2022-05-09T10:54:20.105Z] Step 10/10 : RUN ${MAKE} [2022-05-09T10:54:20.105Z] ---> Running in abb9209da4ac [2022-05-09T10:54:20.105Z] noop [2022-05-09T10:54:20.105Z] Removing intermediate container abb9209da4ac [2022-05-09T10:54:20.105Z] ---> e94ad293797b [2022-05-09T10:54:20.105Z] Successfully built e94ad293797b [2022-05-09T10:54:20.105Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:54:20.404Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-09T10:54:20.404Z] . [Pipeline] withDockerContainer [2022-05-09T10:54:20.472Z] prd-ubuntu20.04-docker-8c-8g-41791 does not seem to be running inside a container [2022-05-09T10:54:20.513Z] $ 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-09T10:54:20.904Z] $ docker top 0218cafde427f730944af8ed07cbec0f3aa857707edb6d7a7b37253a580f1383 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T10:54:21.268Z] + go version [2022-05-09T10:54:21.268Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-09T10:54:21.287Z] $ docker stop --time=1 0218cafde427f730944af8ed07cbec0f3aa857707edb6d7a7b37253a580f1383 [2022-05-09T10:54:22.569Z] $ docker rm -f 0218cafde427f730944af8ed07cbec0f3aa857707edb6d7a7b37253a580f1383 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:54:23.048Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-09T10:54:23.048Z] . [Pipeline] withDockerContainer [2022-05-09T10:54:23.124Z] prd-ubuntu20.04-docker-8c-8g-41791 does not seem to be running inside a container [2022-05-09T10:54:23.166Z] $ 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-09T10:54:23.545Z] $ docker top 071c505db24cdec9dc6d0db441383a5f2883ed7bcca949ff8dd0dbfebbc37b9d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-09T10:54:23.912Z] + make test [2022-05-09T10:54:23.912Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-09T10:54:24.176Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-09T10:54:34.164Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-09T10:54:34.164Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 46.4% of statements [2022-05-09T10:54:40.748Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-09T10:54:44.950Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-09T10:54:44.950Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-09T10:54:44.950Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-09T10:54:45.534Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-09T10:54:45.555Z] $ docker stop --time=1 071c505db24cdec9dc6d0db441383a5f2883ed7bcca949ff8dd0dbfebbc37b9d [2022-05-09T10:54:47.228Z] $ docker rm -f 071c505db24cdec9dc6d0db441383a5f2883ed7bcca949ff8dd0dbfebbc37b9d [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T10:54:47.667Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-09T10:54:47.710Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-09T10:54:48.395Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-09T10:54:48.687Z] + ls -al . [2022-05-09T10:54:48.687Z] total 180 [2022-05-09T10:54:48.687Z] drwxrwxr-x 10 jenkins jenkins 4096 May 9 10:54 . [2022-05-09T10:54:48.687Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 10:53 .. [2022-05-09T10:54:48.687Z] -rw-rw-r-- 1 jenkins jenkins 140 May 9 10:53 .dockerignore [2022-05-09T10:54:48.687Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 10:53 .git [2022-05-09T10:54:48.687Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:53 .github [2022-05-09T10:54:48.687Z] -rw-rw-r-- 1 jenkins jenkins 331 May 9 10:53 .gitignore [2022-05-09T10:54:48.687Z] -rw-rw-r-- 1 jenkins jenkins 41 May 9 10:53 .golangci.yml [2022-05-09T10:54:48.687Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 10:53 .semver [2022-05-09T10:54:48.687Z] -rw-rw-r-- 1 jenkins jenkins 9377 May 9 10:53 Attribution.txt [2022-05-09T10:54:48.687Z] -rw-rw-r-- 1 jenkins jenkins 6038 May 9 10:53 CHANGELOG.md [2022-05-09T10:54:48.687Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 9 10:53 Dockerfile [2022-05-09T10:54:48.687Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 10:53 GOVERNANCE.md [2022-05-09T10:54:48.687Z] -rw-rw-r-- 1 jenkins jenkins 680 May 9 10:53 Jenkinsfile [2022-05-09T10:54:48.687Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 9 10:53 LICENSE [2022-05-09T10:54:48.687Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 9 10:53 Makefile [2022-05-09T10:54:48.687Z] -rw-rw-r-- 1 jenkins jenkins 622 May 9 10:53 OWNERS.md [2022-05-09T10:54:48.687Z] -rw-rw-r-- 1 jenkins jenkins 3397 May 9 10:53 README.md [2022-05-09T10:54:48.687Z] -rw-rw-r-- 1 jenkins jenkins 12 May 9 10:53 VERSION [2022-05-09T10:54:48.687Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 10:53 bin [2022-05-09T10:54:48.687Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:53 cmd [2022-05-09T10:54:48.687Z] -rw-r--r-- 1 jenkins jenkins 24065 May 9 10:54 coverage.out [2022-05-09T10:54:48.687Z] -rw-rw-r-- 1 jenkins jenkins 3399 May 9 10:53 go.mod [2022-05-09T10:54:48.687Z] -rw-rw-r-- 1 jenkins jenkins 35558 May 9 10:53 go.sum [2022-05-09T10:54:48.687Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:53 internal [2022-05-09T10:54:48.687Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 10:53 simulator [2022-05-09T10:54:48.687Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 10:53 snap [2022-05-09T10:54:48.687Z] -rw-rw-r-- 1 jenkins jenkins 229 May 9 10:53 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:54:48.985Z] + 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=34696552c2fac84d635c044d3d9d718bd3379cee --label arch=amd64 --label version=2.2.0-dev.17 . [2022-05-09T10:54:48.985Z] Sending build context to Docker daemon 5.876MB [2022-05-09T10:54:48.985Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T10:54:48.985Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-09T10:54:48.985Z] ---> e94ad293797b [2022-05-09T10:54:48.985Z] Step 3/23 : ARG MAKE='make build' [2022-05-09T10:54:48.985Z] ---> Running in f49cf8889a12 [2022-05-09T10:54:49.246Z] Removing intermediate container f49cf8889a12 [2022-05-09T10:54:49.246Z] ---> 8fcdecefb1c2 [2022-05-09T10:54:49.246Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T10:54:49.246Z] ---> Running in d915aa6a8053 [2022-05-09T10:54:49.816Z] Removing intermediate container d915aa6a8053 [2022-05-09T10:54:49.816Z] ---> b3789292d69d [2022-05-09T10:54:49.816Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-09T10:54:49.816Z] ---> Running in 5b5eed798369 [2022-05-09T10:54:50.077Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-09T10:54:51.035Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-09T10:54:51.298Z] OK: 226 MiB in 60 packages [2022-05-09T10:54:51.557Z] Removing intermediate container 5b5eed798369 [2022-05-09T10:54:51.557Z] ---> 55a2c200fa16 [2022-05-09T10:54:51.557Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-09T10:54:51.817Z] ---> Running in e92c88c1ab30 [2022-05-09T10:54:51.817Z] Removing intermediate container e92c88c1ab30 [2022-05-09T10:54:51.817Z] ---> cdaab5fe4d0f [2022-05-09T10:54:51.817Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-09T10:54:51.817Z] ---> 3eef748542a8 [2022-05-09T10:54:51.818Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T10:54:52.078Z] ---> Running in 7dd36a7fbcea [2022-05-09T10:54:52.689Z] Removing intermediate container 7dd36a7fbcea [2022-05-09T10:54:52.689Z] ---> 113951d0d442 [2022-05-09T10:54:52.689Z] Step 9/23 : COPY . . [2022-05-09T10:54:52.952Z] ---> 4b8d1977c963 [2022-05-09T10:54:52.952Z] Step 10/23 : RUN ${MAKE} [2022-05-09T10:54:52.952Z] ---> Running in 4db10b06cc48 [2022-05-09T10:54:53.212Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-05-09T10:55:11.303Z] Removing intermediate container 4db10b06cc48 [2022-05-09T10:55:11.303Z] ---> 289ba91fb98e [2022-05-09T10:55:11.303Z] Step 11/23 : FROM alpine:3.14 [2022-05-09T10:55:11.874Z] 3.14: Pulling from library/alpine [2022-05-09T10:55:11.874Z] 8663204ce13b: Pulling fs layer [2022-05-09T10:55:12.132Z] 8663204ce13b: Verifying Checksum [2022-05-09T10:55:12.132Z] 8663204ce13b: Download complete [2022-05-09T10:55:12.132Z] 8663204ce13b: Pull complete [2022-05-09T10:55:12.132Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-09T10:55:12.396Z] Status: Downloaded newer image for alpine:3.14 [2022-05-09T10:55:12.396Z] ---> e04c818066af [2022-05-09T10:55:12.396Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-09T10:55:12.396Z] ---> Running in 5b2ead147160 [2022-05-09T10:55:12.396Z] Removing intermediate container 5b2ead147160 [2022-05-09T10:55:12.396Z] ---> 29f3aa3ccd2a [2022-05-09T10:55:12.396Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T10:55:12.396Z] ---> Running in 870bf1b0b600 [2022-05-09T10:55:12.969Z] Removing intermediate container 870bf1b0b600 [2022-05-09T10:55:12.969Z] ---> 004d0901ed62 [2022-05-09T10:55:12.969Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-09T10:55:12.969Z] ---> Running in 014a8a271be6 [2022-05-09T10:55:13.227Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-09T10:55:14.165Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-09T10:55:14.427Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-09T10:55:14.427Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-09T10:55:14.688Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-09T10:55:14.688Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-09T10:55:14.688Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-09T10:55:14.951Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-09T10:55:14.951Z] Executing busybox-1.33.1-r7.trigger [2022-05-09T10:55:14.951Z] OK: 8 MiB in 20 packages [2022-05-09T10:55:15.228Z] Removing intermediate container 014a8a271be6 [2022-05-09T10:55:15.228Z] ---> 773d071d14a9 [2022-05-09T10:55:15.228Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-09T10:55:15.796Z] ---> b955135c9720 [2022-05-09T10:55:15.796Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-09T10:55:16.056Z] ---> 534bae5f104a [2022-05-09T10:55:16.056Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-09T10:55:16.056Z] ---> ae6aabe0b6ea [2022-05-09T10:55:16.056Z] Step 18/23 : EXPOSE 59901 [2022-05-09T10:55:16.056Z] ---> Running in 0959d17de7bd [2022-05-09T10:55:16.319Z] Removing intermediate container 0959d17de7bd [2022-05-09T10:55:16.319Z] ---> bed3c58ffbf3 [2022-05-09T10:55:16.319Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-09T10:55:16.319Z] ---> Running in 64d5a19599e0 [2022-05-09T10:55:16.319Z] Removing intermediate container 64d5a19599e0 [2022-05-09T10:55:16.319Z] ---> ff4abec45d94 [2022-05-09T10:55:16.319Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-09T10:55:16.319Z] ---> Running in e51f3b2924b8 [2022-05-09T10:55:16.319Z] Removing intermediate container e51f3b2924b8 [2022-05-09T10:55:16.319Z] ---> 53195cc408e0 [2022-05-09T10:55:16.319Z] Step 21/23 : LABEL arch=amd64 [2022-05-09T10:55:16.579Z] ---> Running in 0135ca916934 [2022-05-09T10:55:16.579Z] Removing intermediate container 0135ca916934 [2022-05-09T10:55:16.579Z] ---> dd76e707d35f [2022-05-09T10:55:16.579Z] Step 22/23 : LABEL git_sha=34696552c2fac84d635c044d3d9d718bd3379cee [2022-05-09T10:55:16.579Z] ---> Running in d63b7d8f474e [2022-05-09T10:55:16.579Z] Removing intermediate container d63b7d8f474e [2022-05-09T10:55:16.579Z] ---> e5ce59cc1661 [2022-05-09T10:55:16.579Z] Step 23/23 : LABEL version=2.2.0-dev.17 [2022-05-09T10:55:16.579Z] ---> Running in f5af6948e2bd [2022-05-09T10:55:16.840Z] Removing intermediate container f5af6948e2bd [2022-05-09T10:55:16.840Z] ---> 1941be53bf32 [2022-05-09T10:55:16.840Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-09T10:55:16.840Z] Successfully built 1941be53bf32 [2022-05-09T10:55:16.840Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T10:55:16.944Z] provisioning config files... [2022-05-09T10:55:16.954Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8625474579559537267tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T10:55:17.250Z] ---> docker-login.sh [2022-05-09T10:55:17.250Z] nexus3.edgexfoundry.org:10001 [2022-05-09T10:55:17.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:55:17.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:55:17.250Z] Configure a credential helper to remove this warning. See [2022-05-09T10:55:17.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:55:17.250Z] [2022-05-09T10:55:17.250Z] Login Succeeded [2022-05-09T10:55:17.250Z] nexus3.edgexfoundry.org:10002 [2022-05-09T10:55:17.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:55:17.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:55:17.510Z] Configure a credential helper to remove this warning. See [2022-05-09T10:55:17.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:55:17.510Z] [2022-05-09T10:55:17.510Z] Login Succeeded [2022-05-09T10:55:17.510Z] nexus3.edgexfoundry.org:10003 [2022-05-09T10:55:17.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:55:17.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:55:17.510Z] Configure a credential helper to remove this warning. See [2022-05-09T10:55:17.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:55:17.510Z] [2022-05-09T10:55:17.510Z] Login Succeeded [2022-05-09T10:55:17.510Z] nexus3.edgexfoundry.org:10004 [2022-05-09T10:55:17.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:55:17.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:55:17.768Z] Configure a credential helper to remove this warning. See [2022-05-09T10:55:17.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:55:17.768Z] [2022-05-09T10:55:17.768Z] Login Succeeded [2022-05-09T10:55:17.768Z] docker.io [2022-05-09T10:55:17.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:55:18.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:55:18.029Z] Configure a credential helper to remove this warning. See [2022-05-09T10:55:18.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:55:18.029Z] [2022-05-09T10:55:18.029Z] Login Succeeded [2022-05-09T10:55:18.029Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T10:55:18.037Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-09T10:55:18.069Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-09T10:55:18.085Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-05-09T10:55:18.085Z] 34696552c2fac84d635c044d3d9d718bd3379cee [2022-05-09T10:55:18.085Z] latest [2022-05-09T10:55:18.085Z] 2.2.0-dev.17 [2022-05-09T10:55:18.085Z] 34696552c2fac84d635c044d3d9d718bd3379cee-2.2.0-dev.17 [2022-05-09T10:55:18.085Z] main [2022-05-09T10:55:18.085Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:55:18.389Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:34696552c2fac84d635c044d3d9d718bd3379cee [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:55:18.680Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:34696552c2fac84d635c044d3d9d718bd3379cee [2022-05-09T10:55:18.680Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-09T10:55:18.680Z] dfebd1b312ef: Preparing [2022-05-09T10:55:18.680Z] fc965ce2809e: Preparing [2022-05-09T10:55:18.680Z] 4e5074402f48: Preparing [2022-05-09T10:55:18.680Z] bce106b4911a: Preparing [2022-05-09T10:55:18.680Z] 2a03ed5b65ed: Preparing [2022-05-09T10:55:18.680Z] b541d28bf3b4: Preparing [2022-05-09T10:55:18.680Z] b541d28bf3b4: Waiting [2022-05-09T10:55:18.680Z] fc965ce2809e: Pushed [2022-05-09T10:55:18.680Z] 2a03ed5b65ed: Pushed [2022-05-09T10:55:18.680Z] dfebd1b312ef: Pushed [2022-05-09T10:55:18.680Z] b541d28bf3b4: Layer already exists [2022-05-09T10:55:18.939Z] bce106b4911a: Pushed [2022-05-09T10:55:21.479Z] 4e5074402f48: Pushed [2022-05-09T10:55:21.479Z] 34696552c2fac84d635c044d3d9d718bd3379cee: digest: sha256:0e080cb36ba0e5761c9786e5740beeb041a1470b2f5a743d21070bc37faec890 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:55:21.780Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:55:22.082Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-05-09T10:55:22.082Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-09T10:55:22.082Z] dfebd1b312ef: Preparing [2022-05-09T10:55:22.082Z] fc965ce2809e: Preparing [2022-05-09T10:55:22.082Z] 4e5074402f48: Preparing [2022-05-09T10:55:22.082Z] bce106b4911a: Preparing [2022-05-09T10:55:22.082Z] 2a03ed5b65ed: Preparing [2022-05-09T10:55:22.082Z] b541d28bf3b4: Preparing [2022-05-09T10:55:22.082Z] b541d28bf3b4: Waiting [2022-05-09T10:55:22.082Z] 2a03ed5b65ed: Layer already exists [2022-05-09T10:55:22.082Z] 4e5074402f48: Layer already exists [2022-05-09T10:55:22.082Z] dfebd1b312ef: Layer already exists [2022-05-09T10:55:22.082Z] fc965ce2809e: Layer already exists [2022-05-09T10:55:22.082Z] bce106b4911a: Layer already exists [2022-05-09T10:55:22.082Z] b541d28bf3b4: Layer already exists [2022-05-09T10:55:22.082Z] latest: digest: sha256:0e080cb36ba0e5761c9786e5740beeb041a1470b2f5a743d21070bc37faec890 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:55:22.392Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:55:22.694Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.17 [2022-05-09T10:55:22.694Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-09T10:55:22.694Z] dfebd1b312ef: Preparing [2022-05-09T10:55:22.694Z] fc965ce2809e: Preparing [2022-05-09T10:55:22.694Z] 4e5074402f48: Preparing [2022-05-09T10:55:22.694Z] bce106b4911a: Preparing [2022-05-09T10:55:22.694Z] 2a03ed5b65ed: Preparing [2022-05-09T10:55:22.694Z] b541d28bf3b4: Preparing [2022-05-09T10:55:22.694Z] b541d28bf3b4: Waiting [2022-05-09T10:55:22.694Z] 4e5074402f48: Layer already exists [2022-05-09T10:55:22.694Z] 2a03ed5b65ed: Layer already exists [2022-05-09T10:55:22.694Z] bce106b4911a: Layer already exists [2022-05-09T10:55:22.694Z] fc965ce2809e: Layer already exists [2022-05-09T10:55:22.694Z] dfebd1b312ef: Layer already exists [2022-05-09T10:55:22.694Z] b541d28bf3b4: Layer already exists [2022-05-09T10:55:22.694Z] 2.2.0-dev.17: digest: sha256:0e080cb36ba0e5761c9786e5740beeb041a1470b2f5a743d21070bc37faec890 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:55:22.989Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:34696552c2fac84d635c044d3d9d718bd3379cee-2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:55:23.282Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:34696552c2fac84d635c044d3d9d718bd3379cee-2.2.0-dev.17 [2022-05-09T10:55:23.282Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-09T10:55:23.282Z] dfebd1b312ef: Preparing [2022-05-09T10:55:23.282Z] fc965ce2809e: Preparing [2022-05-09T10:55:23.282Z] 4e5074402f48: Preparing [2022-05-09T10:55:23.282Z] bce106b4911a: Preparing [2022-05-09T10:55:23.282Z] 2a03ed5b65ed: Preparing [2022-05-09T10:55:23.282Z] b541d28bf3b4: Preparing [2022-05-09T10:55:23.282Z] b541d28bf3b4: Waiting [2022-05-09T10:55:23.282Z] 2a03ed5b65ed: Layer already exists [2022-05-09T10:55:23.282Z] dfebd1b312ef: Layer already exists [2022-05-09T10:55:23.282Z] 4e5074402f48: Layer already exists [2022-05-09T10:55:23.282Z] fc965ce2809e: Layer already exists [2022-05-09T10:55:23.282Z] bce106b4911a: Layer already exists [2022-05-09T10:55:23.282Z] b541d28bf3b4: Layer already exists [2022-05-09T10:55:23.282Z] 34696552c2fac84d635c044d3d9d718bd3379cee-2.2.0-dev.17: digest: sha256:0e080cb36ba0e5761c9786e5740beeb041a1470b2f5a743d21070bc37faec890 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:55:23.578Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:55:23.876Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-05-09T10:55:23.876Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-09T10:55:23.876Z] dfebd1b312ef: Preparing [2022-05-09T10:55:23.876Z] fc965ce2809e: Preparing [2022-05-09T10:55:23.876Z] 4e5074402f48: Preparing [2022-05-09T10:55:23.876Z] bce106b4911a: Preparing [2022-05-09T10:55:23.876Z] 2a03ed5b65ed: Preparing [2022-05-09T10:55:23.876Z] b541d28bf3b4: Preparing [2022-05-09T10:55:23.876Z] b541d28bf3b4: Waiting [2022-05-09T10:55:23.876Z] dfebd1b312ef: Layer already exists [2022-05-09T10:55:23.876Z] 4e5074402f48: Layer already exists [2022-05-09T10:55:23.876Z] fc965ce2809e: Layer already exists [2022-05-09T10:55:23.876Z] bce106b4911a: Layer already exists [2022-05-09T10:55:23.876Z] 2a03ed5b65ed: Layer already exists [2022-05-09T10:55:23.876Z] b541d28bf3b4: Layer already exists [2022-05-09T10:55:23.876Z] main: digest: sha256:0e080cb36ba0e5761c9786e5740beeb041a1470b2f5a743d21070bc37faec890 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-09T10:55:23.920Z] ===================================================== [Pipeline] echo [2022-05-09T10:55:23.926Z] taggedImages: [2022-05-09T10:55:23.926Z] - nexus3.edgexfoundry.org:10004/device-modbus:34696552c2fac84d635c044d3d9d718bd3379cee [2022-05-09T10:55:23.926Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-05-09T10:55:23.926Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.17 [2022-05-09T10:55:23.926Z] - nexus3.edgexfoundry.org:10004/device-modbus:34696552c2fac84d635c044d3d9d718bd3379cee-2.2.0-dev.17 [2022-05-09T10:55:23.926Z] - 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-09T10:55:24.328Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T10:55:24.328Z] [2022-05-09T10:55:24.328Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:55:24.743Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T10:55:24.744Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-09T10:55:24.744Z] 5eb5b503b376: Pulling fs layer [2022-05-09T10:55:24.744Z] 5c69ac0246d0: Pulling fs layer [2022-05-09T10:55:24.744Z] ec43610c2a17: Pulling fs layer [2022-05-09T10:55:24.744Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-09T10:55:24.744Z] 33b1e0a273af: Pulling fs layer [2022-05-09T10:55:24.744Z] 5d3b04190fa2: Pulling fs layer [2022-05-09T10:55:24.744Z] 2f39f015ded8: Pulling fs layer [2022-05-09T10:55:24.744Z] 5d3b04190fa2: Waiting [2022-05-09T10:55:24.744Z] 33b1e0a273af: Waiting [2022-05-09T10:55:24.744Z] 2f39f015ded8: Waiting [2022-05-09T10:55:24.744Z] 3a2ae6a8a46f: Waiting [2022-05-09T10:55:24.744Z] 5c69ac0246d0: Download complete [2022-05-09T10:55:24.744Z] 3a2ae6a8a46f: Download complete [2022-05-09T10:55:24.744Z] 33b1e0a273af: Verifying Checksum [2022-05-09T10:55:24.744Z] 33b1e0a273af: Download complete [2022-05-09T10:55:24.744Z] 5d3b04190fa2: Verifying Checksum [2022-05-09T10:55:24.744Z] 5d3b04190fa2: Download complete [2022-05-09T10:55:24.744Z] ec43610c2a17: Verifying Checksum [2022-05-09T10:55:24.744Z] ec43610c2a17: Download complete [2022-05-09T10:55:25.005Z] 5eb5b503b376: Verifying Checksum [2022-05-09T10:55:25.005Z] 5eb5b503b376: Download complete [2022-05-09T10:55:25.577Z] 2f39f015ded8: Download complete [2022-05-09T10:55:26.519Z] 5eb5b503b376: Pull complete [2022-05-09T10:55:26.519Z] 5c69ac0246d0: Pull complete [2022-05-09T10:55:26.780Z] ec43610c2a17: Pull complete [2022-05-09T10:55:27.040Z] 3a2ae6a8a46f: Pull complete [2022-05-09T10:55:27.303Z] 33b1e0a273af: Pull complete [2022-05-09T10:55:27.303Z] 5d3b04190fa2: Pull complete [2022-05-09T10:55:31.493Z] 2f39f015ded8: Pull complete [2022-05-09T10:55:31.493Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-09T10:55:31.493Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T10:55:31.493Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-09T10:55:31.563Z] prd-ubuntu20.04-docker-8c-8g-41791 does not seem to be running inside a container [2022-05-09T10:55:31.606Z] $ 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-09T10:55:32.993Z] $ docker top fbf3e277e8ecc8f7e8a383ff76c7242568f0c594a5f3f094b9be16bef0a8fe87 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T10:55:33.428Z] ---> job-cost.sh [2022-05-09T10:55:33.428Z] lf-activate-venv: SKIPPING [2022-05-09T10:55:33.428Z] INFO: No Stack... [2022-05-09T10:55:34.000Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-09T10:55:34.570Z] INFO: Archiving Costs [Pipeline] sh [2022-05-09T10:55:34.858Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-05-09T10:55:34.859Z] + cut -d, -f6 [Pipeline] lock [2022-05-09T10:55:34.872Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-35-stack-cost] [2022-05-09T10:55:34.878Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-35-stack-cost] did not exist. Created. [2022-05-09T10:55:34.878Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-35-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-09T10:55:35.184Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-09T10:55:35.241Z] Stashed 1 file(s) [Pipeline] } [2022-05-09T10:55:35.250Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-35-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-09T10:55:35.277Z] $ docker stop --time=1 fbf3e277e8ecc8f7e8a383ff76c7242568f0c594a5f3f094b9be16bef0a8fe87 [2022-05-09T10:55:36.445Z] $ docker rm -f fbf3e277e8ecc8f7e8a383ff76c7242568f0c594a5f3f094b9be16bef0a8fe87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-09T10:55:40.403Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-41793 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-05-09T10:55:40.417Z] Running in /w/workspace/device-modbus-go/35 [Pipeline] { [Pipeline] checkout [2022-05-09T10:55:40.709Z] Selected Git installation does not exist. Using Default [2022-05-09T10:55:40.709Z] The recommended git tool is: NONE [2022-05-09T10:55:46.854Z] using credential edgex-jenkins-ssh [2022-05-09T10:55:46.875Z] Cloning the remote Git repository [2022-05-09T10:55:46.939Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-05-09T10:55:47.012Z] > git init /w/workspace/device-modbus-go/35 # timeout=10 [2022-05-09T10:55:47.096Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-05-09T10:55:47.098Z] > git --version # timeout=10 [2022-05-09T10:55:47.120Z] > git --version # 'git version 2.25.1' [2022-05-09T10:55:47.122Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-09T10:55:48.414Z] Avoid second fetch [2022-05-09T10:55:48.414Z] Checking out Revision 34696552c2fac84d635c044d3d9d718bd3379cee (main) [2022-05-09T10:55:47.255Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-09T10:55:48.382Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-05-09T10:55:48.398Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-09T10:55:48.442Z] > git config core.sparsecheckout # timeout=10 [2022-05-09T10:55:48.458Z] > git checkout -f 34696552c2fac84d635c044d3d9d718bd3379cee # timeout=10 [2022-05-09T10:55:52.584Z] Commit message: "Merge pull request #344 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.37" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-09T10:55:53.461Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-09T10:55:53.461Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-09T10:55:53.461Z] Dload Upload Total Spent Left Speed [2022-05-09T10:55:53.461Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2022-05-09T10:55:53.975Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-09T10:55:54.323Z] + sudo tee /etc/docker/daemon.new [2022-05-09T10:55:54.323Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-09T10:55:54.323Z] { [2022-05-09T10:55:54.323Z] "registry-mirrors": [ [2022-05-09T10:55:54.323Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-09T10:55:54.323Z] ], [2022-05-09T10:55:54.323Z] "bip": "10.250.0.254/24", [2022-05-09T10:55:54.323Z] "hosts": [ [2022-05-09T10:55:54.323Z] "tcp://0.0.0.0:5555", [2022-05-09T10:55:54.323Z] "unix:///var/run/docker.sock" [2022-05-09T10:55:54.323Z] ], [2022-05-09T10:55:54.323Z] "mtu": 1458, [2022-05-09T10:55:54.323Z] "selinux-enabled": true, [2022-05-09T10:55:54.323Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-09T10:55:54.323Z] } [Pipeline] sh [2022-05-09T10:55:54.666Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-09T10:55:55.028Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T10:56:13.432Z] provisioning config files... [2022-05-09T10:56:13.458Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/35@tmp/config3889940950053198704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T10:56:13.831Z] ---> docker-login.sh [2022-05-09T10:56:13.832Z] nexus3.edgexfoundry.org:10001 [2022-05-09T10:56:14.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:56:14.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:56:14.704Z] Configure a credential helper to remove this warning. See [2022-05-09T10:56:14.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:56:14.704Z] [2022-05-09T10:56:14.704Z] Login Succeeded [2022-05-09T10:56:14.704Z] nexus3.edgexfoundry.org:10002 [2022-05-09T10:56:14.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:56:15.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:56:15.256Z] Configure a credential helper to remove this warning. See [2022-05-09T10:56:15.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:56:15.256Z] [2022-05-09T10:56:15.256Z] Login Succeeded [2022-05-09T10:56:15.256Z] nexus3.edgexfoundry.org:10003 [2022-05-09T10:56:15.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:56:15.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:56:15.535Z] Configure a credential helper to remove this warning. See [2022-05-09T10:56:15.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:56:15.535Z] [2022-05-09T10:56:15.535Z] Login Succeeded [2022-05-09T10:56:15.535Z] nexus3.edgexfoundry.org:10004 [2022-05-09T10:56:16.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:56:16.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:56:16.137Z] Configure a credential helper to remove this warning. See [2022-05-09T10:56:16.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:56:16.137Z] [2022-05-09T10:56:16.137Z] Login Succeeded [2022-05-09T10:56:16.137Z] docker.io [2022-05-09T10:56:16.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:56:17.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:56:17.005Z] Configure a credential helper to remove this warning. See [2022-05-09T10:56:17.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:56:17.005Z] [2022-05-09T10:56:17.005Z] Login Succeeded [2022-05-09T10:56:17.005Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T10:56:17.024Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-09T10:56:17.548Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-09T10:56:17.563Z] ========================================================= [2022-05-09T10:56:17.563Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-09T10:56:17.563Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:56:17.924Z] + 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-09T10:56:18.197Z] Sending build context to Docker daemon 3.048MB [2022-05-09T10:56:18.474Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T10:56:18.474Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-09T10:56:18.474Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-09T10:56:18.474Z] 9b3977197b4f: Pulling fs layer [2022-05-09T10:56:18.474Z] 1a89e8eeedd5: Pulling fs layer [2022-05-09T10:56:18.474Z] 94645a83ff95: Pulling fs layer [2022-05-09T10:56:18.474Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-09T10:56:18.474Z] 0c92f367c5e7: Pulling fs layer [2022-05-09T10:56:18.474Z] 3096ccb668a1: Pulling fs layer [2022-05-09T10:56:18.474Z] e8cf19c19ddd: Pulling fs layer [2022-05-09T10:56:18.474Z] a4caa8a26152: Pulling fs layer [2022-05-09T10:56:18.474Z] 3f3a8bcf1eab: Waiting [2022-05-09T10:56:18.474Z] 0c92f367c5e7: Waiting [2022-05-09T10:56:18.474Z] 3096ccb668a1: Waiting [2022-05-09T10:56:18.474Z] e8cf19c19ddd: Waiting [2022-05-09T10:56:18.474Z] a4caa8a26152: Waiting [2022-05-09T10:56:18.474Z] 94645a83ff95: Verifying Checksum [2022-05-09T10:56:18.474Z] 94645a83ff95: Download complete [2022-05-09T10:56:18.474Z] 1a89e8eeedd5: Verifying Checksum [2022-05-09T10:56:18.474Z] 1a89e8eeedd5: Download complete [2022-05-09T10:56:18.474Z] 0c92f367c5e7: Verifying Checksum [2022-05-09T10:56:18.474Z] 0c92f367c5e7: Download complete [2022-05-09T10:56:18.474Z] 3096ccb668a1: Verifying Checksum [2022-05-09T10:56:18.474Z] 3096ccb668a1: Download complete [2022-05-09T10:56:18.474Z] 9b3977197b4f: Verifying Checksum [2022-05-09T10:56:18.474Z] e8cf19c19ddd: Verifying Checksum [2022-05-09T10:56:18.474Z] e8cf19c19ddd: Download complete [2022-05-09T10:56:19.472Z] 9b3977197b4f: Pull complete [2022-05-09T10:56:20.080Z] 1a89e8eeedd5: Pull complete [2022-05-09T10:56:20.356Z] 94645a83ff95: Pull complete [2022-05-09T10:56:20.632Z] a4caa8a26152: Verifying Checksum [2022-05-09T10:56:20.632Z] a4caa8a26152: Download complete [2022-05-09T10:56:21.234Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-09T10:56:21.234Z] 3f3a8bcf1eab: Download complete [2022-05-09T10:56:33.651Z] 3f3a8bcf1eab: Pull complete [2022-05-09T10:56:33.651Z] 0c92f367c5e7: Pull complete [2022-05-09T10:56:33.925Z] 3096ccb668a1: Pull complete [2022-05-09T10:56:34.201Z] e8cf19c19ddd: Pull complete [2022-05-09T10:56:40.934Z] a4caa8a26152: Pull complete [2022-05-09T10:56:40.934Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-09T10:56:40.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-09T10:56:40.934Z] ---> 725f1c02e7f9 [2022-05-09T10:56:40.934Z] Step 3/10 : ARG MAKE='make build' [2022-05-09T10:56:40.934Z] ---> Running in 3b66a90488ec [2022-05-09T10:56:41.532Z] Removing intermediate container 3b66a90488ec [2022-05-09T10:56:41.532Z] ---> 98e9affba90c [2022-05-09T10:56:41.532Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T10:56:41.532Z] ---> Running in 175e64a5dfd8 [2022-05-09T10:56:43.520Z] Removing intermediate container 175e64a5dfd8 [2022-05-09T10:56:43.520Z] ---> d041066dcf6c [2022-05-09T10:56:43.520Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-09T10:56:43.520Z] ---> Running in 0f3bb1ffa583 [2022-05-09T10:56:44.502Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-09T10:56:45.486Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-09T10:56:46.478Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-09T10:56:46.479Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-09T10:56:46.479Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-09T10:56:46.759Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-09T10:56:46.759Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-09T10:56:46.759Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-09T10:56:47.033Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-05-09T10:56:47.033Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-09T10:56:47.033Z] Executing busybox-1.34.1-r3.trigger [2022-05-09T10:56:47.314Z] OK: 226 MiB in 60 packages [2022-05-09T10:56:48.303Z] Removing intermediate container 0f3bb1ffa583 [2022-05-09T10:56:48.303Z] ---> f6344198a693 [2022-05-09T10:56:48.303Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-09T10:56:48.303Z] ---> Running in b96e09615ac0 [2022-05-09T10:56:48.582Z] Removing intermediate container b96e09615ac0 [2022-05-09T10:56:48.582Z] ---> 6d6cc2d454af [2022-05-09T10:56:48.582Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-09T10:56:49.189Z] ---> 9320218c831c [2022-05-09T10:56:49.189Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T10:56:49.189Z] ---> Running in c683003cd920 [2022-05-09T10:57:36.210Z] Removing intermediate container c683003cd920 [2022-05-09T10:57:36.210Z] ---> f98a646cd09c [2022-05-09T10:57:36.210Z] Step 9/10 : COPY . . [2022-05-09T10:57:36.210Z] ---> 977764ddf4fe [2022-05-09T10:57:36.210Z] Step 10/10 : RUN ${MAKE} [2022-05-09T10:57:36.210Z] ---> Running in 99414a80d0e2 [2022-05-09T10:57:36.210Z] noop [2022-05-09T10:57:36.210Z] Removing intermediate container 99414a80d0e2 [2022-05-09T10:57:36.210Z] ---> 73585424cc69 [2022-05-09T10:57:36.210Z] Successfully built 73585424cc69 [2022-05-09T10:57:36.210Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:57:36.563Z] + docker inspect -f . ci-base-image-arm64 [2022-05-09T10:57:36.563Z] . [Pipeline] withDockerContainer [2022-05-09T10:57:36.835Z] prd-ubuntu20.04-docker-arm64-4c-16g-41793 does not seem to be running inside a container [2022-05-09T10:57:36.933Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/35 -v /w/workspace/device-modbus-go/35:/w/workspace/device-modbus-go/35:rw,z -v /w/workspace/device-modbus-go/35@tmp:/w/workspace/device-modbus-go/35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-09T10:57:38.282Z] $ docker top 856aac216dbc4c27ffabbc1ad19a3c0c7758ff64ad519ece03b09debdde7fb56 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T10:57:39.234Z] + go version [2022-05-09T10:57:39.235Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-09T10:57:39.272Z] $ docker stop --time=1 856aac216dbc4c27ffabbc1ad19a3c0c7758ff64ad519ece03b09debdde7fb56 [2022-05-09T10:57:41.032Z] $ docker rm -f 856aac216dbc4c27ffabbc1ad19a3c0c7758ff64ad519ece03b09debdde7fb56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:57:41.708Z] + docker inspect -f . ci-base-image-arm64 [2022-05-09T10:57:41.708Z] . [Pipeline] withDockerContainer [2022-05-09T10:57:41.975Z] prd-ubuntu20.04-docker-arm64-4c-16g-41793 does not seem to be running inside a container [2022-05-09T10:57:42.088Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/35 -v /w/workspace/device-modbus-go/35:/w/workspace/device-modbus-go/35:rw,z -v /w/workspace/device-modbus-go/35@tmp:/w/workspace/device-modbus-go/35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-09T10:57:43.410Z] $ docker top 5a4177c0111315f9416d558b8b9a7e2711a3e645eadf59579c1eb91651ee6ada -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-09T10:57:44.361Z] + make test [2022-05-09T10:57:44.361Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-09T10:57:46.360Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-09T10:59:23.283Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-09T10:59:23.283Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.064s coverage: 46.4% of statements [2022-05-09T10:59:23.283Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-09T10:59:23.283Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-09T10:59:50.120Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-09T10:59:50.120Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-09T10:59:50.120Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-09T10:59:53.542Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-09T10:59:53.568Z] $ docker stop --time=1 5a4177c0111315f9416d558b8b9a7e2711a3e645eadf59579c1eb91651ee6ada [2022-05-09T10:59:55.429Z] $ docker rm -f 5a4177c0111315f9416d558b8b9a7e2711a3e645eadf59579c1eb91651ee6ada [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T10:59:56.497Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-09T10:59:56.525Z] Warning: overwriting stash ‘coverage-report’ [2022-05-09T10:59:57.094Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-09T10:59:57.506Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-09T10:59:57.847Z] + ls -al . [2022-05-09T10:59:57.847Z] total 176 [2022-05-09T10:59:57.847Z] drwxrwxr-x 9 jenkins jenkins 4096 May 9 10:59 . [2022-05-09T10:59:57.847Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 10:55 .. [2022-05-09T10:59:57.847Z] -rw-rw-r-- 1 jenkins jenkins 140 May 9 10:55 .dockerignore [2022-05-09T10:59:57.847Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 10:55 .git [2022-05-09T10:59:57.847Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:55 .github [2022-05-09T10:59:57.847Z] -rw-rw-r-- 1 jenkins jenkins 331 May 9 10:55 .gitignore [2022-05-09T10:59:57.847Z] -rw-rw-r-- 1 jenkins jenkins 41 May 9 10:55 .golangci.yml [2022-05-09T10:59:57.847Z] -rw-rw-r-- 1 jenkins jenkins 9377 May 9 10:55 Attribution.txt [2022-05-09T10:59:57.847Z] -rw-rw-r-- 1 jenkins jenkins 6038 May 9 10:55 CHANGELOG.md [2022-05-09T10:59:57.847Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 9 10:55 Dockerfile [2022-05-09T10:59:57.847Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 10:55 GOVERNANCE.md [2022-05-09T10:59:57.847Z] -rw-rw-r-- 1 jenkins jenkins 680 May 9 10:55 Jenkinsfile [2022-05-09T10:59:57.847Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 9 10:55 LICENSE [2022-05-09T10:59:57.847Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 9 10:55 Makefile [2022-05-09T10:59:57.847Z] -rw-rw-r-- 1 jenkins jenkins 622 May 9 10:55 OWNERS.md [2022-05-09T10:59:57.847Z] -rw-rw-r-- 1 jenkins jenkins 3397 May 9 10:55 README.md [2022-05-09T10:59:57.847Z] -rw-rw-r-- 1 jenkins jenkins 12 May 9 10:53 VERSION [2022-05-09T10:59:57.847Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 10:55 bin [2022-05-09T10:59:57.847Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:55 cmd [2022-05-09T10:59:57.847Z] -rw-r--r-- 1 jenkins jenkins 24065 May 9 10:59 coverage.out [2022-05-09T10:59:57.847Z] -rw-rw-r-- 1 jenkins jenkins 3399 May 9 10:55 go.mod [2022-05-09T10:59:57.847Z] -rw-rw-r-- 1 jenkins jenkins 35558 May 9 10:55 go.sum [2022-05-09T10:59:57.847Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:55 internal [2022-05-09T10:59:57.847Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 10:55 simulator [2022-05-09T10:59:57.847Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 10:55 snap [2022-05-09T10:59:57.847Z] -rw-rw-r-- 1 jenkins jenkins 229 May 9 10:55 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:59:58.203Z] + 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=34696552c2fac84d635c044d3d9d718bd3379cee --label arch=arm64 --label version=2.2.0-dev.17 . [2022-05-09T10:59:58.477Z] Sending build context to Docker daemon 3.074MB [2022-05-09T10:59:58.751Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T10:59:58.751Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-09T10:59:58.751Z] ---> 73585424cc69 [2022-05-09T10:59:58.751Z] Step 3/23 : ARG MAKE='make build' [2022-05-09T10:59:58.751Z] ---> Running in 6c4e122be6d6 [2022-05-09T10:59:59.028Z] Removing intermediate container 6c4e122be6d6 [2022-05-09T10:59:59.028Z] ---> 0c06736cff45 [2022-05-09T10:59:59.028Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T10:59:59.307Z] ---> Running in 8d0cfe223960 [2022-05-09T11:00:01.293Z] Removing intermediate container 8d0cfe223960 [2022-05-09T11:00:01.293Z] ---> a1e0382418ef [2022-05-09T11:00:01.293Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-09T11:00:01.293Z] ---> Running in 6a0ccaa579f4 [2022-05-09T11:00:02.277Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-09T11:00:03.256Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-09T11:00:04.238Z] OK: 226 MiB in 60 packages [2022-05-09T11:00:05.231Z] Removing intermediate container 6a0ccaa579f4 [2022-05-09T11:00:05.231Z] ---> 3e9d7bcb9f32 [2022-05-09T11:00:05.231Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-09T11:00:05.231Z] ---> Running in 45c04a4e8a83 [2022-05-09T11:00:05.510Z] Removing intermediate container 45c04a4e8a83 [2022-05-09T11:00:05.510Z] ---> 13a34f3abf4b [2022-05-09T11:00:05.510Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-09T11:00:06.117Z] ---> 43bdd8ff9aa9 [2022-05-09T11:00:06.117Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T11:00:06.399Z] ---> Running in 9ba3c414f32c [2022-05-09T11:00:08.385Z] Removing intermediate container 9ba3c414f32c [2022-05-09T11:00:08.386Z] ---> 4159ab24a997 [2022-05-09T11:00:08.386Z] Step 9/23 : COPY . . [2022-05-09T11:00:09.372Z] ---> 24e4b3be7fb5 [2022-05-09T11:00:09.372Z] Step 10/23 : RUN ${MAKE} [2022-05-09T11:00:09.372Z] ---> Running in 26472ae5dbb4 [2022-05-09T11:00:10.813Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-05-09T11:02:32.755Z] Removing intermediate container 26472ae5dbb4 [2022-05-09T11:02:32.755Z] ---> d511133a2164 [2022-05-09T11:02:32.755Z] Step 11/23 : FROM alpine:3.14 [2022-05-09T11:02:32.755Z] 3.14: Pulling from library/alpine [2022-05-09T11:02:32.755Z] 455c02918c45: Pulling fs layer [2022-05-09T11:02:32.755Z] 455c02918c45: Verifying Checksum [2022-05-09T11:02:32.755Z] 455c02918c45: Download complete [2022-05-09T11:02:33.365Z] 455c02918c45: Pull complete [2022-05-09T11:02:33.365Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-09T11:02:33.365Z] Status: Downloaded newer image for alpine:3.14 [2022-05-09T11:02:33.365Z] ---> ac73e934f311 [2022-05-09T11:02:33.365Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-09T11:02:33.641Z] ---> Running in f9fa77f1d175 [2022-05-09T11:02:33.925Z] Removing intermediate container f9fa77f1d175 [2022-05-09T11:02:33.925Z] ---> 80ac12e60db0 [2022-05-09T11:02:33.925Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T11:02:33.925Z] ---> Running in 4387fc019245 [2022-05-09T11:02:35.919Z] Removing intermediate container 4387fc019245 [2022-05-09T11:02:35.919Z] ---> f609dc9fd98e [2022-05-09T11:02:35.919Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-09T11:02:35.919Z] ---> Running in bbafc22f62b5 [2022-05-09T11:02:36.911Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-09T11:02:37.897Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-09T11:02:38.889Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-09T11:02:38.889Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-09T11:02:38.889Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-09T11:02:38.889Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-09T11:02:39.163Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-09T11:02:39.163Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-09T11:02:39.440Z] Executing busybox-1.33.1-r7.trigger [2022-05-09T11:02:39.440Z] OK: 8 MiB in 20 packages [2022-05-09T11:02:40.432Z] Removing intermediate container bbafc22f62b5 [2022-05-09T11:02:40.432Z] ---> 069596ac0855 [2022-05-09T11:02:40.432Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-09T11:02:41.888Z] ---> e31998a646cf [2022-05-09T11:02:41.888Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-09T11:02:42.493Z] ---> 6f725a046b2d [2022-05-09T11:02:42.493Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-09T11:02:43.096Z] ---> bf1281a9b6e2 [2022-05-09T11:02:43.096Z] Step 18/23 : EXPOSE 59901 [2022-05-09T11:02:43.382Z] ---> Running in 1700be03c32d [2022-05-09T11:02:43.662Z] Removing intermediate container 1700be03c32d [2022-05-09T11:02:43.662Z] ---> 724dc90e384c [2022-05-09T11:02:43.662Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-09T11:02:43.662Z] ---> Running in 04518e33962c [2022-05-09T11:02:43.952Z] Removing intermediate container 04518e33962c [2022-05-09T11:02:43.952Z] ---> d9b28c037a3f [2022-05-09T11:02:43.952Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-09T11:02:43.952Z] ---> Running in 037b48573d92 [2022-05-09T11:02:44.555Z] Removing intermediate container 037b48573d92 [2022-05-09T11:02:44.555Z] ---> e5a87190c2fc [2022-05-09T11:02:44.555Z] Step 21/23 : LABEL arch=arm64 [2022-05-09T11:02:44.555Z] ---> Running in 6df43b5d559d [2022-05-09T11:02:44.843Z] Removing intermediate container 6df43b5d559d [2022-05-09T11:02:44.843Z] ---> a22dcd72aa12 [2022-05-09T11:02:44.843Z] Step 22/23 : LABEL git_sha=34696552c2fac84d635c044d3d9d718bd3379cee [2022-05-09T11:02:44.843Z] ---> Running in 746bc96735dc [2022-05-09T11:02:45.450Z] Removing intermediate container 746bc96735dc [2022-05-09T11:02:45.450Z] ---> 42242b558456 [2022-05-09T11:02:45.450Z] Step 23/23 : LABEL version=2.2.0-dev.17 [2022-05-09T11:02:45.450Z] ---> Running in 7ac9375f074d [2022-05-09T11:02:45.729Z] Removing intermediate container 7ac9375f074d [2022-05-09T11:02:45.729Z] ---> a3ed6bace2f2 [2022-05-09T11:02:45.729Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-09T11:02:45.729Z] Successfully built a3ed6bace2f2 [2022-05-09T11:02:45.729Z] 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-09T11:02:45.825Z] provisioning config files... [2022-05-09T11:02:45.851Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/35@tmp/config3701238133807291568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:02:46.217Z] ---> docker-login.sh [2022-05-09T11:02:46.217Z] nexus3.edgexfoundry.org:10001 [2022-05-09T11:02:46.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:02:46.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:02:46.769Z] Configure a credential helper to remove this warning. See [2022-05-09T11:02:46.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:02:46.769Z] [2022-05-09T11:02:46.769Z] Login Succeeded [2022-05-09T11:02:46.769Z] nexus3.edgexfoundry.org:10002 [2022-05-09T11:02:47.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:02:47.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:02:47.045Z] Configure a credential helper to remove this warning. See [2022-05-09T11:02:47.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:02:47.045Z] [2022-05-09T11:02:47.045Z] Login Succeeded [2022-05-09T11:02:47.336Z] nexus3.edgexfoundry.org:10003 [2022-05-09T11:02:47.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:02:47.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:02:47.612Z] Configure a credential helper to remove this warning. See [2022-05-09T11:02:47.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:02:47.612Z] [2022-05-09T11:02:47.612Z] Login Succeeded [2022-05-09T11:02:47.612Z] nexus3.edgexfoundry.org:10004 [2022-05-09T11:02:48.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:02:48.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:02:48.213Z] Configure a credential helper to remove this warning. See [2022-05-09T11:02:48.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:02:48.213Z] [2022-05-09T11:02:48.213Z] Login Succeeded [2022-05-09T11:02:48.213Z] docker.io [2022-05-09T11:02:48.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:02:49.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:02:49.090Z] Configure a credential helper to remove this warning. See [2022-05-09T11:02:49.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:02:49.090Z] [2022-05-09T11:02:49.090Z] Login Succeeded [2022-05-09T11:02:49.090Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T11:02:49.112Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-09T11:02:49.146Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-09T11:02:49.167Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-05-09T11:02:49.167Z] 34696552c2fac84d635c044d3d9d718bd3379cee [2022-05-09T11:02:49.167Z] latest [2022-05-09T11:02:49.167Z] 2.2.0-dev.17 [2022-05-09T11:02:49.167Z] 34696552c2fac84d635c044d3d9d718bd3379cee-2.2.0-dev.17 [2022-05-09T11:02:49.167Z] main [2022-05-09T11:02:49.167Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:02:49.541Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:34696552c2fac84d635c044d3d9d718bd3379cee [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:02:49.901Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:34696552c2fac84d635c044d3d9d718bd3379cee [2022-05-09T11:02:49.901Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-09T11:02:49.901Z] 55b8f83911d1: Preparing [2022-05-09T11:02:49.901Z] a3446a024fd9: Preparing [2022-05-09T11:02:49.901Z] 4f51a143d28a: Preparing [2022-05-09T11:02:49.901Z] b56c63166563: Preparing [2022-05-09T11:02:49.901Z] 478468ae8d96: Preparing [2022-05-09T11:02:49.901Z] f73e7dbfee58: Preparing [2022-05-09T11:02:49.901Z] f73e7dbfee58: Waiting [2022-05-09T11:02:50.191Z] 478468ae8d96: Pushed [2022-05-09T11:02:50.191Z] 55b8f83911d1: Pushed [2022-05-09T11:02:50.191Z] a3446a024fd9: Pushed [2022-05-09T11:02:50.469Z] f73e7dbfee58: Layer already exists [2022-05-09T11:02:51.073Z] b56c63166563: Pushed [2022-05-09T11:02:57.808Z] 4f51a143d28a: Pushed [2022-05-09T11:02:57.808Z] 34696552c2fac84d635c044d3d9d718bd3379cee: digest: sha256:d44e14c4c3c741fd8970e92a9007bc4c180ea152a1cc0efb64c7010c9c3f9a61 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:02:58.177Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:02:58.545Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-05-09T11:02:58.545Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-09T11:02:58.545Z] 55b8f83911d1: Preparing [2022-05-09T11:02:58.545Z] a3446a024fd9: Preparing [2022-05-09T11:02:58.545Z] 4f51a143d28a: Preparing [2022-05-09T11:02:58.545Z] b56c63166563: Preparing [2022-05-09T11:02:58.545Z] 478468ae8d96: Preparing [2022-05-09T11:02:58.545Z] f73e7dbfee58: Preparing [2022-05-09T11:02:58.545Z] f73e7dbfee58: Waiting [2022-05-09T11:02:58.545Z] b56c63166563: Layer already exists [2022-05-09T11:02:58.545Z] 55b8f83911d1: Layer already exists [2022-05-09T11:02:58.545Z] 4f51a143d28a: Layer already exists [2022-05-09T11:02:58.823Z] 478468ae8d96: Layer already exists [2022-05-09T11:02:58.823Z] a3446a024fd9: Layer already exists [2022-05-09T11:02:58.823Z] f73e7dbfee58: Layer already exists [2022-05-09T11:02:58.823Z] latest: digest: sha256:d44e14c4c3c741fd8970e92a9007bc4c180ea152a1cc0efb64c7010c9c3f9a61 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:02:59.185Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:02:59.540Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.17 [2022-05-09T11:02:59.540Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-09T11:02:59.540Z] 55b8f83911d1: Preparing [2022-05-09T11:02:59.540Z] a3446a024fd9: Preparing [2022-05-09T11:02:59.540Z] 4f51a143d28a: Preparing [2022-05-09T11:02:59.540Z] b56c63166563: Preparing [2022-05-09T11:02:59.540Z] 478468ae8d96: Preparing [2022-05-09T11:02:59.540Z] f73e7dbfee58: Preparing [2022-05-09T11:02:59.540Z] f73e7dbfee58: Waiting [2022-05-09T11:02:59.540Z] b56c63166563: Layer already exists [2022-05-09T11:02:59.540Z] a3446a024fd9: Layer already exists [2022-05-09T11:02:59.540Z] 4f51a143d28a: Layer already exists [2022-05-09T11:02:59.540Z] 478468ae8d96: Layer already exists [2022-05-09T11:02:59.540Z] 55b8f83911d1: Layer already exists [2022-05-09T11:02:59.816Z] f73e7dbfee58: Layer already exists [2022-05-09T11:02:59.816Z] 2.2.0-dev.17: digest: sha256:d44e14c4c3c741fd8970e92a9007bc4c180ea152a1cc0efb64c7010c9c3f9a61 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:03:00.181Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:34696552c2fac84d635c044d3d9d718bd3379cee-2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:03:00.536Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:34696552c2fac84d635c044d3d9d718bd3379cee-2.2.0-dev.17 [2022-05-09T11:03:00.536Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-09T11:03:00.536Z] 55b8f83911d1: Preparing [2022-05-09T11:03:00.536Z] a3446a024fd9: Preparing [2022-05-09T11:03:00.536Z] 4f51a143d28a: Preparing [2022-05-09T11:03:00.536Z] b56c63166563: Preparing [2022-05-09T11:03:00.536Z] 478468ae8d96: Preparing [2022-05-09T11:03:00.536Z] f73e7dbfee58: Preparing [2022-05-09T11:03:00.536Z] f73e7dbfee58: Waiting [2022-05-09T11:03:00.813Z] b56c63166563: Layer already exists [2022-05-09T11:03:00.813Z] 4f51a143d28a: Layer already exists [2022-05-09T11:03:00.813Z] 478468ae8d96: Layer already exists [2022-05-09T11:03:00.813Z] 55b8f83911d1: Layer already exists [2022-05-09T11:03:00.813Z] a3446a024fd9: Layer already exists [2022-05-09T11:03:00.813Z] f73e7dbfee58: Layer already exists [2022-05-09T11:03:00.813Z] 34696552c2fac84d635c044d3d9d718bd3379cee-2.2.0-dev.17: digest: sha256:d44e14c4c3c741fd8970e92a9007bc4c180ea152a1cc0efb64c7010c9c3f9a61 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:03:01.177Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:03:01.534Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-05-09T11:03:01.534Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-09T11:03:01.534Z] 55b8f83911d1: Preparing [2022-05-09T11:03:01.534Z] a3446a024fd9: Preparing [2022-05-09T11:03:01.534Z] 4f51a143d28a: Preparing [2022-05-09T11:03:01.534Z] b56c63166563: Preparing [2022-05-09T11:03:01.534Z] 478468ae8d96: Preparing [2022-05-09T11:03:01.534Z] f73e7dbfee58: Preparing [2022-05-09T11:03:01.534Z] f73e7dbfee58: Waiting [2022-05-09T11:03:01.811Z] a3446a024fd9: Layer already exists [2022-05-09T11:03:01.811Z] 55b8f83911d1: Layer already exists [2022-05-09T11:03:01.811Z] 4f51a143d28a: Layer already exists [2022-05-09T11:03:01.811Z] b56c63166563: Layer already exists [2022-05-09T11:03:01.811Z] 478468ae8d96: Layer already exists [2022-05-09T11:03:01.811Z] f73e7dbfee58: Layer already exists [2022-05-09T11:03:01.811Z] main: digest: sha256:d44e14c4c3c741fd8970e92a9007bc4c180ea152a1cc0efb64c7010c9c3f9a61 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-09T11:03:01.854Z] ===================================================== [Pipeline] echo [2022-05-09T11:03:01.866Z] taggedImages: [2022-05-09T11:03:01.866Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:34696552c2fac84d635c044d3d9d718bd3379cee [2022-05-09T11:03:01.866Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-05-09T11:03:01.866Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.17 [2022-05-09T11:03:01.866Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:34696552c2fac84d635c044d3d9d718bd3379cee-2.2.0-dev.17 [2022-05-09T11:03:01.866Z] - 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-09T11:03:02.223Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T11:03:02.223Z] [2022-05-09T11:03:02.223Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:03:02.589Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T11:03:02.865Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-09T11:03:02.865Z] 8998bd30e6a1: Pulling fs layer [2022-05-09T11:03:02.865Z] 04944245beec: Pulling fs layer [2022-05-09T11:03:02.865Z] 699f458cf7ca: Pulling fs layer [2022-05-09T11:03:02.865Z] 765212b225bb: Pulling fs layer [2022-05-09T11:03:02.865Z] f23df028b6ca: Pulling fs layer [2022-05-09T11:03:02.865Z] d65c8cfc05b1: Pulling fs layer [2022-05-09T11:03:02.865Z] 2437ff75d9bd: Pulling fs layer [2022-05-09T11:03:02.865Z] 765212b225bb: Waiting [2022-05-09T11:03:02.865Z] f23df028b6ca: Waiting [2022-05-09T11:03:02.865Z] d65c8cfc05b1: Waiting [2022-05-09T11:03:02.865Z] 2437ff75d9bd: Waiting [2022-05-09T11:03:02.865Z] 04944245beec: Verifying Checksum [2022-05-09T11:03:02.865Z] 04944245beec: Download complete [2022-05-09T11:03:02.865Z] 765212b225bb: Verifying Checksum [2022-05-09T11:03:02.865Z] 765212b225bb: Download complete [2022-05-09T11:03:02.865Z] f23df028b6ca: Verifying Checksum [2022-05-09T11:03:02.865Z] f23df028b6ca: Download complete [2022-05-09T11:03:02.865Z] d65c8cfc05b1: Verifying Checksum [2022-05-09T11:03:02.865Z] d65c8cfc05b1: Download complete [2022-05-09T11:03:03.142Z] 699f458cf7ca: Verifying Checksum [2022-05-09T11:03:03.142Z] 699f458cf7ca: Download complete [2022-05-09T11:03:03.433Z] 8998bd30e6a1: Verifying Checksum [2022-05-09T11:03:03.433Z] 8998bd30e6a1: Download complete [2022-05-09T11:03:06.070Z] 2437ff75d9bd: Verifying Checksum [2022-05-09T11:03:06.070Z] 2437ff75d9bd: Download complete [2022-05-09T11:03:08.060Z] 8998bd30e6a1: Pull complete [2022-05-09T11:03:08.337Z] 04944245beec: Pull complete [2022-05-09T11:03:09.775Z] 699f458cf7ca: Pull complete [2022-05-09T11:03:10.049Z] 765212b225bb: Pull complete [2022-05-09T11:03:11.041Z] f23df028b6ca: Pull complete [2022-05-09T11:03:11.316Z] d65c8cfc05b1: Pull complete [2022-05-09T11:03:26.420Z] 2437ff75d9bd: Pull complete [2022-05-09T11:03:26.420Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-09T11:03:26.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T11:03:26.420Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-09T11:03:26.692Z] prd-ubuntu20.04-docker-arm64-4c-16g-41793 does not seem to be running inside a container [2022-05-09T11:03:26.801Z] $ 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/35 -v /w/workspace/device-modbus-go/35:/w/workspace/device-modbus-go/35:rw,z -v /w/workspace/device-modbus-go/35@tmp:/w/workspace/device-modbus-go/35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-09T11:03:29.744Z] $ docker top bee4f10eb1f8b76a3affeaca2b9bc9c0aab0b818843d68aa53c21b120d59e117 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:03:30.716Z] ---> job-cost.sh [2022-05-09T11:03:30.716Z] lf-activate-venv: SKIPPING [2022-05-09T11:03:30.716Z] INFO: No Stack... [2022-05-09T11:03:30.990Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-09T11:03:31.970Z] INFO: Archiving Costs [Pipeline] sh [2022-05-09T11:03:32.639Z] + cut -d, -f6 [2022-05-09T11:03:32.639Z] + cat /w/workspace/device-modbus-go/35/archives/cost.csv [Pipeline] lock [2022-05-09T11:03:32.713Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-35-stack-cost] [2022-05-09T11:03:32.719Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-35-stack-cost] did not exist. Created. [2022-05-09T11:03:32.719Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-35-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-09T11:03:33.456Z] /w/workspace/device-modbus-go/35@tmp/durable-98994cb6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-09T11:03:34.188Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-09T11:03:34.216Z] Warning: overwriting stash ‘stack-cost’ [2022-05-09T11:03:34.322Z] Stashed 1 file(s) [Pipeline] } [2022-05-09T11:03:34.328Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-35-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-09T11:03:34.356Z] $ docker stop --time=1 bee4f10eb1f8b76a3affeaca2b9bc9c0aab0b818843d68aa53c21b120d59e117 [2022-05-09T11:03:35.958Z] $ docker rm -f bee4f10eb1f8b76a3affeaca2b9bc9c0aab0b818843d68aa53c21b120d59e117 [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-09T11:03:36.482Z] provisioning config files... [2022-05-09T11:03:36.491Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1822498293669070319tmp [Pipeline] { [Pipeline] sh [2022-05-09T11:03:36.790Z] + set +x [2022-05-09T11:03:36.790Z] + curl -s https://codecov.io/bash [2022-05-09T11:03:36.790Z] + bash -s -- [2022-05-09T11:03:36.790Z] [2022-05-09T11:03:36.790Z] _____ _ [2022-05-09T11:03:36.790Z] / ____| | | [2022-05-09T11:03:36.790Z] | | ___ __| | ___ ___ _____ __ [2022-05-09T11:03:36.790Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-09T11:03:36.790Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-09T11:03:36.790Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-09T11:03:36.790Z] Bash-1.0.6 [2022-05-09T11:03:36.790Z] [2022-05-09T11:03:36.790Z] [2022-05-09T11:03:36.791Z] ==> git version 2.25.1 found [2022-05-09T11:03:36.791Z] ==> 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-09T11:03:36.791Z] Release-Date: 2020-01-08 [2022-05-09T11:03:36.791Z] 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-09T11:03:36.791Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-09T11:03:36.791Z] ==> Jenkins CI detected. [2022-05-09T11:03:36.791Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-05-09T11:03:36.791Z] project root: . [2022-05-09T11:03:36.791Z] --> token set from env [2022-05-09T11:03:36.791Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-09T11:03:36.791Z] ==> Running gcov in . (disable via -X gcov) [2022-05-09T11:03:36.791Z] ==> Python coveragepy not found [2022-05-09T11:03:36.791Z] ==> Searching for coverage reports in: [2022-05-09T11:03:36.791Z] + . [2022-05-09T11:03:36.791Z] -> Found 1 reports [2022-05-09T11:03:36.791Z] ==> Detecting git/mercurial file structure [2022-05-09T11:03:36.791Z] ==> Reading reports [2022-05-09T11:03:36.791Z] + ./coverage.out bytes=24065 [2022-05-09T11:03:36.791Z] ==> Appending adjustments [2022-05-09T11:03:36.791Z] https://docs.codecov.io/docs/fixing-reports [2022-05-09T11:03:37.053Z] + Found adjustments [2022-05-09T11:03:37.053Z] ==> Gzipping contents [2022-05-09T11:03:37.053Z] 4.0K /tmp/codecov.13hKLY.gz [2022-05-09T11:03:37.053Z] ==> Uploading reports [2022-05-09T11:03:37.053Z] url: https://codecov.io [2022-05-09T11:03:37.053Z] query: branch=main&commit=34696552c2fac84d635c044d3d9d718bd3379cee&build=35&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F35%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-09T11:03:37.053Z] -> Pinging Codecov [2022-05-09T11:03:37.053Z] 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=34696552c2fac84d635c044d3d9d718bd3379cee&build=35&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F35%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-09T11:03:37.315Z] -> Uploading to [2022-05-09T11:03:37.315Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-09/55DBCA73C666E3227836607328DD7E49/34696552c2fac84d635c044d3d9d718bd3379cee/fcce040e-63dc-41a4-96b9-f86476be6887.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220509T110337Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b0e3f22f68cec89f4469e5b0f52378c4e237873f5fe996d6cfe66350d6db5137 [2022-05-09T11:03:37.315Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-09T11:03:37.315Z] Dload Upload Total Spent Left Speed [2022-05-09T11:03:37.576Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4018 0 0 100 4018 0 16007 --:--:-- --:--:-- --:--:-- 16007 [2022-05-09T11:03:37.576Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/34696552c2fac84d635c044d3d9d718bd3379cee [Pipeline] } [2022-05-09T11:03:37.584Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-09T11:03:37.710Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-09T11:03:37.724Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:03:38.021Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-09T11:03:38.021Z] [2022-05-09T11:03:38.021Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:03:38.324Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-09T11:03:38.324Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-09T11:03:38.324Z] 188c0c94c7c5: Pulling fs layer [2022-05-09T11:03:38.324Z] 0ef7d3d256c8: Pulling fs layer [2022-05-09T11:03:38.324Z] de9db76c5a1d: Pulling fs layer [2022-05-09T11:03:38.324Z] 0eba1c9be4d2: Pulling fs layer [2022-05-09T11:03:38.324Z] 0d57e429df01: Pulling fs layer [2022-05-09T11:03:38.324Z] 4e4be7b47b0d: Pulling fs layer [2022-05-09T11:03:38.324Z] e1f770b5df2f: Pulling fs layer [2022-05-09T11:03:38.324Z] 85a0685a4137: Pulling fs layer [2022-05-09T11:03:38.324Z] 4e4be7b47b0d: Waiting [2022-05-09T11:03:38.324Z] e1f770b5df2f: Waiting [2022-05-09T11:03:38.324Z] 85a0685a4137: Waiting [2022-05-09T11:03:38.324Z] 0eba1c9be4d2: Waiting [2022-05-09T11:03:38.324Z] de9db76c5a1d: Download complete [2022-05-09T11:03:38.324Z] 0ef7d3d256c8: Download complete [2022-05-09T11:03:38.324Z] 0d57e429df01: Verifying Checksum [2022-05-09T11:03:38.324Z] 0d57e429df01: Download complete [2022-05-09T11:03:38.324Z] 4e4be7b47b0d: Verifying Checksum [2022-05-09T11:03:38.324Z] 4e4be7b47b0d: Download complete [2022-05-09T11:03:38.324Z] 188c0c94c7c5: Verifying Checksum [2022-05-09T11:03:38.324Z] 188c0c94c7c5: Download complete [2022-05-09T11:03:38.585Z] 188c0c94c7c5: Pull complete [2022-05-09T11:03:38.585Z] e1f770b5df2f: Verifying Checksum [2022-05-09T11:03:38.585Z] e1f770b5df2f: Download complete [2022-05-09T11:03:38.585Z] 0ef7d3d256c8: Pull complete [2022-05-09T11:03:38.585Z] de9db76c5a1d: Pull complete [2022-05-09T11:03:39.159Z] 0eba1c9be4d2: Verifying Checksum [2022-05-09T11:03:39.159Z] 0eba1c9be4d2: Download complete [2022-05-09T11:03:39.419Z] 85a0685a4137: Verifying Checksum [2022-05-09T11:03:39.419Z] 85a0685a4137: Download complete [2022-05-09T11:03:42.719Z] 0eba1c9be4d2: Pull complete [2022-05-09T11:03:42.719Z] 0d57e429df01: Pull complete [2022-05-09T11:03:42.719Z] 4e4be7b47b0d: Pull complete [2022-05-09T11:03:43.286Z] e1f770b5df2f: Pull complete [2022-05-09T11:03:46.580Z] 85a0685a4137: Pull complete [2022-05-09T11:03:46.580Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-09T11:03:46.580Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-09T11:03:46.580Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-09T11:03:46.651Z] prd-ubuntu20.04-docker-8c-8g-41791 does not seem to be running inside a container [2022-05-09T11:03:46.692Z] $ 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-09T11:03:48.503Z] $ docker top 3ae8cc13357654c23dcc7231105297ef130df463db18673123914828d2e08414 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-09T11:03:48.579Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-09T11:03:48.860Z] + set -o pipefail [2022-05-09T11:03:48.860Z] + snyk monitor '--org=edgex-jenkins' [2022-05-09T11:03:54.141Z] [2022-05-09T11:03:54.141Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-05-09T11:03:54.141Z] [2022-05-09T11:03:54.141Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/6d4eb623-dd4e-4743-b517-c4f8b86da676 [2022-05-09T11:03:54.141Z] [2022-05-09T11:03:54.141Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-05-09T11:03:54.141Z] [2022-05-09T11:03:54.141Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-09T11:03:54.141Z] [2022-05-09T11:03:54.141Z] [Pipeline] } [2022-05-09T11:03:54.160Z] $ docker stop --time=1 3ae8cc13357654c23dcc7231105297ef130df463db18673123914828d2e08414 [2022-05-09T11:03:56.091Z] $ docker rm -f 3ae8cc13357654c23dcc7231105297ef130df463db18673123914828d2e08414 [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-09T11:03:56.800Z] + git log --format=format:%s -1 34696552c2fac84d635c044d3d9d718bd3379cee [Pipeline] sh [2022-05-09T11:03:57.098Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-09T11:03:57.098Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:03:57.394Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T11:03:57.395Z] . [Pipeline] withDockerContainer [2022-05-09T11:03:57.457Z] prd-ubuntu20.04-docker-8c-8g-41791 does not seem to be running inside a container [2022-05-09T11:03:57.498Z] $ 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-09T11:03:57.886Z] $ docker top 048b9c3554a8058cba7f0db384987e93de06379b40602fffcce0dc210be25d68 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-09T11:04:02.793Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T11:04:02.793Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T11:04:02.924Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T11:04:02.932Z] $ docker exec 048b9c3554a8058cba7f0db384987e93de06379b40602fffcce0dc210be25d68 ssh-agent [2022-05-09T11:04:03.051Z] SSH_AUTH_SOCK=/tmp/ssh-4L7fUoqMPvDd/agent.34 [2022-05-09T11:04:03.051Z] SSH_AGENT_PID=41 [2022-05-09T11:04:03.056Z] Running ssh-add (command line suppressed) [2022-05-09T11:04:03.182Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3444228646262448784.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3444228646262448784.key) [2022-05-09T11:04:03.193Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T11:04:03.532Z] + git semver tag [2022-05-09T11:04:03.791Z] 2022-05-09 11:04:03,706 [run_tag] DEBUG tag force:False [2022-05-09T11:04:03.791Z] 2022-05-09 11:04:03,707 [check_head_tag] DEBUG check head tag [2022-05-09T11:04:03.791Z] 2022-05-09 11:04:03,708 [execute] INFO git cat-file --batch-check [2022-05-09T11:04:03.791Z] 2022-05-09 11:04:03,708 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-05-09T11:04:03.791Z] 2022-05-09 11:04:03,711 [execute] INFO git cat-file --batch [2022-05-09T11:04:03.791Z] 2022-05-09 11:04:03,711 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-05-09T11:04:03.791Z] 2022-05-09 11:04:03,725 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-09T11:04:03.791Z] 2022-05-09 11:04:03,725 [execute] INFO git tag -a v2.2.0-dev.17 -m v2.2.0-dev.17 [2022-05-09T11:04:03.791Z] 2022-05-09 11:04:03,725 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.17', '-m', 'v2.2.0-dev.17'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-09T11:04:03.791Z] 2022-05-09 11:04:03,730 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-09T11:04:03.791Z] 2.2.0-dev.17 [Pipeline] } [2022-05-09T11:04:03.807Z] $ docker exec --env ******** --env ******** 048b9c3554a8058cba7f0db384987e93de06379b40602fffcce0dc210be25d68 ssh-agent -k [2022-05-09T11:04:03.911Z] unset SSH_AUTH_SOCK; [2022-05-09T11:04:03.911Z] unset SSH_AGENT_PID; [2022-05-09T11:04:03.911Z] echo Agent pid 41 killed; [2022-05-09T11:04:03.915Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-09T11:04:04.225Z] + git semver [Pipeline] } [2022-05-09T11:04:04.505Z] $ docker stop --time=1 048b9c3554a8058cba7f0db384987e93de06379b40602fffcce0dc210be25d68 [2022-05-09T11:04:05.787Z] $ docker rm -f 048b9c3554a8058cba7f0db384987e93de06379b40602fffcce0dc210be25d68 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:04:06.182Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-09T11:04:06.182Z] [2022-05-09T11:04:06.182Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:04:06.486Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-09T11:04:06.486Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-09T11:04:06.486Z] ab5ef0e58194: Pulling fs layer [2022-05-09T11:04:06.486Z] 9712f1f96733: Pulling fs layer [2022-05-09T11:04:06.486Z] 63f879dbbcfc: Pulling fs layer [2022-05-09T11:04:06.486Z] 0d9ebad4ef96: Pulling fs layer [2022-05-09T11:04:06.486Z] e9a5061849ea: Pulling fs layer [2022-05-09T11:04:06.486Z] d747dcd14b5f: Pulling fs layer [2022-05-09T11:04:06.486Z] 2de7ff778b66: Pulling fs layer [2022-05-09T11:04:06.486Z] 0d9ebad4ef96: Waiting [2022-05-09T11:04:06.486Z] d747dcd14b5f: Waiting [2022-05-09T11:04:06.486Z] e9a5061849ea: Waiting [2022-05-09T11:04:06.486Z] 2de7ff778b66: Waiting [2022-05-09T11:04:06.486Z] 9712f1f96733: Verifying Checksum [2022-05-09T11:04:06.486Z] 9712f1f96733: Download complete [2022-05-09T11:04:06.749Z] 63f879dbbcfc: Verifying Checksum [2022-05-09T11:04:06.749Z] 63f879dbbcfc: Download complete [2022-05-09T11:04:07.011Z] e9a5061849ea: Verifying Checksum [2022-05-09T11:04:07.011Z] e9a5061849ea: Download complete [2022-05-09T11:04:07.011Z] d747dcd14b5f: Verifying Checksum [2022-05-09T11:04:07.011Z] d747dcd14b5f: Download complete [2022-05-09T11:04:07.011Z] ab5ef0e58194: Verifying Checksum [2022-05-09T11:04:07.011Z] ab5ef0e58194: Download complete [2022-05-09T11:04:07.011Z] 0d9ebad4ef96: Verifying Checksum [2022-05-09T11:04:07.011Z] 0d9ebad4ef96: Download complete [2022-05-09T11:04:07.270Z] 2de7ff778b66: Verifying Checksum [2022-05-09T11:04:07.270Z] 2de7ff778b66: Download complete [2022-05-09T11:04:09.804Z] ab5ef0e58194: Pull complete [2022-05-09T11:04:09.804Z] 9712f1f96733: Pull complete [2022-05-09T11:04:10.739Z] 63f879dbbcfc: Pull complete [2022-05-09T11:04:14.036Z] 0d9ebad4ef96: Pull complete [2022-05-09T11:04:14.296Z] e9a5061849ea: Pull complete [2022-05-09T11:04:14.296Z] d747dcd14b5f: Pull complete [2022-05-09T11:04:15.680Z] 2de7ff778b66: Pull complete [2022-05-09T11:04:15.680Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-09T11:04:15.680Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-09T11:04:15.680Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-09T11:04:15.748Z] prd-ubuntu20.04-docker-8c-8g-41791 does not seem to be running inside a container [2022-05-09T11:04:15.795Z] $ 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-09T11:04:17.595Z] $ docker top ddd19f4c63e151b062d92ff4f66c39703cb6fc65893cd8bf632683a793fdd533 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-09T11:04:17.681Z] provisioning config files... [2022-05-09T11:04:17.693Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3620111740612976776tmp [2022-05-09T11:04:17.709Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7158503790064615267tmp [2022-05-09T11:04:17.721Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8747372559671777420tmp [Pipeline] { [Pipeline] echo [2022-05-09T11:04:17.741Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:04:18.031Z] ---> sigul-configuration.sh [2022-05-09T11:04:18.032Z] gpg: directory `/root/.gnupg' created [2022-05-09T11:04:18.032Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-09T11:04:18.032Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-09T11:04:18.032Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-09T11:04:18.032Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-09T11:04:18.032Z] gpg: CAST5 encrypted data [2022-05-09T11:04:18.032Z] gpg: encrypted with 1 passphrase [2022-05-09T11:04:18.032Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-09T11:04:18.326Z] + mkdir /home/jenkins [2022-05-09T11:04:18.326Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-09T11:04:18.613Z] + 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-09T11:04:18.623Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:04:18.909Z] ---> sigul-install.sh [2022-05-09T11:04:18.909Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-09T11:04:19.200Z] + git tag --list [2022-05-09T11:04:19.200Z] 0.7.1 [2022-05-09T11:04:19.200Z] v1.0.0 [2022-05-09T11:04:19.200Z] v1.1.0 [2022-05-09T11:04:19.200Z] v1.1.1 [2022-05-09T11:04:19.200Z] v1.2.2 [2022-05-09T11:04:19.200Z] v1.3.0 [2022-05-09T11:04:19.200Z] v1.3.1 [2022-05-09T11:04:19.200Z] v2.0.0 [2022-05-09T11:04:19.200Z] v2.0.1-dev.1 [2022-05-09T11:04:19.200Z] v2.0.1-dev.10 [2022-05-09T11:04:19.200Z] v2.0.1-dev.11 [2022-05-09T11:04:19.200Z] v2.0.1-dev.12 [2022-05-09T11:04:19.200Z] v2.0.1-dev.2 [2022-05-09T11:04:19.200Z] v2.0.1-dev.3 [2022-05-09T11:04:19.200Z] v2.0.1-dev.4 [2022-05-09T11:04:19.200Z] v2.0.1-dev.5 [2022-05-09T11:04:19.200Z] v2.0.1-dev.6 [2022-05-09T11:04:19.200Z] v2.0.1-dev.7 [2022-05-09T11:04:19.200Z] v2.0.1-dev.8 [2022-05-09T11:04:19.200Z] v2.0.1-dev.9 [2022-05-09T11:04:19.200Z] v2.1.0 [2022-05-09T11:04:19.200Z] v2.2.0-dev.1 [2022-05-09T11:04:19.200Z] v2.2.0-dev.10 [2022-05-09T11:04:19.200Z] v2.2.0-dev.11 [2022-05-09T11:04:19.200Z] v2.2.0-dev.12 [2022-05-09T11:04:19.200Z] v2.2.0-dev.13 [2022-05-09T11:04:19.200Z] v2.2.0-dev.14 [2022-05-09T11:04:19.200Z] v2.2.0-dev.15 [2022-05-09T11:04:19.200Z] v2.2.0-dev.16 [2022-05-09T11:04:19.200Z] v2.2.0-dev.17 [2022-05-09T11:04:19.200Z] v2.2.0-dev.2 [2022-05-09T11:04:19.200Z] v2.2.0-dev.3 [2022-05-09T11:04:19.200Z] v2.2.0-dev.4 [2022-05-09T11:04:19.200Z] v2.2.0-dev.5 [2022-05-09T11:04:19.200Z] v2.2.0-dev.6 [2022-05-09T11:04:19.200Z] v2.2.0-dev.7 [2022-05-09T11:04:19.200Z] v2.2.0-dev.8 [2022-05-09T11:04:19.200Z] v2.2.0-dev.9 [Pipeline] sh [2022-05-09T11:04:19.492Z] + lftools sign git-tag v2.2.0-dev.17 [2022-05-09T11:04:20.063Z] Signing Git tag with Sigul... [2022-05-09T11:04:20.063Z] Signing v2.2.0-dev.17 [Pipeline] echo [2022-05-09T11:04:20.335Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:04:20.625Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-09T11:04:20.633Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-09T11:04:20.660Z] $ docker stop --time=1 ddd19f4c63e151b062d92ff4f66c39703cb6fc65893cd8bf632683a793fdd533 [2022-05-09T11:04:21.940Z] $ docker rm -f ddd19f4c63e151b062d92ff4f66c39703cb6fc65893cd8bf632683a793fdd533 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-09T11:04:22.368Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-09T11:04:22.368Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:04:22.667Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T11:04:22.667Z] . [Pipeline] withDockerContainer [2022-05-09T11:04:22.735Z] prd-ubuntu20.04-docker-8c-8g-41791 does not seem to be running inside a container [2022-05-09T11:04:22.773Z] $ 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-09T11:04:23.177Z] $ docker top bda9d4ae5cbd2b558f0280289af23bf10bd4f3d739622b251a709dd0ad7b746e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-09T11:04:23.271Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T11:04:23.271Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T11:04:23.411Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T11:04:23.419Z] $ docker exec bda9d4ae5cbd2b558f0280289af23bf10bd4f3d739622b251a709dd0ad7b746e ssh-agent [2022-05-09T11:04:23.528Z] SSH_AUTH_SOCK=/tmp/ssh-tGdA7IPrg8y9/agent.33 [2022-05-09T11:04:23.528Z] SSH_AGENT_PID=39 [2022-05-09T11:04:23.534Z] Running ssh-add (command line suppressed) [2022-05-09T11:04:23.669Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6917827499922248874.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6917827499922248874.key) [2022-05-09T11:04:23.680Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T11:04:23.970Z] + git semver bump pre [2022-05-09T11:04:24.230Z] 2022-05-09 11:04:24,192 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-09T11:04:24.230Z] 2022-05-09 11:04:24,192 [bump_version] DEBUG bumping version:2.2.0-dev.17 on axis:pre with prefix:dev [2022-05-09T11:04:24.230Z] 2022-05-09 11:04:24,192 [bump_version] DEBUG bumped version:2.2.0-dev.18 [2022-05-09T11:04:24.230Z] 2022-05-09 11:04:24,192 [write_version] DEBUG write version:2.2.0-dev.18 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2022-05-09T11:04:24.230Z] 2022-05-09 11:04:24,192 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-09T11:04:24.230Z] 2022-05-09 11:04:24,192 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-09T11:04:24.230Z] 2022-05-09 11:04:24,194 [execute] INFO git cat-file --batch-check [2022-05-09T11:04:24.230Z] 2022-05-09 11:04:24,194 [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-09T11:04:24.230Z] 2022-05-09 11:04:24,200 [execute] INFO git cat-file --batch [2022-05-09T11:04:24.230Z] 2022-05-09 11:04:24,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-09T11:04:24.230Z] 2022-05-09 11:04:24,206 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-09T11:04:24.230Z] 2.2.0-dev.18 [Pipeline] } [2022-05-09T11:04:24.248Z] $ docker exec --env ******** --env ******** bda9d4ae5cbd2b558f0280289af23bf10bd4f3d739622b251a709dd0ad7b746e ssh-agent -k [2022-05-09T11:04:24.359Z] unset SSH_AUTH_SOCK; [2022-05-09T11:04:24.360Z] unset SSH_AGENT_PID; [2022-05-09T11:04:24.360Z] echo Agent pid 39 killed; [2022-05-09T11:04:24.368Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-09T11:04:24.684Z] + git semver [Pipeline] } [2022-05-09T11:04:24.965Z] $ docker stop --time=1 bda9d4ae5cbd2b558f0280289af23bf10bd4f3d739622b251a709dd0ad7b746e [2022-05-09T11:04:26.261Z] $ docker rm -f bda9d4ae5cbd2b558f0280289af23bf10bd4f3d739622b251a709dd0ad7b746e [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T11:04:26.612Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-09T11:04:26.612Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:04:26.909Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T11:04:26.909Z] . [Pipeline] withDockerContainer [2022-05-09T11:04:26.974Z] prd-ubuntu20.04-docker-8c-8g-41791 does not seem to be running inside a container [2022-05-09T11:04:27.013Z] $ 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-09T11:04:27.365Z] $ docker top 53bb137e3b726fe0b2ccc0da3ffadc9d9b2c80ece9f7ac1038dcafc180f282e6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-09T11:04:27.447Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T11:04:27.447Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T11:04:27.570Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T11:04:27.579Z] $ docker exec 53bb137e3b726fe0b2ccc0da3ffadc9d9b2c80ece9f7ac1038dcafc180f282e6 ssh-agent [2022-05-09T11:04:27.692Z] SSH_AUTH_SOCK=/tmp/ssh-WoYUAsim4CZG/agent.33 [2022-05-09T11:04:27.692Z] SSH_AGENT_PID=40 [2022-05-09T11:04:27.698Z] Running ssh-add (command line suppressed) [2022-05-09T11:04:27.836Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2474826778786939762.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2474826778786939762.key) [2022-05-09T11:04:27.854Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T11:04:28.160Z] + git semver push [2022-05-09T11:04:28.420Z] 2022-05-09 11:04:28,352 [run_push] DEBUG push [2022-05-09T11:04:28.420Z] 2022-05-09 11:04:28,353 [execute] INFO git push origin semver [2022-05-09T11:04:28.420Z] 2022-05-09 11:04:28,353 [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-09T11:04:29.364Z] 2022-05-09 11:04:29,143 [run_push] DEBUG push all version tags [2022-05-09T11:04:29.364Z] 2022-05-09 11:04:29,143 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-09T11:04:29.364Z] 2022-05-09 11:04:29,144 [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-09T11:04:29.935Z] 2022-05-09 11:04:29,856 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-09T11:04:29.935Z] 2.2.0-dev.18 [Pipeline] } [2022-05-09T11:04:29.953Z] $ docker exec --env ******** --env ******** 53bb137e3b726fe0b2ccc0da3ffadc9d9b2c80ece9f7ac1038dcafc180f282e6 ssh-agent -k [2022-05-09T11:04:30.071Z] unset SSH_AUTH_SOCK; [2022-05-09T11:04:30.071Z] unset SSH_AGENT_PID; [2022-05-09T11:04:30.071Z] echo Agent pid 40 killed; [2022-05-09T11:04:30.078Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-09T11:04:30.387Z] + git semver [Pipeline] } [2022-05-09T11:04:30.668Z] $ docker stop --time=1 53bb137e3b726fe0b2ccc0da3ffadc9d9b2c80ece9f7ac1038dcafc180f282e6 [2022-05-09T11:04:31.964Z] $ docker rm -f 53bb137e3b726fe0b2ccc0da3ffadc9d9b2c80ece9f7ac1038dcafc180f282e6 [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-09T11:04:32.590Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-05-09T11:04:32.590Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-05-09T11:04:32.590Z] total 16 [2022-05-09T11:04:32.590Z] drwxr-xr-x 3 root root 4096 May 9 10:55 . [2022-05-09T11:04:32.590Z] drwxrwxr-x 11 jenkins jenkins 4096 May 9 11:04 .. [2022-05-09T11:04:32.590Z] drwxr-xr-x 2 root root 4096 May 9 10:55 cost [2022-05-09T11:04:32.590Z] -rw-r--r-- 1 root root 86 May 9 10:55 cost.csv [2022-05-09T11:04:32.590Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-05-09T11:04:32.590Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-05-09T11:04:32.590Z] total 16 [2022-05-09T11:04:32.590Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 10:55 . [2022-05-09T11:04:32.590Z] drwxrwxr-x 11 jenkins jenkins 4096 May 9 11:04 .. [2022-05-09T11:04:32.590Z] drwxr-xr-x 2 jenkins jenkins 4096 May 9 10:55 cost [2022-05-09T11:04:32.590Z] -rw-r--r-- 1 jenkins jenkins 86 May 9 10:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:04:32.887Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:04:33.755Z] ---> package-listing.sh [2022-05-09T11:04:33.755Z] ++ facter osfamily [2022-05-09T11:04:33.755Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-09T11:04:34.016Z] + OS_FAMILY=debian [2022-05-09T11:04:34.016Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-05-09T11:04:34.016Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-09T11:04:34.016Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-09T11:04:34.016Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-09T11:04:34.016Z] + PACKAGES=/tmp/packages_start.txt [2022-05-09T11:04:34.016Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-05-09T11:04:34.016Z] + PACKAGES=/tmp/packages_end.txt [2022-05-09T11:04:34.016Z] + case "${OS_FAMILY}" in [2022-05-09T11:04:34.016Z] + dpkg -l [2022-05-09T11:04:34.016Z] + grep '^ii' [2022-05-09T11:04:34.016Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-09T11:04:34.016Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-09T11:04:34.016Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-09T11:04:34.016Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-05-09T11:04:34.016Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-05-09T11:04:34.016Z] + 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-09T11:04:34.026Z] 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-09T11:04:34.305Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:04:34.864Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T11:04:34.865Z] . [Pipeline] withDockerContainer [2022-05-09T11:04:34.934Z] prd-ubuntu20.04-docker-8c-8g-41791 does not seem to be running inside a container [2022-05-09T11:04:34.976Z] $ 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-09T11:04:35.208Z] $ docker top 0989899ce4f52169fc4735de6822894464a477aa5db5f294391b8b932d737bd9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T11:04:35.563Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-09T11:04:35.852Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-09T11:04:36.147Z] + ls /var/log/sa-host [2022-05-09T11:04:36.148Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T11:04:36.358Z] provisioning config files... [2022-05-09T11:04:36.368Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config397911249900343508tmp [Pipeline] { [Pipeline] echo [2022-05-09T11:04:36.381Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:04:36.668Z] ---> create-netrc.sh [Pipeline] } [2022-05-09T11:04:36.676Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:04:37.016Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-09T11:04:37.027Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:04:37.312Z] ---> sudo-logs.sh [2022-05-09T11:04:37.312Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-09T11:04:37.340Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:04:37.630Z] ---> job-cost.sh [2022-05-09T11:04:37.630Z] lf-activate-venv: SKIPPING [2022-05-09T11:04:37.630Z] DEBUG: total: 0.2199999988079071 [2022-05-09T11:04:37.630Z] INFO: Retrieving Stack Cost... [2022-05-09T11:04:37.890Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-09T11:04:38.461Z] INFO: Archiving Costs [Pipeline] echo [2022-05-09T11:04:38.476Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:04:38.762Z] ---> logs-deploy.sh [2022-05-09T11:04:38.762Z] lf-activate-venv: SKIPPING [2022-05-09T11:04:38.762Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/35 [2022-05-09T11:04:38.762Z] INFO: archiving workspace using pattern(s): [2022-05-09T11:04:39.703Z] Archives upload complete. [2022-05-09T11:04:39.703Z] INFO: archiving logs to Nexus