Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0336c9d051e2f73d586bb6c363b90ff6160f5d37 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4193080161722312822.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14051087980862743946.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1792742593532720462.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17875938345757703810.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17083606744152992150.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-34824’ Running on prd-ubuntu20.04-docker-8c-8g-34836 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0336c9d051e2f73d586bb6c363b90ff6160f5d37 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0336c9d051e2f73d586bb6c363b90ff6160f5d37 # timeout=10 Commit message: "Merge pull request #340 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.35" > git rev-list --no-walk 19472f7a5fdc6e4787d855a3cc3865d021cdd964 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:44:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:44:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:44:58 ========================================================= 02:44:58 EdgeX Global Pipelines Version Info 02:44:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:44:59 ------------------- 02:44:59 stable info: 02:44:59 ------------------- 02:44:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:44:59 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 02:44:59 Message: update stable to v1.0.227 02:44:59 ------------------- 02:44:59 experimental info: 02:44:59 ------------------- 02:44:59 Commited By: **** collab-it+edgex@linuxfoundation.org 02:44:59 Commit SHA: 602d0728ebfd21a5b975e02ac0465e47e5fef8c7 02:44:59 Message: update experimental to v1.0.228 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:44:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 02:44:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 02:44:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:44:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:44:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:44:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 02:44:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:44:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:44:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:44:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:44:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:44:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 02:44:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:44:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:44:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:45:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:45:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:45:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:45:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:45:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:45:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:45:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:45:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:45:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:45:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:45:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:45:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:45:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:45:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:45:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0336c9d051e2f73d586bb6c363b90ff6160f5d37 [Pipeline] echo 02:45:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0336c9d [Pipeline] echo 02:45:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:45:00 provisioning config files... 02:45:00 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3395920013730091999tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:00 ---> docker-login.sh 02:45:00 nexus3.edgexfoundry.org:10001 02:45:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:00 Configure a credential helper to remove this warning. See 02:45:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:00 02:45:00 Login Succeeded 02:45:00 nexus3.edgexfoundry.org:10002 02:45:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:01 Configure a credential helper to remove this warning. See 02:45:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:01 02:45:01 Login Succeeded 02:45:01 nexus3.edgexfoundry.org:10003 02:45:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:01 Configure a credential helper to remove this warning. See 02:45:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:01 02:45:01 Login Succeeded 02:45:01 nexus3.edgexfoundry.org:10004 02:45:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:01 Configure a credential helper to remove this warning. See 02:45:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:01 02:45:01 Login Succeeded 02:45:01 docker.io 02:45:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:01 Configure a credential helper to remove this warning. See 02:45:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:01 02:45:01 Login Succeeded 02:45:01 ---> docker-login.sh ends [Pipeline] } 02:45:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:45:02 + git rev-list -1 --merges 0336c9d051e2f73d586bb6c363b90ff6160f5d37~1..0336c9d051e2f73d586bb6c363b90ff6160f5d37 [Pipeline] echo 02:45:02 -----------> git rev-list -1 --merges 0336c9d051e2f73d586bb6c363b90ff6160f5d37~1..0336c9d051e2f73d586bb6c363b90ff6160f5d37 0336c9d051e2f73d586bb6c363b90ff6160f5d37 02:45:02 0336c9d051e2f73d586bb6c363b90ff6160f5d37 [false] [Pipeline] sh 02:45:02 + git log --format=format:%s -1 0336c9d051e2f73d586bb6c363b90ff6160f5d37 [Pipeline] echo 02:45:02 ========================================================= 02:45:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:45:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:02 + git log --format=format:%s -1 0336c9d051e2f73d586bb6c363b90ff6160f5d37 [Pipeline] echo 02:45:03 [semverPrep] GIT_COMMIT: 0336c9d051e2f73d586bb6c363b90ff6160f5d37, Commit Message: Merge pull request #340 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.35 [Pipeline] echo 02:45:03 [semverPrep] This is not a build commit. [Pipeline] sh 02:45:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:45:03 + grep -v github /etc/ssh/ssh_known_hosts 02:45:03 + [ -e /tmp/ssh_known_hosts ] 02:45:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:45:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:45:03 + sudo tee -a /etc/ssh/ssh_known_hosts 02:45:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:45:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:45:03 02:45:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:45:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:45:04 latest: Pulling from edgex-devops/py-git-semver 02:45:04 1fe172e4850f: Pulling fs layer 02:45:04 caf521ccaac6: Pulling fs layer 02:45:04 3ead6fa29328: Pulling fs layer 02:45:04 5c2a1cbceb83: Pulling fs layer 02:45:04 a8d5f1318db7: Pulling fs layer 02:45:04 c427282e49a2: Pulling fs layer 02:45:04 1827001aaf11: Pulling fs layer 02:45:04 0714d37db230: Pulling fs layer 02:45:04 ac28cf19c067: Pulling fs layer 02:45:04 ca983d60f3e2: Pulling fs layer 02:45:04 9f894cec8388: Pulling fs layer 02:45:04 5c2a1cbceb83: Waiting 02:45:04 a8d5f1318db7: Waiting 02:45:04 c427282e49a2: Waiting 02:45:04 ac28cf19c067: Waiting 02:45:04 ca983d60f3e2: Waiting 02:45:04 9f894cec8388: Waiting 02:45:04 caf521ccaac6: Verifying Checksum 02:45:04 caf521ccaac6: Download complete 02:45:04 5c2a1cbceb83: Verifying Checksum 02:45:04 5c2a1cbceb83: Download complete 02:45:04 a8d5f1318db7: Verifying Checksum 02:45:04 a8d5f1318db7: Download complete 02:45:04 c427282e49a2: Verifying Checksum 02:45:04 c427282e49a2: Download complete 02:45:04 3ead6fa29328: Verifying Checksum 02:45:04 3ead6fa29328: Download complete 02:45:04 0714d37db230: Download complete 02:45:04 ac28cf19c067: Download complete 02:45:04 ca983d60f3e2: Verifying Checksum 02:45:04 ca983d60f3e2: Download complete 02:45:04 9f894cec8388: Verifying Checksum 02:45:04 9f894cec8388: Download complete 02:45:04 1fe172e4850f: Verifying Checksum 02:45:04 1fe172e4850f: Download complete 02:45:04 1827001aaf11: Verifying Checksum 02:45:04 1827001aaf11: Download complete 02:45:06 1fe172e4850f: Pull complete 02:45:06 caf521ccaac6: Pull complete 02:45:06 3ead6fa29328: Pull complete 02:45:06 5c2a1cbceb83: Pull complete 02:45:06 a8d5f1318db7: Pull complete 02:45:07 c427282e49a2: Pull complete 02:45:09 1827001aaf11: Pull complete 02:45:09 0714d37db230: Pull complete 02:45:09 ac28cf19c067: Pull complete 02:45:09 ca983d60f3e2: Pull complete 02:45:09 9f894cec8388: Pull complete 02:45:09 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 02:45:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:45:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 02:45:09 prd-ubuntu20.04-docker-8c-8g-34836 does not seem to be running inside a container 02:45:09 $ 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 02:45:11 $ docker top c26de762bbcbb83a81943c96f7a90d21637dcbcb54cf339a0ab73d5f1e9b631f -eo pid,comm 02:45:11 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). 02:45:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:45:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:45:11 [ssh-agent] Looking for ssh-agent implementation... 02:45:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:45:11 $ docker exec c26de762bbcbb83a81943c96f7a90d21637dcbcb54cf339a0ab73d5f1e9b631f ssh-agent 02:45:11 SSH_AUTH_SOCK=/tmp/ssh-eQelQ1MpvHws/agent.33 02:45:11 SSH_AGENT_PID=40 02:45:11 Running ssh-add (command line suppressed) 02:45:11 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6417657627018347482.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6417657627018347482.key) 02:45:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:45:12 + git tag --points-at HEAD [Pipeline] } 02:45:12 $ docker exec --env ******** --env ******** c26de762bbcbb83a81943c96f7a90d21637dcbcb54cf339a0ab73d5f1e9b631f ssh-agent -k 02:45:12 unset SSH_AUTH_SOCK; 02:45:12 unset SSH_AGENT_PID; 02:45:12 echo Agent pid 40 killed; 02:45:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:45:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:45:12 [ssh-agent] Looking for ssh-agent implementation... 02:45:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:45:12 $ docker exec c26de762bbcbb83a81943c96f7a90d21637dcbcb54cf339a0ab73d5f1e9b631f ssh-agent 02:45:12 SSH_AUTH_SOCK=/tmp/ssh-sN8DEUV8Rb34/agent.74 02:45:12 SSH_AGENT_PID=81 02:45:12 Running ssh-add (command line suppressed) 02:45:12 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4352348427916548476.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4352348427916548476.key) 02:45:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:45:12 + git semver init 02:45:13 2022-05-03 02:45:13,173 [run_init] DEBUG init version:0.0.0 force:False 02:45:13 2022-05-03 02:45:13,174 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 02:45:13 2022-05-03 02:45:13,174 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 02:45:13 2022-05-03 02:45:13,174 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 02:45:14 2022-05-03 02:45:14,042 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 02:45:14 2022-05-03 02:45:14,042 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 02:45:14 2022-05-03 02:45:14,042 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 02:45:14 2022-05-03 02:45:14,043 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 02:45:14 2.2.0-dev.15 [Pipeline] } 02:45:14 $ docker exec --env ******** --env ******** c26de762bbcbb83a81943c96f7a90d21637dcbcb54cf339a0ab73d5f1e9b631f ssh-agent -k 02:45:14 unset SSH_AUTH_SOCK; 02:45:14 unset SSH_AGENT_PID; 02:45:14 echo Agent pid 81 killed; 02:45:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:45:14 + git semver [Pipeline] } 02:45:14 $ docker stop --time=1 c26de762bbcbb83a81943c96f7a90d21637dcbcb54cf339a0ab73d5f1e9b631f 02:45:16 $ docker rm -f c26de762bbcbb83a81943c96f7a90d21637dcbcb54cf339a0ab73d5f1e9b631f [Pipeline] // withDockerContainer [Pipeline] sh 02:45:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:45:16 Stashed 1 file(s) [Pipeline] echo 02:45:16 [edgeXSemver]: initialized semver on version 2.2.0-dev.15 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:45:17 provisioning config files... 02:45:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7294150961417378671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:17 ---> docker-login.sh 02:45:17 nexus3.edgexfoundry.org:10001 02:45:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:17 Configure a credential helper to remove this warning. See 02:45:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:17 02:45:17 Login Succeeded 02:45:17 nexus3.edgexfoundry.org:10002 02:45:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:17 Configure a credential helper to remove this warning. See 02:45:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:17 02:45:17 Login Succeeded 02:45:17 nexus3.edgexfoundry.org:10003 02:45:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:17 Configure a credential helper to remove this warning. See 02:45:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:17 02:45:17 Login Succeeded 02:45:17 nexus3.edgexfoundry.org:10004 02:45:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:17 Configure a credential helper to remove this warning. See 02:45:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:17 02:45:17 Login Succeeded 02:45:17 docker.io 02:45:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:18 Configure a credential helper to remove this warning. See 02:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:18 02:45:18 Login Succeeded 02:45:18 ---> docker-login.sh ends [Pipeline] } 02:45:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:45:18 ========================================================= 02:45:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 02:45:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:45:18 + 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 . 02:45:18 Sending build context to Docker daemon 5.897MB 02:45:18 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 02:45:18 Step 2/10 : FROM ${BASE} AS builder 02:45:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:18 59bf1c3509f3: Pulling fs layer 02:45:18 666ba61612fd: Pulling fs layer 02:45:18 8ed8ca486205: Pulling fs layer 02:45:18 4fe6c5a15a65: Pulling fs layer 02:45:18 22a0e8bec74d: Pulling fs layer 02:45:18 ca2b28591e48: Pulling fs layer 02:45:18 a51346096db8: Pulling fs layer 02:45:18 daebc70d1ce1: Pulling fs layer 02:45:18 0e18a0eac166: Pulling fs layer 02:45:18 a51346096db8: Waiting 02:45:18 4fe6c5a15a65: Waiting 02:45:18 0e18a0eac166: Waiting 02:45:18 daebc70d1ce1: Waiting 02:45:18 22a0e8bec74d: Waiting 02:45:18 ca2b28591e48: Waiting 02:45:18 8ed8ca486205: Verifying Checksum 02:45:18 8ed8ca486205: Download complete 02:45:18 666ba61612fd: Verifying Checksum 02:45:18 666ba61612fd: Download complete 02:45:18 22a0e8bec74d: Verifying Checksum 02:45:18 22a0e8bec74d: Download complete 02:45:18 59bf1c3509f3: Verifying Checksum 02:45:18 ca2b28591e48: Download complete 02:45:18 a51346096db8: Download complete 02:45:18 daebc70d1ce1: Verifying Checksum 02:45:18 daebc70d1ce1: Download complete 02:45:18 59bf1c3509f3: Pull complete 02:45:19 666ba61612fd: Pull complete 02:45:19 8ed8ca486205: Pull complete 02:45:19 0e18a0eac166: Verifying Checksum 02:45:19 0e18a0eac166: Download complete 02:45:19 4fe6c5a15a65: Verifying Checksum 02:45:19 4fe6c5a15a65: Download complete 02:45:23 4fe6c5a15a65: Pull complete 02:45:23 22a0e8bec74d: Pull complete 02:45:23 ca2b28591e48: Pull complete 02:45:23 a51346096db8: Pull complete 02:45:23 daebc70d1ce1: Pull complete 02:45:26 0e18a0eac166: Pull complete 02:45:26 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 02:45:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:45:26 ---> f018257e8ee9 02:45:26 Step 3/10 : ARG MAKE='make build' 02:45:27 ---> Running in 52c93ac01170 02:45:27 Removing intermediate container 52c93ac01170 02:45:27 ---> 28798102b377 02:45:27 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:27 ---> Running in 160f82755b62 02:45:28 Removing intermediate container 160f82755b62 02:45:28 ---> b96ee09d8e50 02:45:28 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 02:45:28 ---> Running in 93ab7ee2b7ea 02:45:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:45:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:45:29 (1/8) Installing openssh-keygen (8.8_p1-r1) 02:45:29 (2/8) Installing libedit (20210910.3.1-r0) 02:45:29 (3/8) Installing openssh-client-common (8.8_p1-r1) 02:45:29 (4/8) Installing openssh-client-default (8.8_p1-r1) 02:45:29 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 02:45:30 (6/8) Installing openssh-server-common (8.8_p1-r1) 02:45:30 (7/8) Installing openssh-server (8.8_p1-r1) 02:45:30 (8/8) Installing openssh (8.8_p1-r1) 02:45:30 Executing busybox-1.34.1-r3.trigger 02:45:30 OK: 226 MiB in 60 packages 02:45:30 Removing intermediate container 93ab7ee2b7ea 02:45:30 ---> 642ad9891118 02:45:30 Step 6/10 : WORKDIR /device-modbus-go 02:45:30 ---> Running in 06f0da4bf50e 02:45:30 Removing intermediate container 06f0da4bf50e 02:45:30 ---> 397f3e790f40 02:45:30 Step 7/10 : COPY go.mod vendor* ./ 02:45:30 ---> e935be8fc5b0 02:45:30 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:45:30 ---> Running in c0be9ef74e4a 02:45:32 Still waiting to schedule task 02:45:32 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-34827’ 02:45:45 Removing intermediate container c0be9ef74e4a 02:45:45 ---> 6550b96c2c2f 02:45:45 Step 9/10 : COPY . . 02:45:45 ---> 3c8366a189d4 02:45:45 Step 10/10 : RUN ${MAKE} 02:45:45 ---> Running in 166723b0235d 02:45:45 noop 02:45:45 Removing intermediate container 166723b0235d 02:45:45 ---> 0d8e88d1dc3f 02:45:45 Successfully built 0d8e88d1dc3f 02:45:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:45:46 + docker inspect -f . ci-base-image-x86_64 02:45:46 . [Pipeline] withDockerContainer 02:45:46 prd-ubuntu20.04-docker-8c-8g-34836 does not seem to be running inside a container 02:45:46 $ 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 02:45:46 $ docker top 3714b988067efbedf3a708225d3e7dbc37ed96410f0ab0970a88313cf77f0a90 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:47 + go version 02:45:47 go version go1.17.6 linux/amd64 [Pipeline] } 02:45:47 $ docker stop --time=1 3714b988067efbedf3a708225d3e7dbc37ed96410f0ab0970a88313cf77f0a90 02:45:48 $ docker rm -f 3714b988067efbedf3a708225d3e7dbc37ed96410f0ab0970a88313cf77f0a90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:48 + docker inspect -f . ci-base-image-x86_64 02:45:48 . [Pipeline] withDockerContainer 02:45:48 prd-ubuntu20.04-docker-8c-8g-34836 does not seem to be running inside a container 02:45:49 $ 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 02:45:49 $ docker top f9dbbdc2fd406a52934de516190620987782487fb617a59529c491cbc04ec613 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:45:49 + make test 02:45:49 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 02:45:50 ? github.com/edgexfoundry/device-modbus-go [no test files] 02:46:00 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 02:46:00 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 46.4% of statements 02:46:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:46:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:46:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:46:09 ./bin/test-attribution-txt.sh [Pipeline] echo 02:46:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:46:09 $ docker stop --time=1 f9dbbdc2fd406a52934de516190620987782487fb617a59529c491cbc04ec613 02:46:11 $ docker rm -f f9dbbdc2fd406a52934de516190620987782487fb617a59529c491cbc04ec613 [Pipeline] // withDockerContainer [Pipeline] sh 02:46:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:46:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:46:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:13 + ls -al . 02:46:13 total 180 02:46:13 drwxrwxr-x 10 jenkins jenkins 4096 May 3 02:46 . 02:46:13 drwxrwxr-x 4 jenkins jenkins 4096 May 3 02:44 .. 02:46:13 -rw-rw-r-- 1 jenkins jenkins 140 May 3 02:44 .dockerignore 02:46:13 drwxrwxr-x 8 jenkins jenkins 4096 May 3 02:45 .git 02:46:13 drwxrwxr-x 3 jenkins jenkins 4096 May 3 02:44 .github 02:46:13 -rw-rw-r-- 1 jenkins jenkins 331 May 3 02:44 .gitignore 02:46:13 -rw-rw-r-- 1 jenkins jenkins 41 May 3 02:44 .golangci.yml 02:46:13 drwxr-xr-x 3 jenkins jenkins 4096 May 3 02:45 .semver 02:46:13 -rw-rw-r-- 1 jenkins jenkins 9377 May 3 02:44 Attribution.txt 02:46:13 -rw-rw-r-- 1 jenkins jenkins 6038 May 3 02:44 CHANGELOG.md 02:46:13 -rw-rw-r-- 1 jenkins jenkins 1546 May 3 02:44 Dockerfile 02:46:13 -rw-rw-r-- 1 jenkins jenkins 677 May 3 02:44 GOVERNANCE.md 02:46:13 -rw-rw-r-- 1 jenkins jenkins 680 May 3 02:44 Jenkinsfile 02:46:13 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 02:44 LICENSE 02:46:13 -rw-rw-r-- 1 jenkins jenkins 1905 May 3 02:44 Makefile 02:46:13 -rw-rw-r-- 1 jenkins jenkins 622 May 3 02:44 OWNERS.md 02:46:13 -rw-rw-r-- 1 jenkins jenkins 3680 May 3 02:44 README.md 02:46:13 -rw-rw-r-- 1 jenkins jenkins 12 May 3 02:45 VERSION 02:46:13 drwxrwxr-x 2 jenkins jenkins 4096 May 3 02:44 bin 02:46:13 drwxrwxr-x 3 jenkins jenkins 4096 May 3 02:44 cmd 02:46:13 -rw-r--r-- 1 jenkins jenkins 24065 May 3 02:45 coverage.out 02:46:13 -rw-rw-r-- 1 jenkins jenkins 3399 May 3 02:44 go.mod 02:46:13 -rw-rw-r-- 1 jenkins jenkins 35440 May 3 02:44 go.sum 02:46:13 drwxrwxr-x 3 jenkins jenkins 4096 May 3 02:44 internal 02:46:13 drwxrwxr-x 2 jenkins jenkins 4096 May 3 02:44 simulator 02:46:13 drwxrwxr-x 4 jenkins jenkins 4096 May 3 02:44 snap 02:46:13 -rw-rw-r-- 1 jenkins jenkins 229 May 3 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:46:13 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=0336c9d051e2f73d586bb6c363b90ff6160f5d37 --label arch=amd64 --label version=2.2.0-dev.15 . 02:46:13 Sending build context to Docker daemon 5.922MB 02:46:13 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 02:46:13 Step 2/23 : FROM ${BASE} AS builder 02:46:13 ---> 0d8e88d1dc3f 02:46:13 Step 3/23 : ARG MAKE='make build' 02:46:13 ---> Running in c4da86575ca8 02:46:13 Removing intermediate container c4da86575ca8 02:46:13 ---> 322943f9da67 02:46:13 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:13 ---> Running in 433f28c164e0 02:46:14 Removing intermediate container 433f28c164e0 02:46:14 ---> 469895b1e9ca 02:46:14 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 02:46:14 ---> Running in d97626a47c89 02:46:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:46:15 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:46:15 OK: 226 MiB in 60 packages 02:46:16 Removing intermediate container d97626a47c89 02:46:16 ---> b1cca81af17d 02:46:16 Step 6/23 : WORKDIR /device-modbus-go 02:46:16 ---> Running in 4ccadcc396fb 02:46:16 Removing intermediate container 4ccadcc396fb 02:46:16 ---> 7ba9f5cbfaac 02:46:16 Step 7/23 : COPY go.mod vendor* ./ 02:46:16 ---> 6036f916118e 02:46:16 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:46:16 ---> Running in dbb822c201e2 02:46:17 Removing intermediate container dbb822c201e2 02:46:17 ---> 0c710475b393 02:46:17 Step 9/23 : COPY . . 02:46:17 ---> 99d445807159 02:46:17 Step 10/23 : RUN ${MAKE} 02:46:17 ---> Running in c8d591639d73 02:46:17 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 02:46:39 Removing intermediate container c8d591639d73 02:46:39 ---> 6d3b3984ad96 02:46:39 Step 11/23 : FROM alpine:3.14 02:46:39 3.14: Pulling from library/alpine 02:46:39 8663204ce13b: Pulling fs layer 02:46:39 8663204ce13b: Download complete 02:46:39 8663204ce13b: Pull complete 02:46:39 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:46:39 Status: Downloaded newer image for alpine:3.14 02:46:39 ---> e04c818066af 02:46:39 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 02:46:39 ---> Running in 3fb61fefc25c 02:46:39 Removing intermediate container 3fb61fefc25c 02:46:39 ---> 1dbecb9de61e 02:46:39 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:39 ---> Running in 668a8a21b8aa 02:46:39 Removing intermediate container 668a8a21b8aa 02:46:39 ---> ea114e1fd01d 02:46:39 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 02:46:39 ---> Running in d566b15701dd 02:46:39 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 02:46:39 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 02:46:39 (1/6) Installing dumb-init (1.2.5-r1) 02:46:39 (2/6) Installing libgcc (10.3.1_git20210424-r2) 02:46:40 (3/6) Installing libsodium (1.0.18-r0) 02:46:40 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 02:46:40 (5/6) Installing libzmq (4.3.4-r0) 02:46:40 (6/6) Installing zeromq (4.3.4-r0) 02:46:40 Executing busybox-1.33.1-r7.trigger 02:46:40 OK: 8 MiB in 20 packages 02:46:40 Removing intermediate container d566b15701dd 02:46:40 ---> 3c9941b81267 02:46:40 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 02:46:41 ---> 6e527607dfd5 02:46:41 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 02:46:41 ---> 33a7e59ab379 02:46:41 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 02:46:41 ---> 4df82d24871a 02:46:41 Step 18/23 : EXPOSE 59901 02:46:41 ---> Running in de3655a42ebe 02:46:41 Removing intermediate container de3655a42ebe 02:46:41 ---> b944d78e289d 02:46:41 Step 19/23 : ENTRYPOINT ["/device-modbus"] 02:46:41 ---> Running in b22a341c06d8 02:46:41 Removing intermediate container b22a341c06d8 02:46:41 ---> 57062b693fd6 02:46:41 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:46:41 ---> Running in 62809f44cb0b 02:46:41 Removing intermediate container 62809f44cb0b 02:46:41 ---> aa508f616a73 02:46:41 Step 21/23 : LABEL arch=amd64 02:46:41 ---> Running in 039e5d359d0c 02:46:42 Removing intermediate container 039e5d359d0c 02:46:42 ---> 70f9f7c942c7 02:46:42 Step 22/23 : LABEL git_sha=0336c9d051e2f73d586bb6c363b90ff6160f5d37 02:46:42 ---> Running in 7b70ad761b15 02:46:42 Removing intermediate container 7b70ad761b15 02:46:42 ---> d2682589fbb8 02:46:42 Step 23/23 : LABEL version=2.2.0-dev.15 02:46:42 ---> Running in ca1cae2786ec 02:46:42 Removing intermediate container ca1cae2786ec 02:46:42 ---> b106a0b9eafd 02:46:42 [Warning] One or more build-args [ARCH] were not consumed 02:46:42 Successfully built b106a0b9eafd 02:46:42 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:46:42 provisioning config files... 02:46:42 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7898581650085030584tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:42 ---> docker-login.sh 02:46:42 nexus3.edgexfoundry.org:10001 02:46:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:42 Configure a credential helper to remove this warning. See 02:46:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:42 02:46:42 Login Succeeded 02:46:42 nexus3.edgexfoundry.org:10002 02:46:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:43 Configure a credential helper to remove this warning. See 02:46:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:43 02:46:43 Login Succeeded 02:46:43 nexus3.edgexfoundry.org:10003 02:46:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:43 Configure a credential helper to remove this warning. See 02:46:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:43 02:46:43 Login Succeeded 02:46:43 nexus3.edgexfoundry.org:10004 02:46:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:43 Configure a credential helper to remove this warning. See 02:46:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:43 02:46:43 Login Succeeded 02:46:43 docker.io 02:46:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:43 Configure a credential helper to remove this warning. See 02:46:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:43 02:46:43 Login Succeeded 02:46:43 ---> docker-login.sh ends [Pipeline] } 02:46:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:46:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:46:43 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 02:46:43 0336c9d051e2f73d586bb6c363b90ff6160f5d37 02:46:43 latest 02:46:43 2.2.0-dev.15 02:46:43 0336c9d051e2f73d586bb6c363b90ff6160f5d37-2.2.0-dev.15 02:46:43 main 02:46:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:44 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0336c9d051e2f73d586bb6c363b90ff6160f5d37 [Pipeline] isUnix [Pipeline] sh 02:46:44 + docker push nexus3.edgexfoundry.org:10004/device-modbus:0336c9d051e2f73d586bb6c363b90ff6160f5d37 02:46:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 02:46:44 186cc8e5eddd: Preparing 02:46:44 1bf9ab322d12: Preparing 02:46:44 893552f93cd1: Preparing 02:46:44 ad1a8725e5d1: Preparing 02:46:44 06e9b7cf988e: Preparing 02:46:44 b541d28bf3b4: Preparing 02:46:44 b541d28bf3b4: Waiting 02:46:44 186cc8e5eddd: Pushed 02:46:44 1bf9ab322d12: Pushed 02:46:44 06e9b7cf988e: Pushed 02:46:44 b541d28bf3b4: Layer already exists 02:46:44 ad1a8725e5d1: Pushed 02:46:47 893552f93cd1: Pushed 02:46:47 0336c9d051e2f73d586bb6c363b90ff6160f5d37: digest: sha256:d93b4aa6d64a54854193fd0bc1615475b08e05626e1da60e0791cffb9d00775a size: 1574 [Pipeline] isUnix [Pipeline] sh 02:46:47 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 02:46:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 02:46:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 02:46:48 186cc8e5eddd: Preparing 02:46:48 1bf9ab322d12: Preparing 02:46:48 893552f93cd1: Preparing 02:46:48 ad1a8725e5d1: Preparing 02:46:48 06e9b7cf988e: Preparing 02:46:48 b541d28bf3b4: Preparing 02:46:48 b541d28bf3b4: Waiting 02:46:48 1bf9ab322d12: Layer already exists 02:46:48 893552f93cd1: Layer already exists 02:46:48 06e9b7cf988e: Layer already exists 02:46:48 186cc8e5eddd: Layer already exists 02:46:48 ad1a8725e5d1: Layer already exists 02:46:48 b541d28bf3b4: Layer already exists 02:46:48 latest: digest: sha256:d93b4aa6d64a54854193fd0bc1615475b08e05626e1da60e0791cffb9d00775a size: 1574 [Pipeline] isUnix [Pipeline] sh 02:46:48 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh 02:46:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.15 02:46:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 02:46:48 186cc8e5eddd: Preparing 02:46:48 1bf9ab322d12: Preparing 02:46:48 893552f93cd1: Preparing 02:46:48 ad1a8725e5d1: Preparing 02:46:48 06e9b7cf988e: Preparing 02:46:48 b541d28bf3b4: Preparing 02:46:48 b541d28bf3b4: Waiting 02:46:48 186cc8e5eddd: Layer already exists 02:46:48 06e9b7cf988e: Layer already exists 02:46:48 1bf9ab322d12: Layer already exists 02:46:48 893552f93cd1: Layer already exists 02:46:48 ad1a8725e5d1: Layer already exists 02:46:48 b541d28bf3b4: Layer already exists 02:46:48 2.2.0-dev.15: digest: sha256:d93b4aa6d64a54854193fd0bc1615475b08e05626e1da60e0791cffb9d00775a size: 1574 [Pipeline] isUnix [Pipeline] sh 02:46:48 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0336c9d051e2f73d586bb6c363b90ff6160f5d37-2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh 02:46:49 + docker push nexus3.edgexfoundry.org:10004/device-modbus:0336c9d051e2f73d586bb6c363b90ff6160f5d37-2.2.0-dev.15 02:46:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 02:46:49 186cc8e5eddd: Preparing 02:46:49 1bf9ab322d12: Preparing 02:46:49 893552f93cd1: Preparing 02:46:49 ad1a8725e5d1: Preparing 02:46:49 06e9b7cf988e: Preparing 02:46:49 b541d28bf3b4: Preparing 02:46:49 b541d28bf3b4: Waiting 02:46:49 06e9b7cf988e: Layer already exists 02:46:49 186cc8e5eddd: Layer already exists 02:46:49 1bf9ab322d12: Layer already exists 02:46:49 893552f93cd1: Layer already exists 02:46:49 ad1a8725e5d1: Layer already exists 02:46:49 b541d28bf3b4: Layer already exists 02:46:49 0336c9d051e2f73d586bb6c363b90ff6160f5d37-2.2.0-dev.15: digest: sha256:d93b4aa6d64a54854193fd0bc1615475b08e05626e1da60e0791cffb9d00775a size: 1574 [Pipeline] isUnix [Pipeline] sh 02:46:49 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh 02:46:49 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 02:46:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 02:46:49 186cc8e5eddd: Preparing 02:46:49 1bf9ab322d12: Preparing 02:46:49 893552f93cd1: Preparing 02:46:49 ad1a8725e5d1: Preparing 02:46:49 06e9b7cf988e: Preparing 02:46:49 b541d28bf3b4: Preparing 02:46:49 b541d28bf3b4: Waiting 02:46:49 893552f93cd1: Layer already exists 02:46:49 ad1a8725e5d1: Layer already exists 02:46:49 1bf9ab322d12: Layer already exists 02:46:49 06e9b7cf988e: Layer already exists 02:46:49 186cc8e5eddd: Layer already exists 02:46:49 b541d28bf3b4: Layer already exists 02:46:49 main: digest: sha256:d93b4aa6d64a54854193fd0bc1615475b08e05626e1da60e0791cffb9d00775a size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:46:49 ===================================================== [Pipeline] echo 02:46:49 taggedImages: 02:46:49 - nexus3.edgexfoundry.org:10004/device-modbus:0336c9d051e2f73d586bb6c363b90ff6160f5d37 02:46:49 - nexus3.edgexfoundry.org:10004/device-modbus:latest 02:46:49 - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.15 02:46:49 - nexus3.edgexfoundry.org:10004/device-modbus:0336c9d051e2f73d586bb6c363b90ff6160f5d37-2.2.0-dev.15 02:46:49 - 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 02:46:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:46:50 02:46:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:46:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:46:50 latest: Pulling from edgex-lftools-log-publisher 02:46:50 5eb5b503b376: Pulling fs layer 02:46:50 5c69ac0246d0: Pulling fs layer 02:46:50 ec43610c2a17: Pulling fs layer 02:46:50 3a2ae6a8a46f: Pulling fs layer 02:46:50 33b1e0a273af: Pulling fs layer 02:46:50 5d3b04190fa2: Pulling fs layer 02:46:50 2f39f015ded8: Pulling fs layer 02:46:50 5d3b04190fa2: Waiting 02:46:50 33b1e0a273af: Waiting 02:46:50 3a2ae6a8a46f: Waiting 02:46:50 2f39f015ded8: Waiting 02:46:50 5c69ac0246d0: Download complete 02:46:50 3a2ae6a8a46f: Verifying Checksum 02:46:50 3a2ae6a8a46f: Download complete 02:46:50 33b1e0a273af: Verifying Checksum 02:46:50 33b1e0a273af: Download complete 02:46:50 5d3b04190fa2: Download complete 02:46:50 ec43610c2a17: Verifying Checksum 02:46:50 ec43610c2a17: Download complete 02:46:50 5eb5b503b376: Download complete 02:46:51 2f39f015ded8: Verifying Checksum 02:46:51 2f39f015ded8: Download complete 02:46:52 5eb5b503b376: Pull complete 02:46:52 5c69ac0246d0: Pull complete 02:46:52 ec43610c2a17: Pull complete 02:46:52 3a2ae6a8a46f: Pull complete 02:46:53 33b1e0a273af: Pull complete 02:46:53 5d3b04190fa2: Pull complete 02:46:58 2f39f015ded8: Pull complete 02:46:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:46:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:46:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:46:58 prd-ubuntu20.04-docker-8c-8g-34836 does not seem to be running inside a container 02:46:58 $ 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 02:47:00 $ docker top db1bd6a352b8d06ee538efb230df7efbfb7fde0544e68f983d9d7e29286ecf13 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:00 ---> job-cost.sh 02:47:00 lf-activate-venv: SKIPPING 02:47:00 INFO: No Stack... 02:47:01 INFO: Retrieving Pricing Info for: v3-standard-8 02:47:01 INFO: Archiving Costs [Pipeline] sh 02:47:01 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 02:47:01 + cut -d, -f6 [Pipeline] lock 02:47:01 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-33-stack-cost] 02:47:01 Resource [jenkins-edgexfoundry-device-modbus-go-main-33-stack-cost] did not exist. Created. 02:47:01 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:47:02 + echo total: 0.2199999988079071 [Pipeline] stash 02:47:02 Stashed 1 file(s) [Pipeline] } 02:47:02 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-33-stack-cost] [Pipeline] // lock [Pipeline] } 02:47:02 $ docker stop --time=1 db1bd6a352b8d06ee538efb230df7efbfb7fde0544e68f983d9d7e29286ecf13 02:47:03 $ docker rm -f db1bd6a352b8d06ee538efb230df7efbfb7fde0544e68f983d9d7e29286ecf13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:54:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-39491 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 03:54:41 Running in /w/workspace/device-modbus-go/33 [Pipeline] { [Pipeline] checkout 03:54:41 Selected Git installation does not exist. Using Default 03:54:41 The recommended git tool is: NONE 03:54:46 using credential edgex-jenkins-ssh 03:54:46 Cloning the remote Git repository 03:54:47 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 03:54:47 > git init /w/workspace/device-modbus-go/33 # timeout=10 03:54:47 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:54:47 > git --version # timeout=10 03:54:47 > git --version # 'git version 2.25.1' 03:54:47 using GIT_SSH to set credentials SSH Credentials for GitHub 03:54:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:54:48 Avoid second fetch 03:54:48 Checking out Revision 0336c9d051e2f73d586bb6c363b90ff6160f5d37 (main) 03:54:48 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:54:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:54:48 > git config core.sparsecheckout # timeout=10 03:54:48 > git checkout -f 0336c9d051e2f73d586bb6c363b90ff6160f5d37 # timeout=10 03:54:52 Commit message: "Merge pull request #340 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.35" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:54:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:54:53 % Total % Received % Xferd Average Speed Time Time Time Current 03:54:53 Dload Upload Total Spent Left Speed 03:54:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 98691 0 --:--:-- --:--:-- --:--:-- 98691 [Pipeline] sh 03:54:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:54:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:54:54 + sudo tee /etc/docker/daemon.new 03:54:54 { 03:54:54 "registry-mirrors": [ 03:54:54 "https://nexus3.edgexfoundry.org:10001" 03:54:54 ], 03:54:54 "bip": "10.250.0.254/24", 03:54:54 "hosts": [ 03:54:54 "tcp://0.0.0.0:5555", 03:54:54 "unix:///var/run/docker.sock" 03:54:54 ], 03:54:54 "mtu": 1458, 03:54:54 "selinux-enabled": true, 03:54:54 "seccomp-profile": "/etc/docker/seccomp.json" 03:54:54 } [Pipeline] sh 03:54:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:54:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:55:13 provisioning config files... 03:55:13 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/33@tmp/config1342043013740496345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:55:13 ---> docker-login.sh 03:55:13 nexus3.edgexfoundry.org:10001 03:55:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:14 Configure a credential helper to remove this warning. See 03:55:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:14 03:55:14 Login Succeeded 03:55:14 nexus3.edgexfoundry.org:10002 03:55:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:15 Configure a credential helper to remove this warning. See 03:55:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:15 03:55:15 Login Succeeded 03:55:15 nexus3.edgexfoundry.org:10003 03:55:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:15 Configure a credential helper to remove this warning. See 03:55:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:15 03:55:15 Login Succeeded 03:55:15 nexus3.edgexfoundry.org:10004 03:55:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:15 Configure a credential helper to remove this warning. See 03:55:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:15 03:55:15 Login Succeeded 03:55:15 docker.io 03:55:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:16 Configure a credential helper to remove this warning. See 03:55:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:16 03:55:16 Login Succeeded 03:55:16 ---> docker-login.sh ends [Pipeline] } 03:55:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:55:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:55:17 ========================================================= 03:55:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 03:55:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:55:17 + 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 . 03:55:17 Sending build context to Docker daemon 3.077MB 03:55:17 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 03:55:17 Step 2/10 : FROM ${BASE} AS builder 03:55:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:55:18 9b3977197b4f: Pulling fs layer 03:55:18 1a89e8eeedd5: Pulling fs layer 03:55:18 94645a83ff95: Pulling fs layer 03:55:18 3f3a8bcf1eab: Pulling fs layer 03:55:18 0c92f367c5e7: Pulling fs layer 03:55:18 3096ccb668a1: Pulling fs layer 03:55:18 e8cf19c19ddd: Pulling fs layer 03:55:18 a4caa8a26152: Pulling fs layer 03:55:18 3f3a8bcf1eab: Waiting 03:55:18 0c92f367c5e7: Waiting 03:55:18 3096ccb668a1: Waiting 03:55:18 e8cf19c19ddd: Waiting 03:55:18 a4caa8a26152: Waiting 03:55:18 94645a83ff95: Verifying Checksum 03:55:18 94645a83ff95: Download complete 03:55:18 1a89e8eeedd5: Verifying Checksum 03:55:18 1a89e8eeedd5: Download complete 03:55:18 0c92f367c5e7: Verifying Checksum 03:55:18 0c92f367c5e7: Download complete 03:55:18 3096ccb668a1: Verifying Checksum 03:55:18 3096ccb668a1: Download complete 03:55:18 9b3977197b4f: Verifying Checksum 03:55:18 9b3977197b4f: Download complete 03:55:18 e8cf19c19ddd: Verifying Checksum 03:55:18 e8cf19c19ddd: Download complete 03:55:19 9b3977197b4f: Pull complete 03:55:19 1a89e8eeedd5: Pull complete 03:55:19 94645a83ff95: Pull complete 03:55:20 a4caa8a26152: Verifying Checksum 03:55:20 a4caa8a26152: Download complete 03:55:20 3f3a8bcf1eab: Verifying Checksum 03:55:20 3f3a8bcf1eab: Download complete 03:55:33 3f3a8bcf1eab: Pull complete 03:55:33 0c92f367c5e7: Pull complete 03:55:33 3096ccb668a1: Pull complete 03:55:33 e8cf19c19ddd: Pull complete 03:55:40 a4caa8a26152: Pull complete 03:55:40 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 03:55:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 03:55:40 ---> 725f1c02e7f9 03:55:40 Step 3/10 : ARG MAKE='make build' 03:55:40 ---> Running in 4b31291786fc 03:55:40 Removing intermediate container 4b31291786fc 03:55:40 ---> d037cd23fcd2 03:55:40 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:55:40 ---> Running in 484afe3a3f09 03:55:42 Removing intermediate container 484afe3a3f09 03:55:42 ---> 49240e960de4 03:55:42 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 03:55:42 ---> Running in be5c27055e78 03:55:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:55:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:55:45 (1/8) Installing openssh-keygen (8.8_p1-r1) 03:55:45 (2/8) Installing libedit (20210910.3.1-r0) 03:55:45 (3/8) Installing openssh-client-common (8.8_p1-r1) 03:55:45 (4/8) Installing openssh-client-default (8.8_p1-r1) 03:55:45 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 03:55:45 (6/8) Installing openssh-server-common (8.8_p1-r1) 03:55:45 (7/8) Installing openssh-server (8.8_p1-r1) 03:55:45 (8/8) Installing openssh (8.8_p1-r1) 03:55:45 Executing busybox-1.34.1-r3.trigger 03:55:46 OK: 226 MiB in 60 packages 03:55:47 Removing intermediate container be5c27055e78 03:55:47 ---> 6a6cceb14eb1 03:55:47 Step 6/10 : WORKDIR /device-modbus-go 03:55:47 ---> Running in e0d6b6f61f81 03:55:47 Removing intermediate container e0d6b6f61f81 03:55:47 ---> f66675ebb7b6 03:55:47 Step 7/10 : COPY go.mod vendor* ./ 03:55:48 ---> f84a09ec0537 03:55:48 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:55:48 ---> Running in 82188623043c 03:56:35 Removing intermediate container 82188623043c 03:56:35 ---> 27d42651745f 03:56:35 Step 9/10 : COPY . . 03:56:35 ---> 242bbc59c489 03:56:35 Step 10/10 : RUN ${MAKE} 03:56:35 ---> Running in e46f4881cb45 03:56:35 noop 03:56:35 Removing intermediate container e46f4881cb45 03:56:35 ---> e5455cb101be 03:56:35 Successfully built e5455cb101be 03:56:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:56:35 + docker inspect -f . ci-base-image-arm64 03:56:35 . [Pipeline] withDockerContainer 03:56:35 prd-ubuntu20.04-docker-arm64-4c-16g-39491 does not seem to be running inside a container 03:56:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/33 -v /w/workspace/device-modbus-go/33:/w/workspace/device-modbus-go/33:rw,z -v /w/workspace/device-modbus-go/33@tmp:/w/workspace/device-modbus-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:56:37 $ docker top f6878aa0bcf82729badb491f63b3785dcdc14a28c1a017b33e4b45a8f9abdbac -eo pid,comm [Pipeline] { [Pipeline] sh 03:56:37 + go version 03:56:37 go version go1.17.6 linux/arm64 [Pipeline] } 03:56:38 $ docker stop --time=1 f6878aa0bcf82729badb491f63b3785dcdc14a28c1a017b33e4b45a8f9abdbac 03:56:39 $ docker rm -f f6878aa0bcf82729badb491f63b3785dcdc14a28c1a017b33e4b45a8f9abdbac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:56:40 + docker inspect -f . ci-base-image-arm64 03:56:40 . [Pipeline] withDockerContainer 03:56:40 prd-ubuntu20.04-docker-arm64-4c-16g-39491 does not seem to be running inside a container 03:56:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/33 -v /w/workspace/device-modbus-go/33:/w/workspace/device-modbus-go/33:rw,z -v /w/workspace/device-modbus-go/33@tmp:/w/workspace/device-modbus-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:56:41 $ docker top 886733f7bb410e1489f85dea66d52afb737dc164452155b4ecba6cf56c00af40 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:56:42 + make test 03:56:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:56:44 ? github.com/edgexfoundry/device-modbus-go [no test files] 03:58:06 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 03:58:06 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.055s coverage: 46.4% of statements 03:58:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:58:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:58:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:58:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:58:28 ./bin/test-attribution-txt.sh [Pipeline] echo 03:58:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:58:30 $ docker stop --time=1 886733f7bb410e1489f85dea66d52afb737dc164452155b4ecba6cf56c00af40 03:58:32 $ docker rm -f 886733f7bb410e1489f85dea66d52afb737dc164452155b4ecba6cf56c00af40 [Pipeline] // withDockerContainer [Pipeline] sh 03:58:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:58:33 Warning: overwriting stash ‘coverage-report’ 03:58:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:58:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:58:34 + ls -al . 03:58:34 total 176 03:58:34 drwxrwxr-x 9 jenkins jenkins 4096 May 3 03:58 . 03:58:34 drwxrwxr-x 4 jenkins jenkins 4096 May 3 03:54 .. 03:58:34 -rw-rw-r-- 1 jenkins jenkins 140 May 3 03:54 .dockerignore 03:58:34 drwxrwxr-x 8 jenkins jenkins 4096 May 3 03:54 .git 03:58:34 drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:54 .github 03:58:34 -rw-rw-r-- 1 jenkins jenkins 331 May 3 03:54 .gitignore 03:58:34 -rw-rw-r-- 1 jenkins jenkins 41 May 3 03:54 .golangci.yml 03:58:34 -rw-rw-r-- 1 jenkins jenkins 9377 May 3 03:54 Attribution.txt 03:58:34 -rw-rw-r-- 1 jenkins jenkins 6038 May 3 03:54 CHANGELOG.md 03:58:34 -rw-rw-r-- 1 jenkins jenkins 1546 May 3 03:54 Dockerfile 03:58:34 -rw-rw-r-- 1 jenkins jenkins 677 May 3 03:54 GOVERNANCE.md 03:58:34 -rw-rw-r-- 1 jenkins jenkins 680 May 3 03:54 Jenkinsfile 03:58:34 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 03:54 LICENSE 03:58:34 -rw-rw-r-- 1 jenkins jenkins 1905 May 3 03:54 Makefile 03:58:34 -rw-rw-r-- 1 jenkins jenkins 622 May 3 03:54 OWNERS.md 03:58:34 -rw-rw-r-- 1 jenkins jenkins 3680 May 3 03:54 README.md 03:58:34 -rw-rw-r-- 1 jenkins jenkins 12 May 3 02:45 VERSION 03:58:34 drwxrwxr-x 2 jenkins jenkins 4096 May 3 03:54 bin 03:58:34 drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:54 cmd 03:58:34 -rw-r--r-- 1 jenkins jenkins 24065 May 3 03:57 coverage.out 03:58:34 -rw-rw-r-- 1 jenkins jenkins 3399 May 3 03:54 go.mod 03:58:34 -rw-rw-r-- 1 jenkins jenkins 35440 May 3 03:54 go.sum 03:58:34 drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:54 internal 03:58:34 drwxrwxr-x 2 jenkins jenkins 4096 May 3 03:54 simulator 03:58:34 drwxrwxr-x 4 jenkins jenkins 4096 May 3 03:54 snap 03:58:34 -rw-rw-r-- 1 jenkins jenkins 229 May 3 03:54 version.go [Pipeline] isUnix [Pipeline] sh 03:58:34 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=0336c9d051e2f73d586bb6c363b90ff6160f5d37 --label arch=arm64 --label version=2.2.0-dev.15 . 03:58:34 Sending build context to Docker daemon 3.102MB 03:58:34 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 03:58:34 Step 2/23 : FROM ${BASE} AS builder 03:58:34 ---> e5455cb101be 03:58:34 Step 3/23 : ARG MAKE='make build' 03:58:35 ---> Running in f3058a6e6db9 03:58:35 Removing intermediate container f3058a6e6db9 03:58:35 ---> ce4798eeacdd 03:58:35 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:58:35 ---> Running in 42cbc8adeb1a 03:58:37 Removing intermediate container 42cbc8adeb1a 03:58:37 ---> d1e260323c79 03:58:37 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 03:58:37 ---> Running in a52e4b38a380 03:58:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:58:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:58:40 OK: 226 MiB in 60 packages 03:58:41 Removing intermediate container a52e4b38a380 03:58:41 ---> d39e40d186dd 03:58:41 Step 6/23 : WORKDIR /device-modbus-go 03:58:41 ---> Running in 877b41d8b47a 03:58:41 Removing intermediate container 877b41d8b47a 03:58:41 ---> 01f0541f089a 03:58:41 Step 7/23 : COPY go.mod vendor* ./ 03:58:41 ---> f981d61c1714 03:58:41 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:58:41 ---> Running in daf187a91bdf 03:58:43 Removing intermediate container daf187a91bdf 03:58:43 ---> 0355692b4e7b 03:58:43 Step 9/23 : COPY . . 03:58:44 ---> cedc8878b2cb 03:58:44 Step 10/23 : RUN ${MAKE} 03:58:44 ---> Running in 6ea67c0d492c 03:58:45 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 04:00:52 Removing intermediate container 6ea67c0d492c 04:00:52 ---> 78ec9273f377 04:00:52 Step 11/23 : FROM alpine:3.14 04:00:52 3.14: Pulling from library/alpine 04:00:52 455c02918c45: Pulling fs layer 04:00:52 455c02918c45: Verifying Checksum 04:00:52 455c02918c45: Download complete 04:00:52 455c02918c45: Pull complete 04:00:52 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:00:52 Status: Downloaded newer image for alpine:3.14 04:00:52 ---> ac73e934f311 04:00:52 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 04:00:52 ---> Running in fa5a1372ee81 04:00:52 Removing intermediate container fa5a1372ee81 04:00:52 ---> 22ccb332e875 04:00:52 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:00:52 ---> Running in 864223242f06 04:00:52 Removing intermediate container 864223242f06 04:00:52 ---> 7dddf4a6200d 04:00:52 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 04:00:52 ---> Running in 6b5358e6619b 04:00:52 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:00:52 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:00:52 (1/6) Installing dumb-init (1.2.5-r1) 04:00:52 (2/6) Installing libgcc (10.3.1_git20210424-r2) 04:00:52 (3/6) Installing libsodium (1.0.18-r0) 04:00:52 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 04:00:52 (5/6) Installing libzmq (4.3.4-r0) 04:00:52 (6/6) Installing zeromq (4.3.4-r0) 04:00:52 Executing busybox-1.33.1-r7.trigger 04:00:52 OK: 8 MiB in 20 packages 04:00:52 Removing intermediate container 6b5358e6619b 04:00:52 ---> 3718f5ee2d7d 04:00:52 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 04:00:52 ---> 8c10fbc30c0c 04:00:52 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 04:00:52 ---> 4f690f342cc2 04:00:52 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 04:00:52 ---> 8c9cfae39cae 04:00:52 Step 18/23 : EXPOSE 59901 04:00:52 ---> Running in b1c37221e600 04:00:52 Removing intermediate container b1c37221e600 04:00:52 ---> 34e848acd4f5 04:00:52 Step 19/23 : ENTRYPOINT ["/device-modbus"] 04:00:52 ---> Running in 996b0b795712 04:00:52 Removing intermediate container 996b0b795712 04:00:52 ---> ab95bc5c32fc 04:00:52 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:00:52 ---> Running in ff4b58349934 04:00:52 Removing intermediate container ff4b58349934 04:00:52 ---> 00ab52fb77c1 04:00:52 Step 21/23 : LABEL arch=arm64 04:00:52 ---> Running in b9003c4ddf1b 04:00:52 Removing intermediate container b9003c4ddf1b 04:00:52 ---> 034e25b9a108 04:00:52 Step 22/23 : LABEL git_sha=0336c9d051e2f73d586bb6c363b90ff6160f5d37 04:00:52 ---> Running in a914bb6e9d32 04:00:52 Removing intermediate container a914bb6e9d32 04:00:52 ---> 2f83706a5c6f 04:00:52 Step 23/23 : LABEL version=2.2.0-dev.15 04:00:52 ---> Running in fb3c4a1d227e 04:00:52 Removing intermediate container fb3c4a1d227e 04:00:52 ---> f2343a7db020 04:00:52 [Warning] One or more build-args [ARCH] were not consumed 04:00:52 Successfully built f2343a7db020 04:00:52 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 04:00:52 provisioning config files... 04:00:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/33@tmp/config2662994974184682734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:00:53 ---> docker-login.sh 04:00:53 nexus3.edgexfoundry.org:10001 04:00:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:53 Configure a credential helper to remove this warning. See 04:00:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:53 04:00:53 Login Succeeded 04:00:53 nexus3.edgexfoundry.org:10002 04:00:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:54 Configure a credential helper to remove this warning. See 04:00:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:54 04:00:54 Login Succeeded 04:00:54 nexus3.edgexfoundry.org:10003 04:00:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:54 Configure a credential helper to remove this warning. See 04:00:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:54 04:00:54 Login Succeeded 04:00:54 nexus3.edgexfoundry.org:10004 04:00:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:54 Configure a credential helper to remove this warning. See 04:00:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:54 04:00:54 Login Succeeded 04:00:54 docker.io 04:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:55 Configure a credential helper to remove this warning. See 04:00:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:55 04:00:55 Login Succeeded 04:00:55 ---> docker-login.sh ends [Pipeline] } 04:00:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:00:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:00:55 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 04:00:55 0336c9d051e2f73d586bb6c363b90ff6160f5d37 04:00:55 latest 04:00:55 2.2.0-dev.15 04:00:55 0336c9d051e2f73d586bb6c363b90ff6160f5d37-2.2.0-dev.15 04:00:55 main 04:00:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:00:56 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0336c9d051e2f73d586bb6c363b90ff6160f5d37 [Pipeline] isUnix [Pipeline] sh 04:00:56 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0336c9d051e2f73d586bb6c363b90ff6160f5d37 04:00:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 04:00:56 a6a23c829760: Preparing 04:00:56 20b1ca70c324: Preparing 04:00:56 970c9435e30f: Preparing 04:00:56 97a801d52311: Preparing 04:00:56 647916973733: Preparing 04:00:56 f73e7dbfee58: Preparing 04:00:56 f73e7dbfee58: Waiting 04:00:56 20b1ca70c324: Pushed 04:00:56 647916973733: Pushed 04:00:56 a6a23c829760: Pushed 04:00:56 f73e7dbfee58: Layer already exists 04:00:57 97a801d52311: Pushed 04:01:02 970c9435e30f: Pushed 04:01:02 0336c9d051e2f73d586bb6c363b90ff6160f5d37: digest: sha256:5ff2d3d9e0eea6cdba04c0eae89b20d4e1d7a940ba877f984b5cc97c237d44ea size: 1573 [Pipeline] isUnix [Pipeline] sh 04:01:03 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:01:03 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 04:01:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 04:01:03 a6a23c829760: Preparing 04:01:03 20b1ca70c324: Preparing 04:01:03 970c9435e30f: Preparing 04:01:03 97a801d52311: Preparing 04:01:03 647916973733: Preparing 04:01:03 f73e7dbfee58: Preparing 04:01:03 f73e7dbfee58: Waiting 04:01:03 20b1ca70c324: Layer already exists 04:01:03 647916973733: Layer already exists 04:01:03 97a801d52311: Layer already exists 04:01:03 a6a23c829760: Layer already exists 04:01:03 970c9435e30f: Layer already exists 04:01:03 f73e7dbfee58: Layer already exists 04:01:03 latest: digest: sha256:5ff2d3d9e0eea6cdba04c0eae89b20d4e1d7a940ba877f984b5cc97c237d44ea size: 1573 [Pipeline] isUnix [Pipeline] sh 04:01:04 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh 04:01:04 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.15 04:01:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 04:01:04 a6a23c829760: Preparing 04:01:04 20b1ca70c324: Preparing 04:01:04 970c9435e30f: Preparing 04:01:04 97a801d52311: Preparing 04:01:04 647916973733: Preparing 04:01:04 f73e7dbfee58: Preparing 04:01:04 f73e7dbfee58: Waiting 04:01:04 20b1ca70c324: Layer already exists 04:01:04 647916973733: Layer already exists 04:01:04 97a801d52311: Layer already exists 04:01:04 970c9435e30f: Layer already exists 04:01:04 a6a23c829760: Layer already exists 04:01:04 f73e7dbfee58: Layer already exists 04:01:04 2.2.0-dev.15: digest: sha256:5ff2d3d9e0eea6cdba04c0eae89b20d4e1d7a940ba877f984b5cc97c237d44ea size: 1573 [Pipeline] isUnix [Pipeline] sh 04:01:05 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0336c9d051e2f73d586bb6c363b90ff6160f5d37-2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh 04:01:05 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0336c9d051e2f73d586bb6c363b90ff6160f5d37-2.2.0-dev.15 04:01:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 04:01:05 a6a23c829760: Preparing 04:01:05 20b1ca70c324: Preparing 04:01:05 970c9435e30f: Preparing 04:01:05 97a801d52311: Preparing 04:01:05 647916973733: Preparing 04:01:05 f73e7dbfee58: Preparing 04:01:05 f73e7dbfee58: Waiting 04:01:05 20b1ca70c324: Layer already exists 04:01:05 97a801d52311: Layer already exists 04:01:05 970c9435e30f: Layer already exists 04:01:05 a6a23c829760: Layer already exists 04:01:05 647916973733: Layer already exists 04:01:05 f73e7dbfee58: Layer already exists 04:01:05 0336c9d051e2f73d586bb6c363b90ff6160f5d37-2.2.0-dev.15: digest: sha256:5ff2d3d9e0eea6cdba04c0eae89b20d4e1d7a940ba877f984b5cc97c237d44ea size: 1573 [Pipeline] isUnix [Pipeline] sh 04:01:06 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh 04:01:06 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 04:01:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 04:01:06 a6a23c829760: Preparing 04:01:06 20b1ca70c324: Preparing 04:01:06 970c9435e30f: Preparing 04:01:06 97a801d52311: Preparing 04:01:06 647916973733: Preparing 04:01:06 f73e7dbfee58: Preparing 04:01:06 f73e7dbfee58: Waiting 04:01:06 647916973733: Layer already exists 04:01:06 970c9435e30f: Layer already exists 04:01:06 97a801d52311: Layer already exists 04:01:06 a6a23c829760: Layer already exists 04:01:06 20b1ca70c324: Layer already exists 04:01:06 f73e7dbfee58: Layer already exists 04:01:06 main: digest: sha256:5ff2d3d9e0eea6cdba04c0eae89b20d4e1d7a940ba877f984b5cc97c237d44ea size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:01:06 ===================================================== [Pipeline] echo 04:01:06 taggedImages: 04:01:06 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0336c9d051e2f73d586bb6c363b90ff6160f5d37 04:01:06 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 04:01:06 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.15 04:01:06 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0336c9d051e2f73d586bb6c363b90ff6160f5d37-2.2.0-dev.15 04:01:06 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:01:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:01:07 04:01:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:01:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:01:07 arm64: Pulling from edgex-lftools-log-publisher 04:01:07 8998bd30e6a1: Pulling fs layer 04:01:07 04944245beec: Pulling fs layer 04:01:07 699f458cf7ca: Pulling fs layer 04:01:07 765212b225bb: Pulling fs layer 04:01:07 f23df028b6ca: Pulling fs layer 04:01:07 d65c8cfc05b1: Pulling fs layer 04:01:07 2437ff75d9bd: Pulling fs layer 04:01:07 765212b225bb: Waiting 04:01:07 f23df028b6ca: Waiting 04:01:07 d65c8cfc05b1: Waiting 04:01:07 2437ff75d9bd: Waiting 04:01:07 04944245beec: Verifying Checksum 04:01:07 04944245beec: Download complete 04:01:07 765212b225bb: Download complete 04:01:07 f23df028b6ca: Download complete 04:01:07 d65c8cfc05b1: Verifying Checksum 04:01:07 d65c8cfc05b1: Download complete 04:01:07 699f458cf7ca: Verifying Checksum 04:01:07 699f458cf7ca: Download complete 04:01:08 8998bd30e6a1: Verifying Checksum 04:01:08 8998bd30e6a1: Download complete 04:01:10 2437ff75d9bd: Verifying Checksum 04:01:10 2437ff75d9bd: Download complete 04:01:12 8998bd30e6a1: Pull complete 04:01:12 04944245beec: Pull complete 04:01:14 699f458cf7ca: Pull complete 04:01:14 765212b225bb: Pull complete 04:01:15 f23df028b6ca: Pull complete 04:01:15 d65c8cfc05b1: Pull complete 04:01:30 2437ff75d9bd: Pull complete 04:01:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:01:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:01:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:01:30 prd-ubuntu20.04-docker-arm64-4c-16g-39491 does not seem to be running inside a container 04:01:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/33 -v /w/workspace/device-modbus-go/33:/w/workspace/device-modbus-go/33:rw,z -v /w/workspace/device-modbus-go/33@tmp:/w/workspace/device-modbus-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:01:33 $ docker top 7e7d1d1dca7f38f0dbbe33ec67fa3f30489c2ed611db6ad43e3b78ec92df3649 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:34 ---> job-cost.sh 04:01:34 lf-activate-venv: SKIPPING 04:01:34 INFO: No Stack... 04:01:34 INFO: Retrieving Pricing Info for: v3-standard-4 04:01:35 INFO: Archiving Costs [Pipeline] sh 04:01:36 + cut -d, -f6 04:01:36 + cat /w/workspace/device-modbus-go/33/archives/cost.csv [Pipeline] lock 04:01:36 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-33-stack-cost] 04:01:36 Resource [jenkins-edgexfoundry-device-modbus-go-main-33-stack-cost] did not exist. Created. 04:01:36 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:01:36 /w/workspace/device-modbus-go/33@tmp/durable-1430b38e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:01:37 + echo total: 0.10999999940395355 [Pipeline] stash 04:01:37 Warning: overwriting stash ‘stack-cost’ 04:01:37 Stashed 1 file(s) [Pipeline] } 04:01:37 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-33-stack-cost] [Pipeline] // lock [Pipeline] } 04:01:37 $ docker stop --time=1 7e7d1d1dca7f38f0dbbe33ec67fa3f30489c2ed611db6ad43e3b78ec92df3649 04:01:39 $ docker rm -f 7e7d1d1dca7f38f0dbbe33ec67fa3f30489c2ed611db6ad43e3b78ec92df3649 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:01:39 provisioning config files... 04:01:39 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8967066073177870915tmp [Pipeline] { [Pipeline] sh 04:01:39 + set +x 04:01:39 + + curl -s https://codecov.io/bashbash 04:01:39 -s -- 04:01:39 04:01:39 _____ _ 04:01:39 / ____| | | 04:01:39 | | ___ __| | ___ ___ _____ __ 04:01:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:01:39 | |___| (_) | (_| | __/ (_| (_) \ V / 04:01:39 \_____\___/ \__,_|\___|\___\___/ \_/ 04:01:39 Bash-1.0.6 04:01:39 04:01:39 04:01:39 ==> git version 2.25.1 found 04:01:39 ==> 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 04:01:39 Release-Date: 2020-01-08 04:01:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:01:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:01:39 ==> Jenkins CI detected. 04:01:39 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 04:01:39 project root: . 04:01:39 --> token set from env 04:01:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:01:39 ==> Running gcov in . (disable via -X gcov) 04:01:39 ==> Python coveragepy not found 04:01:39 ==> Searching for coverage reports in: 04:01:39 + . 04:01:39 -> Found 1 reports 04:01:39 ==> Detecting git/mercurial file structure 04:01:39 ==> Reading reports 04:01:39 + ./coverage.out bytes=24065 04:01:39 ==> Appending adjustments 04:01:39 https://docs.codecov.io/docs/fixing-reports 04:01:40 + Found adjustments 04:01:40 ==> Gzipping contents 04:01:40 4.0K /tmp/codecov.L2IM7P.gz 04:01:40 ==> Uploading reports 04:01:40 url: https://codecov.io 04:01:40 query: branch=main&commit=0336c9d051e2f73d586bb6c363b90ff6160f5d37&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:01:40 -> Pinging Codecov 04:01:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=main&commit=0336c9d051e2f73d586bb6c363b90ff6160f5d37&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:01:40 -> Uploading to 04:01:40 https://storage.googleapis.com/codecov/v4/raw/2022-05-03/55DBCA73C666E3227836607328DD7E49/0336c9d051e2f73d586bb6c363b90ff6160f5d37/a7f90381-e792-4b11-82be-bf6e74df5406.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220503T040140Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=495c0fa12e3dbbb058ce624585b46cc68cfa1a8f63d8f94ea43b975a38c3541c 04:01:40 % Total % Received % Xferd Average Speed Time Time Time Current 04:01:40 Dload Upload Total Spent Left Speed 04:01:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4044 0 0 100 4044 0 16047 --:--:-- --:--:-- --:--:-- 16047 04:01:40 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/0336c9d051e2f73d586bb6c363b90ff6160f5d37 [Pipeline] } 04:01:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:01:40 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:01:40 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:01:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:01:41 04:01:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 04:01:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:01:41 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:01:41 188c0c94c7c5: Pulling fs layer 04:01:41 0ef7d3d256c8: Pulling fs layer 04:01:41 de9db76c5a1d: Pulling fs layer 04:01:41 0eba1c9be4d2: Pulling fs layer 04:01:41 0d57e429df01: Pulling fs layer 04:01:41 4e4be7b47b0d: Pulling fs layer 04:01:41 e1f770b5df2f: Pulling fs layer 04:01:41 85a0685a4137: Pulling fs layer 04:01:41 0d57e429df01: Waiting 04:01:41 4e4be7b47b0d: Waiting 04:01:41 e1f770b5df2f: Waiting 04:01:41 85a0685a4137: Waiting 04:01:41 0eba1c9be4d2: Waiting 04:01:41 de9db76c5a1d: Verifying Checksum 04:01:41 de9db76c5a1d: Download complete 04:01:41 0ef7d3d256c8: Verifying Checksum 04:01:41 0ef7d3d256c8: Download complete 04:01:41 0d57e429df01: Verifying Checksum 04:01:41 4e4be7b47b0d: Verifying Checksum 04:01:41 4e4be7b47b0d: Download complete 04:01:41 188c0c94c7c5: Verifying Checksum 04:01:41 188c0c94c7c5: Download complete 04:01:41 188c0c94c7c5: Pull complete 04:01:41 0ef7d3d256c8: Pull complete 04:01:41 e1f770b5df2f: Verifying Checksum 04:01:41 e1f770b5df2f: Download complete 04:01:41 de9db76c5a1d: Pull complete 04:01:42 0eba1c9be4d2: Verifying Checksum 04:01:42 0eba1c9be4d2: Download complete 04:01:42 85a0685a4137: Verifying Checksum 04:01:42 85a0685a4137: Download complete 04:01:45 0eba1c9be4d2: Pull complete 04:01:45 0d57e429df01: Pull complete 04:01:45 4e4be7b47b0d: Pull complete 04:01:45 e1f770b5df2f: Pull complete 04:01:49 85a0685a4137: Pull complete 04:01:49 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 04:01:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:01:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 04:01:49 prd-ubuntu20.04-docker-8c-8g-34836 does not seem to be running inside a container 04:01:49 $ 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 04:01:51 $ docker top 305cce0e5c1a95aa75d8636c28f19c9e24ab5ca6cc49d4ac942dde38411b733c -eo pid,comm [Pipeline] { [Pipeline] echo 04:01:51 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 04:01:51 + set -o pipefail 04:01:51 + snyk monitor '--org=edgex-jenkins' 04:01:56 04:01:56 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 04:01:56 04:01:56 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/97487f88-0302-43e0-88bf-c64350402d1f 04:01:56 04:01:56 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 04:01:56 04:01:56 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:01:56 04:01:56 [Pipeline] } 04:01:56 $ docker stop --time=1 305cce0e5c1a95aa75d8636c28f19c9e24ab5ca6cc49d4ac942dde38411b733c 04:01:58 $ docker rm -f 305cce0e5c1a95aa75d8636c28f19c9e24ab5ca6cc49d4ac942dde38411b733c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:01:59 + git log --format=format:%s -1 0336c9d051e2f73d586bb6c363b90ff6160f5d37 [Pipeline] sh 04:02:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:02:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:02:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:02:00 . [Pipeline] withDockerContainer 04:02:00 prd-ubuntu20.04-docker-8c-8g-34836 does not seem to be running inside a container 04:02:00 $ 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 04:02:00 $ docker top 7cce32c675d8e02c520b041fc1e0eac8942a1aba0515f6b96d8056deca8d6712 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:02:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:02:00 [ssh-agent] Looking for ssh-agent implementation... 04:02:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:02:01 $ docker exec 7cce32c675d8e02c520b041fc1e0eac8942a1aba0515f6b96d8056deca8d6712 ssh-agent 04:02:01 SSH_AUTH_SOCK=/tmp/ssh-1hQIRxcn3xGC/agent.34 04:02:01 SSH_AGENT_PID=40 04:02:01 Running ssh-add (command line suppressed) 04:02:01 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4108694063256073313.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4108694063256073313.key) 04:02:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:02:01 + git semver tag 04:02:01 2022-05-03 04:02:01,767 [run_tag] DEBUG tag force:False 04:02:01 2022-05-03 04:02:01,767 [check_head_tag] DEBUG check head tag 04:02:01 2022-05-03 04:02:01,768 [execute] INFO git cat-file --batch-check 04:02:01 2022-05-03 04:02:01,769 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 04:02:01 2022-05-03 04:02:01,772 [execute] INFO git cat-file --batch 04:02:01 2022-05-03 04:02:01,772 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 04:02:01 2022-05-03 04:02:01,785 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 04:02:01 2022-05-03 04:02:01,785 [execute] INFO git tag -a v2.2.0-dev.15 -m v2.2.0-dev.15 04:02:01 2022-05-03 04:02:01,786 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.15', '-m', 'v2.2.0-dev.15'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 04:02:01 2022-05-03 04:02:01,791 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 04:02:01 2.2.0-dev.15 [Pipeline] } 04:02:01 $ docker exec --env ******** --env ******** 7cce32c675d8e02c520b041fc1e0eac8942a1aba0515f6b96d8056deca8d6712 ssh-agent -k 04:02:01 unset SSH_AUTH_SOCK; 04:02:01 unset SSH_AGENT_PID; 04:02:01 echo Agent pid 40 killed; 04:02:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:02:02 + git semver [Pipeline] } 04:02:02 $ docker stop --time=1 7cce32c675d8e02c520b041fc1e0eac8942a1aba0515f6b96d8056deca8d6712 04:02:03 $ docker rm -f 7cce32c675d8e02c520b041fc1e0eac8942a1aba0515f6b96d8056deca8d6712 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 04:02:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:02:04 04:02:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 04:02:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:02:04 0.23.1-centos7: Pulling from edgex-lftools 04:02:04 ab5ef0e58194: Pulling fs layer 04:02:04 9712f1f96733: Pulling fs layer 04:02:04 63f879dbbcfc: Pulling fs layer 04:02:04 0d9ebad4ef96: Pulling fs layer 04:02:04 e9a5061849ea: Pulling fs layer 04:02:04 d747dcd14b5f: Pulling fs layer 04:02:04 2de7ff778b66: Pulling fs layer 04:02:04 2de7ff778b66: Waiting 04:02:04 0d9ebad4ef96: Waiting 04:02:04 d747dcd14b5f: Waiting 04:02:04 e9a5061849ea: Waiting 04:02:04 9712f1f96733: Verifying Checksum 04:02:04 9712f1f96733: Download complete 04:02:04 63f879dbbcfc: Verifying Checksum 04:02:04 63f879dbbcfc: Download complete 04:02:05 ab5ef0e58194: Verifying Checksum 04:02:05 ab5ef0e58194: Download complete 04:02:05 0d9ebad4ef96: Verifying Checksum 04:02:05 0d9ebad4ef96: Download complete 04:02:05 d747dcd14b5f: Verifying Checksum 04:02:05 d747dcd14b5f: Download complete 04:02:05 e9a5061849ea: Verifying Checksum 04:02:05 e9a5061849ea: Download complete 04:02:05 2de7ff778b66: Verifying Checksum 04:02:05 2de7ff778b66: Download complete 04:02:08 ab5ef0e58194: Pull complete 04:02:08 9712f1f96733: Pull complete 04:02:08 63f879dbbcfc: Pull complete 04:02:13 0d9ebad4ef96: Pull complete 04:02:13 e9a5061849ea: Pull complete 04:02:13 d747dcd14b5f: Pull complete 04:02:14 2de7ff778b66: Pull complete 04:02:14 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:02:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:02:14 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 04:02:14 prd-ubuntu20.04-docker-8c-8g-34836 does not seem to be running inside a container 04:02:14 $ 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 04:02:16 $ docker top c2e39df0d2fd80bdcbaf011169f7243e04f76e2775ee2b1b120f5e064473eb62 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:02:16 provisioning config files... 04:02:16 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2260164571398797434tmp 04:02:16 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1681325346310188616tmp 04:02:16 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6991487364111762334tmp [Pipeline] { [Pipeline] echo 04:02:16 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:02:17 ---> sigul-configuration.sh 04:02:17 gpg: directory `/root/.gnupg' created 04:02:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:02:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:02:17 gpg: keyring `/root/.gnupg/secring.gpg' created 04:02:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:02:17 gpg: CAST5 encrypted data 04:02:17 gpg: encrypted with 1 passphrase 04:02:17 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:02:17 + mkdir /home/jenkins 04:02:17 + mkdir /home/jenkins/sigul [Pipeline] sh 04:02:17 + 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 04:02:17 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:02:17 ---> sigul-install.sh 04:02:17 Sigul already installed; skipping installation. [Pipeline] sh 04:02:18 + git tag --list 04:02:18 0.7.1 04:02:18 v1.0.0 04:02:18 v1.1.0 04:02:18 v1.1.1 04:02:18 v1.2.2 04:02:18 v1.3.0 04:02:18 v1.3.1 04:02:18 v2.0.0 04:02:18 v2.0.1-dev.1 04:02:18 v2.0.1-dev.10 04:02:18 v2.0.1-dev.11 04:02:18 v2.0.1-dev.12 04:02:18 v2.0.1-dev.2 04:02:18 v2.0.1-dev.3 04:02:18 v2.0.1-dev.4 04:02:18 v2.0.1-dev.5 04:02:18 v2.0.1-dev.6 04:02:18 v2.0.1-dev.7 04:02:18 v2.0.1-dev.8 04:02:18 v2.0.1-dev.9 04:02:18 v2.1.0 04:02:18 v2.2.0-dev.1 04:02:18 v2.2.0-dev.10 04:02:18 v2.2.0-dev.11 04:02:18 v2.2.0-dev.12 04:02:18 v2.2.0-dev.13 04:02:18 v2.2.0-dev.14 04:02:18 v2.2.0-dev.15 04:02:18 v2.2.0-dev.2 04:02:18 v2.2.0-dev.3 04:02:18 v2.2.0-dev.4 04:02:18 v2.2.0-dev.5 04:02:18 v2.2.0-dev.6 04:02:18 v2.2.0-dev.7 04:02:18 v2.2.0-dev.8 04:02:18 v2.2.0-dev.9 [Pipeline] sh 04:02:18 + lftools sign git-tag v2.2.0-dev.15 04:02:19 Signing Git tag with Sigul... 04:02:19 Signing v2.2.0-dev.15 [Pipeline] echo 04:02:19 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:02:19 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:02:19 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:02:19 $ docker stop --time=1 c2e39df0d2fd80bdcbaf011169f7243e04f76e2775ee2b1b120f5e064473eb62 04:02:20 $ docker rm -f c2e39df0d2fd80bdcbaf011169f7243e04f76e2775ee2b1b120f5e064473eb62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:02:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:02:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:02:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:02:21 . [Pipeline] withDockerContainer 04:02:21 prd-ubuntu20.04-docker-8c-8g-34836 does not seem to be running inside a container 04:02:21 $ 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 04:02:22 $ docker top 4874b3b9d1f0cd3eb734ccf7289082e7572bc6f6e5d345113a108591923eadef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:02:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:02:22 [ssh-agent] Looking for ssh-agent implementation... 04:02:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:02:22 $ docker exec 4874b3b9d1f0cd3eb734ccf7289082e7572bc6f6e5d345113a108591923eadef ssh-agent 04:02:22 SSH_AUTH_SOCK=/tmp/ssh-xBL3VQaIlgmv/agent.32 04:02:22 SSH_AGENT_PID=38 04:02:22 Running ssh-add (command line suppressed) 04:02:22 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4027580588850413602.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4027580588850413602.key) 04:02:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:02:23 + git semver bump pre 04:02:23 2022-05-03 04:02:23,331 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 04:02:23 2022-05-03 04:02:23,331 [bump_version] DEBUG bumping version:2.2.0-dev.15 on axis:pre with prefix:dev 04:02:23 2022-05-03 04:02:23,332 [bump_version] DEBUG bumped version:2.2.0-dev.16 04:02:23 2022-05-03 04:02:23,332 [write_version] DEBUG write version:2.2.0-dev.16 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 04:02:23 2022-05-03 04:02:23,332 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 04:02:23 2022-05-03 04:02:23,332 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 04:02:23 2022-05-03 04:02:23,334 [execute] INFO git cat-file --batch-check 04:02:23 2022-05-03 04:02:23,334 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:02:23 2022-05-03 04:02:23,339 [execute] INFO git cat-file --batch 04:02:23 2022-05-03 04:02:23,339 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:02:23 2022-05-03 04:02:23,345 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 04:02:23 2.2.0-dev.16 [Pipeline] } 04:02:23 $ docker exec --env ******** --env ******** 4874b3b9d1f0cd3eb734ccf7289082e7572bc6f6e5d345113a108591923eadef ssh-agent -k 04:02:23 unset SSH_AUTH_SOCK; 04:02:23 unset SSH_AGENT_PID; 04:02:23 echo Agent pid 38 killed; 04:02:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:02:23 + git semver [Pipeline] } 04:02:24 $ docker stop --time=1 4874b3b9d1f0cd3eb734ccf7289082e7572bc6f6e5d345113a108591923eadef 04:02:25 $ docker rm -f 4874b3b9d1f0cd3eb734ccf7289082e7572bc6f6e5d345113a108591923eadef [Pipeline] // withDockerContainer [Pipeline] sh 04:02:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:02:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:02:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:02:26 . [Pipeline] withDockerContainer 04:02:26 prd-ubuntu20.04-docker-8c-8g-34836 does not seem to be running inside a container 04:02:26 $ 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 04:02:26 $ docker top 208482a5818ed343681aaedf215533396f28e080cdbb71e7bad625afb633d07a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:02:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:02:26 [ssh-agent] Looking for ssh-agent implementation... 04:02:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:02:26 $ docker exec 208482a5818ed343681aaedf215533396f28e080cdbb71e7bad625afb633d07a ssh-agent 04:02:26 SSH_AUTH_SOCK=/tmp/ssh-Y0J3ByJcEiSY/agent.32 04:02:26 SSH_AGENT_PID=38 04:02:26 Running ssh-add (command line suppressed) 04:02:27 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4125265346023505048.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4125265346023505048.key) 04:02:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:02:27 + git semver push 04:02:27 2022-05-03 04:02:27,530 [run_push] DEBUG push 04:02:27 2022-05-03 04:02:27,530 [execute] INFO git push origin semver 04:02:27 2022-05-03 04:02:27,530 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:02:28 2022-05-03 04:02:28,270 [run_push] DEBUG push all version tags 04:02:28 2022-05-03 04:02:28,270 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:02:28 2022-05-03 04:02:28,271 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 04:02:29 2022-05-03 04:02:28,997 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 04:02:29 2.2.0-dev.16 [Pipeline] } 04:02:29 $ docker exec --env ******** --env ******** 208482a5818ed343681aaedf215533396f28e080cdbb71e7bad625afb633d07a ssh-agent -k 04:02:29 unset SSH_AUTH_SOCK; 04:02:29 unset SSH_AGENT_PID; 04:02:29 echo Agent pid 38 killed; 04:02:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:02:29 + git semver [Pipeline] } 04:02:29 $ docker stop --time=1 208482a5818ed343681aaedf215533396f28e080cdbb71e7bad625afb633d07a 04:02:31 $ docker rm -f 208482a5818ed343681aaedf215533396f28e080cdbb71e7bad625afb633d07a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:02:31 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 04:02:31 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 04:02:31 total 16 04:02:31 drwxr-xr-x 3 root root 4096 May 3 02:47 . 04:02:31 drwxrwxr-x 11 jenkins jenkins 4096 May 3 04:02 .. 04:02:31 drwxr-xr-x 2 root root 4096 May 3 02:47 cost 04:02:31 -rw-r--r-- 1 root root 86 May 3 02:47 cost.csv 04:02:31 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 04:02:31 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 04:02:31 total 16 04:02:31 drwxr-xr-x 3 jenkins jenkins 4096 May 3 02:47 . 04:02:31 drwxrwxr-x 11 jenkins jenkins 4096 May 3 04:02 .. 04:02:31 drwxr-xr-x 2 jenkins jenkins 4096 May 3 02:47 cost 04:02:31 -rw-r--r-- 1 jenkins jenkins 86 May 3 02:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:02:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:02:32 ---> package-listing.sh 04:02:32 ++ facter osfamily 04:02:32 ++ tr '[:upper:]' '[:lower:]' 04:02:33 + OS_FAMILY=debian 04:02:33 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 04:02:33 + START_PACKAGES=/tmp/packages_start.txt 04:02:33 + END_PACKAGES=/tmp/packages_end.txt 04:02:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:02:33 + PACKAGES=/tmp/packages_start.txt 04:02:33 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 04:02:33 + PACKAGES=/tmp/packages_end.txt 04:02:33 + case "${OS_FAMILY}" in 04:02:33 + dpkg -l 04:02:33 + grep '^ii' 04:02:33 + '[' -f /tmp/packages_start.txt ']' 04:02:33 + '[' -f /tmp/packages_end.txt ']' 04:02:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:02:33 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 04:02:33 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 04:02:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 04:02:33 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 04:02:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:02:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:02:34 . [Pipeline] withDockerContainer 04:02:34 prd-ubuntu20.04-docker-8c-8g-34836 does not seem to be running inside a container 04:02:34 $ 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 04:02:34 $ docker top dc69eabb5c891687c785c53ed6e06eea28a05475433bc2dd52285beeaa4a0759 -eo pid,comm [Pipeline] { [Pipeline] sh 04:02:34 + touch /tmp/pre-build-complete [Pipeline] sh 04:02:35 + mkdir -p /var/log/sysstat [Pipeline] sh 04:02:35 + ls /var/log/sa-host 04:02:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:02:35 provisioning config files... 04:02:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6841495877448139769tmp [Pipeline] { [Pipeline] echo 04:02:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:02:35 ---> create-netrc.sh [Pipeline] } 04:02:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:02:36 ---> python-tools-install.sh [Pipeline] echo 04:02:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:02:36 ---> sudo-logs.sh 04:02:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:02:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:02:36 ---> job-cost.sh 04:02:36 lf-activate-venv: SKIPPING 04:02:36 DEBUG: total: 0.2199999988079071 04:02:36 INFO: Retrieving Stack Cost... 04:02:36 INFO: Retrieving Pricing Info for: v3-standard-8 04:02:37 INFO: Archiving Costs [Pipeline] echo 04:02:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:02:37 ---> logs-deploy.sh 04:02:37 lf-activate-venv: SKIPPING 04:02:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/33 04:02:37 INFO: archiving workspace using pattern(s): 04:02:38 Archives upload complete. 04:02:38 INFO: archiving logs to Nexus