Pull request #556 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0+f7c28725686cbfd62f6225fd09367d5909216c89 (1fc821797443cdb509f33719d5a3c85ce409a9f2) 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-ssh9596397580459377086.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh6649333120000926419.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 590556114a56c6d90cc8043840e039c2f74196dc 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-556/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-556/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9577227519129071718.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-556/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18173223798223530831.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh10344833447064614229.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-556/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-556/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh951507271040288281.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 590556114a56c6d90cc8043840e039c2f74196dc 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4710 in /w/workspace/xfoundry_device-modbus-go_PR-556 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-556 # 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 f7c28725686cbfd62f6225fd09367d5909216c89 into PR head commit 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 Merge succeeded, producing 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 Checking out Revision 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 (PR-556) Commit message: "build(deps): Bump github.com/gorilla/schema from 1.2.0 to 1.4.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > 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/556/head:refs/remotes/origin/PR-556 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 # 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 f7c28725686cbfd62f6225fd09367d5909216c89 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:41:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:41:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:41:02 ========================================================= 20:41:02 EdgeX Global Pipelines Version Info 20:41:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:41:02 ------------------- 20:41:02 stable info: 20:41:02 ------------------- 20:41:02 Commited By: Ginny Guan ginny@iotechsys.com 20:41:02 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 20:41:02 Message: update stable to v1.0.260 20:41:03 ------------------- 20:41:03 experimental info: 20:41:03 ------------------- 20:41:03 Commited By: Ginny Guan ginny@iotechsys.com 20:41:03 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 20:41:03 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:41:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 20:41:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 20:41:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:41:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:41:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:41:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:41:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:41:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:41:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:41:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:41:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:41:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 20:41:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:41:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:41:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:41:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:41:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:41:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:41:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:41:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:41:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:41:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:41:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:41:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:41:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:41:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:41:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:41:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-556 [Pipeline] echo 20:41:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-556 [Pipeline] echo 20:41:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-556 [Pipeline] echo 20:41:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 [Pipeline] echo 20:41:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9a5db88 [Pipeline] echo 20:41:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:41:06 provisioning config files... 20:41:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-556@tmp/config11474907635070432044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:41:06 ---> ****-login.sh 20:41:06 nexus3.edgexfoundry.org:10001 20:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:41:07 Configure a credential helper to remove this warning. See 20:41:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:41:07 20:41:07 Login Succeeded 20:41:07 nexus3.edgexfoundry.org:10002 20:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:41:07 Configure a credential helper to remove this warning. See 20:41:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:41:07 20:41:07 Login Succeeded 20:41:07 nexus3.edgexfoundry.org:10003 20:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:41:07 Configure a credential helper to remove this warning. See 20:41:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:41:07 20:41:07 Login Succeeded 20:41:07 nexus3.edgexfoundry.org:10004 20:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:41:07 Configure a credential helper to remove this warning. See 20:41:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:41:07 20:41:07 Login Succeeded 20:41:07 ****.io 20:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:41:08 Configure a credential helper to remove this warning. See 20:41:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:41:08 20:41:08 Login Succeeded 20:41:08 ---> ****-login.sh ends [Pipeline] } 20:41:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:41:08 + git rev-list -1 --merges 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0~1..9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 [Pipeline] echo 20:41:09 -----------> git rev-list -1 --merges 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0~1..9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 [false] [Pipeline] sh 20:41:09 + git log --format=format:%s -1 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 [Pipeline] echo 20:41:09 ========================================================= 20:41:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:41:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:41:09 + git log --format=format:%s -1 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 [Pipeline] echo 20:41:09 [semverPrep] GIT_COMMIT: 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0, Commit Message: build(deps): Bump github.com/gorilla/schema from 1.2.0 to 1.4.1 [Pipeline] echo 20:41:09 [semverPrep] This is not a build commit. [Pipeline] sh 20:41:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:41:10 + grep -v github /etc/ssh/ssh_known_hosts 20:41:10 + [ -e /tmp/ssh_known_hosts ] 20:41:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:41:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:41:10 + sudo tee -a /etc/ssh/ssh_known_hosts 20:41:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:41:10 20:41:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:41:11 0.1.4: Pulling from edgex-devops/py-git-semver 20:41:11 b85a868b505f: Pulling fs layer 20:41:11 e2be974225ed: Pulling fs layer 20:41:11 339a4e72a1f5: Pulling fs layer 20:41:11 988bab9f4d93: Pulling fs layer 20:41:11 1469e6f7b9e6: Pulling fs layer 20:41:11 eaf3925da568: Pulling fs layer 20:41:11 bab4dde63d76: Pulling fs layer 20:41:11 bde34c3a00c8: Pulling fs layer 20:41:11 b352a97aabf1: Pulling fs layer 20:41:11 4872d77fe225: Pulling fs layer 20:41:11 5851b861e8e6: Pulling fs layer 20:41:11 eaf3925da568: Waiting 20:41:11 bab4dde63d76: Waiting 20:41:11 988bab9f4d93: Waiting 20:41:11 bde34c3a00c8: Waiting 20:41:11 1469e6f7b9e6: Waiting 20:41:11 4872d77fe225: Waiting 20:41:11 b352a97aabf1: Waiting 20:41:11 5851b861e8e6: Waiting 20:41:11 e2be974225ed: Verifying Checksum 20:41:11 e2be974225ed: Download complete 20:41:11 988bab9f4d93: Verifying Checksum 20:41:11 988bab9f4d93: Download complete 20:41:11 1469e6f7b9e6: Verifying Checksum 20:41:11 1469e6f7b9e6: Download complete 20:41:11 339a4e72a1f5: Verifying Checksum 20:41:11 339a4e72a1f5: Download complete 20:41:11 eaf3925da568: Download complete 20:41:11 bde34c3a00c8: Verifying Checksum 20:41:11 bde34c3a00c8: Download complete 20:41:11 b352a97aabf1: Verifying Checksum 20:41:11 b352a97aabf1: Download complete 20:41:11 4872d77fe225: Verifying Checksum 20:41:11 4872d77fe225: Download complete 20:41:11 b85a868b505f: Verifying Checksum 20:41:11 b85a868b505f: Download complete 20:41:11 5851b861e8e6: Verifying Checksum 20:41:11 5851b861e8e6: Download complete 20:41:11 bab4dde63d76: Verifying Checksum 20:41:11 bab4dde63d76: Download complete 20:41:12 b85a868b505f: Pull complete 20:41:13 e2be974225ed: Pull complete 20:41:13 339a4e72a1f5: Pull complete 20:41:13 988bab9f4d93: Pull complete 20:41:14 1469e6f7b9e6: Pull complete 20:41:14 eaf3925da568: Pull complete 20:41:16 bab4dde63d76: Pull complete 20:41:16 bde34c3a00c8: Pull complete 20:41:16 b352a97aabf1: Pull complete 20:41:16 4872d77fe225: Pull complete 20:41:17 5851b861e8e6: Pull complete 20:41:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:41:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:41:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:41:17 prd-ubuntu20.04-docker-8c-8g-4710 does not seem to be running inside a container 20:41:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-556 -v /w/workspace/xfoundry_device-modbus-go_PR-556:/w/workspace/xfoundry_device-modbus-go_PR-556:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-556@tmp:/w/workspace/xfoundry_device-modbus-go_PR-556@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 20:41:27 $ docker top 396bd0d360ca26c504c966d6aa906098221be794d91a5b59bb517b11f97a5f56 -eo pid,comm 20:41:27 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). 20:41:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:41:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:41:27 [ssh-agent] Looking for ssh-agent implementation... 20:41:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:41:27 $ docker exec 396bd0d360ca26c504c966d6aa906098221be794d91a5b59bb517b11f97a5f56 ssh-agent 20:41:28 SSH_AUTH_SOCK=/tmp/ssh-SWtcp1vKMirj/agent.14 20:41:28 SSH_AGENT_PID=20 20:41:28 Running ssh-add (command line suppressed) 20:41:28 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-556@tmp/private_key_10192096701802403413.key (/w/workspace/xfoundry_device-modbus-go_PR-556@tmp/private_key_10192096701802403413.key) 20:41:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:41:28 + git tag --points-at HEAD [Pipeline] } 20:41:28 $ docker exec --env ******** --env ******** 396bd0d360ca26c504c966d6aa906098221be794d91a5b59bb517b11f97a5f56 ssh-agent -k 20:41:28 unset SSH_AUTH_SOCK; 20:41:28 unset SSH_AGENT_PID; 20:41:28 echo Agent pid 20 killed; 20:41:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:41:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:41:28 [ssh-agent] Looking for ssh-agent implementation... 20:41:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:41:28 $ docker exec 396bd0d360ca26c504c966d6aa906098221be794d91a5b59bb517b11f97a5f56 ssh-agent 20:41:29 SSH_AUTH_SOCK=/tmp/ssh-6mgz0u9kfW78/agent.72 20:41:29 SSH_AGENT_PID=78 20:41:29 Running ssh-add (command line suppressed) 20:41:29 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-556@tmp/private_key_7744598105034691377.key (/w/workspace/xfoundry_device-modbus-go_PR-556@tmp/private_key_7744598105034691377.key) 20:41:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:41:29 + git semver init 20:41:29 2024-07-01 20:41:29,671 [run_init] DEBUG init version:0.0.0 force:False 20:41:29 2024-07-01 20:41:29,673 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-556/.semver 20:41:29 2024-07-01 20:41:29,673 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-556/.semver 20:41:29 2024-07-01 20:41:29,674 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-556/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-556, universal_newlines=False, shell=None, istream=None) 20:41:31 2024-07-01 20:41:30,838 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-556/.git/info/exclude 20:41:31 2024-07-01 20:41:30,838 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-556/.semver/PR-556 with force:False 20:41:31 2024-07-01 20:41:30,839 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-556/.semver/PR-556 20:41:31 2024-07-01 20:41:30,842 [execute] INFO git cat-file --batch-check 20:41:31 2024-07-01 20:41:30,842 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-556/.semver, universal_newlines=False, shell=None, istream=) 20:41:31 2024-07-01 20:41:30,848 [execute] INFO git cat-file --batch 20:41:31 2024-07-01 20:41:30,848 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-556/.semver, universal_newlines=False, shell=None, istream=) 20:41:31 2024-07-01 20:41:30,852 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-556/.semver/PR-556 20:41:31 0.0.0 [Pipeline] } 20:41:31 $ docker exec --env ******** --env ******** 396bd0d360ca26c504c966d6aa906098221be794d91a5b59bb517b11f97a5f56 ssh-agent -k 20:41:31 unset SSH_AUTH_SOCK; 20:41:31 unset SSH_AGENT_PID; 20:41:31 echo Agent pid 78 killed; 20:41:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:41:31 + git semver [Pipeline] } 20:41:32 $ docker stop --time=1 396bd0d360ca26c504c966d6aa906098221be794d91a5b59bb517b11f97a5f56 20:41:33 $ docker rm -f --volumes 396bd0d360ca26c504c966d6aa906098221be794d91a5b59bb517b11f97a5f56 [Pipeline] // withDockerContainer [Pipeline] sh 20:41:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:41:34 Stashed 1 file(s) [Pipeline] echo 20:41:34 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:41:35 provisioning config files... 20:41:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-556@tmp/config9239590104570230791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:41:35 ---> ****-login.sh 20:41:35 nexus3.edgexfoundry.org:10001 20:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:41:35 Configure a credential helper to remove this warning. See 20:41:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:41:35 20:41:35 Login Succeeded 20:41:35 nexus3.edgexfoundry.org:10002 20:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:41:35 Configure a credential helper to remove this warning. See 20:41:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:41:35 20:41:35 Login Succeeded 20:41:35 nexus3.edgexfoundry.org:10003 20:41:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:41:36 Configure a credential helper to remove this warning. See 20:41:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:41:36 20:41:36 Login Succeeded 20:41:36 nexus3.edgexfoundry.org:10004 20:41:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:41:36 Configure a credential helper to remove this warning. See 20:41:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:41:36 20:41:36 Login Succeeded 20:41:36 ****.io 20:41:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:41:36 Configure a credential helper to remove this warning. See 20:41:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:41:36 20:41:36 Login Succeeded 20:41:36 ---> ****-login.sh ends [Pipeline] } 20:41:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:41:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:41:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:41:36 ========================================================= 20:41:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:41:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:37 + 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 . 20:41:37 Sending build context to Docker daemon 17.82MB 20:41:37 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 20:41:37 Step 2/10 : FROM ${BASE} AS builder 20:41:37 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:41:37 619be1103602: Pulling fs layer 20:41:37 7862e08f4a3e: Pulling fs layer 20:41:37 5df492c9dc93: Pulling fs layer 20:41:37 7629e6793208: Pulling fs layer 20:41:37 4f4fb700ef54: Pulling fs layer 20:41:37 fb5054dd5b73: Pulling fs layer 20:41:37 eeca6798cff9: Pulling fs layer 20:41:37 aa269ceb94a6: Pulling fs layer 20:41:37 ada007ff1a6a: Pulling fs layer 20:41:37 aa269ceb94a6: Waiting 20:41:37 4f4fb700ef54: Waiting 20:41:37 fb5054dd5b73: Waiting 20:41:37 eeca6798cff9: Waiting 20:41:37 ada007ff1a6a: Waiting 20:41:37 7629e6793208: Waiting 20:41:37 7862e08f4a3e: Verifying Checksum 20:41:37 7862e08f4a3e: Download complete 20:41:37 7629e6793208: Verifying Checksum 20:41:37 7629e6793208: Download complete 20:41:37 4f4fb700ef54: Verifying Checksum 20:41:37 4f4fb700ef54: Download complete 20:41:37 619be1103602: Verifying Checksum 20:41:37 619be1103602: Download complete 20:41:37 fb5054dd5b73: Verifying Checksum 20:41:37 fb5054dd5b73: Download complete 20:41:37 eeca6798cff9: Verifying Checksum 20:41:37 eeca6798cff9: Download complete 20:41:37 619be1103602: Pull complete 20:41:37 ada007ff1a6a: Verifying Checksum 20:41:37 ada007ff1a6a: Download complete 20:41:38 7862e08f4a3e: Pull complete 20:41:38 5df492c9dc93: Verifying Checksum 20:41:38 5df492c9dc93: Download complete 20:41:38 aa269ceb94a6: Verifying Checksum 20:41:38 aa269ceb94a6: Download complete 20:41:41 5df492c9dc93: Pull complete 20:41:41 7629e6793208: Pull complete 20:41:41 4f4fb700ef54: Pull complete 20:41:42 fb5054dd5b73: Pull complete 20:41:42 eeca6798cff9: Pull complete 20:41:44 aa269ceb94a6: Pull complete 20:41:45 ada007ff1a6a: Pull complete 20:41:45 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 20:41:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:41:45 ---> f489d0715acc 20:41:45 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:41:50 Still waiting to schedule task 20:41:50 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4709’ 20:41:58 ---> Running in 831d5f264048 20:41:58 Removing intermediate container 831d5f264048 20:41:58 ---> dc47a8f9dbe7 20:41:58 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:41:58 ---> Running in 1d7d9e14208e 20:41:58 Removing intermediate container 1d7d9e14208e 20:41:58 ---> 7584a2a5a7cb 20:41:58 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:41:58 ---> Running in 2203aa1fe6e8 20:41:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:41:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:41:59 (1/8) Installing openssh-keygen (9.3_p2-r1) 20:41:59 (2/8) Installing libedit (20221030.3.1-r1) 20:41:59 (3/8) Installing openssh-client-common (9.3_p2-r1) 20:41:59 (4/8) Installing openssh-client-default (9.3_p2-r1) 20:41:59 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 20:41:59 (6/8) Installing openssh-server-common (9.3_p2-r1) 20:41:59 (7/8) Installing openssh-server (9.3_p2-r1) 20:41:59 (8/8) Installing openssh (9.3_p2-r1) 20:41:59 Executing busybox-1.36.1-r5.trigger 20:41:59 OK: 270 MiB in 60 packages 20:42:00 Removing intermediate container 2203aa1fe6e8 20:42:00 ---> 07e3783a9a55 20:42:00 Step 6/10 : WORKDIR /device-modbus-go 20:42:00 ---> Running in 51c6b0afa178 20:42:01 Removing intermediate container 51c6b0afa178 20:42:01 ---> 63c22b27a9db 20:42:01 Step 7/10 : COPY go.mod vendor* ./ 20:42:02 ---> 1b4fc8e43885 20:42:02 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:42:02 ---> Running in d1c463543061 20:43:10 Removing intermediate container d1c463543061 20:43:10 ---> c08df130780a 20:43:10 Step 9/10 : COPY . . 20:43:10 ---> ef77b1228f44 20:43:10 Step 10/10 : RUN ${MAKE} 20:43:10 ---> Running in f4e84a048f60 20:43:10 noop 20:43:10 Removing intermediate container f4e84a048f60 20:43:10 ---> 493d78455839 20:43:10 Successfully built 493d78455839 20:43:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:10 + docker inspect -f . ci-base-image-x86_64 20:43:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:10 prd-ubuntu20.04-docker-8c-8g-4710 does not seem to be running inside a container 20:43:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-556 -v /w/workspace/xfoundry_device-modbus-go_PR-556:/w/workspace/xfoundry_device-modbus-go_PR-556:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-556@tmp:/w/workspace/xfoundry_device-modbus-go_PR-556@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 20:43:11 $ docker top f74df2527cfb423ac5ca7eefa11ca61f2a576189d486627815e7308b80289a5b -eo pid,comm [Pipeline] { [Pipeline] sh 20:43:11 + go version 20:43:11 go version go1.21.9 linux/amd64 [Pipeline] } 20:43:11 $ docker stop --time=1 f74df2527cfb423ac5ca7eefa11ca61f2a576189d486627815e7308b80289a5b 20:43:12 $ docker rm -f --volumes f74df2527cfb423ac5ca7eefa11ca61f2a576189d486627815e7308b80289a5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:13 + docker inspect -f . ci-base-image-x86_64 20:43:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:13 prd-ubuntu20.04-docker-8c-8g-4710 does not seem to be running inside a container 20:43:13 $ 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-556 -v /w/workspace/xfoundry_device-modbus-go_PR-556:/w/workspace/xfoundry_device-modbus-go_PR-556:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-556@tmp:/w/workspace/xfoundry_device-modbus-go_PR-556@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 20:43:14 $ docker top 77093963a2256803fef53095f48ebb11521e105c840275f018a87f681bf5f453 -eo pid,comm [Pipeline] { [Pipeline] sh 20:43:14 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-556 [Pipeline] fileExists [Pipeline] sh 20:43:15 + make test 20:43:15 go test ./... -coverprofile=coverage.out 20:43:16 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:43:38 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:43:38 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 47.9% of statements 20:43:44 go vet ./... 20:43:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:43:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:43:50 ./bin/test-attribution-txt.sh 20:43:50 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 20:43:50 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 20:43:50 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 20:43:50 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 20:43:50 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 20:43:50 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 20:43:50 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 20:43:50 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 20:43:50 An attribution for golang.org/x/term is missing from Attribution.txt, please add 20:43:50 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 20:43:50 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 20:43:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:43:50 $ docker stop --time=1 77093963a2256803fef53095f48ebb11521e105c840275f018a87f681bf5f453 20:43:58 $ docker rm -f --volumes 77093963a2256803fef53095f48ebb11521e105c840275f018a87f681bf5f453 [Pipeline] // withDockerContainer [Pipeline] sh 20:43:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:43:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:43:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:44:00 + ls -al . 20:44:00 total 264 20:44:00 drwxrwxr-x 9 jenkins jenkins 4096 Jul 1 20:43 . 20:44:00 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 20:40 .. 20:44:00 -rw-rw-r-- 1 jenkins jenkins 140 Jul 1 20:40 .dockerignore 20:44:00 drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 20:43 .git 20:44:00 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:40 .github 20:44:00 -rw-rw-r-- 1 jenkins jenkins 266 Jul 1 20:40 .gitignore 20:44:00 -rw-rw-r-- 1 jenkins jenkins 41 Jul 1 20:40 .golangci.yml 20:44:00 drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 20:41 .semver 20:44:00 -rw-rw-r-- 1 jenkins jenkins 11101 Jul 1 20:40 Attribution.txt 20:44:00 -rw-rw-r-- 1 jenkins jenkins 16388 Jul 1 20:40 CHANGELOG.md 20:44:00 -rw-rw-r-- 1 jenkins jenkins 1474 Jul 1 20:40 Dockerfile 20:44:00 -rw-rw-r-- 1 jenkins jenkins 677 Jul 1 20:40 GOVERNANCE.md 20:44:00 -rw-rw-r-- 1 jenkins jenkins 658 Jul 1 20:40 Jenkinsfile 20:44:00 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 1 20:40 LICENSE 20:44:00 -rw-rw-r-- 1 jenkins jenkins 1942 Jul 1 20:40 Makefile 20:44:00 -rw-rw-r-- 1 jenkins jenkins 622 Jul 1 20:40 OWNERS.md 20:44:00 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 1 20:40 README.md 20:44:00 -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 20:41 VERSION 20:44:00 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 20:40 bin 20:44:00 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:40 cmd 20:44:00 -rw-r--r-- 1 jenkins jenkins 24601 Jul 1 20:43 coverage.out 20:44:00 -rw-rw-r-- 1 jenkins jenkins 7241 Jul 1 20:40 go.mod 20:44:00 -rw-rw-r-- 1 jenkins jenkins 102291 Jul 1 20:40 go.sum 20:44:00 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:40 internal 20:44:00 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 20:40 simulator 20:44:00 -rw-rw-r-- 1 jenkins jenkins 229 Jul 1 20:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:00 + 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=9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 --label arch=amd64 --label version=0.0.0 . 20:44:00 Sending build context to Docker daemon 17.85MB 20:44:00 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 20:44:00 Step 2/23 : FROM ${BASE} AS builder 20:44:00 ---> 493d78455839 20:44:00 Step 3/23 : ARG ADD_BUILD_TAGS="" 20:44:01 ---> Running in c6273aae0ecb 20:44:01 Removing intermediate container c6273aae0ecb 20:44:01 ---> 0487f1c97b27 20:44:01 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:44:01 ---> Running in a318cda1055a 20:44:02 Removing intermediate container a318cda1055a 20:44:02 ---> 47753cb5424f 20:44:02 Step 5/23 : RUN apk add --update --no-cache make git openssh 20:44:02 ---> Running in d7742f6568db 20:44:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:44:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:44:03 OK: 270 MiB in 60 packages 20:44:04 Removing intermediate container d7742f6568db 20:44:04 ---> fe30a6bffc0e 20:44:04 Step 6/23 : WORKDIR /device-modbus-go 20:44:04 ---> Running in 10ac99de9b2a 20:44:04 Removing intermediate container 10ac99de9b2a 20:44:04 ---> 2be75613152f 20:44:04 Step 7/23 : COPY go.mod vendor* ./ 20:44:05 ---> 539883711668 20:44:05 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:44:05 ---> Running in 60b9b88b50cf 20:44:07 Removing intermediate container 60b9b88b50cf 20:44:07 ---> a7f52ceb83db 20:44:07 Step 9/23 : COPY . . 20:44:08 ---> 42a1275b8e5e 20:44:08 Step 10/23 : RUN ${MAKE} 20:44:08 ---> Running in 6af9b7020931 20:44:09 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.18" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 20:44:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4720 in /w/workspace/xfoundry_device-modbus-go_PR-556 [Pipeline] { [Pipeline] ws 20:44:36 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 20:44:36 The recommended git tool is: git 20:44:45 using credential edgex-jenkins-ssh 20:44:45 Cloning the remote Git repository 20:44:45 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:44:45 > git init /w/workspace/device-modbus-go/1 # timeout=10 20:44:45 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:44:45 > git --version # timeout=10 20:44:45 > git --version # 'git version 2.25.1' 20:44:45 using GIT_SSH to set credentials SSH Credentials for GitHub 20:44:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:44:48 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:44:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:44:50 Merging remotes/origin/main commit f7c28725686cbfd62f6225fd09367d5909216c89 into PR head commit 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 20:44:51 Merge succeeded, producing 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 20:44:51 Checking out Revision 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 (PR-556) 20:44:50 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:44:50 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:44:50 using GIT_SSH to set credentials SSH Credentials for GitHub 20:44:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/556/head:refs/remotes/origin/PR-556 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:44:50 > git config core.sparsecheckout # timeout=10 20:44:50 > git checkout -f 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 # timeout=10 20:44:51 > git remote # timeout=10 20:44:51 > git config --get remote.origin.url # timeout=10 20:44:51 using GIT_SSH to set credentials SSH Credentials for GitHub 20:44:51 > git merge f7c28725686cbfd62f6225fd09367d5909216c89 # timeout=10 20:44:51 > git rev-parse HEAD^{commit} # timeout=10 20:44:51 > git config core.sparsecheckout # timeout=10 20:44:51 > git checkout -f 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 # timeout=10 20:44:52 Commit message: "build(deps): Bump github.com/gorilla/schema from 1.2.0 to 1.4.1" 20:44:52 > git --version # timeout=10 20:44:52 > git --version # 'git version 2.25.1' 20:44:52 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:44:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:44:57 % Total % Received % Xferd Average Speed Time Time Time Current 20:44:57 Dload Upload Total Spent Left Speed 20:44:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 176k 0 --:--:-- --:--:-- --:--:-- 178k [Pipeline] sh 20:44:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:44:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:44:58 + sudo tee /etc/docker/daemon.new 20:44:58 { 20:44:58 "registry-mirrors": [ 20:44:58 "https://nexus3.edgexfoundry.org:10001" 20:44:58 ], 20:44:58 "bip": "10.250.0.254/24", 20:44:58 "hosts": [ 20:44:58 "tcp://0.0.0.0:5555", 20:44:58 "unix:///var/run/docker.sock" 20:44:58 ], 20:44:58 "mtu": 1458, 20:44:58 "selinux-enabled": true, 20:44:58 "seccomp-profile": "/etc/docker/seccomp.json" 20:44:58 } [Pipeline] sh 20:44:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:44:59 + sudo service docker restart 20:45:05 Removing intermediate container 6af9b7020931 20:45:05 ---> 545eed2bc363 20:45:05 Step 11/23 : FROM alpine:3.18 20:45:05 3.18: Pulling from library/alpine 20:45:05 73baa7ef167e: Pulling fs layer 20:45:05 73baa7ef167e: Verifying Checksum 20:45:05 73baa7ef167e: Download complete 20:45:05 73baa7ef167e: Pull complete 20:45:05 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 20:45:05 Status: Downloaded newer image for alpine:3.18 20:45:05 ---> 8fd7cac70a4a 20:45:05 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:45:05 ---> Running in 545a933a77e6 20:45:05 Removing intermediate container 545a933a77e6 20:45:05 ---> bb6ec914e644 20:45:05 Step 13/23 : RUN apk add --update --no-cache dumb-init 20:45:05 ---> Running in 1277e5315ee7 20:45:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:45:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:45:05 (1/1) Installing dumb-init (1.2.5-r2) 20:45:05 Executing busybox-1.36.1-r7.trigger 20:45:05 OK: 7 MiB in 16 packages 20:45:06 Removing intermediate container 1277e5315ee7 20:45:06 ---> 01f62c1a1674 20:45:06 Step 14/23 : RUN apk --no-cache upgrade 20:45:07 ---> Running in 16bf74a7c74a 20:45:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:45:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:45:08 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 20:45:08 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 20:45:08 OK: 7 MiB in 16 packages 20:45:09 Removing intermediate container 16bf74a7c74a 20:45:09 ---> 8cbab3b0c089 20:45:09 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 20:45:11 ---> a866b4247364 20:45:11 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 20:45:11 ---> 1b88b2d649e7 20:45:11 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:45:11 ---> 632a0cad1294 20:45:11 Step 18/23 : EXPOSE 59901 20:45:12 ---> Running in 8fb6b528604d 20:45:13 Removing intermediate container 8fb6b528604d 20:45:13 ---> 198e30e150d8 20:45:13 Step 19/23 : ENTRYPOINT ["/device-modbus"] 20:45:13 ---> Running in 5cf2f7f215b1 20:45:14 Removing intermediate container 5cf2f7f215b1 20:45:14 ---> e8073749b8a4 20:45:14 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:45:14 ---> Running in 20fa7183d581 20:45:15 Removing intermediate container 20fa7183d581 20:45:15 ---> cd8282617f2f 20:45:15 Step 21/23 : LABEL arch=amd64 20:45:15 ---> Running in 5a550ae81201 20:45:15 Removing intermediate container 5a550ae81201 20:45:15 ---> 97186bb33f9c 20:45:15 Step 22/23 : LABEL git_sha=9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 20:45:16 ---> Running in 4f5665eee357 20:45:16 Removing intermediate container 4f5665eee357 20:45:16 ---> 0fd8f1f43153 20:45:16 Step 23/23 : LABEL version=0.0.0 20:45:16 ---> Running in ee154df140a5 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:45:17 provisioning config files... 20:45:17 Removing intermediate container ee154df140a5 20:45:17 ---> 550f20a6a2ce 20:45:17 [Warning] One or more build-args [ARCH] were not consumed 20:45:17 Successfully built 550f20a6a2ce 20:45:17 Successfully tagged device-modbus:latest 20:45:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config13492804480070360013tmp [Pipeline] } [Pipeline] // withEnv [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } 20:45:18 ---> ****-login.sh 20:45:18 nexus3.edgexfoundry.org:10001 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:45:18 Configure a credential helper to remove this warning. See 20:45:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:45:18 20:45:18 Login Succeeded 20:45:18 nexus3.edgexfoundry.org:10002 20:45:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:45:18 20:45:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:45:19 latest: Pulling from edgex-lftools-log-publisher 20:45:19 5eb5b503b376: Pulling fs layer 20:45:19 5c69ac0246d0: Pulling fs layer 20:45:19 ec43610c2a17: Pulling fs layer 20:45:19 3a2ae6a8a46f: Pulling fs layer 20:45:19 33b1e0a273af: Pulling fs layer 20:45:19 5d3b04190fa2: Pulling fs layer 20:45:19 2f39f015ded8: Pulling fs layer 20:45:19 33b1e0a273af: Waiting 20:45:19 5d3b04190fa2: Waiting 20:45:19 2f39f015ded8: Waiting 20:45:19 3a2ae6a8a46f: Waiting 20:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:45:19 Configure a credential helper to remove this warning. See 20:45:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:45:19 20:45:19 Login Succeeded 20:45:19 nexus3.edgexfoundry.org:10003 20:45:19 5c69ac0246d0: Verifying Checksum 20:45:19 5c69ac0246d0: Download complete 20:45:19 3a2ae6a8a46f: Verifying Checksum 20:45:19 3a2ae6a8a46f: Download complete 20:45:19 33b1e0a273af: Verifying Checksum 20:45:19 33b1e0a273af: Download complete 20:45:19 ec43610c2a17: Verifying Checksum 20:45:19 ec43610c2a17: Download complete 20:45:19 5d3b04190fa2: Download complete 20:45:19 5eb5b503b376: Verifying Checksum 20:45:19 5eb5b503b376: Download complete 20:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:45:19 Configure a credential helper to remove this warning. See 20:45:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:45:19 20:45:19 Login Succeeded 20:45:19 nexus3.edgexfoundry.org:10004 20:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:45:20 Configure a credential helper to remove this warning. See 20:45:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:45:20 20:45:20 Login Succeeded 20:45:20 ****.io 20:45:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:20 2f39f015ded8: Verifying Checksum 20:45:20 2f39f015ded8: Download complete 20:45:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:45:20 Configure a credential helper to remove this warning. See 20:45:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:45:20 20:45:20 Login Succeeded 20:45:20 ---> ****-login.sh ends [Pipeline] } 20:45:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:45:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:45:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:45:21 ========================================================= 20:45:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:45:21 ========================================================= [Pipeline] fileExists 20:45:21 5eb5b503b376: Pull complete [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:21 5c69ac0246d0: Pull complete 20:45:22 + 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 . 20:45:22 ec43610c2a17: Pull complete 20:45:22 3a2ae6a8a46f: Pull complete 20:45:22 Sending build context to Docker daemon 9.048MB 20:45:22 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 20:45:22 Step 2/10 : FROM ${BASE} AS builder 20:45:22 33b1e0a273af: Pull complete 20:45:22 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:45:22 c6b39de5b339: Pulling fs layer 20:45:22 a69c41024577: Pulling fs layer 20:45:22 d6de4b400683: Pulling fs layer 20:45:22 35cb2a7552d0: Pulling fs layer 20:45:22 4f4fb700ef54: Pulling fs layer 20:45:22 464afbd9ba4c: Pulling fs layer 20:45:22 00f215d4a9da: Pulling fs layer 20:45:22 d496ad576159: Pulling fs layer 20:45:22 d496ad576159: Waiting 20:45:22 35cb2a7552d0: Waiting 20:45:22 4f4fb700ef54: Waiting 20:45:22 464afbd9ba4c: Waiting 20:45:22 00f215d4a9da: Waiting 20:45:22 a69c41024577: Download complete 20:45:22 35cb2a7552d0: Download complete 20:45:22 4f4fb700ef54: Verifying Checksum 20:45:22 4f4fb700ef54: Download complete 20:45:22 c6b39de5b339: Verifying Checksum 20:45:22 c6b39de5b339: Download complete 20:45:22 464afbd9ba4c: Verifying Checksum 20:45:22 464afbd9ba4c: Download complete 20:45:23 5d3b04190fa2: Pull complete 20:45:23 d496ad576159: Verifying Checksum 20:45:23 d496ad576159: Download complete 20:45:24 c6b39de5b339: Pull complete 20:45:24 a69c41024577: Pull complete 20:45:25 d6de4b400683: Download complete 20:45:26 00f215d4a9da: Verifying Checksum 20:45:26 00f215d4a9da: Download complete 20:45:27 2f39f015ded8: Pull complete 20:45:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:45:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:45:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:27 prd-ubuntu20.04-docker-8c-8g-4710 does not seem to be running inside a container 20:45:27 $ 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-556 -v /w/workspace/xfoundry_device-modbus-go_PR-556:/w/workspace/xfoundry_device-modbus-go_PR-556:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-556@tmp:/w/workspace/xfoundry_device-modbus-go_PR-556@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 20:45:36 $ docker top c7ab0fe4c29a1827758055aa8e0da7dc75250d27095412fdcb9993aa4e92d325 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:36 ---> job-cost.sh 20:45:36 lf-activate-venv: SKIPPING 20:45:36 INFO: No Stack... 20:45:37 INFO: Retrieving Pricing Info for: v3-standard-8 20:45:37 INFO: Archiving Costs [Pipeline] sh 20:45:37 + cat /w/workspace/xfoundry_device-modbus-go_PR-556/archives/cost.csv 20:45:37 + cut -d, -f6 [Pipeline] lock 20:45:37 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-556-1-stack-cost] 20:45:37 Resource [jenkins-edgexfoundry-device-modbus-go-PR-556-1-stack-cost] did not exist. Created. 20:45:37 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-556-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:45:38 + echo total: 0.2199999988079071 [Pipeline] stash 20:45:38 Stashed 1 file(s) [Pipeline] } 20:45:38 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-556-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:45:38 $ docker stop --time=1 c7ab0fe4c29a1827758055aa8e0da7dc75250d27095412fdcb9993aa4e92d325 20:45:40 $ docker rm -f --volumes c7ab0fe4c29a1827758055aa8e0da7dc75250d27095412fdcb9993aa4e92d325 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:45:41 d6de4b400683: Pull complete 20:45:41 35cb2a7552d0: Pull complete 20:45:41 4f4fb700ef54: Pull complete 20:45:41 464afbd9ba4c: Pull complete 20:45:51 00f215d4a9da: Pull complete 20:45:53 d496ad576159: Pull complete 20:45:53 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 20:45:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:45:53 ---> f246e2811388 20:45:53 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:45:55 ---> Running in c9f2f5382943 20:45:55 Removing intermediate container c9f2f5382943 20:45:55 ---> fb67ae88106a 20:45:55 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:45:55 ---> Running in 57908783dc2c 20:45:55 Removing intermediate container 57908783dc2c 20:45:55 ---> 43919ae0eebf 20:45:55 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:45:55 ---> Running in bbbba6dead87 20:45:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:45:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:45:59 (1/8) Installing openssh-keygen (9.3_p2-r1) 20:45:59 (2/8) Installing libedit (20221030.3.1-r1) 20:45:59 (3/8) Installing openssh-client-common (9.3_p2-r1) 20:45:59 (4/8) Installing openssh-client-default (9.3_p2-r1) 20:45:59 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 20:45:59 (6/8) Installing openssh-server-common (9.3_p2-r1) 20:45:59 (7/8) Installing openssh-server (9.3_p2-r1) 20:45:59 (8/8) Installing openssh (9.3_p2-r1) 20:45:59 Executing busybox-1.36.1-r5.trigger 20:45:59 OK: 272 MiB in 60 packages 20:46:00 Removing intermediate container bbbba6dead87 20:46:00 ---> b6dd63b32df9 20:46:00 Step 6/10 : WORKDIR /device-modbus-go 20:46:00 ---> Running in ef32222823ee 20:46:01 Removing intermediate container ef32222823ee 20:46:01 ---> 6a3ca33cc5b9 20:46:01 Step 7/10 : COPY go.mod vendor* ./ 20:46:01 ---> 4b6e810d0a6c 20:46:01 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:46:01 ---> Running in ead24525b1ca 20:48:23 Removing intermediate container ead24525b1ca 20:48:23 ---> ec792f93ef1d 20:48:23 Step 9/10 : COPY . . 20:48:23 ---> a613619f51b3 20:48:23 Step 10/10 : RUN ${MAKE} 20:48:23 ---> Running in df4b66b691f4 20:48:23 noop 20:48:23 Removing intermediate container df4b66b691f4 20:48:23 ---> fca1d8931c2c 20:48:23 Successfully built fca1d8931c2c 20:48:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:24 + docker inspect -f . ci-base-image-arm64 20:48:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:48:24 prd-ubuntu20.04-docker-arm64-4c-16g-4720 does not seem to be running inside a container 20:48:25 $ 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 20:48:26 $ docker top 013f17832da5bbeadf2d2261aef0aacd33c65d162b7ef5b0942980f35fb5a8eb -eo pid,comm [Pipeline] { [Pipeline] sh 20:48:27 + go version 20:48:27 go version go1.21.9 linux/arm64 [Pipeline] } 20:48:27 $ docker stop --time=1 013f17832da5bbeadf2d2261aef0aacd33c65d162b7ef5b0942980f35fb5a8eb 20:48:29 $ docker rm -f --volumes 013f17832da5bbeadf2d2261aef0aacd33c65d162b7ef5b0942980f35fb5a8eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:30 + docker inspect -f . ci-base-image-arm64 20:48:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:48:30 prd-ubuntu20.04-docker-arm64-4c-16g-4720 does not seem to be running inside a container 20:48:31 $ 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 20:48:32 $ docker top c510ef145d33bf8715420570ccc9aa9a6943f37d88929d886920d21204c0ffa8 -eo pid,comm [Pipeline] { [Pipeline] sh 20:48:33 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 20:48:34 + make test 20:48:34 go test ./... -coverprofile=coverage.out 20:48:42 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:53:49 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:53:49 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.065s coverage: 47.9% of statements 20:53:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:53:49 go vet ./... 20:54:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:54:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:54:58 ./bin/test-attribution-txt.sh 20:54:58 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 20:54:58 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 20:54:58 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 20:54:58 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 20:54:58 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 20:54:58 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 20:54:58 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 20:54:58 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 20:54:58 An attribution for golang.org/x/term is missing from Attribution.txt, please add 20:54:58 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 20:54:58 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 20:54:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:54:58 $ docker stop --time=1 c510ef145d33bf8715420570ccc9aa9a6943f37d88929d886920d21204c0ffa8 20:55:00 $ docker rm -f --volumes c510ef145d33bf8715420570ccc9aa9a6943f37d88929d886920d21204c0ffa8 [Pipeline] // withDockerContainer [Pipeline] sh 20:55:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:55:02 Warning: overwriting stash ‘coverage-report’ 20:55:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:55:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:55:03 + ls -al . 20:55:03 total 260 20:55:03 drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 20:48 . 20:55:03 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 20:44 .. 20:55:03 -rw-rw-r-- 1 jenkins jenkins 140 Jul 1 20:44 .dockerignore 20:55:03 drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 20:44 .git 20:55:03 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:44 .github 20:55:03 -rw-rw-r-- 1 jenkins jenkins 266 Jul 1 20:44 .gitignore 20:55:03 -rw-rw-r-- 1 jenkins jenkins 41 Jul 1 20:44 .golangci.yml 20:55:03 -rw-rw-r-- 1 jenkins jenkins 11101 Jul 1 20:44 Attribution.txt 20:55:03 -rw-rw-r-- 1 jenkins jenkins 16388 Jul 1 20:44 CHANGELOG.md 20:55:03 -rw-rw-r-- 1 jenkins jenkins 1474 Jul 1 20:44 Dockerfile 20:55:03 -rw-rw-r-- 1 jenkins jenkins 677 Jul 1 20:44 GOVERNANCE.md 20:55:03 -rw-rw-r-- 1 jenkins jenkins 658 Jul 1 20:44 Jenkinsfile 20:55:03 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 1 20:44 LICENSE 20:55:03 -rw-rw-r-- 1 jenkins jenkins 1942 Jul 1 20:44 Makefile 20:55:03 -rw-rw-r-- 1 jenkins jenkins 622 Jul 1 20:44 OWNERS.md 20:55:03 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 1 20:44 README.md 20:55:03 -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 20:41 VERSION 20:55:03 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 20:44 bin 20:55:03 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:44 cmd 20:55:03 -rw-r--r-- 1 jenkins jenkins 24601 Jul 1 20:53 coverage.out 20:55:03 -rw-rw-r-- 1 jenkins jenkins 7241 Jul 1 20:44 go.mod 20:55:03 -rw-rw-r-- 1 jenkins jenkins 102291 Jul 1 20:44 go.sum 20:55:03 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:44 internal 20:55:03 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 20:44 simulator 20:55:03 -rw-rw-r-- 1 jenkins jenkins 229 Jul 1 20:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:04 + 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=9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 --label arch=arm64 --label version=0.0.0 . 20:55:05 Sending build context to Docker daemon 9.074MB 20:55:05 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 20:55:05 Step 2/23 : FROM ${BASE} AS builder 20:55:05 ---> fca1d8931c2c 20:55:05 Step 3/23 : ARG ADD_BUILD_TAGS="" 20:55:05 ---> Running in 3e4bf1736c73 20:55:05 Removing intermediate container 3e4bf1736c73 20:55:05 ---> b1855441732b 20:55:05 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:55:05 ---> Running in 8812ee8b03ee 20:55:06 Removing intermediate container 8812ee8b03ee 20:55:06 ---> 9cf2534bface 20:55:06 Step 5/23 : RUN apk add --update --no-cache make git openssh 20:55:06 ---> Running in dfb9d5da48bc 20:55:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:55:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:55:09 OK: 272 MiB in 60 packages 20:55:10 Removing intermediate container dfb9d5da48bc 20:55:10 ---> 7c9d352fb762 20:55:10 Step 6/23 : WORKDIR /device-modbus-go 20:55:10 ---> Running in eb6d2d7e00eb 20:55:11 Removing intermediate container eb6d2d7e00eb 20:55:11 ---> b15f01e2695b 20:55:11 Step 7/23 : COPY go.mod vendor* ./ 20:55:12 ---> e6ff1d3d9a87 20:55:12 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:55:12 ---> Running in 92f8b7941514 20:55:14 Removing intermediate container 92f8b7941514 20:55:14 ---> 2eb8aa4b7981 20:55:14 Step 9/23 : COPY . . 20:55:16 ---> a0899e9ddfab 20:55:16 Step 10/23 : RUN ${MAKE} 20:55:16 ---> Running in 04c4bf305d7d 20:55:17 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.18" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 21:00:09 Removing intermediate container 04c4bf305d7d 21:00:09 ---> f60d59341b61 21:00:09 Step 11/23 : FROM alpine:3.18 21:00:09 3.18: Pulling from library/alpine 21:00:09 5c905c7ebe2f: Pulling fs layer 21:00:09 5c905c7ebe2f: Verifying Checksum 21:00:09 5c905c7ebe2f: Download complete 21:00:09 5c905c7ebe2f: Pull complete 21:00:09 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 21:00:09 Status: Downloaded newer image for alpine:3.18 21:00:09 ---> dec292d02e07 21:00:09 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:00:09 ---> Running in 17f62609dde1 21:00:09 Removing intermediate container 17f62609dde1 21:00:09 ---> 91fdf6bc0476 21:00:09 Step 13/23 : RUN apk add --update --no-cache dumb-init 21:00:09 ---> Running in 2fe42e391fc5 21:00:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:00:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:00:09 (1/1) Installing dumb-init (1.2.5-r2) 21:00:09 Executing busybox-1.36.1-r7.trigger 21:00:09 OK: 8 MiB in 16 packages 21:00:09 Removing intermediate container 2fe42e391fc5 21:00:09 ---> 288a371d7f87 21:00:09 Step 14/23 : RUN apk --no-cache upgrade 21:00:09 ---> Running in 005201e49baa 21:00:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:00:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:00:09 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 21:00:09 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 21:00:09 OK: 8 MiB in 16 packages 21:00:09 Removing intermediate container 005201e49baa 21:00:09 ---> a5f57c153677 21:00:09 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 21:00:10 ---> f776bac3cdc5 21:00:10 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 21:00:11 ---> 093d71376c35 21:00:11 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:00:12 ---> 0b0b1b92fbd5 21:00:12 Step 18/23 : EXPOSE 59901 21:00:12 ---> Running in 8f584a5d9bf9 21:00:13 Removing intermediate container 8f584a5d9bf9 21:00:13 ---> 797469182677 21:00:13 Step 19/23 : ENTRYPOINT ["/device-modbus"] 21:00:13 ---> Running in 6b23a8d0744a 21:00:13 Removing intermediate container 6b23a8d0744a 21:00:13 ---> 36fd84abd1fb 21:00:13 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:00:13 ---> Running in c4f0bdfa0933 21:00:14 Removing intermediate container c4f0bdfa0933 21:00:14 ---> 230f92b335ca 21:00:14 Step 21/23 : LABEL arch=arm64 21:00:14 ---> Running in 6dbe488d227c 21:00:14 Removing intermediate container 6dbe488d227c 21:00:14 ---> 26ab4d52e86c 21:00:14 Step 22/23 : LABEL git_sha=9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 21:00:14 ---> Running in 61ce48a5e7da 21:00:15 Removing intermediate container 61ce48a5e7da 21:00:15 ---> 6f0d674a52e6 21:00:15 Step 23/23 : LABEL version=0.0.0 21:00:15 ---> Running in 84cbdc047d0b 21:00:15 Removing intermediate container 84cbdc047d0b 21:00:15 ---> 4d5863c426a6 21:00:15 [Warning] One or more build-args [ARCH] were not consumed 21:00:15 Successfully built 4d5863c426a6 21:00:15 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:00:16 21:00:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:00:17 arm64: Pulling from edgex-lftools-log-publisher 21:00:17 8998bd30e6a1: Pulling fs layer 21:00:17 04944245beec: Pulling fs layer 21:00:17 699f458cf7ca: Pulling fs layer 21:00:17 765212b225bb: Pulling fs layer 21:00:17 f23df028b6ca: Pulling fs layer 21:00:17 d65c8cfc05b1: Pulling fs layer 21:00:17 2437ff75d9bd: Pulling fs layer 21:00:17 765212b225bb: Waiting 21:00:17 f23df028b6ca: Waiting 21:00:17 d65c8cfc05b1: Waiting 21:00:17 2437ff75d9bd: Waiting 21:00:17 04944245beec: Verifying Checksum 21:00:17 04944245beec: Download complete 21:00:17 765212b225bb: Verifying Checksum 21:00:17 765212b225bb: Download complete 21:00:17 f23df028b6ca: Verifying Checksum 21:00:17 f23df028b6ca: Download complete 21:00:17 d65c8cfc05b1: Verifying Checksum 21:00:17 d65c8cfc05b1: Download complete 21:00:17 699f458cf7ca: Verifying Checksum 21:00:17 699f458cf7ca: Download complete 21:00:18 8998bd30e6a1: Verifying Checksum 21:00:18 8998bd30e6a1: Download complete 21:00:20 2437ff75d9bd: Verifying Checksum 21:00:23 8998bd30e6a1: Pull complete 21:00:23 04944245beec: Pull complete 21:00:25 699f458cf7ca: Pull complete 21:00:25 765212b225bb: Pull complete 21:00:26 f23df028b6ca: Pull complete 21:00:27 d65c8cfc05b1: Pull complete 21:00:45 2437ff75d9bd: Pull complete 21:00:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:00:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:00:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:45 prd-ubuntu20.04-docker-arm64-4c-16g-4720 does not seem to be running inside a container 21:00:45 $ 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 21:00:49 $ docker top d492162a3576f3cb0e350c3e9b04910d7868b0c6e49ddce312fc120dd382b168 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:50 ---> job-cost.sh 21:00:50 lf-activate-venv: SKIPPING 21:00:50 INFO: No Stack... 21:00:51 INFO: Retrieving Pricing Info for: v3-standard-4 21:00:51 INFO: Archiving Costs [Pipeline] sh 21:00:52 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 21:00:52 + cut -d, -f6 [Pipeline] lock 21:00:52 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-556-1-stack-cost] 21:00:52 Resource [jenkins-edgexfoundry-device-modbus-go-PR-556-1-stack-cost] did not exist. Created. 21:00:52 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-556-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:00:53 /w/workspace/device-modbus-go/1@tmp/durable-536c5735/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:00:54 + echo total: 0.10999999940395355 [Pipeline] stash 21:00:54 Warning: overwriting stash ‘stack-cost’ 21:00:54 Stashed 1 file(s) [Pipeline] } 21:00:54 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-556-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:00:54 $ docker stop --time=1 d492162a3576f3cb0e350c3e9b04910d7868b0c6e49ddce312fc120dd382b168 21:00:56 $ docker rm -f --volumes d492162a3576f3cb0e350c3e9b04910d7868b0c6e49ddce312fc120dd382b168 [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 21:00:57 provisioning config files... 21:00:57 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-556@tmp/config7003187766868807847tmp [Pipeline] { [Pipeline] sh 21:00:57 + set +x 21:00:57 + bash -s -- 21:00:57 + curl -s https://codecov.io/bash 21:00:57 21:00:57 _____ _ 21:00:57 / ____| | | 21:00:57 | | ___ __| | ___ ___ _____ __ 21:00:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:00:57 | |___| (_) | (_| | __/ (_| (_) \ V / 21:00:57 \_____\___/ \__,_|\___|\___\___/ \_/ 21:00:57 Bash-1.0.6 21:00:57 21:00:57 21:00:57 ==> git version 2.25.1 found 21:00:57 ==> 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 21:00:57 Release-Date: 2020-01-08 21:00:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:00:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:00:57 ==> Jenkins CI detected. 21:00:57 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-556 21:00:57 project root: . 21:00:57 --> token set from env 21:00:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:00:57 ==> Running gcov in . (disable via -X gcov) 21:00:57 ==> Python coveragepy not found 21:00:57 ==> Searching for coverage reports in: 21:00:57 + . 21:00:57 -> Found 1 reports 21:00:57 ==> Detecting git/mercurial file structure 21:00:57 ==> Reading reports 21:00:57 + ./coverage.out bytes=24601 21:00:57 ==> Appending adjustments 21:00:57 https://docs.codecov.io/docs/fixing-reports 21:00:57 + Found adjustments 21:00:57 ==> Gzipping contents 21:00:57 4.0K /tmp/codecov.DTOXIS.gz 21:00:57 ==> Uploading reports 21:00:57 url: https://codecov.io 21:00:57 query: branch=PR-556&commit=9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-556%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=556&job=&cmd_args= 21:00:57 -> Pinging Codecov 21:00:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-556&commit=9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-556%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=556&job=&cmd_args= 21:00:57 -> Uploading to 21:00:57 https://storage.googleapis.com/codecov/v4/raw/2024-07-01/55DBCA73C666E3227836607328DD7E49/9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0/68eb42e8-e877-4f48-84d5-5dd9247fc78b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240701%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240701T210057Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4ae7546c4411961f746e1bc4c2a17f82fcad5612b307ff0f2fd45f75306069d3 21:00:57 % Total % Received % Xferd Average Speed Time Time Time Current 21:00:57 Dload Upload Total Spent Left Speed 21:00:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 16636 --:--:-- --:--:-- --:--:-- 16636 21:00:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 [Pipeline] } 21:00:58 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:01:00 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-556/archives ] 21:01:00 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-556/archives 21:01:00 total 16 21:01:00 drwxr-xr-x 3 root root 4096 Jul 1 20:45 . 21:01:00 drwxrwxr-x 10 jenkins jenkins 4096 Jul 1 20:45 .. 21:01:00 drwxr-xr-x 2 root root 4096 Jul 1 20:45 cost 21:01:00 -rw-r--r-- 1 root root 88 Jul 1 20:45 cost.csv 21:01:00 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-556/archives 21:01:00 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-556/archives 21:01:00 total 16 21:01:00 drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 20:45 . 21:01:00 drwxrwxr-x 10 jenkins jenkins 4096 Jul 1 20:45 .. 21:01:00 drwxr-xr-x 2 jenkins jenkins 4096 Jul 1 20:45 cost 21:01:00 -rw-r--r-- 1 jenkins jenkins 88 Jul 1 20:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:01:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:01:01 ---> package-listing.sh 21:01:01 ++ facter osfamily 21:01:01 ++ tr '[:upper:]' '[:lower:]' 21:01:02 + OS_FAMILY=debian 21:01:02 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-556 21:01:02 + START_PACKAGES=/tmp/packages_start.txt 21:01:02 + END_PACKAGES=/tmp/packages_end.txt 21:01:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:01:02 + PACKAGES=/tmp/packages_start.txt 21:01:02 + '[' /w/workspace/xfoundry_device-modbus-go_PR-556 ']' 21:01:02 + PACKAGES=/tmp/packages_end.txt 21:01:02 + case "${OS_FAMILY}" in 21:01:02 + dpkg -l 21:01:02 + grep '^ii' 21:01:02 + '[' -f /tmp/packages_start.txt ']' 21:01:02 + '[' -f /tmp/packages_end.txt ']' 21:01:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:01:02 + '[' /w/workspace/xfoundry_device-modbus-go_PR-556 ']' 21:01:02 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-556/archives/ 21:01:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-556/archives/ [Pipeline] echo 21:01:02 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-556/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:01:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:01:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:03 prd-ubuntu20.04-docker-8c-8g-4710 does not seem to be running inside a container 21:01:03 $ 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-556/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-556 -v /w/workspace/xfoundry_device-modbus-go_PR-556:/w/workspace/xfoundry_device-modbus-go_PR-556:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-556@tmp:/w/workspace/xfoundry_device-modbus-go_PR-556@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 21:01:04 $ docker top a2fe0c5b366e7578d3ca568f109a27e50be9870c4f49c11ef61a4b0be43946d9 -eo pid,comm [Pipeline] { [Pipeline] sh 21:01:05 + touch /tmp/pre-build-complete [Pipeline] sh 21:01:05 + mkdir -p /var/log/sysstat [Pipeline] sh 21:01:05 + ls /var/log/sa-host 21:01:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:01:06 provisioning config files... 21:01:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-556@tmp/config17370075606309538754tmp [Pipeline] { [Pipeline] echo 21:01:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:01:06 ---> create-netrc.sh [Pipeline] } 21:01:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:01:07 ---> python-tools-install.sh [Pipeline] echo 21:01:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:01:07 ---> sudo-logs.sh 21:01:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:01:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:01:07 ---> job-cost.sh 21:01:07 lf-activate-venv: SKIPPING 21:01:07 DEBUG: total: 0.2199999988079071 21:01:07 INFO: Retrieving Stack Cost... 21:01:08 INFO: Retrieving Pricing Info for: v3-standard-8 21:01:08 INFO: Archiving Costs [Pipeline] echo 21:01:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:01:09 ---> logs-deploy.sh 21:01:09 lf-activate-venv: SKIPPING 21:01:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-556/1 21:01:09 INFO: archiving workspace using pattern(s): 21:01:10 Archives upload complete. 21:01:10 INFO: archiving logs to Nexus