Pull request #437 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-modbus-go Obtained Jenkinsfile from fd09cb9e5724e3eac6004479f2e3fd0aa223c598+82ff0da3d76fda56b8be828932abbd4e3fc098e3 (e2d1ac0dacf368ed0d693200e97f9a528de5db50) 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-ssh244072966629188069.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15136242379501835497.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-437/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-437/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12801630397881636851.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh6968720718039433038.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-437/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-437/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12016847571233600429.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4819 in /w/workspace/xfoundry_device-modbus-go_PR-437 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-437 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/437/head:refs/remotes/origin/PR-437 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 82ff0da3d76fda56b8be828932abbd4e3fc098e3 into PR head commit fd09cb9e5724e3eac6004479f2e3fd0aa223c598 Merge succeeded, producing fd09cb9e5724e3eac6004479f2e3fd0aa223c598 Checking out Revision fd09cb9e5724e3eac6004479f2e3fd0aa223c598 (PR-437) > git config core.sparsecheckout # timeout=10 > git checkout -f fd09cb9e5724e3eac6004479f2e3fd0aa223c598 # 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 82ff0da3d76fda56b8be828932abbd4e3fc098e3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd09cb9e5724e3eac6004479f2e3fd0aa223c598 # timeout=10 Commit message: "fix(snap): disable xtrace in bash script" > git rev-list --no-walk 4e97db37298a6bfcbaebcf789970f0a5d92ff8f0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:44:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:44:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:44:00 ========================================================= 10:44:00 EdgeX Global Pipelines Version Info 10:44:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:44:00 ------------------- 10:44:00 stable info: 10:44:00 ------------------- 10:44:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:44:00 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 10:44:00 Message: update stable to v1.0.245 10:44:01 ------------------- 10:44:01 experimental info: 10:44:01 ------------------- 10:44:01 Commited By: **** collab-it+edgex@linuxfoundation.org 10:44:01 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 10:44:01 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-437 [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-437 [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-437 [Pipeline] echo 10:44:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fd09cb9e5724e3eac6004479f2e3fd0aa223c598 [Pipeline] echo 10:44:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fd09cb9 [Pipeline] echo 10:44:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:44:02 provisioning config files... 10:44:02 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-437@tmp/config4778738598353594929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:44:02 ---> docker-login.sh 10:44:02 nexus3.edgexfoundry.org:10001 10:44:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:44:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:44:02 Configure a credential helper to remove this warning. See 10:44:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:44:02 10:44:02 Login Succeeded 10:44:02 nexus3.edgexfoundry.org:10002 10:44:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:44:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:44:02 Configure a credential helper to remove this warning. See 10:44:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:44:02 10:44:02 Login Succeeded 10:44:02 nexus3.edgexfoundry.org:10003 10:44:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:44:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:44:03 Configure a credential helper to remove this warning. See 10:44:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:44:03 10:44:03 Login Succeeded 10:44:03 nexus3.edgexfoundry.org:10004 10:44:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:44:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:44:03 Configure a credential helper to remove this warning. See 10:44:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:44:03 10:44:03 Login Succeeded 10:44:03 docker.io 10:44:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:44:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:44:03 Configure a credential helper to remove this warning. See 10:44:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:44:03 10:44:03 Login Succeeded 10:44:03 ---> docker-login.sh ends [Pipeline] } 10:44:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:44:03 + git rev-list -1 --merges fd09cb9e5724e3eac6004479f2e3fd0aa223c598~1..fd09cb9e5724e3eac6004479f2e3fd0aa223c598 [Pipeline] echo 10:44:03 -----------> git rev-list -1 --merges fd09cb9e5724e3eac6004479f2e3fd0aa223c598~1..fd09cb9e5724e3eac6004479f2e3fd0aa223c598 fd09cb9e5724e3eac6004479f2e3fd0aa223c598 [false] [Pipeline] sh 10:44:04 + git log --format=format:%s -1 fd09cb9e5724e3eac6004479f2e3fd0aa223c598 [Pipeline] echo 10:44:04 ========================================================= 10:44:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:44:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:44:04 + git log --format=format:%s -1 fd09cb9e5724e3eac6004479f2e3fd0aa223c598 [Pipeline] echo 10:44:04 [semverPrep] GIT_COMMIT: fd09cb9e5724e3eac6004479f2e3fd0aa223c598, Commit Message: fix(snap): disable xtrace in bash script [Pipeline] echo 10:44:04 [semverPrep] This is not a build commit. [Pipeline] sh 10:44:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:44:04 + grep -v github /etc/ssh/ssh_known_hosts 10:44:04 + [ -e /tmp/ssh_known_hosts ] 10:44:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:44:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:44:04 + sudo tee -a /etc/ssh/ssh_known_hosts 10:44:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:44:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:44:05 10:44:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:44:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:44:05 0.1.4: Pulling from edgex-devops/py-git-semver 10:44:05 b85a868b505f: Pulling fs layer 10:44:05 e2be974225ed: Pulling fs layer 10:44:05 339a4e72a1f5: Pulling fs layer 10:44:05 988bab9f4d93: Pulling fs layer 10:44:05 1469e6f7b9e6: Pulling fs layer 10:44:05 eaf3925da568: Pulling fs layer 10:44:05 bab4dde63d76: Pulling fs layer 10:44:05 bde34c3a00c8: Pulling fs layer 10:44:05 b352a97aabf1: Pulling fs layer 10:44:05 4872d77fe225: Pulling fs layer 10:44:05 5851b861e8e6: Pulling fs layer 10:44:05 bab4dde63d76: Waiting 10:44:05 bde34c3a00c8: Waiting 10:44:05 eaf3925da568: Waiting 10:44:05 988bab9f4d93: Waiting 10:44:05 5851b861e8e6: Waiting 10:44:05 1469e6f7b9e6: Waiting 10:44:05 b352a97aabf1: Waiting 10:44:05 4872d77fe225: Waiting 10:44:05 e2be974225ed: Verifying Checksum 10:44:05 e2be974225ed: Download complete 10:44:05 988bab9f4d93: Download complete 10:44:05 339a4e72a1f5: Verifying Checksum 10:44:05 339a4e72a1f5: Download complete 10:44:05 1469e6f7b9e6: Verifying Checksum 10:44:05 1469e6f7b9e6: Download complete 10:44:05 eaf3925da568: Verifying Checksum 10:44:05 eaf3925da568: Download complete 10:44:05 bde34c3a00c8: Verifying Checksum 10:44:05 bde34c3a00c8: Download complete 10:44:05 b352a97aabf1: Verifying Checksum 10:44:05 b352a97aabf1: Download complete 10:44:05 4872d77fe225: Verifying Checksum 10:44:05 4872d77fe225: Download complete 10:44:05 5851b861e8e6: Download complete 10:44:05 b85a868b505f: Verifying Checksum 10:44:05 b85a868b505f: Download complete 10:44:06 bab4dde63d76: Verifying Checksum 10:44:06 bab4dde63d76: Download complete 10:44:07 b85a868b505f: Pull complete 10:44:07 e2be974225ed: Pull complete 10:44:07 339a4e72a1f5: Pull complete 10:44:07 988bab9f4d93: Pull complete 10:44:08 1469e6f7b9e6: Pull complete 10:44:08 eaf3925da568: Pull complete 10:44:10 bab4dde63d76: Pull complete 10:44:10 bde34c3a00c8: Pull complete 10:44:10 b352a97aabf1: Pull complete 10:44:10 4872d77fe225: Pull complete 10:44:10 5851b861e8e6: Pull complete 10:44:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:44:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:44:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:44:10 prd-ubuntu20.04-docker-8c-8g-4819 does not seem to be running inside a container 10:44:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-437 -v /w/workspace/xfoundry_device-modbus-go_PR-437:/w/workspace/xfoundry_device-modbus-go_PR-437:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-437@tmp:/w/workspace/xfoundry_device-modbus-go_PR-437@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:44:12 $ docker top 03fd3093bae2eda5df3694ac676cf0af2b2239c38f435a7c34f4b4610d151a2c -eo pid,comm 10:44:12 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). 10:44:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:44:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:44:12 [ssh-agent] Looking for ssh-agent implementation... 10:44:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:44:12 $ docker exec 03fd3093bae2eda5df3694ac676cf0af2b2239c38f435a7c34f4b4610d151a2c ssh-agent 10:44:12 SSH_AUTH_SOCK=/tmp/ssh-Dmb445669ye3/agent.31 10:44:12 SSH_AGENT_PID=37 10:44:12 Running ssh-add (command line suppressed) 10:44:12 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-437@tmp/private_key_16969150295259631220.key (/w/workspace/xfoundry_device-modbus-go_PR-437@tmp/private_key_16969150295259631220.key) 10:44:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:44:13 + git tag --points-at HEAD [Pipeline] } 10:44:13 $ docker exec --env ******** --env ******** 03fd3093bae2eda5df3694ac676cf0af2b2239c38f435a7c34f4b4610d151a2c ssh-agent -k 10:44:13 unset SSH_AUTH_SOCK; 10:44:13 unset SSH_AGENT_PID; 10:44:13 echo Agent pid 37 killed; 10:44:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:44:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:44:13 [ssh-agent] Looking for ssh-agent implementation... 10:44:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:44:13 $ docker exec 03fd3093bae2eda5df3694ac676cf0af2b2239c38f435a7c34f4b4610d151a2c ssh-agent 10:44:13 SSH_AUTH_SOCK=/tmp/ssh-BGRvRhG9zIBd/agent.69 10:44:13 SSH_AGENT_PID=75 10:44:13 Running ssh-add (command line suppressed) 10:44:13 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-437@tmp/private_key_7933593660667784105.key (/w/workspace/xfoundry_device-modbus-go_PR-437@tmp/private_key_7933593660667784105.key) 10:44:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:44:13 + git semver init 10:44:14 2023-03-21 10:44:14,147 [run_init] DEBUG init version:0.0.0 force:False 10:44:14 2023-03-21 10:44:14,149 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-437/.semver 10:44:14 2023-03-21 10:44:14,150 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-437/.semver 10:44:14 2023-03-21 10:44:14,150 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-437/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-437, universal_newlines=False, shell=None, istream=None) 10:44:15 2023-03-21 10:44:14,889 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-437/.git/info/exclude 10:44:15 2023-03-21 10:44:14,890 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-437/.semver/PR-437 with force:False 10:44:15 2023-03-21 10:44:14,890 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-437/.semver/PR-437 10:44:15 2023-03-21 10:44:14,894 [execute] INFO git cat-file --batch-check 10:44:15 2023-03-21 10:44:14,895 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-437/.semver, universal_newlines=False, shell=None, istream=) 10:44:15 2023-03-21 10:44:14,901 [execute] INFO git cat-file --batch 10:44:15 2023-03-21 10:44:14,901 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-437/.semver, universal_newlines=False, shell=None, istream=) 10:44:15 2023-03-21 10:44:14,905 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-437/.semver/PR-437 10:44:15 0.0.0 [Pipeline] } 10:44:15 $ docker exec --env ******** --env ******** 03fd3093bae2eda5df3694ac676cf0af2b2239c38f435a7c34f4b4610d151a2c ssh-agent -k 10:44:15 unset SSH_AUTH_SOCK; 10:44:15 unset SSH_AGENT_PID; 10:44:15 echo Agent pid 75 killed; 10:44:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:44:15 + git semver [Pipeline] } 10:44:15 $ docker stop --time=1 03fd3093bae2eda5df3694ac676cf0af2b2239c38f435a7c34f4b4610d151a2c 10:44:17 $ docker rm -f --volumes 03fd3093bae2eda5df3694ac676cf0af2b2239c38f435a7c34f4b4610d151a2c [Pipeline] // withDockerContainer [Pipeline] sh 10:44:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:44:17 Stashed 1 file(s) [Pipeline] echo 10:44:17 [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 10:44:17 provisioning config files... 10:44:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-437@tmp/config18016777356442201249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:44:18 ---> docker-login.sh 10:44:18 nexus3.edgexfoundry.org:10001 10:44:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:44:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:44:18 Configure a credential helper to remove this warning. See 10:44:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:44:18 10:44:18 Login Succeeded 10:44:18 nexus3.edgexfoundry.org:10002 10:44:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:44:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:44:18 Configure a credential helper to remove this warning. See 10:44:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:44:18 10:44:18 Login Succeeded 10:44:18 nexus3.edgexfoundry.org:10003 10:44:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:44:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:44:18 Configure a credential helper to remove this warning. See 10:44:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:44:18 10:44:18 Login Succeeded 10:44:18 nexus3.edgexfoundry.org:10004 10:44:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:44:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:44:18 Configure a credential helper to remove this warning. See 10:44:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:44:18 10:44:18 Login Succeeded 10:44:18 docker.io 10:44:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:44:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:44:18 Configure a credential helper to remove this warning. See 10:44:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:44:18 10:44:18 Login Succeeded 10:44:18 ---> docker-login.sh ends [Pipeline] } 10:44:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:44:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:44:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:44:18 ========================================================= 10:44:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 10:44:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:44:19 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 10:44:19 Sending build context to Docker daemon 6.406MB 10:44:19 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 10:44:19 Step 2/10 : FROM ${BASE} AS builder 10:44:19 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 10:44:19 63b65145d645: Pulling fs layer 10:44:19 a2d21d5440eb: Pulling fs layer 10:44:19 935e6c44a52c: Pulling fs layer 10:44:19 94cc34f8dd06: Pulling fs layer 10:44:19 30dea6a524f1: Pulling fs layer 10:44:19 a2aff8979fd8: Pulling fs layer 10:44:19 6808be2612f2: Pulling fs layer 10:44:19 f25807f1079a: Pulling fs layer 10:44:19 a2aff8979fd8: Waiting 10:44:19 94cc34f8dd06: Waiting 10:44:19 f25807f1079a: Waiting 10:44:19 30dea6a524f1: Waiting 10:44:19 a2d21d5440eb: Verifying Checksum 10:44:19 a2d21d5440eb: Download complete 10:44:19 94cc34f8dd06: Download complete 10:44:19 30dea6a524f1: Download complete 10:44:19 63b65145d645: Verifying Checksum 10:44:19 63b65145d645: Download complete 10:44:19 a2aff8979fd8: Verifying Checksum 10:44:19 63b65145d645: Pull complete 10:44:19 a2d21d5440eb: Pull complete 10:44:19 f25807f1079a: Verifying Checksum 10:44:19 f25807f1079a: Download complete 10:44:20 935e6c44a52c: Verifying Checksum 10:44:20 935e6c44a52c: Download complete 10:44:20 6808be2612f2: Verifying Checksum 10:44:20 6808be2612f2: Download complete 10:44:23 935e6c44a52c: Pull complete 10:44:23 94cc34f8dd06: Pull complete 10:44:23 30dea6a524f1: Pull complete 10:44:23 a2aff8979fd8: Pull complete 10:44:26 6808be2612f2: Pull complete 10:44:27 f25807f1079a: Pull complete 10:44:27 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 10:44:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 10:44:27 ---> 3b553350e43f 10:44:27 Step 3/10 : ARG ADD_BUILD_TAGS="" 10:44:28 ---> Running in 2f8ed43f62d0 10:44:28 Removing intermediate container 2f8ed43f62d0 10:44:28 ---> 584ad44d4649 10:44:28 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:44:28 ---> Running in c7653d1cdd54 10:44:28 Removing intermediate container c7653d1cdd54 10:44:28 ---> 453c6a54b8a7 10:44:28 Step 5/10 : RUN apk add --update --no-cache make git openssh 10:44:28 ---> Running in 9722d6d709d9 10:44:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:44:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:44:29 (1/8) Installing openssh-keygen (9.1_p1-r2) 10:44:29 (2/8) Installing libedit (20221030.3.1-r0) 10:44:29 (3/8) Installing openssh-client-common (9.1_p1-r2) 10:44:29 (4/8) Installing openssh-client-default (9.1_p1-r2) 10:44:29 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 10:44:29 (6/8) Installing openssh-server-common (9.1_p1-r2) 10:44:29 (7/8) Installing openssh-server (9.1_p1-r2) 10:44:29 (8/8) Installing openssh (9.1_p1-r2) 10:44:29 Executing busybox-1.35.0-r29.trigger 10:44:29 OK: 270 MiB in 61 packages 10:44:29 Removing intermediate container 9722d6d709d9 10:44:29 ---> 20b5bd286b92 10:44:29 Step 6/10 : WORKDIR /device-modbus-go 10:44:30 ---> Running in fe048995b984 10:44:30 Removing intermediate container fe048995b984 10:44:30 ---> 92da0f59f5a5 10:44:30 Step 7/10 : COPY go.mod vendor* ./ 10:44:30 ---> 1b27a56f9294 10:44:30 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:44:30 ---> Running in 5176ba3b2706 10:44:32 Still waiting to schedule task 10:44:32 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:44:57 Removing intermediate container 5176ba3b2706 10:44:57 ---> 000273f502b0 10:44:57 Step 9/10 : COPY . . 10:44:57 ---> 833f659a4dc7 10:44:57 Step 10/10 : RUN ${MAKE} 10:44:57 ---> Running in 5fc4a5b34b0c 10:44:57 noop 10:44:57 Removing intermediate container 5fc4a5b34b0c 10:44:57 ---> 56803ccd7d1c 10:44:57 Successfully built 56803ccd7d1c 10:44:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:44:57 + docker inspect -f . ci-base-image-x86_64 10:44:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:44:57 prd-ubuntu20.04-docker-8c-8g-4819 does not seem to be running inside a container 10:44:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-437 -v /w/workspace/xfoundry_device-modbus-go_PR-437:/w/workspace/xfoundry_device-modbus-go_PR-437:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-437@tmp:/w/workspace/xfoundry_device-modbus-go_PR-437@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:44:57 $ docker top 9f5307efae246d3ba8b897e55cbfe04a8d039360c0946d423a1da3ef68f46b7b -eo pid,comm [Pipeline] { [Pipeline] sh 10:44:58 + go version 10:44:58 go version go1.20.2 linux/amd64 [Pipeline] } 10:44:58 $ docker stop --time=1 9f5307efae246d3ba8b897e55cbfe04a8d039360c0946d423a1da3ef68f46b7b 10:44:59 $ docker rm -f --volumes 9f5307efae246d3ba8b897e55cbfe04a8d039360c0946d423a1da3ef68f46b7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:44:59 + docker inspect -f . ci-base-image-x86_64 10:44:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:44:59 prd-ubuntu20.04-docker-8c-8g-4819 does not seem to be running inside a container 10:44:59 $ 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-437 -v /w/workspace/xfoundry_device-modbus-go_PR-437:/w/workspace/xfoundry_device-modbus-go_PR-437:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-437@tmp:/w/workspace/xfoundry_device-modbus-go_PR-437@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:45:00 $ docker top 311d7d722a67b576b3255602461861f94f8c32a03301708aec72a032577e0c59 -eo pid,comm [Pipeline] { [Pipeline] sh 10:45:00 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-437 [Pipeline] fileExists [Pipeline] sh 10:45:00 + make test 10:45:00 go test ./... -coverprofile=coverage.out 10:45:06 ? github.com/edgexfoundry/device-modbus-go [no test files] 10:45:16 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 10:45:16 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 48.0% of statements 10:45:21 go vet ./... 10:45:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:45:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:45:25 ./bin/test-attribution-txt.sh [Pipeline] echo 10:45:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:45:25 $ docker stop --time=1 311d7d722a67b576b3255602461861f94f8c32a03301708aec72a032577e0c59 10:45:27 $ docker rm -f --volumes 311d7d722a67b576b3255602461861f94f8c32a03301708aec72a032577e0c59 [Pipeline] // withDockerContainer [Pipeline] sh 10:45:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:45:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:45:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:45:28 + ls -al . 10:45:28 total 180 10:45:28 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 10:45 . 10:45:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 10:43 .. 10:45:28 -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 10:43 .dockerignore 10:45:28 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 10:44 .git 10:45:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 10:43 .github 10:45:28 -rw-rw-r-- 1 jenkins jenkins 331 Mar 21 10:43 .gitignore 10:45:28 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 10:43 .golangci.yml 10:45:28 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 10:44 .semver 10:45:28 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 21 10:43 Attribution.txt 10:45:28 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 21 10:43 CHANGELOG.md 10:45:28 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 21 10:43 Dockerfile 10:45:28 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 10:43 GOVERNANCE.md 10:45:28 -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 10:43 Jenkinsfile 10:45:28 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 10:43 LICENSE 10:45:28 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 21 10:43 Makefile 10:45:28 -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 10:43 OWNERS.md 10:45:28 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 21 10:43 README.md 10:45:28 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 10:44 VERSION 10:45:28 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 10:43 bin 10:45:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 10:43 cmd 10:45:28 -rw-r--r-- 1 jenkins jenkins 23736 Mar 21 10:45 coverage.out 10:45:28 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 21 10:43 go.mod 10:45:28 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 21 10:43 go.sum 10:45:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 10:43 internal 10:45:28 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 10:43 simulator 10:45:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 10:43 snap 10:45:28 -rw-rw-r-- 1 jenkins jenkins 229 Mar 21 10:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:45:29 + 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=fd09cb9e5724e3eac6004479f2e3fd0aa223c598 --label arch=amd64 --label version=0.0.0 . 10:45:29 Sending build context to Docker daemon 6.43MB 10:45:29 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 10:45:29 Step 2/22 : FROM ${BASE} AS builder 10:45:29 ---> 56803ccd7d1c 10:45:29 Step 3/22 : ARG ADD_BUILD_TAGS="" 10:45:29 ---> Running in ada4371837b1 10:45:29 Removing intermediate container ada4371837b1 10:45:29 ---> 9dfc5e434516 10:45:29 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:45:29 ---> Running in 12adf45eca29 10:45:29 Removing intermediate container 12adf45eca29 10:45:29 ---> bfdbd671433f 10:45:29 Step 5/22 : RUN apk add --update --no-cache make git openssh 10:45:29 ---> Running in b9ca578858fc 10:45:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:45:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:45:29 OK: 270 MiB in 61 packages 10:45:30 Removing intermediate container b9ca578858fc 10:45:30 ---> c30294ecf397 10:45:30 Step 6/22 : WORKDIR /device-modbus-go 10:45:30 ---> Running in a2f4bb142234 10:45:30 Removing intermediate container a2f4bb142234 10:45:30 ---> 56259f6c99b1 10:45:30 Step 7/22 : COPY go.mod vendor* ./ 10:45:30 ---> a24facb04c45 10:45:30 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:45:30 ---> Running in f28604727110 10:45:31 Removing intermediate container f28604727110 10:45:31 ---> 047ca5632307 10:45:31 Step 9/22 : COPY . . 10:45:31 ---> 67ff5cdecb96 10:45:31 Step 10/22 : RUN ${MAKE} 10:45:31 ---> Running in f03b60d5aa18 10:45:31 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 10:45:49 Removing intermediate container f03b60d5aa18 10:45:49 ---> db1afe853c07 10:45:49 Step 11/22 : FROM alpine:3.17 10:45:50 3.17: Pulling from library/alpine 10:45:50 63b65145d645: Already exists 10:45:50 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 10:45:51 Status: Downloaded newer image for alpine:3.17 10:45:51 ---> b2aa39c304c2 10:45:51 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 10:45:51 ---> Running in 3cb1f4d11c98 10:45:52 Removing intermediate container 3cb1f4d11c98 10:45:52 ---> df31d931b656 10:45:52 Step 13/22 : RUN apk add --update --no-cache dumb-init 10:45:52 ---> Running in ab5d5b55e568 10:45:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:45:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:45:53 (1/1) Installing dumb-init (1.2.5-r2) 10:45:53 Executing busybox-1.35.0-r29.trigger 10:45:53 OK: 7 MiB in 16 packages 10:45:55 Removing intermediate container ab5d5b55e568 10:45:55 ---> 4daeb989fbd5 10:45:55 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 10:45:56 ---> 9c05c8bd4581 10:45:56 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 10:45:56 ---> 54f5406b68ed 10:45:56 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 10:45:57 ---> 30bf6089cb2a 10:45:57 Step 17/22 : EXPOSE 59901 10:45:58 ---> Running in f84f6e3e13ef 10:45:58 Removing intermediate container f84f6e3e13ef 10:45:58 ---> 53d11e3613fe 10:45:58 Step 18/22 : ENTRYPOINT ["/device-modbus"] 10:45:58 ---> Running in b80c5d0be074 10:45:59 Removing intermediate container b80c5d0be074 10:45:59 ---> f831afaba4ac 10:45:59 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 10:46:00 ---> Running in 11e3c0746571 10:46:01 Removing intermediate container 11e3c0746571 10:46:01 ---> f0b5237e1f67 10:46:01 Step 20/22 : LABEL arch=amd64 10:46:02 ---> Running in 8bbcfe903982 10:46:03 Removing intermediate container 8bbcfe903982 10:46:03 ---> 011fae0894d7 10:46:03 Step 21/22 : LABEL git_sha=fd09cb9e5724e3eac6004479f2e3fd0aa223c598 10:46:04 ---> Running in dfd1ebbf9667 10:46:04 Removing intermediate container dfd1ebbf9667 10:46:04 ---> 1bdb3bca1cb3 10:46:04 Step 22/22 : LABEL version=0.0.0 10:46:05 ---> Running in 5c3f499cca2b 10:46:05 Removing intermediate container 5c3f499cca2b 10:46:05 ---> b2f2fbe9d7c0 10:46:05 [Warning] One or more build-args [ARCH] were not consumed 10:46:05 Successfully built b2f2fbe9d7c0 10:46:05 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:46:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:46:05 10:46:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:46:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:46:06 latest: Pulling from edgex-lftools-log-publisher 10:46:06 5eb5b503b376: Pulling fs layer 10:46:06 5c69ac0246d0: Pulling fs layer 10:46:06 ec43610c2a17: Pulling fs layer 10:46:06 3a2ae6a8a46f: Pulling fs layer 10:46:06 33b1e0a273af: Pulling fs layer 10:46:06 5d3b04190fa2: Pulling fs layer 10:46:06 2f39f015ded8: Pulling fs layer 10:46:06 33b1e0a273af: Waiting 10:46:06 5d3b04190fa2: Waiting 10:46:06 3a2ae6a8a46f: Waiting 10:46:06 2f39f015ded8: Waiting 10:46:06 5c69ac0246d0: Verifying Checksum 10:46:06 5c69ac0246d0: Download complete 10:46:06 3a2ae6a8a46f: Verifying Checksum 10:46:06 3a2ae6a8a46f: Download complete 10:46:06 ec43610c2a17: Verifying Checksum 10:46:06 ec43610c2a17: Download complete 10:46:06 33b1e0a273af: Verifying Checksum 10:46:06 33b1e0a273af: Download complete 10:46:06 5d3b04190fa2: Verifying Checksum 10:46:06 5d3b04190fa2: Download complete 10:46:06 5eb5b503b376: Verifying Checksum 10:46:06 5eb5b503b376: Download complete 10:46:07 2f39f015ded8: Verifying Checksum 10:46:07 2f39f015ded8: Download complete 10:46:08 5eb5b503b376: Pull complete 10:46:08 5c69ac0246d0: Pull complete 10:46:08 ec43610c2a17: Pull complete 10:46:08 3a2ae6a8a46f: Pull complete 10:46:09 33b1e0a273af: Pull complete 10:46:09 5d3b04190fa2: Pull complete 10:46:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4820 in /w/workspace/xfoundry_device-modbus-go_PR-437 [Pipeline] { [Pipeline] ws 10:46:12 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 10:46:12 Selected Git installation does not exist. Using Default 10:46:12 The recommended git tool is: NONE 10:46:13 2f39f015ded8: Pull complete 10:46:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:46:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:46:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:46:13 prd-ubuntu20.04-docker-8c-8g-4819 does not seem to be running inside a container 10:46:13 $ 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-437 -v /w/workspace/xfoundry_device-modbus-go_PR-437:/w/workspace/xfoundry_device-modbus-go_PR-437:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-437@tmp:/w/workspace/xfoundry_device-modbus-go_PR-437@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:46:16 $ docker top d61e80803d7bcf91c3c31e26c79fa4436654ed30a18634a8c6317a78dd6e77d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:46:16 ---> job-cost.sh 10:46:16 lf-activate-venv: SKIPPING 10:46:16 INFO: No Stack... 10:46:17 using credential edgex-jenkins-ssh 10:46:17 Cloning the remote Git repository 10:46:17 INFO: Retrieving Pricing Info for: v3-standard-8 10:46:17 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 10:46:17 > git init /w/workspace/device-modbus-go/2 # timeout=10 10:46:17 INFO: Archiving Costs [Pipeline] sh 10:46:17 + cat /w/workspace/xfoundry_device-modbus-go_PR-437/archives/cost.csv 10:46:17 + cut -d, -f6 [Pipeline] lock 10:46:17 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-437-2-stack-cost] 10:46:17 Resource [jenkins-edgexfoundry-device-modbus-go-PR-437-2-stack-cost] did not exist. Created. 10:46:17 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-437-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:46:18 + echo total: 0.2199999988079071 [Pipeline] stash 10:46:18 Stashed 1 file(s) [Pipeline] } 10:46:18 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-437-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:46:18 $ docker stop --time=1 d61e80803d7bcf91c3c31e26c79fa4436654ed30a18634a8c6317a78dd6e77d7 10:46:17 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 10:46:17 > git --version # timeout=10 10:46:17 > git --version # 'git version 2.25.1' 10:46:17 using GIT_SSH to set credentials SSH Credentials for GitHub 10:46:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:46:19 $ docker rm -f --volumes d61e80803d7bcf91c3c31e26c79fa4436654ed30a18634a8c6317a78dd6e77d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:46:18 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 10:46:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:46:19 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 10:46:19 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 10:46:19 using GIT_SSH to set credentials SSH Credentials for GitHub 10:46:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/437/head:refs/remotes/origin/PR-437 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:46:20 Merging remotes/origin/main commit 82ff0da3d76fda56b8be828932abbd4e3fc098e3 into PR head commit fd09cb9e5724e3eac6004479f2e3fd0aa223c598 10:46:20 Merge succeeded, producing fd09cb9e5724e3eac6004479f2e3fd0aa223c598 10:46:20 Checking out Revision fd09cb9e5724e3eac6004479f2e3fd0aa223c598 (PR-437) 10:46:20 > git config core.sparsecheckout # timeout=10 10:46:20 > git checkout -f fd09cb9e5724e3eac6004479f2e3fd0aa223c598 # timeout=10 10:46:20 > git remote # timeout=10 10:46:20 > git config --get remote.origin.url # timeout=10 10:46:20 using GIT_SSH to set credentials SSH Credentials for GitHub 10:46:20 > git merge 82ff0da3d76fda56b8be828932abbd4e3fc098e3 # timeout=10 10:46:20 > git rev-parse HEAD^{commit} # timeout=10 10:46:20 > git config core.sparsecheckout # timeout=10 10:46:20 > git checkout -f fd09cb9e5724e3eac6004479f2e3fd0aa223c598 # timeout=10 10:46:23 Commit message: "fix(snap): disable xtrace in bash script" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:46:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:46:24 % Total % Received % Xferd Average Speed Time Time Time Current 10:46:24 Dload Upload Total Spent Left Speed 10:46:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82264 0 --:--:-- --:--:-- --:--:-- 82264 100 12751 100 12751 0 0 81737 0 --:--:-- --:--:-- --:--:-- 81216 [Pipeline] sh 10:46:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:46:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:46:25 + sudo tee /etc/docker/daemon.new 10:46:25 { 10:46:25 "registry-mirrors": [ 10:46:25 "https://nexus3.edgexfoundry.org:10001" 10:46:25 ], 10:46:25 "bip": "10.250.0.254/24", 10:46:25 "hosts": [ 10:46:25 "tcp://0.0.0.0:5555", 10:46:25 "unix:///var/run/docker.sock" 10:46:25 ], 10:46:25 "mtu": 1458, 10:46:25 "selinux-enabled": true, 10:46:25 "seccomp-profile": "/etc/docker/seccomp.json" 10:46:25 } [Pipeline] sh 10:46:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:46:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:46:44 provisioning config files... 10:46:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config1408573160409770800tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:46:44 ---> docker-login.sh 10:46:44 nexus3.edgexfoundry.org:10001 10:46:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:46:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:46:45 Configure a credential helper to remove this warning. See 10:46:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:46:45 10:46:45 Login Succeeded 10:46:45 nexus3.edgexfoundry.org:10002 10:46:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:46:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:46:45 Configure a credential helper to remove this warning. See 10:46:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:46:45 10:46:45 Login Succeeded 10:46:45 nexus3.edgexfoundry.org:10003 10:46:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:46:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:46:46 Configure a credential helper to remove this warning. See 10:46:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:46:46 10:46:46 Login Succeeded 10:46:46 nexus3.edgexfoundry.org:10004 10:46:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:46:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:46:46 Configure a credential helper to remove this warning. See 10:46:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:46:46 10:46:46 Login Succeeded 10:46:46 docker.io 10:46:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:46:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:46:47 Configure a credential helper to remove this warning. See 10:46:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:46:47 10:46:47 Login Succeeded 10:46:47 ---> docker-login.sh ends [Pipeline] } 10:46:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:46:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:46:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:46:47 ========================================================= 10:46:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 10:46:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:46:47 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 10:46:47 Sending build context to Docker daemon 3.355MB 10:46:47 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 10:46:47 Step 2/10 : FROM ${BASE} AS builder 10:46:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:46:48 af6eaf76a39c: Pulling fs layer 10:46:48 55522c791124: Pulling fs layer 10:46:48 ce5c4a1c91eb: Pulling fs layer 10:46:48 169dfbe0d373: Pulling fs layer 10:46:48 e1ff8fa3b103: Pulling fs layer 10:46:48 52ebb69f0ebf: Pulling fs layer 10:46:48 5abe8eddf0d5: Pulling fs layer 10:46:48 169dfbe0d373: Waiting 10:46:48 e1ff8fa3b103: Waiting 10:46:48 52ebb69f0ebf: Waiting 10:46:48 5abe8eddf0d5: Waiting 10:46:48 55522c791124: Verifying Checksum 10:46:48 55522c791124: Download complete 10:46:48 169dfbe0d373: Verifying Checksum 10:46:48 169dfbe0d373: Download complete 10:46:48 e1ff8fa3b103: Verifying Checksum 10:46:48 e1ff8fa3b103: Download complete 10:46:48 af6eaf76a39c: Verifying Checksum 10:46:48 af6eaf76a39c: Download complete 10:46:49 af6eaf76a39c: Pull complete 10:46:49 5abe8eddf0d5: Verifying Checksum 10:46:49 5abe8eddf0d5: Download complete 10:46:49 55522c791124: Pull complete 10:46:50 ce5c4a1c91eb: Verifying Checksum 10:46:50 ce5c4a1c91eb: Download complete 10:46:50 52ebb69f0ebf: Verifying Checksum 10:46:50 52ebb69f0ebf: Download complete 10:47:03 ce5c4a1c91eb: Pull complete 10:47:03 169dfbe0d373: Pull complete 10:47:03 e1ff8fa3b103: Pull complete 10:47:08 52ebb69f0ebf: Pull complete 10:47:09 5abe8eddf0d5: Pull complete 10:47:09 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 10:47:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 10:47:10 ---> 6cb57ee374ae 10:47:10 Step 3/10 : ARG ADD_BUILD_TAGS="" 10:47:12 ---> Running in 81b0cc4f1885 10:47:12 Removing intermediate container 81b0cc4f1885 10:47:12 ---> 4a23f75f31ea 10:47:12 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:47:12 ---> Running in 1ca427157956 10:47:12 Removing intermediate container 1ca427157956 10:47:12 ---> 0ec4b43bb0d3 10:47:12 Step 5/10 : RUN apk add --update --no-cache make git openssh 10:47:12 ---> Running in d9f69946450d 10:47:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:47:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:47:14 (1/8) Installing openssh-keygen (9.1_p1-r2) 10:47:14 (2/8) Installing libedit (20221030.3.1-r0) 10:47:14 (3/8) Installing openssh-client-common (9.1_p1-r2) 10:47:14 (4/8) Installing openssh-client-default (9.1_p1-r2) 10:47:14 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 10:47:14 (6/8) Installing openssh-server-common (9.1_p1-r2) 10:47:14 (7/8) Installing openssh-server (9.1_p1-r2) 10:47:15 (8/8) Installing openssh (9.1_p1-r2) 10:47:15 Executing busybox-1.35.0-r29.trigger 10:47:15 OK: 270 MiB in 61 packages 10:47:16 Removing intermediate container d9f69946450d 10:47:16 ---> c832f2e78996 10:47:16 Step 6/10 : WORKDIR /device-modbus-go 10:47:16 ---> Running in da516b8c39c3 10:47:16 Removing intermediate container da516b8c39c3 10:47:16 ---> 4db35aa5c8d5 10:47:16 Step 7/10 : COPY go.mod vendor* ./ 10:47:17 ---> 1cda45f6f324 10:47:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:47:17 ---> Running in b72e02536844 10:48:24 Removing intermediate container b72e02536844 10:48:24 ---> 4d2b616d9b2d 10:48:24 Step 9/10 : COPY . . 10:48:24 ---> bd711dbf1604 10:48:24 Step 10/10 : RUN ${MAKE} 10:48:24 ---> Running in c9389dc33650 10:48:24 noop 10:48:24 Removing intermediate container c9389dc33650 10:48:24 ---> ddba49664d5a 10:48:24 Successfully built ddba49664d5a 10:48:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:48:25 + docker inspect -f . ci-base-image-arm64 10:48:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:48:25 prd-ubuntu20.04-docker-arm64-4c-16g-4820 does not seem to be running inside a container 10:48:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:48:26 $ docker top 2f667363558b98362afe15aee567472c1528ac3caccfdc72154c0e61e7db0dcd -eo pid,comm [Pipeline] { [Pipeline] sh 10:48:27 + go version 10:48:27 go version go1.20.2 linux/arm64 [Pipeline] } 10:48:27 $ docker stop --time=1 2f667363558b98362afe15aee567472c1528ac3caccfdc72154c0e61e7db0dcd 10:48:29 $ docker rm -f --volumes 2f667363558b98362afe15aee567472c1528ac3caccfdc72154c0e61e7db0dcd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:48:29 + docker inspect -f . ci-base-image-arm64 10:48:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:48:29 prd-ubuntu20.04-docker-arm64-4c-16g-4820 does not seem to be running inside a container 10:48:29 $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:48:31 $ docker top 3bca23955224ed8078c6d91b4053b85760e89749595f1272a5527fc04567c924 -eo pid,comm [Pipeline] { [Pipeline] sh 10:48:31 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 10:48:31 + make test 10:48:31 go test ./... -coverprofile=coverage.out 10:49:04 ? github.com/edgexfoundry/device-modbus-go [no test files] 10:50:55 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 10:50:57 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.070s coverage: 48.0% of statements 10:50:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:50:57 go vet ./... 10:51:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:51:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:51:36 ./bin/test-attribution-txt.sh [Pipeline] echo 10:51:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:51:36 $ docker stop --time=1 3bca23955224ed8078c6d91b4053b85760e89749595f1272a5527fc04567c924 10:51:38 $ docker rm -f --volumes 3bca23955224ed8078c6d91b4053b85760e89749595f1272a5527fc04567c924 [Pipeline] // withDockerContainer [Pipeline] sh 10:51:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:51:39 Warning: overwriting stash ‘coverage-report’ 10:51:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:51:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:51:41 + ls -al . 10:51:41 total 176 10:51:41 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 10:48 . 10:51:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 10:46 .. 10:51:41 -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 10:46 .dockerignore 10:51:41 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 10:46 .git 10:51:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 10:46 .github 10:51:41 -rw-rw-r-- 1 jenkins jenkins 331 Mar 21 10:46 .gitignore 10:51:41 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 10:46 .golangci.yml 10:51:41 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 21 10:46 Attribution.txt 10:51:41 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 21 10:46 CHANGELOG.md 10:51:41 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 21 10:46 Dockerfile 10:51:41 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 10:46 GOVERNANCE.md 10:51:41 -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 10:46 Jenkinsfile 10:51:41 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 10:46 LICENSE 10:51:41 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 21 10:46 Makefile 10:51:41 -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 10:46 OWNERS.md 10:51:41 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 21 10:46 README.md 10:51:41 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 10:44 VERSION 10:51:41 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 10:46 bin 10:51:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 10:46 cmd 10:51:41 -rw-r--r-- 1 jenkins jenkins 23736 Mar 21 10:50 coverage.out 10:51:41 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 21 10:46 go.mod 10:51:41 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 21 10:46 go.sum 10:51:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 10:46 internal 10:51:41 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 10:46 simulator 10:51:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 10:46 snap 10:51:41 -rw-rw-r-- 1 jenkins jenkins 229 Mar 21 10:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:51:41 + 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=fd09cb9e5724e3eac6004479f2e3fd0aa223c598 --label arch=arm64 --label version=0.0.0 . 10:51:42 Sending build context to Docker daemon 3.38MB 10:51:42 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 10:51:42 Step 2/22 : FROM ${BASE} AS builder 10:51:42 ---> ddba49664d5a 10:51:42 Step 3/22 : ARG ADD_BUILD_TAGS="" 10:51:42 ---> Running in 2e34032941eb 10:51:43 Removing intermediate container 2e34032941eb 10:51:43 ---> 81aa8d74eb20 10:51:43 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:51:43 ---> Running in ddf2c14e1599 10:51:43 Removing intermediate container ddf2c14e1599 10:51:43 ---> f8c34c68b640 10:51:43 Step 5/22 : RUN apk add --update --no-cache make git openssh 10:51:43 ---> Running in ab486d3e13d9 10:51:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:51:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:51:46 OK: 270 MiB in 61 packages 10:51:47 Removing intermediate container ab486d3e13d9 10:51:47 ---> fe11bc473802 10:51:47 Step 6/22 : WORKDIR /device-modbus-go 10:51:47 ---> Running in 44d8612ae156 10:51:47 Removing intermediate container 44d8612ae156 10:51:47 ---> 6fa70b32b9e4 10:51:47 Step 7/22 : COPY go.mod vendor* ./ 10:51:48 ---> 766901fbcafe 10:51:48 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:51:48 ---> Running in ddced5bf98c0 10:51:51 Removing intermediate container ddced5bf98c0 10:51:51 ---> f669a74f184f 10:51:51 Step 9/22 : COPY . . 10:51:51 ---> 6cb6319f1fc6 10:51:51 Step 10/22 : RUN ${MAKE} 10:51:51 ---> Running in fe39d8de7137 10:51:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 10:54:14 Removing intermediate container fe39d8de7137 10:54:14 ---> 725b1825a7f5 10:54:14 Step 11/22 : FROM alpine:3.17 10:54:14 3.17: Pulling from library/alpine 10:54:14 af6eaf76a39c: Already exists 10:54:14 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 10:54:14 Status: Downloaded newer image for alpine:3.17 10:54:14 ---> d74e625d9115 10:54:14 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 10:54:14 ---> Running in 90aea4507635 10:54:14 Removing intermediate container 90aea4507635 10:54:14 ---> 83e55f66357b 10:54:14 Step 13/22 : RUN apk add --update --no-cache dumb-init 10:54:14 ---> Running in f2a3425cc18d 10:54:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:54:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:54:14 (1/1) Installing dumb-init (1.2.5-r2) 10:54:14 Executing busybox-1.35.0-r29.trigger 10:54:14 OK: 8 MiB in 16 packages 10:54:14 Removing intermediate container f2a3425cc18d 10:54:14 ---> fe0832d38684 10:54:14 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 10:54:14 ---> 0dd4dd753e59 10:54:14 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 10:54:14 ---> aa53f30fe546 10:54:14 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 10:54:14 ---> 4c6788af9202 10:54:14 Step 17/22 : EXPOSE 59901 10:54:14 ---> Running in 59b1d1409902 10:54:14 Removing intermediate container 59b1d1409902 10:54:14 ---> bfb7578e2306 10:54:14 Step 18/22 : ENTRYPOINT ["/device-modbus"] 10:54:14 ---> Running in c4211b4011d0 10:54:14 Removing intermediate container c4211b4011d0 10:54:14 ---> 1820388fe141 10:54:14 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 10:54:14 ---> Running in 6580f1f42024 10:54:14 Removing intermediate container 6580f1f42024 10:54:14 ---> 96e7942ab54f 10:54:14 Step 20/22 : LABEL arch=arm64 10:54:14 ---> Running in 47c8731fddcf 10:54:14 Removing intermediate container 47c8731fddcf 10:54:14 ---> b99a05c0eb82 10:54:14 Step 21/22 : LABEL git_sha=fd09cb9e5724e3eac6004479f2e3fd0aa223c598 10:54:14 ---> Running in 060b2a8b94cb 10:54:14 Removing intermediate container 060b2a8b94cb 10:54:14 ---> 79816b8e2ebd 10:54:14 Step 22/22 : LABEL version=0.0.0 10:54:14 ---> Running in 116334498b49 10:54:14 Removing intermediate container 116334498b49 10:54:14 ---> f7ef0b71e51e 10:54:14 [Warning] One or more build-args [ARCH] were not consumed 10:54:14 Successfully built f7ef0b71e51e 10:54:14 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:54:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:54:14 10:54:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:54:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:54:15 arm64: Pulling from edgex-lftools-log-publisher 10:54:15 8998bd30e6a1: Pulling fs layer 10:54:15 04944245beec: Pulling fs layer 10:54:15 699f458cf7ca: Pulling fs layer 10:54:15 765212b225bb: Pulling fs layer 10:54:15 f23df028b6ca: Pulling fs layer 10:54:15 d65c8cfc05b1: Pulling fs layer 10:54:15 2437ff75d9bd: Pulling fs layer 10:54:15 f23df028b6ca: Waiting 10:54:15 d65c8cfc05b1: Waiting 10:54:15 765212b225bb: Waiting 10:54:15 2437ff75d9bd: Waiting 10:54:15 04944245beec: Verifying Checksum 10:54:15 04944245beec: Download complete 10:54:15 765212b225bb: Verifying Checksum 10:54:15 765212b225bb: Download complete 10:54:15 f23df028b6ca: Verifying Checksum 10:54:15 f23df028b6ca: Download complete 10:54:15 d65c8cfc05b1: Download complete 10:54:15 699f458cf7ca: Verifying Checksum 10:54:15 699f458cf7ca: Download complete 10:54:16 8998bd30e6a1: Verifying Checksum 10:54:16 8998bd30e6a1: Download complete 10:54:18 2437ff75d9bd: Verifying Checksum 10:54:18 2437ff75d9bd: Download complete 10:54:19 8998bd30e6a1: Pull complete 10:54:20 04944245beec: Pull complete 10:54:21 699f458cf7ca: Pull complete 10:54:21 765212b225bb: Pull complete 10:54:21 f23df028b6ca: Pull complete 10:54:22 d65c8cfc05b1: Pull complete 10:54:37 2437ff75d9bd: Pull complete 10:54:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:54:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:54:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:54:37 prd-ubuntu20.04-docker-arm64-4c-16g-4820 does not seem to be running inside a container 10:54:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:54:40 $ docker top b093c17270191a742fb21a480ca4799f470e16af6c6409d4f776da8f85529bcb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:54:40 ---> job-cost.sh 10:54:40 lf-activate-venv: SKIPPING 10:54:40 INFO: No Stack... 10:54:41 INFO: Retrieving Pricing Info for: v3-standard-4 10:54:42 INFO: Archiving Costs [Pipeline] sh 10:54:43 + + cutcat -d, /w/workspace/device-modbus-go/2/archives/cost.csv -f6 10:54:43 [Pipeline] lock 10:54:43 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-437-2-stack-cost] 10:54:43 Resource [jenkins-edgexfoundry-device-modbus-go-PR-437-2-stack-cost] did not exist. Created. 10:54:43 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-437-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:54:43 /w/workspace/device-modbus-go/2@tmp/durable-aae9000d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:54:44 + echo total: 0.10999999940395355 [Pipeline] stash 10:54:44 Warning: overwriting stash ‘stack-cost’ 10:54:44 Stashed 1 file(s) [Pipeline] } 10:54:44 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-437-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:54:44 $ docker stop --time=1 b093c17270191a742fb21a480ca4799f470e16af6c6409d4f776da8f85529bcb 10:54:46 $ docker rm -f --volumes b093c17270191a742fb21a480ca4799f470e16af6c6409d4f776da8f85529bcb [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 10:54:46 provisioning config files... 10:54:46 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-437@tmp/config7040088513958688165tmp [Pipeline] { [Pipeline] sh 10:54:46 + set +x 10:54:46 + curl -s https://codecov.io/bash 10:54:46 + bash -s -- 10:54:46 10:54:46 _____ _ 10:54:46 / ____| | | 10:54:46 | | ___ __| | ___ ___ _____ __ 10:54:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:54:46 | |___| (_) | (_| | __/ (_| (_) \ V / 10:54:46 \_____\___/ \__,_|\___|\___\___/ \_/ 10:54:46 Bash-1.0.6 10:54:46 10:54:46 10:54:46 ==> git version 2.25.1 found 10:54:46 ==> 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 10:54:46 Release-Date: 2020-01-08 10:54:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:54:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:54:46 ==> Jenkins CI detected. 10:54:46 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-437 10:54:46 project root: . 10:54:46 --> token set from env 10:54:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:54:46 ==> Running gcov in . (disable via -X gcov) 10:54:46 ==> Python coveragepy not found 10:54:46 ==> Searching for coverage reports in: 10:54:46 + . 10:54:46 -> Found 1 reports 10:54:46 ==> Detecting git/mercurial file structure 10:54:46 ==> Reading reports 10:54:46 + ./coverage.out bytes=23736 10:54:46 ==> Appending adjustments 10:54:46 https://docs.codecov.io/docs/fixing-reports 10:54:47 + Found adjustments 10:54:47 ==> Gzipping contents 10:54:47 4.0K /tmp/codecov.23NNUd.gz 10:54:47 ==> Uploading reports 10:54:47 url: https://codecov.io 10:54:47 query: branch=PR-437&commit=fd09cb9e5724e3eac6004479f2e3fd0aa223c598&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-437%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=437&job=&cmd_args= 10:54:47 -> Pinging Codecov 10:54:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-437&commit=fd09cb9e5724e3eac6004479f2e3fd0aa223c598&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-437%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=437&job=&cmd_args= 10:54:47 -> Uploading to 10:54:47 https://storage.googleapis.com/codecov/v4/raw/2023-03-21/55DBCA73C666E3227836607328DD7E49/fd09cb9e5724e3eac6004479f2e3fd0aa223c598/1480156a-4aea-404f-8b93-3d567f039953.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T105447Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3690f7b50542b8fbe506c75cd93bf80139e8a8aebe15b8441c11ff47db34af51 10:54:47 % Total % Received % Xferd Average Speed Time Time Time Current 10:54:47 Dload Upload Total Spent Left Speed 10:54:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3911 0 0 100 3911 0 12656 --:--:-- --:--:-- --:--:-- 12698 10:54:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/fd09cb9e5724e3eac6004479f2e3fd0aa223c598 [Pipeline] } 10:54:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:54:48 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-437/archives ] 10:54:48 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-437/archives 10:54:48 total 16 10:54:48 drwxr-xr-x 3 root root 4096 Mar 21 10:46 . 10:54:48 drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 10:46 .. 10:54:48 drwxr-xr-x 2 root root 4096 Mar 21 10:46 cost 10:54:48 -rw-r--r-- 1 root root 88 Mar 21 10:46 cost.csv 10:54:48 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-437/archives 10:54:48 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-437/archives 10:54:48 total 16 10:54:48 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 10:46 . 10:54:48 drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 10:46 .. 10:54:48 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 10:46 cost 10:54:48 -rw-r--r-- 1 jenkins jenkins 88 Mar 21 10:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:54:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:54:49 ---> package-listing.sh 10:54:49 ++ facter osfamily 10:54:49 ++ tr '[:upper:]' '[:lower:]' 10:54:49 + OS_FAMILY=debian 10:54:49 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-437 10:54:49 + START_PACKAGES=/tmp/packages_start.txt 10:54:49 + END_PACKAGES=/tmp/packages_end.txt 10:54:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:54:49 + PACKAGES=/tmp/packages_start.txt 10:54:49 + '[' /w/workspace/xfoundry_device-modbus-go_PR-437 ']' 10:54:49 + PACKAGES=/tmp/packages_end.txt 10:54:49 + case "${OS_FAMILY}" in 10:54:49 + dpkg -l 10:54:49 + grep '^ii' 10:54:49 + '[' -f /tmp/packages_start.txt ']' 10:54:49 + '[' -f /tmp/packages_end.txt ']' 10:54:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:54:49 + '[' /w/workspace/xfoundry_device-modbus-go_PR-437 ']' 10:54:49 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-437/archives/ 10:54:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-437/archives/ [Pipeline] echo 10:54:49 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-437/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:54:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:54:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:54:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:54:50 prd-ubuntu20.04-docker-8c-8g-4819 does not seem to be running inside a container 10:54:50 $ 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-437/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-437 -v /w/workspace/xfoundry_device-modbus-go_PR-437:/w/workspace/xfoundry_device-modbus-go_PR-437:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-437@tmp:/w/workspace/xfoundry_device-modbus-go_PR-437@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:54:51 $ docker top 0f24f8c91c9e85ff9cbd0094df4b2d1f6a849f8aea28f6d3741bf581ec5574cc -eo pid,comm [Pipeline] { [Pipeline] sh 10:54:51 + touch /tmp/pre-build-complete [Pipeline] sh 10:54:51 + mkdir -p /var/log/sysstat [Pipeline] sh 10:54:51 + ls /var/log/sa-host 10:54:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:54:52 provisioning config files... 10:54:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-437@tmp/config13406215705142962308tmp [Pipeline] { [Pipeline] echo 10:54:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:54:52 ---> create-netrc.sh [Pipeline] } 10:54:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:54:52 ---> python-tools-install.sh [Pipeline] echo 10:54:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:54:53 ---> sudo-logs.sh 10:54:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:54:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:54:53 ---> job-cost.sh 10:54:53 lf-activate-venv: SKIPPING 10:54:53 DEBUG: total: 0.2199999988079071 10:54:53 INFO: Retrieving Stack Cost... 10:54:53 INFO: Retrieving Pricing Info for: v3-standard-8 10:54:54 INFO: Archiving Costs [Pipeline] echo 10:54:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:54:54 ---> logs-deploy.sh 10:54:54 lf-activate-venv: SKIPPING 10:54:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-437/2 10:54:54 INFO: archiving workspace using pattern(s): 10:54:55 Archives upload complete. 10:54:55 INFO: archiving logs to Nexus