Pull request #344 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cfbdeee84e03682aa243b416fb24165fd5646629+d7023bcda15e937cec539ef29d6768596b85ffc4 (a4dc91cd250010ba392d4c40df041af019379665) 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-ssh6033769286891608123.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-ssh10035259835266199686.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-344/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-344/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18428997483304469807.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-344/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14735938682192064735.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-ssh13974386019634642589.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-344/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-344/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16218041775862463250.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-41779 in /w/workspace/xfoundry_device-modbus-go_PR-344 [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-344 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit d7023bcda15e937cec539ef29d6768596b85ffc4 into PR head commit cfbdeee84e03682aa243b416fb24165fd5646629 Merge succeeded, producing cfbdeee84e03682aa243b416fb24165fd5646629 Checking out Revision cfbdeee84e03682aa243b416fb24165fd5646629 (PR-344) > 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/344/head:refs/remotes/origin/PR-344 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cfbdeee84e03682aa243b416fb24165fd5646629 # 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 d7023bcda15e937cec539ef29d6768596b85ffc4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cfbdeee84e03682aa243b416fb24165fd5646629 # 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:04:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:04:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:04:14 ========================================================= 05:04:14 EdgeX Global Pipelines Version Info 05:04:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:04:14 ------------------- 05:04:14 stable info: 05:04:14 ------------------- 05:04:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:04:14 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 05:04:14 Message: update stable to v1.0.227 05:04:15 ------------------- 05:04:15 experimental info: 05:04:15 ------------------- 05:04:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:04:15 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 05:04:15 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-344 [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-344 [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-344 [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cfbdeee84e03682aa243b416fb24165fd5646629 [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cfbdeee [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:17 provisioning config files... 05:04:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-344@tmp/config4588748240237920625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:17 ---> docker-login.sh 05:04:17 nexus3.edgexfoundry.org:10001 05:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:17 Configure a credential helper to remove this warning. See 05:04:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:17 05:04:17 Login Succeeded 05:04:17 nexus3.edgexfoundry.org:10002 05:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:17 Configure a credential helper to remove this warning. See 05:04:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:17 05:04:17 Login Succeeded 05:04:17 nexus3.edgexfoundry.org:10003 05:04:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:18 Configure a credential helper to remove this warning. See 05:04:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:18 05:04:18 Login Succeeded 05:04:18 nexus3.edgexfoundry.org:10004 05:04:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:18 Configure a credential helper to remove this warning. See 05:04:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:18 05:04:18 Login Succeeded 05:04:18 docker.io 05:04:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:18 Configure a credential helper to remove this warning. See 05:04:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:18 05:04:18 Login Succeeded 05:04:18 ---> docker-login.sh ends [Pipeline] } 05:04:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:04:19 + git rev-list -1 --merges cfbdeee84e03682aa243b416fb24165fd5646629~1..cfbdeee84e03682aa243b416fb24165fd5646629 [Pipeline] echo 05:04:19 -----------> git rev-list -1 --merges cfbdeee84e03682aa243b416fb24165fd5646629~1..cfbdeee84e03682aa243b416fb24165fd5646629 cfbdeee84e03682aa243b416fb24165fd5646629 [false] [Pipeline] sh 05:04:19 + git log --format=format:%s -1 cfbdeee84e03682aa243b416fb24165fd5646629 [Pipeline] echo 05:04:19 ========================================================= 05:04:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:04:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:20 + git log --format=format:%s -1 cfbdeee84e03682aa243b416fb24165fd5646629 [Pipeline] echo 05:04:20 [semverPrep] GIT_COMMIT: cfbdeee84e03682aa243b416fb24165fd5646629, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:04:20 [semverPrep] This is not a build commit. [Pipeline] sh 05:04:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:04:20 + grep -v github /etc/ssh/ssh_known_hosts 05:04:20 + [ -e /tmp/ssh_known_hosts ] 05:04:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:04:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:04:20 + sudo tee -a /etc/ssh/ssh_known_hosts 05:04:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:04:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:04:21 05:04:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:04:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:04:21 latest: Pulling from edgex-devops/py-git-semver 05:04:21 1fe172e4850f: Pulling fs layer 05:04:21 caf521ccaac6: Pulling fs layer 05:04:21 3ead6fa29328: Pulling fs layer 05:04:21 5c2a1cbceb83: Pulling fs layer 05:04:21 a8d5f1318db7: Pulling fs layer 05:04:21 c427282e49a2: Pulling fs layer 05:04:21 1827001aaf11: Pulling fs layer 05:04:21 0714d37db230: Pulling fs layer 05:04:21 ac28cf19c067: Pulling fs layer 05:04:21 ca983d60f3e2: Pulling fs layer 05:04:21 9f894cec8388: Pulling fs layer 05:04:21 5c2a1cbceb83: Waiting 05:04:21 a8d5f1318db7: Waiting 05:04:21 c427282e49a2: Waiting 05:04:21 ca983d60f3e2: Waiting 05:04:21 9f894cec8388: Waiting 05:04:21 1827001aaf11: Waiting 05:04:21 0714d37db230: Waiting 05:04:21 ac28cf19c067: Waiting 05:04:21 caf521ccaac6: Verifying Checksum 05:04:21 caf521ccaac6: Download complete 05:04:21 5c2a1cbceb83: Download complete 05:04:21 a8d5f1318db7: Verifying Checksum 05:04:21 a8d5f1318db7: Download complete 05:04:22 c427282e49a2: Verifying Checksum 05:04:22 c427282e49a2: Download complete 05:04:22 3ead6fa29328: Verifying Checksum 05:04:22 3ead6fa29328: Download complete 05:04:22 0714d37db230: Download complete 05:04:22 ac28cf19c067: Download complete 05:04:22 ca983d60f3e2: Verifying Checksum 05:04:22 ca983d60f3e2: Download complete 05:04:22 9f894cec8388: Download complete 05:04:22 1fe172e4850f: Verifying Checksum 05:04:22 1fe172e4850f: Download complete 05:04:22 1827001aaf11: Verifying Checksum 05:04:22 1827001aaf11: Download complete 05:04:23 1fe172e4850f: Pull complete 05:04:23 caf521ccaac6: Pull complete 05:04:24 3ead6fa29328: Pull complete 05:04:24 5c2a1cbceb83: Pull complete 05:04:24 a8d5f1318db7: Pull complete 05:04:24 c427282e49a2: Pull complete 05:04:26 1827001aaf11: Pull complete 05:04:26 0714d37db230: Pull complete 05:04:26 ac28cf19c067: Pull complete 05:04:26 ca983d60f3e2: Pull complete 05:04:26 9f894cec8388: Pull complete 05:04:26 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 05:04:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:04:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 05:04:27 prd-ubuntu20.04-docker-8c-8g-41779 does not seem to be running inside a container 05:04:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-344 -v /w/workspace/xfoundry_device-modbus-go_PR-344:/w/workspace/xfoundry_device-modbus-go_PR-344:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-344@tmp:/w/workspace/xfoundry_device-modbus-go_PR-344@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 05:04:28 $ docker top 1a78add0dbd16280ce340aa051ae0b5ace082bdf9bbb68f097a128fe159e3060 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:04:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:28 [ssh-agent] Looking for ssh-agent implementation... 05:04:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:29 $ docker exec 1a78add0dbd16280ce340aa051ae0b5ace082bdf9bbb68f097a128fe159e3060 ssh-agent 05:04:29 SSH_AUTH_SOCK=/tmp/ssh-31wZvqhHnkNd/agent.33 05:04:29 SSH_AGENT_PID=39 05:04:29 Running ssh-add (command line suppressed) 05:04:29 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-344@tmp/private_key_106893850357119250.key (/w/workspace/xfoundry_device-modbus-go_PR-344@tmp/private_key_106893850357119250.key) 05:04:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:29 + git tag --points-at HEAD [Pipeline] } 05:04:29 $ docker exec --env ******** --env ******** 1a78add0dbd16280ce340aa051ae0b5ace082bdf9bbb68f097a128fe159e3060 ssh-agent -k 05:04:29 unset SSH_AUTH_SOCK; 05:04:29 unset SSH_AGENT_PID; 05:04:29 echo Agent pid 39 killed; 05:04:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:04:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:29 [ssh-agent] Looking for ssh-agent implementation... 05:04:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:30 $ docker exec 1a78add0dbd16280ce340aa051ae0b5ace082bdf9bbb68f097a128fe159e3060 ssh-agent 05:04:30 SSH_AUTH_SOCK=/tmp/ssh-Aez0ZFAkjRNk/agent.73 05:04:30 SSH_AGENT_PID=79 05:04:30 Running ssh-add (command line suppressed) 05:04:30 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-344@tmp/private_key_582289485086117591.key (/w/workspace/xfoundry_device-modbus-go_PR-344@tmp/private_key_582289485086117591.key) 05:04:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:30 + git semver init 05:04:30 2022-05-09 05:04:30,878 [run_init] DEBUG init version:0.0.0 force:False 05:04:30 2022-05-09 05:04:30,879 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-344/.semver 05:04:30 2022-05-09 05:04:30,880 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-344/.semver 05:04:30 2022-05-09 05:04:30,880 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-344/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-344, universal_newlines=False, shell=None, istream=None) 05:04:31 2022-05-09 05:04:31,698 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-344/.git/info/exclude 05:04:31 2022-05-09 05:04:31,698 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-344/.semver/PR-344 with force:False 05:04:31 2022-05-09 05:04:31,699 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-344/.semver/PR-344 05:04:31 2022-05-09 05:04:31,703 [execute] INFO git cat-file --batch-check 05:04:31 2022-05-09 05:04:31,703 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-344/.semver, universal_newlines=False, shell=None, istream=) 05:04:31 2022-05-09 05:04:31,710 [execute] INFO git cat-file --batch 05:04:31 2022-05-09 05:04:31,710 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-344/.semver, universal_newlines=False, shell=None, istream=) 05:04:31 2022-05-09 05:04:31,715 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-344/.semver/PR-344 05:04:31 0.0.0 [Pipeline] } 05:04:31 $ docker exec --env ******** --env ******** 1a78add0dbd16280ce340aa051ae0b5ace082bdf9bbb68f097a128fe159e3060 ssh-agent -k 05:04:32 unset SSH_AUTH_SOCK; 05:04:32 unset SSH_AGENT_PID; 05:04:32 echo Agent pid 79 killed; 05:04:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:04:32 + git semver [Pipeline] } 05:04:32 $ docker stop --time=1 1a78add0dbd16280ce340aa051ae0b5ace082bdf9bbb68f097a128fe159e3060 05:04:34 $ docker rm -f 1a78add0dbd16280ce340aa051ae0b5ace082bdf9bbb68f097a128fe159e3060 [Pipeline] // withDockerContainer [Pipeline] sh 05:04:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:04:34 Stashed 1 file(s) [Pipeline] echo 05:04:34 [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:04:35 provisioning config files... 05:04:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-344@tmp/config80829862344261986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:35 ---> docker-login.sh 05:04:35 nexus3.edgexfoundry.org:10001 05:04:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:35 Configure a credential helper to remove this warning. See 05:04:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:35 05:04:35 Login Succeeded 05:04:35 nexus3.edgexfoundry.org:10002 05:04:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:36 Configure a credential helper to remove this warning. See 05:04:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:36 05:04:36 Login Succeeded 05:04:36 nexus3.edgexfoundry.org:10003 05:04:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:36 Configure a credential helper to remove this warning. See 05:04:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:36 05:04:36 Login Succeeded 05:04:36 nexus3.edgexfoundry.org:10004 05:04:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:36 Configure a credential helper to remove this warning. See 05:04:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:36 05:04:36 Login Succeeded 05:04:36 docker.io 05:04:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:36 Configure a credential helper to remove this warning. See 05:04:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:36 05:04:36 Login Succeeded 05:04:36 ---> docker-login.sh ends [Pipeline] } 05:04:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:04:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:36 ========================================================= 05:04:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:04:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:04:37 + 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:04:37 Sending build context to Docker daemon 5.87MB 05:04:37 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 05:04:37 Step 2/10 : FROM ${BASE} AS builder 05:04:37 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:04:37 59bf1c3509f3: Pulling fs layer 05:04:37 666ba61612fd: Pulling fs layer 05:04:37 8ed8ca486205: Pulling fs layer 05:04:37 4fe6c5a15a65: Pulling fs layer 05:04:37 22a0e8bec74d: Pulling fs layer 05:04:37 ca2b28591e48: Pulling fs layer 05:04:37 a51346096db8: Pulling fs layer 05:04:37 4fe6c5a15a65: Waiting 05:04:37 22a0e8bec74d: Waiting 05:04:37 ca2b28591e48: Waiting 05:04:37 daebc70d1ce1: Pulling fs layer 05:04:37 0e18a0eac166: Pulling fs layer 05:04:37 0e18a0eac166: Waiting 05:04:37 a51346096db8: Waiting 05:04:37 daebc70d1ce1: Waiting 05:04:37 8ed8ca486205: Verifying Checksum 05:04:37 8ed8ca486205: Download complete 05:04:37 666ba61612fd: Verifying Checksum 05:04:37 666ba61612fd: Download complete 05:04:37 22a0e8bec74d: Verifying Checksum 05:04:37 22a0e8bec74d: Download complete 05:04:37 ca2b28591e48: Verifying Checksum 05:04:37 ca2b28591e48: Download complete 05:04:37 a51346096db8: Verifying Checksum 05:04:37 a51346096db8: Download complete 05:04:37 59bf1c3509f3: Verifying Checksum 05:04:37 59bf1c3509f3: Download complete 05:04:37 daebc70d1ce1: Verifying Checksum 05:04:37 daebc70d1ce1: Download complete 05:04:37 59bf1c3509f3: Pull complete 05:04:37 666ba61612fd: Pull complete 05:04:37 8ed8ca486205: Pull complete 05:04:38 0e18a0eac166: Verifying Checksum 05:04:38 0e18a0eac166: Download complete 05:04:38 4fe6c5a15a65: Verifying Checksum 05:04:38 4fe6c5a15a65: Download complete 05:04:42 4fe6c5a15a65: Pull complete 05:04:42 22a0e8bec74d: Pull complete 05:04:42 ca2b28591e48: Pull complete 05:04:42 a51346096db8: Pull complete 05:04:42 daebc70d1ce1: Pull complete 05:04:44 0e18a0eac166: Pull complete 05:04:44 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 05:04:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:04:44 ---> f018257e8ee9 05:04:44 Step 3/10 : ARG MAKE='make build' 05:04:46 ---> Running in 6f3dca93907c 05:04:46 Removing intermediate container 6f3dca93907c 05:04:46 ---> e82b7a271788 05:04:46 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:04:46 ---> Running in dcb6bd56e5df 05:04:46 Removing intermediate container dcb6bd56e5df 05:04:46 ---> f56adf895f3a 05:04:46 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:04:46 ---> Running in c86dfb00cd8a 05:04:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:04:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:04:48 (1/8) Installing openssh-keygen (8.8_p1-r1) 05:04:48 (2/8) Installing libedit (20210910.3.1-r0) 05:04:48 (3/8) Installing openssh-client-common (8.8_p1-r1) 05:04:48 (4/8) Installing openssh-client-default (8.8_p1-r1) 05:04:48 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 05:04:48 (6/8) Installing openssh-server-common (8.8_p1-r1) 05:04:48 (7/8) Installing openssh-server (8.8_p1-r1) 05:04:48 (8/8) Installing openssh (8.8_p1-r1) 05:04:48 Executing busybox-1.34.1-r3.trigger 05:04:48 OK: 226 MiB in 60 packages 05:04:49 Removing intermediate container c86dfb00cd8a 05:04:49 ---> 9c4d9daacdff 05:04:49 Step 6/10 : WORKDIR /device-modbus-go 05:04:49 ---> Running in 7cdf3273f028 05:04:49 Removing intermediate container 7cdf3273f028 05:04:49 ---> d40ae2635536 05:04:49 Step 7/10 : COPY go.mod vendor* ./ 05:04:49 ---> e6a61cd5dc9e 05:04:49 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:49 ---> Running in 00c1fb1549b1 05:04:50 Still waiting to schedule task 05:04:50 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:05:07 Removing intermediate container 00c1fb1549b1 05:05:07 ---> c9b68bd32e3a 05:05:07 Step 9/10 : COPY . . 05:05:07 ---> bbcfeb810b27 05:05:07 Step 10/10 : RUN ${MAKE} 05:05:07 ---> Running in 139f53c6ea02 05:05:07 noop 05:05:08 Removing intermediate container 139f53c6ea02 05:05:08 ---> d4b69872c1cb 05:05:08 Successfully built d4b69872c1cb 05:05:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:05:08 + docker inspect -f . ci-base-image-x86_64 05:05:08 . [Pipeline] withDockerContainer 05:05:08 prd-ubuntu20.04-docker-8c-8g-41779 does not seem to be running inside a container 05:05:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-344 -v /w/workspace/xfoundry_device-modbus-go_PR-344:/w/workspace/xfoundry_device-modbus-go_PR-344:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-344@tmp:/w/workspace/xfoundry_device-modbus-go_PR-344@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:05:09 $ docker top 697149b91a20b193d555a3ae0f61e31e1bf3fbd344aa5dcce93aa936286abf5c -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:09 + go version 05:05:09 go version go1.17.6 linux/amd64 [Pipeline] } 05:05:09 $ docker stop --time=1 697149b91a20b193d555a3ae0f61e31e1bf3fbd344aa5dcce93aa936286abf5c 05:05:11 $ docker rm -f 697149b91a20b193d555a3ae0f61e31e1bf3fbd344aa5dcce93aa936286abf5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:05:11 + docker inspect -f . ci-base-image-x86_64 05:05:11 . [Pipeline] withDockerContainer 05:05:11 prd-ubuntu20.04-docker-8c-8g-41779 does not seem to be running inside a container 05:05:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-344 -v /w/workspace/xfoundry_device-modbus-go_PR-344:/w/workspace/xfoundry_device-modbus-go_PR-344:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-344@tmp:/w/workspace/xfoundry_device-modbus-go_PR-344@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:05:12 $ docker top 0d8e7e04cdeaaef8dfb757007aeb1757c29bf43cd840b33a67a2714e463b5cc6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:05:12 + make test 05:05:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:05:13 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:05:23 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:05:23 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 46.4% of statements 05:05:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:05:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:05:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:05:31 ./bin/test-attribution-txt.sh [Pipeline] echo 05:05:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:05:32 $ docker stop --time=1 0d8e7e04cdeaaef8dfb757007aeb1757c29bf43cd840b33a67a2714e463b5cc6 05:05:34 $ docker rm -f 0d8e7e04cdeaaef8dfb757007aeb1757c29bf43cd840b33a67a2714e463b5cc6 [Pipeline] // withDockerContainer [Pipeline] sh 05:05:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:05:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:05:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:05:36 + ls -al . 05:05:36 total 180 05:05:36 drwxrwxr-x 10 jenkins jenkins 4096 May 9 05:05 . 05:05:36 drwxrwxr-x 4 jenkins jenkins 4096 May 9 05:04 .. 05:05:36 -rw-rw-r-- 1 jenkins jenkins 140 May 9 05:04 .dockerignore 05:05:36 drwxrwxr-x 8 jenkins jenkins 4096 May 9 05:04 .git 05:05:36 drwxrwxr-x 3 jenkins jenkins 4096 May 9 05:04 .github 05:05:36 -rw-rw-r-- 1 jenkins jenkins 331 May 9 05:04 .gitignore 05:05:36 -rw-rw-r-- 1 jenkins jenkins 41 May 9 05:04 .golangci.yml 05:05:36 drwxr-xr-x 3 jenkins jenkins 4096 May 9 05:04 .semver 05:05:36 -rw-rw-r-- 1 jenkins jenkins 9377 May 9 05:04 Attribution.txt 05:05:36 -rw-rw-r-- 1 jenkins jenkins 6038 May 9 05:04 CHANGELOG.md 05:05:36 -rw-rw-r-- 1 jenkins jenkins 1546 May 9 05:04 Dockerfile 05:05:36 -rw-rw-r-- 1 jenkins jenkins 677 May 9 05:04 GOVERNANCE.md 05:05:36 -rw-rw-r-- 1 jenkins jenkins 680 May 9 05:04 Jenkinsfile 05:05:36 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 05:04 LICENSE 05:05:36 -rw-rw-r-- 1 jenkins jenkins 1905 May 9 05:04 Makefile 05:05:36 -rw-rw-r-- 1 jenkins jenkins 622 May 9 05:04 OWNERS.md 05:05:36 -rw-rw-r-- 1 jenkins jenkins 3397 May 9 05:04 README.md 05:05:36 -rw-rw-r-- 1 jenkins jenkins 5 May 9 05:04 VERSION 05:05:36 drwxrwxr-x 2 jenkins jenkins 4096 May 9 05:04 bin 05:05:36 drwxrwxr-x 3 jenkins jenkins 4096 May 9 05:04 cmd 05:05:36 -rw-r--r-- 1 jenkins jenkins 24065 May 9 05:05 coverage.out 05:05:36 -rw-rw-r-- 1 jenkins jenkins 3399 May 9 05:04 go.mod 05:05:36 -rw-rw-r-- 1 jenkins jenkins 35558 May 9 05:04 go.sum 05:05:36 drwxrwxr-x 3 jenkins jenkins 4096 May 9 05:04 internal 05:05:36 drwxrwxr-x 2 jenkins jenkins 4096 May 9 05:04 simulator 05:05:36 drwxrwxr-x 4 jenkins jenkins 4096 May 9 05:04 snap 05:05:36 -rw-rw-r-- 1 jenkins jenkins 229 May 9 05:04 version.go [Pipeline] isUnix [Pipeline] sh 05:05:36 + 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=cfbdeee84e03682aa243b416fb24165fd5646629 --label arch=amd64 --label version=0.0.0 . 05:05:36 Sending build context to Docker daemon 5.895MB 05:05:36 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 05:05:36 Step 2/23 : FROM ${BASE} AS builder 05:05:36 ---> d4b69872c1cb 05:05:36 Step 3/23 : ARG MAKE='make build' 05:05:36 ---> Running in bb32e3cd8090 05:05:36 Removing intermediate container bb32e3cd8090 05:05:36 ---> 99ec6b87deb5 05:05:36 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:36 ---> Running in 6aa0cc1b8354 05:05:37 Removing intermediate container 6aa0cc1b8354 05:05:37 ---> c9a81939269d 05:05:37 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:05:37 ---> Running in 14aed871bfde 05:05:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:05:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:05:38 OK: 226 MiB in 60 packages 05:05:39 Removing intermediate container 14aed871bfde 05:05:39 ---> 5614a9658ba8 05:05:39 Step 6/23 : WORKDIR /device-modbus-go 05:05:39 ---> Running in b8177e816526 05:05:39 Removing intermediate container b8177e816526 05:05:39 ---> 9803bb15c7b9 05:05:39 Step 7/23 : COPY go.mod vendor* ./ 05:05:39 ---> 2bb2d936abeb 05:05:39 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:39 ---> Running in cac94b05889f 05:05:39 Removing intermediate container cac94b05889f 05:05:39 ---> 4b7dda46f142 05:05:39 Step 9/23 : COPY . . 05:05:40 ---> a055ff2ac89c 05:05:40 Step 10/23 : RUN ${MAKE} 05:05:40 ---> Running in b3cb295189be 05:05: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:06:02 Removing intermediate container b3cb295189be 05:06:02 ---> 7384a0adcfe1 05:06:02 Step 11/23 : FROM alpine:3.14 05:06:02 3.14: Pulling from library/alpine 05:06:02 8663204ce13b: Pulling fs layer 05:06:02 8663204ce13b: Verifying Checksum 05:06:02 8663204ce13b: Download complete 05:06:02 8663204ce13b: Pull complete 05:06:02 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:06:02 Status: Downloaded newer image for alpine:3.14 05:06:02 ---> e04c818066af 05:06:02 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:06:02 ---> Running in 5928c4f6b4f6 05:06:02 Removing intermediate container 5928c4f6b4f6 05:06:02 ---> 26b0b7679ae8 05:06:02 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:06:02 ---> Running in 42e9385a855c 05:06:02 Removing intermediate container 42e9385a855c 05:06:02 ---> 16aab282a243 05:06:02 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 05:06:02 ---> Running in 08206529a6e3 05:06:02 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:06:02 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:06:02 (1/6) Installing dumb-init (1.2.5-r1) 05:06:02 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:06:02 (3/6) Installing libsodium (1.0.18-r0) 05:06:02 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:06:02 (5/6) Installing libzmq (4.3.4-r0) 05:06:02 (6/6) Installing zeromq (4.3.4-r0) 05:06:02 Executing busybox-1.33.1-r7.trigger 05:06:02 OK: 8 MiB in 20 packages 05:06:03 Removing intermediate container 08206529a6e3 05:06:03 ---> caa45342f08d 05:06:03 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:06:04 ---> 66190f1c6b34 05:06:04 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:06:04 ---> 925a27ad342b 05:06:04 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:06:04 ---> 2698f6f8e31a 05:06:04 Step 18/23 : EXPOSE 59901 05:06:04 ---> Running in 3ac1aab86e61 05:06:04 Removing intermediate container 3ac1aab86e61 05:06:04 ---> 0e421336c343 05:06:04 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:06:04 ---> Running in 3cafc0da62a1 05:06:04 Removing intermediate container 3cafc0da62a1 05:06:04 ---> 07b1d8b1beb0 05:06:04 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:06:04 ---> Running in 2abf4ae79097 05:06:04 Removing intermediate container 2abf4ae79097 05:06:04 ---> 3f45abffd688 05:06:04 Step 21/23 : LABEL arch=amd64 05:06:04 ---> Running in dceb8f64c191 05:06:04 Removing intermediate container dceb8f64c191 05:06:04 ---> 7084930013b7 05:06:04 Step 22/23 : LABEL git_sha=cfbdeee84e03682aa243b416fb24165fd5646629 05:06:04 ---> Running in b9ed627838f5 05:06:04 Removing intermediate container b9ed627838f5 05:06:04 ---> 49c7e4291d25 05:06:04 Step 23/23 : LABEL version=0.0.0 05:06:04 ---> Running in c9c79f8334a4 05:06:04 Removing intermediate container c9c79f8334a4 05:06:04 ---> 224b7d8d400a 05:06:04 [Warning] One or more build-args [ARCH] were not consumed 05:06:04 Successfully built 224b7d8d400a 05:06:04 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:06:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:05 05:06:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:06:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:06 latest: Pulling from edgex-lftools-log-publisher 05:06:06 5eb5b503b376: Pulling fs layer 05:06:06 5c69ac0246d0: Pulling fs layer 05:06:06 ec43610c2a17: Pulling fs layer 05:06:06 3a2ae6a8a46f: Pulling fs layer 05:06:06 33b1e0a273af: Pulling fs layer 05:06:06 3a2ae6a8a46f: Waiting 05:06:06 5d3b04190fa2: Pulling fs layer 05:06:06 33b1e0a273af: Waiting 05:06:06 2f39f015ded8: Pulling fs layer 05:06:06 5d3b04190fa2: Waiting 05:06:06 2f39f015ded8: Waiting 05:06:06 5c69ac0246d0: Verifying Checksum 05:06:06 5c69ac0246d0: Download complete 05:06:06 3a2ae6a8a46f: Verifying Checksum 05:06:06 3a2ae6a8a46f: Download complete 05:06:06 ec43610c2a17: Verifying Checksum 05:06:06 ec43610c2a17: Download complete 05:06:06 33b1e0a273af: Verifying Checksum 05:06:06 33b1e0a273af: Download complete 05:06:06 5d3b04190fa2: Download complete 05:06:06 5eb5b503b376: Verifying Checksum 05:06:06 5eb5b503b376: Download complete 05:06:06 2f39f015ded8: Download complete 05:06:07 5eb5b503b376: Pull complete 05:06:07 5c69ac0246d0: Pull complete 05:06:07 ec43610c2a17: Pull complete 05:06:08 3a2ae6a8a46f: Pull complete 05:06:08 33b1e0a273af: Pull complete 05:06:08 5d3b04190fa2: Pull complete 05:06:12 2f39f015ded8: Pull complete 05:06:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:06:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:06:12 prd-ubuntu20.04-docker-8c-8g-41779 does not seem to be running inside a container 05:06:12 $ 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-344 -v /w/workspace/xfoundry_device-modbus-go_PR-344:/w/workspace/xfoundry_device-modbus-go_PR-344:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-344@tmp:/w/workspace/xfoundry_device-modbus-go_PR-344@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:06:14 $ docker top 7b01f58e5b709a35fb19bb45f3842e3500305e342d2d252613bace7e722add4f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:15 ---> job-cost.sh 05:06:15 lf-activate-venv: SKIPPING 05:06:15 INFO: No Stack... 05:06:15 INFO: Retrieving Pricing Info for: v3-standard-8 05:06:16 INFO: Archiving Costs [Pipeline] sh 05:06:16 + cat /w/workspace/xfoundry_device-modbus-go_PR-344/archives/cost.csv 05:06:16 + cut -d, -f6 [Pipeline] lock 05:06:16 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-344-1-stack-cost] 05:06:16 Resource [jenkins-edgexfoundry-device-modbus-go-PR-344-1-stack-cost] did not exist. Created. 05:06:16 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-344-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:06:16 + echo total: 0.2199999988079071 [Pipeline] stash 05:06:16 Stashed 1 file(s) [Pipeline] } 05:06:16 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-344-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:06:16 $ docker stop --time=1 7b01f58e5b709a35fb19bb45f3842e3500305e342d2d252613bace7e722add4f 05:06:18 $ docker rm -f 7b01f58e5b709a35fb19bb45f3842e3500305e342d2d252613bace7e722add4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:06:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41780 in /w/workspace/xfoundry_device-modbus-go_PR-344 [Pipeline] { [Pipeline] ws 05:06:26 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:06:26 Selected Git installation does not exist. Using Default 05:06:26 The recommended git tool is: NONE 05:06:32 using credential edgex-jenkins-ssh 05:06:32 Cloning the remote Git repository 05:06:33 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:06:33 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:06:33 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:06:33 > git --version # timeout=10 05:06:33 > git --version # 'git version 2.25.1' 05:06:33 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:06:35 Merging remotes/origin/main commit d7023bcda15e937cec539ef29d6768596b85ffc4 into PR head commit cfbdeee84e03682aa243b416fb24165fd5646629 05:06:34 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:06:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:06:34 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:06:34 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:06:34 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/344/head:refs/remotes/origin/PR-344 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:06:35 > git config core.sparsecheckout # timeout=10 05:06:35 > git checkout -f cfbdeee84e03682aa243b416fb24165fd5646629 # timeout=10 05:06:35 > git remote # timeout=10 05:06:35 > git config --get remote.origin.url # timeout=10 05:06:35 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:35 > git merge d7023bcda15e937cec539ef29d6768596b85ffc4 # timeout=10 05:06:35 Merge succeeded, producing cfbdeee84e03682aa243b416fb24165fd5646629 05:06:35 Checking out Revision cfbdeee84e03682aa243b416fb24165fd5646629 (PR-344) 05:06:35 > git rev-parse HEAD^{commit} # timeout=10 05:06:35 > git config core.sparsecheckout # timeout=10 05:06:35 > git checkout -f cfbdeee84e03682aa243b416fb24165fd5646629 # timeout=10 05:06:39 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 05:06:39 > git --version # timeout=10 05:06:39 > git --version # 'git version 2.25.1' 05:06:39 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:06:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:06:40 % Total % Received % Xferd Average Speed Time Time Time Current 05:06:40 Dload Upload Total Spent Left Speed 05:06:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 05:06:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:06:41 + sudo tee /etc/docker/daemon.new 05:06:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:06:41 { 05:06:41 "registry-mirrors": [ 05:06:41 "https://nexus3.edgexfoundry.org:10001" 05:06:41 ], 05:06:41 "bip": "10.250.0.254/24", 05:06:41 "hosts": [ 05:06:41 "tcp://0.0.0.0:5555", 05:06:41 "unix:///var/run/docker.sock" 05:06:41 ], 05:06:41 "mtu": 1458, 05:06:41 "selinux-enabled": true, 05:06:41 "seccomp-profile": "/etc/docker/seccomp.json" 05:06:41 } [Pipeline] sh 05:06:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:06:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:07:01 provisioning config files... 05:07:01 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config3050108463727185751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:01 ---> docker-login.sh 05:07:01 nexus3.edgexfoundry.org:10001 05:07:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:02 Configure a credential helper to remove this warning. See 05:07:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:02 05:07:02 Login Succeeded 05:07:02 nexus3.edgexfoundry.org:10002 05:07:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:02 Configure a credential helper to remove this warning. See 05:07:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:02 05:07:02 Login Succeeded 05:07:02 nexus3.edgexfoundry.org:10003 05:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:03 Configure a credential helper to remove this warning. See 05:07:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:03 05:07:03 Login Succeeded 05:07:03 nexus3.edgexfoundry.org:10004 05:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:03 Configure a credential helper to remove this warning. See 05:07:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:03 05:07:03 Login Succeeded 05:07:03 docker.io 05:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:04 Configure a credential helper to remove this warning. See 05:07:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:04 05:07:04 Login Succeeded 05:07:04 ---> docker-login.sh ends [Pipeline] } 05:07:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:07:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:04 ========================================================= 05:07:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:07:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:07:05 + 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:07:05 Sending build context to Docker daemon 3.061MB 05:07:05 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 05:07:05 Step 2/10 : FROM ${BASE} AS builder 05:07:05 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:07:05 9b3977197b4f: Pulling fs layer 05:07:05 1a89e8eeedd5: Pulling fs layer 05:07:05 94645a83ff95: Pulling fs layer 05:07:05 3f3a8bcf1eab: Pulling fs layer 05:07:05 0c92f367c5e7: Pulling fs layer 05:07:05 3096ccb668a1: Pulling fs layer 05:07:05 e8cf19c19ddd: Pulling fs layer 05:07:05 a4caa8a26152: Pulling fs layer 05:07:05 0c92f367c5e7: Waiting 05:07:05 3096ccb668a1: Waiting 05:07:05 e8cf19c19ddd: Waiting 05:07:05 a4caa8a26152: Waiting 05:07:05 3f3a8bcf1eab: Waiting 05:07:05 94645a83ff95: Download complete 05:07:05 1a89e8eeedd5: Download complete 05:07:05 0c92f367c5e7: Verifying Checksum 05:07:05 0c92f367c5e7: Download complete 05:07:05 3096ccb668a1: Verifying Checksum 05:07:05 3096ccb668a1: Download complete 05:07:05 9b3977197b4f: Download complete 05:07:05 e8cf19c19ddd: Verifying Checksum 05:07:05 e8cf19c19ddd: Download complete 05:07:06 9b3977197b4f: Pull complete 05:07:07 1a89e8eeedd5: Pull complete 05:07:07 94645a83ff95: Pull complete 05:07:08 a4caa8a26152: Verifying Checksum 05:07:08 a4caa8a26152: Download complete 05:07:08 3f3a8bcf1eab: Verifying Checksum 05:07:08 3f3a8bcf1eab: Download complete 05:07:20 3f3a8bcf1eab: Pull complete 05:07:20 0c92f367c5e7: Pull complete 05:07:20 3096ccb668a1: Pull complete 05:07:21 e8cf19c19ddd: Pull complete 05:07:27 a4caa8a26152: Pull complete 05:07:27 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 05:07:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:07:27 ---> 725f1c02e7f9 05:07:27 Step 3/10 : ARG MAKE='make build' 05:07:27 ---> Running in b7f1dc0f5bd3 05:07:28 Removing intermediate container b7f1dc0f5bd3 05:07:28 ---> 9b4e5ff9af37 05:07:28 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:07:28 ---> Running in 7e637279ac43 05:07:30 Removing intermediate container 7e637279ac43 05:07:30 ---> 133593f7e9bd 05:07:30 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:07:30 ---> Running in de0038ab989e 05:07:30 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:07:31 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:07:32 (1/8) Installing openssh-keygen (8.8_p1-r1) 05:07:32 (2/8) Installing libedit (20210910.3.1-r0) 05:07:32 (3/8) Installing openssh-client-common (8.8_p1-r1) 05:07:33 (4/8) Installing openssh-client-default (8.8_p1-r1) 05:07:33 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 05:07:33 (6/8) Installing openssh-server-common (8.8_p1-r1) 05:07:33 (7/8) Installing openssh-server (8.8_p1-r1) 05:07:33 (8/8) Installing openssh (8.8_p1-r1) 05:07:33 Executing busybox-1.34.1-r3.trigger 05:07:33 OK: 226 MiB in 60 packages 05:07:35 Removing intermediate container de0038ab989e 05:07:35 ---> 8d1fd56e506d 05:07:35 Step 6/10 : WORKDIR /device-modbus-go 05:07:35 ---> Running in 6a8bf3f56574 05:07:35 Removing intermediate container 6a8bf3f56574 05:07:35 ---> 6988b1bf76e6 05:07:35 Step 7/10 : COPY go.mod vendor* ./ 05:07:36 ---> 7056765d47a0 05:07:36 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:07:36 ---> Running in 1863aacced57 05:08:23 Removing intermediate container 1863aacced57 05:08:23 ---> 40ce4cf9e609 05:08:23 Step 9/10 : COPY . . 05:08:23 ---> ad74605b0775 05:08:23 Step 10/10 : RUN ${MAKE} 05:08:23 ---> Running in 57199a0a5ad7 05:08:23 noop 05:08:23 Removing intermediate container 57199a0a5ad7 05:08:23 ---> 54def3dd671d 05:08:23 Successfully built 54def3dd671d 05:08:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:08:23 + docker inspect -f . ci-base-image-arm64 05:08:23 . [Pipeline] withDockerContainer 05:08:23 prd-ubuntu20.04-docker-arm64-4c-16g-41780 does not seem to be running inside a container 05:08:23 $ 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:08:25 $ docker top e8961f9cbb78846426d6fbb496ef073fe52f9189c7756e2d77acba857a0931ff -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:25 + go version 05:08:25 go version go1.17.6 linux/arm64 [Pipeline] } 05:08:26 $ docker stop --time=1 e8961f9cbb78846426d6fbb496ef073fe52f9189c7756e2d77acba857a0931ff 05:08:27 $ docker rm -f e8961f9cbb78846426d6fbb496ef073fe52f9189c7756e2d77acba857a0931ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:08:28 + docker inspect -f . ci-base-image-arm64 05:08:28 . [Pipeline] withDockerContainer 05:08:28 prd-ubuntu20.04-docker-arm64-4c-16g-41780 does not seem to be running inside a container 05:08:28 $ 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:08:30 $ docker top 7c06ebfe60f624175a0d3ddfd7922f751c5c5facddaff59d2fc2b6981567d882 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:08:31 + make test 05:08:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:08:32 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:09:54 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:09:54 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.084s coverage: 46.4% of statements 05:09:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:09:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:10:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:10:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:10:16 ./bin/test-attribution-txt.sh [Pipeline] echo 05:10:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:10:17 $ docker stop --time=1 7c06ebfe60f624175a0d3ddfd7922f751c5c5facddaff59d2fc2b6981567d882 05:10:19 $ docker rm -f 7c06ebfe60f624175a0d3ddfd7922f751c5c5facddaff59d2fc2b6981567d882 [Pipeline] // withDockerContainer [Pipeline] sh 05:10:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:10:20 Warning: overwriting stash ‘coverage-report’ 05:10:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:10:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:10:21 + ls -al . 05:10:21 total 176 05:10:21 drwxrwxr-x 9 jenkins jenkins 4096 May 9 05:10 . 05:10:21 drwxrwxr-x 4 jenkins jenkins 4096 May 9 05:06 .. 05:10:21 -rw-rw-r-- 1 jenkins jenkins 140 May 9 05:06 .dockerignore 05:10:21 drwxrwxr-x 8 jenkins jenkins 4096 May 9 05:06 .git 05:10:21 drwxrwxr-x 3 jenkins jenkins 4096 May 9 05:06 .github 05:10:21 -rw-rw-r-- 1 jenkins jenkins 331 May 9 05:06 .gitignore 05:10:21 -rw-rw-r-- 1 jenkins jenkins 41 May 9 05:06 .golangci.yml 05:10:21 -rw-rw-r-- 1 jenkins jenkins 9377 May 9 05:06 Attribution.txt 05:10:21 -rw-rw-r-- 1 jenkins jenkins 6038 May 9 05:06 CHANGELOG.md 05:10:21 -rw-rw-r-- 1 jenkins jenkins 1546 May 9 05:06 Dockerfile 05:10:21 -rw-rw-r-- 1 jenkins jenkins 677 May 9 05:06 GOVERNANCE.md 05:10:21 -rw-rw-r-- 1 jenkins jenkins 680 May 9 05:06 Jenkinsfile 05:10:21 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 05:06 LICENSE 05:10:21 -rw-rw-r-- 1 jenkins jenkins 1905 May 9 05:06 Makefile 05:10:21 -rw-rw-r-- 1 jenkins jenkins 622 May 9 05:06 OWNERS.md 05:10:21 -rw-rw-r-- 1 jenkins jenkins 3397 May 9 05:06 README.md 05:10:21 -rw-rw-r-- 1 jenkins jenkins 5 May 9 05:04 VERSION 05:10:21 drwxrwxr-x 2 jenkins jenkins 4096 May 9 05:06 bin 05:10:21 drwxrwxr-x 3 jenkins jenkins 4096 May 9 05:06 cmd 05:10:21 -rw-r--r-- 1 jenkins jenkins 24065 May 9 05:09 coverage.out 05:10:21 -rw-rw-r-- 1 jenkins jenkins 3399 May 9 05:06 go.mod 05:10:21 -rw-rw-r-- 1 jenkins jenkins 35558 May 9 05:06 go.sum 05:10:21 drwxrwxr-x 3 jenkins jenkins 4096 May 9 05:06 internal 05:10:21 drwxrwxr-x 2 jenkins jenkins 4096 May 9 05:06 simulator 05:10:21 drwxrwxr-x 4 jenkins jenkins 4096 May 9 05:06 snap 05:10:21 -rw-rw-r-- 1 jenkins jenkins 229 May 9 05:06 version.go [Pipeline] isUnix [Pipeline] sh 05:10:21 + 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=cfbdeee84e03682aa243b416fb24165fd5646629 --label arch=arm64 --label version=0.0.0 . 05:10:22 Sending build context to Docker daemon 3.086MB 05:10:22 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 05:10:22 Step 2/23 : FROM ${BASE} AS builder 05:10:22 ---> 54def3dd671d 05:10:22 Step 3/23 : ARG MAKE='make build' 05:10:22 ---> Running in 165a86119766 05:10:22 Removing intermediate container 165a86119766 05:10:22 ---> bc2d7df17699 05:10:22 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:10:22 ---> Running in abbb2e3ae96b 05:10:24 Removing intermediate container abbb2e3ae96b 05:10:24 ---> 9d42d1cb53d2 05:10:24 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:10:24 ---> Running in afcca7d6207a 05:10:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:10:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:10:27 OK: 226 MiB in 60 packages 05:10:27 Removing intermediate container afcca7d6207a 05:10:27 ---> 0fb1f530c940 05:10:27 Step 6/23 : WORKDIR /device-modbus-go 05:10:27 ---> Running in 9912ec7682a4 05:10:28 Removing intermediate container 9912ec7682a4 05:10:28 ---> 8654b7ab61dc 05:10:28 Step 7/23 : COPY go.mod vendor* ./ 05:10:28 ---> 6d0c89d1aaaf 05:10:28 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:10:28 ---> Running in 0737ba17f246 05:10:30 Removing intermediate container 0737ba17f246 05:10:30 ---> 4860790a413b 05:10:30 Step 9/23 : COPY . . 05:10:31 ---> 649f8068e9de 05:10:31 Step 10/23 : RUN ${MAKE} 05:10:31 ---> Running in 12cba647a2fc 05:10:32 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:12:39 Removing intermediate container 12cba647a2fc 05:12:39 ---> 0cf3a91f1c4b 05:12:39 Step 11/23 : FROM alpine:3.14 05:12:39 3.14: Pulling from library/alpine 05:12:39 455c02918c45: Pulling fs layer 05:12:39 455c02918c45: Download complete 05:12:39 455c02918c45: Pull complete 05:12:39 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:12:39 Status: Downloaded newer image for alpine:3.14 05:12:39 ---> ac73e934f311 05:12:39 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:12:39 ---> Running in a2669692c65e 05:12:39 Removing intermediate container a2669692c65e 05:12:39 ---> 28aabbb7a760 05:12:39 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:12:39 ---> Running in facd4f57f4b6 05:12:39 Removing intermediate container facd4f57f4b6 05:12:39 ---> 049f130ecc87 05:12:39 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 05:12:39 ---> Running in a642a3f39284 05:12:39 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:12:39 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:12:39 (1/6) Installing dumb-init (1.2.5-r1) 05:12:39 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:12:39 (3/6) Installing libsodium (1.0.18-r0) 05:12:39 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:12:39 (5/6) Installing libzmq (4.3.4-r0) 05:12:39 (6/6) Installing zeromq (4.3.4-r0) 05:12:39 Executing busybox-1.33.1-r7.trigger 05:12:39 OK: 8 MiB in 20 packages 05:12:39 Removing intermediate container a642a3f39284 05:12:39 ---> 69eff63d70e0 05:12:39 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:12:39 ---> 67343d5f337d 05:12:39 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:12:39 ---> 5eaa66da338d 05:12:39 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:12:39 ---> 9d838c1fd550 05:12:39 Step 18/23 : EXPOSE 59901 05:12:39 ---> Running in 93b433cce54c 05:12:39 Removing intermediate container 93b433cce54c 05:12:39 ---> 0d7357bd7798 05:12:39 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:12:39 ---> Running in 3a4efafd4bf7 05:12:39 Removing intermediate container 3a4efafd4bf7 05:12:39 ---> 4bca5d219644 05:12:39 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:12:39 ---> Running in 1f5a86d6192a 05:12:39 Removing intermediate container 1f5a86d6192a 05:12:39 ---> e31eca37aeb6 05:12:39 Step 21/23 : LABEL arch=arm64 05:12:39 ---> Running in d46507a842b8 05:12:39 Removing intermediate container d46507a842b8 05:12:39 ---> ae1ca9257454 05:12:39 Step 22/23 : LABEL git_sha=cfbdeee84e03682aa243b416fb24165fd5646629 05:12:39 ---> Running in 9275ff7e6386 05:12:39 Removing intermediate container 9275ff7e6386 05:12:39 ---> 69607f7e5fa3 05:12:39 Step 23/23 : LABEL version=0.0.0 05:12:39 ---> Running in cbdfbc680df9 05:12:39 Removing intermediate container cbdfbc680df9 05:12:39 ---> 40b510205b5d 05:12:39 [Warning] One or more build-args [ARCH] were not consumed 05:12:39 Successfully built 40b510205b5d 05:12:39 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:12:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:12:40 05:12:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:12:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:12:40 arm64: Pulling from edgex-lftools-log-publisher 05:12:40 8998bd30e6a1: Pulling fs layer 05:12:40 04944245beec: Pulling fs layer 05:12:40 699f458cf7ca: Pulling fs layer 05:12:40 765212b225bb: Pulling fs layer 05:12:40 f23df028b6ca: Pulling fs layer 05:12:40 d65c8cfc05b1: Pulling fs layer 05:12:40 2437ff75d9bd: Pulling fs layer 05:12:40 f23df028b6ca: Waiting 05:12:40 765212b225bb: Waiting 05:12:40 2437ff75d9bd: Waiting 05:12:40 d65c8cfc05b1: Waiting 05:12:40 04944245beec: Verifying Checksum 05:12:40 04944245beec: Download complete 05:12:40 765212b225bb: Verifying Checksum 05:12:40 765212b225bb: Download complete 05:12:40 f23df028b6ca: Verifying Checksum 05:12:40 f23df028b6ca: Download complete 05:12:40 d65c8cfc05b1: Verifying Checksum 05:12:40 d65c8cfc05b1: Download complete 05:12:41 699f458cf7ca: Verifying Checksum 05:12:41 699f458cf7ca: Download complete 05:12:41 8998bd30e6a1: Download complete 05:12:43 2437ff75d9bd: Verifying Checksum 05:12:43 2437ff75d9bd: Download complete 05:12:45 8998bd30e6a1: Pull complete 05:12:46 04944245beec: Pull complete 05:12:47 699f458cf7ca: Pull complete 05:12:47 765212b225bb: Pull complete 05:12:48 f23df028b6ca: Pull complete 05:12:49 d65c8cfc05b1: Pull complete 05:13:04 2437ff75d9bd: Pull complete 05:13:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:13:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:13:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:13:04 prd-ubuntu20.04-docker-arm64-4c-16g-41780 does not seem to be running inside a container 05:13:04 $ 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:13:07 $ docker top e2d17f529f1307c57eae5659a88f0ea3efe9cca82fa773aed6c3cce8e499e9d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:13:08 ---> job-cost.sh 05:13:08 lf-activate-venv: SKIPPING 05:13:08 INFO: No Stack... 05:13:08 INFO: Retrieving Pricing Info for: v3-standard-4 05:13:09 INFO: Archiving Costs [Pipeline] sh 05:13:09 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 05:13:09 + cut -d, -f6 [Pipeline] lock 05:13:10 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-344-1-stack-cost] 05:13:10 Resource [jenkins-edgexfoundry-device-modbus-go-PR-344-1-stack-cost] did not exist. Created. 05:13:10 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-344-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:13:10 /w/workspace/device-modbus-go/1@tmp/durable-bdbf171c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:13:11 + echo total: 0.10999999940395355 [Pipeline] stash 05:13:11 Warning: overwriting stash ‘stack-cost’ 05:13:11 Stashed 1 file(s) [Pipeline] } 05:13:11 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-344-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:13:11 $ docker stop --time=1 e2d17f529f1307c57eae5659a88f0ea3efe9cca82fa773aed6c3cce8e499e9d5 05:13:13 $ docker rm -f e2d17f529f1307c57eae5659a88f0ea3efe9cca82fa773aed6c3cce8e499e9d5 [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:13:14 provisioning config files... 05:13:14 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-344@tmp/config6419959217277317472tmp [Pipeline] { [Pipeline] sh 05:13:14 + set +x 05:13:14 + curl -s https://codecov.io/bash 05:13:14 + bash -s -- 05:13:14 05:13:14 _____ _ 05:13:14 / ____| | | 05:13:14 | | ___ __| | ___ ___ _____ __ 05:13:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:13:14 | |___| (_) | (_| | __/ (_| (_) \ V / 05:13:14 \_____\___/ \__,_|\___|\___\___/ \_/ 05:13:14 Bash-1.0.6 05:13:14 05:13:14 05:13:14 ==> git version 2.25.1 found 05:13:14 ==> 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:13:14 Release-Date: 2020-01-08 05:13:14 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:13:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:13:14 ==> Jenkins CI detected. 05:13:14 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-344 05:13:14 project root: . 05:13:14 --> token set from env 05:13:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:13:14 ==> Running gcov in . (disable via -X gcov) 05:13:14 ==> Python coveragepy not found 05:13:14 ==> Searching for coverage reports in: 05:13:14 + . 05:13:14 -> Found 1 reports 05:13:14 ==> Detecting git/mercurial file structure 05:13:15 ==> Reading reports 05:13:15 + ./coverage.out bytes=24065 05:13:15 ==> Appending adjustments 05:13:15 https://docs.codecov.io/docs/fixing-reports 05:13:15 + Found adjustments 05:13:15 ==> Gzipping contents 05:13:15 4.0K /tmp/codecov.MjajzH.gz 05:13:15 ==> Uploading reports 05:13:15 url: https://codecov.io 05:13:15 query: branch=PR-344&commit=cfbdeee84e03682aa243b416fb24165fd5646629&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-344%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=344&job=&cmd_args= 05:13:15 -> Pinging Codecov 05:13:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-344&commit=cfbdeee84e03682aa243b416fb24165fd5646629&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-344%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=344&job=&cmd_args= 05:13:15 -> Uploading to 05:13:15 https://storage.googleapis.com/codecov/v4/raw/2022-05-09/55DBCA73C666E3227836607328DD7E49/cfbdeee84e03682aa243b416fb24165fd5646629/255d1027-bea6-48aa-baa2-6162c02f66cb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220509T051315Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=77def59206601235bd768e72248bd9d41908a8d8b8173ca4ac6cc521b20034cc 05:13:15 % Total % Received % Xferd Average Speed Time Time Time Current 05:13:15 Dload Upload Total Spent Left Speed 05:13:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4018 0 0 100 4018 0 18099 --:--:-- --:--:-- --:--:-- 18099 100 4018 0 0 100 4018 0 15944 --:--:-- --:--:-- --:--:-- 15881 05:13:15 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/cfbdeee84e03682aa243b416fb24165fd5646629 [Pipeline] } 05:13:15 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:13:17 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-344/archives ] 05:13:17 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-344/archives 05:13:17 total 16 05:13:17 drwxr-xr-x 3 root root 4096 May 9 05:06 . 05:13:17 drwxrwxr-x 11 jenkins jenkins 4096 May 9 05:06 .. 05:13:17 drwxr-xr-x 2 root root 4096 May 9 05:06 cost 05:13:17 -rw-r--r-- 1 root root 87 May 9 05:06 cost.csv 05:13:17 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-344/archives 05:13:17 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-344/archives 05:13:17 total 16 05:13:17 drwxr-xr-x 3 jenkins jenkins 4096 May 9 05:06 . 05:13:17 drwxrwxr-x 11 jenkins jenkins 4096 May 9 05:06 .. 05:13:17 drwxr-xr-x 2 jenkins jenkins 4096 May 9 05:06 cost 05:13:17 -rw-r--r-- 1 jenkins jenkins 87 May 9 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:13:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:13:18 ---> package-listing.sh 05:13:18 ++ facter osfamily 05:13:18 ++ tr '[:upper:]' '[:lower:]' 05:13:18 + OS_FAMILY=debian 05:13:18 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-344 05:13:18 + START_PACKAGES=/tmp/packages_start.txt 05:13:18 + END_PACKAGES=/tmp/packages_end.txt 05:13:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:13:18 + PACKAGES=/tmp/packages_start.txt 05:13:18 + '[' /w/workspace/xfoundry_device-modbus-go_PR-344 ']' 05:13:18 + PACKAGES=/tmp/packages_end.txt 05:13:18 + case "${OS_FAMILY}" in 05:13:18 + dpkg -l 05:13:18 + grep '^ii' 05:13:18 + '[' -f /tmp/packages_start.txt ']' 05:13:18 + '[' -f /tmp/packages_end.txt ']' 05:13:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:13:18 + '[' /w/workspace/xfoundry_device-modbus-go_PR-344 ']' 05:13:18 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-344/archives/ 05:13:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-344/archives/ [Pipeline] echo 05:13:19 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-344/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:13:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:13:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:13:19 . [Pipeline] withDockerContainer 05:13:19 prd-ubuntu20.04-docker-8c-8g-41779 does not seem to be running inside a container 05:13:20 $ 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-344/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-344 -v /w/workspace/xfoundry_device-modbus-go_PR-344:/w/workspace/xfoundry_device-modbus-go_PR-344:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-344@tmp:/w/workspace/xfoundry_device-modbus-go_PR-344@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:13:20 $ docker top ec48da758ec30f76e7533aa1f1f3b8d58fee69116eb920e13a7cb2ed1bbec7dc -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:20 + touch /tmp/pre-build-complete [Pipeline] sh 05:13:20 + mkdir -p /var/log/sysstat [Pipeline] sh 05:13:21 + ls /var/log/sa-host 05:13:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:13:21 provisioning config files... 05:13:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-344@tmp/config5400355403480175177tmp [Pipeline] { [Pipeline] echo 05:13:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:13:21 ---> create-netrc.sh [Pipeline] } 05:13:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:13:22 ---> python-tools-install.sh [Pipeline] echo 05:13:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:13:22 ---> sudo-logs.sh 05:13:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:13:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:13:23 ---> job-cost.sh 05:13:23 lf-activate-venv: SKIPPING 05:13:23 DEBUG: total: 0.2199999988079071 05:13:23 INFO: Retrieving Stack Cost... 05:13:23 INFO: Retrieving Pricing Info for: v3-standard-8 05:13:23 INFO: Archiving Costs [Pipeline] echo 05:13:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:13:24 ---> logs-deploy.sh 05:13:24 lf-activate-venv: SKIPPING 05:13:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-344/1 05:13:24 INFO: archiving workspace using pattern(s): 05:13:25 Archives upload complete. 05:13:25 INFO: archiving logs to Nexus