Pull request #450 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 9218c513757025db22647a4ec77634385515242a+c1bc75661fc51a1e1f09ff5cc1bcda06482736aa (5c4149a9f1e2c1b35312d90b8fea07f6c216bddd) 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-ssh16330490563308217914.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh3333529325155091078.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-450/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-450/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2032320642850525861.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-450/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5023645990076671284.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 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-ssh1825471903177525911.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-450/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-450/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16559756275952607000.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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.20 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 SNYK_DEBUG: false [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-6442 in /w/workspace/xfoundry_device-modbus-go_PR-450 [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-450 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/450/head:refs/remotes/origin/PR-450 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c1bc75661fc51a1e1f09ff5cc1bcda06482736aa into PR head commit 9218c513757025db22647a4ec77634385515242a Merge succeeded, producing 9218c513757025db22647a4ec77634385515242a Checking out Revision 9218c513757025db22647a4ec77634385515242a (PR-450) > git config core.sparsecheckout # timeout=10 > git checkout -f 9218c513757025db22647a4ec77634385515242a # 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 c1bc75661fc51a1e1f09ff5cc1bcda06482736aa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9218c513757025db22647a4ec77634385515242a # timeout=10 Commit message: "feat!: Update profile Minimum and Maximum to numeric data" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:58:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:58:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:58:09 ========================================================= 06:58:09 EdgeX Global Pipelines Version Info 06:58:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:58:09 ------------------- 06:58:09 stable info: 06:58:09 ------------------- 06:58:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:58:09 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 06:58:09 Message: update stable to v1.0.245 06:58:10 ------------------- 06:58:10 experimental info: 06:58:10 ------------------- 06:58:10 Commited By: **** collab-it+edgex@linuxfoundation.org 06:58:10 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 06:58:10 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:58:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:58:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:58:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:58:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:58:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:58:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:58:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:58:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:58:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:58:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:58:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:58:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:58:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:58:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:58:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:58:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:58:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:58:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:58:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:58:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:58:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:58:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:58:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:58:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:58:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:58:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:58:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:58:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-450 [Pipeline] echo 06:58:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-450 [Pipeline] echo 06:58:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-450 [Pipeline] echo 06:58:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9218c513757025db22647a4ec77634385515242a [Pipeline] echo 06:58:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9218c51 [Pipeline] echo 06:58:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:58:11 provisioning config files... 06:58:11 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-450@tmp/config13597588103942318560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:58:12 ---> docker-login.sh 06:58:12 nexus3.edgexfoundry.org:10001 06:58:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:58:12 Configure a credential helper to remove this warning. See 06:58:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:58:12 06:58:12 Login Succeeded 06:58:12 nexus3.edgexfoundry.org:10002 06:58:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:58:12 Configure a credential helper to remove this warning. See 06:58:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:58:12 06:58:12 Login Succeeded 06:58:12 nexus3.edgexfoundry.org:10003 06:58:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:58:12 Configure a credential helper to remove this warning. See 06:58:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:58:12 06:58:12 Login Succeeded 06:58:12 nexus3.edgexfoundry.org:10004 06:58:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:58:13 Configure a credential helper to remove this warning. See 06:58:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:58:13 06:58:13 Login Succeeded 06:58:13 docker.io 06:58:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:58:13 Configure a credential helper to remove this warning. See 06:58:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:58:13 06:58:13 Login Succeeded 06:58:13 ---> docker-login.sh ends [Pipeline] } 06:58:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:58:14 + git rev-list -1 --merges 9218c513757025db22647a4ec77634385515242a~1..9218c513757025db22647a4ec77634385515242a [Pipeline] echo 06:58:14 -----------> git rev-list -1 --merges 9218c513757025db22647a4ec77634385515242a~1..9218c513757025db22647a4ec77634385515242a 9218c513757025db22647a4ec77634385515242a [false] [Pipeline] sh 06:58:14 + git log --format=format:%s -1 9218c513757025db22647a4ec77634385515242a [Pipeline] echo 06:58:14 ========================================================= 06:58:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:58:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:58:14 + git log --format=format:%s -1 9218c513757025db22647a4ec77634385515242a [Pipeline] echo 06:58:14 [semverPrep] GIT_COMMIT: 9218c513757025db22647a4ec77634385515242a, Commit Message: feat!: Update profile Minimum and Maximum to numeric data [Pipeline] echo 06:58:14 [semverPrep] This is not a build commit. [Pipeline] sh 06:58:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:58:15 + grep -v github /etc/ssh/ssh_known_hosts 06:58:15 + [ -e /tmp/ssh_known_hosts ] 06:58:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:58:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:58:15 + sudo tee -a /etc/ssh/ssh_known_hosts 06:58:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:58:15 06:58:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:58:16 0.1.4: Pulling from edgex-devops/py-git-semver 06:58:16 b85a868b505f: Pulling fs layer 06:58:16 e2be974225ed: Pulling fs layer 06:58:16 339a4e72a1f5: Pulling fs layer 06:58:16 988bab9f4d93: Pulling fs layer 06:58:16 1469e6f7b9e6: Pulling fs layer 06:58:16 eaf3925da568: Pulling fs layer 06:58:16 bab4dde63d76: Pulling fs layer 06:58:16 bde34c3a00c8: Pulling fs layer 06:58:16 b352a97aabf1: Pulling fs layer 06:58:16 4872d77fe225: Pulling fs layer 06:58:16 5851b861e8e6: Pulling fs layer 06:58:16 bde34c3a00c8: Waiting 06:58:16 eaf3925da568: Waiting 06:58:16 bab4dde63d76: Waiting 06:58:16 b352a97aabf1: Waiting 06:58:16 4872d77fe225: Waiting 06:58:16 5851b861e8e6: Waiting 06:58:16 988bab9f4d93: Waiting 06:58:16 1469e6f7b9e6: Waiting 06:58:16 e2be974225ed: Verifying Checksum 06:58:16 e2be974225ed: Download complete 06:58:16 988bab9f4d93: Verifying Checksum 06:58:16 988bab9f4d93: Download complete 06:58:16 1469e6f7b9e6: Verifying Checksum 06:58:16 1469e6f7b9e6: Download complete 06:58:16 339a4e72a1f5: Verifying Checksum 06:58:16 339a4e72a1f5: Download complete 06:58:16 eaf3925da568: Verifying Checksum 06:58:16 eaf3925da568: Download complete 06:58:16 bde34c3a00c8: Verifying Checksum 06:58:16 bde34c3a00c8: Download complete 06:58:16 b352a97aabf1: Verifying Checksum 06:58:16 b352a97aabf1: Download complete 06:58:16 4872d77fe225: Verifying Checksum 06:58:16 4872d77fe225: Download complete 06:58:16 5851b861e8e6: Download complete 06:58:16 b85a868b505f: Verifying Checksum 06:58:16 b85a868b505f: Download complete 06:58:16 bab4dde63d76: Verifying Checksum 06:58:16 bab4dde63d76: Download complete 06:58:17 b85a868b505f: Pull complete 06:58:17 e2be974225ed: Pull complete 06:58:18 339a4e72a1f5: Pull complete 06:58:18 988bab9f4d93: Pull complete 06:58:18 1469e6f7b9e6: Pull complete 06:58:18 eaf3925da568: Pull complete 06:58:20 bab4dde63d76: Pull complete 06:58:20 bde34c3a00c8: Pull complete 06:58:20 b352a97aabf1: Pull complete 06:58:20 4872d77fe225: Pull complete 06:58:21 5851b861e8e6: Pull complete 06:58:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:58:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:58:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:58:21 prd-ubuntu20.04-docker-8c-8g-6442 does not seem to be running inside a container 06:58:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-450 -v /w/workspace/xfoundry_device-modbus-go_PR-450:/w/workspace/xfoundry_device-modbus-go_PR-450:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-450@tmp:/w/workspace/xfoundry_device-modbus-go_PR-450@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:58:24 $ docker top 8f19b5978e8de4fe3ccbfc18a400ab41f51ec664c481809606299d0021f68587 -eo pid,comm 06:58:24 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:58:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:58:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:58:24 [ssh-agent] Looking for ssh-agent implementation... 06:58:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:58:24 $ docker exec 8f19b5978e8de4fe3ccbfc18a400ab41f51ec664c481809606299d0021f68587 ssh-agent 06:58:24 SSH_AUTH_SOCK=/tmp/ssh-0gcXGXssGvId/agent.31 06:58:24 SSH_AGENT_PID=37 06:58:24 Running ssh-add (command line suppressed) 06:58:24 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-450@tmp/private_key_936143998827967600.key (/w/workspace/xfoundry_device-modbus-go_PR-450@tmp/private_key_936143998827967600.key) 06:58:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:58:25 + git tag --points-at HEAD [Pipeline] } 06:58:25 $ docker exec --env ******** --env ******** 8f19b5978e8de4fe3ccbfc18a400ab41f51ec664c481809606299d0021f68587 ssh-agent -k 06:58:25 unset SSH_AUTH_SOCK; 06:58:25 unset SSH_AGENT_PID; 06:58:25 echo Agent pid 37 killed; 06:58:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:58:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:58:25 [ssh-agent] Looking for ssh-agent implementation... 06:58:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:58:25 $ docker exec 8f19b5978e8de4fe3ccbfc18a400ab41f51ec664c481809606299d0021f68587 ssh-agent 06:58:25 SSH_AUTH_SOCK=/tmp/ssh-dkoPbgPytfXw/agent.69 06:58:25 SSH_AGENT_PID=75 06:58:25 Running ssh-add (command line suppressed) 06:58:25 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-450@tmp/private_key_17427684247437933824.key (/w/workspace/xfoundry_device-modbus-go_PR-450@tmp/private_key_17427684247437933824.key) 06:58:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:58:25 + git semver init 06:58:26 2023-03-30 06:58:26,227 [run_init] DEBUG init version:0.0.0 force:False 06:58:26 2023-03-30 06:58:26,229 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-450/.semver 06:58:26 2023-03-30 06:58:26,229 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-450/.semver 06:58:26 2023-03-30 06:58:26,230 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-450/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-450, universal_newlines=False, shell=None, istream=None) 06:58:27 2023-03-30 06:58:27,005 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-450/.git/info/exclude 06:58:27 2023-03-30 06:58:27,006 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-450/.semver/PR-450 with force:False 06:58:27 2023-03-30 06:58:27,007 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-450/.semver/PR-450 06:58:27 2023-03-30 06:58:27,012 [execute] INFO git cat-file --batch-check 06:58:27 2023-03-30 06:58:27,012 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-450/.semver, universal_newlines=False, shell=None, istream=) 06:58:27 2023-03-30 06:58:27,019 [execute] INFO git cat-file --batch 06:58:27 2023-03-30 06:58:27,019 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-450/.semver, universal_newlines=False, shell=None, istream=) 06:58:27 2023-03-30 06:58:27,025 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-450/.semver/PR-450 06:58:27 0.0.0 [Pipeline] } 06:58:27 $ docker exec --env ******** --env ******** 8f19b5978e8de4fe3ccbfc18a400ab41f51ec664c481809606299d0021f68587 ssh-agent -k 06:58:27 unset SSH_AUTH_SOCK; 06:58:27 unset SSH_AGENT_PID; 06:58:27 echo Agent pid 75 killed; 06:58:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:58:27 + git semver [Pipeline] } 06:58:27 $ docker stop --time=1 8f19b5978e8de4fe3ccbfc18a400ab41f51ec664c481809606299d0021f68587 06:58:29 $ docker rm -f --volumes 8f19b5978e8de4fe3ccbfc18a400ab41f51ec664c481809606299d0021f68587 [Pipeline] // withDockerContainer [Pipeline] sh 06:58:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:58:29 Stashed 1 file(s) [Pipeline] echo 06:58:29 [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 06:58:30 provisioning config files... 06:58:30 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-450@tmp/config3950497388172672565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:58:30 ---> docker-login.sh 06:58:30 nexus3.edgexfoundry.org:10001 06:58:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:58:30 Configure a credential helper to remove this warning. See 06:58:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:58:30 06:58:30 Login Succeeded 06:58:30 nexus3.edgexfoundry.org:10002 06:58:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:58:30 Configure a credential helper to remove this warning. See 06:58:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:58:30 06:58:30 Login Succeeded 06:58:30 nexus3.edgexfoundry.org:10003 06:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:58:31 Configure a credential helper to remove this warning. See 06:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:58:31 06:58:31 Login Succeeded 06:58:31 nexus3.edgexfoundry.org:10004 06:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:58:31 Configure a credential helper to remove this warning. See 06:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:58:31 06:58:31 Login Succeeded 06:58:31 docker.io 06:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:58:31 Configure a credential helper to remove this warning. See 06:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:58:31 06:58:31 Login Succeeded 06:58:31 ---> docker-login.sh ends [Pipeline] } 06:58:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:58:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:58:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:58:31 ========================================================= 06:58:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:58:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:32 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:58:32 Sending build context to Docker daemon 6.424MB 06:58:32 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:58:32 Step 2/10 : FROM ${BASE} AS builder 06:58:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:58:32 63b65145d645: Pulling fs layer 06:58:32 a2d21d5440eb: Pulling fs layer 06:58:32 935e6c44a52c: Pulling fs layer 06:58:32 94cc34f8dd06: Pulling fs layer 06:58:32 30dea6a524f1: Pulling fs layer 06:58:32 a2aff8979fd8: Pulling fs layer 06:58:32 6808be2612f2: Pulling fs layer 06:58:32 f25807f1079a: Pulling fs layer 06:58:32 94cc34f8dd06: Waiting 06:58:32 6808be2612f2: Waiting 06:58:32 a2aff8979fd8: Waiting 06:58:32 f25807f1079a: Waiting 06:58:32 a2d21d5440eb: Verifying Checksum 06:58:32 a2d21d5440eb: Download complete 06:58:32 94cc34f8dd06: Verifying Checksum 06:58:32 94cc34f8dd06: Download complete 06:58:32 30dea6a524f1: Verifying Checksum 06:58:32 30dea6a524f1: Download complete 06:58:32 63b65145d645: Verifying Checksum 06:58:32 63b65145d645: Download complete 06:58:32 a2aff8979fd8: Verifying Checksum 06:58:32 a2aff8979fd8: Download complete 06:58:32 63b65145d645: Pull complete 06:58:32 a2d21d5440eb: Pull complete 06:58:32 f25807f1079a: Verifying Checksum 06:58:32 f25807f1079a: Download complete 06:58:32 935e6c44a52c: Verifying Checksum 06:58:32 935e6c44a52c: Download complete 06:58:33 6808be2612f2: Verifying Checksum 06:58:36 935e6c44a52c: Pull complete 06:58:36 94cc34f8dd06: Pull complete 06:58:36 30dea6a524f1: Pull complete 06:58:36 a2aff8979fd8: Pull complete 06:58:39 6808be2612f2: Pull complete 06:58:39 f25807f1079a: Pull complete 06:58:39 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 06:58:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:58:39 ---> 3b553350e43f 06:58:39 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:58:44 ---> Running in b8e332c5d7db 06:58:44 Removing intermediate container b8e332c5d7db 06:58:44 ---> 1b73813b76a6 06:58:44 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:58:44 ---> Running in 8e4771a5f408 06:58:44 Removing intermediate container 8e4771a5f408 06:58:44 ---> 749f99edc70b 06:58:44 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:58:44 ---> Running in 978db5ba702a 06:58:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:58:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:58:44 (1/8) Installing openssh-keygen (9.1_p1-r2) 06:58:44 (2/8) Installing libedit (20221030.3.1-r0) 06:58:44 (3/8) Installing openssh-client-common (9.1_p1-r2) 06:58:44 (4/8) Installing openssh-client-default (9.1_p1-r2) 06:58:44 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 06:58:44 (6/8) Installing openssh-server-common (9.1_p1-r2) 06:58:44 (7/8) Installing openssh-server (9.1_p1-r2) 06:58:44 (8/8) Installing openssh (9.1_p1-r2) 06:58:44 Executing busybox-1.35.0-r29.trigger 06:58:44 OK: 270 MiB in 61 packages 06:58:45 Removing intermediate container 978db5ba702a 06:58:45 ---> ea5f301aacc2 06:58:45 Step 6/10 : WORKDIR /device-modbus-go 06:58:45 ---> Running in e8e5db1f0c22 06:58:45 Removing intermediate container e8e5db1f0c22 06:58:45 ---> 1bc8ea9531fb 06:58:45 Step 7/10 : COPY go.mod vendor* ./ 06:58:45 Still waiting to schedule task 06:58:45 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:58:45 ---> 0f056437816d 06:58:45 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:58:45 ---> Running in 1b5a7bf64d65 06:59:32 Removing intermediate container 1b5a7bf64d65 06:59:32 ---> 289385e80f8a 06:59:32 Step 9/10 : COPY . . 06:59:32 ---> 6fcfb2ff24f7 06:59:32 Step 10/10 : RUN ${MAKE} 06:59:32 ---> Running in b3db4c0d61ad 06:59:32 noop 06:59:32 Removing intermediate container b3db4c0d61ad 06:59:32 ---> dab9d0da1afd 06:59:32 Successfully built dab9d0da1afd 06:59:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:32 + docker inspect -f . ci-base-image-x86_64 06:59:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:59:32 prd-ubuntu20.04-docker-8c-8g-6442 does not seem to be running inside a container 06:59:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-450 -v /w/workspace/xfoundry_device-modbus-go_PR-450:/w/workspace/xfoundry_device-modbus-go_PR-450:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-450@tmp:/w/workspace/xfoundry_device-modbus-go_PR-450@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:59:33 $ docker top e1dd6bb5d059f8d3047a791fb43ec45abdbcdadf75e01fda13c238ca41c55047 -eo pid,comm [Pipeline] { [Pipeline] sh 06:59:33 + go version 06:59:33 go version go1.20.2 linux/amd64 [Pipeline] } 06:59:33 $ docker stop --time=1 e1dd6bb5d059f8d3047a791fb43ec45abdbcdadf75e01fda13c238ca41c55047 06:59:34 $ docker rm -f --volumes e1dd6bb5d059f8d3047a791fb43ec45abdbcdadf75e01fda13c238ca41c55047 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:35 + docker inspect -f . ci-base-image-x86_64 06:59:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:59:35 prd-ubuntu20.04-docker-8c-8g-6442 does not seem to be running inside a container 06:59:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-450 -v /w/workspace/xfoundry_device-modbus-go_PR-450:/w/workspace/xfoundry_device-modbus-go_PR-450:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-450@tmp:/w/workspace/xfoundry_device-modbus-go_PR-450@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:59:36 $ docker top d987a0a7513a716ffff442d98374138d0049fe1a0891a71b1d561f924c047029 -eo pid,comm [Pipeline] { [Pipeline] sh 06:59:36 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-450 [Pipeline] fileExists [Pipeline] sh 06:59:36 + make test 06:59:36 go test ./... -coverprofile=coverage.out 06:59:42 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:59:52 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:59:52 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 48.0% of statements 06:59:57 go vet ./... 07:00:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:00:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:00:00 ./bin/test-attribution-txt.sh [Pipeline] echo 07:00:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:00:00 $ docker stop --time=1 d987a0a7513a716ffff442d98374138d0049fe1a0891a71b1d561f924c047029 07:00:03 $ docker rm -f --volumes d987a0a7513a716ffff442d98374138d0049fe1a0891a71b1d561f924c047029 [Pipeline] // withDockerContainer [Pipeline] sh 07:00:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:00:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:00:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:00:05 + ls -al . 07:00:05 total 180 07:00:05 drwxrwxr-x 10 jenkins jenkins 4096 Mar 30 06:59 . 07:00:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 06:58 .. 07:00:05 -rw-rw-r-- 1 jenkins jenkins 140 Mar 30 06:58 .dockerignore 07:00:05 drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 06:58 .git 07:00:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 06:58 .github 07:00:05 -rw-rw-r-- 1 jenkins jenkins 331 Mar 30 06:58 .gitignore 07:00:05 -rw-rw-r-- 1 jenkins jenkins 41 Mar 30 06:58 .golangci.yml 07:00:05 drwxr-xr-x 3 jenkins jenkins 4096 Mar 30 06:58 .semver 07:00:05 -rw-rw-r-- 1 jenkins jenkins 10004 Mar 30 06:58 Attribution.txt 07:00:05 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 30 06:58 CHANGELOG.md 07:00:05 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 30 06:58 Dockerfile 07:00:05 -rw-rw-r-- 1 jenkins jenkins 677 Mar 30 06:58 GOVERNANCE.md 07:00:05 -rw-rw-r-- 1 jenkins jenkins 680 Mar 30 06:58 Jenkinsfile 07:00:05 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 30 06:58 LICENSE 07:00:05 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 30 06:58 Makefile 07:00:05 -rw-rw-r-- 1 jenkins jenkins 622 Mar 30 06:58 OWNERS.md 07:00:05 -rw-rw-r-- 1 jenkins jenkins 4045 Mar 30 06:58 README.md 07:00:05 -rw-rw-r-- 1 jenkins jenkins 5 Mar 30 06:58 VERSION 07:00:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 06:58 bin 07:00:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 06:58 cmd 07:00:05 -rw-r--r-- 1 jenkins jenkins 23739 Mar 30 06:59 coverage.out 07:00:05 -rw-rw-r-- 1 jenkins jenkins 3450 Mar 30 06:58 go.mod 07:00:05 -rw-rw-r-- 1 jenkins jenkins 31495 Mar 30 06:58 go.sum 07:00:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 06:58 internal 07:00:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 06:58 simulator 07:00:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 06:58 snap 07:00:05 -rw-rw-r-- 1 jenkins jenkins 229 Mar 30 06:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:05 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=9218c513757025db22647a4ec77634385515242a --label arch=amd64 --label version=0.0.0 . 07:00:05 Sending build context to Docker daemon 6.448MB 07:00:05 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 07:00:05 Step 2/22 : FROM ${BASE} AS builder 07:00:05 ---> dab9d0da1afd 07:00:05 Step 3/22 : ARG ADD_BUILD_TAGS="" 07:00:05 ---> Running in bc42cac140ee 07:00:05 Removing intermediate container bc42cac140ee 07:00:05 ---> 6b2a88a88f2e 07:00:05 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:00:05 ---> Running in e97723117c48 07:00:05 Removing intermediate container e97723117c48 07:00:05 ---> 12e126fc2a90 07:00:05 Step 5/22 : RUN apk add --update --no-cache make git openssh 07:00:05 ---> Running in 62e8d6450769 07:00:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:00:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:00:06 OK: 270 MiB in 61 packages 07:00:06 Removing intermediate container 62e8d6450769 07:00:06 ---> 81ad41641c9e 07:00:06 Step 6/22 : WORKDIR /device-modbus-go 07:00:06 ---> Running in 52e0891c4a3f 07:00:06 Removing intermediate container 52e0891c4a3f 07:00:06 ---> 0ecc952c509e 07:00:06 Step 7/22 : COPY go.mod vendor* ./ 07:00:06 ---> 027ac5903c54 07:00:06 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:00:06 ---> Running in b1f41d9ad7ce 07:00:07 Removing intermediate container b1f41d9ad7ce 07:00:07 ---> 3dae62e904e0 07:00:07 Step 9/22 : COPY . . 07:00:08 ---> 078e994e18a8 07:00:08 Step 10/22 : RUN ${MAKE} 07:00:08 ---> Running in b5d9fc6d12a3 07:00:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:00:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6443 in /w/workspace/xfoundry_device-modbus-go_PR-450 [Pipeline] { [Pipeline] ws 07:00:25 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 07:00:26 Selected Git installation does not exist. Using Default 07:00:26 The recommended git tool is: NONE 07:00:26 Removing intermediate container b5d9fc6d12a3 07:00:26 ---> 6194cad9a43a 07:00:26 Step 11/22 : FROM alpine:3.17 07:00:26 3.17: Pulling from library/alpine 07:00:26 f56be85fc22e: Pulling fs layer 07:00:26 f56be85fc22e: Verifying Checksum 07:00:26 f56be85fc22e: Download complete 07:00:26 f56be85fc22e: Pull complete 07:00:26 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:00:26 Status: Downloaded newer image for alpine:3.17 07:00:26 ---> 9ed4aefc74f6 07:00:26 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:00:26 ---> Running in f4124f5d19a0 07:00:27 Removing intermediate container f4124f5d19a0 07:00:27 ---> d2fa6e744164 07:00:27 Step 13/22 : RUN apk add --update --no-cache dumb-init 07:00:27 ---> Running in c059688ec2b6 07:00:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:00:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:00:27 (1/1) Installing dumb-init (1.2.5-r2) 07:00:27 Executing busybox-1.35.0-r29.trigger 07:00:27 OK: 7 MiB in 16 packages 07:00:27 Removing intermediate container c059688ec2b6 07:00:27 ---> 963b5d75089a 07:00:27 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 07:00:28 ---> 1852e927f27c 07:00:28 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 07:00:28 ---> fdb7d9ee5613 07:00:28 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:00:28 ---> 2ec94c4a9f7e 07:00:28 Step 17/22 : EXPOSE 59901 07:00:28 ---> Running in 1803983c8e40 07:00:28 Removing intermediate container 1803983c8e40 07:00:28 ---> 84195329a787 07:00:28 Step 18/22 : ENTRYPOINT ["/device-modbus"] 07:00:28 ---> Running in 4a3dbd15ee76 07:00:29 Removing intermediate container 4a3dbd15ee76 07:00:29 ---> 4e16e5ab3796 07:00:29 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:00:29 ---> Running in f7ae9c2c9ed9 07:00:29 Removing intermediate container f7ae9c2c9ed9 07:00:29 ---> 62ee3beb9727 07:00:29 Step 20/22 : LABEL arch=amd64 07:00:29 ---> Running in 81f67de99fb3 07:00:29 Removing intermediate container 81f67de99fb3 07:00:29 ---> 08159b82fe0c 07:00:29 Step 21/22 : LABEL git_sha=9218c513757025db22647a4ec77634385515242a 07:00:29 ---> Running in d555f1d7747a 07:00:29 Removing intermediate container d555f1d7747a 07:00:29 ---> 96903cd119d4 07:00:29 Step 22/22 : LABEL version=0.0.0 07:00:29 ---> Running in 72b14a284240 07:00:29 Removing intermediate container 72b14a284240 07:00:29 ---> d20effd1f69b 07:00:29 [Warning] One or more build-args [ARCH] were not consumed 07:00:29 Successfully built d20effd1f69b 07:00:29 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 07:00:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:00:30 07:00:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:00:30 latest: Pulling from edgex-lftools-log-publisher 07:00:30 5eb5b503b376: Pulling fs layer 07:00:30 5c69ac0246d0: Pulling fs layer 07:00:30 ec43610c2a17: Pulling fs layer 07:00:30 3a2ae6a8a46f: Pulling fs layer 07:00:30 33b1e0a273af: Pulling fs layer 07:00:30 5d3b04190fa2: Pulling fs layer 07:00:30 2f39f015ded8: Pulling fs layer 07:00:30 3a2ae6a8a46f: Waiting 07:00:30 33b1e0a273af: Waiting 07:00:30 5d3b04190fa2: Waiting 07:00:30 2f39f015ded8: Waiting 07:00:30 5c69ac0246d0: Download complete 07:00:30 3a2ae6a8a46f: Verifying Checksum 07:00:30 3a2ae6a8a46f: Download complete 07:00:30 ec43610c2a17: Verifying Checksum 07:00:30 ec43610c2a17: Download complete 07:00:30 33b1e0a273af: Verifying Checksum 07:00:30 33b1e0a273af: Download complete 07:00:30 5d3b04190fa2: Download complete 07:00:30 5eb5b503b376: Verifying Checksum 07:00:30 5eb5b503b376: Download complete 07:00:31 2f39f015ded8: Download complete 07:00:31 using credential edgex-jenkins-ssh 07:00:31 Cloning the remote Git repository 07:00:32 5eb5b503b376: Pull complete 07:00:32 5c69ac0246d0: Pull complete 07:00:31 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:00:31 > git init /w/workspace/device-modbus-go/1 # timeout=10 07:00:31 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:00:31 > git --version # timeout=10 07:00:32 > git --version # 'git version 2.25.1' 07:00:32 using GIT_SSH to set credentials SSH Credentials for GitHub 07:00:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:00:32 ec43610c2a17: Pull complete 07:00:32 3a2ae6a8a46f: Pull complete 07:00:32 33b1e0a273af: Pull complete 07:00:32 5d3b04190fa2: Pull complete 07:00:33 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:00:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:00:34 Merging remotes/origin/main commit c1bc75661fc51a1e1f09ff5cc1bcda06482736aa into PR head commit 9218c513757025db22647a4ec77634385515242a 07:00:34 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:00:34 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:00:34 using GIT_SSH to set credentials SSH Credentials for GitHub 07:00:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/450/head:refs/remotes/origin/PR-450 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:00:34 > git config core.sparsecheckout # timeout=10 07:00:34 > git checkout -f 9218c513757025db22647a4ec77634385515242a # timeout=10 07:00:35 Merge succeeded, producing 9218c513757025db22647a4ec77634385515242a 07:00:35 Checking out Revision 9218c513757025db22647a4ec77634385515242a (PR-450) 07:00:35 > git remote # timeout=10 07:00:35 > git config --get remote.origin.url # timeout=10 07:00:35 using GIT_SSH to set credentials SSH Credentials for GitHub 07:00:35 > git merge c1bc75661fc51a1e1f09ff5cc1bcda06482736aa # timeout=10 07:00:35 > git rev-parse HEAD^{commit} # timeout=10 07:00:35 > git config core.sparsecheckout # timeout=10 07:00:35 > git checkout -f 9218c513757025db22647a4ec77634385515242a # timeout=10 07:00:37 2f39f015ded8: Pull complete 07:00:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:00:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:00:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:00:37 prd-ubuntu20.04-docker-8c-8g-6442 does not seem to be running inside a container 07:00:37 $ 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-450 -v /w/workspace/xfoundry_device-modbus-go_PR-450:/w/workspace/xfoundry_device-modbus-go_PR-450:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-450@tmp:/w/workspace/xfoundry_device-modbus-go_PR-450@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:00:38 Commit message: "feat!: Update profile Minimum and Maximum to numeric data" 07:00:38 > git --version # timeout=10 07:00:38 > git --version # 'git version 2.25.1' 07:00:38 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 07:00:39 07:00:39 GitHub has been notified of this commit’s build result 07:00:39 07:00:40 $ docker top b03ab22876c57cf55deeeb65e7c792fbcaef428e019e164be0d40901500b6fbc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:00:40 ---> job-cost.sh 07:00:40 lf-activate-venv: SKIPPING 07:00:40 INFO: No Stack... 07:00:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:00:40 % Total % Received % Xferd Average Speed Time Time Time Current 07:00:40 Dload Upload Total Spent Left Speed 07:00:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 88548 07:00:41 INFO: Retrieving Pricing Info for: v3-standard-8 07:00:41 INFO: Archiving Costs [Pipeline] sh [Pipeline] sh 07:00:41 + cat /w/workspace/xfoundry_device-modbus-go_PR-450/archives/cost.csv 07:00:41 + cut -d, -f6 [Pipeline] lock 07:00:41 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-450-1-stack-cost] 07:00:41 Resource [jenkins-edgexfoundry-device-modbus-go-PR-450-1-stack-cost] did not exist. Created. 07:00:41 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-450-1-stack-cost] [Pipeline] { [Pipeline] unstash 07:00:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [Pipeline] sh 07:00:42 + echo total: 0.2199999988079071 [Pipeline] stash 07:00:42 Stashed 1 file(s) [Pipeline] } 07:00:42 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-450-1-stack-cost] 07:00:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:00:42 + sudo tee /etc/docker/daemon.new 07:00:42 { 07:00:42 "registry-mirrors": [ 07:00:42 "https://nexus3.edgexfoundry.org:10001" 07:00:42 ], 07:00:42 "bip": "10.250.0.254/24", 07:00:42 "hosts": [ 07:00:42 "tcp://0.0.0.0:5555", 07:00:42 "unix:///var/run/docker.sock" 07:00:42 ], 07:00:42 "mtu": 1458, 07:00:42 "selinux-enabled": true, 07:00:42 "seccomp-profile": "/etc/docker/seccomp.json" 07:00:42 } [Pipeline] // lock [Pipeline] } 07:00:42 $ docker stop --time=1 b03ab22876c57cf55deeeb65e7c792fbcaef428e019e164be0d40901500b6fbc 07:00:43 $ docker rm -f --volumes b03ab22876c57cf55deeeb65e7c792fbcaef428e019e164be0d40901500b6fbc [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } 07:00:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] // stage [Pipeline] } [Pipeline] sh 07:00:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:01:06 provisioning config files... 07:01:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config1557663034750350706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:01:06 ---> docker-login.sh 07:01:06 nexus3.edgexfoundry.org:10001 07:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:07 Configure a credential helper to remove this warning. See 07:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:07 07:01:07 Login Succeeded 07:01:07 nexus3.edgexfoundry.org:10002 07:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:07 Configure a credential helper to remove this warning. See 07:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:07 07:01:07 Login Succeeded 07:01:07 nexus3.edgexfoundry.org:10003 07:01:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:08 Configure a credential helper to remove this warning. See 07:01:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:08 07:01:08 Login Succeeded 07:01:08 nexus3.edgexfoundry.org:10004 07:01:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:08 Configure a credential helper to remove this warning. See 07:01:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:08 07:01:08 Login Succeeded 07:01:08 docker.io 07:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:09 Configure a credential helper to remove this warning. See 07:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:09 07:01:09 Login Succeeded 07:01:09 ---> docker-login.sh ends [Pipeline] } 07:01:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:01:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:01:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:01:09 ========================================================= 07:01:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:01:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:10 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:01:10 Sending build context to Docker daemon 3.358MB 07:01:10 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 07:01:10 Step 2/10 : FROM ${BASE} AS builder 07:01:11 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:01:11 af6eaf76a39c: Pulling fs layer 07:01:11 55522c791124: Pulling fs layer 07:01:11 ce5c4a1c91eb: Pulling fs layer 07:01:11 169dfbe0d373: Pulling fs layer 07:01:11 e1ff8fa3b103: Pulling fs layer 07:01:11 52ebb69f0ebf: Pulling fs layer 07:01:11 5abe8eddf0d5: Pulling fs layer 07:01:11 169dfbe0d373: Waiting 07:01:11 e1ff8fa3b103: Waiting 07:01:11 52ebb69f0ebf: Waiting 07:01:11 5abe8eddf0d5: Waiting 07:01:11 55522c791124: Download complete 07:01:11 169dfbe0d373: Verifying Checksum 07:01:11 169dfbe0d373: Download complete 07:01:11 e1ff8fa3b103: Verifying Checksum 07:01:11 e1ff8fa3b103: Download complete 07:01:11 af6eaf76a39c: Download complete 07:01:12 af6eaf76a39c: Pull complete 07:01:12 5abe8eddf0d5: Verifying Checksum 07:01:12 5abe8eddf0d5: Download complete 07:01:13 55522c791124: Pull complete 07:01:13 ce5c4a1c91eb: Verifying Checksum 07:01:13 ce5c4a1c91eb: Download complete 07:01:13 52ebb69f0ebf: Verifying Checksum 07:01:13 52ebb69f0ebf: Download complete 07:01:26 ce5c4a1c91eb: Pull complete 07:01:26 169dfbe0d373: Pull complete 07:01:26 e1ff8fa3b103: Pull complete 07:01:33 52ebb69f0ebf: Pull complete 07:01:34 5abe8eddf0d5: Pull complete 07:01:34 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 07:01:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:01:34 ---> 6cb57ee374ae 07:01:34 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:01:38 ---> Running in 946c0ff5abb6 07:01:38 Removing intermediate container 946c0ff5abb6 07:01:38 ---> d9181315b1ad 07:01:38 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:01:38 ---> Running in 33df6eac574e 07:01:38 Removing intermediate container 33df6eac574e 07:01:38 ---> b98578af85f9 07:01:38 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:01:38 ---> Running in 7b148ebe9741 07:01:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:01:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:01:40 (1/8) Installing openssh-keygen (9.1_p1-r2) 07:01:40 (2/8) Installing libedit (20221030.3.1-r0) 07:01:40 (3/8) Installing openssh-client-common (9.1_p1-r2) 07:01:40 (4/8) Installing openssh-client-default (9.1_p1-r2) 07:01:40 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 07:01:40 (6/8) Installing openssh-server-common (9.1_p1-r2) 07:01:40 (7/8) Installing openssh-server (9.1_p1-r2) 07:01:40 (8/8) Installing openssh (9.1_p1-r2) 07:01:40 Executing busybox-1.35.0-r29.trigger 07:01:40 OK: 270 MiB in 61 packages 07:01:41 Removing intermediate container 7b148ebe9741 07:01:41 ---> cb2291b8a647 07:01:41 Step 6/10 : WORKDIR /device-modbus-go 07:01:41 ---> Running in 66ca39c2fbff 07:01:41 Removing intermediate container 66ca39c2fbff 07:01:41 ---> 5828e747e2dc 07:01:41 Step 7/10 : COPY go.mod vendor* ./ 07:01:42 ---> e4f7e4281850 07:01:42 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:01:42 ---> Running in 2876c75216b8 07:02:50 Removing intermediate container 2876c75216b8 07:02:50 ---> 7f6a5e5adf92 07:02:50 Step 9/10 : COPY . . 07:02:50 ---> b97bece08735 07:02:50 Step 10/10 : RUN ${MAKE} 07:02:50 ---> Running in 8c8f65e3e183 07:02:50 noop 07:02:50 Removing intermediate container 8c8f65e3e183 07:02:50 ---> 10f335ca897b 07:02:50 Successfully built 10f335ca897b 07:02:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:02:50 + docker inspect -f . ci-base-image-arm64 07:02:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:02:51 prd-ubuntu20.04-docker-arm64-4c-16g-6443 does not seem to be running inside a container 07:02:51 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:02:52 $ docker top 3ba0adb854264cf8a5fef184f9d2e13c343f9b627c09e861943378229aa9a443 -eo pid,comm [Pipeline] { [Pipeline] sh 07:02:53 + go version 07:02:53 go version go1.20.2 linux/arm64 [Pipeline] } 07:02:53 $ docker stop --time=1 3ba0adb854264cf8a5fef184f9d2e13c343f9b627c09e861943378229aa9a443 07:02:55 $ docker rm -f --volumes 3ba0adb854264cf8a5fef184f9d2e13c343f9b627c09e861943378229aa9a443 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:02:56 + docker inspect -f . ci-base-image-arm64 07:02:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:02:56 prd-ubuntu20.04-docker-arm64-4c-16g-6443 does not seem to be running inside a container 07:02:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:02:58 $ docker top 1e851f85e136806b2fc32a8b493e34fb90fa154f5d3ad5c4c739f49d62fa7aa8 -eo pid,comm [Pipeline] { [Pipeline] sh 07:02:58 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 07:02:59 + make test 07:02:59 go test ./... -coverprofile=coverage.out 07:03:31 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:05:38 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:05:38 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.076s coverage: 48.0% of statements 07:05:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:05:38 go vet ./... 07:06:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:06:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:06:05 ./bin/test-attribution-txt.sh [Pipeline] echo 07:06:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:06:05 $ docker stop --time=1 1e851f85e136806b2fc32a8b493e34fb90fa154f5d3ad5c4c739f49d62fa7aa8 07:06:07 $ docker rm -f --volumes 1e851f85e136806b2fc32a8b493e34fb90fa154f5d3ad5c4c739f49d62fa7aa8 [Pipeline] // withDockerContainer [Pipeline] sh 07:06:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:06:08 Warning: overwriting stash ‘coverage-report’ 07:06:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:06:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:06:09 + ls -al . 07:06:09 total 176 07:06:09 drwxrwxr-x 9 jenkins jenkins 4096 Mar 30 07:03 . 07:06:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 07:00 .. 07:06:09 -rw-rw-r-- 1 jenkins jenkins 140 Mar 30 07:00 .dockerignore 07:06:09 drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 07:00 .git 07:06:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 07:00 .github 07:06:09 -rw-rw-r-- 1 jenkins jenkins 331 Mar 30 07:00 .gitignore 07:06:09 -rw-rw-r-- 1 jenkins jenkins 41 Mar 30 07:00 .golangci.yml 07:06:09 -rw-rw-r-- 1 jenkins jenkins 10004 Mar 30 07:00 Attribution.txt 07:06:09 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 30 07:00 CHANGELOG.md 07:06:09 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 30 07:00 Dockerfile 07:06:09 -rw-rw-r-- 1 jenkins jenkins 677 Mar 30 07:00 GOVERNANCE.md 07:06:09 -rw-rw-r-- 1 jenkins jenkins 680 Mar 30 07:00 Jenkinsfile 07:06:09 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 30 07:00 LICENSE 07:06:09 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 30 07:00 Makefile 07:06:09 -rw-rw-r-- 1 jenkins jenkins 622 Mar 30 07:00 OWNERS.md 07:06:09 -rw-rw-r-- 1 jenkins jenkins 4045 Mar 30 07:00 README.md 07:06:09 -rw-rw-r-- 1 jenkins jenkins 5 Mar 30 06:58 VERSION 07:06:09 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 07:00 bin 07:06:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 07:00 cmd 07:06:09 -rw-r--r-- 1 jenkins jenkins 23739 Mar 30 07:05 coverage.out 07:06:09 -rw-rw-r-- 1 jenkins jenkins 3450 Mar 30 07:00 go.mod 07:06:09 -rw-rw-r-- 1 jenkins jenkins 31495 Mar 30 07:00 go.sum 07:06:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 07:00 internal 07:06:09 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 07:00 simulator 07:06:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 07:00 snap 07:06:09 -rw-rw-r-- 1 jenkins jenkins 229 Mar 30 07:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:06:10 + 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=9218c513757025db22647a4ec77634385515242a --label arch=arm64 --label version=0.0.0 . 07:06:10 Sending build context to Docker daemon 3.382MB 07:06:10 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 07:06:10 Step 2/22 : FROM ${BASE} AS builder 07:06:10 ---> 10f335ca897b 07:06:10 Step 3/22 : ARG ADD_BUILD_TAGS="" 07:06:10 ---> Running in 5e78a49fc1d5 07:06:11 Removing intermediate container 5e78a49fc1d5 07:06:11 ---> 3cb24c48ce6a 07:06:11 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:06:11 ---> Running in 04bbd12e541e 07:06:11 Removing intermediate container 04bbd12e541e 07:06:11 ---> 62d0919456de 07:06:11 Step 5/22 : RUN apk add --update --no-cache make git openssh 07:06:11 ---> Running in e81e6d611401 07:06:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:06:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:06:14 OK: 270 MiB in 61 packages 07:06:15 Removing intermediate container e81e6d611401 07:06:15 ---> 1980d5c45ed7 07:06:15 Step 6/22 : WORKDIR /device-modbus-go 07:06:15 ---> Running in 3c623f8804bc 07:06:15 Removing intermediate container 3c623f8804bc 07:06:15 ---> 3ccbee7d0d78 07:06:15 Step 7/22 : COPY go.mod vendor* ./ 07:06:15 ---> af3ff4b01d54 07:06:15 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:06:15 ---> Running in 334d4b6c3974 07:06:18 Removing intermediate container 334d4b6c3974 07:06:18 ---> a4ed1fc732cb 07:06:18 Step 9/22 : COPY . . 07:06:19 ---> 7a5651f13973 07:06:19 Step 10/22 : RUN ${MAKE} 07:06:19 ---> Running in c831c6027b35 07:06:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:08:26 Removing intermediate container c831c6027b35 07:08:26 ---> 2ba07f83bed3 07:08:26 Step 11/22 : FROM alpine:3.17 07:08:26 3.17: Pulling from library/alpine 07:08:26 c41833b44d91: Pulling fs layer 07:08:26 c41833b44d91: Verifying Checksum 07:08:26 c41833b44d91: Download complete 07:08:26 c41833b44d91: Pull complete 07:08:26 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:08:26 Status: Downloaded newer image for alpine:3.17 07:08:26 ---> 51e60588ff2c 07:08:26 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:08:26 ---> Running in c77cc5524997 07:08:26 Removing intermediate container c77cc5524997 07:08:26 ---> 5ed4803b499b 07:08:26 Step 13/22 : RUN apk add --update --no-cache dumb-init 07:08:26 ---> Running in eb2d280d3106 07:08:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:08:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:08:27 (1/1) Installing dumb-init (1.2.5-r2) 07:08:27 Executing busybox-1.35.0-r29.trigger 07:08:27 OK: 8 MiB in 16 packages 07:08:28 Removing intermediate container eb2d280d3106 07:08:28 ---> 8ca7781fa7c6 07:08:28 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 07:08:29 ---> 8ecb93361626 07:08:29 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 07:08:30 ---> 082e8e420cd7 07:08:30 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:08:30 ---> 887f69b9815d 07:08:30 Step 17/22 : EXPOSE 59901 07:08:30 ---> Running in 2517405c2827 07:08:30 Removing intermediate container 2517405c2827 07:08:30 ---> fd83ff7bd14d 07:08:30 Step 18/22 : ENTRYPOINT ["/device-modbus"] 07:08:31 ---> Running in c1f1ea7a7024 07:08:31 Removing intermediate container c1f1ea7a7024 07:08:31 ---> e4eb721ad348 07:08:31 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:08:31 ---> Running in e07924d147dd 07:08:31 Removing intermediate container e07924d147dd 07:08:31 ---> 1d523a78eb24 07:08:31 Step 20/22 : LABEL arch=arm64 07:08:31 ---> Running in 8935852ec61a 07:08:31 Removing intermediate container 8935852ec61a 07:08:31 ---> 77ad697736e6 07:08:31 Step 21/22 : LABEL git_sha=9218c513757025db22647a4ec77634385515242a 07:08:31 ---> Running in ce0423ed4813 07:08:32 Removing intermediate container ce0423ed4813 07:08:32 ---> f59b88b2f057 07:08:32 Step 22/22 : LABEL version=0.0.0 07:08:32 ---> Running in 55a05a1f2efa 07:08:32 Removing intermediate container 55a05a1f2efa 07:08:32 ---> ceaae8c35d4b 07:08:32 [Warning] One or more build-args [ARCH] were not consumed 07:08:32 Successfully built ceaae8c35d4b 07:08:32 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 07:08:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:08:33 07:08:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:08:34 arm64: Pulling from edgex-lftools-log-publisher 07:08:34 8998bd30e6a1: Pulling fs layer 07:08:34 04944245beec: Pulling fs layer 07:08:34 699f458cf7ca: Pulling fs layer 07:08:34 765212b225bb: Pulling fs layer 07:08:34 f23df028b6ca: Pulling fs layer 07:08:34 d65c8cfc05b1: Pulling fs layer 07:08:34 2437ff75d9bd: Pulling fs layer 07:08:34 f23df028b6ca: Waiting 07:08:34 d65c8cfc05b1: Waiting 07:08:34 765212b225bb: Waiting 07:08:34 04944245beec: Verifying Checksum 07:08:34 04944245beec: Download complete 07:08:34 765212b225bb: Verifying Checksum 07:08:34 765212b225bb: Download complete 07:08:34 f23df028b6ca: Verifying Checksum 07:08:34 f23df028b6ca: Download complete 07:08:34 d65c8cfc05b1: Download complete 07:08:34 699f458cf7ca: Verifying Checksum 07:08:34 699f458cf7ca: Download complete 07:08:34 8998bd30e6a1: Verifying Checksum 07:08:34 8998bd30e6a1: Download complete 07:08:37 2437ff75d9bd: Verifying Checksum 07:08:37 2437ff75d9bd: Download complete 07:08:38 8998bd30e6a1: Pull complete 07:08:39 04944245beec: Pull complete 07:08:40 699f458cf7ca: Pull complete 07:08:40 765212b225bb: Pull complete 07:08:41 f23df028b6ca: Pull complete 07:08:41 d65c8cfc05b1: Pull complete 07:08:56 2437ff75d9bd: Pull complete 07:08:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:08:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:08:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:08:57 prd-ubuntu20.04-docker-arm64-4c-16g-6443 does not seem to be running inside a container 07:08:57 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:08:59 $ docker top 791c1a61d328cdf246b26968b0af6af9c0d07018b0c814e9f9579bcdc9e8d272 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:09:00 ---> job-cost.sh 07:09:00 lf-activate-venv: SKIPPING 07:09:00 INFO: No Stack... 07:09:01 INFO: Retrieving Pricing Info for: v3-standard-4 07:09:01 INFO: Archiving Costs [Pipeline] sh 07:09:02 + cut -d,+ -f6 07:09:02 cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 07:09:02 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-450-1-stack-cost] 07:09:02 Resource [jenkins-edgexfoundry-device-modbus-go-PR-450-1-stack-cost] did not exist. Created. 07:09:02 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-450-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:09:02 /w/workspace/device-modbus-go/1@tmp/durable-3be5df82/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:09:03 + echo total: 0.10999999940395355 [Pipeline] stash 07:09:03 Warning: overwriting stash ‘stack-cost’ 07:09:03 Stashed 1 file(s) [Pipeline] } 07:09:03 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-450-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:09:03 $ docker stop --time=1 791c1a61d328cdf246b26968b0af6af9c0d07018b0c814e9f9579bcdc9e8d272 07:09:04 $ docker rm -f --volumes 791c1a61d328cdf246b26968b0af6af9c0d07018b0c814e9f9579bcdc9e8d272 [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 07:09:05 provisioning config files... 07:09:05 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-450@tmp/config12581300349149288003tmp [Pipeline] { [Pipeline] sh 07:09:06 + set +x 07:09:06 + bash -s -- 07:09:06 + curl -s https://codecov.io/bash 07:09:06 07:09:06 _____ _ 07:09:06 / ____| | | 07:09:06 | | ___ __| | ___ ___ _____ __ 07:09:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:09:06 | |___| (_) | (_| | __/ (_| (_) \ V / 07:09:06 \_____\___/ \__,_|\___|\___\___/ \_/ 07:09:06 Bash-1.0.6 07:09:06 07:09:06 07:09:06 ==> git version 2.25.1 found 07:09:06 ==> 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 07:09:06 Release-Date: 2020-01-08 07:09:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:09:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:09:06 ==> Jenkins CI detected. 07:09:06 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-450 07:09:06 project root: . 07:09:06 --> token set from env 07:09:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:09:06 ==> Running gcov in . (disable via -X gcov) 07:09:06 ==> Python coveragepy not found 07:09:06 ==> Searching for coverage reports in: 07:09:06 + . 07:09:06 -> Found 1 reports 07:09:06 ==> Detecting git/mercurial file structure 07:09:06 ==> Reading reports 07:09:06 + ./coverage.out bytes=23739 07:09:06 ==> Appending adjustments 07:09:06 https://docs.codecov.io/docs/fixing-reports 07:09:06 + Found adjustments 07:09:06 ==> Gzipping contents 07:09:06 4.0K /tmp/codecov.h4Nj4h.gz 07:09:06 ==> Uploading reports 07:09:06 url: https://codecov.io 07:09:06 query: branch=PR-450&commit=9218c513757025db22647a4ec77634385515242a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-450%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=450&job=&cmd_args= 07:09:06 -> Pinging Codecov 07:09:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-450&commit=9218c513757025db22647a4ec77634385515242a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-450%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=450&job=&cmd_args= 07:09:06 -> Uploading to 07:09:06 https://storage.googleapis.com/codecov/v4/raw/2023-03-30/55DBCA73C666E3227836607328DD7E49/9218c513757025db22647a4ec77634385515242a/b74759c8-61c2-4916-8885-20cbc086b124.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230330%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230330T070906Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b4bd194b362dc74684fb8fa8b3451caa8d67759270e70f8b96957d1235f13659 07:09:06 % Total % Received % Xferd Average Speed Time Time Time Current 07:09:06 Dload Upload Total Spent Left Speed 07:09:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3877 0 0 100 3877 0 19004 --:--:-- --:--:-- --:--:-- 18912 100 3877 0 0 100 3877 0 13699 --:--:-- --:--:-- --:--:-- 13651 07:09:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/9218c513757025db22647a4ec77634385515242a [Pipeline] } 07:09:07 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 07:09:08 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-450/archives ] 07:09:08 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-450/archives 07:09:08 total 16 07:09:08 drwxr-xr-x 3 root root 4096 Mar 30 07:00 . 07:09:08 drwxrwxr-x 11 jenkins jenkins 4096 Mar 30 07:00 .. 07:09:08 drwxr-xr-x 2 root root 4096 Mar 30 07:00 cost 07:09:08 -rw-r--r-- 1 root root 88 Mar 30 07:00 cost.csv 07:09:08 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-450/archives 07:09:08 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-450/archives 07:09:08 total 16 07:09:08 drwxr-xr-x 3 jenkins jenkins 4096 Mar 30 07:00 . 07:09:08 drwxrwxr-x 11 jenkins jenkins 4096 Mar 30 07:00 .. 07:09:08 drwxr-xr-x 2 jenkins jenkins 4096 Mar 30 07:00 cost 07:09:08 -rw-r--r-- 1 jenkins jenkins 88 Mar 30 07:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:09:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:09:10 ---> package-listing.sh 07:09:10 ++ facter osfamily 07:09:10 ++ tr '[:upper:]' '[:lower:]' 07:09:10 + OS_FAMILY=debian 07:09:10 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-450 07:09:10 + START_PACKAGES=/tmp/packages_start.txt 07:09:10 + END_PACKAGES=/tmp/packages_end.txt 07:09:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:09:10 + PACKAGES=/tmp/packages_start.txt 07:09:10 + '[' /w/workspace/xfoundry_device-modbus-go_PR-450 ']' 07:09:10 + PACKAGES=/tmp/packages_end.txt 07:09:10 + case "${OS_FAMILY}" in 07:09:10 + dpkg -l 07:09:10 + grep '^ii' 07:09:10 + '[' -f /tmp/packages_start.txt ']' 07:09:10 + '[' -f /tmp/packages_end.txt ']' 07:09:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:09:10 + '[' /w/workspace/xfoundry_device-modbus-go_PR-450 ']' 07:09:10 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-450/archives/ 07:09:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-450/archives/ [Pipeline] echo 07:09:10 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-450/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:09:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:09:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:09:11 prd-ubuntu20.04-docker-8c-8g-6442 does not seem to be running inside a container 07:09:11 $ 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-450/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-450 -v /w/workspace/xfoundry_device-modbus-go_PR-450:/w/workspace/xfoundry_device-modbus-go_PR-450:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-450@tmp:/w/workspace/xfoundry_device-modbus-go_PR-450@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:09:11 $ docker top 11b9e38e12f6261f53223b06d181fa19efe1860844df04aa04aca498e681c514 -eo pid,comm [Pipeline] { [Pipeline] sh 07:09:12 + touch /tmp/pre-build-complete [Pipeline] sh 07:09:12 + mkdir -p /var/log/sysstat [Pipeline] sh 07:09:12 + ls /var/log/sa-host 07:09:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:09:12 provisioning config files... 07:09:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-450@tmp/config512871031270424424tmp [Pipeline] { [Pipeline] echo 07:09:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:09:13 ---> create-netrc.sh [Pipeline] } 07:09:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:09:13 ---> python-tools-install.sh [Pipeline] echo 07:09:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:09:13 ---> sudo-logs.sh 07:09:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:09:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:09:14 ---> job-cost.sh 07:09:14 lf-activate-venv: SKIPPING 07:09:14 DEBUG: total: 0.2199999988079071 07:09:14 INFO: Retrieving Stack Cost... 07:09:14 INFO: Retrieving Pricing Info for: v3-standard-8 07:09:15 INFO: Archiving Costs [Pipeline] echo 07:09:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:09:15 ---> logs-deploy.sh 07:09:15 lf-activate-venv: SKIPPING 07:09:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-450/1 07:09:15 INFO: archiving workspace using pattern(s): 07:09:16 Archives upload complete. 07:09:16 INFO: archiving logs to Nexus