Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d7023bcda15e937cec539ef29d6768596b85ffc4 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5816539173766498380.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9779504733860415271.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7246321010167876204.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2510007559379099262.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5660387140450754893.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-41052 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d7023bcda15e937cec539ef29d6768596b85ffc4 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d7023bcda15e937cec539ef29d6768596b85ffc4 # timeout=10 Commit message: "docs(snap): Move usage instructions to docs (#342)" > git rev-list --no-walk 0336c9d051e2f73d586bb6c363b90ff6160f5d37 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:34:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:34:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:34:14 ========================================================= 13:34:14 EdgeX Global Pipelines Version Info 13:34:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:34:15 ------------------- 13:34:15 stable info: 13:34:15 ------------------- 13:34:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:34:15 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 13:34:15 Message: update stable to v1.0.227 13:34:16 ------------------- 13:34:16 experimental info: 13:34:16 ------------------- 13:34:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:34:16 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 13:34:16 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d7023bcda15e937cec539ef29d6768596b85ffc4 [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d7023bc [Pipeline] echo 13:34:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:34:16 provisioning config files... 13:34:16 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8129125943395991605tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:34:17 ---> docker-login.sh 13:34:17 nexus3.edgexfoundry.org:10001 13:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:34:17 Configure a credential helper to remove this warning. See 13:34:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:34:17 13:34:17 Login Succeeded 13:34:17 nexus3.edgexfoundry.org:10002 13:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:34:17 Configure a credential helper to remove this warning. See 13:34:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:34:17 13:34:17 Login Succeeded 13:34:17 nexus3.edgexfoundry.org:10003 13:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:34:17 Configure a credential helper to remove this warning. See 13:34:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:34:17 13:34:17 Login Succeeded 13:34:17 nexus3.edgexfoundry.org:10004 13:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:34:18 Configure a credential helper to remove this warning. See 13:34:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:34:18 13:34:18 Login Succeeded 13:34:18 docker.io 13:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:34:18 Configure a credential helper to remove this warning. See 13:34:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:34:18 13:34:18 Login Succeeded 13:34:18 ---> docker-login.sh ends [Pipeline] } 13:34:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:34:18 + git rev-list -1 --merges d7023bcda15e937cec539ef29d6768596b85ffc4~1..d7023bcda15e937cec539ef29d6768596b85ffc4 [Pipeline] echo 13:34:18 -----------> git rev-list -1 --merges d7023bcda15e937cec539ef29d6768596b85ffc4~1..d7023bcda15e937cec539ef29d6768596b85ffc4 d7023bcda15e937cec539ef29d6768596b85ffc4 [false] [Pipeline] sh 13:34:19 + git log --format=format:%s -1 d7023bcda15e937cec539ef29d6768596b85ffc4 [Pipeline] echo 13:34:19 ========================================================= 13:34:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:34:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:34:19 + git log --format=format:%s -1 d7023bcda15e937cec539ef29d6768596b85ffc4 [Pipeline] echo 13:34:19 [semverPrep] GIT_COMMIT: d7023bcda15e937cec539ef29d6768596b85ffc4, Commit Message: docs(snap): Move usage instructions to docs (#342) [Pipeline] echo 13:34:19 [semverPrep] This is not a build commit. [Pipeline] sh 13:34:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:34:19 + grep -v github /etc/ssh/ssh_known_hosts 13:34:19 + [ -e /tmp/ssh_known_hosts ] 13:34:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:34:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:34:19 + sudo tee -a /etc/ssh/ssh_known_hosts 13:34:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:34:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:34:20 13:34:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:34:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:34:20 latest: Pulling from edgex-devops/py-git-semver 13:34:20 1fe172e4850f: Pulling fs layer 13:34:20 caf521ccaac6: Pulling fs layer 13:34:20 3ead6fa29328: Pulling fs layer 13:34:20 5c2a1cbceb83: Pulling fs layer 13:34:20 a8d5f1318db7: Pulling fs layer 13:34:20 c427282e49a2: Pulling fs layer 13:34:20 1827001aaf11: Pulling fs layer 13:34:20 0714d37db230: Pulling fs layer 13:34:20 ac28cf19c067: Pulling fs layer 13:34:20 ca983d60f3e2: Pulling fs layer 13:34:20 9f894cec8388: Pulling fs layer 13:34:20 5c2a1cbceb83: Waiting 13:34:20 c427282e49a2: Waiting 13:34:20 ac28cf19c067: Waiting 13:34:20 ca983d60f3e2: Waiting 13:34:20 1827001aaf11: Waiting 13:34:20 0714d37db230: Waiting 13:34:20 a8d5f1318db7: Waiting 13:34:20 caf521ccaac6: Verifying Checksum 13:34:20 caf521ccaac6: Download complete 13:34:20 5c2a1cbceb83: Download complete 13:34:20 a8d5f1318db7: Verifying Checksum 13:34:20 a8d5f1318db7: Download complete 13:34:20 c427282e49a2: Download complete 13:34:20 3ead6fa29328: Verifying Checksum 13:34:20 3ead6fa29328: Download complete 13:34:20 0714d37db230: Download complete 13:34:20 ac28cf19c067: Download complete 13:34:20 ca983d60f3e2: Download complete 13:34:20 9f894cec8388: Download complete 13:34:20 1fe172e4850f: Download complete 13:34:21 1827001aaf11: Verifying Checksum 13:34:21 1827001aaf11: Download complete 13:34:22 1fe172e4850f: Pull complete 13:34:22 caf521ccaac6: Pull complete 13:34:22 3ead6fa29328: Pull complete 13:34:22 5c2a1cbceb83: Pull complete 13:34:23 a8d5f1318db7: Pull complete 13:34:23 c427282e49a2: Pull complete 13:34:24 1827001aaf11: Pull complete 13:34:24 0714d37db230: Pull complete 13:34:24 ac28cf19c067: Pull complete 13:34:24 ca983d60f3e2: Pull complete 13:34:25 9f894cec8388: Pull complete 13:34:25 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 13:34:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:34:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 13:34:25 prd-ubuntu20.04-docker-8c-8g-41052 does not seem to be running inside a container 13:34:25 $ 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 13:34:26 $ docker top 4341417dee26463a4248137d77977d8162fb5ba3af0e2eebcf2e5d7c84c461e0 -eo pid,comm 13:34:26 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). 13:34:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:34:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:34:26 [ssh-agent] Looking for ssh-agent implementation... 13:34:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:34:26 $ docker exec 4341417dee26463a4248137d77977d8162fb5ba3af0e2eebcf2e5d7c84c461e0 ssh-agent 13:34:26 SSH_AUTH_SOCK=/tmp/ssh-qPnOirZltek8/agent.33 13:34:26 SSH_AGENT_PID=39 13:34:26 Running ssh-add (command line suppressed) 13:34:27 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8856621021545197522.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8856621021545197522.key) 13:34:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:34:27 + git tag --points-at HEAD [Pipeline] } 13:34:27 $ docker exec --env ******** --env ******** 4341417dee26463a4248137d77977d8162fb5ba3af0e2eebcf2e5d7c84c461e0 ssh-agent -k 13:34:27 unset SSH_AUTH_SOCK; 13:34:27 unset SSH_AGENT_PID; 13:34:27 echo Agent pid 39 killed; 13:34:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:34:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:34:27 [ssh-agent] Looking for ssh-agent implementation... 13:34:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:34:27 $ docker exec 4341417dee26463a4248137d77977d8162fb5ba3af0e2eebcf2e5d7c84c461e0 ssh-agent 13:34:27 SSH_AUTH_SOCK=/tmp/ssh-ibEAzkOZ4MxB/agent.72 13:34:27 SSH_AGENT_PID=78 13:34:27 Running ssh-add (command line suppressed) 13:34:27 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_993202337656278457.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_993202337656278457.key) 13:34:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:34:28 + git semver init 13:34:28 2022-05-06 13:34:28,457 [run_init] DEBUG init version:0.0.0 force:False 13:34:28 2022-05-06 13:34:28,458 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 13:34:28 2022-05-06 13:34:28,459 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 13:34:28 2022-05-06 13:34:28,459 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 13:34:29 2022-05-06 13:34:29,271 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 13:34:29 2022-05-06 13:34:29,271 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 13:34:29 2022-05-06 13:34:29,272 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 13:34:29 2022-05-06 13:34:29,272 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 13:34:29 2.2.0-dev.16 [Pipeline] } 13:34:29 $ docker exec --env ******** --env ******** 4341417dee26463a4248137d77977d8162fb5ba3af0e2eebcf2e5d7c84c461e0 ssh-agent -k 13:34:29 unset SSH_AUTH_SOCK; 13:34:29 unset SSH_AGENT_PID; 13:34:29 echo Agent pid 78 killed; 13:34:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:34:29 + git semver [Pipeline] } 13:34:30 $ docker stop --time=1 4341417dee26463a4248137d77977d8162fb5ba3af0e2eebcf2e5d7c84c461e0 13:34:31 $ docker rm -f 4341417dee26463a4248137d77977d8162fb5ba3af0e2eebcf2e5d7c84c461e0 [Pipeline] // withDockerContainer [Pipeline] sh 13:34:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:34:32 Stashed 1 file(s) [Pipeline] echo 13:34:32 [edgeXSemver]: initialized semver on version 2.2.0-dev.16 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:34:32 provisioning config files... 13:34:32 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5370769232681922197tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:34:32 ---> docker-login.sh 13:34:32 nexus3.edgexfoundry.org:10001 13:34:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:34:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:34:32 Configure a credential helper to remove this warning. See 13:34:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:34:32 13:34:32 Login Succeeded 13:34:32 nexus3.edgexfoundry.org:10002 13:34:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:34:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:34:32 Configure a credential helper to remove this warning. See 13:34:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:34:32 13:34:32 Login Succeeded 13:34:32 nexus3.edgexfoundry.org:10003 13:34:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:34:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:34:32 Configure a credential helper to remove this warning. See 13:34:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:34:32 13:34:32 Login Succeeded 13:34:32 nexus3.edgexfoundry.org:10004 13:34:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:34:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:34:33 Configure a credential helper to remove this warning. See 13:34:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:34:33 13:34:33 Login Succeeded 13:34:33 docker.io 13:34:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:34:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:34:33 Configure a credential helper to remove this warning. See 13:34:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:34:33 13:34:33 Login Succeeded 13:34:33 ---> docker-login.sh ends [Pipeline] } 13:34:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:34:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:34:33 ========================================================= 13:34:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 13:34:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:34:33 + 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 . 13:34:33 Sending build context to Docker daemon 5.854MB 13:34:33 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 13:34:33 Step 2/10 : FROM ${BASE} AS builder 13:34:33 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 13:34:33 59bf1c3509f3: Pulling fs layer 13:34:33 666ba61612fd: Pulling fs layer 13:34:33 8ed8ca486205: Pulling fs layer 13:34:33 4fe6c5a15a65: Pulling fs layer 13:34:33 22a0e8bec74d: Pulling fs layer 13:34:33 ca2b28591e48: Pulling fs layer 13:34:33 a51346096db8: Pulling fs layer 13:34:33 daebc70d1ce1: Pulling fs layer 13:34:33 0e18a0eac166: Pulling fs layer 13:34:33 22a0e8bec74d: Waiting 13:34:33 ca2b28591e48: Waiting 13:34:33 daebc70d1ce1: Waiting 13:34:33 0e18a0eac166: Waiting 13:34:33 a51346096db8: Waiting 13:34:33 4fe6c5a15a65: Waiting 13:34:33 8ed8ca486205: Download complete 13:34:33 666ba61612fd: Verifying Checksum 13:34:33 666ba61612fd: Download complete 13:34:33 22a0e8bec74d: Verifying Checksum 13:34:33 22a0e8bec74d: Download complete 13:34:33 ca2b28591e48: Verifying Checksum 13:34:33 ca2b28591e48: Download complete 13:34:33 a51346096db8: Verifying Checksum 13:34:33 a51346096db8: Download complete 13:34:33 59bf1c3509f3: Verifying Checksum 13:34:33 59bf1c3509f3: Download complete 13:34:33 daebc70d1ce1: Verifying Checksum 13:34:33 daebc70d1ce1: Download complete 13:34:33 59bf1c3509f3: Pull complete 13:34:34 666ba61612fd: Pull complete 13:34:34 8ed8ca486205: Pull complete 13:34:34 0e18a0eac166: Verifying Checksum 13:34:34 0e18a0eac166: Download complete 13:34:34 4fe6c5a15a65: Download complete 13:34:38 4fe6c5a15a65: Pull complete 13:34:38 22a0e8bec74d: Pull complete 13:34:38 ca2b28591e48: Pull complete 13:34:38 a51346096db8: Pull complete 13:34:38 daebc70d1ce1: Pull complete 13:34:40 0e18a0eac166: Pull complete 13:34:40 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 13:34:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 13:34:40 ---> f018257e8ee9 13:34:40 Step 3/10 : ARG MAKE='make build' 13:34:41 ---> Running in a6edc8b82b51 13:34:41 Removing intermediate container a6edc8b82b51 13:34:41 ---> fe4a04e82c98 13:34:41 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:34:41 ---> Running in 665d6918c7df 13:34:42 Removing intermediate container 665d6918c7df 13:34:42 ---> 1f5c0f7227e1 13:34:42 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 13:34:42 ---> Running in d706923c2c47 13:34:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:34:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:34:43 (1/8) Installing openssh-keygen (8.8_p1-r1) 13:34:43 (2/8) Installing libedit (20210910.3.1-r0) 13:34:43 (3/8) Installing openssh-client-common (8.8_p1-r1) 13:34:43 (4/8) Installing openssh-client-default (8.8_p1-r1) 13:34:43 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 13:34:43 (6/8) Installing openssh-server-common (8.8_p1-r1) 13:34:44 (7/8) Installing openssh-server (8.8_p1-r1) 13:34:44 (8/8) Installing openssh (8.8_p1-r1) 13:34:44 Executing busybox-1.34.1-r3.trigger 13:34:44 OK: 226 MiB in 60 packages 13:34:44 Removing intermediate container d706923c2c47 13:34:44 ---> e0f530f54a74 13:34:44 Step 6/10 : WORKDIR /device-modbus-go 13:34:44 ---> Running in a9330b1be336 13:34:44 Removing intermediate container a9330b1be336 13:34:44 ---> 90d0370333db 13:34:44 Step 7/10 : COPY go.mod vendor* ./ 13:34:44 ---> 280b36d7c988 13:34:44 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:34:44 ---> Running in 6c424681cff7 13:34:47 Still waiting to schedule task 13:34:47 ‘prd-centos7-blackbox-4c-2g-34311’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:34:47 ‘prd-centos7-builder-2c-1g-40571’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:34:47 ‘prd-ubuntu20.04-docker-arm64-4c-16g-41053’ is offline 13:34:47 ‘prd-ubuntu20.04-docker-arm64-4c-16g-41054’ is offline 13:34:47 ‘prd-ubuntu20.04-docker-arm64-4c-16g-41055’ is offline 13:34:47 ‘prd-ubuntu20.04-docker-arm64-4c-16g-41056’ is offline 13:34:59 Removing intermediate container 6c424681cff7 13:34:59 ---> 644963e1e69f 13:34:59 Step 9/10 : COPY . . 13:34:59 ---> 7d82fd5220cc 13:34:59 Step 10/10 : RUN ${MAKE} 13:34:59 ---> Running in d441ed63dcc1 13:34:59 noop 13:35:00 Removing intermediate container d441ed63dcc1 13:35:00 ---> 217026c529a1 13:35:00 Successfully built 217026c529a1 13:35:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 13:35:00 + docker inspect -f . ci-base-image-x86_64 13:35:00 . [Pipeline] withDockerContainer 13:35:00 prd-ubuntu20.04-docker-8c-8g-41052 does not seem to be running inside a container 13:35:00 $ 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 13:35:00 $ docker top 1dafbc0f3ff6016a4f65f9d70da88bb814c2c0843c1ff822bee69e277a0e3cd6 -eo pid,comm [Pipeline] { [Pipeline] sh 13:35:01 + go version 13:35:01 go version go1.17.6 linux/amd64 [Pipeline] } 13:35:01 $ docker stop --time=1 1dafbc0f3ff6016a4f65f9d70da88bb814c2c0843c1ff822bee69e277a0e3cd6 13:35:02 $ docker rm -f 1dafbc0f3ff6016a4f65f9d70da88bb814c2c0843c1ff822bee69e277a0e3cd6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:35:02 + docker inspect -f . ci-base-image-x86_64 13:35:02 . [Pipeline] withDockerContainer 13:35:03 prd-ubuntu20.04-docker-8c-8g-41052 does not seem to be running inside a container 13:35:03 $ 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 13:35:03 $ docker top 9ecdbc8766f312e499641849719c370beb2f2f2ff02c5cb91c5f0ccb98b5f842 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:35:03 + make test 13:35:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 13:35:04 ? github.com/edgexfoundry/device-modbus-go [no test files] 13:35:14 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 13:35:14 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 46.4% of statements 13:35:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:35:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:35:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:35:23 ./bin/test-attribution-txt.sh [Pipeline] echo 13:35:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:35:23 $ docker stop --time=1 9ecdbc8766f312e499641849719c370beb2f2f2ff02c5cb91c5f0ccb98b5f842 13:35:25 $ docker rm -f 9ecdbc8766f312e499641849719c370beb2f2f2ff02c5cb91c5f0ccb98b5f842 [Pipeline] // withDockerContainer [Pipeline] sh 13:35:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:35:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:35:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:35:26 + ls -al . 13:35:26 total 180 13:35:26 drwxrwxr-x 10 jenkins jenkins 4096 May 6 13:35 . 13:35:26 drwxrwxr-x 4 jenkins jenkins 4096 May 6 13:34 .. 13:35:26 -rw-rw-r-- 1 jenkins jenkins 140 May 6 13:34 .dockerignore 13:35:26 drwxrwxr-x 8 jenkins jenkins 4096 May 6 13:34 .git 13:35:26 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:34 .github 13:35:26 -rw-rw-r-- 1 jenkins jenkins 331 May 6 13:34 .gitignore 13:35:26 -rw-rw-r-- 1 jenkins jenkins 41 May 6 13:34 .golangci.yml 13:35:26 drwxr-xr-x 3 jenkins jenkins 4096 May 6 13:34 .semver 13:35:26 -rw-rw-r-- 1 jenkins jenkins 9377 May 6 13:34 Attribution.txt 13:35:26 -rw-rw-r-- 1 jenkins jenkins 6038 May 6 13:34 CHANGELOG.md 13:35:26 -rw-rw-r-- 1 jenkins jenkins 1546 May 6 13:34 Dockerfile 13:35:26 -rw-rw-r-- 1 jenkins jenkins 677 May 6 13:34 GOVERNANCE.md 13:35:26 -rw-rw-r-- 1 jenkins jenkins 680 May 6 13:34 Jenkinsfile 13:35:26 -rw-rw-r-- 1 jenkins jenkins 11340 May 6 13:34 LICENSE 13:35:26 -rw-rw-r-- 1 jenkins jenkins 1905 May 6 13:34 Makefile 13:35:26 -rw-rw-r-- 1 jenkins jenkins 622 May 6 13:34 OWNERS.md 13:35:26 -rw-rw-r-- 1 jenkins jenkins 3397 May 6 13:34 README.md 13:35:26 -rw-rw-r-- 1 jenkins jenkins 12 May 6 13:34 VERSION 13:35:26 drwxrwxr-x 2 jenkins jenkins 4096 May 6 13:34 bin 13:35:26 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:34 cmd 13:35:26 -rw-r--r-- 1 jenkins jenkins 24065 May 6 13:35 coverage.out 13:35:26 -rw-rw-r-- 1 jenkins jenkins 3399 May 6 13:34 go.mod 13:35:26 -rw-rw-r-- 1 jenkins jenkins 35440 May 6 13:34 go.sum 13:35:26 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:34 internal 13:35:26 drwxrwxr-x 2 jenkins jenkins 4096 May 6 13:34 simulator 13:35:26 drwxrwxr-x 4 jenkins jenkins 4096 May 6 13:34 snap 13:35:26 -rw-rw-r-- 1 jenkins jenkins 229 May 6 13:34 version.go [Pipeline] isUnix [Pipeline] sh 13:35:27 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=d7023bcda15e937cec539ef29d6768596b85ffc4 --label arch=amd64 --label version=2.2.0-dev.16 . 13:35:27 Sending build context to Docker daemon 5.879MB 13:35:27 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 13:35:27 Step 2/23 : FROM ${BASE} AS builder 13:35:27 ---> 217026c529a1 13:35:27 Step 3/23 : ARG MAKE='make build' 13:35:27 ---> Running in 26a71db45fc3 13:35:27 Removing intermediate container 26a71db45fc3 13:35:27 ---> 43965595db3f 13:35:27 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:35:27 ---> Running in 6831ad1e0108 13:35:27 Removing intermediate container 6831ad1e0108 13:35:27 ---> 3e36921aa436 13:35:27 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 13:35:27 ---> Running in d62b108ed56a 13:35:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:35:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:35:29 OK: 226 MiB in 60 packages 13:35:29 Removing intermediate container d62b108ed56a 13:35:29 ---> 72b4c3b68446 13:35:29 Step 6/23 : WORKDIR /device-modbus-go 13:35:29 ---> Running in 410c82b3bb62 13:35:29 Removing intermediate container 410c82b3bb62 13:35:29 ---> 9068d71ea660 13:35:29 Step 7/23 : COPY go.mod vendor* ./ 13:35:29 ---> f152b9ab2d3c 13:35:29 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:35:29 ---> Running in 61e7510af240 13:35:30 Removing intermediate container 61e7510af240 13:35:30 ---> 50d3905845c7 13:35:30 Step 9/23 : COPY . . 13:35:30 ---> 32f3d3655339 13:35:30 Step 10/23 : RUN ${MAKE} 13:35:30 ---> Running in bf8fc480fc5b 13:35:31 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 13:35:53 Removing intermediate container bf8fc480fc5b 13:35:53 ---> ab8d174be9e0 13:35:53 Step 11/23 : FROM alpine:3.14 13:35:53 3.14: Pulling from library/alpine 13:35:53 8663204ce13b: Pulling fs layer 13:35:53 8663204ce13b: Verifying Checksum 13:35:53 8663204ce13b: Download complete 13:35:53 8663204ce13b: Pull complete 13:35:53 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 13:35:53 Status: Downloaded newer image for alpine:3.14 13:35:53 ---> e04c818066af 13:35:53 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 13:35:53 ---> Running in b9e496587025 13:35:53 Removing intermediate container b9e496587025 13:35:53 ---> cd806f589dfe 13:35:53 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:35:53 ---> Running in a024f6d62e21 13:35:53 Removing intermediate container a024f6d62e21 13:35:53 ---> 20294715bc1f 13:35:53 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 13:35:53 ---> Running in 3f671935f098 13:35:53 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 13:35:53 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 13:35:53 (1/6) Installing dumb-init (1.2.5-r1) 13:35:53 (2/6) Installing libgcc (10.3.1_git20210424-r2) 13:35:53 (3/6) Installing libsodium (1.0.18-r0) 13:35:53 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 13:35:53 (5/6) Installing libzmq (4.3.4-r0) 13:35:53 (6/6) Installing zeromq (4.3.4-r0) 13:35:53 Executing busybox-1.33.1-r7.trigger 13:35:53 OK: 8 MiB in 20 packages 13:35:53 Removing intermediate container 3f671935f098 13:35:53 ---> 111ba153dce5 13:35:53 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 13:35:54 ---> 32ce62878519 13:35:54 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 13:35:54 ---> 39bbee50b0a0 13:35:54 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 13:35:54 ---> d0776b8aa834 13:35:54 Step 18/23 : EXPOSE 59901 13:35:54 ---> Running in 35b004b10fc8 13:35:54 Removing intermediate container 35b004b10fc8 13:35:54 ---> 009e58343d2b 13:35:54 Step 19/23 : ENTRYPOINT ["/device-modbus"] 13:35:54 ---> Running in 43f7b15f36b1 13:35:54 Removing intermediate container 43f7b15f36b1 13:35:54 ---> c900e6217362 13:35:54 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:35:54 ---> Running in 068dfdd35ada 13:35:54 Removing intermediate container 068dfdd35ada 13:35:54 ---> 8d6ed55f72e3 13:35:54 Step 21/23 : LABEL arch=amd64 13:35:54 ---> Running in 4c7bbd93f0bf 13:35:54 Removing intermediate container 4c7bbd93f0bf 13:35:54 ---> 927f999a3feb 13:35:54 Step 22/23 : LABEL git_sha=d7023bcda15e937cec539ef29d6768596b85ffc4 13:35:54 ---> Running in 5f3dc91828cf 13:35:54 Removing intermediate container 5f3dc91828cf 13:35:54 ---> f2eb700f0a9d 13:35:54 Step 23/23 : LABEL version=2.2.0-dev.16 13:35:55 ---> Running in 2a624245008b 13:35:55 Removing intermediate container 2a624245008b 13:35:55 ---> 0eac7dbc7e52 13:35:55 [Warning] One or more build-args [ARCH] were not consumed 13:35:55 Successfully built 0eac7dbc7e52 13:35:55 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:35:55 provisioning config files... 13:35:55 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3928830448767717665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:35:55 ---> docker-login.sh 13:35:55 nexus3.edgexfoundry.org:10001 13:35:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:55 Configure a credential helper to remove this warning. See 13:35:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:55 13:35:55 Login Succeeded 13:35:55 nexus3.edgexfoundry.org:10002 13:35:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:55 Configure a credential helper to remove this warning. See 13:35:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:55 13:35:55 Login Succeeded 13:35:55 nexus3.edgexfoundry.org:10003 13:35:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:55 Configure a credential helper to remove this warning. See 13:35:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:55 13:35:55 Login Succeeded 13:35:55 nexus3.edgexfoundry.org:10004 13:35:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:56 Configure a credential helper to remove this warning. See 13:35:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:56 13:35:56 Login Succeeded 13:35:56 docker.io 13:35:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:56 Configure a credential helper to remove this warning. See 13:35:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:56 13:35:56 Login Succeeded 13:35:56 ---> docker-login.sh ends [Pipeline] } 13:35:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:35:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:35:56 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 13:35:56 d7023bcda15e937cec539ef29d6768596b85ffc4 13:35:56 latest 13:35:56 2.2.0-dev.16 13:35:56 d7023bcda15e937cec539ef29d6768596b85ffc4-2.2.0-dev.16 13:35:56 main 13:35:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:35:56 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d7023bcda15e937cec539ef29d6768596b85ffc4 [Pipeline] isUnix [Pipeline] sh 13:35:57 + docker push nexus3.edgexfoundry.org:10004/device-modbus:d7023bcda15e937cec539ef29d6768596b85ffc4 13:35:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 13:35:57 eb992484e37c: Preparing 13:35:57 9b9a4ced9729: Preparing 13:35:57 d075b63e5fcc: Preparing 13:35:57 f506f55b72c7: Preparing 13:35:57 8cb51a5b01c3: Preparing 13:35:57 b541d28bf3b4: Preparing 13:35:57 b541d28bf3b4: Waiting 13:35:57 8cb51a5b01c3: Pushed 13:35:57 eb992484e37c: Pushed 13:35:57 9b9a4ced9729: Pushed 13:35:57 b541d28bf3b4: Layer already exists 13:35:57 f506f55b72c7: Pushed 13:35:59 d075b63e5fcc: Pushed 13:35:59 d7023bcda15e937cec539ef29d6768596b85ffc4: digest: sha256:363f9ec74b7bad6e1841cb6a6b41345681027afe4a56fd6cef8dfc3317e35b54 size: 1574 [Pipeline] isUnix [Pipeline] sh 13:36:00 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 13:36:00 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 13:36:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 13:36:00 eb992484e37c: Preparing 13:36:00 9b9a4ced9729: Preparing 13:36:00 d075b63e5fcc: Preparing 13:36:00 f506f55b72c7: Preparing 13:36:00 8cb51a5b01c3: Preparing 13:36:00 b541d28bf3b4: Preparing 13:36:00 b541d28bf3b4: Waiting 13:36:00 d075b63e5fcc: Layer already exists 13:36:00 eb992484e37c: Layer already exists 13:36:00 9b9a4ced9729: Layer already exists 13:36:00 f506f55b72c7: Layer already exists 13:36:00 8cb51a5b01c3: Layer already exists 13:36:00 b541d28bf3b4: Layer already exists 13:36:00 latest: digest: sha256:363f9ec74b7bad6e1841cb6a6b41345681027afe4a56fd6cef8dfc3317e35b54 size: 1574 [Pipeline] isUnix [Pipeline] sh 13:36:00 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh 13:36:01 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.16 13:36:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 13:36:01 eb992484e37c: Preparing 13:36:01 9b9a4ced9729: Preparing 13:36:01 d075b63e5fcc: Preparing 13:36:01 f506f55b72c7: Preparing 13:36:01 8cb51a5b01c3: Preparing 13:36:01 b541d28bf3b4: Preparing 13:36:01 b541d28bf3b4: Waiting 13:36:01 9b9a4ced9729: Layer already exists 13:36:01 f506f55b72c7: Layer already exists 13:36:01 d075b63e5fcc: Layer already exists 13:36:01 8cb51a5b01c3: Layer already exists 13:36:01 eb992484e37c: Layer already exists 13:36:01 b541d28bf3b4: Layer already exists 13:36:01 2.2.0-dev.16: digest: sha256:363f9ec74b7bad6e1841cb6a6b41345681027afe4a56fd6cef8dfc3317e35b54 size: 1574 [Pipeline] isUnix [Pipeline] sh 13:36:01 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d7023bcda15e937cec539ef29d6768596b85ffc4-2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh 13:36:01 + docker push nexus3.edgexfoundry.org:10004/device-modbus:d7023bcda15e937cec539ef29d6768596b85ffc4-2.2.0-dev.16 13:36:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 13:36:01 eb992484e37c: Preparing 13:36:01 9b9a4ced9729: Preparing 13:36:01 d075b63e5fcc: Preparing 13:36:01 f506f55b72c7: Preparing 13:36:01 8cb51a5b01c3: Preparing 13:36:01 b541d28bf3b4: Preparing 13:36:01 b541d28bf3b4: Waiting 13:36:01 f506f55b72c7: Layer already exists 13:36:01 d075b63e5fcc: Layer already exists 13:36:01 9b9a4ced9729: Layer already exists 13:36:01 8cb51a5b01c3: Layer already exists 13:36:01 eb992484e37c: Layer already exists 13:36:01 b541d28bf3b4: Layer already exists 13:36:01 d7023bcda15e937cec539ef29d6768596b85ffc4-2.2.0-dev.16: digest: sha256:363f9ec74b7bad6e1841cb6a6b41345681027afe4a56fd6cef8dfc3317e35b54 size: 1574 [Pipeline] isUnix [Pipeline] sh 13:36:02 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh 13:36:02 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 13:36:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 13:36:02 eb992484e37c: Preparing 13:36:02 9b9a4ced9729: Preparing 13:36:02 d075b63e5fcc: Preparing 13:36:02 f506f55b72c7: Preparing 13:36:02 8cb51a5b01c3: Preparing 13:36:02 b541d28bf3b4: Preparing 13:36:02 b541d28bf3b4: Waiting 13:36:02 9b9a4ced9729: Layer already exists 13:36:02 eb992484e37c: Layer already exists 13:36:02 d075b63e5fcc: Layer already exists 13:36:02 8cb51a5b01c3: Layer already exists 13:36:02 f506f55b72c7: Layer already exists 13:36:02 b541d28bf3b4: Layer already exists 13:36:02 main: digest: sha256:363f9ec74b7bad6e1841cb6a6b41345681027afe4a56fd6cef8dfc3317e35b54 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:36:02 ===================================================== [Pipeline] echo 13:36:02 taggedImages: 13:36:02 - nexus3.edgexfoundry.org:10004/device-modbus:d7023bcda15e937cec539ef29d6768596b85ffc4 13:36:02 - nexus3.edgexfoundry.org:10004/device-modbus:latest 13:36:02 - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.16 13:36:02 - nexus3.edgexfoundry.org:10004/device-modbus:d7023bcda15e937cec539ef29d6768596b85ffc4-2.2.0-dev.16 13:36:02 - 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 13:36:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:36:02 13:36:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 13:36:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:36:03 latest: Pulling from edgex-lftools-log-publisher 13:36:03 5eb5b503b376: Pulling fs layer 13:36:03 5c69ac0246d0: Pulling fs layer 13:36:03 ec43610c2a17: Pulling fs layer 13:36:03 3a2ae6a8a46f: Pulling fs layer 13:36:03 33b1e0a273af: Pulling fs layer 13:36:03 5d3b04190fa2: Pulling fs layer 13:36:03 2f39f015ded8: Pulling fs layer 13:36:03 3a2ae6a8a46f: Waiting 13:36:03 33b1e0a273af: Waiting 13:36:03 5d3b04190fa2: Waiting 13:36:03 2f39f015ded8: Waiting 13:36:03 5c69ac0246d0: Download complete 13:36:03 3a2ae6a8a46f: Download complete 13:36:03 33b1e0a273af: Verifying Checksum 13:36:03 33b1e0a273af: Download complete 13:36:03 5d3b04190fa2: Verifying Checksum 13:36:03 5d3b04190fa2: Download complete 13:36:03 ec43610c2a17: Verifying Checksum 13:36:03 5eb5b503b376: Verifying Checksum 13:36:03 5eb5b503b376: Download complete 13:36:03 2f39f015ded8: Download complete 13:36:04 5eb5b503b376: Pull complete 13:36:04 5c69ac0246d0: Pull complete 13:36:04 ec43610c2a17: Pull complete 13:36:04 3a2ae6a8a46f: Pull complete 13:36:05 33b1e0a273af: Pull complete 13:36:05 5d3b04190fa2: Pull complete 13:36:09 2f39f015ded8: Pull complete 13:36:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:36:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:36:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 13:36:09 prd-ubuntu20.04-docker-8c-8g-41052 does not seem to be running inside a container 13:36:09 $ 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 13:36:11 $ docker top 9dbc10a3286380667577b967789fb214b52a3de0eee45d71f5f0d72c84cd63d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:36:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41057 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 13:36:11 Running in /w/workspace/device-modbus-go/34 [Pipeline] { [Pipeline] checkout 13:36:11 ---> job-cost.sh 13:36:11 lf-activate-venv: SKIPPING 13:36:11 INFO: No Stack... 13:36:11 Selected Git installation does not exist. Using Default 13:36:11 The recommended git tool is: NONE 13:36:11 INFO: Retrieving Pricing Info for: v3-standard-8 13:36:12 INFO: Archiving Costs [Pipeline] sh 13:36:12 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 13:36:12 + cut -d, -f6 [Pipeline] lock 13:36:12 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-34-stack-cost] 13:36:12 Resource [jenkins-edgexfoundry-device-modbus-go-main-34-stack-cost] did not exist. Created. 13:36:12 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:36:12 + echo total: 0.2199999988079071 [Pipeline] stash 13:36:12 Stashed 1 file(s) [Pipeline] } 13:36:13 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-34-stack-cost] [Pipeline] // lock [Pipeline] } 13:36:13 $ docker stop --time=1 9dbc10a3286380667577b967789fb214b52a3de0eee45d71f5f0d72c84cd63d2 13:36:14 $ docker rm -f 9dbc10a3286380667577b967789fb214b52a3de0eee45d71f5f0d72c84cd63d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:36:19 using credential edgex-jenkins-ssh 13:36:19 Cloning the remote Git repository 13:36:19 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 13:36:19 > git init /w/workspace/device-modbus-go/34 # timeout=10 13:36:19 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 13:36:19 > git --version # timeout=10 13:36:19 > git --version # 'git version 2.25.1' 13:36:19 using GIT_SSH to set credentials SSH Credentials for GitHub 13:36:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:36:21 Avoid second fetch 13:36:21 Checking out Revision d7023bcda15e937cec539ef29d6768596b85ffc4 (main) 13:36:20 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 13:36:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:36:21 > git config core.sparsecheckout # timeout=10 13:36:21 > git checkout -f d7023bcda15e937cec539ef29d6768596b85ffc4 # timeout=10 13:36:25 Commit message: "docs(snap): Move usage instructions to docs (#342)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:36:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:36:26 % Total % Received % Xferd Average Speed Time Time Time Current 13:36:26 Dload Upload Total Spent Left Speed 13:36:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 13:36:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:36:27 + + sudo tee /etc/docker/daemon.new 13:36:27 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:36:27 { 13:36:27 "registry-mirrors": [ 13:36:27 "https://nexus3.edgexfoundry.org:10001" 13:36:27 ], 13:36:27 "bip": "10.250.0.254/24", 13:36:27 "hosts": [ 13:36:27 "tcp://0.0.0.0:5555", 13:36:27 "unix:///var/run/docker.sock" 13:36:27 ], 13:36:27 "mtu": 1458, 13:36:27 "selinux-enabled": true, 13:36:27 "seccomp-profile": "/etc/docker/seccomp.json" 13:36:27 } [Pipeline] sh 13:36:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:36:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:36:46 provisioning config files... 13:36:46 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/34@tmp/config112704476246546429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:36:47 ---> docker-login.sh 13:36:47 nexus3.edgexfoundry.org:10001 13:36:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:36:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:36:48 Configure a credential helper to remove this warning. See 13:36:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:36:48 13:36:48 Login Succeeded 13:36:48 nexus3.edgexfoundry.org:10002 13:36:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:36:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:36:48 Configure a credential helper to remove this warning. See 13:36:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:36:48 13:36:48 Login Succeeded 13:36:48 nexus3.edgexfoundry.org:10003 13:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:36:49 Configure a credential helper to remove this warning. See 13:36:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:36:49 13:36:49 Login Succeeded 13:36:49 nexus3.edgexfoundry.org:10004 13:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:36:49 Configure a credential helper to remove this warning. See 13:36:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:36:49 13:36:49 Login Succeeded 13:36:49 docker.io 13:36:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:36:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:36:50 Configure a credential helper to remove this warning. See 13:36:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:36:50 13:36:50 Login Succeeded 13:36:50 ---> docker-login.sh ends [Pipeline] } 13:36:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:36:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:36:51 ========================================================= 13:36:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 13:36:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:36:51 + 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 . 13:36:51 Sending build context to Docker daemon 3.055MB 13:36:52 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 13:36:52 Step 2/10 : FROM ${BASE} AS builder 13:36:52 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:36:52 9b3977197b4f: Pulling fs layer 13:36:52 1a89e8eeedd5: Pulling fs layer 13:36:52 94645a83ff95: Pulling fs layer 13:36:52 3f3a8bcf1eab: Pulling fs layer 13:36:52 0c92f367c5e7: Pulling fs layer 13:36:52 3096ccb668a1: Pulling fs layer 13:36:52 e8cf19c19ddd: Pulling fs layer 13:36:52 a4caa8a26152: Pulling fs layer 13:36:52 0c92f367c5e7: Waiting 13:36:52 3096ccb668a1: Waiting 13:36:52 e8cf19c19ddd: Waiting 13:36:52 a4caa8a26152: Waiting 13:36:52 3f3a8bcf1eab: Waiting 13:36:52 94645a83ff95: Verifying Checksum 13:36:52 94645a83ff95: Download complete 13:36:52 1a89e8eeedd5: Verifying Checksum 13:36:52 1a89e8eeedd5: Download complete 13:36:52 0c92f367c5e7: Verifying Checksum 13:36:52 0c92f367c5e7: Download complete 13:36:52 3096ccb668a1: Download complete 13:36:52 9b3977197b4f: Verifying Checksum 13:36:52 9b3977197b4f: Download complete 13:36:52 e8cf19c19ddd: Verifying Checksum 13:36:52 e8cf19c19ddd: Download complete 13:36:53 9b3977197b4f: Pull complete 13:36:53 1a89e8eeedd5: Pull complete 13:36:54 94645a83ff95: Pull complete 13:36:54 a4caa8a26152: Verifying Checksum 13:36:54 a4caa8a26152: Download complete 13:36:55 3f3a8bcf1eab: Verifying Checksum 13:36:55 3f3a8bcf1eab: Download complete 13:37:10 3f3a8bcf1eab: Pull complete 13:37:10 0c92f367c5e7: Pull complete 13:37:10 3096ccb668a1: Pull complete 13:37:10 e8cf19c19ddd: Pull complete 13:37:15 a4caa8a26152: Pull complete 13:37:15 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 13:37:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 13:37:15 ---> 725f1c02e7f9 13:37:15 Step 3/10 : ARG MAKE='make build' 13:37:16 ---> Running in 2b6db7901332 13:37:17 Removing intermediate container 2b6db7901332 13:37:17 ---> 83c8fb289b0e 13:37:17 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:37:17 ---> Running in 8a1442962e3a 13:37:20 Removing intermediate container 8a1442962e3a 13:37:20 ---> bf2023f71dee 13:37:20 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 13:37:20 ---> Running in 2ea4a25097dc 13:37:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:37:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:37:23 (1/8) Installing openssh-keygen (8.8_p1-r1) 13:37:24 (2/8) Installing libedit (20210910.3.1-r0) 13:37:24 (3/8) Installing openssh-client-common (8.8_p1-r1) 13:37:24 (4/8) Installing openssh-client-default (8.8_p1-r1) 13:37:24 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 13:37:24 (6/8) Installing openssh-server-common (8.8_p1-r1) 13:37:24 (7/8) Installing openssh-server (8.8_p1-r1) 13:37:24 (8/8) Installing openssh (8.8_p1-r1) 13:37:24 Executing busybox-1.34.1-r3.trigger 13:37:24 OK: 226 MiB in 60 packages 13:37:25 Removing intermediate container 2ea4a25097dc 13:37:25 ---> 3bcac719a26b 13:37:25 Step 6/10 : WORKDIR /device-modbus-go 13:37:26 ---> Running in 21a16591a8c5 13:37:26 Removing intermediate container 21a16591a8c5 13:37:26 ---> 2a2edb9dc509 13:37:26 Step 7/10 : COPY go.mod vendor* ./ 13:37:27 ---> b4324af9bb8d 13:37:27 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:37:27 ---> Running in 08f83f808690 13:38:14 Removing intermediate container 08f83f808690 13:38:14 ---> dd42c9d642c6 13:38:14 Step 9/10 : COPY . . 13:38:14 ---> 0e3a1223469a 13:38:14 Step 10/10 : RUN ${MAKE} 13:38:14 ---> Running in ad2d32893195 13:38:15 noop 13:38:16 Removing intermediate container ad2d32893195 13:38:16 ---> 2da79162d8ce 13:38:16 Successfully built 2da79162d8ce 13:38:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:38:17 + docker inspect -f . ci-base-image-arm64 13:38:17 . [Pipeline] withDockerContainer 13:38:17 prd-ubuntu20.04-docker-arm64-4c-16g-41057 does not seem to be running inside a container 13:38:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/34 -v /w/workspace/device-modbus-go/34:/w/workspace/device-modbus-go/34:rw,z -v /w/workspace/device-modbus-go/34@tmp:/w/workspace/device-modbus-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:38:19 $ docker top 9bc899fde50e72eb520d635110be39336826aeec6d5f30bfdd500da3691ba714 -eo pid,comm [Pipeline] { [Pipeline] sh 13:38:20 + go version 13:38:20 go version go1.17.6 linux/arm64 [Pipeline] } 13:38:20 $ docker stop --time=1 9bc899fde50e72eb520d635110be39336826aeec6d5f30bfdd500da3691ba714 13:38:21 $ docker rm -f 9bc899fde50e72eb520d635110be39336826aeec6d5f30bfdd500da3691ba714 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:38:22 + docker inspect -f . ci-base-image-arm64 13:38:22 . [Pipeline] withDockerContainer 13:38:22 prd-ubuntu20.04-docker-arm64-4c-16g-41057 does not seem to be running inside a container 13:38:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/34 -v /w/workspace/device-modbus-go/34:/w/workspace/device-modbus-go/34:rw,z -v /w/workspace/device-modbus-go/34@tmp:/w/workspace/device-modbus-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:38:24 $ docker top a7c78f8674d6a32f24532260518dd402e8b7784b44704dc98906b5125f8d9ebf -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:38:25 + make test 13:38:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 13:38:27 ? github.com/edgexfoundry/device-modbus-go [no test files] 13:40:19 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 13:40:19 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.070s coverage: 46.4% of statements 13:40:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:40:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:40:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:40:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:40:41 ./bin/test-attribution-txt.sh [Pipeline] echo 13:40:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:40:42 $ docker stop --time=1 a7c78f8674d6a32f24532260518dd402e8b7784b44704dc98906b5125f8d9ebf 13:40:44 $ docker rm -f a7c78f8674d6a32f24532260518dd402e8b7784b44704dc98906b5125f8d9ebf [Pipeline] // withDockerContainer [Pipeline] sh 13:40:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:40:45 Warning: overwriting stash ‘coverage-report’ 13:40:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:40:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:40:47 + ls -al . 13:40:47 total 176 13:40:47 drwxrwxr-x 9 jenkins jenkins 4096 May 6 13:40 . 13:40:47 drwxrwxr-x 4 jenkins jenkins 4096 May 6 13:36 .. 13:40:47 -rw-rw-r-- 1 jenkins jenkins 140 May 6 13:36 .dockerignore 13:40:47 drwxrwxr-x 8 jenkins jenkins 4096 May 6 13:36 .git 13:40:47 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:36 .github 13:40:47 -rw-rw-r-- 1 jenkins jenkins 331 May 6 13:36 .gitignore 13:40:47 -rw-rw-r-- 1 jenkins jenkins 41 May 6 13:36 .golangci.yml 13:40:47 -rw-rw-r-- 1 jenkins jenkins 9377 May 6 13:36 Attribution.txt 13:40:47 -rw-rw-r-- 1 jenkins jenkins 6038 May 6 13:36 CHANGELOG.md 13:40:47 -rw-rw-r-- 1 jenkins jenkins 1546 May 6 13:36 Dockerfile 13:40:47 -rw-rw-r-- 1 jenkins jenkins 677 May 6 13:36 GOVERNANCE.md 13:40:47 -rw-rw-r-- 1 jenkins jenkins 680 May 6 13:36 Jenkinsfile 13:40:47 -rw-rw-r-- 1 jenkins jenkins 11340 May 6 13:36 LICENSE 13:40:47 -rw-rw-r-- 1 jenkins jenkins 1905 May 6 13:36 Makefile 13:40:47 -rw-rw-r-- 1 jenkins jenkins 622 May 6 13:36 OWNERS.md 13:40:47 -rw-rw-r-- 1 jenkins jenkins 3397 May 6 13:36 README.md 13:40:47 -rw-rw-r-- 1 jenkins jenkins 12 May 6 13:34 VERSION 13:40:47 drwxrwxr-x 2 jenkins jenkins 4096 May 6 13:36 bin 13:40:47 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:36 cmd 13:40:47 -rw-r--r-- 1 jenkins jenkins 24065 May 6 13:40 coverage.out 13:40:47 -rw-rw-r-- 1 jenkins jenkins 3399 May 6 13:36 go.mod 13:40:47 -rw-rw-r-- 1 jenkins jenkins 35440 May 6 13:36 go.sum 13:40:47 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:36 internal 13:40:47 drwxrwxr-x 2 jenkins jenkins 4096 May 6 13:36 simulator 13:40:47 drwxrwxr-x 4 jenkins jenkins 4096 May 6 13:36 snap 13:40:47 -rw-rw-r-- 1 jenkins jenkins 229 May 6 13:36 version.go [Pipeline] isUnix [Pipeline] sh 13:40:47 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d7023bcda15e937cec539ef29d6768596b85ffc4 --label arch=arm64 --label version=2.2.0-dev.16 . 13:40:47 Sending build context to Docker daemon 3.08MB 13:40:48 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 13:40:48 Step 2/23 : FROM ${BASE} AS builder 13:40:48 ---> 2da79162d8ce 13:40:48 Step 3/23 : ARG MAKE='make build' 13:40:48 ---> Running in ea35eac3d8f1 13:40:48 Removing intermediate container ea35eac3d8f1 13:40:48 ---> cb60d2595c15 13:40:48 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:40:48 ---> Running in b55ff8a9efb6 13:40:50 Removing intermediate container b55ff8a9efb6 13:40:50 ---> 6e66e7cf1a1c 13:40:50 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 13:40:50 ---> Running in cc1e11dd287b 13:40:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:40:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:40:54 OK: 226 MiB in 60 packages 13:40:54 Removing intermediate container cc1e11dd287b 13:40:54 ---> 376b7debef07 13:40:54 Step 6/23 : WORKDIR /device-modbus-go 13:40:54 ---> Running in f196a67b5636 13:40:55 Removing intermediate container f196a67b5636 13:40:55 ---> f3c94d723cd5 13:40:55 Step 7/23 : COPY go.mod vendor* ./ 13:40:56 ---> a25c5dc6ff08 13:40:56 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:40:56 ---> Running in cd90d61a6958 13:40:58 Removing intermediate container cd90d61a6958 13:40:58 ---> c1a09e62ceae 13:40:58 Step 9/23 : COPY . . 13:40:59 ---> e008f607ad7f 13:40:59 Step 10/23 : RUN ${MAKE} 13:40:59 ---> Running in 302ad3283b64 13:41:00 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 13:43:22 Removing intermediate container 302ad3283b64 13:43:22 ---> 553ad43322af 13:43:22 Step 11/23 : FROM alpine:3.14 13:43:22 3.14: Pulling from library/alpine 13:43:22 455c02918c45: Pulling fs layer 13:43:22 455c02918c45: Verifying Checksum 13:43:22 455c02918c45: Download complete 13:43:22 455c02918c45: Pull complete 13:43:22 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 13:43:22 Status: Downloaded newer image for alpine:3.14 13:43:22 ---> ac73e934f311 13:43:22 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 13:43:22 ---> Running in 455d85bcbe03 13:43:23 Removing intermediate container 455d85bcbe03 13:43:23 ---> f36bf182ace3 13:43:23 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:43:23 ---> Running in 74f72dba4e82 13:43:25 Removing intermediate container 74f72dba4e82 13:43:25 ---> 06ab020ccdaf 13:43:25 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 13:43:25 ---> Running in 0b67b376562b 13:43:26 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 13:43:27 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 13:43:27 (1/6) Installing dumb-init (1.2.5-r1) 13:43:27 (2/6) Installing libgcc (10.3.1_git20210424-r2) 13:43:27 (3/6) Installing libsodium (1.0.18-r0) 13:43:27 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 13:43:28 (5/6) Installing libzmq (4.3.4-r0) 13:43:28 (6/6) Installing zeromq (4.3.4-r0) 13:43:28 Executing busybox-1.33.1-r7.trigger 13:43:28 OK: 8 MiB in 20 packages 13:43:29 Removing intermediate container 0b67b376562b 13:43:29 ---> 1bdc1a6fb34c 13:43:29 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 13:43:31 ---> e7bb82dcf6cc 13:43:31 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 13:43:31 ---> 0b98b969885f 13:43:31 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 13:43:32 ---> 9ff9c284b559 13:43:32 Step 18/23 : EXPOSE 59901 13:43:32 ---> Running in 59b7ccb9ef5c 13:43:32 Removing intermediate container 59b7ccb9ef5c 13:43:32 ---> 474528dcb5ef 13:43:32 Step 19/23 : ENTRYPOINT ["/device-modbus"] 13:43:32 ---> Running in 09d63dfaf1b8 13:43:32 Removing intermediate container 09d63dfaf1b8 13:43:32 ---> 68001e184b8c 13:43:32 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:43:32 ---> Running in 2540a35241c6 13:43:33 Removing intermediate container 2540a35241c6 13:43:33 ---> 2988af568f28 13:43:33 Step 21/23 : LABEL arch=arm64 13:43:33 ---> Running in 42b6e0c8d3d8 13:43:33 Removing intermediate container 42b6e0c8d3d8 13:43:33 ---> a1d20ab7410a 13:43:33 Step 22/23 : LABEL git_sha=d7023bcda15e937cec539ef29d6768596b85ffc4 13:43:33 ---> Running in 1e65941b677d 13:43:34 Removing intermediate container 1e65941b677d 13:43:34 ---> 5829438716a1 13:43:34 Step 23/23 : LABEL version=2.2.0-dev.16 13:43:34 ---> Running in a12c40069b26 13:43:34 Removing intermediate container a12c40069b26 13:43:34 ---> 5335081598ba 13:43:34 [Warning] One or more build-args [ARCH] were not consumed 13:43:34 Successfully built 5335081598ba 13:43:34 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 13:43:34 provisioning config files... 13:43:34 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/34@tmp/config6385247716709159503tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:43:35 ---> docker-login.sh 13:43:35 nexus3.edgexfoundry.org:10001 13:43:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:43:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:43:35 Configure a credential helper to remove this warning. See 13:43:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:43:35 13:43:35 Login Succeeded 13:43:35 nexus3.edgexfoundry.org:10002 13:43:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:43:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:43:35 Configure a credential helper to remove this warning. See 13:43:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:43:35 13:43:35 Login Succeeded 13:43:35 nexus3.edgexfoundry.org:10003 13:43:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:43:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:43:36 Configure a credential helper to remove this warning. See 13:43:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:43:36 13:43:36 Login Succeeded 13:43:36 nexus3.edgexfoundry.org:10004 13:43:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:43:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:43:37 Configure a credential helper to remove this warning. See 13:43:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:43:37 13:43:37 Login Succeeded 13:43:37 docker.io 13:43:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:43:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:43:37 Configure a credential helper to remove this warning. See 13:43:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:43:37 13:43:37 Login Succeeded 13:43:37 ---> docker-login.sh ends [Pipeline] } 13:43:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:43:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:43:38 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 13:43:38 d7023bcda15e937cec539ef29d6768596b85ffc4 13:43:38 latest 13:43:38 2.2.0-dev.16 13:43:38 d7023bcda15e937cec539ef29d6768596b85ffc4-2.2.0-dev.16 13:43:38 main 13:43:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:43:38 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d7023bcda15e937cec539ef29d6768596b85ffc4 [Pipeline] isUnix [Pipeline] sh 13:43:38 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d7023bcda15e937cec539ef29d6768596b85ffc4 13:43:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 13:43:38 e052c05ec85b: Preparing 13:43:38 d9b209a2c189: Preparing 13:43:38 e2a3aec32458: Preparing 13:43:38 0e05da470fcc: Preparing 13:43:38 8f75f2090601: Preparing 13:43:38 f73e7dbfee58: Preparing 13:43:38 f73e7dbfee58: Waiting 13:43:39 d9b209a2c189: Pushed 13:43:39 8f75f2090601: Pushed 13:43:39 e052c05ec85b: Pushed 13:43:39 f73e7dbfee58: Layer already exists 13:43:39 0e05da470fcc: Pushed 13:43:45 e2a3aec32458: Pushed 13:43:45 d7023bcda15e937cec539ef29d6768596b85ffc4: digest: sha256:146ca58582a8d6112fbe4adb79fd9b525effc62b8059386f26d1cff15c8bddb8 size: 1573 [Pipeline] isUnix [Pipeline] sh 13:43:45 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:43:45 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 13:43:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 13:43:45 e052c05ec85b: Preparing 13:43:45 d9b209a2c189: Preparing 13:43:45 e2a3aec32458: Preparing 13:43:45 0e05da470fcc: Preparing 13:43:45 8f75f2090601: Preparing 13:43:45 f73e7dbfee58: Preparing 13:43:45 f73e7dbfee58: Waiting 13:43:45 d9b209a2c189: Layer already exists 13:43:45 0e05da470fcc: Layer already exists 13:43:45 e2a3aec32458: Layer already exists 13:43:45 8f75f2090601: Layer already exists 13:43:45 e052c05ec85b: Layer already exists 13:43:45 f73e7dbfee58: Layer already exists 13:43:46 latest: digest: sha256:146ca58582a8d6112fbe4adb79fd9b525effc62b8059386f26d1cff15c8bddb8 size: 1573 [Pipeline] isUnix [Pipeline] sh 13:43:46 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh 13:43:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.16 13:43:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 13:43:46 e052c05ec85b: Preparing 13:43:46 d9b209a2c189: Preparing 13:43:46 e2a3aec32458: Preparing 13:43:46 0e05da470fcc: Preparing 13:43:46 8f75f2090601: Preparing 13:43:46 f73e7dbfee58: Preparing 13:43:46 f73e7dbfee58: Waiting 13:43:46 0e05da470fcc: Layer already exists 13:43:46 8f75f2090601: Layer already exists 13:43:46 d9b209a2c189: Layer already exists 13:43:46 e2a3aec32458: Layer already exists 13:43:46 e052c05ec85b: Layer already exists 13:43:46 f73e7dbfee58: Layer already exists 13:43:46 2.2.0-dev.16: digest: sha256:146ca58582a8d6112fbe4adb79fd9b525effc62b8059386f26d1cff15c8bddb8 size: 1573 [Pipeline] isUnix [Pipeline] sh 13:43:47 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d7023bcda15e937cec539ef29d6768596b85ffc4-2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh 13:43:47 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d7023bcda15e937cec539ef29d6768596b85ffc4-2.2.0-dev.16 13:43:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 13:43:47 e052c05ec85b: Preparing 13:43:47 d9b209a2c189: Preparing 13:43:47 e2a3aec32458: Preparing 13:43:47 0e05da470fcc: Preparing 13:43:47 8f75f2090601: Preparing 13:43:47 f73e7dbfee58: Preparing 13:43:47 f73e7dbfee58: Waiting 13:43:47 e052c05ec85b: Layer already exists 13:43:47 d9b209a2c189: Layer already exists 13:43:47 e2a3aec32458: Layer already exists 13:43:47 8f75f2090601: Layer already exists 13:43:47 0e05da470fcc: Layer already exists 13:43:47 f73e7dbfee58: Layer already exists 13:43:47 d7023bcda15e937cec539ef29d6768596b85ffc4-2.2.0-dev.16: digest: sha256:146ca58582a8d6112fbe4adb79fd9b525effc62b8059386f26d1cff15c8bddb8 size: 1573 [Pipeline] isUnix [Pipeline] sh 13:43:48 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh 13:43:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 13:43:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 13:43:48 e052c05ec85b: Preparing 13:43:48 d9b209a2c189: Preparing 13:43:48 e2a3aec32458: Preparing 13:43:48 0e05da470fcc: Preparing 13:43:48 8f75f2090601: Preparing 13:43:48 f73e7dbfee58: Preparing 13:43:48 f73e7dbfee58: Waiting 13:43:48 e2a3aec32458: Layer already exists 13:43:48 d9b209a2c189: Layer already exists 13:43:48 8f75f2090601: Layer already exists 13:43:48 e052c05ec85b: Layer already exists 13:43:48 0e05da470fcc: Layer already exists 13:43:48 f73e7dbfee58: Layer already exists 13:43:48 main: digest: sha256:146ca58582a8d6112fbe4adb79fd9b525effc62b8059386f26d1cff15c8bddb8 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:43:49 ===================================================== [Pipeline] echo 13:43:49 taggedImages: 13:43:49 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d7023bcda15e937cec539ef29d6768596b85ffc4 13:43:49 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 13:43:49 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.16 13:43:49 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d7023bcda15e937cec539ef29d6768596b85ffc4-2.2.0-dev.16 13:43:49 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:43:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:43:49 13:43:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 13:43:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:43:50 arm64: Pulling from edgex-lftools-log-publisher 13:43:50 8998bd30e6a1: Pulling fs layer 13:43:50 04944245beec: Pulling fs layer 13:43:50 699f458cf7ca: Pulling fs layer 13:43:50 765212b225bb: Pulling fs layer 13:43:50 f23df028b6ca: Pulling fs layer 13:43:50 d65c8cfc05b1: Pulling fs layer 13:43:50 2437ff75d9bd: Pulling fs layer 13:43:50 765212b225bb: Waiting 13:43:50 f23df028b6ca: Waiting 13:43:50 d65c8cfc05b1: Waiting 13:43:50 2437ff75d9bd: Waiting 13:43:50 04944245beec: Verifying Checksum 13:43:50 04944245beec: Download complete 13:43:50 765212b225bb: Verifying Checksum 13:43:50 765212b225bb: Download complete 13:43:50 f23df028b6ca: Verifying Checksum 13:43:50 f23df028b6ca: Download complete 13:43:50 d65c8cfc05b1: Verifying Checksum 13:43:50 d65c8cfc05b1: Download complete 13:43:50 699f458cf7ca: Verifying Checksum 13:43:50 699f458cf7ca: Download complete 13:43:50 8998bd30e6a1: Verifying Checksum 13:43:50 8998bd30e6a1: Download complete 13:43:53 2437ff75d9bd: Verifying Checksum 13:43:53 2437ff75d9bd: Download complete 13:43:55 8998bd30e6a1: Pull complete 13:43:55 04944245beec: Pull complete 13:43:56 699f458cf7ca: Pull complete 13:43:57 765212b225bb: Pull complete 13:43:58 f23df028b6ca: Pull complete 13:43:58 d65c8cfc05b1: Pull complete 13:44:13 2437ff75d9bd: Pull complete 13:44:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:44:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:44:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 13:44:13 prd-ubuntu20.04-docker-arm64-4c-16g-41057 does not seem to be running inside a container 13:44:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/34 -v /w/workspace/device-modbus-go/34:/w/workspace/device-modbus-go/34:rw,z -v /w/workspace/device-modbus-go/34@tmp:/w/workspace/device-modbus-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:44:16 $ docker top 46bac125cf478836720296839689cc19205fb5b93da1d9041bb045f75384fb86 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:44:17 ---> job-cost.sh 13:44:17 lf-activate-venv: SKIPPING 13:44:17 INFO: No Stack... 13:44:17 INFO: Retrieving Pricing Info for: v3-standard-4 13:44:18 INFO: Archiving Costs [Pipeline] sh 13:44:19 + cut -d, -f6 13:44:19 + cat /w/workspace/device-modbus-go/34/archives/cost.csv [Pipeline] lock 13:44:19 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-34-stack-cost] 13:44:19 Resource [jenkins-edgexfoundry-device-modbus-go-main-34-stack-cost] did not exist. Created. 13:44:19 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:44:19 /w/workspace/device-modbus-go/34@tmp/durable-d7fb824e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:44:20 + echo total: 0.10999999940395355 [Pipeline] stash 13:44:20 Warning: overwriting stash ‘stack-cost’ 13:44:20 Stashed 1 file(s) [Pipeline] } 13:44:20 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-34-stack-cost] [Pipeline] // lock [Pipeline] } 13:44:20 $ docker stop --time=1 46bac125cf478836720296839689cc19205fb5b93da1d9041bb045f75384fb86 13:44:22 $ docker rm -f 46bac125cf478836720296839689cc19205fb5b93da1d9041bb045f75384fb86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 13:44:22 provisioning config files... 13:44:22 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1948736913575397711tmp [Pipeline] { [Pipeline] sh 13:44:23 + set +x 13:44:23 + curl -s https://codecov.io/bash 13:44:23 + bash -s -- 13:44:23 13:44:23 _____ _ 13:44:23 / ____| | | 13:44:23 | | ___ __| | ___ ___ _____ __ 13:44:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:44:23 | |___| (_) | (_| | __/ (_| (_) \ V / 13:44:23 \_____\___/ \__,_|\___|\___\___/ \_/ 13:44:23 Bash-1.0.6 13:44:23 13:44:23 13:44:23 ==> git version 2.25.1 found 13:44:23 ==> 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 13:44:23 Release-Date: 2020-01-08 13:44:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:44:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:44:23 ==> Jenkins CI detected. 13:44:23 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 13:44:23 project root: . 13:44:23 --> token set from env 13:44:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:44:23 ==> Running gcov in . (disable via -X gcov) 13:44:23 ==> Python coveragepy not found 13:44:23 ==> Searching for coverage reports in: 13:44:23 + . 13:44:23 -> Found 1 reports 13:44:23 ==> Detecting git/mercurial file structure 13:44:23 ==> Reading reports 13:44:23 + ./coverage.out bytes=24065 13:44:23 ==> Appending adjustments 13:44:23 https://docs.codecov.io/docs/fixing-reports 13:44:23 + Found adjustments 13:44:23 ==> Gzipping contents 13:44:23 4.0K /tmp/codecov.KHpU0j.gz 13:44:23 ==> Uploading reports 13:44:23 url: https://codecov.io 13:44:23 query: branch=main&commit=d7023bcda15e937cec539ef29d6768596b85ffc4&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 13:44:23 -> Pinging Codecov 13:44:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=main&commit=d7023bcda15e937cec539ef29d6768596b85ffc4&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 13:44:23 -> Uploading to 13:44:23 https://storage.googleapis.com/codecov/v4/raw/2022-05-06/55DBCA73C666E3227836607328DD7E49/d7023bcda15e937cec539ef29d6768596b85ffc4/17b7b600-10f1-4226-8587-5c5dc5bb9317.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220506T134423Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=75a91eb2463289cb9fff18fca3e081dcf6c3e65cb17dba81a8a73bab0240a2df 13:44:23 % Total % Received % Xferd Average Speed Time Time Time Current 13:44:23 Dload Upload Total Spent Left Speed 13:44:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4018 0 0 100 4018 0 17937 --:--:-- --:--:-- --:--:-- 17937 13:44:23 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/d7023bcda15e937cec539ef29d6768596b85ffc4 [Pipeline] } 13:44:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 13:44:24 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 13:44:24 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:44:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:44:24 13:44:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 13:44:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:44:24 1.410.4: Pulling from edgex-devops/edgex-snyk-go 13:44:24 188c0c94c7c5: Pulling fs layer 13:44:24 0ef7d3d256c8: Pulling fs layer 13:44:24 de9db76c5a1d: Pulling fs layer 13:44:24 0eba1c9be4d2: Pulling fs layer 13:44:24 0d57e429df01: Pulling fs layer 13:44:24 4e4be7b47b0d: Pulling fs layer 13:44:24 e1f770b5df2f: Pulling fs layer 13:44:24 85a0685a4137: Pulling fs layer 13:44:24 e1f770b5df2f: Waiting 13:44:24 0eba1c9be4d2: Waiting 13:44:24 85a0685a4137: Waiting 13:44:24 4e4be7b47b0d: Waiting 13:44:24 de9db76c5a1d: Verifying Checksum 13:44:24 de9db76c5a1d: Download complete 13:44:24 0ef7d3d256c8: Download complete 13:44:24 0d57e429df01: Download complete 13:44:24 4e4be7b47b0d: Download complete 13:44:24 188c0c94c7c5: Verifying Checksum 13:44:24 188c0c94c7c5: Download complete 13:44:24 188c0c94c7c5: Pull complete 13:44:24 e1f770b5df2f: Verifying Checksum 13:44:24 e1f770b5df2f: Download complete 13:44:24 0ef7d3d256c8: Pull complete 13:44:25 de9db76c5a1d: Pull complete 13:44:25 0eba1c9be4d2: Verifying Checksum 13:44:25 0eba1c9be4d2: Download complete 13:44:25 85a0685a4137: Verifying Checksum 13:44:25 85a0685a4137: Download complete 13:44:28 0eba1c9be4d2: Pull complete 13:44:28 0d57e429df01: Pull complete 13:44:28 4e4be7b47b0d: Pull complete 13:44:28 e1f770b5df2f: Pull complete 13:44:32 85a0685a4137: Pull complete 13:44:32 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 13:44:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:44:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 13:44:32 prd-ubuntu20.04-docker-8c-8g-41052 does not seem to be running inside a container 13:44:32 $ 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 13:44:34 $ docker top 02103b975bd184bd18d0cb7c09d79b0fb80e882cb921677069333f6c41b35b6e -eo pid,comm [Pipeline] { [Pipeline] echo 13:44:34 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 13:44:34 + set -o pipefail 13:44:34 + snyk monitor '--org=edgex-jenkins' 13:44:39 13:44:39 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 13:44:39 13:44:39 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/67d488e8-7711-4c2a-8c87-9af8e6de0526 13:44:39 13:44:39 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 13:44:39 13:44:39 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 13:44:39 13:44:39 [Pipeline] } 13:44:39 $ docker stop --time=1 02103b975bd184bd18d0cb7c09d79b0fb80e882cb921677069333f6c41b35b6e 13:44:41 $ docker rm -f 02103b975bd184bd18d0cb7c09d79b0fb80e882cb921677069333f6c41b35b6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:44:42 + git log --format=format:%s -1 d7023bcda15e937cec539ef29d6768596b85ffc4 [Pipeline] sh 13:44:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:44:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:44:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:44:43 . [Pipeline] withDockerContainer 13:44:43 prd-ubuntu20.04-docker-8c-8g-41052 does not seem to be running inside a container 13:44:43 $ 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 13:44:43 $ docker top d13b82cec0d99c7263eb6f5185d581bef907a3b98696367e6d28c9663033c2f4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:44:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:44:43 [ssh-agent] Looking for ssh-agent implementation... 13:44:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:44:43 $ docker exec d13b82cec0d99c7263eb6f5185d581bef907a3b98696367e6d28c9663033c2f4 ssh-agent 13:44:43 SSH_AUTH_SOCK=/tmp/ssh-KBGYFBraDma3/agent.33 13:44:43 SSH_AGENT_PID=39 13:44:43 Running ssh-add (command line suppressed) 13:44:44 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_996926355281316246.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_996926355281316246.key) 13:44:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:44:44 + git semver tag 13:44:44 2022-05-06 13:44:44,553 [run_tag] DEBUG tag force:False 13:44:44 2022-05-06 13:44:44,553 [check_head_tag] DEBUG check head tag 13:44:44 2022-05-06 13:44:44,554 [execute] INFO git cat-file --batch-check 13:44:44 2022-05-06 13:44:44,554 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 13:44:44 2022-05-06 13:44:44,557 [execute] INFO git cat-file --batch 13:44:44 2022-05-06 13:44:44,557 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 13:44:44 2022-05-06 13:44:44,567 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 13:44:44 2022-05-06 13:44:44,568 [execute] INFO git tag -a v2.2.0-dev.16 -m v2.2.0-dev.16 13:44:44 2022-05-06 13:44:44,568 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.16', '-m', 'v2.2.0-dev.16'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 13:44:44 2022-05-06 13:44:44,572 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 13:44:44 2.2.0-dev.16 [Pipeline] } 13:44:44 $ docker exec --env ******** --env ******** d13b82cec0d99c7263eb6f5185d581bef907a3b98696367e6d28c9663033c2f4 ssh-agent -k 13:44:44 unset SSH_AUTH_SOCK; 13:44:44 unset SSH_AGENT_PID; 13:44:44 echo Agent pid 39 killed; 13:44:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:44:45 + git semver [Pipeline] } 13:44:45 $ docker stop --time=1 d13b82cec0d99c7263eb6f5185d581bef907a3b98696367e6d28c9663033c2f4 13:44:46 $ docker rm -f d13b82cec0d99c7263eb6f5185d581bef907a3b98696367e6d28c9663033c2f4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 13:44:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:44:47 13:44:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 13:44:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:44:47 0.23.1-centos7: Pulling from edgex-lftools 13:44:47 ab5ef0e58194: Pulling fs layer 13:44:47 9712f1f96733: Pulling fs layer 13:44:47 63f879dbbcfc: Pulling fs layer 13:44:47 0d9ebad4ef96: Pulling fs layer 13:44:47 e9a5061849ea: Pulling fs layer 13:44:47 d747dcd14b5f: Pulling fs layer 13:44:47 2de7ff778b66: Pulling fs layer 13:44:47 2de7ff778b66: Waiting 13:44:47 d747dcd14b5f: Waiting 13:44:47 0d9ebad4ef96: Waiting 13:44:47 e9a5061849ea: Waiting 13:44:47 9712f1f96733: Verifying Checksum 13:44:47 63f879dbbcfc: Verifying Checksum 13:44:47 63f879dbbcfc: Download complete 13:44:47 0d9ebad4ef96: Verifying Checksum 13:44:47 0d9ebad4ef96: Download complete 13:44:47 d747dcd14b5f: Download complete 13:44:47 e9a5061849ea: Verifying Checksum 13:44:47 e9a5061849ea: Download complete 13:44:47 ab5ef0e58194: Verifying Checksum 13:44:47 ab5ef0e58194: Download complete 13:44:48 2de7ff778b66: Verifying Checksum 13:44:48 2de7ff778b66: Download complete 13:44:50 ab5ef0e58194: Pull complete 13:44:50 9712f1f96733: Pull complete 13:44:51 63f879dbbcfc: Pull complete 13:44:55 0d9ebad4ef96: Pull complete 13:44:55 e9a5061849ea: Pull complete 13:44:55 d747dcd14b5f: Pull complete 13:44:56 2de7ff778b66: Pull complete 13:44:56 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 13:44:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:44:56 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 13:44:56 prd-ubuntu20.04-docker-8c-8g-41052 does not seem to be running inside a container 13:44:56 $ 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 13:44:58 $ docker top 927b448837f00ecec550107954bdc3afedb1947e9de63eac9c1578420316c2e4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 13:44:58 provisioning config files... 13:44:58 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5441956133535085862tmp 13:44:58 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8856241763515005120tmp 13:44:58 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config184898772600325853tmp [Pipeline] { [Pipeline] echo 13:44:58 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 13:44:58 ---> sigul-configuration.sh 13:44:58 gpg: directory `/root/.gnupg' created 13:44:58 gpg: new configuration file `/root/.gnupg/gpg.conf' created 13:44:58 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 13:44:58 gpg: keyring `/root/.gnupg/secring.gpg' created 13:44:58 gpg: keyring `/root/.gnupg/pubring.gpg' created 13:44:58 gpg: CAST5 encrypted data 13:44:58 gpg: encrypted with 1 passphrase 13:44:58 gpg: WARNING: message was not integrity protected [Pipeline] sh 13:44:59 + mkdir /home/jenkins 13:44:59 + mkdir /home/jenkins/sigul [Pipeline] sh 13:44:59 + 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 13:44:59 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 13:44:59 ---> sigul-install.sh 13:44:59 Sigul already installed; skipping installation. [Pipeline] sh 13:45:00 + git tag --list 13:45:00 0.7.1 13:45:00 v1.0.0 13:45:00 v1.1.0 13:45:00 v1.1.1 13:45:00 v1.2.2 13:45:00 v1.3.0 13:45:00 v1.3.1 13:45:00 v2.0.0 13:45:00 v2.0.1-dev.1 13:45:00 v2.0.1-dev.10 13:45:00 v2.0.1-dev.11 13:45:00 v2.0.1-dev.12 13:45:00 v2.0.1-dev.2 13:45:00 v2.0.1-dev.3 13:45:00 v2.0.1-dev.4 13:45:00 v2.0.1-dev.5 13:45:00 v2.0.1-dev.6 13:45:00 v2.0.1-dev.7 13:45:00 v2.0.1-dev.8 13:45:00 v2.0.1-dev.9 13:45:00 v2.1.0 13:45:00 v2.2.0-dev.1 13:45:00 v2.2.0-dev.10 13:45:00 v2.2.0-dev.11 13:45:00 v2.2.0-dev.12 13:45:00 v2.2.0-dev.13 13:45:00 v2.2.0-dev.14 13:45:00 v2.2.0-dev.15 13:45:00 v2.2.0-dev.16 13:45:00 v2.2.0-dev.2 13:45:00 v2.2.0-dev.3 13:45:00 v2.2.0-dev.4 13:45:00 v2.2.0-dev.5 13:45:00 v2.2.0-dev.6 13:45:00 v2.2.0-dev.7 13:45:00 v2.2.0-dev.8 13:45:00 v2.2.0-dev.9 [Pipeline] sh 13:45:00 + lftools sign git-tag v2.2.0-dev.16 13:45:00 Signing Git tag with Sigul... 13:45:00 Signing v2.2.0-dev.16 [Pipeline] echo 13:45:01 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 13:45:02 ---> sigul-configuration-cleanup.sh [Pipeline] } 13:45:02 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 13:45:02 $ docker stop --time=1 927b448837f00ecec550107954bdc3afedb1947e9de63eac9c1578420316c2e4 13:45:03 $ docker rm -f 927b448837f00ecec550107954bdc3afedb1947e9de63eac9c1578420316c2e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 13:45:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:45:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:45:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:45:04 . [Pipeline] withDockerContainer 13:45:04 prd-ubuntu20.04-docker-8c-8g-41052 does not seem to be running inside a container 13:45:04 $ 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 13:45:04 $ docker top 3b5c808b3b63c62f30f9fe41146a7b7092606cd136f8fc4076b008ffe989342f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:45:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:45:04 [ssh-agent] Looking for ssh-agent implementation... 13:45:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:45:04 $ docker exec 3b5c808b3b63c62f30f9fe41146a7b7092606cd136f8fc4076b008ffe989342f ssh-agent 13:45:04 SSH_AUTH_SOCK=/tmp/ssh-lAhXQFdSNOqO/agent.33 13:45:04 SSH_AGENT_PID=39 13:45:05 Running ssh-add (command line suppressed) 13:45:05 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5820158185630041216.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5820158185630041216.key) 13:45:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:45:05 + git semver bump pre 13:45:05 2022-05-06 13:45:05,641 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 13:45:05 2022-05-06 13:45:05,641 [bump_version] DEBUG bumping version:2.2.0-dev.16 on axis:pre with prefix:dev 13:45:05 2022-05-06 13:45:05,641 [bump_version] DEBUG bumped version:2.2.0-dev.17 13:45:05 2022-05-06 13:45:05,641 [write_version] DEBUG write version:2.2.0-dev.17 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 13:45:05 2022-05-06 13:45:05,642 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 13:45:05 2022-05-06 13:45:05,642 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 13:45:05 2022-05-06 13:45:05,646 [execute] INFO git cat-file --batch-check 13:45:05 2022-05-06 13:45:05,646 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:45:05 2022-05-06 13:45:05,653 [execute] INFO git cat-file --batch 13:45:05 2022-05-06 13:45:05,653 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:45:05 2022-05-06 13:45:05,658 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 13:45:05 2.2.0-dev.17 [Pipeline] } 13:45:05 $ docker exec --env ******** --env ******** 3b5c808b3b63c62f30f9fe41146a7b7092606cd136f8fc4076b008ffe989342f ssh-agent -k 13:45:05 unset SSH_AUTH_SOCK; 13:45:05 unset SSH_AGENT_PID; 13:45:05 echo Agent pid 39 killed; 13:45:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:45:06 + git semver [Pipeline] } 13:45:06 $ docker stop --time=1 3b5c808b3b63c62f30f9fe41146a7b7092606cd136f8fc4076b008ffe989342f 13:45:07 $ docker rm -f 3b5c808b3b63c62f30f9fe41146a7b7092606cd136f8fc4076b008ffe989342f [Pipeline] // withDockerContainer [Pipeline] sh 13:45:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:45:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:45:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:45:08 . [Pipeline] withDockerContainer 13:45:08 prd-ubuntu20.04-docker-8c-8g-41052 does not seem to be running inside a container 13:45:08 $ 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 13:45:08 $ docker top 986ddf1a1578dfef3362ecd580e63a59a46cda99dfece23a43fa66a2fd6db52e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:45:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:45:08 [ssh-agent] Looking for ssh-agent implementation... 13:45:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:45:09 $ docker exec 986ddf1a1578dfef3362ecd580e63a59a46cda99dfece23a43fa66a2fd6db52e ssh-agent 13:45:09 SSH_AUTH_SOCK=/tmp/ssh-ovdY5ehwens0/agent.33 13:45:09 SSH_AGENT_PID=39 13:45:09 Running ssh-add (command line suppressed) 13:45:09 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8481201392539216038.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8481201392539216038.key) 13:45:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:45:09 + git semver push 13:45:09 2022-05-06 13:45:09,819 [run_push] DEBUG push 13:45:09 2022-05-06 13:45:09,820 [execute] INFO git push origin semver 13:45:10 2022-05-06 13:45:09,820 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 13:45:10 2022-05-06 13:45:10,626 [run_push] DEBUG push all version tags 13:45:10 2022-05-06 13:45:10,626 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 13:45:10 2022-05-06 13:45:10,627 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 13:45:11 2022-05-06 13:45:11,355 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 13:45:11 2.2.0-dev.17 [Pipeline] } 13:45:11 $ docker exec --env ******** --env ******** 986ddf1a1578dfef3362ecd580e63a59a46cda99dfece23a43fa66a2fd6db52e ssh-agent -k 13:45:11 unset SSH_AUTH_SOCK; 13:45:11 unset SSH_AGENT_PID; 13:45:11 echo Agent pid 39 killed; 13:45:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:45:12 + git semver [Pipeline] } 13:45:12 $ docker stop --time=1 986ddf1a1578dfef3362ecd580e63a59a46cda99dfece23a43fa66a2fd6db52e 13:45:13 $ docker rm -f 986ddf1a1578dfef3362ecd580e63a59a46cda99dfece23a43fa66a2fd6db52e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:45:14 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 13:45:14 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 13:45:14 total 16 13:45:14 drwxr-xr-x 3 root root 4096 May 6 13:36 . 13:45:14 drwxrwxr-x 11 jenkins jenkins 4096 May 6 13:44 .. 13:45:14 drwxr-xr-x 2 root root 4096 May 6 13:36 cost 13:45:14 -rw-r--r-- 1 root root 86 May 6 13:36 cost.csv 13:45:14 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 13:45:14 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 13:45:14 total 16 13:45:14 drwxr-xr-x 3 jenkins jenkins 4096 May 6 13:36 . 13:45:14 drwxrwxr-x 11 jenkins jenkins 4096 May 6 13:44 .. 13:45:14 drwxr-xr-x 2 jenkins jenkins 4096 May 6 13:36 cost 13:45:14 -rw-r--r-- 1 jenkins jenkins 86 May 6 13:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:45:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:45:15 ---> package-listing.sh 13:45:15 ++ facter osfamily 13:45:15 ++ tr '[:upper:]' '[:lower:]' 13:45:15 + OS_FAMILY=debian 13:45:15 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 13:45:15 + START_PACKAGES=/tmp/packages_start.txt 13:45:15 + END_PACKAGES=/tmp/packages_end.txt 13:45:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:45:15 + PACKAGES=/tmp/packages_start.txt 13:45:15 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 13:45:15 + PACKAGES=/tmp/packages_end.txt 13:45:15 + case "${OS_FAMILY}" in 13:45:15 + dpkg -l 13:45:15 + grep '^ii' 13:45:15 + '[' -f /tmp/packages_start.txt ']' 13:45:15 + '[' -f /tmp/packages_end.txt ']' 13:45:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:45:15 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 13:45:15 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 13:45:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 13:45:15 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 13:45:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:45:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:45:16 . [Pipeline] withDockerContainer 13:45:16 prd-ubuntu20.04-docker-8c-8g-41052 does not seem to be running inside a container 13:45:16 $ 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 13:45:16 $ docker top 6a539b28ded574084d04b4c2a0e84aefdd262d2a9e40e8a788c65de47ed8aca3 -eo pid,comm [Pipeline] { [Pipeline] sh 13:45:17 + touch /tmp/pre-build-complete [Pipeline] sh 13:45:17 + mkdir -p /var/log/sysstat [Pipeline] sh 13:45:17 + ls /var/log/sa-host 13:45:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:45:17 provisioning config files... 13:45:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8610076752998891958tmp [Pipeline] { [Pipeline] echo 13:45:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:45:18 ---> create-netrc.sh [Pipeline] } 13:45:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:45:18 ---> python-tools-install.sh [Pipeline] echo 13:45:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:45:18 ---> sudo-logs.sh 13:45:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:45:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:45:19 ---> job-cost.sh 13:45:19 lf-activate-venv: SKIPPING 13:45:19 DEBUG: total: 0.2199999988079071 13:45:19 INFO: Retrieving Stack Cost... 13:45:19 INFO: Retrieving Pricing Info for: v3-standard-8 13:45:19 INFO: Archiving Costs [Pipeline] echo 13:45:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:45:20 ---> logs-deploy.sh 13:45:20 lf-activate-venv: SKIPPING 13:45:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/34 13:45:20 INFO: archiving workspace using pattern(s): 13:45:21 Archives upload complete. 13:45:21 INFO: archiving logs to Nexus