Pull request #542 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 748d517d61d02300be3db613aa8a0ff3e58d4433+6a31340a17bb85717be07a58e1963d28cb67ceec (782ecf7697966f5a1128fb225dfadc839c98a892) 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-ssh4429312804227941381.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh18329800277566429055.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-542/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-542/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh653858902222206596.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-542/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11912312874929431600.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh6013410888372721824.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-542/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-542/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5958947977705311892.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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] ========================================================= [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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5125 in /w/workspace/xfoundry_device-modbus-go_PR-542 [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-542 # 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 6a31340a17bb85717be07a58e1963d28cb67ceec into PR head commit 748d517d61d02300be3db613aa8a0ff3e58d4433 Merge succeeded, producing 748d517d61d02300be3db613aa8a0ff3e58d4433 Checking out Revision 748d517d61d02300be3db613aa8a0ff3e58d4433 (PR-542) Commit message: "build(deps): Bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > 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/542/head:refs/remotes/origin/PR-542 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 748d517d61d02300be3db613aa8a0ff3e58d4433 # 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 6a31340a17bb85717be07a58e1963d28cb67ceec # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 748d517d61d02300be3db613aa8a0ff3e58d4433 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:03:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:03:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:03:21 ========================================================= 23:03:21 EdgeX Global Pipelines Version Info 23:03:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:03:22 ------------------- 23:03:22 stable info: 23:03:22 ------------------- 23:03:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:03:22 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 23:03:22 Message: update stable to v1.0.258 23:03:22 ------------------- 23:03:22 experimental info: 23:03:22 ------------------- 23:03:22 Commited By: **** collab-it+edgex@linuxfoundation.org 23:03:22 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 23:03:22 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:03:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 23:03:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 23:03:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:03:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:03:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:03:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 23:03:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:03:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:03:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:03:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:03:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:03:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 23:03:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:03:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:03:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:03:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:03:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:03:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:03:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:03:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:03:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:03:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:03:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:03:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:03:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:03:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:03:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:03:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-542 [Pipeline] echo 23:03:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-542 [Pipeline] echo 23:03:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-542 [Pipeline] echo 23:03:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 748d517d61d02300be3db613aa8a0ff3e58d4433 [Pipeline] echo 23:03:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 748d517 [Pipeline] echo 23:03:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:03:25 provisioning config files... 23:03:25 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-542@tmp/config1152337314763575975tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:03:26 ---> ****-login.sh 23:03:26 nexus3.edgexfoundry.org:10001 23:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:03:26 Configure a credential helper to remove this warning. See 23:03:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:03:26 23:03:26 Login Succeeded 23:03:26 nexus3.edgexfoundry.org:10002 23:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:03:26 Configure a credential helper to remove this warning. See 23:03:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:03:26 23:03:26 Login Succeeded 23:03:26 nexus3.edgexfoundry.org:10003 23:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:03:26 Configure a credential helper to remove this warning. See 23:03:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:03:26 23:03:26 Login Succeeded 23:03:26 nexus3.edgexfoundry.org:10004 23:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:03:26 Configure a credential helper to remove this warning. See 23:03:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:03:26 23:03:26 Login Succeeded 23:03:26 ****.io 23:03:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:03:27 Configure a credential helper to remove this warning. See 23:03:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:03:27 23:03:27 Login Succeeded 23:03:27 ---> ****-login.sh ends [Pipeline] } 23:03:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:03:27 + git rev-list -1 --merges 748d517d61d02300be3db613aa8a0ff3e58d4433~1..748d517d61d02300be3db613aa8a0ff3e58d4433 [Pipeline] echo 23:03:28 -----------> git rev-list -1 --merges 748d517d61d02300be3db613aa8a0ff3e58d4433~1..748d517d61d02300be3db613aa8a0ff3e58d4433 748d517d61d02300be3db613aa8a0ff3e58d4433 [false] [Pipeline] sh 23:03:28 + git log --format=format:%s -1 748d517d61d02300be3db613aa8a0ff3e58d4433 [Pipeline] echo 23:03:28 ========================================================= 23:03:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:03:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:03:28 + git log --format=format:%s -1 748d517d61d02300be3db613aa8a0ff3e58d4433 [Pipeline] echo 23:03:28 [semverPrep] GIT_COMMIT: 748d517d61d02300be3db613aa8a0ff3e58d4433, Commit Message: build(deps): Bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3 [Pipeline] echo 23:03:28 [semverPrep] This is not a build commit. [Pipeline] sh 23:03:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:03:29 + grep -v github /etc/ssh/ssh_known_hosts 23:03:29 + [ -e /tmp/ssh_known_hosts ] 23:03:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:03:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:03:29 + sudo tee -a /etc/ssh/ssh_known_hosts 23:03:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:03:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:03:29 23:03:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:03:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:03:30 0.1.4: Pulling from edgex-devops/py-git-semver 23:03:30 b85a868b505f: Pulling fs layer 23:03:30 e2be974225ed: Pulling fs layer 23:03:30 339a4e72a1f5: Pulling fs layer 23:03:30 988bab9f4d93: Pulling fs layer 23:03:30 1469e6f7b9e6: Pulling fs layer 23:03:30 eaf3925da568: Pulling fs layer 23:03:30 bab4dde63d76: Pulling fs layer 23:03:30 bde34c3a00c8: Pulling fs layer 23:03:30 b352a97aabf1: Pulling fs layer 23:03:30 4872d77fe225: Pulling fs layer 23:03:30 988bab9f4d93: Waiting 23:03:30 5851b861e8e6: Pulling fs layer 23:03:30 1469e6f7b9e6: Waiting 23:03:30 b352a97aabf1: Waiting 23:03:30 bab4dde63d76: Waiting 23:03:30 4872d77fe225: Waiting 23:03:30 5851b861e8e6: Waiting 23:03:30 bde34c3a00c8: Waiting 23:03:30 e2be974225ed: Download complete 23:03:30 988bab9f4d93: Verifying Checksum 23:03:30 988bab9f4d93: Download complete 23:03:30 1469e6f7b9e6: Verifying Checksum 23:03:30 1469e6f7b9e6: Download complete 23:03:30 eaf3925da568: Verifying Checksum 23:03:30 eaf3925da568: Download complete 23:03:30 339a4e72a1f5: Verifying Checksum 23:03:30 339a4e72a1f5: Download complete 23:03:30 bde34c3a00c8: Verifying Checksum 23:03:30 bde34c3a00c8: Download complete 23:03:30 b352a97aabf1: Download complete 23:03:30 4872d77fe225: Download complete 23:03:30 5851b861e8e6: Download complete 23:03:30 b85a868b505f: Verifying Checksum 23:03:30 b85a868b505f: Download complete 23:03:30 bab4dde63d76: Verifying Checksum 23:03:30 bab4dde63d76: Download complete 23:03:32 b85a868b505f: Pull complete 23:03:32 e2be974225ed: Pull complete 23:03:32 339a4e72a1f5: Pull complete 23:03:32 988bab9f4d93: Pull complete 23:03:32 1469e6f7b9e6: Pull complete 23:03:32 eaf3925da568: Pull complete 23:03:34 bab4dde63d76: Pull complete 23:03:34 bde34c3a00c8: Pull complete 23:03:34 b352a97aabf1: Pull complete 23:03:34 4872d77fe225: Pull complete 23:03:34 5851b861e8e6: Pull complete 23:03:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:03:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:03:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:03:35 prd-ubuntu20.04-docker-8c-8g-5125 does not seem to be running inside a container 23:03:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-542 -v /w/workspace/xfoundry_device-modbus-go_PR-542:/w/workspace/xfoundry_device-modbus-go_PR-542:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-542@tmp:/w/workspace/xfoundry_device-modbus-go_PR-542@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 23:03:46 $ docker top ceebb7b813ad371c3111141a5e01db1b5ebc5d16d93b6d14861e6b87cb2acf62 -eo pid,comm 23:03:46 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). 23:03:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:03:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:03:46 [ssh-agent] Looking for ssh-agent implementation... 23:03:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:03:46 $ docker exec ceebb7b813ad371c3111141a5e01db1b5ebc5d16d93b6d14861e6b87cb2acf62 ssh-agent 23:03:46 SSH_AUTH_SOCK=/tmp/ssh-z6QryLWKe19c/agent.32 23:03:46 SSH_AGENT_PID=38 23:03:46 Running ssh-add (command line suppressed) 23:03:46 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-542@tmp/private_key_9313229148694818606.key (/w/workspace/xfoundry_device-modbus-go_PR-542@tmp/private_key_9313229148694818606.key) 23:03:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:03:47 + git tag --points-at HEAD [Pipeline] } 23:03:47 $ docker exec --env ******** --env ******** ceebb7b813ad371c3111141a5e01db1b5ebc5d16d93b6d14861e6b87cb2acf62 ssh-agent -k 23:03:47 unset SSH_AUTH_SOCK; 23:03:47 unset SSH_AGENT_PID; 23:03:47 echo Agent pid 38 killed; 23:03:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:03:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:03:47 [ssh-agent] Looking for ssh-agent implementation... 23:03:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:03:47 $ docker exec ceebb7b813ad371c3111141a5e01db1b5ebc5d16d93b6d14861e6b87cb2acf62 ssh-agent 23:03:47 SSH_AUTH_SOCK=/tmp/ssh-kKplyEMge526/agent.70 23:03:47 SSH_AGENT_PID=76 23:03:47 Running ssh-add (command line suppressed) 23:03:47 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-542@tmp/private_key_14382036757134099689.key (/w/workspace/xfoundry_device-modbus-go_PR-542@tmp/private_key_14382036757134099689.key) 23:03:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:03:48 + git semver init 23:03:48 2024-03-07 23:03:48,470 [run_init] DEBUG init version:0.0.0 force:False 23:03:48 2024-03-07 23:03:48,471 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-542/.semver 23:03:48 2024-03-07 23:03:48,472 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-542/.semver 23:03:48 2024-03-07 23:03:48,472 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-542/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-542, universal_newlines=False, shell=None, istream=None) 23:03:49 2024-03-07 23:03:49,787 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-542/.git/info/exclude 23:03:49 2024-03-07 23:03:49,788 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-542/.semver/PR-542 with force:False 23:03:49 2024-03-07 23:03:49,788 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-542/.semver/PR-542 23:03:49 2024-03-07 23:03:49,793 [execute] INFO git cat-file --batch-check 23:03:49 2024-03-07 23:03:49,793 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-542/.semver, universal_newlines=False, shell=None, istream=) 23:03:49 2024-03-07 23:03:49,799 [execute] INFO git cat-file --batch 23:03:49 2024-03-07 23:03:49,799 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-542/.semver, universal_newlines=False, shell=None, istream=) 23:03:49 2024-03-07 23:03:49,805 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-542/.semver/PR-542 23:03:49 0.0.0 [Pipeline] } 23:03:49 $ docker exec --env ******** --env ******** ceebb7b813ad371c3111141a5e01db1b5ebc5d16d93b6d14861e6b87cb2acf62 ssh-agent -k 23:03:50 unset SSH_AUTH_SOCK; 23:03:50 unset SSH_AGENT_PID; 23:03:50 echo Agent pid 76 killed; 23:03:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:03:50 + git semver [Pipeline] } 23:03:50 $ docker stop --time=1 ceebb7b813ad371c3111141a5e01db1b5ebc5d16d93b6d14861e6b87cb2acf62 23:03:52 $ docker rm -f --volumes ceebb7b813ad371c3111141a5e01db1b5ebc5d16d93b6d14861e6b87cb2acf62 [Pipeline] // withDockerContainer [Pipeline] sh 23:03:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:03:53 Stashed 1 file(s) [Pipeline] echo 23:03:53 [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 23:03:55 provisioning config files... 23:03:55 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-542@tmp/config5659462173880312659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:03:57 ---> ****-login.sh 23:03:57 nexus3.edgexfoundry.org:10001 23:03:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:03:57 Configure a credential helper to remove this warning. See 23:03:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:03:57 23:03:57 Login Succeeded 23:03:57 nexus3.edgexfoundry.org:10002 23:03:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:03:57 Configure a credential helper to remove this warning. See 23:03:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:03:57 23:03:57 Login Succeeded 23:03:57 nexus3.edgexfoundry.org:10003 23:03:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:03:57 Configure a credential helper to remove this warning. See 23:03:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:03:57 23:03:57 Login Succeeded 23:03:57 nexus3.edgexfoundry.org:10004 23:03:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:03:57 Configure a credential helper to remove this warning. See 23:03:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:03:57 23:03:57 Login Succeeded 23:03:57 ****.io 23:03:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:03:57 Configure a credential helper to remove this warning. See 23:03:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:03:57 23:03:57 Login Succeeded 23:03:57 ---> ****-login.sh ends [Pipeline] } 23:03:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:03:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:03:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:03:58 ========================================================= 23:03:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 23:03:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:03:58 + 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 . 23:03:58 Sending build context to Docker daemon 17.29MB 23:03:58 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 23:03:58 Step 2/10 : FROM ${BASE} AS builder 23:03:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 23:03:58 7264a8db6415: Pulling fs layer 23:03:58 c4d48a809fc2: Pulling fs layer 23:03:58 4f1c88b9dad5: Pulling fs layer 23:03:58 ad3a456e5733: Pulling fs layer 23:03:58 69c7f0334f64: Pulling fs layer 23:03:58 1f1c1a5573a3: Pulling fs layer 23:03:58 ce7588e14bc9: Pulling fs layer 23:03:58 b5e4710f87ac: Pulling fs layer 23:03:58 ad3a456e5733: Waiting 23:03:58 69c7f0334f64: Waiting 23:03:58 1f1c1a5573a3: Waiting 23:03:58 ce7588e14bc9: Waiting 23:03:58 b5e4710f87ac: Waiting 23:03:58 c4d48a809fc2: Verifying Checksum 23:03:58 c4d48a809fc2: Download complete 23:03:58 ad3a456e5733: Verifying Checksum 23:03:58 ad3a456e5733: Download complete 23:03:58 69c7f0334f64: Verifying Checksum 23:03:58 69c7f0334f64: Download complete 23:03:58 7264a8db6415: Verifying Checksum 23:03:58 7264a8db6415: Download complete 23:03:58 1f1c1a5573a3: Verifying Checksum 23:03:58 1f1c1a5573a3: Download complete 23:03:59 7264a8db6415: Pull complete 23:03:59 b5e4710f87ac: Verifying Checksum 23:03:59 b5e4710f87ac: Download complete 23:03:59 c4d48a809fc2: Pull complete 23:03:59 4f1c88b9dad5: Verifying Checksum 23:03:59 4f1c88b9dad5: Download complete 23:03:59 ce7588e14bc9: Verifying Checksum 23:03:59 ce7588e14bc9: Download complete 23:04:02 4f1c88b9dad5: Pull complete 23:04:02 ad3a456e5733: Pull complete 23:04:02 69c7f0334f64: Pull complete 23:04:02 1f1c1a5573a3: Pull complete 23:04:05 ce7588e14bc9: Pull complete 23:04:05 b5e4710f87ac: Pull complete 23:04:05 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 23:04:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 23:04:05 ---> 88b5674ff536 23:04:05 Step 3/10 : ARG ADD_BUILD_TAGS="" 23:04:09 Still waiting to schedule task 23:04:09 ‘prd-centos7-blackbox-4c-2g-2059’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 23:04:09 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5126’ is offline 23:04:31 ---> Running in ea339f70e1d0 23:04:31 Removing intermediate container ea339f70e1d0 23:04:31 ---> 4eb7c99c8866 23:04:31 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:04:31 ---> Running in c7fe3295f38e 23:04:31 Removing intermediate container c7fe3295f38e 23:04:31 ---> 2b2a6e38c0ce 23:04:31 Step 5/10 : RUN apk add --update --no-cache make git openssh 23:04:31 ---> Running in a7784077d423 23:04:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:04:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:04:31 (1/8) Installing openssh-keygen (9.3_p2-r1) 23:04:31 (2/8) Installing libedit (20221030.3.1-r1) 23:04:31 (3/8) Installing openssh-client-common (9.3_p2-r1) 23:04:31 (4/8) Installing openssh-client-default (9.3_p2-r1) 23:04:31 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 23:04:31 (6/8) Installing openssh-server-common (9.3_p2-r1) 23:04:31 (7/8) Installing openssh-server (9.3_p2-r1) 23:04:31 (8/8) Installing openssh (9.3_p2-r1) 23:04:31 Executing busybox-1.36.1-r5.trigger 23:04:31 OK: 270 MiB in 60 packages 23:04:32 Removing intermediate container a7784077d423 23:04:32 ---> 86d0393e3a40 23:04:32 Step 6/10 : WORKDIR /device-modbus-go 23:04:32 ---> Running in fca45b682d39 23:04:33 Removing intermediate container fca45b682d39 23:04:33 ---> 7f52e67594e8 23:04:33 Step 7/10 : COPY go.mod vendor* ./ 23:04:33 ---> ea1775e5842f 23:04:33 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:04:33 ---> Running in 3184f2e5b86c 23:05:41 Removing intermediate container 3184f2e5b86c 23:05:41 ---> 630c00e39ca2 23:05:41 Step 9/10 : COPY . . 23:05:41 ---> 19cb743092d4 23:05:41 Step 10/10 : RUN ${MAKE} 23:05:41 ---> Running in 9535895c6ee5 23:05:41 noop 23:05:41 Removing intermediate container 9535895c6ee5 23:05:41 ---> 7c063ad6cf5d 23:05:41 Successfully built 7c063ad6cf5d 23:05:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:41 + docker inspect -f . ci-base-image-x86_64 23:05:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:05:41 prd-ubuntu20.04-docker-8c-8g-5125 does not seem to be running inside a container 23:05:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-542 -v /w/workspace/xfoundry_device-modbus-go_PR-542:/w/workspace/xfoundry_device-modbus-go_PR-542:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-542@tmp:/w/workspace/xfoundry_device-modbus-go_PR-542@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 23:05:42 $ docker top 56c5279312502d32204252aa9a60a29665622d32c5049d688a25c459c62d4937 -eo pid,comm [Pipeline] { [Pipeline] sh 23:05:42 + go version 23:05:42 go version go1.21.0 linux/amd64 [Pipeline] } 23:05:42 $ docker stop --time=1 56c5279312502d32204252aa9a60a29665622d32c5049d688a25c459c62d4937 23:05:43 $ docker rm -f --volumes 56c5279312502d32204252aa9a60a29665622d32c5049d688a25c459c62d4937 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:44 + docker inspect -f . ci-base-image-x86_64 23:05:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:05:45 prd-ubuntu20.04-docker-8c-8g-5125 does not seem to be running inside a container 23:05:45 $ 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-542 -v /w/workspace/xfoundry_device-modbus-go_PR-542:/w/workspace/xfoundry_device-modbus-go_PR-542:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-542@tmp:/w/workspace/xfoundry_device-modbus-go_PR-542@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 23:05:45 $ docker top 8d7e5d2951fa7e04073ee5356e33f0bfe9167e66402cdffb5a61c87c132b4294 -eo pid,comm [Pipeline] { [Pipeline] sh 23:05:45 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-542 [Pipeline] fileExists [Pipeline] sh 23:05:46 + make test 23:05:46 go test ./... -coverprofile=coverage.out 23:05:48 ? github.com/edgexfoundry/device-modbus-go [no test files] 23:05:58 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 23:05:58 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.9% of statements 23:06:03 go vet ./... 23:06:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:06:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:06:06 ./bin/test-attribution-txt.sh 23:06:06 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 23:06:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 23:06:06 $ docker stop --time=1 8d7e5d2951fa7e04073ee5356e33f0bfe9167e66402cdffb5a61c87c132b4294 23:06:12 $ docker rm -f --volumes 8d7e5d2951fa7e04073ee5356e33f0bfe9167e66402cdffb5a61c87c132b4294 [Pipeline] // withDockerContainer [Pipeline] sh 23:06:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:06:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:06:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:06:19 + ls -al . 23:06:19 total 192 23:06:19 drwxrwxr-x 9 jenkins jenkins 4096 Mar 7 23:05 . 23:06:19 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 23:03 .. 23:06:19 -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 23:03 .dockerignore 23:06:19 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 23:05 .git 23:06:19 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:03 .github 23:06:19 -rw-rw-r-- 1 jenkins jenkins 266 Mar 7 23:03 .gitignore 23:06:19 -rw-rw-r-- 1 jenkins jenkins 41 Mar 7 23:03 .golangci.yml 23:06:19 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 23:03 .semver 23:06:19 -rw-rw-r-- 1 jenkins jenkins 11101 Mar 7 23:03 Attribution.txt 23:06:19 -rw-rw-r-- 1 jenkins jenkins 16388 Mar 7 23:03 CHANGELOG.md 23:06:19 -rw-rw-r-- 1 jenkins jenkins 1474 Mar 7 23:03 Dockerfile 23:06:19 -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 23:03 GOVERNANCE.md 23:06:19 -rw-rw-r-- 1 jenkins jenkins 658 Mar 7 23:03 Jenkinsfile 23:06:19 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 7 23:03 LICENSE 23:06:19 -rw-rw-r-- 1 jenkins jenkins 1942 Mar 7 23:03 Makefile 23:06:19 -rw-rw-r-- 1 jenkins jenkins 622 Mar 7 23:03 OWNERS.md 23:06:19 -rw-rw-r-- 1 jenkins jenkins 4463 Mar 7 23:03 README.md 23:06:19 -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 23:03 VERSION 23:06:19 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 23:03 bin 23:06:19 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:03 cmd 23:06:19 -rw-r--r-- 1 jenkins jenkins 24334 Mar 7 23:05 coverage.out 23:06:19 -rw-rw-r-- 1 jenkins jenkins 3986 Mar 7 23:03 go.mod 23:06:19 -rw-rw-r-- 1 jenkins jenkins 36556 Mar 7 23:03 go.sum 23:06:19 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:03 internal 23:06:19 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 23:03 simulator 23:06:19 -rw-rw-r-- 1 jenkins jenkins 229 Mar 7 23:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:20 + 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=748d517d61d02300be3db613aa8a0ff3e58d4433 --label arch=amd64 --label version=0.0.0 . 23:06:20 Sending build context to Docker daemon 17.32MB 23:06:20 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 23:06:20 Step 2/23 : FROM ${BASE} AS builder 23:06:20 ---> 7c063ad6cf5d 23:06:20 Step 3/23 : ARG ADD_BUILD_TAGS="" 23:06:21 ---> Running in 22afda97e5cb 23:06:21 Removing intermediate container 22afda97e5cb 23:06:21 ---> 7826493c575e 23:06:21 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:06:21 ---> Running in 69d4619e5463 23:06:21 Removing intermediate container 69d4619e5463 23:06:21 ---> 8f965dc4d691 23:06:21 Step 5/23 : RUN apk add --update --no-cache make git openssh 23:06:21 ---> Running in cf07055c9974 23:06:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:06:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:06:22 OK: 270 MiB in 60 packages 23:06:24 Removing intermediate container cf07055c9974 23:06:24 ---> e5bd2cc2e2fe 23:06:24 Step 6/23 : WORKDIR /device-modbus-go 23:06:24 ---> Running in 104250102ae0 23:06:24 Removing intermediate container 104250102ae0 23:06:24 ---> d882a5f0c43b 23:06:24 Step 7/23 : COPY go.mod vendor* ./ 23:06:24 ---> f858e79b8908 23:06:24 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:06:25 ---> Running in 6b153cee6872 23:06:25 Removing intermediate container 6b153cee6872 23:06:25 ---> 29edf0b4f883 23:06:25 Step 9/23 : COPY . . 23:06:27 ---> 8d50fb3fa8f8 23:06:27 Step 10/23 : RUN ${MAKE} 23:06:27 ---> Running in b1f33148ebde 23:06:27 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.9" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 23:06:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5134 in /w/workspace/xfoundry_device-modbus-go_PR-542 [Pipeline] { [Pipeline] ws 23:06:44 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 23:06:44 Selected Git installation does not exist. Using Default 23:06:44 The recommended git tool is: NONE 23:06:54 using credential edgex-jenkins-ssh 23:06:55 Cloning the remote Git repository 23:06:55 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 23:06:55 > git init /w/workspace/device-modbus-go/1 # timeout=10 23:06:55 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 23:06:55 > git --version # timeout=10 23:06:55 > git --version # 'git version 2.25.1' 23:06:55 using GIT_SSH to set credentials SSH Credentials for GitHub 23:06:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:06:57 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 23:06:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:06:59 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 23:06:59 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 23:06:59 using GIT_SSH to set credentials SSH Credentials for GitHub 23:06:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/542/head:refs/remotes/origin/PR-542 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:07:00 Merging remotes/origin/main commit 6a31340a17bb85717be07a58e1963d28cb67ceec into PR head commit 748d517d61d02300be3db613aa8a0ff3e58d4433 23:07:01 Merge succeeded, producing 748d517d61d02300be3db613aa8a0ff3e58d4433 23:07:01 Checking out Revision 748d517d61d02300be3db613aa8a0ff3e58d4433 (PR-542) 23:07:01 Commit message: "build(deps): Bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3" 23:07:00 > git config core.sparsecheckout # timeout=10 23:07:00 > git checkout -f 748d517d61d02300be3db613aa8a0ff3e58d4433 # timeout=10 23:07:01 > git remote # timeout=10 23:07:01 > git config --get remote.origin.url # timeout=10 23:07:01 using GIT_SSH to set credentials SSH Credentials for GitHub 23:07:01 > git merge 6a31340a17bb85717be07a58e1963d28cb67ceec # timeout=10 23:07:01 > git rev-parse HEAD^{commit} # timeout=10 23:07:01 > git config core.sparsecheckout # timeout=10 23:07:01 > git checkout -f 748d517d61d02300be3db613aa8a0ff3e58d4433 # timeout=10 23:07:01 > git --version # timeout=10 23:07:01 > git --version # 'git version 2.25.1' 23:07:01 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 23:07:02 Removing intermediate container b1f33148ebde 23:07:02 ---> 23ef81737a4d 23:07:02 Step 11/23 : FROM alpine:3.18 23:07:02 3.18: Pulling from library/alpine 23:07:02 619be1103602: Pulling fs layer 23:07:02 619be1103602: Verifying Checksum 23:07:02 619be1103602: Download complete 23:07:02 619be1103602: Pull complete 23:07:02 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 23:07:02 Status: Downloaded newer image for alpine:3.18 23:07:02 ---> d3782b16ccc9 23:07:02 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 23:07:02 ---> Running in e321030a2579 23:07:02 Removing intermediate container e321030a2579 23:07:02 ---> 34f0b9aa7196 23:07:02 Step 13/23 : RUN apk add --update --no-cache dumb-init 23:07:02 ---> Running in 75d5c6730321 23:07:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:07:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:07:02 (1/1) Installing dumb-init (1.2.5-r2) 23:07:02 Executing busybox-1.36.1-r5.trigger 23:07:02 OK: 7 MiB in 16 packages 23:07:02 Removing intermediate container 75d5c6730321 23:07:02 ---> 6020c7358bfd 23:07:02 Step 14/23 : RUN apk --no-cache upgrade 23:07:02 ---> Running in aca95da86b10 23:07:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:07:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:07:02 OK: 7 MiB in 16 packages 23:07:02 Removing intermediate container aca95da86b10 23:07:02 ---> 018d287aa413 23:07:02 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:07:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:07:03 % Total % Received % Xferd Average Speed Time Time Time Current 23:07:03 Dload Upload Total Spent Left Speed 23:07:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 184k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh 23:07:03 ---> 47c81f9483aa 23:07:03 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 23:07:03 ---> fa99f4e02318 23:07:03 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 23:07:03 ---> d4cd2ba9edad 23:07:03 Step 18/23 : EXPOSE 59901 23:07:03 ---> Running in 20393884779d 23:07:03 Removing intermediate container 20393884779d 23:07:03 ---> 5916fa3a4fba 23:07:03 Step 19/23 : ENTRYPOINT ["/device-modbus"] 23:07:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:07:03 ---> Running in ad28c8052b8c 23:07:03 Removing intermediate container ad28c8052b8c 23:07:03 ---> 54ad2288f37e 23:07:03 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:07:03 ---> Running in 53ad2315bf2c 23:07:03 Removing intermediate container 53ad2315bf2c 23:07:03 ---> ed160adeebd6 23:07:03 Step 21/23 : LABEL arch=amd64 23:07:03 ---> Running in 8d978549b225 23:07:04 Removing intermediate container 8d978549b225 23:07:04 ---> 1b69cc34ed21 23:07:04 Step 22/23 : LABEL git_sha=748d517d61d02300be3db613aa8a0ff3e58d4433 23:07:04 ---> Running in f818650d7f5d 23:07:04 Removing intermediate container f818650d7f5d 23:07:04 ---> 380d4a258e8e 23:07:04 Step 23/23 : LABEL version=0.0.0 23:07:04 ---> Running in 5873fd3a202d 23:07:04 Removing intermediate container 5873fd3a202d 23:07:04 ---> b55afee3d309 23:07:04 [Warning] One or more build-args [ARCH] were not consumed 23:07:04 Successfully built b55afee3d309 23:07:04 Successfully tagged device-modbus:latest 23:07:04 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 23:07:04 /etc/docker/daemon.json 23:07:04 { 23:07:04 "registry-mirrors": [ 23:07:04 "https://nexus3.edgexfoundry.org:10001" 23:07:04 ], 23:07:04 "bip": "10.250.0.254/24", 23:07:04 "hosts": [ 23:07:04 "tcp://0.0.0.0:5555", 23:07:04 "unix:///var/run/docker.sock" 23:07:04 ], 23:07:04 "mtu": 1458, 23:07:04 "selinux-enabled": true, 23:07:04 "seccomp-profile": "/etc/docker/seccomp.json" 23:07:04 } [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 23:07:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) 23:07:05 + sudo service docker restart Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:07:06 23:07:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:07:06 latest: Pulling from edgex-lftools-log-publisher 23:07:06 5eb5b503b376: Pulling fs layer 23:07:06 5c69ac0246d0: Pulling fs layer 23:07:06 ec43610c2a17: Pulling fs layer 23:07:06 3a2ae6a8a46f: Pulling fs layer 23:07:06 33b1e0a273af: Pulling fs layer 23:07:06 5d3b04190fa2: Pulling fs layer 23:07:06 2f39f015ded8: Pulling fs layer 23:07:06 3a2ae6a8a46f: Waiting 23:07:06 33b1e0a273af: Waiting 23:07:06 5d3b04190fa2: Waiting 23:07:06 2f39f015ded8: Waiting 23:07:06 5c69ac0246d0: Verifying Checksum 23:07:06 5c69ac0246d0: Download complete 23:07:06 3a2ae6a8a46f: Download complete 23:07:06 33b1e0a273af: Verifying Checksum 23:07:06 33b1e0a273af: Download complete 23:07:06 5d3b04190fa2: Verifying Checksum 23:07:06 5d3b04190fa2: Download complete 23:07:06 ec43610c2a17: Verifying Checksum 23:07:06 ec43610c2a17: Download complete 23:07:07 5eb5b503b376: Verifying Checksum 23:07:07 5eb5b503b376: Download complete 23:07:07 2f39f015ded8: Download complete 23:07:07 5eb5b503b376: Pull complete 23:07:08 5c69ac0246d0: Pull complete 23:07:08 ec43610c2a17: Pull complete 23:07:08 3a2ae6a8a46f: Pull complete 23:07:08 33b1e0a273af: Pull complete 23:07:08 5d3b04190fa2: Pull complete 23:07:13 2f39f015ded8: Pull complete 23:07:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:07:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:07:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:07:18 prd-ubuntu20.04-docker-8c-8g-5125 does not seem to be running inside a container 23:07:18 $ 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-542 -v /w/workspace/xfoundry_device-modbus-go_PR-542:/w/workspace/xfoundry_device-modbus-go_PR-542:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-542@tmp:/w/workspace/xfoundry_device-modbus-go_PR-542@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 23:07:39 $ docker top 7f62bd3d13bcbf8ebb83659653839aa647184b55fdfc3b2ab0d608be3f34fb9e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 23:07:39 provisioning config files... 23:07:39 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config10848763279043532748tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:07:39 ---> job-cost.sh 23:07:39 lf-activate-venv: SKIPPING 23:07:39 INFO: No Stack... 23:07:40 INFO: Retrieving Pricing Info for: v3-standard-8 23:07:40 ---> ****-login.sh 23:07:40 nexus3.edgexfoundry.org:10001 23:07:40 INFO: Archiving Costs [Pipeline] sh 23:07:40 + cat /w/workspace/xfoundry_device-modbus-go_PR-542/archives/cost.csv 23:07:40 + cut -d, -f6 [Pipeline] lock 23:07:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:07:40 Configure a credential helper to remove this warning. See 23:07:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:07:40 23:07:40 Login Succeeded 23:07:40 nexus3.edgexfoundry.org:10002 23:07:40 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-542-1-stack-cost] 23:07:40 Resource [jenkins-edgexfoundry-device-modbus-go-PR-542-1-stack-cost] did not exist. Created. 23:07:40 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-542-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:07:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:41 + echo total: 0.2199999988079071 [Pipeline] stash 23:07:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:07:41 Configure a credential helper to remove this warning. See 23:07:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:07:41 23:07:41 Login Succeeded 23:07:41 nexus3.edgexfoundry.org:10003 23:07:41 Stashed 1 file(s) [Pipeline] } 23:07:41 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-542-1-stack-cost] [Pipeline] // lock 23:07:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:07:41 Configure a credential helper to remove this warning. See 23:07:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:07:41 23:07:41 Login Succeeded 23:07:41 nexus3.edgexfoundry.org:10004 [Pipeline] } 23:07:41 $ docker stop --time=1 7f62bd3d13bcbf8ebb83659653839aa647184b55fdfc3b2ab0d608be3f34fb9e 23:07:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:07:41 Configure a credential helper to remove this warning. See 23:07:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:07:41 23:07:41 Login Succeeded 23:07:41 ****.io 23:07:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:07:42 Configure a credential helper to remove this warning. See 23:07:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:07:42 23:07:42 Login Succeeded 23:07:42 ---> ****-login.sh ends 23:07:43 $ docker rm -f --volumes 7f62bd3d13bcbf8ebb83659653839aa647184b55fdfc3b2ab0d608be3f34fb9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 23:07:43 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 23:07:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:07:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:07:44 ========================================================= 23:07:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 23:07:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:45 + 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 . 23:07:45 Sending build context to Docker daemon 8.774MB 23:07:45 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 23:07:45 Step 2/10 : FROM ${BASE} AS builder 23:07:45 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:07:45 9fda8d8052c6: Pulling fs layer 23:07:45 5d54e960e981: Pulling fs layer 23:07:45 c4a7e357bf2a: Pulling fs layer 23:07:45 f0e02332f6b5: Pulling fs layer 23:07:45 872ee5b61b7b: Pulling fs layer 23:07:45 0c6a40ed1a82: Pulling fs layer 23:07:45 94ae7d8d031c: Pulling fs layer 23:07:45 f0e02332f6b5: Waiting 23:07:45 872ee5b61b7b: Waiting 23:07:45 0c6a40ed1a82: Waiting 23:07:45 94ae7d8d031c: Waiting 23:07:45 5d54e960e981: Verifying Checksum 23:07:45 5d54e960e981: Download complete 23:07:46 f0e02332f6b5: Verifying Checksum 23:07:46 f0e02332f6b5: Download complete 23:07:46 872ee5b61b7b: Verifying Checksum 23:07:46 872ee5b61b7b: Download complete 23:07:46 9fda8d8052c6: Download complete 23:07:46 94ae7d8d031c: Verifying Checksum 23:07:46 94ae7d8d031c: Download complete 23:07:46 9fda8d8052c6: Pull complete 23:07:47 5d54e960e981: Pull complete 23:07:47 c4a7e357bf2a: Verifying Checksum 23:07:47 c4a7e357bf2a: Download complete 23:07:49 0c6a40ed1a82: Verifying Checksum 23:07:49 0c6a40ed1a82: Download complete 23:08:01 c4a7e357bf2a: Pull complete 23:08:01 f0e02332f6b5: Pull complete 23:08:01 872ee5b61b7b: Pull complete 23:08:10 0c6a40ed1a82: Pull complete 23:08:12 94ae7d8d031c: Pull complete 23:08:12 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 23:08:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 23:08:12 ---> 86de565de09d 23:08:12 Step 3/10 : ARG ADD_BUILD_TAGS="" 23:08:14 ---> Running in 41c09bff2cd3 23:08:14 Removing intermediate container 41c09bff2cd3 23:08:14 ---> 9880081f91c3 23:08:14 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:08:15 ---> Running in 11f92fb865b4 23:08:15 Removing intermediate container 11f92fb865b4 23:08:15 ---> e0dc86726d52 23:08:15 Step 5/10 : RUN apk add --update --no-cache make git openssh 23:08:15 ---> Running in 33c235d47c43 23:08:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:08:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:08:18 (1/8) Installing openssh-keygen (9.3_p2-r1) 23:08:18 (2/8) Installing libedit (20221030.3.1-r1) 23:08:18 (3/8) Installing openssh-client-common (9.3_p2-r1) 23:08:18 (4/8) Installing openssh-client-default (9.3_p2-r1) 23:08:18 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 23:08:19 (6/8) Installing openssh-server-common (9.3_p2-r1) 23:08:19 (7/8) Installing openssh-server (9.3_p2-r1) 23:08:19 (8/8) Installing openssh (9.3_p2-r1) 23:08:19 Executing busybox-1.36.1-r5.trigger 23:08:19 OK: 272 MiB in 60 packages 23:08:20 Removing intermediate container 33c235d47c43 23:08:20 ---> 52af52aeee79 23:08:20 Step 6/10 : WORKDIR /device-modbus-go 23:08:20 ---> Running in ae04058bec1c 23:08:21 Removing intermediate container ae04058bec1c 23:08:21 ---> 091843137c4b 23:08:21 Step 7/10 : COPY go.mod vendor* ./ 23:08:21 ---> 1886f7b0d0a0 23:08:21 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:08:21 ---> Running in d98a5a09fad1 23:09:30 Removing intermediate container d98a5a09fad1 23:09:30 ---> 7d0ef0d78bcf 23:09:30 Step 9/10 : COPY . . 23:09:30 ---> c94bf822e8af 23:09:30 Step 10/10 : RUN ${MAKE} 23:09:30 ---> Running in c83574c4935b 23:09:30 noop 23:09:31 Removing intermediate container c83574c4935b 23:09:31 ---> 7f2e4db1c7f5 23:09:31 Successfully built 7f2e4db1c7f5 23:09:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:32 + docker inspect -f . ci-base-image-arm64 23:09:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:32 prd-ubuntu20.04-docker-arm64-4c-16g-5134 does not seem to be running inside a container 23:09:32 $ 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 23:09:34 $ docker top 580d5f73a6a156c99c56b56caf54e993bf7d90d76957a298754158a7305cd69a -eo pid,comm [Pipeline] { [Pipeline] sh 23:09:35 + go version 23:09:35 go version go1.21.0 linux/arm64 [Pipeline] } 23:09:35 $ docker stop --time=1 580d5f73a6a156c99c56b56caf54e993bf7d90d76957a298754158a7305cd69a 23:09:37 $ docker rm -f --volumes 580d5f73a6a156c99c56b56caf54e993bf7d90d76957a298754158a7305cd69a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:38 + docker inspect -f . ci-base-image-arm64 23:09:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:39 prd-ubuntu20.04-docker-arm64-4c-16g-5134 does not seem to be running inside a container 23:09:39 $ 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 23:09:40 $ docker top 07f26455292e42c31d1a84a9d876ecf21ec7631e75f9882e3a0f63915e927d10 -eo pid,comm [Pipeline] { [Pipeline] sh 23:09:41 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 23:09:42 + make test 23:09:42 go test ./... -coverprofile=coverage.out 23:09:46 ? github.com/edgexfoundry/device-modbus-go [no test files] 23:12:08 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 23:12:08 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.090s coverage: 47.9% of statements 23:12:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:12:08 go vet ./... 23:12:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:12:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:12:41 ./bin/test-attribution-txt.sh 23:12:41 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 23:12:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 23:12:41 $ docker stop --time=1 07f26455292e42c31d1a84a9d876ecf21ec7631e75f9882e3a0f63915e927d10 23:12:43 $ docker rm -f --volumes 07f26455292e42c31d1a84a9d876ecf21ec7631e75f9882e3a0f63915e927d10 [Pipeline] // withDockerContainer [Pipeline] sh 23:12:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:12:45 Warning: overwriting stash ‘coverage-report’ 23:12:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:12:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:12:47 + ls -al . 23:12:47 total 188 23:12:47 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 23:09 . 23:12:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 23:06 .. 23:12:47 -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 23:07 .dockerignore 23:12:47 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 23:07 .git 23:12:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:07 .github 23:12:47 -rw-rw-r-- 1 jenkins jenkins 266 Mar 7 23:07 .gitignore 23:12:47 -rw-rw-r-- 1 jenkins jenkins 41 Mar 7 23:07 .golangci.yml 23:12:47 -rw-rw-r-- 1 jenkins jenkins 11101 Mar 7 23:07 Attribution.txt 23:12:47 -rw-rw-r-- 1 jenkins jenkins 16388 Mar 7 23:07 CHANGELOG.md 23:12:47 -rw-rw-r-- 1 jenkins jenkins 1474 Mar 7 23:07 Dockerfile 23:12:47 -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 23:07 GOVERNANCE.md 23:12:47 -rw-rw-r-- 1 jenkins jenkins 658 Mar 7 23:07 Jenkinsfile 23:12:47 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 7 23:07 LICENSE 23:12:47 -rw-rw-r-- 1 jenkins jenkins 1942 Mar 7 23:07 Makefile 23:12:47 -rw-rw-r-- 1 jenkins jenkins 622 Mar 7 23:07 OWNERS.md 23:12:47 -rw-rw-r-- 1 jenkins jenkins 4463 Mar 7 23:07 README.md 23:12:47 -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 23:03 VERSION 23:12:47 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 23:07 bin 23:12:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:07 cmd 23:12:47 -rw-r--r-- 1 jenkins jenkins 24334 Mar 7 23:12 coverage.out 23:12:47 -rw-rw-r-- 1 jenkins jenkins 3986 Mar 7 23:07 go.mod 23:12:47 -rw-rw-r-- 1 jenkins jenkins 36556 Mar 7 23:07 go.sum 23:12:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:07 internal 23:12:47 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 23:07 simulator 23:12:47 -rw-rw-r-- 1 jenkins jenkins 229 Mar 7 23:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:47 + 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=748d517d61d02300be3db613aa8a0ff3e58d4433 --label arch=arm64 --label version=0.0.0 . 23:12:48 Sending build context to Docker daemon 8.799MB 23:12:48 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 23:12:48 Step 2/23 : FROM ${BASE} AS builder 23:12:48 ---> 7f2e4db1c7f5 23:12:48 Step 3/23 : ARG ADD_BUILD_TAGS="" 23:12:48 ---> Running in 53eedac16e6d 23:12:48 Removing intermediate container 53eedac16e6d 23:12:48 ---> 15a79a0f23cc 23:12:48 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:12:48 ---> Running in a90e564e954e 23:12:49 Removing intermediate container a90e564e954e 23:12:49 ---> 814e74e14e1d 23:12:49 Step 5/23 : RUN apk add --update --no-cache make git openssh 23:12:49 ---> Running in cd709aaeb165 23:12:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:12:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:12:52 OK: 272 MiB in 60 packages 23:12:54 Removing intermediate container cd709aaeb165 23:12:54 ---> ebf0c81c8995 23:12:54 Step 6/23 : WORKDIR /device-modbus-go 23:12:54 ---> Running in 3a247a66553d 23:12:54 Removing intermediate container 3a247a66553d 23:12:54 ---> 81cd584b0b3a 23:12:54 Step 7/23 : COPY go.mod vendor* ./ 23:12:55 ---> 2fce6f1ababb 23:12:55 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:12:55 ---> Running in 66d4b1fa013e 23:12:57 Removing intermediate container 66d4b1fa013e 23:12:57 ---> 87a1e8d3a773 23:12:57 Step 9/23 : COPY . . 23:12:59 ---> 7805bfc4627c 23:12:59 Step 10/23 : RUN ${MAKE} 23:12:59 ---> Running in d063439b7916 23:13:00 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.9" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 23:15:37 Removing intermediate container d063439b7916 23:15:37 ---> cdecf411c63c 23:15:37 Step 11/23 : FROM alpine:3.18 23:15:37 3.18: Pulling from library/alpine 23:15:37 c6b39de5b339: Pulling fs layer 23:15:37 c6b39de5b339: Verifying Checksum 23:15:37 c6b39de5b339: Download complete 23:15:37 c6b39de5b339: Pull complete 23:15:37 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 23:15:37 Status: Downloaded newer image for alpine:3.18 23:15:37 ---> 33abbf032149 23:15:37 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 23:15:37 ---> Running in b10bdaf63c91 23:15:37 Removing intermediate container b10bdaf63c91 23:15:37 ---> 743a72057b68 23:15:37 Step 13/23 : RUN apk add --update --no-cache dumb-init 23:15:37 ---> Running in ea0bc7198037 23:15:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:15:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:15:37 (1/1) Installing dumb-init (1.2.5-r2) 23:15:37 Executing busybox-1.36.1-r5.trigger 23:15:37 OK: 8 MiB in 16 packages 23:15:37 Removing intermediate container ea0bc7198037 23:15:37 ---> 95d02ed28be9 23:15:37 Step 14/23 : RUN apk --no-cache upgrade 23:15:37 ---> Running in 5c462c31aac0 23:15:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:15:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:15:37 OK: 8 MiB in 16 packages 23:15:37 Removing intermediate container 5c462c31aac0 23:15:37 ---> c3d75243d29d 23:15:37 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 23:15:37 ---> 1b870fd9eb16 23:15:37 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 23:15:38 ---> 7ea44e8b1649 23:15:38 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 23:15:39 ---> ee70bf49a1e1 23:15:39 Step 18/23 : EXPOSE 59901 23:15:39 ---> Running in 48d6ee75e697 23:15:39 Removing intermediate container 48d6ee75e697 23:15:39 ---> 50e8e1f170d3 23:15:39 Step 19/23 : ENTRYPOINT ["/device-modbus"] 23:15:39 ---> Running in 81a2b3a6f09e 23:15:40 Removing intermediate container 81a2b3a6f09e 23:15:40 ---> c9dbb141b965 23:15:40 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:15:40 ---> Running in 42f03d5727f4 23:15:40 Removing intermediate container 42f03d5727f4 23:15:40 ---> 3f69765758e2 23:15:40 Step 21/23 : LABEL arch=arm64 23:15:40 ---> Running in 1c5f4f9c1868 23:15:41 Removing intermediate container 1c5f4f9c1868 23:15:41 ---> 41248468f1ea 23:15:41 Step 22/23 : LABEL git_sha=748d517d61d02300be3db613aa8a0ff3e58d4433 23:15:41 ---> Running in fd0237afa0b9 23:15:41 Removing intermediate container fd0237afa0b9 23:15:41 ---> db76bb019ea3 23:15:41 Step 23/23 : LABEL version=0.0.0 23:15:41 ---> Running in fb7e7b7becc1 23:15:42 Removing intermediate container fb7e7b7becc1 23:15:42 ---> de81dc0238df 23:15:42 [Warning] One or more build-args [ARCH] were not consumed 23:15:42 Successfully built de81dc0238df 23:15:42 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 23:15:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:15:43 23:15:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:15:44 arm64: Pulling from edgex-lftools-log-publisher 23:15:44 8998bd30e6a1: Pulling fs layer 23:15:44 04944245beec: Pulling fs layer 23:15:44 699f458cf7ca: Pulling fs layer 23:15:44 765212b225bb: Pulling fs layer 23:15:44 f23df028b6ca: Pulling fs layer 23:15:44 d65c8cfc05b1: Pulling fs layer 23:15:44 2437ff75d9bd: Pulling fs layer 23:15:44 d65c8cfc05b1: Waiting 23:15:44 2437ff75d9bd: Waiting 23:15:44 f23df028b6ca: Waiting 23:15:44 765212b225bb: Waiting 23:15:44 04944245beec: Verifying Checksum 23:15:44 04944245beec: Download complete 23:15:44 765212b225bb: Verifying Checksum 23:15:44 765212b225bb: Download complete 23:15:44 f23df028b6ca: Verifying Checksum 23:15:44 f23df028b6ca: Download complete 23:15:44 d65c8cfc05b1: Verifying Checksum 23:15:44 d65c8cfc05b1: Download complete 23:15:44 699f458cf7ca: Verifying Checksum 23:15:44 699f458cf7ca: Download complete 23:15:45 8998bd30e6a1: Verifying Checksum 23:15:45 8998bd30e6a1: Download complete 23:15:47 2437ff75d9bd: Verifying Checksum 23:15:47 2437ff75d9bd: Download complete 23:15:50 8998bd30e6a1: Pull complete 23:15:50 04944245beec: Pull complete 23:15:52 699f458cf7ca: Pull complete 23:15:52 765212b225bb: Pull complete 23:15:54 f23df028b6ca: Pull complete 23:15:54 d65c8cfc05b1: Pull complete 23:16:12 2437ff75d9bd: Pull complete 23:16:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:16:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:16:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:16:35 prd-ubuntu20.04-docker-arm64-4c-16g-5134 does not seem to be running inside a container 23:16:35 $ 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 23:16:37 $ docker top 405df8f62a14eb535842c564c55e8e211fb8602e64fbda1c5602ffa0d8c966e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:16:38 ---> job-cost.sh 23:16:38 lf-activate-venv: SKIPPING 23:16:38 INFO: No Stack... 23:16:39 INFO: Retrieving Pricing Info for: v3-standard-4 23:16:40 INFO: Archiving Costs [Pipeline] sh 23:16:40 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 23:16:40 + cut -d, -f6 [Pipeline] lock 23:16:41 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-542-1-stack-cost] 23:16:41 Resource [jenkins-edgexfoundry-device-modbus-go-PR-542-1-stack-cost] did not exist. Created. 23:16:41 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-542-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:16:41 /w/workspace/device-modbus-go/1@tmp/durable-eb44bcfa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:16:42 + echo total: 0.10999999940395355 [Pipeline] stash 23:16:42 Warning: overwriting stash ‘stack-cost’ 23:16:42 Stashed 1 file(s) [Pipeline] } 23:16:42 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-542-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:16:42 $ docker stop --time=1 405df8f62a14eb535842c564c55e8e211fb8602e64fbda1c5602ffa0d8c966e5 23:16:44 $ docker rm -f --volumes 405df8f62a14eb535842c564c55e8e211fb8602e64fbda1c5602ffa0d8c966e5 [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 23:16:46 provisioning config files... 23:16:46 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-542@tmp/config5256931312020928034tmp [Pipeline] { [Pipeline] sh 23:16:47 + set +x 23:16:47 + curl -s https://codecov.io/bash 23:16:47 + bash -s -- 23:16:47 23:16:47 _____ _ 23:16:47 / ____| | | 23:16:47 | | ___ __| | ___ ___ _____ __ 23:16:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:16:47 | |___| (_) | (_| | __/ (_| (_) \ V / 23:16:47 \_____\___/ \__,_|\___|\___\___/ \_/ 23:16:47 Bash-1.0.6 23:16:47 23:16:47 23:16:47 ==> git version 2.25.1 found 23:16:47 ==> 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 23:16:47 Release-Date: 2020-01-08 23:16:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:16:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:16:47 ==> Jenkins CI detected. 23:16:47 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-542 23:16:47 project root: . 23:16:47 --> token set from env 23:16:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:16:47 ==> Running gcov in . (disable via -X gcov) 23:16:47 ==> Python coveragepy not found 23:16:47 ==> Searching for coverage reports in: 23:16:47 + . 23:16:47 -> Found 1 reports 23:16:47 ==> Detecting git/mercurial file structure 23:16:47 ==> Reading reports 23:16:47 + ./coverage.out bytes=24334 23:16:47 ==> Appending adjustments 23:16:47 https://docs.codecov.io/docs/fixing-reports 23:16:47 + Found adjustments 23:16:47 ==> Gzipping contents 23:16:47 4.0K /tmp/codecov.1WpcKb.gz 23:16:47 ==> Uploading reports 23:16:47 url: https://codecov.io 23:16:47 query: branch=PR-542&commit=748d517d61d02300be3db613aa8a0ff3e58d4433&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-542%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=542&job=&cmd_args= 23:16:47 -> Pinging Codecov 23:16:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-542&commit=748d517d61d02300be3db613aa8a0ff3e58d4433&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-542%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=542&job=&cmd_args= 23:16:47 -> Uploading to 23:16:47 https://storage.googleapis.com/codecov/v4/raw/2024-03-07/55DBCA73C666E3227836607328DD7E49/748d517d61d02300be3db613aa8a0ff3e58d4433/da5d9400-406a-4f99-a2e2-01852501e0ab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240307T231647Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d815d8e0084601d70051eac1bc7498de04849e420c82f430619e0d7eff16e885 23:16:47 % Total % Received % Xferd Average Speed Time Time Time Current 23:16:47 Dload Upload Total Spent Left Speed 23:16:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 18656 --:--:-- --:--:-- --:--:-- 18565 100 3806 0 0 100 3806 0 13354 --:--:-- --:--:-- --:--:-- 13307 23:16:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/748d517d61d02300be3db613aa8a0ff3e58d4433 [Pipeline] } 23:16:48 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 23:16:51 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-542/archives ] 23:16:51 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-542/archives 23:16:51 total 16 23:16:51 drwxr-xr-x 3 root root 4096 Mar 7 23:07 . 23:16:51 drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 23:07 .. 23:16:51 drwxr-xr-x 2 root root 4096 Mar 7 23:07 cost 23:16:51 -rw-r--r-- 1 root root 88 Mar 7 23:07 cost.csv 23:16:51 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-542/archives 23:16:51 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-542/archives 23:16:51 total 16 23:16:51 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 23:07 . 23:16:51 drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 23:07 .. 23:16:51 drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 23:07 cost 23:16:51 -rw-r--r-- 1 jenkins jenkins 88 Mar 7 23:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:16:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:16:53 ---> package-listing.sh 23:16:53 ++ facter osfamily 23:16:53 ++ tr '[:upper:]' '[:lower:]' 23:16:53 + OS_FAMILY=debian 23:16:53 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-542 23:16:53 + START_PACKAGES=/tmp/packages_start.txt 23:16:53 + END_PACKAGES=/tmp/packages_end.txt 23:16:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:16:53 + PACKAGES=/tmp/packages_start.txt 23:16:53 + '[' /w/workspace/xfoundry_device-modbus-go_PR-542 ']' 23:16:53 + PACKAGES=/tmp/packages_end.txt 23:16:53 + case "${OS_FAMILY}" in 23:16:53 + dpkg -l 23:16:53 + grep '^ii' 23:16:53 + '[' -f /tmp/packages_start.txt ']' 23:16:53 + '[' -f /tmp/packages_end.txt ']' 23:16:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:16:53 + '[' /w/workspace/xfoundry_device-modbus-go_PR-542 ']' 23:16:53 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-542/archives/ 23:16:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-542/archives/ [Pipeline] echo 23:16:53 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-542/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:16:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:16:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:16:54 prd-ubuntu20.04-docker-8c-8g-5125 does not seem to be running inside a container 23:16:54 $ 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-542/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-542 -v /w/workspace/xfoundry_device-modbus-go_PR-542:/w/workspace/xfoundry_device-modbus-go_PR-542:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-542@tmp:/w/workspace/xfoundry_device-modbus-go_PR-542@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 23:16:54 $ docker top a511c7d76fb9d8b78e2331af3d9a285eaa39c828be2ccc6d73cd7a28b0b99334 -eo pid,comm [Pipeline] { [Pipeline] sh 23:16:55 + touch /tmp/pre-build-complete [Pipeline] sh 23:16:55 + mkdir -p /var/log/sysstat [Pipeline] sh 23:16:55 + ls /var/log/sa-host 23:16:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:16:56 provisioning config files... 23:16:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-542@tmp/config6403200781059373178tmp [Pipeline] { [Pipeline] echo 23:16:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:16:56 ---> create-netrc.sh [Pipeline] } 23:16:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:16:57 ---> python-tools-install.sh [Pipeline] echo 23:16:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:16:57 ---> sudo-logs.sh 23:16:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:16:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:16:58 ---> job-cost.sh 23:16:58 lf-activate-venv: SKIPPING 23:16:58 DEBUG: total: 0.2199999988079071 23:16:58 INFO: Retrieving Stack Cost... 23:16:58 INFO: Retrieving Pricing Info for: v3-standard-8 23:16:58 INFO: Archiving Costs [Pipeline] echo 23:16:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:16:59 ---> logs-deploy.sh 23:16:59 lf-activate-venv: SKIPPING 23:16:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-542/1 23:16:59 INFO: archiving workspace using pattern(s): 23:17:00 Archives upload complete. 23:17:00 INFO: archiving logs to Nexus