Pull request #341 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d4e467d0ce894c5b99ae8bcc9c76f23c685c174c+19472f7a5fdc6e4787d855a3cc3865d021cdd964 (6bcec5a5e15abb4af40ba084cfe2bb5ca01eaef5) 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-ssh5026039427231638052.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15470883837680664560.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-341/workspace@libs/edgex-global-pipelines # timeout=10 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/PR-341/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13330484289883584125.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-341/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7459116247004510599.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh15725933446775001462.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-341/workspace@libs/lf-pipelines # timeout=10 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/PR-341/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11872497357334815194.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-34415 in /w/workspace/xfoundry_device-modbus-go_PR-341 [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/xfoundry_device-modbus-go_PR-341 # 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 Merging remotes/origin/main commit 19472f7a5fdc6e4787d855a3cc3865d021cdd964 into PR head commit d4e467d0ce894c5b99ae8bcc9c76f23c685c174c Merge succeeded, producing d4e467d0ce894c5b99ae8bcc9c76f23c685c174c Checking out Revision d4e467d0ce894c5b99ae8bcc9c76f23c685c174c (PR-341) > 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 remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/341/head:refs/remotes/origin/PR-341 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d4e467d0ce894c5b99ae8bcc9c76f23c685c174c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 19472f7a5fdc6e4787d855a3cc3865d021cdd964 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d4e467d0ce894c5b99ae8bcc9c76f23c685c174c # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:09:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:09:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:09:41 ========================================================= 05:09:41 EdgeX Global Pipelines Version Info 05:09:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:09:42 ------------------- 05:09:42 stable info: 05:09:42 ------------------- 05:09:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:09:42 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 05:09:42 Message: update stable to v1.0.227 05:09:43 ------------------- 05:09:43 experimental info: 05:09:43 ------------------- 05:09:43 Commited By: **** collab-it+edgex@linuxfoundation.org 05:09:43 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 05:09:43 Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:09:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:09:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:09:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:09:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:09:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:09:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:09:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:09:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:09:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:09:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:09:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:09:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:09:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:09:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:09:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:09:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:09:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:09:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:09:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:09:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:09:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:09:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:09:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:09:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:09:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:09:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:09:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-341 [Pipeline] echo 05:09:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-341 [Pipeline] echo 05:09:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-341 [Pipeline] echo 05:09:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d4e467d0ce894c5b99ae8bcc9c76f23c685c174c [Pipeline] echo 05:09:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d4e467d [Pipeline] echo 05:09:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:09:44 provisioning config files... 05:09:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-341@tmp/config2606034525105879978tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:45 ---> docker-login.sh 05:09:45 nexus3.edgexfoundry.org:10001 05:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:45 Configure a credential helper to remove this warning. See 05:09:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:45 05:09:45 Login Succeeded 05:09:45 nexus3.edgexfoundry.org:10002 05:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:45 Configure a credential helper to remove this warning. See 05:09:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:45 05:09:45 Login Succeeded 05:09:45 nexus3.edgexfoundry.org:10003 05:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:45 Configure a credential helper to remove this warning. See 05:09:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:45 05:09:45 Login Succeeded 05:09:45 nexus3.edgexfoundry.org:10004 05:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:45 Configure a credential helper to remove this warning. See 05:09:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:45 05:09:45 Login Succeeded 05:09:45 docker.io 05:09:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:46 Configure a credential helper to remove this warning. See 05:09:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:46 05:09:46 Login Succeeded 05:09:46 ---> docker-login.sh ends [Pipeline] } 05:09:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:09:47 + git rev-list -1 --merges d4e467d0ce894c5b99ae8bcc9c76f23c685c174c~1..d4e467d0ce894c5b99ae8bcc9c76f23c685c174c [Pipeline] echo 05:09:47 -----------> git rev-list -1 --merges d4e467d0ce894c5b99ae8bcc9c76f23c685c174c~1..d4e467d0ce894c5b99ae8bcc9c76f23c685c174c d4e467d0ce894c5b99ae8bcc9c76f23c685c174c [false] [Pipeline] sh 05:09:47 + git log --format=format:%s -1 d4e467d0ce894c5b99ae8bcc9c76f23c685c174c [Pipeline] echo 05:09:47 ========================================================= 05:09:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:09:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:09:48 + git log --format=format:%s -1 d4e467d0ce894c5b99ae8bcc9c76f23c685c174c [Pipeline] echo 05:09:48 [semverPrep] GIT_COMMIT: d4e467d0ce894c5b99ae8bcc9c76f23c685c174c, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 05:09:48 [semverPrep] This is not a build commit. [Pipeline] sh 05:09:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:09:48 + grep -v github /etc/ssh/ssh_known_hosts 05:09:48 + [ -e /tmp/ssh_known_hosts ] 05:09:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:09:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:09:48 + sudo tee -a /etc/ssh/ssh_known_hosts 05:09:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:09:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:09:48 05:09:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:09:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:09:49 latest: Pulling from edgex-devops/py-git-semver 05:09:49 1fe172e4850f: Pulling fs layer 05:09:49 caf521ccaac6: Pulling fs layer 05:09:49 3ead6fa29328: Pulling fs layer 05:09:49 5c2a1cbceb83: Pulling fs layer 05:09:49 a8d5f1318db7: Pulling fs layer 05:09:49 c427282e49a2: Pulling fs layer 05:09:49 1827001aaf11: Pulling fs layer 05:09:49 0714d37db230: Pulling fs layer 05:09:49 ac28cf19c067: Pulling fs layer 05:09:49 ca983d60f3e2: Pulling fs layer 05:09:49 9f894cec8388: Pulling fs layer 05:09:49 5c2a1cbceb83: Waiting 05:09:49 a8d5f1318db7: Waiting 05:09:49 c427282e49a2: Waiting 05:09:49 1827001aaf11: Waiting 05:09:49 0714d37db230: Waiting 05:09:49 ac28cf19c067: Waiting 05:09:49 ca983d60f3e2: Waiting 05:09:49 9f894cec8388: Waiting 05:09:49 caf521ccaac6: Verifying Checksum 05:09:49 caf521ccaac6: Download complete 05:09:49 5c2a1cbceb83: Verifying Checksum 05:09:49 5c2a1cbceb83: Download complete 05:09:49 a8d5f1318db7: Verifying Checksum 05:09:49 a8d5f1318db7: Download complete 05:09:49 c427282e49a2: Verifying Checksum 05:09:49 c427282e49a2: Download complete 05:09:49 3ead6fa29328: Verifying Checksum 05:09:49 3ead6fa29328: Download complete 05:09:49 0714d37db230: Verifying Checksum 05:09:49 0714d37db230: Download complete 05:09:49 ac28cf19c067: Download complete 05:09:49 ca983d60f3e2: Download complete 05:09:49 9f894cec8388: Download complete 05:09:49 1fe172e4850f: Verifying Checksum 05:09:49 1fe172e4850f: Download complete 05:09:50 1827001aaf11: Verifying Checksum 05:09:50 1827001aaf11: Download complete 05:09:51 1fe172e4850f: Pull complete 05:09:51 caf521ccaac6: Pull complete 05:09:52 3ead6fa29328: Pull complete 05:09:52 5c2a1cbceb83: Pull complete 05:09:52 a8d5f1318db7: Pull complete 05:09:52 c427282e49a2: Pull complete 05:09:55 1827001aaf11: Pull complete 05:09:55 0714d37db230: Pull complete 05:09:55 ac28cf19c067: Pull complete 05:09:55 ca983d60f3e2: Pull complete 05:09:55 9f894cec8388: Pull complete 05:09:55 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 05:09:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:09:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 05:09:55 prd-ubuntu20.04-docker-8c-8g-34415 does not seem to be running inside a container 05:09:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-341 -v /w/workspace/xfoundry_device-modbus-go_PR-341:/w/workspace/xfoundry_device-modbus-go_PR-341:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-341@tmp:/w/workspace/xfoundry_device-modbus-go_PR-341@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 05:09:57 $ docker top b5b3b66dadb9191daba35a5df881036a8774c1296709dc3e4b17b7644f6bc7be -eo pid,comm 05:09:57 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:09:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:09:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:09:57 [ssh-agent] Looking for ssh-agent implementation... 05:09:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:09:57 $ docker exec b5b3b66dadb9191daba35a5df881036a8774c1296709dc3e4b17b7644f6bc7be ssh-agent 05:09:57 SSH_AUTH_SOCK=/tmp/ssh-fn0lBmWTjncG/agent.32 05:09:57 SSH_AGENT_PID=38 05:09:57 Running ssh-add (command line suppressed) 05:09:57 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-341@tmp/private_key_4655638725460846803.key (/w/workspace/xfoundry_device-modbus-go_PR-341@tmp/private_key_4655638725460846803.key) 05:09:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:09:58 + git tag --points-at HEAD [Pipeline] } 05:09:58 $ docker exec --env ******** --env ******** b5b3b66dadb9191daba35a5df881036a8774c1296709dc3e4b17b7644f6bc7be ssh-agent -k 05:09:58 unset SSH_AUTH_SOCK; 05:09:58 unset SSH_AGENT_PID; 05:09:58 echo Agent pid 38 killed; 05:09:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:09:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:09:58 [ssh-agent] Looking for ssh-agent implementation... 05:09:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:09:58 $ docker exec b5b3b66dadb9191daba35a5df881036a8774c1296709dc3e4b17b7644f6bc7be ssh-agent 05:09:58 SSH_AUTH_SOCK=/tmp/ssh-7WyYDbzR6YG2/agent.71 05:09:58 SSH_AGENT_PID=77 05:09:58 Running ssh-add (command line suppressed) 05:09:58 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-341@tmp/private_key_4809832494465926257.key (/w/workspace/xfoundry_device-modbus-go_PR-341@tmp/private_key_4809832494465926257.key) 05:09:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:09:59 + git semver init 05:09:59 2022-05-02 05:09:59,529 [run_init] DEBUG init version:0.0.0 force:False 05:09:59 2022-05-02 05:09:59,530 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-341/.semver 05:09:59 2022-05-02 05:09:59,530 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-341/.semver 05:09:59 2022-05-02 05:09:59,531 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-341/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-341, universal_newlines=False, shell=None, istream=None) 05:10:00 2022-05-02 05:10:00,388 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-341/.git/info/exclude 05:10:00 2022-05-02 05:10:00,389 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-341/.semver/PR-341 with force:False 05:10:00 2022-05-02 05:10:00,389 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-341/.semver/PR-341 05:10:00 2022-05-02 05:10:00,393 [execute] INFO git cat-file --batch-check 05:10:00 2022-05-02 05:10:00,394 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-341/.semver, universal_newlines=False, shell=None, istream=) 05:10:00 2022-05-02 05:10:00,400 [execute] INFO git cat-file --batch 05:10:00 2022-05-02 05:10:00,400 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-341/.semver, universal_newlines=False, shell=None, istream=) 05:10:00 2022-05-02 05:10:00,405 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-341/.semver/PR-341 05:10:00 0.0.0 [Pipeline] } 05:10:00 $ docker exec --env ******** --env ******** b5b3b66dadb9191daba35a5df881036a8774c1296709dc3e4b17b7644f6bc7be ssh-agent -k 05:10:00 unset SSH_AUTH_SOCK; 05:10:00 unset SSH_AGENT_PID; 05:10:00 echo Agent pid 77 killed; 05:10:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:10:01 + git semver [Pipeline] } 05:10:01 $ docker stop --time=1 b5b3b66dadb9191daba35a5df881036a8774c1296709dc3e4b17b7644f6bc7be 05:10:02 $ docker rm -f b5b3b66dadb9191daba35a5df881036a8774c1296709dc3e4b17b7644f6bc7be [Pipeline] // withDockerContainer [Pipeline] sh 05:10:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:10:03 Stashed 1 file(s) [Pipeline] echo 05:10:03 [edgeXSemver]: initialized semver on version 0.0.0 [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:10:04 provisioning config files... 05:10:04 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-341@tmp/config8932118697779612255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:10:04 ---> docker-login.sh 05:10:04 nexus3.edgexfoundry.org:10001 05:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:04 Configure a credential helper to remove this warning. See 05:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:04 05:10:04 Login Succeeded 05:10:04 nexus3.edgexfoundry.org:10002 05:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:04 Configure a credential helper to remove this warning. See 05:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:04 05:10:04 Login Succeeded 05:10:04 nexus3.edgexfoundry.org:10003 05:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:04 Configure a credential helper to remove this warning. See 05:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:04 05:10:04 Login Succeeded 05:10:04 nexus3.edgexfoundry.org:10004 05:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:05 Configure a credential helper to remove this warning. See 05:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:05 05:10:05 Login Succeeded 05:10:05 docker.io 05:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:05 Configure a credential helper to remove this warning. See 05:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:05 05:10:05 Login Succeeded 05:10:05 ---> docker-login.sh ends [Pipeline] } 05:10:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:10:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:10:06 ========================================================= 05:10:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:10:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:10:06 + 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:10:06 Sending build context to Docker daemon 5.924MB 05:10:06 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 05:10:06 Step 2/10 : FROM ${BASE} AS builder 05:10:06 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:10:06 59bf1c3509f3: Pulling fs layer 05:10:06 666ba61612fd: Pulling fs layer 05:10:06 8ed8ca486205: Pulling fs layer 05:10:06 4fe6c5a15a65: Pulling fs layer 05:10:06 22a0e8bec74d: Pulling fs layer 05:10:06 ca2b28591e48: Pulling fs layer 05:10:06 a51346096db8: Pulling fs layer 05:10:06 daebc70d1ce1: Pulling fs layer 05:10:06 0e18a0eac166: Pulling fs layer 05:10:06 ca2b28591e48: Waiting 05:10:06 a51346096db8: Waiting 05:10:06 daebc70d1ce1: Waiting 05:10:06 0e18a0eac166: Waiting 05:10:06 4fe6c5a15a65: Waiting 05:10:06 22a0e8bec74d: Waiting 05:10:06 8ed8ca486205: Verifying Checksum 05:10:06 8ed8ca486205: Download complete 05:10:06 666ba61612fd: Download complete 05:10:06 22a0e8bec74d: Verifying Checksum 05:10:06 22a0e8bec74d: Download complete 05:10:06 ca2b28591e48: Download complete 05:10:06 59bf1c3509f3: Verifying Checksum 05:10:06 59bf1c3509f3: Download complete 05:10:06 a51346096db8: Verifying Checksum 05:10:06 a51346096db8: Download complete 05:10:06 daebc70d1ce1: Verifying Checksum 05:10:06 daebc70d1ce1: Download complete 05:10:06 59bf1c3509f3: Pull complete 05:10:06 666ba61612fd: Pull complete 05:10:06 8ed8ca486205: Pull complete 05:10:07 0e18a0eac166: Download complete 05:10:07 4fe6c5a15a65: Verifying Checksum 05:10:07 4fe6c5a15a65: Download complete 05:10:12 4fe6c5a15a65: Pull complete 05:10:12 22a0e8bec74d: Pull complete 05:10:12 ca2b28591e48: Pull complete 05:10:12 a51346096db8: Pull complete 05:10:12 daebc70d1ce1: Pull complete 05:10:14 0e18a0eac166: Pull complete 05:10:14 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 05:10:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:10:14 ---> f018257e8ee9 05:10:14 Step 3/10 : ARG MAKE='make build' 05:10:17 ---> Running in 42bbc1fb3222 05:10:17 Removing intermediate container 42bbc1fb3222 05:10:17 ---> c8e88f19ba54 05:10:17 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:10:17 ---> Running in 61babdfe9c73 05:10:18 Removing intermediate container 61babdfe9c73 05:10:18 ---> 6593c017c7c9 05:10:18 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:10:18 ---> Running in a6a30f6b527d 05:10:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:10:19 Still waiting to schedule task 05:10:19 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 05:10:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:10:19 (1/8) Installing openssh-keygen (8.8_p1-r1) 05:10:19 (2/8) Installing libedit (20210910.3.1-r0) 05:10:19 (3/8) Installing openssh-client-common (8.8_p1-r1) 05:10:20 (4/8) Installing openssh-client-default (8.8_p1-r1) 05:10:20 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 05:10:20 (6/8) Installing openssh-server-common (8.8_p1-r1) 05:10:20 (7/8) Installing openssh-server (8.8_p1-r1) 05:10:20 (8/8) Installing openssh (8.8_p1-r1) 05:10:20 Executing busybox-1.34.1-r3.trigger 05:10:20 OK: 226 MiB in 60 packages 05:10:21 Removing intermediate container a6a30f6b527d 05:10:21 ---> 3f24886a1e43 05:10:21 Step 6/10 : WORKDIR /device-modbus-go 05:10:21 ---> Running in 1922c097bd06 05:10:21 Removing intermediate container 1922c097bd06 05:10:21 ---> 9d16b07f919b 05:10:21 Step 7/10 : COPY go.mod vendor* ./ 05:10:22 ---> 555f5240b87a 05:10:22 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:10:22 ---> Running in 42a955908e05 05:10:40 Removing intermediate container 42a955908e05 05:10:40 ---> 49fe5871d019 05:10:40 Step 9/10 : COPY . . 05:10:40 ---> e82aee20ece2 05:10:40 Step 10/10 : RUN ${MAKE} 05:10:40 ---> Running in 733d5546277b 05:10:40 noop 05:10:40 Removing intermediate container 733d5546277b 05:10:40 ---> eff8fd1274dd 05:10:40 Successfully built eff8fd1274dd 05:10:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:10:40 + docker inspect -f . ci-base-image-x86_64 05:10:40 . [Pipeline] withDockerContainer 05:10:40 prd-ubuntu20.04-docker-8c-8g-34415 does not seem to be running inside a container 05:10:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-341 -v /w/workspace/xfoundry_device-modbus-go_PR-341:/w/workspace/xfoundry_device-modbus-go_PR-341:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-341@tmp:/w/workspace/xfoundry_device-modbus-go_PR-341@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 ******** -e ******** ci-base-image-x86_64 cat 05:10:41 $ docker top 9dfded81d373cdf677a7652e7599d4718b3dd000f3157a995cb720930be0f75a -eo pid,comm [Pipeline] { [Pipeline] sh 05:10:41 + go version 05:10:41 go version go1.17.6 linux/amd64 [Pipeline] } 05:10:42 $ docker stop --time=1 9dfded81d373cdf677a7652e7599d4718b3dd000f3157a995cb720930be0f75a 05:10:43 $ docker rm -f 9dfded81d373cdf677a7652e7599d4718b3dd000f3157a995cb720930be0f75a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:10:43 + docker inspect -f . ci-base-image-x86_64 05:10:43 . [Pipeline] withDockerContainer 05:10:44 prd-ubuntu20.04-docker-8c-8g-34415 does not seem to be running inside a container 05:10:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-341 -v /w/workspace/xfoundry_device-modbus-go_PR-341:/w/workspace/xfoundry_device-modbus-go_PR-341:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-341@tmp:/w/workspace/xfoundry_device-modbus-go_PR-341@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 ******** -e ******** ci-base-image-x86_64 cat 05:10:44 $ docker top 1680ae5d2e4e410c8ac9cebf3f60bf72c1e4c1c69267f168b2ad03f7999ff423 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:10:45 + make test 05:10:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:10:45 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:10:55 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:10:55 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 46.4% of statements 05:11:02 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:11:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:11:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:11:06 ./bin/test-attribution-txt.sh [Pipeline] echo 05:11:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:11:07 $ docker stop --time=1 1680ae5d2e4e410c8ac9cebf3f60bf72c1e4c1c69267f168b2ad03f7999ff423 05:11:09 $ docker rm -f 1680ae5d2e4e410c8ac9cebf3f60bf72c1e4c1c69267f168b2ad03f7999ff423 [Pipeline] // withDockerContainer [Pipeline] sh 05:11:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:11:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:11:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:11:10 + ls -al . 05:11:10 total 200 05:11:10 drwxrwxr-x 10 jenkins jenkins 4096 May 2 05:11 . 05:11:10 drwxrwxr-x 4 jenkins jenkins 4096 May 2 05:09 .. 05:11:10 -rw-rw-r-- 1 jenkins jenkins 140 May 2 05:09 .dockerignore 05:11:10 drwxrwxr-x 8 jenkins jenkins 4096 May 2 05:10 .git 05:11:10 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:09 .github 05:11:10 -rw-rw-r-- 1 jenkins jenkins 331 May 2 05:09 .gitignore 05:11:10 -rw-rw-r-- 1 jenkins jenkins 41 May 2 05:09 .golangci.yml 05:11:10 drwxr-xr-x 3 jenkins jenkins 4096 May 2 05:10 .semver 05:11:10 -rw-rw-r-- 1 jenkins jenkins 9377 May 2 05:09 Attribution.txt 05:11:10 -rw-rw-r-- 1 jenkins jenkins 6038 May 2 05:09 CHANGELOG.md 05:11:10 -rw-rw-r-- 1 jenkins jenkins 1546 May 2 05:09 Dockerfile 05:11:10 -rw-rw-r-- 1 jenkins jenkins 677 May 2 05:09 GOVERNANCE.md 05:11:10 -rw-rw-r-- 1 jenkins jenkins 680 May 2 05:09 Jenkinsfile 05:11:10 -rw-rw-r-- 1 jenkins jenkins 11340 May 2 05:09 LICENSE 05:11:10 -rw-rw-r-- 1 jenkins jenkins 1905 May 2 05:09 Makefile 05:11:10 -rw-rw-r-- 1 jenkins jenkins 622 May 2 05:09 OWNERS.md 05:11:10 -rw-rw-r-- 1 jenkins jenkins 3680 May 2 05:09 README.md 05:11:10 -rw-rw-r-- 1 jenkins jenkins 5 May 2 05:10 VERSION 05:11:10 drwxrwxr-x 2 jenkins jenkins 4096 May 2 05:09 bin 05:11:10 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:09 cmd 05:11:10 -rw-r--r-- 1 jenkins jenkins 24065 May 2 05:10 coverage.out 05:11:10 -rw-rw-r-- 1 jenkins jenkins 3399 May 2 05:09 go.mod 05:11:10 -rw-rw-r-- 1 jenkins jenkins 54431 May 2 05:09 go.sum 05:11:10 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:09 internal 05:11:10 drwxrwxr-x 2 jenkins jenkins 4096 May 2 05:09 simulator 05:11:10 drwxrwxr-x 4 jenkins jenkins 4096 May 2 05:09 snap 05:11:10 -rw-rw-r-- 1 jenkins jenkins 229 May 2 05:09 version.go [Pipeline] isUnix [Pipeline] sh 05:11:11 + 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=d4e467d0ce894c5b99ae8bcc9c76f23c685c174c --label arch=amd64 --label version=0.0.0 . 05:11:11 Sending build context to Docker daemon 5.949MB 05:11:11 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 05:11:11 Step 2/23 : FROM ${BASE} AS builder 05:11:11 ---> eff8fd1274dd 05:11:11 Step 3/23 : ARG MAKE='make build' 05:11:11 ---> Running in 072af366f1d6 05:11:11 Removing intermediate container 072af366f1d6 05:11:11 ---> 54c1ed06d53e 05:11:11 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:11:11 ---> Running in 39196976d9b3 05:11:11 Removing intermediate container 39196976d9b3 05:11:11 ---> 4c05d7b483ea 05:11:11 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:11:12 ---> Running in fb345c29fd7f 05:11:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:11:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:11:13 OK: 226 MiB in 60 packages 05:11:13 Removing intermediate container fb345c29fd7f 05:11:13 ---> 0ecf58692603 05:11:13 Step 6/23 : WORKDIR /device-modbus-go 05:11:13 ---> Running in dc001bbd6ac9 05:11:13 Removing intermediate container dc001bbd6ac9 05:11:13 ---> f8bbeff15b0f 05:11:13 Step 7/23 : COPY go.mod vendor* ./ 05:11:14 ---> 76712769cea5 05:11:14 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:11:14 ---> Running in 43842be80916 05:11:14 Removing intermediate container 43842be80916 05:11:14 ---> 32a9aa16877a 05:11:14 Step 9/23 : COPY . . 05:11:15 ---> 9f25dc854bac 05:11:15 Step 10/23 : RUN ${MAKE} 05:11:15 ---> Running in 76d5e21dd4f7 05:11:15 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:11:37 Removing intermediate container 76d5e21dd4f7 05:11:37 ---> b56ef50a7e86 05:11:37 Step 11/23 : FROM alpine:3.14 05:11:37 3.14: Pulling from library/alpine 05:11:37 8663204ce13b: Pulling fs layer 05:11:37 8663204ce13b: Verifying Checksum 05:11:37 8663204ce13b: Download complete 05:11:37 8663204ce13b: Pull complete 05:11:37 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:11:37 Status: Downloaded newer image for alpine:3.14 05:11:37 ---> e04c818066af 05:11:37 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:11:37 ---> Running in 441abf3d225c 05:11:37 Removing intermediate container 441abf3d225c 05:11:37 ---> cd3e3e7ca3fc 05:11:37 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:11:37 ---> Running in f301ffc18cca 05:11:38 Removing intermediate container f301ffc18cca 05:11:38 ---> 64a16d11fc6f 05:11:38 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 05:11:38 ---> Running in 8144a81de918 05:11:38 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:11:39 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:11:39 (1/6) Installing dumb-init (1.2.5-r1) 05:11:39 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:11:39 (3/6) Installing libsodium (1.0.18-r0) 05:11:40 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:11:40 (5/6) Installing libzmq (4.3.4-r0) 05:11:40 (6/6) Installing zeromq (4.3.4-r0) 05:11:40 Executing busybox-1.33.1-r7.trigger 05:11:40 OK: 8 MiB in 20 packages 05:11:40 Removing intermediate container 8144a81de918 05:11:40 ---> 165027b23766 05:11:40 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:11:41 ---> a718231e15c9 05:11:41 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:11:41 ---> af6b7c8812b6 05:11:41 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:11:41 ---> f0544647b5e5 05:11:41 Step 18/23 : EXPOSE 59901 05:11:41 ---> Running in f30a7ddba3be 05:11:41 Removing intermediate container f30a7ddba3be 05:11:41 ---> dae13841baec 05:11:41 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:11:42 ---> Running in 274ff1c333df 05:11:42 Removing intermediate container 274ff1c333df 05:11:42 ---> e830498c24b5 05:11:42 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:11:42 ---> Running in 3c818e5ab216 05:11:42 Removing intermediate container 3c818e5ab216 05:11:42 ---> 6a6bb9f83e4a 05:11:42 Step 21/23 : LABEL arch=amd64 05:11:42 ---> Running in 8a931bb8c85b 05:11:42 Removing intermediate container 8a931bb8c85b 05:11:42 ---> 137fbf8b0183 05:11:42 Step 22/23 : LABEL git_sha=d4e467d0ce894c5b99ae8bcc9c76f23c685c174c 05:11:42 ---> Running in 31c5e61a5e85 05:11:42 Removing intermediate container 31c5e61a5e85 05:11:42 ---> eaf2e4fcc215 05:11:42 Step 23/23 : LABEL version=0.0.0 05:11:42 ---> Running in c8298936c94f 05:11:42 Removing intermediate container c8298936c94f 05:11:42 ---> 8c163dda2e09 05:11:42 [Warning] One or more build-args [ARCH] were not consumed 05:11:42 Successfully built 8c163dda2e09 05:11:42 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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:11:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:43 05:11:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:11:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:43 latest: Pulling from edgex-lftools-log-publisher 05:11:43 5eb5b503b376: Pulling fs layer 05:11:43 5c69ac0246d0: Pulling fs layer 05:11:43 ec43610c2a17: Pulling fs layer 05:11:43 3a2ae6a8a46f: Pulling fs layer 05:11:43 33b1e0a273af: Pulling fs layer 05:11:43 5d3b04190fa2: Pulling fs layer 05:11:43 2f39f015ded8: Pulling fs layer 05:11:43 33b1e0a273af: Waiting 05:11:43 5d3b04190fa2: Waiting 05:11:43 3a2ae6a8a46f: Waiting 05:11:43 5c69ac0246d0: Download complete 05:11:43 3a2ae6a8a46f: Verifying Checksum 05:11:43 3a2ae6a8a46f: Download complete 05:11:43 33b1e0a273af: Verifying Checksum 05:11:43 33b1e0a273af: Download complete 05:11:43 5d3b04190fa2: Verifying Checksum 05:11:43 5d3b04190fa2: Download complete 05:11:43 ec43610c2a17: Verifying Checksum 05:11:43 ec43610c2a17: Download complete 05:11:43 5eb5b503b376: Verifying Checksum 05:11:43 5eb5b503b376: Download complete 05:11:44 2f39f015ded8: Download complete 05:11:45 5eb5b503b376: Pull complete 05:11:45 5c69ac0246d0: Pull complete 05:11:45 ec43610c2a17: Pull complete 05:11:45 3a2ae6a8a46f: Pull complete 05:11:46 33b1e0a273af: Pull complete 05:11:46 5d3b04190fa2: Pull complete 05:11:51 2f39f015ded8: Pull complete 05:11:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:11:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:11:51 prd-ubuntu20.04-docker-8c-8g-34415 does not seem to be running inside a container 05:11:51 $ 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/xfoundry_device-modbus-go_PR-341 -v /w/workspace/xfoundry_device-modbus-go_PR-341:/w/workspace/xfoundry_device-modbus-go_PR-341:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-341@tmp:/w/workspace/xfoundry_device-modbus-go_PR-341@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:11:54 $ docker top 0a01111dd05e4d92e7a220c5bd7dc06f17482a9a09d26b74d9b8190b5150df23 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:11:55 ---> job-cost.sh 05:11:55 lf-activate-venv: SKIPPING 05:11:55 INFO: No Stack... 05:11:55 INFO: Retrieving Pricing Info for: v3-standard-8 05:11:56 INFO: Archiving Costs [Pipeline] sh 05:11:56 + + cat /w/workspace/xfoundry_device-modbus-go_PR-341/archives/cost.csv 05:11:56 cut -d, -f6 [Pipeline] lock 05:11:56 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-341-1-stack-cost] 05:11:56 Resource [jenkins-edgexfoundry-device-modbus-go-PR-341-1-stack-cost] did not exist. Created. 05:11:56 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-341-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:11:56 + echo total: 0.2199999988079071 [Pipeline] stash 05:11:56 Stashed 1 file(s) [Pipeline] } 05:11:56 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-341-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:11:57 $ docker stop --time=1 0a01111dd05e4d92e7a220c5bd7dc06f17482a9a09d26b74d9b8190b5150df23 05:11:58 $ docker rm -f 0a01111dd05e4d92e7a220c5bd7dc06f17482a9a09d26b74d9b8190b5150df23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:15:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-34460 in /w/workspace/xfoundry_device-modbus-go_PR-341 [Pipeline] { [Pipeline] ws 05:15:16 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:15:16 Selected Git installation does not exist. Using Default 05:15:16 The recommended git tool is: NONE 05:15:21 using credential edgex-jenkins-ssh 05:15:21 Cloning the remote Git repository 05:15:21 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:15:21 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:15:22 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:15:22 > git --version # timeout=10 05:15:22 > git --version # 'git version 2.25.1' 05:15:22 using GIT_SSH to set credentials SSH Credentials for GitHub 05:15:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:15:23 Merging remotes/origin/main commit 19472f7a5fdc6e4787d855a3cc3865d021cdd964 into PR head commit d4e467d0ce894c5b99ae8bcc9c76f23c685c174c 05:15:24 Merge succeeded, producing d4e467d0ce894c5b99ae8bcc9c76f23c685c174c 05:15:24 Checking out Revision d4e467d0ce894c5b99ae8bcc9c76f23c685c174c (PR-341) 05:15:23 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:15:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:15:23 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:15:23 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:15:23 using GIT_SSH to set credentials SSH Credentials for GitHub 05:15:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/341/head:refs/remotes/origin/PR-341 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:15:24 > git config core.sparsecheckout # timeout=10 05:15:24 > git checkout -f d4e467d0ce894c5b99ae8bcc9c76f23c685c174c # timeout=10 05:15:24 > git remote # timeout=10 05:15:24 > git config --get remote.origin.url # timeout=10 05:15:24 using GIT_SSH to set credentials SSH Credentials for GitHub 05:15:24 > git merge 19472f7a5fdc6e4787d855a3cc3865d021cdd964 # timeout=10 05:15:24 > git rev-parse HEAD^{commit} # timeout=10 05:15:24 > git config core.sparsecheckout # timeout=10 05:15:24 > git checkout -f d4e467d0ce894c5b99ae8bcc9c76f23c685c174c # timeout=10 05:15:28 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:15:28 > git --version # timeout=10 05:15:28 > git --version # 'git version 2.25.1' 05:15:28 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:15:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:15:29 % Total % Received % Xferd Average Speed Time Time Time Current 05:15:29 Dload Upload Total Spent Left Speed 05:15:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 05:15:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:15:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:15:30 + sudo tee /etc/docker/daemon.new 05:15:30 { 05:15:30 "registry-mirrors": [ 05:15:30 "https://nexus3.edgexfoundry.org:10001" 05:15:30 ], 05:15:30 "bip": "10.250.0.254/24", 05:15:30 "hosts": [ 05:15:30 "tcp://0.0.0.0:5555", 05:15:30 "unix:///var/run/docker.sock" 05:15:30 ], 05:15:30 "mtu": 1458, 05:15:30 "selinux-enabled": true, 05:15:30 "seccomp-profile": "/etc/docker/seccomp.json" 05:15:30 } [Pipeline] sh 05:15:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:15:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:15:49 provisioning config files... 05:15:49 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config2200938316902101322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:15:50 ---> docker-login.sh 05:15:50 nexus3.edgexfoundry.org:10001 05:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:51 Configure a credential helper to remove this warning. See 05:15:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:51 05:15:51 Login Succeeded 05:15:51 nexus3.edgexfoundry.org:10002 05:15:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:52 Configure a credential helper to remove this warning. See 05:15:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:52 05:15:52 Login Succeeded 05:15:52 nexus3.edgexfoundry.org:10003 05:15:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:52 Configure a credential helper to remove this warning. See 05:15:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:52 05:15:52 Login Succeeded 05:15:52 nexus3.edgexfoundry.org:10004 05:15:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:53 Configure a credential helper to remove this warning. See 05:15:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:53 05:15:53 Login Succeeded 05:15:53 docker.io 05:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:54 Configure a credential helper to remove this warning. See 05:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:54 05:15:54 Login Succeeded 05:15:54 ---> docker-login.sh ends [Pipeline] } 05:15:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:15:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:15:54 ========================================================= 05:15:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:15:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:15:54 + 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:15:55 Sending build context to Docker daemon 3.09MB 05:15:55 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 05:15:55 Step 2/10 : FROM ${BASE} AS builder 05:15:55 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:15:55 9b3977197b4f: Pulling fs layer 05:15:55 1a89e8eeedd5: Pulling fs layer 05:15:55 94645a83ff95: Pulling fs layer 05:15:55 3f3a8bcf1eab: Pulling fs layer 05:15:55 0c92f367c5e7: Pulling fs layer 05:15:55 3096ccb668a1: Pulling fs layer 05:15:55 e8cf19c19ddd: Pulling fs layer 05:15:55 a4caa8a26152: Pulling fs layer 05:15:55 3f3a8bcf1eab: Waiting 05:15:55 0c92f367c5e7: Waiting 05:15:55 3096ccb668a1: Waiting 05:15:55 e8cf19c19ddd: Waiting 05:15:55 a4caa8a26152: Waiting 05:15:55 94645a83ff95: Verifying Checksum 05:15:55 94645a83ff95: Download complete 05:15:55 1a89e8eeedd5: Download complete 05:15:55 0c92f367c5e7: Verifying Checksum 05:15:55 0c92f367c5e7: Download complete 05:15:55 3096ccb668a1: Verifying Checksum 05:15:55 3096ccb668a1: Download complete 05:15:55 9b3977197b4f: Verifying Checksum 05:15:55 9b3977197b4f: Download complete 05:15:55 e8cf19c19ddd: Verifying Checksum 05:15:55 e8cf19c19ddd: Download complete 05:15:56 9b3977197b4f: Pull complete 05:15:57 1a89e8eeedd5: Pull complete 05:15:57 94645a83ff95: Pull complete 05:15:57 a4caa8a26152: Verifying Checksum 05:15:57 a4caa8a26152: Download complete 05:15:58 3f3a8bcf1eab: Verifying Checksum 05:15:58 3f3a8bcf1eab: Download complete 05:16:11 3f3a8bcf1eab: Pull complete 05:16:11 0c92f367c5e7: Pull complete 05:16:11 3096ccb668a1: Pull complete 05:16:11 e8cf19c19ddd: Pull complete 05:16:18 a4caa8a26152: Pull complete 05:16:18 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 05:16:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:16:18 ---> 725f1c02e7f9 05:16:18 Step 3/10 : ARG MAKE='make build' 05:16:18 ---> Running in d4d25c3b0df6 05:16:19 Removing intermediate container d4d25c3b0df6 05:16:19 ---> 4ea7d1d87bb9 05:16:19 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:16:19 ---> Running in fbd2bda9599a 05:16:22 Removing intermediate container fbd2bda9599a 05:16:22 ---> cdb4940f13d8 05:16:22 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:16:22 ---> Running in ccc7d3466a35 05:16:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:16:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:16:25 (1/8) Installing openssh-keygen (8.8_p1-r1) 05:16:25 (2/8) Installing libedit (20210910.3.1-r0) 05:16:25 (3/8) Installing openssh-client-common (8.8_p1-r1) 05:16:25 (4/8) Installing openssh-client-default (8.8_p1-r1) 05:16:25 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 05:16:26 (6/8) Installing openssh-server-common (8.8_p1-r1) 05:16:26 (7/8) Installing openssh-server (8.8_p1-r1) 05:16:26 (8/8) Installing openssh (8.8_p1-r1) 05:16:26 Executing busybox-1.34.1-r3.trigger 05:16:26 OK: 226 MiB in 60 packages 05:16:27 Removing intermediate container ccc7d3466a35 05:16:27 ---> b79de9b73e48 05:16:27 Step 6/10 : WORKDIR /device-modbus-go 05:16:27 ---> Running in faeb222a3e81 05:16:27 Removing intermediate container faeb222a3e81 05:16:27 ---> e463c97e0d0a 05:16:27 Step 7/10 : COPY go.mod vendor* ./ 05:16:28 ---> 5d38b81caa66 05:16:28 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:16:28 ---> Running in b3e0b392912b 05:17:15 Removing intermediate container b3e0b392912b 05:17:15 ---> c795e8ce1353 05:17:15 Step 9/10 : COPY . . 05:17:16 ---> 5864aa8f2ce4 05:17:16 Step 10/10 : RUN ${MAKE} 05:17:16 ---> Running in b92d40882448 05:17:17 noop 05:17:17 Removing intermediate container b92d40882448 05:17:17 ---> 09254c9a8a28 05:17:17 Successfully built 09254c9a8a28 05:17:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:17:18 + docker inspect -f . ci-base-image-arm64 05:17:18 . [Pipeline] withDockerContainer 05:17:18 prd-ubuntu20.04-docker-arm64-4c-16g-34460 does not seem to be running inside a container 05:17:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 05:17:20 $ docker top 4840363045bd869c6132f3dc1f8a03f4b85c43141eca983432c9ec0c07d49d49 -eo pid,comm [Pipeline] { [Pipeline] sh 05:17:21 + go version 05:17:21 go version go1.17.6 linux/arm64 [Pipeline] } 05:17:21 $ docker stop --time=1 4840363045bd869c6132f3dc1f8a03f4b85c43141eca983432c9ec0c07d49d49 05:17:23 $ docker rm -f 4840363045bd869c6132f3dc1f8a03f4b85c43141eca983432c9ec0c07d49d49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:17:23 + docker inspect -f . ci-base-image-arm64 05:17:23 . [Pipeline] withDockerContainer 05:17:24 prd-ubuntu20.04-docker-arm64-4c-16g-34460 does not seem to be running inside a container 05:17:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 05:17:25 $ docker top 4dd1af5b49f9f95e8aa08fc08d60537ffc97acc320f3f6b8784a0e02d5c24c64 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:17:26 + make test 05:17:26 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:17:28 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:19:05 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:19:05 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.067s coverage: 46.4% of statements 05:19:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:19:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:19:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:19:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:19:32 ./bin/test-attribution-txt.sh [Pipeline] echo 05:19:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:19:36 $ docker stop --time=1 4dd1af5b49f9f95e8aa08fc08d60537ffc97acc320f3f6b8784a0e02d5c24c64 05:19:38 $ docker rm -f 4dd1af5b49f9f95e8aa08fc08d60537ffc97acc320f3f6b8784a0e02d5c24c64 [Pipeline] // withDockerContainer [Pipeline] sh 05:19:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:19:39 Warning: overwriting stash ‘coverage-report’ 05:19:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:19:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:19:41 + ls -al . 05:19:41 total 196 05:19:41 drwxrwxr-x 9 jenkins jenkins 4096 May 2 05:19 . 05:19:41 drwxrwxr-x 4 jenkins jenkins 4096 May 2 05:15 .. 05:19:41 -rw-rw-r-- 1 jenkins jenkins 140 May 2 05:15 .dockerignore 05:19:41 drwxrwxr-x 8 jenkins jenkins 4096 May 2 05:15 .git 05:19:41 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:15 .github 05:19:41 -rw-rw-r-- 1 jenkins jenkins 331 May 2 05:15 .gitignore 05:19:41 -rw-rw-r-- 1 jenkins jenkins 41 May 2 05:15 .golangci.yml 05:19:41 -rw-rw-r-- 1 jenkins jenkins 9377 May 2 05:15 Attribution.txt 05:19:41 -rw-rw-r-- 1 jenkins jenkins 6038 May 2 05:15 CHANGELOG.md 05:19:41 -rw-rw-r-- 1 jenkins jenkins 1546 May 2 05:15 Dockerfile 05:19:41 -rw-rw-r-- 1 jenkins jenkins 677 May 2 05:15 GOVERNANCE.md 05:19:41 -rw-rw-r-- 1 jenkins jenkins 680 May 2 05:15 Jenkinsfile 05:19:41 -rw-rw-r-- 1 jenkins jenkins 11340 May 2 05:15 LICENSE 05:19:41 -rw-rw-r-- 1 jenkins jenkins 1905 May 2 05:15 Makefile 05:19:41 -rw-rw-r-- 1 jenkins jenkins 622 May 2 05:15 OWNERS.md 05:19:41 -rw-rw-r-- 1 jenkins jenkins 3680 May 2 05:15 README.md 05:19:41 -rw-rw-r-- 1 jenkins jenkins 5 May 2 05:10 VERSION 05:19:41 drwxrwxr-x 2 jenkins jenkins 4096 May 2 05:15 bin 05:19:41 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:15 cmd 05:19:41 -rw-r--r-- 1 jenkins jenkins 24065 May 2 05:18 coverage.out 05:19:41 -rw-rw-r-- 1 jenkins jenkins 3399 May 2 05:15 go.mod 05:19:41 -rw-rw-r-- 1 jenkins jenkins 54431 May 2 05:15 go.sum 05:19:41 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:15 internal 05:19:41 drwxrwxr-x 2 jenkins jenkins 4096 May 2 05:15 simulator 05:19:41 drwxrwxr-x 4 jenkins jenkins 4096 May 2 05:15 snap 05:19:41 -rw-rw-r-- 1 jenkins jenkins 229 May 2 05:15 version.go [Pipeline] isUnix [Pipeline] sh 05:19:41 + 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=d4e467d0ce894c5b99ae8bcc9c76f23c685c174c --label arch=arm64 --label version=0.0.0 . 05:19:41 Sending build context to Docker daemon 3.115MB 05:19:42 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 05:19:42 Step 2/23 : FROM ${BASE} AS builder 05:19:42 ---> 09254c9a8a28 05:19:42 Step 3/23 : ARG MAKE='make build' 05:19:42 ---> Running in ef96cd6af35b 05:19:42 Removing intermediate container ef96cd6af35b 05:19:42 ---> 0f79691ff2ce 05:19:42 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:19:42 ---> Running in 6f2c9b48695c 05:19:44 Removing intermediate container 6f2c9b48695c 05:19:44 ---> 98446b2ebd68 05:19:44 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:19:44 ---> Running in 2ed655e8d1c8 05:19:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:19:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:19:47 OK: 226 MiB in 60 packages 05:19:48 Removing intermediate container 2ed655e8d1c8 05:19:48 ---> 514bc1d0295c 05:19:48 Step 6/23 : WORKDIR /device-modbus-go 05:19:48 ---> Running in 97e2b77f343c 05:19:48 Removing intermediate container 97e2b77f343c 05:19:48 ---> 5db3211f736c 05:19:48 Step 7/23 : COPY go.mod vendor* ./ 05:19:48 ---> e6177c8ec000 05:19:48 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:19:49 ---> Running in 82453b335b50 05:19:51 Removing intermediate container 82453b335b50 05:19:51 ---> 3173143d4d1c 05:19:51 Step 9/23 : COPY . . 05:19:51 ---> fb1829ffde7e 05:19:51 Step 10/23 : RUN ${MAKE} 05:19:51 ---> Running in f7c4722006c3 05:19:52 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:22:14 Removing intermediate container f7c4722006c3 05:22:14 ---> 70dd74f25f8f 05:22:14 Step 11/23 : FROM alpine:3.14 05:22:14 3.14: Pulling from library/alpine 05:22:14 455c02918c45: Pulling fs layer 05:22:14 455c02918c45: Verifying Checksum 05:22:14 455c02918c45: Download complete 05:22:14 455c02918c45: Pull complete 05:22:14 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:22:14 Status: Downloaded newer image for alpine:3.14 05:22:14 ---> ac73e934f311 05:22:14 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:22:14 ---> Running in c2c79646138d 05:22:14 Removing intermediate container c2c79646138d 05:22:14 ---> cad040ac4605 05:22:14 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:22:14 ---> Running in e9e3e5f9d8ff 05:22:14 Removing intermediate container e9e3e5f9d8ff 05:22:14 ---> 7df3b844d641 05:22:14 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 05:22:14 ---> Running in 8999a940da85 05:22:14 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:22:14 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:22:14 (1/6) Installing dumb-init (1.2.5-r1) 05:22:14 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:22:14 (3/6) Installing libsodium (1.0.18-r0) 05:22:14 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:22:14 (5/6) Installing libzmq (4.3.4-r0) 05:22:14 (6/6) Installing zeromq (4.3.4-r0) 05:22:14 Executing busybox-1.33.1-r7.trigger 05:22:14 OK: 8 MiB in 20 packages 05:22:15 Removing intermediate container 8999a940da85 05:22:15 ---> e9e435d9735c 05:22:15 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:22:17 ---> 5a696ced6ad9 05:22:17 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:22:17 ---> d8505cec04c4 05:22:17 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:22:18 ---> 7d998b275b2f 05:22:18 Step 18/23 : EXPOSE 59901 05:22:18 ---> Running in af433ee511e8 05:22:18 Removing intermediate container af433ee511e8 05:22:18 ---> 4d4141f990ae 05:22:18 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:22:18 ---> Running in 2c6ead02b905 05:22:19 Removing intermediate container 2c6ead02b905 05:22:19 ---> 8d9142f7a36a 05:22:19 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:22:19 ---> Running in 46b8d2c4bb87 05:22:19 Removing intermediate container 46b8d2c4bb87 05:22:19 ---> 82e018796193 05:22:19 Step 21/23 : LABEL arch=arm64 05:22:19 ---> Running in b9e710a33e70 05:22:20 Removing intermediate container b9e710a33e70 05:22:20 ---> 93155e3e1e63 05:22:20 Step 22/23 : LABEL git_sha=d4e467d0ce894c5b99ae8bcc9c76f23c685c174c 05:22:20 ---> Running in 9622f26a8655 05:22:20 Removing intermediate container 9622f26a8655 05:22:20 ---> 1813620791cc 05:22:20 Step 23/23 : LABEL version=0.0.0 05:22:20 ---> Running in be8bb95fe1bb 05:22:20 Removing intermediate container be8bb95fe1bb 05:22:20 ---> 5a6fa0046d88 05:22:20 [Warning] One or more build-args [ARCH] were not consumed 05:22:20 Successfully built 5a6fa0046d88 05:22:20 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:22:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:22:21 05:22:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:22:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:22:22 arm64: Pulling from edgex-lftools-log-publisher 05:22:22 8998bd30e6a1: Pulling fs layer 05:22:22 04944245beec: Pulling fs layer 05:22:22 699f458cf7ca: Pulling fs layer 05:22:22 765212b225bb: Pulling fs layer 05:22:22 765212b225bb: Waiting 05:22:22 f23df028b6ca: Pulling fs layer 05:22:22 d65c8cfc05b1: Pulling fs layer 05:22:22 2437ff75d9bd: Pulling fs layer 05:22:22 f23df028b6ca: Waiting 05:22:22 d65c8cfc05b1: Waiting 05:22:22 2437ff75d9bd: Waiting 05:22:22 04944245beec: Verifying Checksum 05:22:22 04944245beec: Download complete 05:22:22 765212b225bb: Verifying Checksum 05:22:22 765212b225bb: Download complete 05:22:22 f23df028b6ca: Verifying Checksum 05:22:22 f23df028b6ca: Download complete 05:22:22 d65c8cfc05b1: Verifying Checksum 05:22:22 d65c8cfc05b1: Download complete 05:22:22 699f458cf7ca: Verifying Checksum 05:22:22 699f458cf7ca: Download complete 05:22:22 8998bd30e6a1: Verifying Checksum 05:22:22 8998bd30e6a1: Download complete 05:22:25 2437ff75d9bd: Verifying Checksum 05:22:25 2437ff75d9bd: Download complete 05:22:27 8998bd30e6a1: Pull complete 05:22:27 04944245beec: Pull complete 05:22:29 699f458cf7ca: Pull complete 05:22:29 765212b225bb: Pull complete 05:22:30 f23df028b6ca: Pull complete 05:22:30 d65c8cfc05b1: Pull complete 05:22:45 2437ff75d9bd: Pull complete 05:22:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:22:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:22:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:22:45 prd-ubuntu20.04-docker-arm64-4c-16g-34460 does not seem to be running inside a container 05:22:46 $ 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/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:22:48 $ docker top d33634e6e310bea7dc363916f1b345495156226e74c150f87802c8ce68a15914 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:22:49 ---> job-cost.sh 05:22:49 lf-activate-venv: SKIPPING 05:22:49 INFO: No Stack... 05:22:50 INFO: Retrieving Pricing Info for: v3-standard-4 05:22:50 INFO: Archiving Costs [Pipeline] sh 05:22:51 + cut -d, -f6 05:22:51 + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 05:22:51 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-341-1-stack-cost] 05:22:51 Resource [jenkins-edgexfoundry-device-modbus-go-PR-341-1-stack-cost] did not exist. Created. 05:22:51 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-341-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:22:52 /w/workspace/device-modbus-go/1@tmp/durable-c06a2813/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:22:53 + echo total: 0.10999999940395355 [Pipeline] stash 05:22:53 Warning: overwriting stash ‘stack-cost’ 05:22:53 Stashed 1 file(s) [Pipeline] } 05:22:53 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-341-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:22:53 $ docker stop --time=1 d33634e6e310bea7dc363916f1b345495156226e74c150f87802c8ce68a15914 05:22:54 $ docker rm -f d33634e6e310bea7dc363916f1b345495156226e74c150f87802c8ce68a15914 [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 05:22:55 provisioning config files... 05:22:55 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-341@tmp/config5800862000588724466tmp [Pipeline] { [Pipeline] sh 05:22:56 + set +x 05:22:56 + curl -s https://codecov.io/bash 05:22:56 + bash -s -- 05:22:56 05:22:56 _____ _ 05:22:56 / ____| | | 05:22:56 | | ___ __| | ___ ___ _____ __ 05:22:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:22:56 | |___| (_) | (_| | __/ (_| (_) \ V / 05:22:56 \_____\___/ \__,_|\___|\___\___/ \_/ 05:22:56 Bash-1.0.6 05:22:56 05:22:56 05:22:56 ==> git version 2.25.1 found 05:22:56 ==> 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 05:22:56 Release-Date: 2020-01-08 05:22:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:22:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:22:56 ==> Jenkins CI detected. 05:22:56 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-341 05:22:56 project root: . 05:22:56 --> token set from env 05:22:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:22:56 ==> Running gcov in . (disable via -X gcov) 05:22:56 ==> Python coveragepy not found 05:22:56 ==> Searching for coverage reports in: 05:22:56 + . 05:22:56 -> Found 1 reports 05:22:56 ==> Detecting git/mercurial file structure 05:22:56 ==> Reading reports 05:22:56 + ./coverage.out bytes=24065 05:22:56 ==> Appending adjustments 05:22:56 https://docs.codecov.io/docs/fixing-reports 05:22:56 + Found adjustments 05:22:56 ==> Gzipping contents 05:22:56 4.0K /tmp/codecov.iawgVJ.gz 05:22:56 ==> Uploading reports 05:22:56 url: https://codecov.io 05:22:56 query: branch=PR-341&commit=d4e467d0ce894c5b99ae8bcc9c76f23c685c174c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-341%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=341&job=&cmd_args= 05:22:56 -> Pinging Codecov 05:22:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-341&commit=d4e467d0ce894c5b99ae8bcc9c76f23c685c174c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-341%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=341&job=&cmd_args= 05:22:56 -> Uploading to 05:22:56 https://storage.googleapis.com/codecov/v4/raw/2022-05-02/55DBCA73C666E3227836607328DD7E49/d4e467d0ce894c5b99ae8bcc9c76f23c685c174c/669e7abc-4985-4b18-97ca-7129ee9e429e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220502%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220502T052256Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=076e15e8295b680e1bc4841eaad52ab086c9a72a7b06fbc5f54896e07d7da45b 05:22:56 % Total % Received % Xferd Average Speed Time Time Time Current 05:22:56 Dload Upload Total Spent Left Speed 05:22:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4012 0 0 100 4012 0 19960 --:--:-- --:--:-- --:--:-- 19960 05:22:57 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/d4e467d0ce894c5b99ae8bcc9c76f23c685c174c [Pipeline] } 05:22:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 05:22:59 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-341/archives ] 05:22:59 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-341/archives 05:22:59 total 16 05:22:59 drwxr-xr-x 3 root root 4096 May 2 05:11 . 05:22:59 drwxrwxr-x 11 jenkins jenkins 4096 May 2 05:11 .. 05:22:59 drwxr-xr-x 2 root root 4096 May 2 05:11 cost 05:22:59 -rw-r--r-- 1 root root 87 May 2 05:11 cost.csv 05:22:59 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-341/archives 05:22:59 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-341/archives 05:22:59 total 16 05:22:59 drwxr-xr-x 3 jenkins jenkins 4096 May 2 05:11 . 05:22:59 drwxrwxr-x 11 jenkins jenkins 4096 May 2 05:11 .. 05:22:59 drwxr-xr-x 2 jenkins jenkins 4096 May 2 05:11 cost 05:22:59 -rw-r--r-- 1 jenkins jenkins 87 May 2 05:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:22:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:23:00 ---> package-listing.sh 05:23:00 ++ facter osfamily 05:23:00 ++ tr '[:upper:]' '[:lower:]' 05:23:00 + OS_FAMILY=debian 05:23:00 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-341 05:23:00 + START_PACKAGES=/tmp/packages_start.txt 05:23:00 + END_PACKAGES=/tmp/packages_end.txt 05:23:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:23:00 + PACKAGES=/tmp/packages_start.txt 05:23:00 + '[' /w/workspace/xfoundry_device-modbus-go_PR-341 ']' 05:23:00 + PACKAGES=/tmp/packages_end.txt 05:23:00 + case "${OS_FAMILY}" in 05:23:00 + dpkg -l 05:23:00 + grep '^ii' 05:23:00 + '[' -f /tmp/packages_start.txt ']' 05:23:00 + '[' -f /tmp/packages_end.txt ']' 05:23:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:23:00 + '[' /w/workspace/xfoundry_device-modbus-go_PR-341 ']' 05:23:00 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-341/archives/ 05:23:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-341/archives/ [Pipeline] echo 05:23:00 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/xfoundry_device-modbus-go_PR-341/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:23:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:23:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:23:01 . [Pipeline] withDockerContainer 05:23:01 prd-ubuntu20.04-docker-8c-8g-34415 does not seem to be running inside a container 05:23:01 $ 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/xfoundry_device-modbus-go_PR-341/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-341 -v /w/workspace/xfoundry_device-modbus-go_PR-341:/w/workspace/xfoundry_device-modbus-go_PR-341:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-341@tmp:/w/workspace/xfoundry_device-modbus-go_PR-341@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:latest cat 05:23:01 $ docker top 6f2c8f8423a57c5af5fb92a83feaad907ca7efacd338d799c795dc31a7e42738 -eo pid,comm [Pipeline] { [Pipeline] sh 05:23:02 + touch /tmp/pre-build-complete [Pipeline] sh 05:23:02 + mkdir -p /var/log/sysstat [Pipeline] sh 05:23:02 + ls /var/log/sa-host 05:23:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:23:03 provisioning config files... 05:23:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-341@tmp/config8224695944036250730tmp [Pipeline] { [Pipeline] echo 05:23:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:23:03 ---> create-netrc.sh [Pipeline] } 05:23:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:23:03 ---> python-tools-install.sh [Pipeline] echo 05:23:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:23:04 ---> sudo-logs.sh 05:23:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:23:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:23:04 ---> job-cost.sh 05:23:04 lf-activate-venv: SKIPPING 05:23:04 DEBUG: total: 0.2199999988079071 05:23:04 INFO: Retrieving Stack Cost... 05:23:05 INFO: Retrieving Pricing Info for: v3-standard-8 05:23:05 INFO: Archiving Costs [Pipeline] echo 05:23:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:23:05 ---> logs-deploy.sh 05:23:05 lf-activate-venv: SKIPPING 05:23:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-341/1 05:23:05 INFO: archiving workspace using pattern(s): 05:23:06 Archives upload complete. 05:23:06 INFO: archiving logs to Nexus