Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0da803b9e852e60e6d0c38932136853af8aaf1e9 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-ssh9954223278100878820.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh7594355955958963576.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh12354204203097669750.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh4378749577680570546.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-ssh12040082891108176274.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-63056 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 0da803b9e852e60e6d0c38932136853af8aaf1e9 (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 0da803b9e852e60e6d0c38932136853af8aaf1e9 # timeout=10 Commit message: "Merge pull request #346 from jinlinGuan/released-go-mods" > git rev-list --no-walk 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:50:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:50:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:50:00 ========================================================= 05:50:00 EdgeX Global Pipelines Version Info 05:50:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:50:00 ------------------- 05:50:00 stable info: 05:50:00 ------------------- 05:50:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:50:00 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 05:50:00 Message: update stable to v1.0.230 05:50:01 ------------------- 05:50:01 experimental info: 05:50:01 ------------------- 05:50:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:50:01 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 05:50:01 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0da803b [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:50:02 provisioning config files... 05:50:02 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6821835282197915398tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:50:02 ---> docker-login.sh 05:50:02 nexus3.edgexfoundry.org:10001 05:50:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:02 Configure a credential helper to remove this warning. See 05:50:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:02 05:50:02 Login Succeeded 05:50:02 nexus3.edgexfoundry.org:10002 05:50:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:02 Configure a credential helper to remove this warning. See 05:50:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:02 05:50:02 Login Succeeded 05:50:02 nexus3.edgexfoundry.org:10003 05:50:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:02 Configure a credential helper to remove this warning. See 05:50:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:02 05:50:02 Login Succeeded 05:50:02 nexus3.edgexfoundry.org:10004 05:50:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:03 Configure a credential helper to remove this warning. See 05:50:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:03 05:50:03 Login Succeeded 05:50:03 docker.io 05:50:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:03 Configure a credential helper to remove this warning. See 05:50:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:03 05:50:03 Login Succeeded 05:50:03 ---> docker-login.sh ends [Pipeline] } 05:50:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:50:04 + git rev-list -1 --merges 0da803b9e852e60e6d0c38932136853af8aaf1e9~1..0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] echo 05:50:04 -----------> git rev-list -1 --merges 0da803b9e852e60e6d0c38932136853af8aaf1e9~1..0da803b9e852e60e6d0c38932136853af8aaf1e9 0da803b9e852e60e6d0c38932136853af8aaf1e9 05:50:04 0da803b9e852e60e6d0c38932136853af8aaf1e9 [false] [Pipeline] sh 05:50:04 + git log --format=format:%s -1 0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] echo 05:50:04 ========================================================= 05:50:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:50:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:50:04 + git log --format=format:%s -1 0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] echo 05:50:04 [semverPrep] GIT_COMMIT: 0da803b9e852e60e6d0c38932136853af8aaf1e9, Commit Message: Merge pull request #346 from jinlinGuan/released-go-mods [Pipeline] echo 05:50:04 [semverPrep] This is not a build commit. [Pipeline] sh 05:50:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:50:05 + grep -v github /etc/ssh/ssh_known_hosts 05:50:05 + [ -e /tmp/ssh_known_hosts ] 05:50:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:50:05 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:50:05 sudo tee -a /etc/ssh/ssh_known_hosts 05:50:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:50:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:50:05 05:50:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:50:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:50:05 latest: Pulling from edgex-devops/py-git-semver 05:50:05 1fe172e4850f: Pulling fs layer 05:50:05 caf521ccaac6: Pulling fs layer 05:50:05 3ead6fa29328: Pulling fs layer 05:50:05 5c2a1cbceb83: Pulling fs layer 05:50:05 a8d5f1318db7: Pulling fs layer 05:50:05 c427282e49a2: Pulling fs layer 05:50:05 1827001aaf11: Pulling fs layer 05:50:05 0714d37db230: Pulling fs layer 05:50:05 ac28cf19c067: Pulling fs layer 05:50:05 ca983d60f3e2: Pulling fs layer 05:50:05 9f894cec8388: Pulling fs layer 05:50:05 a8d5f1318db7: Waiting 05:50:05 c427282e49a2: Waiting 05:50:05 1827001aaf11: Waiting 05:50:05 0714d37db230: Waiting 05:50:05 ac28cf19c067: Waiting 05:50:05 ca983d60f3e2: Waiting 05:50:05 9f894cec8388: Waiting 05:50:05 5c2a1cbceb83: Waiting 05:50:06 caf521ccaac6: Verifying Checksum 05:50:06 caf521ccaac6: Download complete 05:50:06 5c2a1cbceb83: Verifying Checksum 05:50:06 5c2a1cbceb83: Download complete 05:50:06 a8d5f1318db7: Verifying Checksum 05:50:06 a8d5f1318db7: Download complete 05:50:06 c427282e49a2: Verifying Checksum 05:50:06 c427282e49a2: Download complete 05:50:06 3ead6fa29328: Verifying Checksum 05:50:06 3ead6fa29328: Download complete 05:50:06 0714d37db230: Download complete 05:50:06 ac28cf19c067: Verifying Checksum 05:50:06 ac28cf19c067: Download complete 05:50:06 ca983d60f3e2: Download complete 05:50:06 9f894cec8388: Verifying Checksum 05:50:06 9f894cec8388: Download complete 05:50:06 1fe172e4850f: Verifying Checksum 05:50:06 1fe172e4850f: Download complete 05:50:06 1827001aaf11: Verifying Checksum 05:50:06 1827001aaf11: Download complete 05:50:07 1fe172e4850f: Pull complete 05:50:07 caf521ccaac6: Pull complete 05:50:08 3ead6fa29328: Pull complete 05:50:08 5c2a1cbceb83: Pull complete 05:50:08 a8d5f1318db7: Pull complete 05:50:09 c427282e49a2: Pull complete 05:50:10 1827001aaf11: Pull complete 05:50:10 0714d37db230: Pull complete 05:50:11 ac28cf19c067: Pull complete 05:50:11 ca983d60f3e2: Pull complete 05:50:11 9f894cec8388: Pull complete 05:50:11 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 05:50:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:50:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 05:50:11 prd-ubuntu20.04-docker-8c-8g-63056 does not seem to be running inside a container 05:50:11 $ 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 05:50:13 $ docker top 7e437321df06507c2dc484d93ce9a5f23b1f79393de74b0199c2289489b351e4 -eo pid,comm 05:50:14 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). 05:50:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:50:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:50:14 [ssh-agent] Looking for ssh-agent implementation... 05:50:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:50:14 $ docker exec 7e437321df06507c2dc484d93ce9a5f23b1f79393de74b0199c2289489b351e4 ssh-agent 05:50:14 SSH_AUTH_SOCK=/tmp/ssh-0IRBCEr7dl1S/agent.33 05:50:14 SSH_AGENT_PID=39 05:50:14 Running ssh-add (command line suppressed) 05:50:14 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_687713239100764626.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_687713239100764626.key) 05:50:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:50:14 + git tag --points-at HEAD [Pipeline] } 05:50:14 $ docker exec --env ******** --env ******** 7e437321df06507c2dc484d93ce9a5f23b1f79393de74b0199c2289489b351e4 ssh-agent -k 05:50:14 unset SSH_AUTH_SOCK; 05:50:14 unset SSH_AGENT_PID; 05:50:14 echo Agent pid 39 killed; 05:50:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:50:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:50:15 [ssh-agent] Looking for ssh-agent implementation... 05:50:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:50:15 $ docker exec 7e437321df06507c2dc484d93ce9a5f23b1f79393de74b0199c2289489b351e4 ssh-agent 05:50:15 SSH_AUTH_SOCK=/tmp/ssh-y6DWjrKtYDS7/agent.72 05:50:15 SSH_AGENT_PID=78 05:50:15 Running ssh-add (command line suppressed) 05:50:15 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5571812266787655517.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5571812266787655517.key) 05:50:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:50:15 + git semver init 05:50:15 2022-05-11 05:50:15,939 [run_init] DEBUG init version:0.0.0 force:False 05:50:15 2022-05-11 05:50:15,939 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 05:50:15 2022-05-11 05:50:15,940 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 05:50:15 2022-05-11 05:50:15,940 [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) 05:50:16 2022-05-11 05:50:16,912 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 05:50:16 2022-05-11 05:50:16,913 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 05:50:16 2022-05-11 05:50:16,913 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:50:16 2022-05-11 05:50:16,913 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:50:16 2.2.0-dev.20 [Pipeline] } 05:50:16 $ docker exec --env ******** --env ******** 7e437321df06507c2dc484d93ce9a5f23b1f79393de74b0199c2289489b351e4 ssh-agent -k 05:50:17 unset SSH_AUTH_SOCK; 05:50:17 unset SSH_AGENT_PID; 05:50:17 echo Agent pid 78 killed; 05:50:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:50:17 + git semver [Pipeline] } 05:50:17 $ docker stop --time=1 7e437321df06507c2dc484d93ce9a5f23b1f79393de74b0199c2289489b351e4 05:50:19 $ docker rm -f 7e437321df06507c2dc484d93ce9a5f23b1f79393de74b0199c2289489b351e4 [Pipeline] // withDockerContainer [Pipeline] sh 05:50:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:50:19 Stashed 1 file(s) [Pipeline] echo 05:50:19 [edgeXSemver]: initialized semver on version 2.2.0-dev.20 [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 05:50:19 provisioning config files... 05:50:19 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3597512597138551903tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:50:20 ---> docker-login.sh 05:50:20 nexus3.edgexfoundry.org:10001 05:50:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:20 Configure a credential helper to remove this warning. See 05:50:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:20 05:50:20 Login Succeeded 05:50:20 nexus3.edgexfoundry.org:10002 05:50:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:20 Configure a credential helper to remove this warning. See 05:50:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:20 05:50:20 Login Succeeded 05:50:20 nexus3.edgexfoundry.org:10003 05:50:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:20 Configure a credential helper to remove this warning. See 05:50:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:20 05:50:20 Login Succeeded 05:50:20 nexus3.edgexfoundry.org:10004 05:50:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:20 Configure a credential helper to remove this warning. See 05:50:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:20 05:50:20 Login Succeeded 05:50:20 docker.io 05:50:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:20 Configure a credential helper to remove this warning. See 05:50:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:20 05:50:20 Login Succeeded 05:50:20 ---> docker-login.sh ends [Pipeline] } 05:50:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:50:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:50:21 ========================================================= 05:50:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:50:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:50:21 + 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 . 05:50:21 Sending build context to Docker daemon 5.891MB 05:50:21 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 05:50:21 Step 2/10 : FROM ${BASE} AS builder 05:50:21 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:50:21 59bf1c3509f3: Pulling fs layer 05:50:21 666ba61612fd: Pulling fs layer 05:50:21 8ed8ca486205: Pulling fs layer 05:50:21 4fe6c5a15a65: Pulling fs layer 05:50:21 22a0e8bec74d: Pulling fs layer 05:50:21 ca2b28591e48: Pulling fs layer 05:50:21 a51346096db8: Pulling fs layer 05:50:21 daebc70d1ce1: Pulling fs layer 05:50:21 0e18a0eac166: Pulling fs layer 05:50:21 daebc70d1ce1: Waiting 05:50:21 0e18a0eac166: Waiting 05:50:21 4fe6c5a15a65: Waiting 05:50:21 ca2b28591e48: Waiting 05:50:21 a51346096db8: Waiting 05:50:21 22a0e8bec74d: Waiting 05:50:21 8ed8ca486205: Download complete 05:50:21 666ba61612fd: Verifying Checksum 05:50:21 666ba61612fd: Download complete 05:50:21 22a0e8bec74d: Download complete 05:50:21 ca2b28591e48: Verifying Checksum 05:50:21 ca2b28591e48: Download complete 05:50:21 59bf1c3509f3: Verifying Checksum 05:50:21 a51346096db8: Verifying Checksum 05:50:21 a51346096db8: Download complete 05:50:21 daebc70d1ce1: Verifying Checksum 05:50:21 daebc70d1ce1: Download complete 05:50:21 59bf1c3509f3: Pull complete 05:50:21 666ba61612fd: Pull complete 05:50:21 8ed8ca486205: Pull complete 05:50:22 0e18a0eac166: Verifying Checksum 05:50:22 0e18a0eac166: Download complete 05:50:22 4fe6c5a15a65: Download complete 05:50:26 4fe6c5a15a65: Pull complete 05:50:26 22a0e8bec74d: Pull complete 05:50:26 ca2b28591e48: Pull complete 05:50:26 a51346096db8: Pull complete 05:50:26 daebc70d1ce1: Pull complete 05:50:28 0e18a0eac166: Pull complete 05:50:28 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 05:50:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:50:28 ---> f018257e8ee9 05:50:28 Step 3/10 : ARG MAKE='make build' 05:50:30 ---> Running in dca978996221 05:50:30 Removing intermediate container dca978996221 05:50:30 ---> 22f80a20520c 05:50:30 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:50:30 ---> Running in b9a8e0665791 05:50:30 Removing intermediate container b9a8e0665791 05:50:30 ---> ea01e75117a0 05:50:30 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:50:31 ---> Running in a91649136017 05:50:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:50:31 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:50:32 (1/8) Installing openssh-keygen (8.8_p1-r1) 05:50:32 (2/8) Installing libedit (20210910.3.1-r0) 05:50:32 (3/8) Installing openssh-client-common (8.8_p1-r1) 05:50:32 (4/8) Installing openssh-client-default (8.8_p1-r1) 05:50:32 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 05:50:32 (6/8) Installing openssh-server-common (8.8_p1-r1) 05:50:32 (7/8) Installing openssh-server (8.8_p1-r1) 05:50:32 (8/8) Installing openssh (8.8_p1-r1) 05:50:32 Executing busybox-1.34.1-r3.trigger 05:50:32 OK: 226 MiB in 60 packages 05:50:33 Removing intermediate container a91649136017 05:50:33 ---> 6813030cb0e0 05:50:33 Step 6/10 : WORKDIR /device-modbus-go 05:50:34 ---> Running in 8d286a7d9e9d 05:50:34 Removing intermediate container 8d286a7d9e9d 05:50:34 ---> 7abd5e102cd4 05:50:34 Step 7/10 : COPY go.mod vendor* ./ 05:50:34 Still waiting to schedule task 05:50:34 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 05:50:34 ---> 120dcb6d0234 05:50:34 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:50:35 ---> Running in c0dda25e7a51 05:50:50 Removing intermediate container c0dda25e7a51 05:50:50 ---> 963816a181fa 05:50:50 Step 9/10 : COPY . . 05:50:50 ---> 9158de1d9c39 05:50:50 Step 10/10 : RUN ${MAKE} 05:50:50 ---> Running in 31c1a2e36283 05:50:50 noop 05:50:50 Removing intermediate container 31c1a2e36283 05:50:50 ---> 6723b3ac491a 05:50:50 Successfully built 6723b3ac491a 05:50:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:50:50 + docker inspect -f . ci-base-image-x86_64 05:50:50 . [Pipeline] withDockerContainer 05:50:50 prd-ubuntu20.04-docker-8c-8g-63056 does not seem to be running inside a container 05:50:50 $ 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 05:50:50 $ docker top c50a0a948a1d5f667d12beee99766e9837c68dd8e36392b1b1c1f844e3b700c7 -eo pid,comm [Pipeline] { [Pipeline] sh 05:50:51 + go version 05:50:51 go version go1.17.6 linux/amd64 [Pipeline] } 05:50:51 $ docker stop --time=1 c50a0a948a1d5f667d12beee99766e9837c68dd8e36392b1b1c1f844e3b700c7 05:50:52 $ docker rm -f c50a0a948a1d5f667d12beee99766e9837c68dd8e36392b1b1c1f844e3b700c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:50:53 + docker inspect -f . ci-base-image-x86_64 05:50:53 . [Pipeline] withDockerContainer 05:50:53 prd-ubuntu20.04-docker-8c-8g-63056 does not seem to be running inside a container 05:50:53 $ 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 05:50:53 $ docker top 82afd281433c77883015d24e1345850d118b245474e5d9399df3a0c59203b145 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:50:53 + make test 05:50:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:50:54 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:51:04 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:51:04 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 46.4% of statements 05:51:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:51:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:51:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:51:13 ./bin/test-attribution-txt.sh [Pipeline] echo 05:51:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:51:13 $ docker stop --time=1 82afd281433c77883015d24e1345850d118b245474e5d9399df3a0c59203b145 05:51:15 $ docker rm -f 82afd281433c77883015d24e1345850d118b245474e5d9399df3a0c59203b145 [Pipeline] // withDockerContainer [Pipeline] sh 05:51:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:51:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:51:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:51:16 + ls -al . 05:51:16 total 184 05:51:16 drwxrwxr-x 10 jenkins jenkins 4096 May 11 05:51 . 05:51:16 drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:49 .. 05:51:16 -rw-rw-r-- 1 jenkins jenkins 140 May 11 05:49 .dockerignore 05:51:16 drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:50 .git 05:51:16 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:49 .github 05:51:16 -rw-rw-r-- 1 jenkins jenkins 331 May 11 05:49 .gitignore 05:51:16 -rw-rw-r-- 1 jenkins jenkins 41 May 11 05:49 .golangci.yml 05:51:16 drwxr-xr-x 3 jenkins jenkins 4096 May 11 05:50 .semver 05:51:16 -rw-rw-r-- 1 jenkins jenkins 9377 May 11 05:49 Attribution.txt 05:51:16 -rw-rw-r-- 1 jenkins jenkins 10001 May 11 05:49 CHANGELOG.md 05:51:16 -rw-rw-r-- 1 jenkins jenkins 1546 May 11 05:49 Dockerfile 05:51:16 -rw-rw-r-- 1 jenkins jenkins 677 May 11 05:49 GOVERNANCE.md 05:51:16 -rw-rw-r-- 1 jenkins jenkins 680 May 11 05:49 Jenkinsfile 05:51:16 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 05:49 LICENSE 05:51:16 -rw-rw-r-- 1 jenkins jenkins 1905 May 11 05:49 Makefile 05:51:16 -rw-rw-r-- 1 jenkins jenkins 622 May 11 05:49 OWNERS.md 05:51:16 -rw-rw-r-- 1 jenkins jenkins 3397 May 11 05:49 README.md 05:51:16 -rw-rw-r-- 1 jenkins jenkins 12 May 11 05:50 VERSION 05:51:16 drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:49 bin 05:51:16 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:49 cmd 05:51:16 -rw-r--r-- 1 jenkins jenkins 24065 May 11 05:51 coverage.out 05:51:16 -rw-rw-r-- 1 jenkins jenkins 3353 May 11 05:49 go.mod 05:51:16 -rw-rw-r-- 1 jenkins jenkins 34983 May 11 05:49 go.sum 05:51:16 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:49 internal 05:51:16 drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:49 simulator 05:51:16 drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:49 snap 05:51:16 -rw-rw-r-- 1 jenkins jenkins 229 May 11 05:49 version.go [Pipeline] isUnix [Pipeline] sh 05:51:17 + 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=0da803b9e852e60e6d0c38932136853af8aaf1e9 --label arch=amd64 --label version=2.2.0-dev.20 . 05:51:17 Sending build context to Docker daemon 5.916MB 05:51:17 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 05:51:17 Step 2/23 : FROM ${BASE} AS builder 05:51:17 ---> 6723b3ac491a 05:51:17 Step 3/23 : ARG MAKE='make build' 05:51:17 ---> Running in e874554f3966 05:51:17 Removing intermediate container e874554f3966 05:51:17 ---> 322e97a17cdc 05:51:17 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:51:17 ---> Running in 3dc4f4f42b7c 05:51:17 Removing intermediate container 3dc4f4f42b7c 05:51:17 ---> 5a847ce10b0b 05:51:17 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:51:17 ---> Running in 5d4213958d79 05:51:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:51:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:51:19 OK: 226 MiB in 60 packages 05:51:19 Removing intermediate container 5d4213958d79 05:51:19 ---> 8ca467d27d2f 05:51:19 Step 6/23 : WORKDIR /device-modbus-go 05:51:19 ---> Running in 8c0fa8cb4ced 05:51:19 Removing intermediate container 8c0fa8cb4ced 05:51:19 ---> 2702e321f0c7 05:51:19 Step 7/23 : COPY go.mod vendor* ./ 05:51:20 ---> 1a00e3858fb1 05:51:20 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:51:20 ---> Running in 4926a0bde898 05:51:20 Removing intermediate container 4926a0bde898 05:51:20 ---> e2b643943d29 05:51:20 Step 9/23 : COPY . . 05:51:21 ---> dc8d0c7b788c 05:51:21 Step 10/23 : RUN ${MAKE} 05:51:21 ---> Running in ff4067d9fea7 05:51:21 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.20" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:51:43 Removing intermediate container ff4067d9fea7 05:51:43 ---> 2e4c583192a5 05:51:43 Step 11/23 : FROM alpine:3.14 05:51:43 3.14: Pulling from library/alpine 05:51:43 8663204ce13b: Pulling fs layer 05:51:43 8663204ce13b: Verifying Checksum 05:51:43 8663204ce13b: Download complete 05:51:43 8663204ce13b: Pull complete 05:51:43 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:51:43 Status: Downloaded newer image for alpine:3.14 05:51:43 ---> e04c818066af 05:51:43 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:51:43 ---> Running in b5cc5c8a548b 05:51:43 Removing intermediate container b5cc5c8a548b 05:51:43 ---> c43fb5a44ea9 05:51:43 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:51:43 ---> Running in f08509b96495 05:51:43 Removing intermediate container f08509b96495 05:51:43 ---> 08a4745651b4 05:51:43 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 05:51:43 ---> Running in 0652b8f63bb9 05:51:43 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:51:43 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:51:44 (1/6) Installing dumb-init (1.2.5-r1) 05:51:44 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:51:44 (3/6) Installing libsodium (1.0.18-r0) 05:51:44 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:51:44 (5/6) Installing libzmq (4.3.4-r0) 05:51:44 (6/6) Installing zeromq (4.3.4-r0) 05:51:44 Executing busybox-1.33.1-r7.trigger 05:51:44 OK: 8 MiB in 20 packages 05:51:45 Removing intermediate container 0652b8f63bb9 05:51:45 ---> af4d69339445 05:51:45 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:51:45 ---> 9f57b9aaa0ce 05:51:45 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:51:45 ---> 82d9d3b4443c 05:51:45 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:51:45 ---> 24e4f509c4e6 05:51:45 Step 18/23 : EXPOSE 59901 05:51:46 ---> Running in b85c266def3f 05:51:46 Removing intermediate container b85c266def3f 05:51:46 ---> 3659bbe3beb6 05:51:46 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:51:46 ---> Running in ffc47a60b3b7 05:51:46 Removing intermediate container ffc47a60b3b7 05:51:46 ---> 4f0bb7cce84d 05:51:46 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:51:46 ---> Running in bb779226325c 05:51:46 Removing intermediate container bb779226325c 05:51:46 ---> 1de9bf8bc254 05:51:46 Step 21/23 : LABEL arch=amd64 05:51:46 ---> Running in eb05cc86b04f 05:51:46 Removing intermediate container eb05cc86b04f 05:51:46 ---> 5f79dfbd0ab3 05:51:46 Step 22/23 : LABEL git_sha=0da803b9e852e60e6d0c38932136853af8aaf1e9 05:51:46 ---> Running in 7efe6f19d684 05:51:46 Removing intermediate container 7efe6f19d684 05:51:46 ---> 79d146ba4ff8 05:51:46 Step 23/23 : LABEL version=2.2.0-dev.20 05:51:46 ---> Running in 5be434d0f526 05:51:47 Removing intermediate container 5be434d0f526 05:51:47 ---> 2df49564b5f0 05:51:47 [Warning] One or more build-args [ARCH] were not consumed 05:51:47 Successfully built 2df49564b5f0 05:51:47 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:51:47 provisioning config files... 05:51:47 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3413422969232172279tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:51:47 ---> docker-login.sh 05:51:47 nexus3.edgexfoundry.org:10001 05:51:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:47 Configure a credential helper to remove this warning. See 05:51:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:47 05:51:47 Login Succeeded 05:51:47 nexus3.edgexfoundry.org:10002 05:51:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:47 Configure a credential helper to remove this warning. See 05:51:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:47 05:51:47 Login Succeeded 05:51:47 nexus3.edgexfoundry.org:10003 05:51:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:47 Configure a credential helper to remove this warning. See 05:51:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:47 05:51:47 Login Succeeded 05:51:47 nexus3.edgexfoundry.org:10004 05:51:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:47 Configure a credential helper to remove this warning. See 05:51:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:47 05:51:47 Login Succeeded 05:51:47 docker.io 05:51:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:48 Configure a credential helper to remove this warning. See 05:51:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:48 05:51:48 Login Succeeded 05:51:48 ---> docker-login.sh ends [Pipeline] } 05:51:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:51:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:51:48 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 05:51:48 0da803b9e852e60e6d0c38932136853af8aaf1e9 05:51:48 latest 05:51:48 2.2.0-dev.20 05:51:48 0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0-dev.20 05:51:48 main 05:51:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:51:48 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] isUnix [Pipeline] sh 05:51:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus:0da803b9e852e60e6d0c38932136853af8aaf1e9 05:51:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:51:48 8577621c0bc4: Preparing 05:51:48 4670179a711d: Preparing 05:51:48 be1a590110ee: Preparing 05:51:48 8c75fa824be6: Preparing 05:51:48 8992fa047828: Preparing 05:51:48 b541d28bf3b4: Preparing 05:51:48 b541d28bf3b4: Waiting 05:51:48 8992fa047828: Pushed 05:51:48 4670179a711d: Pushed 05:51:48 8577621c0bc4: Pushed 05:51:48 b541d28bf3b4: Layer already exists 05:51:49 8c75fa824be6: Pushed 05:51:51 be1a590110ee: Pushed 05:51:51 0da803b9e852e60e6d0c38932136853af8aaf1e9: digest: sha256:a620297f090b363b52971cb69ba17e2c5402c76d1b5cdab0f968051c5a982fd9 size: 1574 [Pipeline] isUnix [Pipeline] sh 05:51:52 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 05:51:52 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 05:51:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:51:52 8577621c0bc4: Preparing 05:51:52 4670179a711d: Preparing 05:51:52 be1a590110ee: Preparing 05:51:52 8c75fa824be6: Preparing 05:51:52 8992fa047828: Preparing 05:51:52 b541d28bf3b4: Preparing 05:51:52 b541d28bf3b4: Waiting 05:51:52 8c75fa824be6: Layer already exists 05:51:52 be1a590110ee: Layer already exists 05:51:52 4670179a711d: Layer already exists 05:51:52 8577621c0bc4: Layer already exists 05:51:52 8992fa047828: Layer already exists 05:51:52 b541d28bf3b4: Layer already exists 05:51:52 latest: digest: sha256:a620297f090b363b52971cb69ba17e2c5402c76d1b5cdab0f968051c5a982fd9 size: 1574 [Pipeline] isUnix [Pipeline] sh 05:51:52 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.20 [Pipeline] isUnix [Pipeline] sh 05:51:53 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.20 05:51:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:51:53 8577621c0bc4: Preparing 05:51:53 4670179a711d: Preparing 05:51:53 be1a590110ee: Preparing 05:51:53 8c75fa824be6: Preparing 05:51:53 8992fa047828: Preparing 05:51:53 b541d28bf3b4: Preparing 05:51:53 b541d28bf3b4: Waiting 05:51:53 8577621c0bc4: Layer already exists 05:51:53 8c75fa824be6: Layer already exists 05:51:53 4670179a711d: Layer already exists 05:51:53 8992fa047828: Layer already exists 05:51:53 be1a590110ee: Layer already exists 05:51:53 b541d28bf3b4: Layer already exists 05:51:53 2.2.0-dev.20: digest: sha256:a620297f090b363b52971cb69ba17e2c5402c76d1b5cdab0f968051c5a982fd9 size: 1574 [Pipeline] isUnix [Pipeline] sh 05:51:53 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0-dev.20 [Pipeline] isUnix [Pipeline] sh 05:51:53 + docker push nexus3.edgexfoundry.org:10004/device-modbus:0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0-dev.20 05:51:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:51:53 8577621c0bc4: Preparing 05:51:53 4670179a711d: Preparing 05:51:53 be1a590110ee: Preparing 05:51:53 8c75fa824be6: Preparing 05:51:53 8992fa047828: Preparing 05:51:53 b541d28bf3b4: Preparing 05:51:53 b541d28bf3b4: Waiting 05:51:53 be1a590110ee: Layer already exists 05:51:53 8577621c0bc4: Layer already exists 05:51:53 4670179a711d: Layer already exists 05:51:53 8c75fa824be6: Layer already exists 05:51:53 8992fa047828: Layer already exists 05:51:53 b541d28bf3b4: Layer already exists 05:51:53 0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0-dev.20: digest: sha256:a620297f090b363b52971cb69ba17e2c5402c76d1b5cdab0f968051c5a982fd9 size: 1574 [Pipeline] isUnix [Pipeline] sh 05:51:53 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh 05:51:54 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 05:51:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:51:54 8577621c0bc4: Preparing 05:51:54 4670179a711d: Preparing 05:51:54 be1a590110ee: Preparing 05:51:54 8c75fa824be6: Preparing 05:51:54 8992fa047828: Preparing 05:51:54 b541d28bf3b4: Preparing 05:51:54 b541d28bf3b4: Waiting 05:51:54 4670179a711d: Layer already exists 05:51:54 8992fa047828: Layer already exists 05:51:54 8577621c0bc4: Layer already exists 05:51:54 be1a590110ee: Layer already exists 05:51:54 8c75fa824be6: Layer already exists 05:51:54 b541d28bf3b4: Layer already exists 05:51:54 main: digest: sha256:a620297f090b363b52971cb69ba17e2c5402c76d1b5cdab0f968051c5a982fd9 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:51:54 ===================================================== [Pipeline] echo 05:51:54 taggedImages: 05:51:54 - nexus3.edgexfoundry.org:10004/device-modbus:0da803b9e852e60e6d0c38932136853af8aaf1e9 05:51:54 - nexus3.edgexfoundry.org:10004/device-modbus:latest 05:51:54 - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.20 05:51:54 - nexus3.edgexfoundry.org:10004/device-modbus:0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0-dev.20 05:51:54 - 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 05:51:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:51:54 05:51:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:51:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:51:54 latest: Pulling from edgex-lftools-log-publisher 05:51:54 5eb5b503b376: Pulling fs layer 05:51:54 5c69ac0246d0: Pulling fs layer 05:51:54 ec43610c2a17: Pulling fs layer 05:51:54 3a2ae6a8a46f: Pulling fs layer 05:51:54 33b1e0a273af: Pulling fs layer 05:51:54 5d3b04190fa2: Pulling fs layer 05:51:54 2f39f015ded8: Pulling fs layer 05:51:54 3a2ae6a8a46f: Waiting 05:51:54 33b1e0a273af: Waiting 05:51:54 5d3b04190fa2: Waiting 05:51:54 2f39f015ded8: Waiting 05:51:54 5c69ac0246d0: Verifying Checksum 05:51:54 5c69ac0246d0: Download complete 05:51:54 3a2ae6a8a46f: Verifying Checksum 05:51:54 3a2ae6a8a46f: Download complete 05:51:55 33b1e0a273af: Verifying Checksum 05:51:55 33b1e0a273af: Download complete 05:51:55 5d3b04190fa2: Verifying Checksum 05:51:55 5d3b04190fa2: Download complete 05:51:55 ec43610c2a17: Verifying Checksum 05:51:55 ec43610c2a17: Download complete 05:51:55 5eb5b503b376: Verifying Checksum 05:51:55 5eb5b503b376: Download complete 05:51:56 2f39f015ded8: Download complete 05:51:56 5eb5b503b376: Pull complete 05:51:56 5c69ac0246d0: Pull complete 05:51:57 ec43610c2a17: Pull complete 05:51:57 3a2ae6a8a46f: Pull complete 05:51:57 33b1e0a273af: Pull complete 05:51:57 5d3b04190fa2: Pull complete 05:52:02 2f39f015ded8: Pull complete 05:52:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:52:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:52:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:52:02 prd-ubuntu20.04-docker-8c-8g-63056 does not seem to be running inside a container 05:52:02 $ 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 05:52:04 $ docker top 2d47e5defcfaa8f4454221b576ff8f274d5242ed02c0d3fdcc38c494216da930 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:52:05 ---> job-cost.sh 05:52:05 lf-activate-venv: SKIPPING 05:52:05 INFO: No Stack... 05:52:05 INFO: Retrieving Pricing Info for: v3-standard-8 05:52:05 INFO: Archiving Costs [Pipeline] sh 05:52:06 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 05:52:06 + cut -d, -f6 [Pipeline] lock 05:52:06 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-38-stack-cost] 05:52:06 Resource [jenkins-edgexfoundry-device-modbus-go-main-38-stack-cost] did not exist. Created. 05:52:06 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-38-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:52:06 + echo total: 0.2199999988079071 [Pipeline] stash 05:52:06 Stashed 1 file(s) [Pipeline] } 05:52:06 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-38-stack-cost] [Pipeline] // lock [Pipeline] } 05:52:06 $ docker stop --time=1 2d47e5defcfaa8f4454221b576ff8f274d5242ed02c0d3fdcc38c494216da930 05:52:07 $ docker rm -f 2d47e5defcfaa8f4454221b576ff8f274d5242ed02c0d3fdcc38c494216da930 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:54:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63067 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 05:54:57 Running in /w/workspace/device-modbus-go/38 [Pipeline] { [Pipeline] checkout 05:54:57 Selected Git installation does not exist. Using Default 05:54:57 The recommended git tool is: NONE 05:55:03 using credential edgex-jenkins-ssh 05:55:03 Cloning the remote Git repository 05:55:04 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:55:04 > git init /w/workspace/device-modbus-go/38 # timeout=10 05:55:04 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:55:04 > git --version # timeout=10 05:55:04 > git --version # 'git version 2.25.1' 05:55:04 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:55:05 Avoid second fetch 05:55:05 Checking out Revision 0da803b9e852e60e6d0c38932136853af8aaf1e9 (main) 05:55:05 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:55:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:55:05 > git config core.sparsecheckout # timeout=10 05:55:05 > git checkout -f 0da803b9e852e60e6d0c38932136853af8aaf1e9 # timeout=10 05:55:10 Commit message: "Merge pull request #346 from jinlinGuan/released-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:55:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:55:10 % Total % Received % Xferd Average Speed Time Time Time Current 05:55:10 Dload Upload Total Spent Left Speed 05:55:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh 05:55:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:55:11 + sudo tee /etc/docker/daemon.new 05:55:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:55:11 { 05:55:11 "registry-mirrors": [ 05:55:11 "https://nexus3.edgexfoundry.org:10001" 05:55:11 ], 05:55:11 "bip": "10.250.0.254/24", 05:55:11 "hosts": [ 05:55:11 "tcp://0.0.0.0:5555", 05:55:11 "unix:///var/run/docker.sock" 05:55:11 ], 05:55:11 "mtu": 1458, 05:55:11 "selinux-enabled": true, 05:55:11 "seccomp-profile": "/etc/docker/seccomp.json" 05:55:11 } [Pipeline] sh 05:55:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:55:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:55:31 provisioning config files... 05:55:31 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/38@tmp/config3920316974358254502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:55:31 ---> docker-login.sh 05:55:31 nexus3.edgexfoundry.org:10001 05:55:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:32 Configure a credential helper to remove this warning. See 05:55:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:32 05:55:32 Login Succeeded 05:55:32 nexus3.edgexfoundry.org:10002 05:55:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:32 Configure a credential helper to remove this warning. See 05:55:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:32 05:55:32 Login Succeeded 05:55:32 nexus3.edgexfoundry.org:10003 05:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:33 Configure a credential helper to remove this warning. See 05:55:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:33 05:55:33 Login Succeeded 05:55:33 nexus3.edgexfoundry.org:10004 05:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:34 Configure a credential helper to remove this warning. See 05:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:34 05:55:34 Login Succeeded 05:55:34 docker.io 05:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:34 Configure a credential helper to remove this warning. See 05:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:34 05:55:34 Login Succeeded 05:55:34 ---> docker-login.sh ends [Pipeline] } 05:55:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:55:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:55:35 ========================================================= 05:55:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:55:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:55:35 + 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 . 05:55:36 Sending build context to Docker daemon 3.073MB 05:55:36 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 05:55:36 Step 2/10 : FROM ${BASE} AS builder 05:55:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:55:36 9b3977197b4f: Pulling fs layer 05:55:36 1a89e8eeedd5: Pulling fs layer 05:55:36 94645a83ff95: Pulling fs layer 05:55:36 3f3a8bcf1eab: Pulling fs layer 05:55:36 0c92f367c5e7: Pulling fs layer 05:55:36 3096ccb668a1: Pulling fs layer 05:55:36 e8cf19c19ddd: Pulling fs layer 05:55:36 a4caa8a26152: Pulling fs layer 05:55:36 0c92f367c5e7: Waiting 05:55:36 3096ccb668a1: Waiting 05:55:36 e8cf19c19ddd: Waiting 05:55:36 a4caa8a26152: Waiting 05:55:36 3f3a8bcf1eab: Waiting 05:55:36 94645a83ff95: Download complete 05:55:36 1a89e8eeedd5: Verifying Checksum 05:55:36 1a89e8eeedd5: Download complete 05:55:36 0c92f367c5e7: Verifying Checksum 05:55:36 0c92f367c5e7: Download complete 05:55:36 3096ccb668a1: Verifying Checksum 05:55:36 3096ccb668a1: Download complete 05:55:36 9b3977197b4f: Verifying Checksum 05:55:36 9b3977197b4f: Download complete 05:55:36 e8cf19c19ddd: Verifying Checksum 05:55:36 e8cf19c19ddd: Download complete 05:55:37 9b3977197b4f: Pull complete 05:55:37 1a89e8eeedd5: Pull complete 05:55:38 94645a83ff95: Pull complete 05:55:38 a4caa8a26152: Download complete 05:55:39 3f3a8bcf1eab: Verifying Checksum 05:55:39 3f3a8bcf1eab: Download complete 05:55:51 3f3a8bcf1eab: Pull complete 05:55:51 0c92f367c5e7: Pull complete 05:55:51 3096ccb668a1: Pull complete 05:55:51 e8cf19c19ddd: Pull complete 05:55:58 a4caa8a26152: Pull complete 05:55:58 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 05:55:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:55:58 ---> 725f1c02e7f9 05:55:58 Step 3/10 : ARG MAKE='make build' 05:55:58 ---> Running in 824b915f1e51 05:55:58 Removing intermediate container 824b915f1e51 05:55:58 ---> 7d9cf2efd591 05:55:58 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:55:58 ---> Running in 2f6001358b7e 05:56:00 Removing intermediate container 2f6001358b7e 05:56:00 ---> 6167e321744a 05:56:00 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:56:00 ---> Running in e963a99ee63e 05:56:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:56:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:56:05 (1/8) Installing openssh-keygen (8.8_p1-r1) 05:56:05 (2/8) Installing libedit (20210910.3.1-r0) 05:56:05 (3/8) Installing openssh-client-common (8.8_p1-r1) 05:56:05 (4/8) Installing openssh-client-default (8.8_p1-r1) 05:56:05 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 05:56:05 (6/8) Installing openssh-server-common (8.8_p1-r1) 05:56:05 (7/8) Installing openssh-server (8.8_p1-r1) 05:56:05 (8/8) Installing openssh (8.8_p1-r1) 05:56:05 Executing busybox-1.34.1-r3.trigger 05:56:05 OK: 226 MiB in 60 packages 05:56:06 Removing intermediate container e963a99ee63e 05:56:06 ---> 8dab4b8c47c8 05:56:06 Step 6/10 : WORKDIR /device-modbus-go 05:56:06 ---> Running in 1bf1c6b98a2d 05:56:07 Removing intermediate container 1bf1c6b98a2d 05:56:07 ---> 4b4d3807df13 05:56:07 Step 7/10 : COPY go.mod vendor* ./ 05:56:07 ---> 1e3e23e7c7b9 05:56:07 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:56:07 ---> Running in 9773a5acc032 05:57:04 Removing intermediate container 9773a5acc032 05:57:04 ---> ae3b160e71ec 05:57:04 Step 9/10 : COPY . . 05:57:04 ---> 0736ddbcc781 05:57:04 Step 10/10 : RUN ${MAKE} 05:57:04 ---> Running in 96b0924b5357 05:57:04 noop 05:57:04 Removing intermediate container 96b0924b5357 05:57:04 ---> 8dd27aeb4413 05:57:04 Successfully built 8dd27aeb4413 05:57:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:57:04 + docker inspect -f . ci-base-image-arm64 05:57:04 . [Pipeline] withDockerContainer 05:57:05 prd-ubuntu20.04-docker-arm64-4c-16g-63067 does not seem to be running inside a container 05:57:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/38 -v /w/workspace/device-modbus-go/38:/w/workspace/device-modbus-go/38:rw,z -v /w/workspace/device-modbus-go/38@tmp:/w/workspace/device-modbus-go/38@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:57:06 $ docker top 33f56779b0372e6b37a40c33dec6105246a0e6bb349cfcb837ec7eabb5d4f830 -eo pid,comm [Pipeline] { [Pipeline] sh 05:57:07 + go version 05:57:07 go version go1.17.6 linux/arm64 [Pipeline] } 05:57:07 $ docker stop --time=1 33f56779b0372e6b37a40c33dec6105246a0e6bb349cfcb837ec7eabb5d4f830 05:57:09 $ docker rm -f 33f56779b0372e6b37a40c33dec6105246a0e6bb349cfcb837ec7eabb5d4f830 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:57:10 + docker inspect -f . ci-base-image-arm64 05:57:10 . [Pipeline] withDockerContainer 05:57:10 prd-ubuntu20.04-docker-arm64-4c-16g-63067 does not seem to be running inside a container 05:57:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/38 -v /w/workspace/device-modbus-go/38:/w/workspace/device-modbus-go/38:rw,z -v /w/workspace/device-modbus-go/38@tmp:/w/workspace/device-modbus-go/38@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:57:11 $ docker top 7770f2ca8aba8e17e7f66e0c7796643b44b8681547f353dc0e69ea7023132a49 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:57:12 + make test 05:57:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:57:14 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:58:51 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:58:51 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.070s coverage: 46.4% of statements 05:58:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:58:51 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:59:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:59:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:59:18 ./bin/test-attribution-txt.sh [Pipeline] echo 05:59:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:59:22 $ docker stop --time=1 7770f2ca8aba8e17e7f66e0c7796643b44b8681547f353dc0e69ea7023132a49 05:59:24 $ docker rm -f 7770f2ca8aba8e17e7f66e0c7796643b44b8681547f353dc0e69ea7023132a49 [Pipeline] // withDockerContainer [Pipeline] sh 05:59:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:59:25 Warning: overwriting stash ‘coverage-report’ 05:59:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:59:26 + ls -al . 05:59:26 total 180 05:59:26 drwxrwxr-x 9 jenkins jenkins 4096 May 11 05:59 . 05:59:26 drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:55 .. 05:59:26 -rw-rw-r-- 1 jenkins jenkins 140 May 11 05:55 .dockerignore 05:59:26 drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:55 .git 05:59:26 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:55 .github 05:59:26 -rw-rw-r-- 1 jenkins jenkins 331 May 11 05:55 .gitignore 05:59:26 -rw-rw-r-- 1 jenkins jenkins 41 May 11 05:55 .golangci.yml 05:59:26 -rw-rw-r-- 1 jenkins jenkins 9377 May 11 05:55 Attribution.txt 05:59:26 -rw-rw-r-- 1 jenkins jenkins 10001 May 11 05:55 CHANGELOG.md 05:59:26 -rw-rw-r-- 1 jenkins jenkins 1546 May 11 05:55 Dockerfile 05:59:26 -rw-rw-r-- 1 jenkins jenkins 677 May 11 05:55 GOVERNANCE.md 05:59:26 -rw-rw-r-- 1 jenkins jenkins 680 May 11 05:55 Jenkinsfile 05:59:26 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 05:55 LICENSE 05:59:26 -rw-rw-r-- 1 jenkins jenkins 1905 May 11 05:55 Makefile 05:59:26 -rw-rw-r-- 1 jenkins jenkins 622 May 11 05:55 OWNERS.md 05:59:26 -rw-rw-r-- 1 jenkins jenkins 3397 May 11 05:55 README.md 05:59:26 -rw-rw-r-- 1 jenkins jenkins 12 May 11 05:50 VERSION 05:59:26 drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:55 bin 05:59:26 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:55 cmd 05:59:26 -rw-r--r-- 1 jenkins jenkins 24065 May 11 05:58 coverage.out 05:59:26 -rw-rw-r-- 1 jenkins jenkins 3353 May 11 05:55 go.mod 05:59:26 -rw-rw-r-- 1 jenkins jenkins 34983 May 11 05:55 go.sum 05:59:26 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:55 internal 05:59:26 drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:55 simulator 05:59:26 drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:55 snap 05:59:26 -rw-rw-r-- 1 jenkins jenkins 229 May 11 05:55 version.go [Pipeline] isUnix [Pipeline] sh 05:59:26 + 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=0da803b9e852e60e6d0c38932136853af8aaf1e9 --label arch=arm64 --label version=2.2.0-dev.20 . 05:59:27 Sending build context to Docker daemon 3.098MB 05:59:27 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 05:59:27 Step 2/23 : FROM ${BASE} AS builder 05:59:27 ---> 8dd27aeb4413 05:59:27 Step 3/23 : ARG MAKE='make build' 05:59:27 ---> Running in ee5718abd779 05:59:27 Removing intermediate container ee5718abd779 05:59:27 ---> 86ead6c100dc 05:59:27 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:59:28 ---> Running in 335969ab5f7d 05:59:30 Removing intermediate container 335969ab5f7d 05:59:30 ---> dd67c0b60614 05:59:30 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:59:30 ---> Running in 83c793c8a7dd 05:59:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:59:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:59:33 OK: 226 MiB in 60 packages 05:59:33 Removing intermediate container 83c793c8a7dd 05:59:33 ---> bf52460c40c5 05:59:33 Step 6/23 : WORKDIR /device-modbus-go 05:59:33 ---> Running in bfc81e31306e 05:59:34 Removing intermediate container bfc81e31306e 05:59:34 ---> dfdd06f1068d 05:59:34 Step 7/23 : COPY go.mod vendor* ./ 05:59:34 ---> 327b4d677018 05:59:34 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:59:35 ---> Running in a0b64bc28b72 05:59:37 Removing intermediate container a0b64bc28b72 05:59:37 ---> 3bcb5622f38e 05:59:37 Step 9/23 : COPY . . 05:59:38 ---> 49f3d245a525 05:59:38 Step 10/23 : RUN ${MAKE} 05:59:38 ---> Running in 03e24dda3871 05:59:39 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.20" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 06:02:01 Removing intermediate container 03e24dda3871 06:02:01 ---> d97fc8d3c364 06:02:01 Step 11/23 : FROM alpine:3.14 06:02:01 3.14: Pulling from library/alpine 06:02:01 455c02918c45: Pulling fs layer 06:02:01 455c02918c45: Verifying Checksum 06:02:01 455c02918c45: Download complete 06:02:01 455c02918c45: Pull complete 06:02:01 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:02:01 Status: Downloaded newer image for alpine:3.14 06:02:01 ---> ac73e934f311 06:02:01 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:02:01 ---> Running in 8093b68060e9 06:02:01 Removing intermediate container 8093b68060e9 06:02:01 ---> 71c2fc687707 06:02:01 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:02:01 ---> Running in ffe98e15edf1 06:02:01 Removing intermediate container ffe98e15edf1 06:02:01 ---> 5730b1359278 06:02:01 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 06:02:01 ---> Running in 1b0a5ad9e407 06:02:01 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:02:01 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:02:01 (1/6) Installing dumb-init (1.2.5-r1) 06:02:01 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:02:01 (3/6) Installing libsodium (1.0.18-r0) 06:02:01 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:02:01 (5/6) Installing libzmq (4.3.4-r0) 06:02:01 (6/6) Installing zeromq (4.3.4-r0) 06:02:01 Executing busybox-1.33.1-r7.trigger 06:02:01 OK: 8 MiB in 20 packages 06:02:01 Removing intermediate container 1b0a5ad9e407 06:02:01 ---> a479bb4585da 06:02:01 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:02:01 ---> 366cff993d70 06:02:01 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:02:01 ---> 1746c3b8499a 06:02:01 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:02:01 ---> b17950bff72a 06:02:01 Step 18/23 : EXPOSE 59901 06:02:01 ---> Running in 3a88aa6f09fd 06:02:01 Removing intermediate container 3a88aa6f09fd 06:02:01 ---> 069786f052e7 06:02:01 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:02:01 ---> Running in 0ffdd5ad0528 06:02:01 Removing intermediate container 0ffdd5ad0528 06:02:01 ---> 51f8e77892ea 06:02:01 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:02:01 ---> Running in 475ec162323b 06:02:01 Removing intermediate container 475ec162323b 06:02:01 ---> 96b54c1ff65e 06:02:01 Step 21/23 : LABEL arch=arm64 06:02:02 ---> Running in 0fb5e826ee71 06:02:02 Removing intermediate container 0fb5e826ee71 06:02:02 ---> ed6edd08492a 06:02:02 Step 22/23 : LABEL git_sha=0da803b9e852e60e6d0c38932136853af8aaf1e9 06:02:02 ---> Running in 666a379926da 06:02:02 Removing intermediate container 666a379926da 06:02:02 ---> cae415a74ad4 06:02:02 Step 23/23 : LABEL version=2.2.0-dev.20 06:02:02 ---> Running in 8322a4e2a170 06:02:03 Removing intermediate container 8322a4e2a170 06:02:03 ---> ba950226e3c6 06:02:03 [Warning] One or more build-args [ARCH] were not consumed 06:02:03 Successfully built ba950226e3c6 06:02:03 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 06:02:03 provisioning config files... 06:02:03 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/38@tmp/config1228290771688030580tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:03 ---> docker-login.sh 06:02:03 nexus3.edgexfoundry.org:10001 06:02:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:04 Configure a credential helper to remove this warning. See 06:02:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:04 06:02:04 Login Succeeded 06:02:04 nexus3.edgexfoundry.org:10002 06:02:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:04 Configure a credential helper to remove this warning. See 06:02:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:04 06:02:04 Login Succeeded 06:02:04 nexus3.edgexfoundry.org:10003 06:02:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:05 Configure a credential helper to remove this warning. See 06:02:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:05 06:02:05 Login Succeeded 06:02:05 nexus3.edgexfoundry.org:10004 06:02:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:05 Configure a credential helper to remove this warning. See 06:02:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:05 06:02:05 Login Succeeded 06:02:05 docker.io 06:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:06 Configure a credential helper to remove this warning. See 06:02:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:06 06:02:06 Login Succeeded 06:02:06 ---> docker-login.sh ends [Pipeline] } 06:02:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:02:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:02:06 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 06:02:06 0da803b9e852e60e6d0c38932136853af8aaf1e9 06:02:06 latest 06:02:06 2.2.0-dev.20 06:02:06 0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0-dev.20 06:02:06 main 06:02:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:02:06 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] isUnix [Pipeline] sh 06:02:07 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0da803b9e852e60e6d0c38932136853af8aaf1e9 06:02:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:02:07 40aad02b4991: Preparing 06:02:07 5721dcaa07ea: Preparing 06:02:07 2a2d88d3f974: Preparing 06:02:07 922c686eec35: Preparing 06:02:07 7bc42f6f527f: Preparing 06:02:07 f73e7dbfee58: Preparing 06:02:07 7bc42f6f527f: Pushed 06:02:07 40aad02b4991: Pushed 06:02:07 f73e7dbfee58: Layer already exists 06:02:07 5721dcaa07ea: Pushed 06:02:08 922c686eec35: Pushed 06:02:13 2a2d88d3f974: Pushed 06:02:13 0da803b9e852e60e6d0c38932136853af8aaf1e9: digest: sha256:32d37953e7652344c21723dbafe04c049716b3ad8bfbf2489598898928471b79 size: 1573 [Pipeline] isUnix [Pipeline] sh 06:02:13 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:02:14 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:02:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:02:14 40aad02b4991: Preparing 06:02:14 5721dcaa07ea: Preparing 06:02:14 2a2d88d3f974: Preparing 06:02:14 922c686eec35: Preparing 06:02:14 7bc42f6f527f: Preparing 06:02:14 f73e7dbfee58: Preparing 06:02:14 f73e7dbfee58: Waiting 06:02:14 2a2d88d3f974: Layer already exists 06:02:14 922c686eec35: Layer already exists 06:02:14 5721dcaa07ea: Layer already exists 06:02:14 7bc42f6f527f: Layer already exists 06:02:14 40aad02b4991: Layer already exists 06:02:14 f73e7dbfee58: Layer already exists 06:02:14 latest: digest: sha256:32d37953e7652344c21723dbafe04c049716b3ad8bfbf2489598898928471b79 size: 1573 [Pipeline] isUnix [Pipeline] sh 06:02:14 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.20 [Pipeline] isUnix [Pipeline] sh 06:02:15 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.20 06:02:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:02:15 40aad02b4991: Preparing 06:02:15 5721dcaa07ea: Preparing 06:02:15 2a2d88d3f974: Preparing 06:02:15 922c686eec35: Preparing 06:02:15 7bc42f6f527f: Preparing 06:02:15 f73e7dbfee58: Preparing 06:02:15 f73e7dbfee58: Waiting 06:02:15 922c686eec35: Layer already exists 06:02:15 5721dcaa07ea: Layer already exists 06:02:15 40aad02b4991: Layer already exists 06:02:15 7bc42f6f527f: Layer already exists 06:02:15 2a2d88d3f974: Layer already exists 06:02:15 f73e7dbfee58: Layer already exists 06:02:15 2.2.0-dev.20: digest: sha256:32d37953e7652344c21723dbafe04c049716b3ad8bfbf2489598898928471b79 size: 1573 [Pipeline] isUnix [Pipeline] sh 06:02:15 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0-dev.20 [Pipeline] isUnix [Pipeline] sh 06:02:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0-dev.20 06:02:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:02:16 40aad02b4991: Preparing 06:02:16 5721dcaa07ea: Preparing 06:02:16 2a2d88d3f974: Preparing 06:02:16 922c686eec35: Preparing 06:02:16 7bc42f6f527f: Preparing 06:02:16 f73e7dbfee58: Preparing 06:02:16 f73e7dbfee58: Waiting 06:02:16 7bc42f6f527f: Layer already exists 06:02:16 5721dcaa07ea: Layer already exists 06:02:16 40aad02b4991: Layer already exists 06:02:16 2a2d88d3f974: Layer already exists 06:02:16 922c686eec35: Layer already exists 06:02:16 f73e7dbfee58: Layer already exists 06:02:16 0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0-dev.20: digest: sha256:32d37953e7652344c21723dbafe04c049716b3ad8bfbf2489598898928471b79 size: 1573 [Pipeline] isUnix [Pipeline] sh 06:02:16 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh 06:02:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 06:02:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:02:17 40aad02b4991: Preparing 06:02:17 5721dcaa07ea: Preparing 06:02:17 2a2d88d3f974: Preparing 06:02:17 922c686eec35: Preparing 06:02:17 7bc42f6f527f: Preparing 06:02:17 f73e7dbfee58: Preparing 06:02:17 f73e7dbfee58: Waiting 06:02:17 5721dcaa07ea: Layer already exists 06:02:17 7bc42f6f527f: Layer already exists 06:02:17 2a2d88d3f974: Layer already exists 06:02:17 40aad02b4991: Layer already exists 06:02:17 922c686eec35: Layer already exists 06:02:17 f73e7dbfee58: Layer already exists 06:02:17 main: digest: sha256:32d37953e7652344c21723dbafe04c049716b3ad8bfbf2489598898928471b79 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:02:17 ===================================================== [Pipeline] echo 06:02:17 taggedImages: 06:02:17 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0da803b9e852e60e6d0c38932136853af8aaf1e9 06:02:17 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:02:17 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.20 06:02:17 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0-dev.20 06:02:17 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:02:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:02:17 06:02:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 06:02:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:02:18 arm64: Pulling from edgex-lftools-log-publisher 06:02:18 8998bd30e6a1: Pulling fs layer 06:02:18 04944245beec: Pulling fs layer 06:02:18 699f458cf7ca: Pulling fs layer 06:02:18 765212b225bb: Pulling fs layer 06:02:18 f23df028b6ca: Pulling fs layer 06:02:18 d65c8cfc05b1: Pulling fs layer 06:02:18 2437ff75d9bd: Pulling fs layer 06:02:18 765212b225bb: Waiting 06:02:18 f23df028b6ca: Waiting 06:02:18 d65c8cfc05b1: Waiting 06:02:18 2437ff75d9bd: Waiting 06:02:18 04944245beec: Download complete 06:02:18 765212b225bb: Download complete 06:02:18 f23df028b6ca: Verifying Checksum 06:02:18 f23df028b6ca: Download complete 06:02:18 d65c8cfc05b1: Verifying Checksum 06:02:18 d65c8cfc05b1: Download complete 06:02:18 699f458cf7ca: Verifying Checksum 06:02:18 699f458cf7ca: Download complete 06:02:18 8998bd30e6a1: Verifying Checksum 06:02:18 8998bd30e6a1: Download complete 06:02:21 2437ff75d9bd: Verifying Checksum 06:02:21 2437ff75d9bd: Download complete 06:02:23 8998bd30e6a1: Pull complete 06:02:24 04944245beec: Pull complete 06:02:25 699f458cf7ca: Pull complete 06:02:25 765212b225bb: Pull complete 06:02:26 f23df028b6ca: Pull complete 06:02:27 d65c8cfc05b1: Pull complete 06:02:45 2437ff75d9bd: Pull complete 06:02:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:02:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:02:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 06:02:45 prd-ubuntu20.04-docker-arm64-4c-16g-63067 does not seem to be running inside a container 06:02:45 $ 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/38 -v /w/workspace/device-modbus-go/38:/w/workspace/device-modbus-go/38:rw,z -v /w/workspace/device-modbus-go/38@tmp:/w/workspace/device-modbus-go/38@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:02:48 $ docker top 1f0a4acbb2d931b1054e8a7903b2b602d3cd28a387210e0fdb56ff07ec165ab0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:49 ---> job-cost.sh 06:02:49 lf-activate-venv: SKIPPING 06:02:49 INFO: No Stack... 06:02:49 INFO: Retrieving Pricing Info for: v3-standard-4 06:02:50 INFO: Archiving Costs [Pipeline] sh 06:02:51 + cat /w/workspace/device-modbus-go/38/archives/cost.csv 06:02:51 + cut -d, -f6 [Pipeline] lock 06:02:51 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-38-stack-cost] 06:02:51 Resource [jenkins-edgexfoundry-device-modbus-go-main-38-stack-cost] did not exist. Created. 06:02:51 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-38-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:02:52 /w/workspace/device-modbus-go/38@tmp/durable-ce5daf6e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:02:52 + echo total: 0.10999999940395355 [Pipeline] stash 06:02:52 Warning: overwriting stash ‘stack-cost’ 06:02:52 Stashed 1 file(s) [Pipeline] } 06:02:52 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-38-stack-cost] [Pipeline] // lock [Pipeline] } 06:02:52 $ docker stop --time=1 1f0a4acbb2d931b1054e8a7903b2b602d3cd28a387210e0fdb56ff07ec165ab0 06:02:54 $ docker rm -f 1f0a4acbb2d931b1054e8a7903b2b602d3cd28a387210e0fdb56ff07ec165ab0 [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 06:02:54 provisioning config files... 06:02:54 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5563825137993683487tmp [Pipeline] { [Pipeline] sh 06:02:55 + set +x 06:02:55 + curl -s https://codecov.io/bash 06:02:55 + bash -s -- 06:02:55 06:02:55 _____ _ 06:02:55 / ____| | | 06:02:55 | | ___ __| | ___ ___ _____ __ 06:02:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:02:55 | |___| (_) | (_| | __/ (_| (_) \ V / 06:02:55 \_____\___/ \__,_|\___|\___\___/ \_/ 06:02:55 Bash-1.0.6 06:02:55 06:02:55 06:02:55 ==> git version 2.25.1 found 06:02:55 ==> 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 06:02:55 Release-Date: 2020-01-08 06:02:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:02:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:02:55 ==> Jenkins CI detected. 06:02:55 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 06:02:55 project root: . 06:02:55 --> token set from env 06:02:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:02:55 ==> Running gcov in . (disable via -X gcov) 06:02:55 ==> Python coveragepy not found 06:02:55 ==> Searching for coverage reports in: 06:02:55 + . 06:02:55 -> Found 1 reports 06:02:55 ==> Detecting git/mercurial file structure 06:02:55 ==> Reading reports 06:02:55 + ./coverage.out bytes=24065 06:02:55 ==> Appending adjustments 06:02:55 https://docs.codecov.io/docs/fixing-reports 06:02:55 + Found adjustments 06:02:55 ==> Gzipping contents 06:02:55 4.0K /tmp/codecov.yJO8RV.gz 06:02:55 ==> Uploading reports 06:02:55 url: https://codecov.io 06:02:55 query: branch=main&commit=0da803b9e852e60e6d0c38932136853af8aaf1e9&build=38&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F38%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:02:55 -> Pinging Codecov 06:02:55 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=0da803b9e852e60e6d0c38932136853af8aaf1e9&build=38&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F38%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:02:55 -> Uploading to 06:02:55 https://storage.googleapis.com/codecov/v4/raw/2022-05-11/55DBCA73C666E3227836607328DD7E49/0da803b9e852e60e6d0c38932136853af8aaf1e9/f7ffd265-d88a-4fee-9576-84fc30a07e42.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T060255Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=48c3d181a96623d1e2cca1771a38f40d5de7cd9f63716c1649f6951a678b660d 06:02:55 % Total % Received % Xferd Average Speed Time Time Time Current 06:02:55 Dload Upload Total Spent Left Speed 06:02:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4026 0 0 100 4026 0 19832 --:--:-- --:--:-- --:--:-- 19832 100 4026 0 0 100 4026 0 18638 --:--:-- --:--:-- --:--:-- 18552 06:02:55 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] } 06:02:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:02:55 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:02:55 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:02:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:02:56 06:02:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 06:02:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:02:56 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:02:56 188c0c94c7c5: Pulling fs layer 06:02:56 0ef7d3d256c8: Pulling fs layer 06:02:56 de9db76c5a1d: Pulling fs layer 06:02:56 0eba1c9be4d2: Pulling fs layer 06:02:56 0d57e429df01: Pulling fs layer 06:02:56 4e4be7b47b0d: Pulling fs layer 06:02:56 e1f770b5df2f: Pulling fs layer 06:02:56 85a0685a4137: Pulling fs layer 06:02:56 0d57e429df01: Waiting 06:02:56 4e4be7b47b0d: Waiting 06:02:56 e1f770b5df2f: Waiting 06:02:56 85a0685a4137: Waiting 06:02:56 de9db76c5a1d: Download complete 06:02:56 0ef7d3d256c8: Verifying Checksum 06:02:56 0ef7d3d256c8: Download complete 06:02:56 0d57e429df01: Verifying Checksum 06:02:56 0d57e429df01: Download complete 06:02:56 4e4be7b47b0d: Download complete 06:02:56 188c0c94c7c5: Verifying Checksum 06:02:56 188c0c94c7c5: Download complete 06:02:56 188c0c94c7c5: Pull complete 06:02:56 e1f770b5df2f: Verifying Checksum 06:02:56 e1f770b5df2f: Download complete 06:02:56 0ef7d3d256c8: Pull complete 06:02:57 de9db76c5a1d: Pull complete 06:02:57 0eba1c9be4d2: Verifying Checksum 06:02:57 0eba1c9be4d2: Download complete 06:02:57 85a0685a4137: Verifying Checksum 06:02:57 85a0685a4137: Download complete 06:03:00 0eba1c9be4d2: Pull complete 06:03:00 0d57e429df01: Pull complete 06:03:00 4e4be7b47b0d: Pull complete 06:03:01 e1f770b5df2f: Pull complete 06:03:04 85a0685a4137: Pull complete 06:03:04 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 06:03:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:03:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 06:03:04 prd-ubuntu20.04-docker-8c-8g-63056 does not seem to be running inside a container 06:03:04 $ 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 06:03:06 $ docker top 178689cc6a136110f21cb40683a08a5bfcb7b89f2162a1d2b61d6632bc642e68 -eo pid,comm [Pipeline] { [Pipeline] echo 06:03:06 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 06:03:07 + set -o pipefail 06:03:07 + snyk monitor '--org=edgex-jenkins' 06:03:13 06:03:13 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 06:03:13 06:03:13 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/65794382-0d07-40d6-9ad6-9f8f6055279b 06:03:13 06:03:13 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 06:03:13 06:03:13 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:03:13 06:03:15 [Pipeline] } 06:03:15 $ docker stop --time=1 178689cc6a136110f21cb40683a08a5bfcb7b89f2162a1d2b61d6632bc642e68 06:03:18 $ docker rm -f 178689cc6a136110f21cb40683a08a5bfcb7b89f2162a1d2b61d6632bc642e68 [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 06:03:18 + git log --format=format:%s -1 0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] sh 06:03:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:03:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:03:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:03:19 . [Pipeline] withDockerContainer 06:03:19 prd-ubuntu20.04-docker-8c-8g-63056 does not seem to be running inside a container 06:03:19 $ 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 06:03:20 $ docker top 866d1fd0e846c64a672251603f997b9c682e092c8d206717990d16ba8ffc8744 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:03:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:03:20 [ssh-agent] Looking for ssh-agent implementation... 06:03:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:03:20 $ docker exec 866d1fd0e846c64a672251603f997b9c682e092c8d206717990d16ba8ffc8744 ssh-agent 06:03:20 SSH_AUTH_SOCK=/tmp/ssh-qStiTbL8gJN5/agent.34 06:03:20 SSH_AGENT_PID=40 06:03:20 Running ssh-add (command line suppressed) 06:03:20 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6704429524193384660.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6704429524193384660.key) 06:03:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:03:20 + git semver tag 06:03:21 2022-05-11 06:03:21,058 [run_tag] DEBUG tag force:False 06:03:21 2022-05-11 06:03:21,059 [check_head_tag] DEBUG check head tag 06:03:21 2022-05-11 06:03:21,059 [execute] INFO git cat-file --batch-check 06:03:21 2022-05-11 06:03:21,060 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:03:21 2022-05-11 06:03:21,063 [execute] INFO git cat-file --batch 06:03:21 2022-05-11 06:03:21,063 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:03:21 2022-05-11 06:03:21,077 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:03:21 2022-05-11 06:03:21,077 [execute] INFO git tag -a v2.2.0-dev.20 -m v2.2.0-dev.20 06:03:21 2022-05-11 06:03:21,078 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.20', '-m', 'v2.2.0-dev.20'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 06:03:21 2022-05-11 06:03:21,083 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:03:21 2.2.0-dev.20 [Pipeline] } 06:03:21 $ docker exec --env ******** --env ******** 866d1fd0e846c64a672251603f997b9c682e092c8d206717990d16ba8ffc8744 ssh-agent -k 06:03:21 unset SSH_AUTH_SOCK; 06:03:21 unset SSH_AGENT_PID; 06:03:21 echo Agent pid 40 killed; 06:03:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:03:21 + git semver [Pipeline] } 06:03:22 $ docker stop --time=1 866d1fd0e846c64a672251603f997b9c682e092c8d206717990d16ba8ffc8744 06:03:23 $ docker rm -f 866d1fd0e846c64a672251603f997b9c682e092c8d206717990d16ba8ffc8744 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 06:03:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:03:23 06:03:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 06:03:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:03:24 0.23.1-centos7: Pulling from edgex-lftools 06:03:24 ab5ef0e58194: Pulling fs layer 06:03:24 9712f1f96733: Pulling fs layer 06:03:24 63f879dbbcfc: Pulling fs layer 06:03:24 0d9ebad4ef96: Pulling fs layer 06:03:24 e9a5061849ea: Pulling fs layer 06:03:24 d747dcd14b5f: Pulling fs layer 06:03:24 2de7ff778b66: Pulling fs layer 06:03:24 e9a5061849ea: Waiting 06:03:24 d747dcd14b5f: Waiting 06:03:24 2de7ff778b66: Waiting 06:03:24 0d9ebad4ef96: Waiting 06:03:24 9712f1f96733: Verifying Checksum 06:03:24 9712f1f96733: Download complete 06:03:24 63f879dbbcfc: Verifying Checksum 06:03:24 63f879dbbcfc: Download complete 06:03:24 e9a5061849ea: Verifying Checksum 06:03:24 e9a5061849ea: Download complete 06:03:24 0d9ebad4ef96: Verifying Checksum 06:03:24 0d9ebad4ef96: Download complete 06:03:24 ab5ef0e58194: Verifying Checksum 06:03:24 ab5ef0e58194: Download complete 06:03:24 d747dcd14b5f: Verifying Checksum 06:03:24 d747dcd14b5f: Download complete 06:03:25 2de7ff778b66: Verifying Checksum 06:03:25 2de7ff778b66: Download complete 06:03:27 ab5ef0e58194: Pull complete 06:03:27 9712f1f96733: Pull complete 06:03:28 63f879dbbcfc: Pull complete 06:03:31 0d9ebad4ef96: Pull complete 06:03:32 e9a5061849ea: Pull complete 06:03:32 d747dcd14b5f: Pull complete 06:03:33 2de7ff778b66: Pull complete 06:03:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:03:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:03:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 06:03:33 prd-ubuntu20.04-docker-8c-8g-63056 does not seem to be running inside a container 06:03:33 $ 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 06:03:39 $ docker top 718e3f87edc0ad062a1d11f396c5050dd02a0cdafe689d57b67c1959cec84f93 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:03:39 provisioning config files... 06:03:39 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1113959052901568884tmp 06:03:39 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5213686186152695006tmp 06:03:39 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config990899164029884302tmp [Pipeline] { [Pipeline] echo 06:03:39 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:03:40 ---> sigul-configuration.sh 06:03:40 gpg: directory `/root/.gnupg' created 06:03:40 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:03:40 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:03:40 gpg: keyring `/root/.gnupg/secring.gpg' created 06:03:40 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:03:40 gpg: CAST5 encrypted data 06:03:40 gpg: encrypted with 1 passphrase 06:03:40 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:03:40 + mkdir /home/jenkins 06:03:40 + mkdir /home/jenkins/sigul [Pipeline] sh 06:03:40 + 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 06:03:40 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:03:41 ---> sigul-install.sh 06:03:41 Sigul already installed; skipping installation. [Pipeline] sh 06:03:41 + git tag --list 06:03:41 0.7.1 06:03:41 v1.0.0 06:03:41 v1.1.0 06:03:41 v1.1.1 06:03:41 v1.2.2 06:03:41 v1.3.0 06:03:41 v1.3.1 06:03:41 v2.0.0 06:03:41 v2.0.1-dev.1 06:03:41 v2.0.1-dev.10 06:03:41 v2.0.1-dev.11 06:03:41 v2.0.1-dev.12 06:03:41 v2.0.1-dev.2 06:03:41 v2.0.1-dev.3 06:03:41 v2.0.1-dev.4 06:03:41 v2.0.1-dev.5 06:03:41 v2.0.1-dev.6 06:03:41 v2.0.1-dev.7 06:03:41 v2.0.1-dev.8 06:03:41 v2.0.1-dev.9 06:03:41 v2.1.0 06:03:41 v2.2.0-dev.1 06:03:41 v2.2.0-dev.10 06:03:41 v2.2.0-dev.11 06:03:41 v2.2.0-dev.12 06:03:41 v2.2.0-dev.13 06:03:41 v2.2.0-dev.14 06:03:41 v2.2.0-dev.15 06:03:41 v2.2.0-dev.16 06:03:41 v2.2.0-dev.17 06:03:41 v2.2.0-dev.18 06:03:41 v2.2.0-dev.19 06:03:41 v2.2.0-dev.2 06:03:41 v2.2.0-dev.20 06:03:41 v2.2.0-dev.3 06:03:41 v2.2.0-dev.4 06:03:41 v2.2.0-dev.5 06:03:41 v2.2.0-dev.6 06:03:41 v2.2.0-dev.7 06:03:41 v2.2.0-dev.8 06:03:41 v2.2.0-dev.9 [Pipeline] sh 06:03:41 + lftools sign git-tag v2.2.0-dev.20 06:03:42 Signing Git tag with Sigul... 06:03:42 Signing v2.2.0-dev.20 [Pipeline] echo 06:03:42 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:03:42 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:03:42 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:03:42 $ docker stop --time=1 718e3f87edc0ad062a1d11f396c5050dd02a0cdafe689d57b67c1959cec84f93 06:03:44 $ docker rm -f 718e3f87edc0ad062a1d11f396c5050dd02a0cdafe689d57b67c1959cec84f93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:03:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:03:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:03:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:03:45 . [Pipeline] withDockerContainer 06:03:45 prd-ubuntu20.04-docker-8c-8g-63056 does not seem to be running inside a container 06:03:45 $ 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 06:03:46 $ docker top 2f873f54d792b6725a6a251ae6d79772bc2c1fef924fbfb58be0cb844edfc75d -eo pid,comm 06:03:46 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). 06:03:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:03:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:03:46 [ssh-agent] Looking for ssh-agent implementation... 06:03:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:03:46 $ docker exec 2f873f54d792b6725a6a251ae6d79772bc2c1fef924fbfb58be0cb844edfc75d ssh-agent 06:03:46 SSH_AUTH_SOCK=/tmp/ssh-u4lyRwmr4PaX/agent.14 06:03:46 SSH_AGENT_PID=20 06:03:46 Running ssh-add (command line suppressed) 06:03:46 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1776452875683844605.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1776452875683844605.key) 06:03:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:03:47 + git semver bump pre 06:03:47 2022-05-11 06:03:47,388 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:03:47 2022-05-11 06:03:47,388 [bump_version] DEBUG bumping version:2.2.0-dev.20 on axis:pre with prefix:dev 06:03:47 2022-05-11 06:03:47,388 [bump_version] DEBUG bumped version:2.2.0-dev.21 06:03:47 2022-05-11 06:03:47,388 [write_version] DEBUG write version:2.2.0-dev.21 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 06:03:47 2022-05-11 06:03:47,388 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:03:47 2022-05-11 06:03:47,388 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:03:47 2022-05-11 06:03:47,390 [execute] INFO git cat-file --batch-check 06:03:47 2022-05-11 06:03:47,390 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:03:47 2022-05-11 06:03:47,395 [execute] INFO git cat-file --batch 06:03:47 2022-05-11 06:03:47,396 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:03:47 2022-05-11 06:03:47,401 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:03:47 2.2.0-dev.21 [Pipeline] } 06:03:47 $ docker exec --env ******** --env ******** 2f873f54d792b6725a6a251ae6d79772bc2c1fef924fbfb58be0cb844edfc75d ssh-agent -k 06:03:47 unset SSH_AUTH_SOCK; 06:03:47 unset SSH_AGENT_PID; 06:03:47 echo Agent pid 20 killed; 06:03:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:03:47 + git semver [Pipeline] } 06:03:48 $ docker stop --time=1 2f873f54d792b6725a6a251ae6d79772bc2c1fef924fbfb58be0cb844edfc75d 06:03:49 $ docker rm -f 2f873f54d792b6725a6a251ae6d79772bc2c1fef924fbfb58be0cb844edfc75d [Pipeline] // withDockerContainer [Pipeline] sh 06:03:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:03:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:03:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:03:50 . [Pipeline] withDockerContainer 06:03:50 prd-ubuntu20.04-docker-8c-8g-63056 does not seem to be running inside a container 06:03:50 $ 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 06:03:50 $ docker top 460f52922708696be6b91eed97386d8b7057f8eb100484966e0661ec5126f8ad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:03:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:03:50 [ssh-agent] Looking for ssh-agent implementation... 06:03:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:03:51 $ docker exec 460f52922708696be6b91eed97386d8b7057f8eb100484966e0661ec5126f8ad ssh-agent 06:03:51 SSH_AUTH_SOCK=/tmp/ssh-52w1ky2xd9bi/agent.32 06:03:51 SSH_AGENT_PID=39 06:03:51 Running ssh-add (command line suppressed) 06:03:51 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4907827359766201443.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4907827359766201443.key) 06:03:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:03:51 + git semver push 06:03:51 2022-05-11 06:03:51,768 [run_push] DEBUG push 06:03:51 2022-05-11 06:03:51,769 [execute] INFO git push origin semver 06:03:51 2022-05-11 06:03:51,769 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:03:52 2022-05-11 06:03:52,510 [run_push] DEBUG push all version tags 06:03:52 2022-05-11 06:03:52,510 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:03:52 2022-05-11 06:03:52,511 [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) 06:03:53 2022-05-11 06:03:53,256 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:03:53 2.2.0-dev.21 [Pipeline] } 06:03:53 $ docker exec --env ******** --env ******** 460f52922708696be6b91eed97386d8b7057f8eb100484966e0661ec5126f8ad ssh-agent -k 06:03:53 unset SSH_AUTH_SOCK; 06:03:53 unset SSH_AGENT_PID; 06:03:53 echo Agent pid 39 killed; 06:03:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:03:53 + git semver [Pipeline] } 06:03:54 $ docker stop --time=1 460f52922708696be6b91eed97386d8b7057f8eb100484966e0661ec5126f8ad 06:03:55 $ docker rm -f 460f52922708696be6b91eed97386d8b7057f8eb100484966e0661ec5126f8ad [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 06:03:55 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 06:03:55 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:03:55 total 16 06:03:55 drwxr-xr-x 3 root root 4096 May 11 05:52 . 06:03:55 drwxrwxr-x 11 jenkins jenkins 4096 May 11 06:03 .. 06:03:55 drwxr-xr-x 2 root root 4096 May 11 05:52 cost 06:03:55 -rw-r--r-- 1 root root 86 May 11 05:52 cost.csv 06:03:55 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 06:03:55 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:03:55 total 16 06:03:55 drwxr-xr-x 3 jenkins jenkins 4096 May 11 05:52 . 06:03:55 drwxrwxr-x 11 jenkins jenkins 4096 May 11 06:03 .. 06:03:55 drwxr-xr-x 2 jenkins jenkins 4096 May 11 05:52 cost 06:03:55 -rw-r--r-- 1 jenkins jenkins 86 May 11 05:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:03:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:03:57 ---> package-listing.sh 06:03:57 ++ facter osfamily 06:03:57 ++ tr '[:upper:]' '[:lower:]' 06:03:57 + OS_FAMILY=debian 06:03:57 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 06:03:57 + START_PACKAGES=/tmp/packages_start.txt 06:03:57 + END_PACKAGES=/tmp/packages_end.txt 06:03:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:03:57 + PACKAGES=/tmp/packages_start.txt 06:03:57 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:03:57 + PACKAGES=/tmp/packages_end.txt 06:03:57 + case "${OS_FAMILY}" in 06:03:57 + dpkg -l 06:03:57 + grep '^ii' 06:03:57 + '[' -f /tmp/packages_start.txt ']' 06:03:57 + '[' -f /tmp/packages_end.txt ']' 06:03:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:03:57 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:03:57 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 06:03:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 06:03:57 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 06:03:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:03:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:03:58 . [Pipeline] withDockerContainer 06:03:58 prd-ubuntu20.04-docker-8c-8g-63056 does not seem to be running inside a container 06:03:58 $ 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 06:03:58 $ docker top 3b88831fd0ae535306c9ffc6ee9d1da0fe11bf5b2849e85b04e0a4fb6beb46ec -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:58 + touch /tmp/pre-build-complete [Pipeline] sh 06:03:59 + mkdir -p /var/log/sysstat [Pipeline] sh 06:03:59 + ls /var/log/sa-host 06:03:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:03:59 provisioning config files... 06:03:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3444425026859230274tmp [Pipeline] { [Pipeline] echo 06:03:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:03:59 ---> create-netrc.sh [Pipeline] } 06:03:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:04:00 ---> python-tools-install.sh [Pipeline] echo 06:04:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:04:00 ---> sudo-logs.sh 06:04:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:04:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:04:00 ---> job-cost.sh 06:04:00 lf-activate-venv: SKIPPING 06:04:00 DEBUG: total: 0.2199999988079071 06:04:00 INFO: Retrieving Stack Cost... 06:04:01 INFO: Retrieving Pricing Info for: v3-standard-8 06:04:02 INFO: Archiving Costs [Pipeline] echo 06:04:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:04:02 ---> logs-deploy.sh 06:04:02 lf-activate-venv: SKIPPING 06:04:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/38 06:04:02 INFO: archiving workspace using pattern(s): 06:04:03 Archives upload complete. 06:04:03 INFO: archiving logs to Nexus