Pull request #505 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 97e5d59619a97e0ea732da14c8df92277a3df7aa+1fc6a9bac598d8b717ba28d0c645d44cc2d3275e (a2056350cc6900b44a2f65e1c328c195d41124ca) 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-ssh849214077739891369.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh484640764259027561.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-505/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-505/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1710620866662695241.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-505/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15288003752523846858.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh3601676502249478586.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-505/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-505/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8546380161115621883.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 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-7792 in /w/workspace/xfoundry_device-modbus-go_PR-505 [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-505 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e into PR head commit 97e5d59619a97e0ea732da14c8df92277a3df7aa Merge succeeded, producing 97e5d59619a97e0ea732da14c8df92277a3df7aa Checking out Revision 97e5d59619a97e0ea732da14c8df92277a3df7aa (PR-505) > 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/505/head:refs/remotes/origin/PR-505 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97e5d59619a97e0ea732da14c8df92277a3df7aa # 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 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97e5d59619a97e0ea732da14c8df92277a3df7aa # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:44:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:44:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:44:15 ========================================================= 05:44:15 EdgeX Global Pipelines Version Info 05:44:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:44:16 ------------------- 05:44:16 stable info: 05:44:16 ------------------- 05:44:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:44:16 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 05:44:16 Message: update stable to v1.0.254 05:44:17 ------------------- 05:44:17 experimental info: 05:44:17 ------------------- 05:44:17 Commited By: **** collab-it+edgex@linuxfoundation.org 05:44:17 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 05:44:17 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:44:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:44:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:44:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:44:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:44:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:44:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:44:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:44:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:44:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:44:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:44:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:44:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:44:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:44:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:44:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:44:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:44:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:44:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:44:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:44:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:44:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-505 [Pipeline] echo 05:44:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-505 [Pipeline] echo 05:44:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-505 [Pipeline] echo 05:44:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 97e5d59619a97e0ea732da14c8df92277a3df7aa [Pipeline] echo 05:44:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 97e5d59 [Pipeline] echo 05:44:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:44:18 provisioning config files... 05:44:18 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-505@tmp/config14705584278807493457tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:44:19 ---> docker-login.sh 05:44:19 nexus3.edgexfoundry.org:10001 05:44:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:19 Configure a credential helper to remove this warning. See 05:44:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:19 05:44:19 Login Succeeded 05:44:19 nexus3.edgexfoundry.org:10002 05:44:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:19 Configure a credential helper to remove this warning. See 05:44:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:19 05:44:19 Login Succeeded 05:44:19 nexus3.edgexfoundry.org:10003 05:44:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:19 Configure a credential helper to remove this warning. See 05:44:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:19 05:44:19 Login Succeeded 05:44:19 nexus3.edgexfoundry.org:10004 05:44:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:19 Configure a credential helper to remove this warning. See 05:44:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:19 05:44:19 Login Succeeded 05:44:19 docker.io 05:44:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:20 Configure a credential helper to remove this warning. See 05:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:20 05:44:20 Login Succeeded 05:44:20 ---> docker-login.sh ends [Pipeline] } 05:44:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:44:20 + git rev-list -1 --merges 97e5d59619a97e0ea732da14c8df92277a3df7aa~1..97e5d59619a97e0ea732da14c8df92277a3df7aa [Pipeline] echo 05:44:20 -----------> git rev-list -1 --merges 97e5d59619a97e0ea732da14c8df92277a3df7aa~1..97e5d59619a97e0ea732da14c8df92277a3df7aa 97e5d59619a97e0ea732da14c8df92277a3df7aa [false] [Pipeline] sh 05:44:21 + git log --format=format:%s -1 97e5d59619a97e0ea732da14c8df92277a3df7aa [Pipeline] echo 05:44:21 ========================================================= 05:44:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:44:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:44:21 + git log --format=format:%s -1 97e5d59619a97e0ea732da14c8df92277a3df7aa [Pipeline] echo 05:44:21 [semverPrep] GIT_COMMIT: 97e5d59619a97e0ea732da14c8df92277a3df7aa, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:44:21 [semverPrep] This is not a build commit. [Pipeline] sh 05:44:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:44:22 + grep -v github /etc/ssh/ssh_known_hosts 05:44:22 + [ -e /tmp/ssh_known_hosts ] 05:44:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:44:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:44:22 + sudo tee -a /etc/ssh/ssh_known_hosts 05:44:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:44:22 05:44:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:44:23 0.1.4: Pulling from edgex-devops/py-git-semver 05:44:23 b85a868b505f: Pulling fs layer 05:44:23 e2be974225ed: Pulling fs layer 05:44:23 339a4e72a1f5: Pulling fs layer 05:44:23 988bab9f4d93: Pulling fs layer 05:44:23 1469e6f7b9e6: Pulling fs layer 05:44:23 eaf3925da568: Pulling fs layer 05:44:23 bab4dde63d76: Pulling fs layer 05:44:23 bde34c3a00c8: Pulling fs layer 05:44:23 b352a97aabf1: Pulling fs layer 05:44:23 4872d77fe225: Pulling fs layer 05:44:23 5851b861e8e6: Pulling fs layer 05:44:23 b352a97aabf1: Waiting 05:44:23 bab4dde63d76: Waiting 05:44:23 4872d77fe225: Waiting 05:44:23 bde34c3a00c8: Waiting 05:44:23 5851b861e8e6: Waiting 05:44:23 988bab9f4d93: Waiting 05:44:23 eaf3925da568: Waiting 05:44:23 1469e6f7b9e6: Waiting 05:44:23 e2be974225ed: Verifying Checksum 05:44:23 e2be974225ed: Download complete 05:44:23 988bab9f4d93: Verifying Checksum 05:44:23 988bab9f4d93: Download complete 05:44:23 1469e6f7b9e6: Verifying Checksum 05:44:23 1469e6f7b9e6: Download complete 05:44:23 339a4e72a1f5: Verifying Checksum 05:44:23 339a4e72a1f5: Download complete 05:44:23 eaf3925da568: Verifying Checksum 05:44:23 eaf3925da568: Download complete 05:44:23 bde34c3a00c8: Verifying Checksum 05:44:23 bde34c3a00c8: Download complete 05:44:23 b352a97aabf1: Download complete 05:44:23 4872d77fe225: Verifying Checksum 05:44:23 4872d77fe225: Download complete 05:44:23 5851b861e8e6: Verifying Checksum 05:44:23 5851b861e8e6: Download complete 05:44:23 b85a868b505f: Verifying Checksum 05:44:23 b85a868b505f: Download complete 05:44:23 bab4dde63d76: Verifying Checksum 05:44:23 bab4dde63d76: Download complete 05:44:24 b85a868b505f: Pull complete 05:44:24 e2be974225ed: Pull complete 05:44:25 339a4e72a1f5: Pull complete 05:44:25 988bab9f4d93: Pull complete 05:44:25 1469e6f7b9e6: Pull complete 05:44:25 eaf3925da568: Pull complete 05:44:27 bab4dde63d76: Pull complete 05:44:27 bde34c3a00c8: Pull complete 05:44:27 b352a97aabf1: Pull complete 05:44:27 4872d77fe225: Pull complete 05:44:27 5851b861e8e6: Pull complete 05:44:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:44:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:44:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:27 prd-ubuntu20.04-docker-8c-8g-7792 does not seem to be running inside a container 05:44:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-505 -v /w/workspace/xfoundry_device-modbus-go_PR-505:/w/workspace/xfoundry_device-modbus-go_PR-505:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-505@tmp:/w/workspace/xfoundry_device-modbus-go_PR-505@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:44:28 $ docker top 2d68c9e1be324eb6eb2a99df97df9ca24ff66131f0fc04c7c03b9fa751691300 -eo pid,comm 05:44:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:44:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:44:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:44:29 [ssh-agent] Looking for ssh-agent implementation... 05:44:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:44:29 $ docker exec 2d68c9e1be324eb6eb2a99df97df9ca24ff66131f0fc04c7c03b9fa751691300 ssh-agent 05:44:29 SSH_AUTH_SOCK=/tmp/ssh-pFbbnupmIgi1/agent.32 05:44:29 SSH_AGENT_PID=38 05:44:29 Running ssh-add (command line suppressed) 05:44:29 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-505@tmp/private_key_10668890226225231026.key (/w/workspace/xfoundry_device-modbus-go_PR-505@tmp/private_key_10668890226225231026.key) 05:44:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:44:29 + git tag --points-at HEAD [Pipeline] } 05:44:29 $ docker exec --env ******** --env ******** 2d68c9e1be324eb6eb2a99df97df9ca24ff66131f0fc04c7c03b9fa751691300 ssh-agent -k 05:44:29 unset SSH_AUTH_SOCK; 05:44:29 unset SSH_AGENT_PID; 05:44:29 echo Agent pid 38 killed; 05:44:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:44:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:44:29 [ssh-agent] Looking for ssh-agent implementation... 05:44:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:44:30 $ docker exec 2d68c9e1be324eb6eb2a99df97df9ca24ff66131f0fc04c7c03b9fa751691300 ssh-agent 05:44:30 SSH_AUTH_SOCK=/tmp/ssh-mqcwAEtMyzJg/agent.70 05:44:30 SSH_AGENT_PID=77 05:44:30 Running ssh-add (command line suppressed) 05:44:30 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-505@tmp/private_key_15911835950630555118.key (/w/workspace/xfoundry_device-modbus-go_PR-505@tmp/private_key_15911835950630555118.key) 05:44:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:44:30 + git semver init 05:44:30 2023-09-25 05:44:30,770 [run_init] DEBUG init version:0.0.0 force:False 05:44:30 2023-09-25 05:44:30,771 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-505/.semver 05:44:30 2023-09-25 05:44:30,771 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-505/.semver 05:44:30 2023-09-25 05:44:30,771 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-505/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-505, universal_newlines=False, shell=None, istream=None) 05:44:31 2023-09-25 05:44:31,528 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-505/.git/info/exclude 05:44:31 2023-09-25 05:44:31,529 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-505/.semver/PR-505 with force:False 05:44:31 2023-09-25 05:44:31,529 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-505/.semver/PR-505 05:44:31 2023-09-25 05:44:31,533 [execute] INFO git cat-file --batch-check 05:44:31 2023-09-25 05:44:31,533 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-505/.semver, universal_newlines=False, shell=None, istream=) 05:44:31 2023-09-25 05:44:31,539 [execute] INFO git cat-file --batch 05:44:31 2023-09-25 05:44:31,539 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-505/.semver, universal_newlines=False, shell=None, istream=) 05:44:31 2023-09-25 05:44:31,544 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-505/.semver/PR-505 05:44:31 0.0.0 [Pipeline] } 05:44:31 $ docker exec --env ******** --env ******** 2d68c9e1be324eb6eb2a99df97df9ca24ff66131f0fc04c7c03b9fa751691300 ssh-agent -k 05:44:31 unset SSH_AUTH_SOCK; 05:44:31 unset SSH_AGENT_PID; 05:44:31 echo Agent pid 77 killed; 05:44:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:44:32 + git semver [Pipeline] } 05:44:32 $ docker stop --time=1 2d68c9e1be324eb6eb2a99df97df9ca24ff66131f0fc04c7c03b9fa751691300 05:44:33 $ docker rm -f --volumes 2d68c9e1be324eb6eb2a99df97df9ca24ff66131f0fc04c7c03b9fa751691300 [Pipeline] // withDockerContainer [Pipeline] sh 05:44:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:44:34 Stashed 1 file(s) [Pipeline] echo 05:44:34 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:44:35 provisioning config files... 05:44:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-505@tmp/config1479930453704745528tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:44:35 ---> docker-login.sh 05:44:35 nexus3.edgexfoundry.org:10001 05:44:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:35 Configure a credential helper to remove this warning. See 05:44:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:35 05:44:35 Login Succeeded 05:44:35 nexus3.edgexfoundry.org:10002 05:44:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:35 Configure a credential helper to remove this warning. See 05:44:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:35 05:44:35 Login Succeeded 05:44:35 nexus3.edgexfoundry.org:10003 05:44:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:35 Configure a credential helper to remove this warning. See 05:44:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:35 05:44:35 Login Succeeded 05:44:35 nexus3.edgexfoundry.org:10004 05:44:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:35 Configure a credential helper to remove this warning. See 05:44:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:35 05:44:35 Login Succeeded 05:44:35 docker.io 05:44:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:36 Configure a credential helper to remove this warning. See 05:44:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:36 05:44:36 Login Succeeded 05:44:36 ---> docker-login.sh ends [Pipeline] } 05:44:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:44:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:44:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:44:36 ========================================================= 05:44:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:44:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:36 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:44:36 Sending build context to Docker daemon 6.49MB 05:44:36 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:44:36 Step 2/10 : FROM ${BASE} AS builder 05:44:36 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:44:36 7264a8db6415: Pulling fs layer 05:44:36 c4d48a809fc2: Pulling fs layer 05:44:36 4f1c88b9dad5: Pulling fs layer 05:44:36 ad3a456e5733: Pulling fs layer 05:44:36 33e27b845d1e: Pulling fs layer 05:44:36 c68163c4e522: Pulling fs layer 05:44:36 50da416c3ac9: Pulling fs layer 05:44:36 23d2d4c4bb30: Pulling fs layer 05:44:36 33e27b845d1e: Waiting 05:44:36 c68163c4e522: Waiting 05:44:36 ad3a456e5733: Waiting 05:44:36 23d2d4c4bb30: Waiting 05:44:36 c4d48a809fc2: Download complete 05:44:36 ad3a456e5733: Verifying Checksum 05:44:36 ad3a456e5733: Download complete 05:44:36 33e27b845d1e: Verifying Checksum 05:44:36 33e27b845d1e: Download complete 05:44:36 7264a8db6415: Verifying Checksum 05:44:36 7264a8db6415: Download complete 05:44:37 c68163c4e522: Verifying Checksum 05:44:37 c68163c4e522: Download complete 05:44:37 7264a8db6415: Pull complete 05:44:37 c4d48a809fc2: Pull complete 05:44:37 23d2d4c4bb30: Verifying Checksum 05:44:37 23d2d4c4bb30: Download complete 05:44:37 4f1c88b9dad5: Verifying Checksum 05:44:37 4f1c88b9dad5: Download complete 05:44:37 50da416c3ac9: Verifying Checksum 05:44:40 4f1c88b9dad5: Pull complete 05:44:40 ad3a456e5733: Pull complete 05:44:40 33e27b845d1e: Pull complete 05:44:40 c68163c4e522: Pull complete 05:44:42 50da416c3ac9: Pull complete 05:44:42 23d2d4c4bb30: Pull complete 05:44:42 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 05:44:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:44:42 ---> 0786185ac409 05:44:42 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:44:44 ---> Running in 643382c920e2 05:44:44 Removing intermediate container 643382c920e2 05:44:44 ---> a59a114ebb5f 05:44:44 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:44:44 ---> Running in 59e7b34e6da1 05:44:44 Removing intermediate container 59e7b34e6da1 05:44:44 ---> b511085f1e9a 05:44:44 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:44:44 ---> Running in 775489cafc5d 05:44:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:44:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:44:45 (1/8) Installing openssh-keygen (9.3_p2-r0) 05:44:45 (2/8) Installing libedit (20221030.3.1-r1) 05:44:45 (3/8) Installing openssh-client-common (9.3_p2-r0) 05:44:45 (4/8) Installing openssh-client-default (9.3_p2-r0) 05:44:45 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 05:44:45 (6/8) Installing openssh-server-common (9.3_p2-r0) 05:44:45 (7/8) Installing openssh-server (9.3_p2-r0) 05:44:45 (8/8) Installing openssh (9.3_p2-r0) 05:44:45 Executing busybox-1.36.1-r2.trigger 05:44:45 OK: 270 MiB in 60 packages 05:44:45 Removing intermediate container 775489cafc5d 05:44:45 ---> 02c5a23b2d6f 05:44:45 Step 6/10 : WORKDIR /device-modbus-go 05:44:45 ---> Running in 805adbf631cf 05:44:45 Removing intermediate container 805adbf631cf 05:44:45 ---> f4d48da22233 05:44:45 Step 7/10 : COPY go.mod vendor* ./ 05:44:45 ---> 2d473debcb8e 05:44:45 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:44:45 ---> Running in 7ea38635a396 05:44:50 Still waiting to schedule task 05:44:50 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:45:24 Removing intermediate container 7ea38635a396 05:45:24 ---> 90a429fa5b22 05:45:24 Step 9/10 : COPY . . 05:45:24 ---> d0e9ab66373b 05:45:24 Step 10/10 : RUN ${MAKE} 05:45:24 ---> Running in 59eb05f13a52 05:45:24 noop 05:45:24 Removing intermediate container 59eb05f13a52 05:45:24 ---> 5ef85b8fee73 05:45:24 Successfully built 5ef85b8fee73 05:45:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:24 + docker inspect -f . ci-base-image-x86_64 05:45:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:24 prd-ubuntu20.04-docker-8c-8g-7792 does not seem to be running inside a container 05:45:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-505 -v /w/workspace/xfoundry_device-modbus-go_PR-505:/w/workspace/xfoundry_device-modbus-go_PR-505:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-505@tmp:/w/workspace/xfoundry_device-modbus-go_PR-505@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 ******** ci-base-image-x86_64 cat 05:45:25 $ docker top c4eca0511fd48ab002b943a8848714b3171fa92bdac4d0c84c1e07014ff6dd8a -eo pid,comm [Pipeline] { [Pipeline] sh 05:45:25 + go version 05:45:25 go version go1.21.0 linux/amd64 [Pipeline] } 05:45:25 $ docker stop --time=1 c4eca0511fd48ab002b943a8848714b3171fa92bdac4d0c84c1e07014ff6dd8a 05:45:26 $ docker rm -f --volumes c4eca0511fd48ab002b943a8848714b3171fa92bdac4d0c84c1e07014ff6dd8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:27 + docker inspect -f . ci-base-image-x86_64 05:45:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:27 prd-ubuntu20.04-docker-8c-8g-7792 does not seem to be running inside a container 05:45:27 $ 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-505 -v /w/workspace/xfoundry_device-modbus-go_PR-505:/w/workspace/xfoundry_device-modbus-go_PR-505:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-505@tmp:/w/workspace/xfoundry_device-modbus-go_PR-505@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 ******** ci-base-image-x86_64 cat 05:45:28 $ docker top fd28fe2c4b83016dfa8cedc9e0b23037447d907b7fe5314776b7f2ce84852269 -eo pid,comm [Pipeline] { [Pipeline] sh 05:45:28 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-505 [Pipeline] fileExists [Pipeline] sh 05:45:28 + make test 05:45:28 go test ./... -coverprofile=coverage.out 05:45:29 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:45:39 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:45:39 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.9% of statements 05:45:45 go vet ./... 05:45:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:45:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:45:47 ./bin/test-attribution-txt.sh [Pipeline] echo 05:45:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:45:47 $ docker stop --time=1 fd28fe2c4b83016dfa8cedc9e0b23037447d907b7fe5314776b7f2ce84852269 05:45:49 $ docker rm -f --volumes fd28fe2c4b83016dfa8cedc9e0b23037447d907b7fe5314776b7f2ce84852269 [Pipeline] // withDockerContainer [Pipeline] sh 05:45:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:45:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:45:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:45:51 + ls -al . 05:45:51 total 192 05:45:51 drwxrwxr-x 10 jenkins jenkins 4096 Sep 25 05:45 . 05:45:51 drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 05:44 .. 05:45:51 -rw-rw-r-- 1 jenkins jenkins 140 Sep 25 05:44 .dockerignore 05:45:51 drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 05:45 .git 05:45:51 drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 05:44 .github 05:45:51 -rw-rw-r-- 1 jenkins jenkins 331 Sep 25 05:44 .gitignore 05:45:51 -rw-rw-r-- 1 jenkins jenkins 41 Sep 25 05:44 .golangci.yml 05:45:51 drwxr-xr-x 3 jenkins jenkins 4096 Sep 25 05:44 .semver 05:45:51 -rw-rw-r-- 1 jenkins jenkins 11101 Sep 25 05:44 Attribution.txt 05:45:51 -rw-rw-r-- 1 jenkins jenkins 14764 Sep 25 05:44 CHANGELOG.md 05:45:51 -rw-rw-r-- 1 jenkins jenkins 1365 Sep 25 05:44 Dockerfile 05:45:51 -rw-rw-r-- 1 jenkins jenkins 677 Sep 25 05:44 GOVERNANCE.md 05:45:51 -rw-rw-r-- 1 jenkins jenkins 680 Sep 25 05:44 Jenkinsfile 05:45:51 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 25 05:44 LICENSE 05:45:51 -rw-rw-r-- 1 jenkins jenkins 1936 Sep 25 05:44 Makefile 05:45:51 -rw-rw-r-- 1 jenkins jenkins 622 Sep 25 05:44 OWNERS.md 05:45:51 -rw-rw-r-- 1 jenkins jenkins 4578 Sep 25 05:44 README.md 05:45:51 -rw-rw-r-- 1 jenkins jenkins 5 Sep 25 05:44 VERSION 05:45:51 drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 05:44 bin 05:45:51 drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 05:44 cmd 05:45:51 -rw-r--r-- 1 jenkins jenkins 24334 Sep 25 05:45 coverage.out 05:45:51 -rw-rw-r-- 1 jenkins jenkins 3941 Sep 25 05:44 go.mod 05:45:51 -rw-rw-r-- 1 jenkins jenkins 35965 Sep 25 05:44 go.sum 05:45:51 drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 05:44 internal 05:45:51 drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 05:44 simulator 05:45:51 drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 05:44 snap 05:45:51 -rw-rw-r-- 1 jenkins jenkins 229 Sep 25 05:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:51 + 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=97e5d59619a97e0ea732da14c8df92277a3df7aa --label arch=amd64 --label version=0.0.0 . 05:45:51 Sending build context to Docker daemon 6.515MB 05:45:51 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 05:45:51 Step 2/22 : FROM ${BASE} AS builder 05:45:51 ---> 5ef85b8fee73 05:45:51 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:45:51 ---> Running in b18132e48534 05:45:51 Removing intermediate container b18132e48534 05:45:51 ---> 83cd60544b15 05:45:51 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:45:51 ---> Running in 000ec55d0cfb 05:45:51 Removing intermediate container 000ec55d0cfb 05:45:51 ---> de7011b22291 05:45:51 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:45:51 ---> Running in 28fafffa61d4 05:45:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:45:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:45:52 OK: 270 MiB in 60 packages 05:45:52 Removing intermediate container 28fafffa61d4 05:45:52 ---> dbf62934b3a8 05:45:52 Step 6/22 : WORKDIR /device-modbus-go 05:45:52 ---> Running in d6023f3c4099 05:45:52 Removing intermediate container d6023f3c4099 05:45:52 ---> f90ed2a267d0 05:45:52 Step 7/22 : COPY go.mod vendor* ./ 05:45:52 ---> e6b307d7c144 05:45:52 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:45:52 ---> Running in 7c34acd5d96b 05:45:53 Removing intermediate container 7c34acd5d96b 05:45:53 ---> fdf3ee20c8fc 05:45:53 Step 9/22 : COPY . . 05:45:53 ---> 7fddbe73cfdf 05:45:53 Step 10/22 : RUN ${MAKE} 05:45:53 ---> Running in 70a63095e5bf 05:45:53 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.30" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:46:08 Removing intermediate container 70a63095e5bf 05:46:08 ---> 48c63a83c383 05:46:08 Step 11/22 : FROM alpine:3.18 05:46:08 3.18: Pulling from library/alpine 05:46:08 7264a8db6415: Already exists 05:46:09 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 05:46:09 Status: Downloaded newer image for alpine:3.18 05:46:09 ---> 7e01a0d0a1dc 05:46:09 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:46:09 ---> Running in 017abeda677a 05:46:09 Removing intermediate container 017abeda677a 05:46:09 ---> 7696a2709fd0 05:46:09 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:46:09 ---> Running in b79bdfa8db24 05:46:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:46:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:46:10 (1/1) Installing dumb-init (1.2.5-r2) 05:46:10 Executing busybox-1.36.1-r2.trigger 05:46:10 OK: 7 MiB in 16 packages 05:46:10 Removing intermediate container b79bdfa8db24 05:46:10 ---> 89e3dbfda0e7 05:46:10 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:46:10 ---> ecfa38f94900 05:46:10 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:46:10 ---> 3c01290e4a10 05:46:10 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:46:10 ---> 86ff710d37ec 05:46:10 Step 17/22 : EXPOSE 59901 05:46:11 ---> Running in d8bff87aca91 05:46:11 Removing intermediate container d8bff87aca91 05:46:11 ---> 4361ce959391 05:46:11 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:46:11 ---> Running in e8114dd01828 05:46:11 Removing intermediate container e8114dd01828 05:46:11 ---> 26308812a22a 05:46:11 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:46:11 ---> Running in 6972b5adbbe0 05:46:11 Removing intermediate container 6972b5adbbe0 05:46:11 ---> 02d1778de0b5 05:46:11 Step 20/22 : LABEL arch=amd64 05:46:11 ---> Running in dd9df87253d6 05:46:11 Removing intermediate container dd9df87253d6 05:46:11 ---> df3680b463d8 05:46:11 Step 21/22 : LABEL git_sha=97e5d59619a97e0ea732da14c8df92277a3df7aa 05:46:11 ---> Running in 9bfc09117373 05:46:11 Removing intermediate container 9bfc09117373 05:46:11 ---> b680a0c37bfa 05:46:11 Step 22/22 : LABEL version=0.0.0 05:46:11 ---> Running in 0b244abf1aea 05:46:11 Removing intermediate container 0b244abf1aea 05:46:11 ---> 378880ab9c3b 05:46:11 [Warning] One or more build-args [ARCH] were not consumed 05:46:11 Successfully built 378880ab9c3b 05:46:11 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 05:46:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:46:12 05:46:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:46:12 latest: Pulling from edgex-lftools-log-publisher 05:46:12 5eb5b503b376: Pulling fs layer 05:46:12 5c69ac0246d0: Pulling fs layer 05:46:12 ec43610c2a17: Pulling fs layer 05:46:12 3a2ae6a8a46f: Pulling fs layer 05:46:12 33b1e0a273af: Pulling fs layer 05:46:12 5d3b04190fa2: Pulling fs layer 05:46:12 2f39f015ded8: Pulling fs layer 05:46:12 3a2ae6a8a46f: Waiting 05:46:12 33b1e0a273af: Waiting 05:46:12 5d3b04190fa2: Waiting 05:46:12 2f39f015ded8: Waiting 05:46:12 5c69ac0246d0: Verifying Checksum 05:46:12 5c69ac0246d0: Download complete 05:46:12 3a2ae6a8a46f: Download complete 05:46:12 33b1e0a273af: Verifying Checksum 05:46:12 33b1e0a273af: Download complete 05:46:12 5d3b04190fa2: Verifying Checksum 05:46:12 5d3b04190fa2: Download complete 05:46:12 ec43610c2a17: Verifying Checksum 05:46:12 ec43610c2a17: Download complete 05:46:13 5eb5b503b376: Verifying Checksum 05:46:13 5eb5b503b376: Download complete 05:46:13 2f39f015ded8: Download complete 05:46:14 5eb5b503b376: Pull complete 05:46:14 5c69ac0246d0: Pull complete 05:46:14 ec43610c2a17: Pull complete 05:46:14 3a2ae6a8a46f: Pull complete 05:46:14 33b1e0a273af: Pull complete 05:46:14 5d3b04190fa2: Pull complete 05:46:18 2f39f015ded8: Pull complete 05:46:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:46:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:46:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:46:19 prd-ubuntu20.04-docker-8c-8g-7792 does not seem to be running inside a container 05:46:19 $ 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-505 -v /w/workspace/xfoundry_device-modbus-go_PR-505:/w/workspace/xfoundry_device-modbus-go_PR-505:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-505@tmp:/w/workspace/xfoundry_device-modbus-go_PR-505@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-lftools-log-publisher:latest cat 05:46:20 $ docker top 5e58fb654ac6ec85be144f33c01439e74935b52774dff753292e6b84930c11f1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:46:20 ---> job-cost.sh 05:46:20 lf-activate-venv: SKIPPING 05:46:20 INFO: No Stack... 05:46:21 INFO: Retrieving Pricing Info for: v3-standard-8 05:46:21 INFO: Archiving Costs [Pipeline] sh 05:46:21 + cat /w/workspace/xfoundry_device-modbus-go_PR-505/archives/cost.csv 05:46:21 + cut -d, -f6 [Pipeline] lock 05:46:22 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-505-1-stack-cost] 05:46:22 Resource [jenkins-edgexfoundry-device-modbus-go-PR-505-1-stack-cost] did not exist. Created. 05:46:22 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-505-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:46:22 + echo total: 0.2199999988079071 [Pipeline] stash 05:46:22 Stashed 1 file(s) [Pipeline] } 05:46:23 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-505-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:46:23 $ docker stop --time=1 5e58fb654ac6ec85be144f33c01439e74935b52774dff753292e6b84930c11f1 05:46:24 $ docker rm -f --volumes 5e58fb654ac6ec85be144f33c01439e74935b52774dff753292e6b84930c11f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:46:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7793 in /w/workspace/xfoundry_device-modbus-go_PR-505 [Pipeline] { [Pipeline] ws 05:46:26 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:46:26 Selected Git installation does not exist. Using Default 05:46:26 The recommended git tool is: NONE 05:46:31 using credential edgex-jenkins-ssh 05:46:31 Cloning the remote Git repository 05:46:31 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:46:31 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:46:31 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:46:31 > git --version # timeout=10 05:46:31 > git --version # 'git version 2.25.1' 05:46:31 using GIT_SSH to set credentials SSH Credentials for GitHub 05:46:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:46:34 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:46:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:46:34 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:46:35 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:46:35 using GIT_SSH to set credentials SSH Credentials for GitHub 05:46:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/505/head:refs/remotes/origin/PR-505 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:46:35 Merging remotes/origin/main commit 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e into PR head commit 97e5d59619a97e0ea732da14c8df92277a3df7aa 05:46:35 Merge succeeded, producing 97e5d59619a97e0ea732da14c8df92277a3df7aa 05:46:35 Checking out Revision 97e5d59619a97e0ea732da14c8df92277a3df7aa (PR-505) 05:46:36 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:46:36 > git --version # timeout=10 05:46:36 > git --version # 'git version 2.25.1' 05:46:36 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 05:46:35 > git config core.sparsecheckout # timeout=10 05:46:35 > git checkout -f 97e5d59619a97e0ea732da14c8df92277a3df7aa # timeout=10 05:46:35 > git remote # timeout=10 05:46:35 > git config --get remote.origin.url # timeout=10 05:46:35 using GIT_SSH to set credentials SSH Credentials for GitHub 05:46:35 > git merge 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e # timeout=10 05:46:35 > git rev-parse HEAD^{commit} # timeout=10 05:46:35 > git config core.sparsecheckout # timeout=10 05:46:35 > git checkout -f 97e5d59619a97e0ea732da14c8df92277a3df7aa # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:46:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:46:37 % Total % Received % Xferd Average Speed Time Time Time Current 05:46:37 Dload Upload Total Spent Left Speed 05:46:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 05:46:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:46:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:46:38 + sudo tee /etc/docker/daemon.new 05:46:38 { 05:46:38 "registry-mirrors": [ 05:46:38 "https://nexus3.edgexfoundry.org:10001" 05:46:38 ], 05:46:38 "bip": "10.250.0.254/24", 05:46:38 "hosts": [ 05:46:38 "tcp://0.0.0.0:5555", 05:46:38 "unix:///var/run/docker.sock" 05:46:38 ], 05:46:38 "mtu": 1458, 05:46:38 "selinux-enabled": true, 05:46:38 "seccomp-profile": "/etc/docker/seccomp.json" 05:46:38 } [Pipeline] sh 05:46:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:46:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:46:57 provisioning config files... 05:46:57 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config5210960664652539744tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:46:57 ---> docker-login.sh 05:46:57 nexus3.edgexfoundry.org:10001 05:46:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:58 Configure a credential helper to remove this warning. See 05:46:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:58 05:46:58 Login Succeeded 05:46:58 nexus3.edgexfoundry.org:10002 05:46:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:58 Configure a credential helper to remove this warning. See 05:46:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:58 05:46:58 Login Succeeded 05:46:58 nexus3.edgexfoundry.org:10003 05:46:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:59 Configure a credential helper to remove this warning. See 05:46:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:59 05:46:59 Login Succeeded 05:46:59 nexus3.edgexfoundry.org:10004 05:46:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:59 Configure a credential helper to remove this warning. See 05:46:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:59 05:46:59 Login Succeeded 05:46:59 docker.io 05:46:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:00 Configure a credential helper to remove this warning. See 05:47:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:00 05:47:00 Login Succeeded 05:47:00 ---> docker-login.sh ends [Pipeline] } 05:47:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:47:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:47:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:47:00 ========================================================= 05:47:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:47:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:01 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:47:02 Sending build context to Docker daemon 3.369MB 05:47:02 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:47:02 Step 2/10 : FROM ${BASE} AS builder 05:47:02 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:47:02 9fda8d8052c6: Pulling fs layer 05:47:02 5d54e960e981: Pulling fs layer 05:47:02 c4a7e357bf2a: Pulling fs layer 05:47:02 f0e02332f6b5: Pulling fs layer 05:47:02 cefa15bbcfad: Pulling fs layer 05:47:02 17808c966233: Pulling fs layer 05:47:02 f4c1fc716caa: Pulling fs layer 05:47:02 f0e02332f6b5: Waiting 05:47:02 cefa15bbcfad: Waiting 05:47:02 17808c966233: Waiting 05:47:02 f4c1fc716caa: Waiting 05:47:02 5d54e960e981: Download complete 05:47:02 f0e02332f6b5: Download complete 05:47:02 cefa15bbcfad: Verifying Checksum 05:47:02 cefa15bbcfad: Download complete 05:47:02 9fda8d8052c6: Download complete 05:47:03 f4c1fc716caa: Verifying Checksum 05:47:03 f4c1fc716caa: Download complete 05:47:03 9fda8d8052c6: Pull complete 05:47:04 5d54e960e981: Pull complete 05:47:04 c4a7e357bf2a: Verifying Checksum 05:47:04 c4a7e357bf2a: Download complete 05:47:05 17808c966233: Verifying Checksum 05:47:05 17808c966233: Download complete 05:47:15 c4a7e357bf2a: Pull complete 05:47:15 f0e02332f6b5: Pull complete 05:47:16 cefa15bbcfad: Pull complete 05:47:22 17808c966233: Pull complete 05:47:24 f4c1fc716caa: Pull complete 05:47:24 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 05:47:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:47:24 ---> ea914061e18c 05:47:24 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:47:26 ---> Running in 3726d096cdf1 05:47:26 Removing intermediate container 3726d096cdf1 05:47:26 ---> 4a0770eca2b0 05:47:26 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:47:26 ---> Running in 7b22c888cb93 05:47:26 Removing intermediate container 7b22c888cb93 05:47:26 ---> 522054d8f2bb 05:47:26 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:47:26 ---> Running in 7e5c496bb667 05:47:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:47:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:47:29 (1/8) Installing openssh-keygen (9.3_p2-r0) 05:47:29 (2/8) Installing libedit (20221030.3.1-r1) 05:47:29 (3/8) Installing openssh-client-common (9.3_p2-r0) 05:47:29 (4/8) Installing openssh-client-default (9.3_p2-r0) 05:47:29 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 05:47:29 (6/8) Installing openssh-server-common (9.3_p2-r0) 05:47:29 (7/8) Installing openssh-server (9.3_p2-r0) 05:47:29 (8/8) Installing openssh (9.3_p2-r0) 05:47:29 Executing busybox-1.36.1-r2.trigger 05:47:29 OK: 272 MiB in 60 packages 05:47:30 Removing intermediate container 7e5c496bb667 05:47:30 ---> 5291eeb20519 05:47:30 Step 6/10 : WORKDIR /device-modbus-go 05:47:30 ---> Running in 31fcc24a68f6 05:47:30 Removing intermediate container 31fcc24a68f6 05:47:30 ---> a242108976a2 05:47:30 Step 7/10 : COPY go.mod vendor* ./ 05:47:31 ---> dc394038de61 05:47:31 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:47:31 ---> Running in bf9206406576 05:48:39 Removing intermediate container bf9206406576 05:48:39 ---> 01493ad84052 05:48:39 Step 9/10 : COPY . . 05:48:39 ---> 26e3bc369487 05:48:39 Step 10/10 : RUN ${MAKE} 05:48:39 ---> Running in f6951358e561 05:48:39 noop 05:48:39 Removing intermediate container f6951358e561 05:48:39 ---> 88f952b1f31e 05:48:39 Successfully built 88f952b1f31e 05:48:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:39 + docker inspect -f . ci-base-image-arm64 05:48:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:48:39 prd-ubuntu20.04-docker-arm64-4c-16g-7793 does not seem to be running inside a container 05:48:39 $ 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 ******** ci-base-image-arm64 cat 05:48:41 $ docker top 83d8a112c2f49f61d42a8e8f685a68366e3050b4e16eb2ff9f101e1f5b6e1dff -eo pid,comm [Pipeline] { [Pipeline] sh 05:48:41 + go version 05:48:41 go version go1.21.0 linux/arm64 [Pipeline] } 05:48:42 $ docker stop --time=1 83d8a112c2f49f61d42a8e8f685a68366e3050b4e16eb2ff9f101e1f5b6e1dff 05:48:43 $ docker rm -f --volumes 83d8a112c2f49f61d42a8e8f685a68366e3050b4e16eb2ff9f101e1f5b6e1dff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:44 + docker inspect -f . ci-base-image-arm64 05:48:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:48:44 prd-ubuntu20.04-docker-arm64-4c-16g-7793 does not seem to be running inside a container 05:48:44 $ 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 ******** ci-base-image-arm64 cat 05:48:45 $ docker top 5176fbd76848d9891e99e047ea399cb7458dfd36bb98e08036bacc8745e7c8cd -eo pid,comm [Pipeline] { [Pipeline] sh 05:48:46 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:48:46 + make test 05:48:46 go test ./... -coverprofile=coverage.out 05:48:55 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:50:16 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:50:37 Cannot contact prd-ubuntu20.04-docker-arm64-4c-16g-7793: java.lang.InterruptedException 05:50:53 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.057s coverage: 47.9% of statements 05:50:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:50:53 go vet ./... 05:50:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:50:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:50:53 ./bin/test-attribution-txt.sh [Pipeline] echo 05:51:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:51:03 $ docker stop --time=1 5176fbd76848d9891e99e047ea399cb7458dfd36bb98e08036bacc8745e7c8cd 05:51:06 $ docker rm -f --volumes 5176fbd76848d9891e99e047ea399cb7458dfd36bb98e08036bacc8745e7c8cd [Pipeline] // withDockerContainer [Pipeline] sh 05:51:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:51:07 Warning: overwriting stash ‘coverage-report’ 05:51:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:51:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:51:09 + ls -al . 05:51:09 total 188 05:51:09 drwxrwxr-x 9 jenkins jenkins 4096 Sep 25 05:48 . 05:51:09 drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 05:46 .. 05:51:09 -rw-rw-r-- 1 jenkins jenkins 140 Sep 25 05:46 .dockerignore 05:51:09 drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 05:46 .git 05:51:09 drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 05:46 .github 05:51:09 -rw-rw-r-- 1 jenkins jenkins 331 Sep 25 05:46 .gitignore 05:51:09 -rw-rw-r-- 1 jenkins jenkins 41 Sep 25 05:46 .golangci.yml 05:51:09 -rw-rw-r-- 1 jenkins jenkins 11101 Sep 25 05:46 Attribution.txt 05:51:09 -rw-rw-r-- 1 jenkins jenkins 14764 Sep 25 05:46 CHANGELOG.md 05:51:09 -rw-rw-r-- 1 jenkins jenkins 1365 Sep 25 05:46 Dockerfile 05:51:09 -rw-rw-r-- 1 jenkins jenkins 677 Sep 25 05:46 GOVERNANCE.md 05:51:09 -rw-rw-r-- 1 jenkins jenkins 680 Sep 25 05:46 Jenkinsfile 05:51:09 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 25 05:46 LICENSE 05:51:09 -rw-rw-r-- 1 jenkins jenkins 1936 Sep 25 05:46 Makefile 05:51:09 -rw-rw-r-- 1 jenkins jenkins 622 Sep 25 05:46 OWNERS.md 05:51:09 -rw-rw-r-- 1 jenkins jenkins 4578 Sep 25 05:46 README.md 05:51:09 -rw-rw-r-- 1 jenkins jenkins 5 Sep 25 05:44 VERSION 05:51:09 drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 05:46 bin 05:51:09 drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 05:46 cmd 05:51:09 -rw-r--r-- 1 jenkins jenkins 24334 Sep 25 05:50 coverage.out 05:51:09 -rw-rw-r-- 1 jenkins jenkins 3941 Sep 25 05:46 go.mod 05:51:09 -rw-rw-r-- 1 jenkins jenkins 35965 Sep 25 05:46 go.sum 05:51:09 drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 05:46 internal 05:51:09 drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 05:46 simulator 05:51:09 drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 05:46 snap 05:51:09 -rw-rw-r-- 1 jenkins jenkins 229 Sep 25 05:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:09 + 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=97e5d59619a97e0ea732da14c8df92277a3df7aa --label arch=arm64 --label version=0.0.0 . 05:51:10 Sending build context to Docker daemon 3.395MB 05:51:10 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 05:51:10 Step 2/22 : FROM ${BASE} AS builder 05:51:10 ---> 88f952b1f31e 05:51:10 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:51:10 ---> Running in 62c9adb88c77 05:51:10 Removing intermediate container 62c9adb88c77 05:51:10 ---> bb56262326bd 05:51:10 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:51:11 ---> Running in 97d606045e03 05:51:12 Removing intermediate container 97d606045e03 05:51:12 ---> 6c76f1fd3379 05:51:12 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:51:12 ---> Running in ab099292cc26 05:51:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:51:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:51:17 OK: 272 MiB in 60 packages 05:51:18 Removing intermediate container ab099292cc26 05:51:18 ---> a0bc7da9918d 05:51:18 Step 6/22 : WORKDIR /device-modbus-go 05:51:18 ---> Running in 211f74150d0f 05:51:18 Removing intermediate container 211f74150d0f 05:51:18 ---> 9efcd3163f69 05:51:18 Step 7/22 : COPY go.mod vendor* ./ 05:51:19 ---> a7917497622c 05:51:19 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:51:19 ---> Running in ef256e4e9330 05:51:22 Removing intermediate container ef256e4e9330 05:51:22 ---> 3d10e3987bc8 05:51:22 Step 9/22 : COPY . . 05:51:22 ---> 99df3c14d4c7 05:51:22 Step 10/22 : RUN ${MAKE} 05:51:22 ---> Running in 91b547791d83 05:51:23 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.30" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:53:15 Removing intermediate container 91b547791d83 05:53:15 ---> eb7f5dec7986 05:53:15 Step 11/22 : FROM alpine:3.18 05:53:15 3.18: Pulling from library/alpine 05:53:15 9fda8d8052c6: Already exists 05:53:15 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 05:53:15 Status: Downloaded newer image for alpine:3.18 05:53:15 ---> f6648c04cd6c 05:53:15 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:53:15 ---> Running in 58b72c9d1702 05:53:15 Removing intermediate container 58b72c9d1702 05:53:15 ---> 4b95b3f8210c 05:53:15 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:53:15 ---> Running in c01c4739f29e 05:53:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:53:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:53:16 (1/1) Installing dumb-init (1.2.5-r2) 05:53:16 Executing busybox-1.36.1-r2.trigger 05:53:16 OK: 8 MiB in 16 packages 05:53:18 Removing intermediate container c01c4739f29e 05:53:18 ---> 71c0185a3ba4 05:53:18 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:53:19 ---> b04bd53e4b88 05:53:19 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:53:19 ---> 6e87a48a2169 05:53:19 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:53:20 ---> 68e6dd343240 05:53:20 Step 17/22 : EXPOSE 59901 05:53:20 ---> Running in 70c2416f8e9b 05:53:20 Removing intermediate container 70c2416f8e9b 05:53:20 ---> 93d5f80d9204 05:53:20 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:53:20 ---> Running in 9e9c58acf8c7 05:53:20 Removing intermediate container 9e9c58acf8c7 05:53:20 ---> b199fb0d134d 05:53:20 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:53:20 ---> Running in 19024ed88aa7 05:53:21 Removing intermediate container 19024ed88aa7 05:53:21 ---> 26a68c67bc06 05:53:21 Step 20/22 : LABEL arch=arm64 05:53:21 ---> Running in 822d8f839628 05:53:21 Removing intermediate container 822d8f839628 05:53:21 ---> 729c9e43d039 05:53:21 Step 21/22 : LABEL git_sha=97e5d59619a97e0ea732da14c8df92277a3df7aa 05:53:21 ---> Running in 1c42a9bfc042 05:53:22 Removing intermediate container 1c42a9bfc042 05:53:22 ---> fd3942a2819a 05:53:22 Step 22/22 : LABEL version=0.0.0 05:53:22 ---> Running in 1c616c7a6ab0 05:53:22 Removing intermediate container 1c616c7a6ab0 05:53:22 ---> 30f929683caf 05:53:22 [Warning] One or more build-args [ARCH] were not consumed 05:53:22 Successfully built 30f929683caf 05:53:22 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 05:53:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:53:23 05:53:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:53:23 arm64: Pulling from edgex-lftools-log-publisher 05:53:23 8998bd30e6a1: Pulling fs layer 05:53:23 04944245beec: Pulling fs layer 05:53:23 699f458cf7ca: Pulling fs layer 05:53:23 765212b225bb: Pulling fs layer 05:53:23 f23df028b6ca: Pulling fs layer 05:53:23 d65c8cfc05b1: Pulling fs layer 05:53:23 2437ff75d9bd: Pulling fs layer 05:53:23 765212b225bb: Waiting 05:53:23 f23df028b6ca: Waiting 05:53:23 d65c8cfc05b1: Waiting 05:53:23 2437ff75d9bd: Waiting 05:53:23 04944245beec: Verifying Checksum 05:53:23 04944245beec: Download complete 05:53:23 765212b225bb: Verifying Checksum 05:53:23 765212b225bb: Download complete 05:53:23 f23df028b6ca: Verifying Checksum 05:53:23 f23df028b6ca: Download complete 05:53:23 d65c8cfc05b1: Verifying Checksum 05:53:23 d65c8cfc05b1: Download complete 05:53:23 699f458cf7ca: Verifying Checksum 05:53:23 699f458cf7ca: Download complete 05:53:24 8998bd30e6a1: Verifying Checksum 05:53:24 8998bd30e6a1: Download complete 05:53:26 2437ff75d9bd: Verifying Checksum 05:53:26 2437ff75d9bd: Download complete 05:53:28 8998bd30e6a1: Pull complete 05:53:28 04944245beec: Pull complete 05:53:33 699f458cf7ca: Pull complete 05:53:33 765212b225bb: Pull complete 05:53:34 f23df028b6ca: Pull complete 05:53:34 d65c8cfc05b1: Pull complete 05:53:49 2437ff75d9bd: Pull complete 05:53:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:53:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:53:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:53:50 prd-ubuntu20.04-docker-arm64-4c-16g-7793 does not seem to be running inside a container 05:53:50 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:53:52 $ docker top fe8ae9082fe572743f0e74b15856ce26765ee97f9398f5a8019d727978b44dfe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:53 ---> job-cost.sh 05:53:53 lf-activate-venv: SKIPPING 05:53:53 INFO: No Stack... 05:53:53 INFO: Retrieving Pricing Info for: v3-standard-4 05:53:54 INFO: Archiving Costs [Pipeline] sh 05:53:54 + cut -d, -f6 05:53:54 + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 05:53:55 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-505-1-stack-cost] 05:53:55 Resource [jenkins-edgexfoundry-device-modbus-go-PR-505-1-stack-cost] did not exist. Created. 05:53:55 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-505-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:53:55 /w/workspace/device-modbus-go/1@tmp/durable-eec960af/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:53:56 + echo total: 0.10999999940395355 [Pipeline] stash 05:53:56 Warning: overwriting stash ‘stack-cost’ 05:53:56 Stashed 1 file(s) [Pipeline] } 05:53:56 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-505-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:53:56 $ docker stop --time=1 fe8ae9082fe572743f0e74b15856ce26765ee97f9398f5a8019d727978b44dfe 05:53:57 $ docker rm -f --volumes fe8ae9082fe572743f0e74b15856ce26765ee97f9398f5a8019d727978b44dfe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:53:58 provisioning config files... 05:53:58 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-505@tmp/config16261276879260261607tmp [Pipeline] { [Pipeline] sh 05:53:59 + set +x 05:53:59 + curl -s https://codecov.io/bash 05:53:59 + bash -s -- 05:53:59 05:53:59 _____ _ 05:53:59 / ____| | | 05:53:59 | | ___ __| | ___ ___ _____ __ 05:53:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:53:59 | |___| (_) | (_| | __/ (_| (_) \ V / 05:53:59 \_____\___/ \__,_|\___|\___\___/ \_/ 05:53:59 Bash-1.0.6 05:53:59 05:53:59 05:53:59 ==> git version 2.25.1 found 05:53:59 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:53:59 Release-Date: 2020-01-08 05:53:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:53:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:53:59 ==> Jenkins CI detected. 05:53:59 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-505 05:53:59 project root: . 05:53:59 --> token set from env 05:53:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:53:59 ==> Running gcov in . (disable via -X gcov) 05:53:59 ==> Python coveragepy not found 05:53:59 ==> Searching for coverage reports in: 05:53:59 + . 05:53:59 -> Found 1 reports 05:53:59 ==> Detecting git/mercurial file structure 05:53:59 ==> Reading reports 05:53:59 + ./coverage.out bytes=24334 05:53:59 ==> Appending adjustments 05:53:59 https://docs.codecov.io/docs/fixing-reports 05:53:59 + Found adjustments 05:53:59 ==> Gzipping contents 05:53:59 4.0K /tmp/codecov.T6FIBB.gz 05:53:59 ==> Uploading reports 05:53:59 url: https://codecov.io 05:53:59 query: branch=PR-505&commit=97e5d59619a97e0ea732da14c8df92277a3df7aa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-505%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=505&job=&cmd_args= 05:53:59 -> Pinging Codecov 05:53:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-505&commit=97e5d59619a97e0ea732da14c8df92277a3df7aa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-505%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=505&job=&cmd_args= 05:53:59 -> Uploading to 05:53:59 https://storage.googleapis.com/codecov/v4/raw/2023-09-25/55DBCA73C666E3227836607328DD7E49/97e5d59619a97e0ea732da14c8df92277a3df7aa/b2ad7897-0170-48f1-82f9-9d5206eac663.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230925%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230925T055359Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4b8a332fc2dd731c971bb1b589b294bb62f6806d7d83b645ea68b883e32acb9b 05:53:59 % Total % Received % Xferd Average Speed Time Time Time Current 05:53:59 Dload Upload Total Spent Left Speed 05:53:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 18570 --:--:-- --:--:-- --:--:-- 18570 05:53:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/97e5d59619a97e0ea732da14c8df92277a3df7aa [Pipeline] } 05:53:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:54:01 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-505/archives ] 05:54:01 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-505/archives 05:54:01 total 16 05:54:01 drwxr-xr-x 3 root root 4096 Sep 25 05:46 . 05:54:01 drwxrwxr-x 11 jenkins jenkins 4096 Sep 25 05:46 .. 05:54:01 drwxr-xr-x 2 root root 4096 Sep 25 05:46 cost 05:54:01 -rw-r--r-- 1 root root 88 Sep 25 05:46 cost.csv 05:54:01 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-505/archives 05:54:01 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-505/archives 05:54:01 total 16 05:54:01 drwxr-xr-x 3 jenkins jenkins 4096 Sep 25 05:46 . 05:54:01 drwxrwxr-x 11 jenkins jenkins 4096 Sep 25 05:46 .. 05:54:01 drwxr-xr-x 2 jenkins jenkins 4096 Sep 25 05:46 cost 05:54:01 -rw-r--r-- 1 jenkins jenkins 88 Sep 25 05:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:54:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:54:02 ---> package-listing.sh 05:54:02 ++ facter osfamily 05:54:02 ++ tr '[:upper:]' '[:lower:]' 05:54:03 + OS_FAMILY=debian 05:54:03 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-505 05:54:03 + START_PACKAGES=/tmp/packages_start.txt 05:54:03 + END_PACKAGES=/tmp/packages_end.txt 05:54:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:54:03 + PACKAGES=/tmp/packages_start.txt 05:54:03 + '[' /w/workspace/xfoundry_device-modbus-go_PR-505 ']' 05:54:03 + PACKAGES=/tmp/packages_end.txt 05:54:03 + case "${OS_FAMILY}" in 05:54:03 + dpkg -l 05:54:03 + grep '^ii' 05:54:03 + '[' -f /tmp/packages_start.txt ']' 05:54:03 + '[' -f /tmp/packages_end.txt ']' 05:54:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:54:03 + '[' /w/workspace/xfoundry_device-modbus-go_PR-505 ']' 05:54:03 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-505/archives/ 05:54:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-505/archives/ [Pipeline] echo 05:54:03 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-505/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:54:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:54:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:54:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:54:04 prd-ubuntu20.04-docker-8c-8g-7792 does not seem to be running inside a container 05:54:04 $ 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-505/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-505 -v /w/workspace/xfoundry_device-modbus-go_PR-505:/w/workspace/xfoundry_device-modbus-go_PR-505:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-505@tmp:/w/workspace/xfoundry_device-modbus-go_PR-505@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:54:04 $ docker top 31e9d90417275b61a69642ad2b46d6f38b43abd0a95e630983df6dfe90a2e7d3 -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:05 + touch /tmp/pre-build-complete [Pipeline] sh 05:54:05 + mkdir -p /var/log/sysstat [Pipeline] sh 05:54:05 + ls /var/log/sa-host 05:54:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:54:05 provisioning config files... 05:54:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-505@tmp/config10322235571712566177tmp [Pipeline] { [Pipeline] echo 05:54:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:54:06 ---> create-netrc.sh [Pipeline] } 05:54:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:54:06 ---> python-tools-install.sh [Pipeline] echo 05:54:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:54:07 ---> sudo-logs.sh 05:54:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:54:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:54:07 ---> job-cost.sh 05:54:07 lf-activate-venv: SKIPPING 05:54:07 DEBUG: total: 0.2199999988079071 05:54:07 INFO: Retrieving Stack Cost... 05:54:08 INFO: Retrieving Pricing Info for: v3-standard-8 05:54:08 INFO: Archiving Costs [Pipeline] echo 05:54:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:54:08 ---> logs-deploy.sh 05:54:08 lf-activate-venv: SKIPPING 05:54:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-505/1 05:54:08 INFO: archiving workspace using pattern(s): 05:54:09 Archives upload complete. 05:54:09 INFO: archiving logs to Nexus