Pull request #340 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ece145aba58c24e28c11b3270a83d5b4f164dc0a+19472f7a5fdc6e4787d855a3cc3865d021cdd964 (d715447ef626090bc28435df67e606a3c2a860d4) 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-ssh1633291342826235639.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-ssh18417876845701904973.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-340/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-340/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12734545558080997049.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-340/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2792604115899738197.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-ssh5462444405467551549.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-340/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-340/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15946840791965493409.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-34416 in /w/workspace/xfoundry_device-modbus-go_PR-340 [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-340 # 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 > 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/340/head:refs/remotes/origin/PR-340 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 19472f7a5fdc6e4787d855a3cc3865d021cdd964 into PR head commit ece145aba58c24e28c11b3270a83d5b4f164dc0a Merge succeeded, producing ece145aba58c24e28c11b3270a83d5b4f164dc0a Checking out Revision ece145aba58c24e28c11b3270a83d5b4f164dc0a (PR-340) > git config core.sparsecheckout # timeout=10 > git checkout -f ece145aba58c24e28c11b3270a83d5b4f164dc0a # 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 ece145aba58c24e28c11b3270a83d5b4f164dc0a # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/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:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:09:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:09:39 ========================================================= 05:09:39 EdgeX Global Pipelines Version Info 05:09:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:09:39 ------------------- 05:09:39 stable info: 05:09:39 ------------------- 05:09:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:09:39 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 05:09:39 Message: update stable to v1.0.227 05:09:40 ------------------- 05:09:40 experimental info: 05:09:40 ------------------- 05:09:40 Commited By: **** collab-it+edgex@linuxfoundation.org 05:09:40 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 05:09:40 Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:09:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:09:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:09:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:09:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:09:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:09:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:09:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:09:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:09:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:09:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:09:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:09:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:09:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:09:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:09:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:09:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:09:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:09:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:09:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:09:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:09:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:09:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:09:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:09:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:09:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:09:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:09:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-340 [Pipeline] echo 05:09:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-340 [Pipeline] echo 05:09:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-340 [Pipeline] echo 05:09:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ece145aba58c24e28c11b3270a83d5b4f164dc0a [Pipeline] echo 05:09:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ece145a [Pipeline] echo 05:09:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:09:41 provisioning config files... 05:09:41 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-340@tmp/config8220872418862334814tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:42 ---> docker-login.sh 05:09:42 nexus3.edgexfoundry.org:10001 05:09:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:42 Configure a credential helper to remove this warning. See 05:09:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:42 05:09:42 Login Succeeded 05:09:42 nexus3.edgexfoundry.org:10002 05:09:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:42 Configure a credential helper to remove this warning. See 05:09:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:42 05:09:42 Login Succeeded 05:09:42 nexus3.edgexfoundry.org:10003 05:09:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:42 Configure a credential helper to remove this warning. See 05:09:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:42 05:09:42 Login Succeeded 05:09:42 nexus3.edgexfoundry.org:10004 05:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:43 Configure a credential helper to remove this warning. See 05:09:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:43 05:09:43 Login Succeeded 05:09:43 docker.io 05:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:43 Configure a credential helper to remove this warning. See 05:09:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:43 05:09:43 Login Succeeded 05:09:43 ---> docker-login.sh ends [Pipeline] } 05:09:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:09:44 + git rev-list -1 --merges ece145aba58c24e28c11b3270a83d5b4f164dc0a~1..ece145aba58c24e28c11b3270a83d5b4f164dc0a [Pipeline] echo 05:09:44 -----------> git rev-list -1 --merges ece145aba58c24e28c11b3270a83d5b4f164dc0a~1..ece145aba58c24e28c11b3270a83d5b4f164dc0a ece145aba58c24e28c11b3270a83d5b4f164dc0a [false] [Pipeline] sh 05:09:44 + git log --format=format:%s -1 ece145aba58c24e28c11b3270a83d5b4f164dc0a [Pipeline] echo 05:09:44 ========================================================= 05:09:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:09:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:09:44 + git log --format=format:%s -1 ece145aba58c24e28c11b3270a83d5b4f164dc0a [Pipeline] echo 05:09:44 [semverPrep] GIT_COMMIT: ece145aba58c24e28c11b3270a83d5b4f164dc0a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:09:45 [semverPrep] This is not a build commit. [Pipeline] sh 05:09:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:09:45 + grep -v github /etc/ssh/ssh_known_hosts 05:09:45 + [ -e /tmp/ssh_known_hosts ] 05:09:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:09:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:09:45 + sudo tee -a /etc/ssh/ssh_known_hosts 05:09:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:09:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:09:45 05:09:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:09:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:09:46 latest: Pulling from edgex-devops/py-git-semver 05:09:46 1fe172e4850f: Pulling fs layer 05:09:46 caf521ccaac6: Pulling fs layer 05:09:46 3ead6fa29328: Pulling fs layer 05:09:46 5c2a1cbceb83: Pulling fs layer 05:09:46 a8d5f1318db7: Pulling fs layer 05:09:46 c427282e49a2: Pulling fs layer 05:09:46 1827001aaf11: Pulling fs layer 05:09:46 0714d37db230: Pulling fs layer 05:09:46 ac28cf19c067: Pulling fs layer 05:09:46 ca983d60f3e2: Pulling fs layer 05:09:46 9f894cec8388: Pulling fs layer 05:09:46 1827001aaf11: Waiting 05:09:46 ca983d60f3e2: Waiting 05:09:46 0714d37db230: Waiting 05:09:46 5c2a1cbceb83: Waiting 05:09:46 ac28cf19c067: Waiting 05:09:46 a8d5f1318db7: Waiting 05:09:46 9f894cec8388: Waiting 05:09:46 c427282e49a2: Waiting 05:09:46 caf521ccaac6: Download complete 05:09:46 5c2a1cbceb83: Verifying Checksum 05:09:46 5c2a1cbceb83: Download complete 05:09:46 a8d5f1318db7: Verifying Checksum 05:09:46 a8d5f1318db7: Download complete 05:09:46 c427282e49a2: Download complete 05:09:46 3ead6fa29328: Verifying Checksum 05:09:46 3ead6fa29328: Download complete 05:09:46 0714d37db230: Verifying Checksum 05:09:46 0714d37db230: Download complete 05:09:46 ac28cf19c067: Download complete 05:09:46 ca983d60f3e2: Download complete 05:09:46 1fe172e4850f: Verifying Checksum 05:09:46 1fe172e4850f: Download complete 05:09:46 1827001aaf11: Verifying Checksum 05:09:46 1827001aaf11: Download complete 05:09:47 1fe172e4850f: Pull complete 05:09:47 caf521ccaac6: Pull complete 05:09:48 3ead6fa29328: Pull complete 05:09:48 5c2a1cbceb83: Pull complete 05:09:49 a8d5f1318db7: Pull complete 05:09:49 c427282e49a2: Pull complete 05:09:51 1827001aaf11: Pull complete 05:09:51 0714d37db230: Pull complete 05:09:51 ac28cf19c067: Pull complete 05:09:51 ca983d60f3e2: Pull complete 05:09:51 9f894cec8388: Pull complete 05:09:51 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 05:09:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:09:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 05:09:51 prd-ubuntu20.04-docker-8c-8g-34416 does not seem to be running inside a container 05:09:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-340 -v /w/workspace/xfoundry_device-modbus-go_PR-340:/w/workspace/xfoundry_device-modbus-go_PR-340:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-340@tmp:/w/workspace/xfoundry_device-modbus-go_PR-340@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 05:09:53 $ docker top 2832983361b1e2679525b852ad52a685982cf09952530dbf7bf3ceaf47f3562c -eo pid,comm 05:09:53 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:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:09:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:09:53 [ssh-agent] Looking for ssh-agent implementation... 05:09:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:09:53 $ docker exec 2832983361b1e2679525b852ad52a685982cf09952530dbf7bf3ceaf47f3562c ssh-agent 05:09:53 SSH_AUTH_SOCK=/tmp/ssh-ryHK7Zxg8t62/agent.32 05:09:53 SSH_AGENT_PID=39 05:09:53 Running ssh-add (command line suppressed) 05:09:54 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-340@tmp/private_key_5013760925861700201.key (/w/workspace/xfoundry_device-modbus-go_PR-340@tmp/private_key_5013760925861700201.key) 05:09:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:09:54 + git tag --points-at HEAD [Pipeline] } 05:09:54 $ docker exec --env ******** --env ******** 2832983361b1e2679525b852ad52a685982cf09952530dbf7bf3ceaf47f3562c ssh-agent -k 05:09:54 unset SSH_AUTH_SOCK; 05:09:54 unset SSH_AGENT_PID; 05:09:54 echo Agent pid 39 killed; 05:09:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:09:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:09:54 [ssh-agent] Looking for ssh-agent implementation... 05:09:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:09:54 $ docker exec 2832983361b1e2679525b852ad52a685982cf09952530dbf7bf3ceaf47f3562c ssh-agent 05:09:54 SSH_AUTH_SOCK=/tmp/ssh-y2nR1yHSVMkq/agent.72 05:09:54 SSH_AGENT_PID=78 05:09:54 Running ssh-add (command line suppressed) 05:09:55 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-340@tmp/private_key_7763746270396548466.key (/w/workspace/xfoundry_device-modbus-go_PR-340@tmp/private_key_7763746270396548466.key) 05:09:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:09:55 + git semver init 05:09:55 2022-05-02 05:09:55,640 [run_init] DEBUG init version:0.0.0 force:False 05:09:55 2022-05-02 05:09:55,642 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-340/.semver 05:09:55 2022-05-02 05:09:55,643 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-340/.semver 05:09:55 2022-05-02 05:09:55,643 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-340/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-340, universal_newlines=False, shell=None, istream=None) 05:09:56 2022-05-02 05:09:56,607 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-340/.git/info/exclude 05:09:56 2022-05-02 05:09:56,607 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-340/.semver/PR-340 with force:False 05:09:56 2022-05-02 05:09:56,607 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-340/.semver/PR-340 05:09:56 2022-05-02 05:09:56,610 [execute] INFO git cat-file --batch-check 05:09:56 2022-05-02 05:09:56,610 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-340/.semver, universal_newlines=False, shell=None, istream=) 05:09:56 2022-05-02 05:09:56,617 [execute] INFO git cat-file --batch 05:09:56 2022-05-02 05:09:56,617 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-340/.semver, universal_newlines=False, shell=None, istream=) 05:09:56 2022-05-02 05:09:56,623 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-340/.semver/PR-340 05:09:56 0.0.0 [Pipeline] } 05:09:56 $ docker exec --env ******** --env ******** 2832983361b1e2679525b852ad52a685982cf09952530dbf7bf3ceaf47f3562c ssh-agent -k 05:09:57 unset SSH_AUTH_SOCK; 05:09:57 unset SSH_AGENT_PID; 05:09:57 echo Agent pid 78 killed; 05:09:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:09:57 + git semver [Pipeline] } 05:09:57 $ docker stop --time=1 2832983361b1e2679525b852ad52a685982cf09952530dbf7bf3ceaf47f3562c 05:09:59 $ docker rm -f 2832983361b1e2679525b852ad52a685982cf09952530dbf7bf3ceaf47f3562c [Pipeline] // withDockerContainer [Pipeline] sh 05:09:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:09:59 Stashed 1 file(s) [Pipeline] echo 05:09:59 [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:00 provisioning config files... 05:10:00 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-340@tmp/config681354864088453594tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:10:00 ---> docker-login.sh 05:10:00 nexus3.edgexfoundry.org:10001 05:10:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:00 Configure a credential helper to remove this warning. See 05:10:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:00 05:10:00 Login Succeeded 05:10:00 nexus3.edgexfoundry.org:10002 05:10:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:01 Configure a credential helper to remove this warning. See 05:10:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:01 05:10:01 Login Succeeded 05:10:01 nexus3.edgexfoundry.org:10003 05:10:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:01 Configure a credential helper to remove this warning. See 05:10:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:01 05:10:01 Login Succeeded 05:10:01 nexus3.edgexfoundry.org:10004 05:10:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:01 Configure a credential helper to remove this warning. See 05:10:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:01 05:10:01 Login Succeeded 05:10:01 docker.io 05:10:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:01 Configure a credential helper to remove this warning. See 05:10:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:01 05:10:01 Login Succeeded 05:10:01 ---> docker-login.sh ends [Pipeline] } 05:10:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:10:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:10:01 ========================================================= 05:10:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:10:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:10:02 + 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:02 Sending build context to Docker daemon 5.924MB 05:10:02 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 05:10:02 Step 2/10 : FROM ${BASE} AS builder 05:10:02 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:10:02 59bf1c3509f3: Pulling fs layer 05:10:02 666ba61612fd: Pulling fs layer 05:10:02 8ed8ca486205: Pulling fs layer 05:10:02 4fe6c5a15a65: Pulling fs layer 05:10:02 22a0e8bec74d: Pulling fs layer 05:10:02 ca2b28591e48: Pulling fs layer 05:10:02 a51346096db8: Pulling fs layer 05:10:02 daebc70d1ce1: Pulling fs layer 05:10:02 0e18a0eac166: Pulling fs layer 05:10:02 ca2b28591e48: Waiting 05:10:02 a51346096db8: Waiting 05:10:02 daebc70d1ce1: Waiting 05:10:02 0e18a0eac166: Waiting 05:10:02 4fe6c5a15a65: Waiting 05:10:02 22a0e8bec74d: Waiting 05:10:02 8ed8ca486205: Verifying Checksum 05:10:02 8ed8ca486205: Download complete 05:10:02 666ba61612fd: Download complete 05:10:02 22a0e8bec74d: Verifying Checksum 05:10:02 22a0e8bec74d: Download complete 05:10:02 ca2b28591e48: Verifying Checksum 05:10:02 ca2b28591e48: Download complete 05:10:02 59bf1c3509f3: Verifying Checksum 05:10:02 59bf1c3509f3: Download complete 05:10:02 a51346096db8: Verifying Checksum 05:10:02 a51346096db8: Download complete 05:10:02 daebc70d1ce1: Verifying Checksum 05:10:02 daebc70d1ce1: Download complete 05:10:02 59bf1c3509f3: Pull complete 05:10:02 666ba61612fd: Pull complete 05:10:02 8ed8ca486205: Pull complete 05:10:03 0e18a0eac166: Verifying Checksum 05:10:03 4fe6c5a15a65: Verifying Checksum 05:10:03 4fe6c5a15a65: Download complete 05:10:07 4fe6c5a15a65: Pull complete 05:10:07 22a0e8bec74d: Pull complete 05:10:07 ca2b28591e48: Pull complete 05:10:07 a51346096db8: Pull complete 05:10:07 daebc70d1ce1: Pull complete 05:10:09 0e18a0eac166: Pull complete 05:10:09 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 05:10:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:10:09 ---> f018257e8ee9 05:10:09 Step 3/10 : ARG MAKE='make build' 05:10:11 ---> Running in 4e40ea610031 05:10:11 Removing intermediate container 4e40ea610031 05:10:11 ---> 51f075b51c4b 05:10:11 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:10:11 ---> Running in ea3c8de8d92e 05:10:12 Removing intermediate container ea3c8de8d92e 05:10:12 ---> 75a1b4536c8d 05:10:12 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:10:12 ---> Running in 37371f296f65 05:10:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:10:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:10:14 (1/8) Installing openssh-keygen (8.8_p1-r1) 05:10:14 (2/8) Installing libedit (20210910.3.1-r0) 05:10:14 (3/8) Installing openssh-client-common (8.8_p1-r1) 05:10:14 (4/8) Installing openssh-client-default (8.8_p1-r1) 05:10:14 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 05:10:14 (6/8) Installing openssh-server-common (8.8_p1-r1) 05:10:14 (7/8) Installing openssh-server (8.8_p1-r1) 05:10:14 (8/8) Installing openssh (8.8_p1-r1) 05:10:14 Executing busybox-1.34.1-r3.trigger 05:10:14 OK: 226 MiB in 60 packages 05:10:15 Still waiting to schedule task 05:10:15 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 05:10:15 Removing intermediate container 37371f296f65 05:10:15 ---> e9822451dc9d 05:10:15 Step 6/10 : WORKDIR /device-modbus-go 05:10:16 ---> Running in 7baf4d85c629 05:10:16 Removing intermediate container 7baf4d85c629 05:10:16 ---> b749eb33c555 05:10:16 Step 7/10 : COPY go.mod vendor* ./ 05:10:16 ---> 0cf88fce57b5 05:10:16 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:10:17 ---> Running in fdad120178f8 05:10:35 Removing intermediate container fdad120178f8 05:10:35 ---> 35ced2b01cca 05:10:35 Step 9/10 : COPY . . 05:10:35 ---> 98fced26ab1e 05:10:35 Step 10/10 : RUN ${MAKE} 05:10:35 ---> Running in f216f6b5b207 05:10:35 noop 05:10:36 Removing intermediate container f216f6b5b207 05:10:36 ---> 32682ae686e6 05:10:36 Successfully built 32682ae686e6 05:10:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:10:36 + docker inspect -f . ci-base-image-x86_64 05:10:36 . [Pipeline] withDockerContainer 05:10:36 prd-ubuntu20.04-docker-8c-8g-34416 does not seem to be running inside a container 05:10:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-340 -v /w/workspace/xfoundry_device-modbus-go_PR-340:/w/workspace/xfoundry_device-modbus-go_PR-340:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-340@tmp:/w/workspace/xfoundry_device-modbus-go_PR-340@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-x86_64 cat 05:10:37 $ docker top ae65ff4c6e7cd8b92e27e4943ecb973697b86ebde1b1c250252380f94aed7714 -eo pid,comm [Pipeline] { [Pipeline] sh 05:10:37 + go version 05:10:37 go version go1.17.6 linux/amd64 [Pipeline] } 05:10:37 $ docker stop --time=1 ae65ff4c6e7cd8b92e27e4943ecb973697b86ebde1b1c250252380f94aed7714 05:10:39 $ docker rm -f ae65ff4c6e7cd8b92e27e4943ecb973697b86ebde1b1c250252380f94aed7714 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [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-34416 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-340 -v /w/workspace/xfoundry_device-modbus-go_PR-340:/w/workspace/xfoundry_device-modbus-go_PR-340:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-340@tmp:/w/workspace/xfoundry_device-modbus-go_PR-340@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-x86_64 cat 05:10:40 $ docker top 9937f24ee2fa6c9e78d21e3638316156e7efb1ff3d4cbab8adff2cc02ce6ead6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:10:40 + make test 05:10:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:10:41 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:10:51 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:10:51 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.020s coverage: 46.4% of statements 05:10:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:11:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:11:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:11:01 ./bin/test-attribution-txt.sh [Pipeline] echo 05:11:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:11:01 $ docker stop --time=1 9937f24ee2fa6c9e78d21e3638316156e7efb1ff3d4cbab8adff2cc02ce6ead6 05:11:03 $ docker rm -f 9937f24ee2fa6c9e78d21e3638316156e7efb1ff3d4cbab8adff2cc02ce6ead6 [Pipeline] // withDockerContainer [Pipeline] sh 05:11:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:11:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:11:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:11:05 + ls -al . 05:11:05 total 180 05:11:05 drwxrwxr-x 10 jenkins jenkins 4096 May 2 05:11 . 05:11:05 drwxrwxr-x 4 jenkins jenkins 4096 May 2 05:09 .. 05:11:05 -rw-rw-r-- 1 jenkins jenkins 140 May 2 05:09 .dockerignore 05:11:05 drwxrwxr-x 8 jenkins jenkins 4096 May 2 05:09 .git 05:11:05 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:09 .github 05:11:05 -rw-rw-r-- 1 jenkins jenkins 331 May 2 05:09 .gitignore 05:11:05 -rw-rw-r-- 1 jenkins jenkins 41 May 2 05:09 .golangci.yml 05:11:05 drwxr-xr-x 3 jenkins jenkins 4096 May 2 05:09 .semver 05:11:05 -rw-rw-r-- 1 jenkins jenkins 9377 May 2 05:09 Attribution.txt 05:11:05 -rw-rw-r-- 1 jenkins jenkins 6038 May 2 05:09 CHANGELOG.md 05:11:05 -rw-rw-r-- 1 jenkins jenkins 1546 May 2 05:09 Dockerfile 05:11:05 -rw-rw-r-- 1 jenkins jenkins 677 May 2 05:09 GOVERNANCE.md 05:11:05 -rw-rw-r-- 1 jenkins jenkins 680 May 2 05:09 Jenkinsfile 05:11:05 -rw-rw-r-- 1 jenkins jenkins 11340 May 2 05:09 LICENSE 05:11:05 -rw-rw-r-- 1 jenkins jenkins 1905 May 2 05:09 Makefile 05:11:05 -rw-rw-r-- 1 jenkins jenkins 622 May 2 05:09 OWNERS.md 05:11:05 -rw-rw-r-- 1 jenkins jenkins 3680 May 2 05:09 README.md 05:11:05 -rw-rw-r-- 1 jenkins jenkins 5 May 2 05:09 VERSION 05:11:05 drwxrwxr-x 2 jenkins jenkins 4096 May 2 05:09 bin 05:11:05 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:09 cmd 05:11:05 -rw-r--r-- 1 jenkins jenkins 24065 May 2 05:10 coverage.out 05:11:05 -rw-rw-r-- 1 jenkins jenkins 3399 May 2 05:09 go.mod 05:11:05 -rw-rw-r-- 1 jenkins jenkins 35440 May 2 05:09 go.sum 05:11:05 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:09 internal 05:11:05 drwxrwxr-x 2 jenkins jenkins 4096 May 2 05:09 simulator 05:11:05 drwxrwxr-x 4 jenkins jenkins 4096 May 2 05:09 snap 05:11:05 -rw-rw-r-- 1 jenkins jenkins 229 May 2 05:09 version.go [Pipeline] isUnix [Pipeline] sh 05:11:05 + 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=ece145aba58c24e28c11b3270a83d5b4f164dc0a --label arch=amd64 --label version=0.0.0 . 05:11:05 Sending build context to Docker daemon 5.949MB 05:11:05 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 05:11:05 Step 2/23 : FROM ${BASE} AS builder 05:11:05 ---> 32682ae686e6 05:11:05 Step 3/23 : ARG MAKE='make build' 05:11:05 ---> Running in 29577279b7f1 05:11:05 Removing intermediate container 29577279b7f1 05:11:05 ---> 10a41a2521d7 05:11:05 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:11:06 ---> Running in ea1c94e782f9 05:11:06 Removing intermediate container ea1c94e782f9 05:11:06 ---> 1421a35aae17 05:11:06 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:11:06 ---> Running in a6e1c2115756 05:11:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:11:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:11:08 OK: 226 MiB in 60 packages 05:11:08 Removing intermediate container a6e1c2115756 05:11:08 ---> 6945ae09018d 05:11:08 Step 6/23 : WORKDIR /device-modbus-go 05:11:08 ---> Running in 9f3c1b5a2397 05:11:08 Removing intermediate container 9f3c1b5a2397 05:11:08 ---> d3e22823913f 05:11:08 Step 7/23 : COPY go.mod vendor* ./ 05:11:08 ---> e50ad043d834 05:11:08 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:11:09 ---> Running in 05c210f7e878 05:11:09 Removing intermediate container 05c210f7e878 05:11:09 ---> 3abbf62c4c7b 05:11:09 Step 9/23 : COPY . . 05:11:09 ---> 0a413b3e1130 05:11:09 Step 10/23 : RUN ${MAKE} 05:11:09 ---> Running in 230f0d2e04f1 05:11:10 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:32 Removing intermediate container 230f0d2e04f1 05:11:32 ---> 9af80825743a 05:11:32 Step 11/23 : FROM alpine:3.14 05:11:32 3.14: Pulling from library/alpine 05:11:32 8663204ce13b: Pulling fs layer 05:11:32 8663204ce13b: Verifying Checksum 05:11:32 8663204ce13b: Download complete 05:11:32 8663204ce13b: Pull complete 05:11:32 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:11:32 Status: Downloaded newer image for alpine:3.14 05:11:32 ---> e04c818066af 05:11:32 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:11:32 ---> Running in f3c0142551e3 05:11:32 Removing intermediate container f3c0142551e3 05:11:32 ---> 40141d011138 05:11:32 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:11:32 ---> Running in e0f5beda1691 05:11:32 Removing intermediate container e0f5beda1691 05:11:32 ---> 14e4a51d6c3d 05:11:32 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 05:11:32 ---> Running in a3233dd57900 05:11:32 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:11:32 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:11:32 (1/6) Installing dumb-init (1.2.5-r1) 05:11:32 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:11:32 (3/6) Installing libsodium (1.0.18-r0) 05:11:32 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:11:32 (5/6) Installing libzmq (4.3.4-r0) 05:11:32 (6/6) Installing zeromq (4.3.4-r0) 05:11:32 Executing busybox-1.33.1-r7.trigger 05:11:32 OK: 8 MiB in 20 packages 05:11:33 Removing intermediate container a3233dd57900 05:11:33 ---> e75982aa51f0 05:11:33 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:11:34 ---> c7c4639be064 05:11:34 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:11:34 ---> 8c4960f3628a 05:11:34 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:11:34 ---> 107c1dc23b24 05:11:34 Step 18/23 : EXPOSE 59901 05:11:34 ---> Running in 6a5706ee1b1a 05:11:34 Removing intermediate container 6a5706ee1b1a 05:11:34 ---> 8703d47f8f72 05:11:34 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:11:34 ---> Running in fa2784e6e297 05:11:34 Removing intermediate container fa2784e6e297 05:11:34 ---> 1169bb97667d 05:11:34 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:11:34 ---> Running in f54b8aba1a43 05:11:34 Removing intermediate container f54b8aba1a43 05:11:34 ---> 6fd8d60c388e 05:11:34 Step 21/23 : LABEL arch=amd64 05:11:34 ---> Running in 37bbda129e92 05:11:34 Removing intermediate container 37bbda129e92 05:11:34 ---> df5bde956b26 05:11:34 Step 22/23 : LABEL git_sha=ece145aba58c24e28c11b3270a83d5b4f164dc0a 05:11:35 ---> Running in 4ca3145bf249 05:11:35 Removing intermediate container 4ca3145bf249 05:11:35 ---> a3c9d4371632 05:11:35 Step 23/23 : LABEL version=0.0.0 05:11:36 ---> Running in 7a7e1f2724bd 05:11:36 Removing intermediate container 7a7e1f2724bd 05:11:36 ---> e7508ae1e798 05:11:36 [Warning] One or more build-args [ARCH] were not consumed 05:11:36 Successfully built e7508ae1e798 05:11:36 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:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:37 05:11:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:11:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:37 latest: Pulling from edgex-lftools-log-publisher 05:11:37 5eb5b503b376: Pulling fs layer 05:11:37 5c69ac0246d0: Pulling fs layer 05:11:37 ec43610c2a17: Pulling fs layer 05:11:37 3a2ae6a8a46f: Pulling fs layer 05:11:37 33b1e0a273af: Pulling fs layer 05:11:37 5d3b04190fa2: Pulling fs layer 05:11:37 2f39f015ded8: Pulling fs layer 05:11:37 5d3b04190fa2: Waiting 05:11:37 2f39f015ded8: Waiting 05:11:37 3a2ae6a8a46f: Waiting 05:11:37 33b1e0a273af: Waiting 05:11:37 5c69ac0246d0: Verifying Checksum 05:11:37 5c69ac0246d0: Download complete 05:11:37 3a2ae6a8a46f: Verifying Checksum 05:11:37 3a2ae6a8a46f: Download complete 05:11:37 33b1e0a273af: Verifying Checksum 05:11:37 33b1e0a273af: Download complete 05:11:37 5d3b04190fa2: Verifying Checksum 05:11:37 5d3b04190fa2: Download complete 05:11:37 ec43610c2a17: Verifying Checksum 05:11:37 ec43610c2a17: Download complete 05:11:37 5eb5b503b376: Verifying Checksum 05:11:37 5eb5b503b376: Download complete 05:11:38 2f39f015ded8: Download complete 05:11:39 5eb5b503b376: Pull complete 05:11:39 5c69ac0246d0: Pull complete 05:11:40 ec43610c2a17: Pull complete 05:11:40 3a2ae6a8a46f: Pull complete 05:11:40 33b1e0a273af: Pull complete 05:11:40 5d3b04190fa2: Pull complete 05:11:44 2f39f015ded8: Pull complete 05:11:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:11:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:11:44 prd-ubuntu20.04-docker-8c-8g-34416 does not seem to be running inside a container 05:11:44 $ 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-340 -v /w/workspace/xfoundry_device-modbus-go_PR-340:/w/workspace/xfoundry_device-modbus-go_PR-340:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-340@tmp:/w/workspace/xfoundry_device-modbus-go_PR-340@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:latest cat 05:11:47 $ docker top 570132f2204e37e2feef764016189195c5a14f2b84a80d8156277eeee1f9bfd1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:11:48 ---> job-cost.sh 05:11:48 lf-activate-venv: SKIPPING 05:11:48 INFO: No Stack... 05:11:48 INFO: Retrieving Pricing Info for: v3-standard-8 05:11:48 INFO: Archiving Costs [Pipeline] sh 05:11:49 + cat /w/workspace/xfoundry_device-modbus-go_PR-340/archives/cost.csv 05:11:49 + cut -d, -f6 [Pipeline] lock 05:11:49 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-340-1-stack-cost] 05:11:49 Resource [jenkins-edgexfoundry-device-modbus-go-PR-340-1-stack-cost] did not exist. Created. 05:11:49 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-340-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:11:49 + echo total: 0.2199999988079071 [Pipeline] stash 05:11:49 Stashed 1 file(s) [Pipeline] } 05:11:49 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-340-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:11:49 $ docker stop --time=1 570132f2204e37e2feef764016189195c5a14f2b84a80d8156277eeee1f9bfd1 05:11:50 $ docker rm -f 570132f2204e37e2feef764016189195c5a14f2b84a80d8156277eeee1f9bfd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:15:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-34457 in /w/workspace/xfoundry_device-modbus-go_PR-340 [Pipeline] { [Pipeline] ws 05:15:03 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:15:03 Selected Git installation does not exist. Using Default 05:15:03 The recommended git tool is: NONE 05:15:10 using credential edgex-jenkins-ssh 05:15:10 Cloning the remote Git repository 05:15:10 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:15:11 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:15:11 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:15:11 > git --version # timeout=10 05:15:11 > git --version # 'git version 2.25.1' 05:15:11 using GIT_SSH to set credentials SSH Credentials for GitHub 05:15:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:15:13 Merging remotes/origin/main commit 19472f7a5fdc6e4787d855a3cc3865d021cdd964 into PR head commit ece145aba58c24e28c11b3270a83d5b4f164dc0a 05:15:12 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:15:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:15:12 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:15:12 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:15:12 using GIT_SSH to set credentials SSH Credentials for GitHub 05:15:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/340/head:refs/remotes/origin/PR-340 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:15:13 > git config core.sparsecheckout # timeout=10 05:15:13 > git checkout -f ece145aba58c24e28c11b3270a83d5b4f164dc0a # timeout=10 05:15:13 Merge succeeded, producing ece145aba58c24e28c11b3270a83d5b4f164dc0a 05:15:13 Checking out Revision ece145aba58c24e28c11b3270a83d5b4f164dc0a (PR-340) 05:15:13 > git remote # timeout=10 05:15:13 > git config --get remote.origin.url # timeout=10 05:15:13 using GIT_SSH to set credentials SSH Credentials for GitHub 05:15:13 > git merge 19472f7a5fdc6e4787d855a3cc3865d021cdd964 # timeout=10 05:15:13 > git rev-parse HEAD^{commit} # timeout=10 05:15:13 > git config core.sparsecheckout # timeout=10 05:15:13 > git checkout -f ece145aba58c24e28c11b3270a83d5b4f164dc0a # timeout=10 05:15:18 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 05:15:18 > git --version # timeout=10 05:15:18 > git --version # 'git version 2.25.1' 05:15:18 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:15:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:15:19 % Total % Received % Xferd Average Speed Time Time Time Current 05:15:19 Dload Upload Total Spent Left Speed 05:15:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 202k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh 05:15:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:15:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:15:20 + sudo tee /etc/docker/daemon.new 05:15:20 { 05:15:20 "registry-mirrors": [ 05:15:20 "https://nexus3.edgexfoundry.org:10001" 05:15:20 ], 05:15:20 "bip": "10.250.0.254/24", 05:15:20 "hosts": [ 05:15:20 "tcp://0.0.0.0:5555", 05:15:20 "unix:///var/run/docker.sock" 05:15:20 ], 05:15:20 "mtu": 1458, 05:15:20 "selinux-enabled": true, 05:15:20 "seccomp-profile": "/etc/docker/seccomp.json" 05:15:20 } [Pipeline] sh 05:15:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:15:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:15:39 provisioning config files... 05:15:39 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config7712587013395339592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:15:40 ---> docker-login.sh 05:15:40 nexus3.edgexfoundry.org:10001 05:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:41 Configure a credential helper to remove this warning. See 05:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:41 05:15:41 Login Succeeded 05:15:41 nexus3.edgexfoundry.org:10002 05:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:42 Configure a credential helper to remove this warning. See 05:15:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:42 05:15:42 Login Succeeded 05:15:42 nexus3.edgexfoundry.org:10003 05:15:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:42 Configure a credential helper to remove this warning. See 05:15:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:42 05:15:42 Login Succeeded 05:15:42 nexus3.edgexfoundry.org:10004 05:15:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:43 Configure a credential helper to remove this warning. See 05:15:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:43 05:15:43 Login Succeeded 05:15:43 docker.io 05:15:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:44 Configure a credential helper to remove this warning. See 05:15:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:44 05:15:44 Login Succeeded 05:15:44 ---> docker-login.sh ends [Pipeline] } 05:15:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:15:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:15:44 ========================================================= 05:15:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:15:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:15:45 + 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:45 Sending build context to Docker daemon 3.09MB 05:15:45 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 05:15:45 Step 2/10 : FROM ${BASE} AS builder 05:15:45 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:15:45 9b3977197b4f: Pulling fs layer 05:15:45 1a89e8eeedd5: Pulling fs layer 05:15:45 94645a83ff95: Pulling fs layer 05:15:45 3f3a8bcf1eab: Pulling fs layer 05:15:45 0c92f367c5e7: Pulling fs layer 05:15:45 3096ccb668a1: Pulling fs layer 05:15:45 e8cf19c19ddd: Pulling fs layer 05:15:45 a4caa8a26152: Pulling fs layer 05:15:45 0c92f367c5e7: Waiting 05:15:45 e8cf19c19ddd: Waiting 05:15:45 3096ccb668a1: Waiting 05:15:45 a4caa8a26152: Waiting 05:15:45 3f3a8bcf1eab: Waiting 05:15:45 94645a83ff95: Verifying Checksum 05:15:45 94645a83ff95: Download complete 05:15:45 1a89e8eeedd5: Verifying Checksum 05:15:45 1a89e8eeedd5: Download complete 05:15:45 0c92f367c5e7: Verifying Checksum 05:15:45 0c92f367c5e7: Download complete 05:15:45 9b3977197b4f: Download complete 05:15:45 3096ccb668a1: Verifying Checksum 05:15:45 3096ccb668a1: Download complete 05:15:45 e8cf19c19ddd: Verifying Checksum 05:15:45 e8cf19c19ddd: Download complete 05:15:46 9b3977197b4f: Pull complete 05:15:47 1a89e8eeedd5: Pull complete 05:15:47 94645a83ff95: Pull complete 05:15:48 a4caa8a26152: Verifying Checksum 05:15:48 a4caa8a26152: Download complete 05:15:48 3f3a8bcf1eab: Verifying Checksum 05:15:48 3f3a8bcf1eab: Download complete 05:16:01 3f3a8bcf1eab: Pull complete 05:16:01 0c92f367c5e7: Pull complete 05:16:01 3096ccb668a1: Pull complete 05:16:02 e8cf19c19ddd: Pull complete 05:16:08 a4caa8a26152: Pull complete 05:16:08 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 05:16:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:16:08 ---> 725f1c02e7f9 05:16:08 Step 3/10 : ARG MAKE='make build' 05:16:09 ---> Running in d9b89f8235e8 05:16:09 Removing intermediate container d9b89f8235e8 05:16:09 ---> 8298828a49af 05:16:09 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:16:10 ---> Running in 9fefce3f067f 05:16:12 Removing intermediate container 9fefce3f067f 05:16:12 ---> feedf5d395c2 05:16:12 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:16:12 ---> Running in 13f8d8b1ff0f 05:16:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:16:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:16:15 (1/8) Installing openssh-keygen (8.8_p1-r1) 05:16:15 (2/8) Installing libedit (20210910.3.1-r0) 05:16:15 (3/8) Installing openssh-client-common (8.8_p1-r1) 05:16:15 (4/8) Installing openssh-client-default (8.8_p1-r1) 05:16:15 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 05:16:15 (6/8) Installing openssh-server-common (8.8_p1-r1) 05:16:15 (7/8) Installing openssh-server (8.8_p1-r1) 05:16:15 (8/8) Installing openssh (8.8_p1-r1) 05:16:15 Executing busybox-1.34.1-r3.trigger 05:16:15 OK: 226 MiB in 60 packages 05:16:16 Removing intermediate container 13f8d8b1ff0f 05:16:16 ---> 695df9715b17 05:16:16 Step 6/10 : WORKDIR /device-modbus-go 05:16:16 ---> Running in f055e3740da8 05:16:17 Removing intermediate container f055e3740da8 05:16:17 ---> 4119da35cb4b 05:16:17 Step 7/10 : COPY go.mod vendor* ./ 05:16:18 ---> 0dda94a5b381 05:16:18 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:16:18 ---> Running in ddd308a56af0 05:17:05 Removing intermediate container ddd308a56af0 05:17:05 ---> 2eaf4f5cd8a2 05:17:05 Step 9/10 : COPY . . 05:17:06 ---> e9d14051ea18 05:17:06 Step 10/10 : RUN ${MAKE} 05:17:06 ---> Running in 0dc823c7fa37 05:17:07 noop 05:17:08 Removing intermediate container 0dc823c7fa37 05:17:08 ---> 2829f724fc1b 05:17:08 Successfully built 2829f724fc1b 05:17:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:17:08 + docker inspect -f . ci-base-image-arm64 05:17:08 . [Pipeline] withDockerContainer 05:17:08 prd-ubuntu20.04-docker-arm64-4c-16g-34457 does not seem to be running inside a container 05:17:08 $ 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:10 $ docker top dd266626ecd8d3232233ab2ed55783f7813822bf36b97f7bc9a634a46ec4dfe3 -eo pid,comm [Pipeline] { [Pipeline] sh 05:17:11 + go version 05:17:11 go version go1.17.6 linux/arm64 [Pipeline] } 05:17:11 $ docker stop --time=1 dd266626ecd8d3232233ab2ed55783f7813822bf36b97f7bc9a634a46ec4dfe3 05:17:13 $ docker rm -f dd266626ecd8d3232233ab2ed55783f7813822bf36b97f7bc9a634a46ec4dfe3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:17:13 + docker inspect -f . ci-base-image-arm64 05:17:13 . [Pipeline] withDockerContainer 05:17:14 prd-ubuntu20.04-docker-arm64-4c-16g-34457 does not seem to be running inside a container 05:17:14 $ 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:15 $ docker top 8407e2ba2e128c7d2073d7806c612433524746923a201fe678adece6868b7469 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:17:16 + make test 05:17:16 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:17:18 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:18:55 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:18:55 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.069s coverage: 46.4% of statements 05:18:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:18:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:19:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:19:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:19:22 ./bin/test-attribution-txt.sh [Pipeline] echo 05:19:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:19:23 $ docker stop --time=1 8407e2ba2e128c7d2073d7806c612433524746923a201fe678adece6868b7469 05:19:25 $ docker rm -f 8407e2ba2e128c7d2073d7806c612433524746923a201fe678adece6868b7469 [Pipeline] // withDockerContainer [Pipeline] sh 05:19:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:19:26 Warning: overwriting stash ‘coverage-report’ 05:19:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:19:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:19:27 + ls -al . 05:19:27 total 176 05:19:27 drwxrwxr-x 9 jenkins jenkins 4096 May 2 05:19 . 05:19:27 drwxrwxr-x 4 jenkins jenkins 4096 May 2 05:15 .. 05:19:27 -rw-rw-r-- 1 jenkins jenkins 140 May 2 05:15 .dockerignore 05:19:27 drwxrwxr-x 8 jenkins jenkins 4096 May 2 05:15 .git 05:19:27 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:15 .github 05:19:27 -rw-rw-r-- 1 jenkins jenkins 331 May 2 05:15 .gitignore 05:19:27 -rw-rw-r-- 1 jenkins jenkins 41 May 2 05:15 .golangci.yml 05:19:27 -rw-rw-r-- 1 jenkins jenkins 9377 May 2 05:15 Attribution.txt 05:19:27 -rw-rw-r-- 1 jenkins jenkins 6038 May 2 05:15 CHANGELOG.md 05:19:27 -rw-rw-r-- 1 jenkins jenkins 1546 May 2 05:15 Dockerfile 05:19:27 -rw-rw-r-- 1 jenkins jenkins 677 May 2 05:15 GOVERNANCE.md 05:19:27 -rw-rw-r-- 1 jenkins jenkins 680 May 2 05:15 Jenkinsfile 05:19:27 -rw-rw-r-- 1 jenkins jenkins 11340 May 2 05:15 LICENSE 05:19:27 -rw-rw-r-- 1 jenkins jenkins 1905 May 2 05:15 Makefile 05:19:27 -rw-rw-r-- 1 jenkins jenkins 622 May 2 05:15 OWNERS.md 05:19:27 -rw-rw-r-- 1 jenkins jenkins 3680 May 2 05:15 README.md 05:19:27 -rw-rw-r-- 1 jenkins jenkins 5 May 2 05:09 VERSION 05:19:27 drwxrwxr-x 2 jenkins jenkins 4096 May 2 05:15 bin 05:19:27 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:15 cmd 05:19:27 -rw-r--r-- 1 jenkins jenkins 24065 May 2 05:18 coverage.out 05:19:27 -rw-rw-r-- 1 jenkins jenkins 3399 May 2 05:15 go.mod 05:19:27 -rw-rw-r-- 1 jenkins jenkins 35440 May 2 05:15 go.sum 05:19:27 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:15 internal 05:19:27 drwxrwxr-x 2 jenkins jenkins 4096 May 2 05:15 simulator 05:19:27 drwxrwxr-x 4 jenkins jenkins 4096 May 2 05:15 snap 05:19:27 -rw-rw-r-- 1 jenkins jenkins 229 May 2 05:15 version.go [Pipeline] isUnix [Pipeline] sh 05:19:28 + 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=ece145aba58c24e28c11b3270a83d5b4f164dc0a --label arch=arm64 --label version=0.0.0 . 05:19:28 Sending build context to Docker daemon 3.115MB 05:19:28 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 05:19:28 Step 2/23 : FROM ${BASE} AS builder 05:19:28 ---> 2829f724fc1b 05:19:28 Step 3/23 : ARG MAKE='make build' 05:19:28 ---> Running in 42401b274d66 05:19:29 Removing intermediate container 42401b274d66 05:19:29 ---> 2a0b41deb939 05:19:29 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:19:29 ---> Running in e0510637d39b 05:19:31 Removing intermediate container e0510637d39b 05:19:31 ---> 661d2cb9c5d2 05:19:31 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:19:31 ---> Running in 64ec5463b4fe 05:19:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:19:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:19:34 OK: 226 MiB in 60 packages 05:19:35 Removing intermediate container 64ec5463b4fe 05:19:35 ---> e649369dcee9 05:19:35 Step 6/23 : WORKDIR /device-modbus-go 05:19:35 ---> Running in 31732655264d 05:19:35 Removing intermediate container 31732655264d 05:19:35 ---> 1bafdaf44374 05:19:35 Step 7/23 : COPY go.mod vendor* ./ 05:19:35 ---> 478eeb99d69f 05:19:35 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:19:35 ---> Running in 886f4f9cf688 05:19:37 Removing intermediate container 886f4f9cf688 05:19:37 ---> 42edddc0773a 05:19:37 Step 9/23 : COPY . . 05:19:39 ---> 9ac6854b48b0 05:19:39 Step 10/23 : RUN ${MAKE} 05:19:39 ---> Running in fa3113057e54 05:19:40 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:02 Removing intermediate container fa3113057e54 05:22:02 ---> 417b305401c3 05:22:02 Step 11/23 : FROM alpine:3.14 05:22:02 3.14: Pulling from library/alpine 05:22:02 455c02918c45: Pulling fs layer 05:22:02 455c02918c45: Verifying Checksum 05:22:02 455c02918c45: Download complete 05:22:02 455c02918c45: Pull complete 05:22:02 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:22:02 Status: Downloaded newer image for alpine:3.14 05:22:02 ---> ac73e934f311 05:22:02 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:22:02 ---> Running in 525bb6b43b70 05:22:02 Removing intermediate container 525bb6b43b70 05:22:02 ---> d90c55275032 05:22:02 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:22:02 ---> Running in c159e9ad82e5 05:22:02 Removing intermediate container c159e9ad82e5 05:22:02 ---> 81dacea1f645 05:22:02 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 05:22:02 ---> Running in 66d4795694e2 05:22:02 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:22:02 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:22:02 (1/6) Installing dumb-init (1.2.5-r1) 05:22:02 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:22:02 (3/6) Installing libsodium (1.0.18-r0) 05:22:02 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:22:02 (5/6) Installing libzmq (4.3.4-r0) 05:22:02 (6/6) Installing zeromq (4.3.4-r0) 05:22:02 Executing busybox-1.33.1-r7.trigger 05:22:02 OK: 8 MiB in 20 packages 05:22:02 Removing intermediate container 66d4795694e2 05:22:02 ---> a6c1116f270e 05:22:02 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:22:02 ---> 211d0127057f 05:22:02 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:22:02 ---> 8a2697ab8c3d 05:22:02 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:22:02 ---> 1478d4a70cd2 05:22:02 Step 18/23 : EXPOSE 59901 05:22:02 ---> Running in 84c9f751f20c 05:22:02 Removing intermediate container 84c9f751f20c 05:22:02 ---> e8b35e8f21c7 05:22:02 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:22:02 ---> Running in 9a742fb7db28 05:22:02 Removing intermediate container 9a742fb7db28 05:22:02 ---> 4cedde79989b 05:22:02 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:22:02 ---> Running in 2a744e4f203e 05:22:03 Removing intermediate container 2a744e4f203e 05:22:03 ---> adda3e3d7d59 05:22:03 Step 21/23 : LABEL arch=arm64 05:22:03 ---> Running in d8c0de131b33 05:22:03 Removing intermediate container d8c0de131b33 05:22:03 ---> 4af6016fe790 05:22:03 Step 22/23 : LABEL git_sha=ece145aba58c24e28c11b3270a83d5b4f164dc0a 05:22:03 ---> Running in 0cbc12ddc0fe 05:22:04 Removing intermediate container 0cbc12ddc0fe 05:22:04 ---> 8ca446e13d1a 05:22:04 Step 23/23 : LABEL version=0.0.0 05:22:04 ---> Running in e5fb1fb8a85d 05:22:04 Removing intermediate container e5fb1fb8a85d 05:22:04 ---> a7a5f7dcaa5a 05:22:04 [Warning] One or more build-args [ARCH] were not consumed 05:22:04 Successfully built a7a5f7dcaa5a 05:22:04 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:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:22:05 05:22:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:22:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:22:05 arm64: Pulling from edgex-lftools-log-publisher 05:22:05 8998bd30e6a1: Pulling fs layer 05:22:05 04944245beec: Pulling fs layer 05:22:05 699f458cf7ca: Pulling fs layer 05:22:05 765212b225bb: Pulling fs layer 05:22:05 f23df028b6ca: Pulling fs layer 05:22:05 d65c8cfc05b1: Pulling fs layer 05:22:05 2437ff75d9bd: Pulling fs layer 05:22:05 f23df028b6ca: Waiting 05:22:05 d65c8cfc05b1: Waiting 05:22:05 2437ff75d9bd: Waiting 05:22:05 765212b225bb: Waiting 05:22:05 04944245beec: Verifying Checksum 05:22:05 04944245beec: Download complete 05:22:05 765212b225bb: Download complete 05:22:05 f23df028b6ca: Download complete 05:22:05 d65c8cfc05b1: Verifying Checksum 05:22:05 d65c8cfc05b1: Download complete 05:22:06 699f458cf7ca: Verifying Checksum 05:22:06 8998bd30e6a1: Verifying Checksum 05:22:06 8998bd30e6a1: Download complete 05:22:08 2437ff75d9bd: Verifying Checksum 05:22:08 2437ff75d9bd: Download complete 05:22:10 8998bd30e6a1: Pull complete 05:22:11 04944245beec: Pull complete 05:22:12 699f458cf7ca: Pull complete 05:22:13 765212b225bb: Pull complete 05:22:14 f23df028b6ca: Pull complete 05:22:14 d65c8cfc05b1: Pull complete 05:22:29 2437ff75d9bd: Pull complete 05:22:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:22:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:22:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:22:29 prd-ubuntu20.04-docker-arm64-4c-16g-34457 does not seem to be running inside a container 05:22:29 $ 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:32 $ docker top 558342eb8a4f81d15c5a470e8db740234ca8ca10c4c56c862637a3dcfc87e6f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:22:33 ---> job-cost.sh 05:22:33 lf-activate-venv: SKIPPING 05:22:33 INFO: No Stack... 05:22:33 INFO: Retrieving Pricing Info for: v3-standard-4 05:22:34 INFO: Archiving Costs [Pipeline] sh 05:22:35 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 05:22:35 + cut -d, -f6 [Pipeline] lock 05:22:35 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-340-1-stack-cost] 05:22:35 Resource [jenkins-edgexfoundry-device-modbus-go-PR-340-1-stack-cost] did not exist. Created. 05:22:35 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-340-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:22:36 /w/workspace/device-modbus-go/1@tmp/durable-62912149/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:22:37 + echo total: 0.10999999940395355 [Pipeline] stash 05:22:37 Warning: overwriting stash ‘stack-cost’ 05:22:37 Stashed 1 file(s) [Pipeline] } 05:22:37 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-340-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:22:37 $ docker stop --time=1 558342eb8a4f81d15c5a470e8db740234ca8ca10c4c56c862637a3dcfc87e6f5 05:22:38 $ docker rm -f 558342eb8a4f81d15c5a470e8db740234ca8ca10c4c56c862637a3dcfc87e6f5 [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:40 provisioning config files... 05:22:40 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-340@tmp/config6384005107999568396tmp [Pipeline] { [Pipeline] sh 05:22:40 + set +x 05:22:40 + bash -s -- 05:22:40 + curl -s https://codecov.io/bash 05:22:40 05:22:40 _____ _ 05:22:40 / ____| | | 05:22:40 | | ___ __| | ___ ___ _____ __ 05:22:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:22:40 | |___| (_) | (_| | __/ (_| (_) \ V / 05:22:40 \_____\___/ \__,_|\___|\___\___/ \_/ 05:22:40 Bash-1.0.6 05:22:40 05:22:40 05:22:40 ==> git version 2.25.1 found 05:22:40 ==> 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:40 Release-Date: 2020-01-08 05:22:40 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:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:22:40 ==> Jenkins CI detected. 05:22:40 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-340 05:22:40 project root: . 05:22:40 --> token set from env 05:22:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:22:40 ==> Running gcov in . (disable via -X gcov) 05:22:40 ==> Python coveragepy not found 05:22:40 ==> Searching for coverage reports in: 05:22:40 + . 05:22:40 -> Found 1 reports 05:22:40 ==> Detecting git/mercurial file structure 05:22:40 ==> Reading reports 05:22:40 + ./coverage.out bytes=24065 05:22:40 ==> Appending adjustments 05:22:40 https://docs.codecov.io/docs/fixing-reports 05:22:40 + Found adjustments 05:22:40 ==> Gzipping contents 05:22:40 4.0K /tmp/codecov.czy4iW.gz 05:22:40 ==> Uploading reports 05:22:40 url: https://codecov.io 05:22:40 query: branch=PR-340&commit=ece145aba58c24e28c11b3270a83d5b4f164dc0a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-340%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=340&job=&cmd_args= 05:22:40 -> Pinging Codecov 05:22:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-340&commit=ece145aba58c24e28c11b3270a83d5b4f164dc0a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-340%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=340&job=&cmd_args= 05:22:40 -> Uploading to 05:22:40 https://storage.googleapis.com/codecov/v4/raw/2022-05-02/55DBCA73C666E3227836607328DD7E49/ece145aba58c24e28c11b3270a83d5b4f164dc0a/f3d462f5-28e3-40f6-b007-b9e5a75b58e3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220502%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220502T052240Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e2897573315e7c6fea317fa58b01536ccac042856392c16c8de4eafc5f67974d 05:22:40 % Total % Received % Xferd Average Speed Time Time Time Current 05:22:40 Dload Upload Total Spent Left Speed 05:22:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4026 0 0 100 4026 0 17131 --:--:-- --:--:-- --:--:-- 17131 05:22:41 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/ece145aba58c24e28c11b3270a83d5b4f164dc0a [Pipeline] } 05:22:41 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:43 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-340/archives ] 05:22:43 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-340/archives 05:22:43 total 16 05:22:43 drwxr-xr-x 3 root root 4096 May 2 05:11 . 05:22:43 drwxrwxr-x 11 jenkins jenkins 4096 May 2 05:11 .. 05:22:43 drwxr-xr-x 2 root root 4096 May 2 05:11 cost 05:22:43 -rw-r--r-- 1 root root 87 May 2 05:11 cost.csv 05:22:43 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-340/archives 05:22:43 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-340/archives 05:22:43 total 16 05:22:43 drwxr-xr-x 3 jenkins jenkins 4096 May 2 05:11 . 05:22:43 drwxrwxr-x 11 jenkins jenkins 4096 May 2 05:11 .. 05:22:43 drwxr-xr-x 2 jenkins jenkins 4096 May 2 05:11 cost 05:22:43 -rw-r--r-- 1 jenkins jenkins 87 May 2 05:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:22:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:22:44 ---> package-listing.sh 05:22:44 ++ facter osfamily 05:22:44 ++ tr '[:upper:]' '[:lower:]' 05:22:44 + OS_FAMILY=debian 05:22:44 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-340 05:22:44 + START_PACKAGES=/tmp/packages_start.txt 05:22:44 + END_PACKAGES=/tmp/packages_end.txt 05:22:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:22:44 + PACKAGES=/tmp/packages_start.txt 05:22:44 + '[' /w/workspace/xfoundry_device-modbus-go_PR-340 ']' 05:22:44 + PACKAGES=/tmp/packages_end.txt 05:22:44 + case "${OS_FAMILY}" in 05:22:44 + dpkg -l 05:22:44 + grep '^ii' 05:22:44 + '[' -f /tmp/packages_start.txt ']' 05:22:44 + '[' -f /tmp/packages_end.txt ']' 05:22:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:22:44 + '[' /w/workspace/xfoundry_device-modbus-go_PR-340 ']' 05:22:44 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-340/archives/ 05:22:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-340/archives/ [Pipeline] echo 05:22:44 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-340/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:22:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:22:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:22:45 . [Pipeline] withDockerContainer 05:22:45 prd-ubuntu20.04-docker-8c-8g-34416 does not seem to be running inside a container 05:22:45 $ 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-340/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-340 -v /w/workspace/xfoundry_device-modbus-go_PR-340:/w/workspace/xfoundry_device-modbus-go_PR-340:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-340@tmp:/w/workspace/xfoundry_device-modbus-go_PR-340@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:22:45 $ docker top 590ad14cb526031328ecdccf0f9c09e09b2b3f645d9956fe98b3124c3113bda4 -eo pid,comm [Pipeline] { [Pipeline] sh 05:22:46 + touch /tmp/pre-build-complete [Pipeline] sh 05:22:46 + mkdir -p /var/log/sysstat [Pipeline] sh 05:22:47 + ls /var/log/sa-host 05:22:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:22:47 provisioning config files... 05:22:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-340@tmp/config239966856784762621tmp [Pipeline] { [Pipeline] echo 05:22:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:22:47 ---> create-netrc.sh [Pipeline] } 05:22:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:22:48 ---> python-tools-install.sh [Pipeline] echo 05:22:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:22:48 ---> sudo-logs.sh 05:22:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:22:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:22:48 ---> job-cost.sh 05:22:48 lf-activate-venv: SKIPPING 05:22:48 DEBUG: total: 0.2199999988079071 05:22:48 INFO: Retrieving Stack Cost... 05:22:49 INFO: Retrieving Pricing Info for: v3-standard-8 05:22:49 INFO: Archiving Costs [Pipeline] echo 05:22:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:22:50 ---> logs-deploy.sh 05:22:50 lf-activate-venv: SKIPPING 05:22:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-340/1 05:22:50 INFO: archiving workspace using pattern(s): 05:22:50 Archives upload complete. 05:22:50 INFO: archiving logs to Nexus