Pull request #482 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 22e2bd792e0f98a946f74983077dafc27adbdd1a+2cc3518655efefba22ff17e7bf1dcccbd8773e75 (94c7f10d1645ebd73c2aec8d1076a225a63a8fe8) 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-ssh15862386640692789735.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh13467828588677110008.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-482/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-482/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2218504918648156644.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-482/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2948518346538285307.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13044879060697918751.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-482/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-482/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16907384543172263225.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-15841 in /w/workspace/xfoundry_device-modbus-go_PR-482 [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-482 # 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/482/head:refs/remotes/origin/PR-482 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2cc3518655efefba22ff17e7bf1dcccbd8773e75 into PR head commit 22e2bd792e0f98a946f74983077dafc27adbdd1a Merge succeeded, producing 22e2bd792e0f98a946f74983077dafc27adbdd1a Checking out Revision 22e2bd792e0f98a946f74983077dafc27adbdd1a (PR-482) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 22e2bd792e0f98a946f74983077dafc27adbdd1a # 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 2cc3518655efefba22ff17e7bf1dcccbd8773e75 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 22e2bd792e0f98a946f74983077dafc27adbdd1a # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:00:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:00:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:00:04 ========================================================= 06:00:04 EdgeX Global Pipelines Version Info 06:00:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:00:04 ------------------- 06:00:04 stable info: 06:00:04 ------------------- 06:00:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:00:04 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 06:00:04 Message: update stable to v1.0.249 06:00:05 ------------------- 06:00:05 experimental info: 06:00:05 ------------------- 06:00:05 Commited By: **** collab-it+edgex@linuxfoundation.org 06:00:05 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 06:00:05 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:00:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:00:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:00:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:00:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:00:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:00:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:00:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:00:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:00:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:00:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:00:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:00:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:00:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:00:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:00:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:00:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:00:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:00:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:00:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:00:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:00:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:00:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:00:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:00:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:00:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:00:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:00:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:00:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-482 [Pipeline] echo 06:00:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-482 [Pipeline] echo 06:00:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-482 [Pipeline] echo 06:00:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 22e2bd792e0f98a946f74983077dafc27adbdd1a [Pipeline] echo 06:00:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 22e2bd7 [Pipeline] echo 06:00:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:00:07 provisioning config files... 06:00:07 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-482@tmp/config9817964747450044800tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:07 ---> docker-login.sh 06:00:07 nexus3.edgexfoundry.org:10001 06:00:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:07 Configure a credential helper to remove this warning. See 06:00:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:07 06:00:07 Login Succeeded 06:00:07 nexus3.edgexfoundry.org:10002 06:00:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:08 Configure a credential helper to remove this warning. See 06:00:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:08 06:00:08 Login Succeeded 06:00:08 nexus3.edgexfoundry.org:10003 06:00:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:08 Configure a credential helper to remove this warning. See 06:00:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:08 06:00:08 Login Succeeded 06:00:08 nexus3.edgexfoundry.org:10004 06:00:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:08 Configure a credential helper to remove this warning. See 06:00:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:08 06:00:08 Login Succeeded 06:00:08 docker.io 06:00:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:11 Configure a credential helper to remove this warning. See 06:00:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:11 06:00:11 Login Succeeded 06:00:11 ---> docker-login.sh ends [Pipeline] } 06:00:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:00:12 + git rev-list -1 --merges 22e2bd792e0f98a946f74983077dafc27adbdd1a~1..22e2bd792e0f98a946f74983077dafc27adbdd1a [Pipeline] echo 06:00:12 -----------> git rev-list -1 --merges 22e2bd792e0f98a946f74983077dafc27adbdd1a~1..22e2bd792e0f98a946f74983077dafc27adbdd1a 22e2bd792e0f98a946f74983077dafc27adbdd1a [false] [Pipeline] sh 06:00:12 + git log --format=format:%s -1 22e2bd792e0f98a946f74983077dafc27adbdd1a [Pipeline] echo 06:00:12 ========================================================= 06:00:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:00:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:13 + git log --format=format:%s -1 22e2bd792e0f98a946f74983077dafc27adbdd1a [Pipeline] echo 06:00:13 [semverPrep] GIT_COMMIT: 22e2bd792e0f98a946f74983077dafc27adbdd1a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 06:00:13 [semverPrep] This is not a build commit. [Pipeline] sh 06:00:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:00:13 + grep -v github /etc/ssh/ssh_known_hosts 06:00:13 + [ -e /tmp/ssh_known_hosts ] 06:00:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:00:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:00:13 + sudo tee -a /etc/ssh/ssh_known_hosts 06:00:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:14 06:00:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:14 0.1.4: Pulling from edgex-devops/py-git-semver 06:00:14 b85a868b505f: Pulling fs layer 06:00:14 e2be974225ed: Pulling fs layer 06:00:14 339a4e72a1f5: Pulling fs layer 06:00:14 988bab9f4d93: Pulling fs layer 06:00:14 1469e6f7b9e6: Pulling fs layer 06:00:14 eaf3925da568: Pulling fs layer 06:00:14 bab4dde63d76: Pulling fs layer 06:00:14 bde34c3a00c8: Pulling fs layer 06:00:14 b352a97aabf1: Pulling fs layer 06:00:14 4872d77fe225: Pulling fs layer 06:00:14 5851b861e8e6: Pulling fs layer 06:00:14 988bab9f4d93: Waiting 06:00:14 1469e6f7b9e6: Waiting 06:00:14 eaf3925da568: Waiting 06:00:14 bab4dde63d76: Waiting 06:00:14 bde34c3a00c8: Waiting 06:00:14 b352a97aabf1: Waiting 06:00:14 4872d77fe225: Waiting 06:00:14 5851b861e8e6: Waiting 06:00:14 e2be974225ed: Verifying Checksum 06:00:14 e2be974225ed: Download complete 06:00:14 988bab9f4d93: Verifying Checksum 06:00:14 988bab9f4d93: Download complete 06:00:14 1469e6f7b9e6: Verifying Checksum 06:00:14 1469e6f7b9e6: Download complete 06:00:14 339a4e72a1f5: Verifying Checksum 06:00:14 339a4e72a1f5: Download complete 06:00:15 eaf3925da568: Verifying Checksum 06:00:15 eaf3925da568: Download complete 06:00:15 bde34c3a00c8: Verifying Checksum 06:00:15 bde34c3a00c8: Download complete 06:00:15 b352a97aabf1: Download complete 06:00:15 4872d77fe225: Verifying Checksum 06:00:15 4872d77fe225: Download complete 06:00:15 5851b861e8e6: Verifying Checksum 06:00:15 b85a868b505f: Verifying Checksum 06:00:15 b85a868b505f: Download complete 06:00:15 bab4dde63d76: Verifying Checksum 06:00:15 bab4dde63d76: Download complete 06:00:16 b85a868b505f: Pull complete 06:00:16 e2be974225ed: Pull complete 06:00:16 339a4e72a1f5: Pull complete 06:00:16 988bab9f4d93: Pull complete 06:00:17 1469e6f7b9e6: Pull complete 06:00:17 eaf3925da568: Pull complete 06:00:19 bab4dde63d76: Pull complete 06:00:19 bde34c3a00c8: Pull complete 06:00:19 b352a97aabf1: Pull complete 06:00:19 4872d77fe225: Pull complete 06:00:19 5851b861e8e6: Pull complete 06:00:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:00:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:19 prd-ubuntu20.04-docker-8c-8g-15841 does not seem to be running inside a container 06:00:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-482 -v /w/workspace/xfoundry_device-modbus-go_PR-482:/w/workspace/xfoundry_device-modbus-go_PR-482:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-482@tmp:/w/workspace/xfoundry_device-modbus-go_PR-482@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:00:21 $ docker top 21eaea5057affab5a41e3364b33e6947d4bf3e21357e189707b37909ea7db36f -eo pid,comm 06:00:21 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:00:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:00:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:21 [ssh-agent] Looking for ssh-agent implementation... 06:00:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:21 $ docker exec 21eaea5057affab5a41e3364b33e6947d4bf3e21357e189707b37909ea7db36f ssh-agent 06:00:21 SSH_AUTH_SOCK=/tmp/ssh-yZi1EABtmN6k/agent.33 06:00:21 SSH_AGENT_PID=39 06:00:21 Running ssh-add (command line suppressed) 06:00:22 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-482@tmp/private_key_11752240201140971899.key (/w/workspace/xfoundry_device-modbus-go_PR-482@tmp/private_key_11752240201140971899.key) 06:00:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:22 + git tag --points-at HEAD [Pipeline] } 06:00:22 $ docker exec --env ******** --env ******** 21eaea5057affab5a41e3364b33e6947d4bf3e21357e189707b37909ea7db36f ssh-agent -k 06:00:22 unset SSH_AUTH_SOCK; 06:00:22 unset SSH_AGENT_PID; 06:00:22 echo Agent pid 39 killed; 06:00:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:00:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:22 [ssh-agent] Looking for ssh-agent implementation... 06:00:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:22 $ docker exec 21eaea5057affab5a41e3364b33e6947d4bf3e21357e189707b37909ea7db36f ssh-agent 06:00:22 SSH_AUTH_SOCK=/tmp/ssh-qrhDeRhb21Qf/agent.71 06:00:22 SSH_AGENT_PID=77 06:00:22 Running ssh-add (command line suppressed) 06:00:22 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-482@tmp/private_key_12390930572990420677.key (/w/workspace/xfoundry_device-modbus-go_PR-482@tmp/private_key_12390930572990420677.key) 06:00:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:23 + git semver init 06:00:23 2023-05-17 06:00:23,482 [run_init] DEBUG init version:0.0.0 force:False 06:00:23 2023-05-17 06:00:23,483 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-482/.semver 06:00:23 2023-05-17 06:00:23,484 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-482/.semver 06:00:23 2023-05-17 06:00:23,484 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-482/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-482, universal_newlines=False, shell=None, istream=None) 06:00:24 2023-05-17 06:00:24,274 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-482/.git/info/exclude 06:00:24 2023-05-17 06:00:24,274 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-482/.semver/PR-482 with force:False 06:00:24 2023-05-17 06:00:24,274 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-482/.semver/PR-482 06:00:24 2023-05-17 06:00:24,278 [execute] INFO git cat-file --batch-check 06:00:24 2023-05-17 06:00:24,279 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-482/.semver, universal_newlines=False, shell=None, istream=) 06:00:24 2023-05-17 06:00:24,285 [execute] INFO git cat-file --batch 06:00:24 2023-05-17 06:00:24,285 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-482/.semver, universal_newlines=False, shell=None, istream=) 06:00:24 2023-05-17 06:00:24,290 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-482/.semver/PR-482 06:00:24 0.0.0 [Pipeline] } 06:00:24 $ docker exec --env ******** --env ******** 21eaea5057affab5a41e3364b33e6947d4bf3e21357e189707b37909ea7db36f ssh-agent -k 06:00:24 unset SSH_AUTH_SOCK; 06:00:24 unset SSH_AGENT_PID; 06:00:24 echo Agent pid 77 killed; 06:00:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:00:25 + git semver [Pipeline] } 06:00:25 $ docker stop --time=1 21eaea5057affab5a41e3364b33e6947d4bf3e21357e189707b37909ea7db36f 06:00:26 $ docker rm -f --volumes 21eaea5057affab5a41e3364b33e6947d4bf3e21357e189707b37909ea7db36f [Pipeline] // withDockerContainer [Pipeline] sh 06:00:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:00:27 Stashed 1 file(s) [Pipeline] echo 06:00:27 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:00:27 provisioning config files... 06:00:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-482@tmp/config8539634500069310592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:28 ---> docker-login.sh 06:00:28 nexus3.edgexfoundry.org:10001 06:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:28 Configure a credential helper to remove this warning. See 06:00:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:28 06:00:28 Login Succeeded 06:00:28 nexus3.edgexfoundry.org:10002 06:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:28 Configure a credential helper to remove this warning. See 06:00:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:28 06:00:28 Login Succeeded 06:00:28 nexus3.edgexfoundry.org:10003 06:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:28 Configure a credential helper to remove this warning. See 06:00:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:28 06:00:28 Login Succeeded 06:00:28 nexus3.edgexfoundry.org:10004 06:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:28 Configure a credential helper to remove this warning. See 06:00:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:28 06:00:28 Login Succeeded 06:00:28 docker.io 06:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:28 Configure a credential helper to remove this warning. See 06:00:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:28 06:00:28 Login Succeeded 06:00:28 ---> docker-login.sh ends [Pipeline] } 06:00:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:00:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:29 ========================================================= 06:00:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:00:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:29 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:00:29 Sending build context to Docker daemon 6.531MB 06:00:29 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:00:29 Step 2/10 : FROM ${BASE} AS builder 06:00:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:00:29 f56be85fc22e: Pulling fs layer 06:00:29 85791d961cd3: Pulling fs layer 06:00:29 d694b5ae8c79: Pulling fs layer 06:00:29 9f32a84ed3da: Pulling fs layer 06:00:29 4d19c01a9841: Pulling fs layer 06:00:29 9325e15d5711: Pulling fs layer 06:00:29 556b6ee489ea: Pulling fs layer 06:00:29 c5a4b2cf53e6: Pulling fs layer 06:00:29 4d19c01a9841: Waiting 06:00:29 9325e15d5711: Waiting 06:00:29 9f32a84ed3da: Waiting 06:00:29 c5a4b2cf53e6: Waiting 06:00:29 85791d961cd3: Verifying Checksum 06:00:29 85791d961cd3: Download complete 06:00:29 9f32a84ed3da: Download complete 06:00:29 4d19c01a9841: Verifying Checksum 06:00:29 4d19c01a9841: Download complete 06:00:29 f56be85fc22e: Verifying Checksum 06:00:29 f56be85fc22e: Download complete 06:00:29 9325e15d5711: Verifying Checksum 06:00:29 9325e15d5711: Download complete 06:00:29 f56be85fc22e: Pull complete 06:00:30 85791d961cd3: Pull complete 06:00:30 c5a4b2cf53e6: Verifying Checksum 06:00:30 c5a4b2cf53e6: Download complete 06:00:30 d694b5ae8c79: Download complete 06:00:30 556b6ee489ea: Verifying Checksum 06:00:30 556b6ee489ea: Download complete 06:00:33 d694b5ae8c79: Pull complete 06:00:33 9f32a84ed3da: Pull complete 06:00:33 4d19c01a9841: Pull complete 06:00:33 9325e15d5711: Pull complete 06:00:36 556b6ee489ea: Pull complete 06:00:36 c5a4b2cf53e6: Pull complete 06:00:36 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 06:00:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:00:36 ---> c4be618373d6 06:00:36 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:00:40 ---> Running in 73f95f0ff929 06:00:40 Removing intermediate container 73f95f0ff929 06:00:40 ---> 5fb22185476b 06:00:40 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:00:40 ---> Running in c135a9bc1f73 06:00:40 Removing intermediate container c135a9bc1f73 06:00:40 ---> eed0be5a94f8 06:00:40 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:00:40 ---> Running in a2a7a88fa635 06:00:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:00:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:00:41 (1/8) Installing openssh-keygen (9.1_p1-r3) 06:00:41 (2/8) Installing libedit (20221030.3.1-r0) 06:00:41 (3/8) Installing openssh-client-common (9.1_p1-r3) 06:00:41 (4/8) Installing openssh-client-default (9.1_p1-r3) 06:00:41 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 06:00:41 (6/8) Installing openssh-server-common (9.1_p1-r3) 06:00:41 (7/8) Installing openssh-server (9.1_p1-r3) 06:00:41 (8/8) Installing openssh (9.1_p1-r3) 06:00:41 Executing busybox-1.35.0-r29.trigger 06:00:41 OK: 270 MiB in 61 packages 06:00:41 Removing intermediate container a2a7a88fa635 06:00:41 ---> c14efa9aba96 06:00:41 Step 6/10 : WORKDIR /device-modbus-go 06:00:41 ---> Running in 0d41aec8568b 06:00:41 Removing intermediate container 0d41aec8568b 06:00:41 ---> ad6a7d9b5232 06:00:41 Step 7/10 : COPY go.mod vendor* ./ 06:00:41 ---> 22fa61f1adc3 06:00:41 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:00:42 ---> Running in 2d57b1b1d5fe 06:00:42 Still waiting to schedule task 06:00:42 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15842’ 06:01:08 Removing intermediate container 2d57b1b1d5fe 06:01:08 ---> 6ac669123536 06:01:08 Step 9/10 : COPY . . 06:01:08 ---> a1a59d51edd3 06:01:08 Step 10/10 : RUN ${MAKE} 06:01:08 ---> Running in 6bd90f2a769b 06:01:08 noop 06:01:08 Removing intermediate container 6bd90f2a769b 06:01:08 ---> 436fda724150 06:01:08 Successfully built 436fda724150 06:01:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:09 + docker inspect -f . ci-base-image-x86_64 06:01:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:09 prd-ubuntu20.04-docker-8c-8g-15841 does not seem to be running inside a container 06:01:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-482 -v /w/workspace/xfoundry_device-modbus-go_PR-482:/w/workspace/xfoundry_device-modbus-go_PR-482:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-482@tmp:/w/workspace/xfoundry_device-modbus-go_PR-482@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 ******** ci-base-image-x86_64 cat 06:01:09 $ docker top e163732860b7939bf912040b6688a102ab6d17d9f640e99037fcbe610e38e4db -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:10 + go version 06:01:10 go version go1.20.2 linux/amd64 [Pipeline] } 06:01:10 $ docker stop --time=1 e163732860b7939bf912040b6688a102ab6d17d9f640e99037fcbe610e38e4db 06:01:11 $ docker rm -f --volumes e163732860b7939bf912040b6688a102ab6d17d9f640e99037fcbe610e38e4db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:12 + docker inspect -f . ci-base-image-x86_64 06:01:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:12 prd-ubuntu20.04-docker-8c-8g-15841 does not seem to be running inside a container 06:01:12 $ 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-482 -v /w/workspace/xfoundry_device-modbus-go_PR-482:/w/workspace/xfoundry_device-modbus-go_PR-482:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-482@tmp:/w/workspace/xfoundry_device-modbus-go_PR-482@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 ******** ci-base-image-x86_64 cat 06:01:12 $ docker top 50741e951d97672363bca598795c9d65568c4b0c90a96b89479dcb1b3acff768 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:13 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-482 [Pipeline] fileExists [Pipeline] sh 06:01:13 + make test 06:01:13 go test ./... -coverprofile=coverage.out 06:01:18 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:01:28 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:01:28 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.4% of statements 06:01:35 go vet ./... 06:01:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:01:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:01:38 ./bin/test-attribution-txt.sh [Pipeline] echo 06:01:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:01:38 $ docker stop --time=1 50741e951d97672363bca598795c9d65568c4b0c90a96b89479dcb1b3acff768 06:01:41 $ docker rm -f --volumes 50741e951d97672363bca598795c9d65568c4b0c90a96b89479dcb1b3acff768 [Pipeline] // withDockerContainer [Pipeline] sh 06:01:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:01:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:01:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:01:43 + ls -al . 06:01:43 total 184 06:01:43 drwxrwxr-x 10 jenkins jenkins 4096 May 17 06:01 . 06:01:43 drwxrwxr-x 4 jenkins jenkins 4096 May 17 06:00 .. 06:01:43 -rw-rw-r-- 1 jenkins jenkins 140 May 17 06:00 .dockerignore 06:01:43 drwxrwxr-x 8 jenkins jenkins 4096 May 17 06:00 .git 06:01:43 drwxrwxr-x 3 jenkins jenkins 4096 May 17 06:00 .github 06:01:43 -rw-rw-r-- 1 jenkins jenkins 331 May 17 06:00 .gitignore 06:01:43 -rw-rw-r-- 1 jenkins jenkins 41 May 17 06:00 .golangci.yml 06:01:43 drwxr-xr-x 3 jenkins jenkins 4096 May 17 06:00 .semver 06:01:43 -rw-rw-r-- 1 jenkins jenkins 10132 May 17 06:00 Attribution.txt 06:01:43 -rw-rw-r-- 1 jenkins jenkins 11576 May 17 06:00 CHANGELOG.md 06:01:43 -rw-rw-r-- 1 jenkins jenkins 1365 May 17 06:00 Dockerfile 06:01:43 -rw-rw-r-- 1 jenkins jenkins 677 May 17 06:00 GOVERNANCE.md 06:01:43 -rw-rw-r-- 1 jenkins jenkins 680 May 17 06:00 Jenkinsfile 06:01:43 -rw-rw-r-- 1 jenkins jenkins 11340 May 17 06:00 LICENSE 06:01:43 -rw-rw-r-- 1 jenkins jenkins 1705 May 17 06:00 Makefile 06:01:43 -rw-rw-r-- 1 jenkins jenkins 622 May 17 06:00 OWNERS.md 06:01:43 -rw-rw-r-- 1 jenkins jenkins 4554 May 17 06:00 README.md 06:01:43 -rw-rw-r-- 1 jenkins jenkins 5 May 17 06:00 VERSION 06:01:43 drwxrwxr-x 2 jenkins jenkins 4096 May 17 06:00 bin 06:01:43 drwxrwxr-x 3 jenkins jenkins 4096 May 17 06:00 cmd 06:01:43 -rw-r--r-- 1 jenkins jenkins 24160 May 17 06:01 coverage.out 06:01:43 -rw-rw-r-- 1 jenkins jenkins 3453 May 17 06:00 go.mod 06:01:43 -rw-rw-r-- 1 jenkins jenkins 31670 May 17 06:00 go.sum 06:01:43 drwxrwxr-x 3 jenkins jenkins 4096 May 17 06:00 internal 06:01:43 drwxrwxr-x 2 jenkins jenkins 4096 May 17 06:00 simulator 06:01:43 drwxrwxr-x 4 jenkins jenkins 4096 May 17 06:00 snap 06:01:43 -rw-rw-r-- 1 jenkins jenkins 229 May 17 06:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:43 + 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=22e2bd792e0f98a946f74983077dafc27adbdd1a --label arch=amd64 --label version=0.0.0 . 06:01:43 Sending build context to Docker daemon 6.556MB 06:01:43 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:01:43 Step 2/22 : FROM ${BASE} AS builder 06:01:43 ---> 436fda724150 06:01:43 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:01:44 ---> Running in 0d6cd9f64673 06:01:44 Removing intermediate container 0d6cd9f64673 06:01:44 ---> 09ecc25690e2 06:01:44 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:01:44 ---> Running in f43ad6cb0449 06:01:44 Removing intermediate container f43ad6cb0449 06:01:44 ---> a97d700be3c3 06:01:44 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:01:44 ---> Running in 39eb46ab2767 06:01:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:01:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:01:44 OK: 270 MiB in 61 packages 06:01:45 Removing intermediate container 39eb46ab2767 06:01:45 ---> d7b9f461cf49 06:01:45 Step 6/22 : WORKDIR /device-modbus-go 06:01:45 ---> Running in aa2f4d6ece50 06:01:45 Removing intermediate container aa2f4d6ece50 06:01:45 ---> 9663cea39e59 06:01:45 Step 7/22 : COPY go.mod vendor* ./ 06:01:45 ---> 1f5d04b51a64 06:01:45 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:01:45 ---> Running in b935af5b99ab 06:01:46 Removing intermediate container b935af5b99ab 06:01:46 ---> 02d4cbb92e19 06:01:46 Step 9/22 : COPY . . 06:01:46 ---> 187bda16b54e 06:01:46 Step 10/22 : RUN ${MAKE} 06:01:46 ---> Running in 2e191898b709 06:01:46 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 06:02:08 Removing intermediate container 2e191898b709 06:02:08 ---> 42d701041396 06:02:08 Step 11/22 : FROM alpine:3.17 06:02:08 3.17: Pulling from library/alpine 06:02:08 f56be85fc22e: Already exists 06:02:08 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:02:08 Status: Downloaded newer image for alpine:3.17 06:02:08 ---> 9ed4aefc74f6 06:02:08 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:02:08 ---> Running in 2ee9b7fe7150 06:02:08 Removing intermediate container 2ee9b7fe7150 06:02:08 ---> a75c084dc630 06:02:08 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:02:08 ---> Running in aef406b61406 06:02:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:02:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:02:08 (1/1) Installing dumb-init (1.2.5-r2) 06:02:08 Executing busybox-1.35.0-r29.trigger 06:02:08 OK: 7 MiB in 16 packages 06:02:08 Removing intermediate container aef406b61406 06:02:08 ---> e6076c6e2361 06:02:08 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:02:08 ---> 269d2d41bb16 06:02:08 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:02:08 ---> 3dd6b9e677ec 06:02:08 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:02:08 ---> 2e4e06405002 06:02:08 Step 17/22 : EXPOSE 59901 06:02:08 ---> Running in 915559bd6a3b 06:02:08 Removing intermediate container 915559bd6a3b 06:02:08 ---> 07bb6fc30ae3 06:02:08 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:02:08 ---> Running in 54d82e1778c8 06:02:08 Removing intermediate container 54d82e1778c8 06:02:08 ---> 120f18eea3ad 06:02:08 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:02:08 ---> Running in 8fccc3cb4600 06:02:08 Removing intermediate container 8fccc3cb4600 06:02:08 ---> 4201f1bc10a1 06:02:08 Step 20/22 : LABEL arch=amd64 06:02:08 ---> Running in f5a7222bcc87 06:02:08 Removing intermediate container f5a7222bcc87 06:02:08 ---> 723b24402184 06:02:08 Step 21/22 : LABEL git_sha=22e2bd792e0f98a946f74983077dafc27adbdd1a 06:02:08 ---> Running in 91775ac16e37 06:02:08 Removing intermediate container 91775ac16e37 06:02:08 ---> df0cd116b291 06:02:08 Step 22/22 : LABEL version=0.0.0 06:02:08 ---> Running in 9ab8c87271cd 06:02:08 Removing intermediate container 9ab8c87271cd 06:02:08 ---> c4a7965586af 06:02:08 [Warning] One or more build-args [ARCH] were not consumed 06:02:08 Successfully built c4a7965586af 06:02:08 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 06:02:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:02:09 06:02:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:02:10 latest: Pulling from edgex-lftools-log-publisher 06:02:10 5eb5b503b376: Pulling fs layer 06:02:10 5c69ac0246d0: Pulling fs layer 06:02:10 ec43610c2a17: Pulling fs layer 06:02:10 3a2ae6a8a46f: Pulling fs layer 06:02:10 33b1e0a273af: Pulling fs layer 06:02:10 5d3b04190fa2: Pulling fs layer 06:02:10 2f39f015ded8: Pulling fs layer 06:02:10 3a2ae6a8a46f: Waiting 06:02:10 33b1e0a273af: Waiting 06:02:10 2f39f015ded8: Waiting 06:02:10 5c69ac0246d0: Verifying Checksum 06:02:10 5c69ac0246d0: Download complete 06:02:10 3a2ae6a8a46f: Verifying Checksum 06:02:10 3a2ae6a8a46f: Download complete 06:02:10 ec43610c2a17: Verifying Checksum 06:02:10 ec43610c2a17: Download complete 06:02:10 33b1e0a273af: Verifying Checksum 06:02:10 33b1e0a273af: Download complete 06:02:10 5d3b04190fa2: Verifying Checksum 06:02:10 5d3b04190fa2: Download complete 06:02:10 5eb5b503b376: Verifying Checksum 06:02:10 5eb5b503b376: Download complete 06:02:10 2f39f015ded8: Download complete 06:02:11 5eb5b503b376: Pull complete 06:02:11 5c69ac0246d0: Pull complete 06:02:12 ec43610c2a17: Pull complete 06:02:12 3a2ae6a8a46f: Pull complete 06:02:12 33b1e0a273af: Pull complete 06:02:12 5d3b04190fa2: Pull complete 06:02:16 2f39f015ded8: Pull complete 06:02:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:02:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:02:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:16 prd-ubuntu20.04-docker-8c-8g-15841 does not seem to be running inside a container 06:02:16 $ 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-482 -v /w/workspace/xfoundry_device-modbus-go_PR-482:/w/workspace/xfoundry_device-modbus-go_PR-482:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-482@tmp:/w/workspace/xfoundry_device-modbus-go_PR-482@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:02:19 $ docker top 63b5f344464d30a7a109f22ff275fc0e140b56f4d95508056ab513f3f21c75d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:20 ---> job-cost.sh 06:02:20 lf-activate-venv: SKIPPING 06:02:20 INFO: No Stack... 06:02:20 INFO: Retrieving Pricing Info for: v3-standard-8 06:02:21 INFO: Archiving Costs [Pipeline] sh 06:02:21 + + cutcat -d, /w/workspace/xfoundry_device-modbus-go_PR-482/archives/cost.csv -f6 06:02:21 [Pipeline] lock 06:02:21 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-482-1-stack-cost] 06:02:21 Resource [jenkins-edgexfoundry-device-modbus-go-PR-482-1-stack-cost] did not exist. Created. 06:02:21 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-482-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:02:21 + echo total: 0.2199999988079071 [Pipeline] stash 06:02:22 Stashed 1 file(s) [Pipeline] } 06:02:22 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-482-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:02:22 $ docker stop --time=1 63b5f344464d30a7a109f22ff275fc0e140b56f4d95508056ab513f3f21c75d3 06:02:23 $ docker rm -f --volumes 63b5f344464d30a7a109f22ff275fc0e140b56f4d95508056ab513f3f21c75d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:03:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15843 in /w/workspace/xfoundry_device-modbus-go_PR-482 [Pipeline] { [Pipeline] ws 06:03:10 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:03:10 Selected Git installation does not exist. Using Default 06:03:10 The recommended git tool is: NONE 06:03:15 using credential edgex-jenkins-ssh 06:03:15 Cloning the remote Git repository 06:03:15 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:03:16 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:03:16 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:03:16 > git --version # timeout=10 06:03:16 > git --version # 'git version 2.25.1' 06:03:16 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:17 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:03:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:18 Merging remotes/origin/main commit 2cc3518655efefba22ff17e7bf1dcccbd8773e75 into PR head commit 22e2bd792e0f98a946f74983077dafc27adbdd1a 06:03:19 Merge succeeded, producing 22e2bd792e0f98a946f74983077dafc27adbdd1a 06:03:19 Checking out Revision 22e2bd792e0f98a946f74983077dafc27adbdd1a (PR-482) 06:03:18 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:03:18 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:03:18 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/482/head:refs/remotes/origin/PR-482 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:03:18 > git config core.sparsecheckout # timeout=10 06:03:18 > git checkout -f 22e2bd792e0f98a946f74983077dafc27adbdd1a # timeout=10 06:03:19 > git remote # timeout=10 06:03:19 > git config --get remote.origin.url # timeout=10 06:03:19 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:19 > git merge 2cc3518655efefba22ff17e7bf1dcccbd8773e75 # timeout=10 06:03:19 > git rev-parse HEAD^{commit} # timeout=10 06:03:19 > git config core.sparsecheckout # timeout=10 06:03:19 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 06:03:19 > git --version # timeout=10 06:03:19 > git --version # 'git version 2.25.1' 06:03:19 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:03:19 > git checkout -f 22e2bd792e0f98a946f74983077dafc27adbdd1a # timeout=10 06:03:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:03:21 % Total % Received % Xferd Average Speed Time Time Time Current 06:03:21 Dload Upload Total Spent Left Speed 06:03:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 230k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh 06:03:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:03:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:03:22 + sudo tee /etc/docker/daemon.new 06:03:22 { 06:03:22 "registry-mirrors": [ 06:03:22 "https://nexus3.edgexfoundry.org:10001" 06:03:22 ], 06:03:22 "bip": "10.250.0.254/24", 06:03:22 "hosts": [ 06:03:22 "tcp://0.0.0.0:5555", 06:03:22 "unix:///var/run/docker.sock" 06:03:22 ], 06:03:22 "mtu": 1458, 06:03:22 "selinux-enabled": true, 06:03:22 "seccomp-profile": "/etc/docker/seccomp.json" 06:03:22 } [Pipeline] sh 06:03:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:03:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:03:41 provisioning config files... 06:03:41 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config14789312484195725034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:41 ---> docker-login.sh 06:03:41 nexus3.edgexfoundry.org:10001 06:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:42 Configure a credential helper to remove this warning. See 06:03:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:42 06:03:42 Login Succeeded 06:03:42 nexus3.edgexfoundry.org:10002 06:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:42 Configure a credential helper to remove this warning. See 06:03:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:42 06:03:42 Login Succeeded 06:03:42 nexus3.edgexfoundry.org:10003 06:03:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:43 Configure a credential helper to remove this warning. See 06:03:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:43 06:03:43 Login Succeeded 06:03:43 nexus3.edgexfoundry.org:10004 06:03:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:43 Configure a credential helper to remove this warning. See 06:03:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:43 06:03:43 Login Succeeded 06:03:43 docker.io 06:03:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:44 Configure a credential helper to remove this warning. See 06:03:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:44 06:03:44 Login Succeeded 06:03:44 ---> docker-login.sh ends [Pipeline] } 06:03:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:03:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:03:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:03:44 ========================================================= 06:03:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:03:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:45 + 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 . 06:03:45 Sending build context to Docker daemon 3.421MB 06:03:45 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:03:45 Step 2/10 : FROM ${BASE} AS builder 06:03:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:03:45 c41833b44d91: Pulling fs layer 06:03:45 ed15518f5707: Pulling fs layer 06:03:45 feae8fd75edb: Pulling fs layer 06:03:45 242c74f7c9fa: Pulling fs layer 06:03:45 3cdef696dda3: Pulling fs layer 06:03:45 2ced38df9373: Pulling fs layer 06:03:45 58f1dce35555: Pulling fs layer 06:03:45 242c74f7c9fa: Waiting 06:03:45 3cdef696dda3: Waiting 06:03:45 2ced38df9373: Waiting 06:03:45 58f1dce35555: Waiting 06:03:45 ed15518f5707: Download complete 06:03:45 242c74f7c9fa: Verifying Checksum 06:03:45 242c74f7c9fa: Download complete 06:03:45 3cdef696dda3: Verifying Checksum 06:03:45 3cdef696dda3: Download complete 06:03:45 c41833b44d91: Download complete 06:03:46 c41833b44d91: Pull complete 06:03:47 58f1dce35555: Verifying Checksum 06:03:47 58f1dce35555: Download complete 06:03:48 feae8fd75edb: Verifying Checksum 06:03:48 feae8fd75edb: Download complete 06:03:48 2ced38df9373: Verifying Checksum 06:03:48 2ced38df9373: Download complete 06:03:49 ed15518f5707: Pull complete 06:04:02 feae8fd75edb: Pull complete 06:04:02 242c74f7c9fa: Pull complete 06:04:03 3cdef696dda3: Pull complete 06:04:09 2ced38df9373: Pull complete 06:04:12 58f1dce35555: Pull complete 06:04:12 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 06:04:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:04:12 ---> fadd8f120f05 06:04:12 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:04:14 ---> Running in ffa566df8bee 06:04:14 Removing intermediate container ffa566df8bee 06:04:14 ---> e76093fe1b13 06:04:14 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:04:14 ---> Running in 0afbb6d3a75a 06:04:14 Removing intermediate container 0afbb6d3a75a 06:04:14 ---> 82076cb8e9ff 06:04:14 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:04:14 ---> Running in 2dc9886ba115 06:04:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:04:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:04:17 (1/8) Installing openssh-keygen (9.1_p1-r3) 06:04:17 (2/8) Installing libedit (20221030.3.1-r0) 06:04:17 (3/8) Installing openssh-client-common (9.1_p1-r3) 06:04:17 (4/8) Installing openssh-client-default (9.1_p1-r3) 06:04:17 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 06:04:17 (6/8) Installing openssh-server-common (9.1_p1-r3) 06:04:17 (7/8) Installing openssh-server (9.1_p1-r3) 06:04:17 (8/8) Installing openssh (9.1_p1-r3) 06:04:17 Executing busybox-1.35.0-r29.trigger 06:04:17 OK: 270 MiB in 61 packages 06:04:18 Removing intermediate container 2dc9886ba115 06:04:18 ---> 38fc9a8bd7ea 06:04:18 Step 6/10 : WORKDIR /device-modbus-go 06:04:19 ---> Running in 2377bdfb4f55 06:04:19 Removing intermediate container 2377bdfb4f55 06:04:19 ---> 5eed2c02525d 06:04:19 Step 7/10 : COPY go.mod vendor* ./ 06:04:19 ---> 186f4b526be8 06:04:19 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:04:19 ---> Running in 394a94ca95e8 06:05:27 Removing intermediate container 394a94ca95e8 06:05:27 ---> 0922014a6056 06:05:27 Step 9/10 : COPY . . 06:05:27 ---> 0c606ffc5d53 06:05:27 Step 10/10 : RUN ${MAKE} 06:05:27 ---> Running in 6d9f2cfe55a3 06:05:27 noop 06:05:28 Removing intermediate container 6d9f2cfe55a3 06:05:28 ---> f665cdc187dc 06:05:28 Successfully built f665cdc187dc 06:05:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:28 + docker inspect -f . ci-base-image-arm64 06:05:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:29 prd-ubuntu20.04-docker-arm64-4c-16g-15843 does not seem to be running inside a container 06:05:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:05:30 $ docker top 66d94a854ca4584236188a96cccb9b261c8f37547b030a901a9668a296b7c77a -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:31 + go version 06:05:31 go version go1.20.2 linux/arm64 [Pipeline] } 06:05:31 $ docker stop --time=1 66d94a854ca4584236188a96cccb9b261c8f37547b030a901a9668a296b7c77a 06:05:33 $ docker rm -f --volumes 66d94a854ca4584236188a96cccb9b261c8f37547b030a901a9668a296b7c77a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:34 + docker inspect -f . ci-base-image-arm64 06:05:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:34 prd-ubuntu20.04-docker-arm64-4c-16g-15843 does not seem to be running inside a container 06:05:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:05:35 $ docker top e8e4e77f943e9ba7a08b3adb3c20cc43607fdbe8168a1053e1da499a1e66e907 -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:36 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 06:05:37 + make test 06:05:37 go test ./... -coverprofile=coverage.out 06:06:09 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:08:17 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:08:17 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.070s coverage: 47.4% of statements 06:08:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:08:17 go vet ./... 06:08:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:08:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:08:36 ./bin/test-attribution-txt.sh [Pipeline] echo 06:08:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:08:37 $ docker stop --time=1 e8e4e77f943e9ba7a08b3adb3c20cc43607fdbe8168a1053e1da499a1e66e907 06:08:38 $ docker rm -f --volumes e8e4e77f943e9ba7a08b3adb3c20cc43607fdbe8168a1053e1da499a1e66e907 [Pipeline] // withDockerContainer [Pipeline] sh 06:08:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:08:40 Warning: overwriting stash ‘coverage-report’ 06:08:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:08:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:08:41 + ls -al . 06:08:41 total 180 06:08:41 drwxrwxr-x 9 jenkins jenkins 4096 May 17 06:05 . 06:08:41 drwxrwxr-x 4 jenkins jenkins 4096 May 17 06:03 .. 06:08:41 -rw-rw-r-- 1 jenkins jenkins 140 May 17 06:03 .dockerignore 06:08:41 drwxrwxr-x 8 jenkins jenkins 4096 May 17 06:03 .git 06:08:41 drwxrwxr-x 3 jenkins jenkins 4096 May 17 06:03 .github 06:08:41 -rw-rw-r-- 1 jenkins jenkins 331 May 17 06:03 .gitignore 06:08:41 -rw-rw-r-- 1 jenkins jenkins 41 May 17 06:03 .golangci.yml 06:08:41 -rw-rw-r-- 1 jenkins jenkins 10132 May 17 06:03 Attribution.txt 06:08:41 -rw-rw-r-- 1 jenkins jenkins 11576 May 17 06:03 CHANGELOG.md 06:08:41 -rw-rw-r-- 1 jenkins jenkins 1365 May 17 06:03 Dockerfile 06:08:41 -rw-rw-r-- 1 jenkins jenkins 677 May 17 06:03 GOVERNANCE.md 06:08:41 -rw-rw-r-- 1 jenkins jenkins 680 May 17 06:03 Jenkinsfile 06:08:41 -rw-rw-r-- 1 jenkins jenkins 11340 May 17 06:03 LICENSE 06:08:41 -rw-rw-r-- 1 jenkins jenkins 1705 May 17 06:03 Makefile 06:08:41 -rw-rw-r-- 1 jenkins jenkins 622 May 17 06:03 OWNERS.md 06:08:41 -rw-rw-r-- 1 jenkins jenkins 4554 May 17 06:03 README.md 06:08:41 -rw-rw-r-- 1 jenkins jenkins 5 May 17 06:00 VERSION 06:08:41 drwxrwxr-x 2 jenkins jenkins 4096 May 17 06:03 bin 06:08:41 drwxrwxr-x 3 jenkins jenkins 4096 May 17 06:03 cmd 06:08:41 -rw-r--r-- 1 jenkins jenkins 24160 May 17 06:08 coverage.out 06:08:41 -rw-rw-r-- 1 jenkins jenkins 3453 May 17 06:03 go.mod 06:08:41 -rw-rw-r-- 1 jenkins jenkins 31670 May 17 06:03 go.sum 06:08:41 drwxrwxr-x 3 jenkins jenkins 4096 May 17 06:03 internal 06:08:41 drwxrwxr-x 2 jenkins jenkins 4096 May 17 06:03 simulator 06:08:41 drwxrwxr-x 4 jenkins jenkins 4096 May 17 06:03 snap 06:08:41 -rw-rw-r-- 1 jenkins jenkins 229 May 17 06:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08: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=22e2bd792e0f98a946f74983077dafc27adbdd1a --label arch=arm64 --label version=0.0.0 . 06:08:42 Sending build context to Docker daemon 3.446MB 06:08:42 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:08:42 Step 2/22 : FROM ${BASE} AS builder 06:08:42 ---> f665cdc187dc 06:08:42 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:08:42 ---> Running in b5ff5c2e9c92 06:08:42 Removing intermediate container b5ff5c2e9c92 06:08:42 ---> 8687128d1c0b 06:08:42 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:08:42 ---> Running in 3f6594955943 06:08:43 Removing intermediate container 3f6594955943 06:08:43 ---> d388fe9cdb58 06:08:43 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:08:43 ---> Running in 1e6efb4e0fb3 06:08:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:08:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:08:45 OK: 270 MiB in 61 packages 06:08:46 Removing intermediate container 1e6efb4e0fb3 06:08:46 ---> 94846d0b2dca 06:08:46 Step 6/22 : WORKDIR /device-modbus-go 06:08:46 ---> Running in 3adcd7c113f5 06:08:46 Removing intermediate container 3adcd7c113f5 06:08:46 ---> 55659420d042 06:08:46 Step 7/22 : COPY go.mod vendor* ./ 06:08:49 ---> 09b05969bae4 06:08:49 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:08:49 ---> Running in f02e419288aa 06:08:51 Removing intermediate container f02e419288aa 06:08:51 ---> c6cc2c3daa96 06:08:51 Step 9/22 : COPY . . 06:08:52 ---> 0c8802541c6a 06:08:52 Step 10/22 : RUN ${MAKE} 06:08:52 ---> Running in caa36c37a60c 06:08:53 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 06:11:00 Removing intermediate container caa36c37a60c 06:11:00 ---> 5b03a153afae 06:11:00 Step 11/22 : FROM alpine:3.17 06:11:00 3.17: Pulling from library/alpine 06:11:00 c41833b44d91: Already exists 06:11:00 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:11:00 Status: Downloaded newer image for alpine:3.17 06:11:00 ---> 51e60588ff2c 06:11:00 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:11:00 ---> Running in 39f67b9cca65 06:11:00 Removing intermediate container 39f67b9cca65 06:11:00 ---> d0f4ba7e3480 06:11:00 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:11:00 ---> Running in 1b84fb5ae73f 06:11:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:11:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:11:00 (1/1) Installing dumb-init (1.2.5-r2) 06:11:00 Executing busybox-1.35.0-r29.trigger 06:11:00 OK: 8 MiB in 16 packages 06:11:01 Removing intermediate container 1b84fb5ae73f 06:11:01 ---> b4f3068fc099 06:11:01 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:11:03 ---> 73bef9fce3ac 06:11:03 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:11:03 ---> 8be6824deb65 06:11:03 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:11:03 ---> 7f6cedb04fcc 06:11:03 Step 17/22 : EXPOSE 59901 06:11:03 ---> Running in 26a9d1edcab4 06:11:04 Removing intermediate container 26a9d1edcab4 06:11:04 ---> 666d756556ec 06:11:04 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:11:04 ---> Running in 503aae283be4 06:11:04 Removing intermediate container 503aae283be4 06:11:04 ---> 85ee67c71802 06:11:04 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:11:04 ---> Running in c20e6890c8ad 06:11:05 Removing intermediate container c20e6890c8ad 06:11:05 ---> 58c835b2d9cd 06:11:05 Step 20/22 : LABEL arch=arm64 06:11:05 ---> Running in 86a33ce2d0ab 06:11:05 Removing intermediate container 86a33ce2d0ab 06:11:05 ---> fe8718fe2e62 06:11:05 Step 21/22 : LABEL git_sha=22e2bd792e0f98a946f74983077dafc27adbdd1a 06:11:05 ---> Running in 24d6ca7c2d63 06:11:05 Removing intermediate container 24d6ca7c2d63 06:11:05 ---> 8743b80a8134 06:11:05 Step 22/22 : LABEL version=0.0.0 06:11:05 ---> Running in b8c2dc6ae83d 06:11:05 Removing intermediate container b8c2dc6ae83d 06:11:05 ---> 68e4bf645234 06:11:05 [Warning] One or more build-args [ARCH] were not consumed 06:11:05 Successfully built 68e4bf645234 06:11:05 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 06:11:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:11:06 06:11:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:11:07 arm64: Pulling from edgex-lftools-log-publisher 06:11:07 8998bd30e6a1: Pulling fs layer 06:11:07 04944245beec: Pulling fs layer 06:11:07 699f458cf7ca: Pulling fs layer 06:11:07 765212b225bb: Pulling fs layer 06:11:07 f23df028b6ca: Pulling fs layer 06:11:07 d65c8cfc05b1: Pulling fs layer 06:11:07 2437ff75d9bd: Pulling fs layer 06:11:07 f23df028b6ca: Waiting 06:11:07 d65c8cfc05b1: Waiting 06:11:07 2437ff75d9bd: Waiting 06:11:07 765212b225bb: Waiting 06:11:07 04944245beec: Verifying Checksum 06:11:07 04944245beec: Download complete 06:11:07 765212b225bb: Verifying Checksum 06:11:07 765212b225bb: Download complete 06:11:07 f23df028b6ca: Verifying Checksum 06:11:07 f23df028b6ca: Download complete 06:11:07 d65c8cfc05b1: Verifying Checksum 06:11:07 d65c8cfc05b1: Download complete 06:11:07 699f458cf7ca: Verifying Checksum 06:11:07 699f458cf7ca: Download complete 06:11:08 8998bd30e6a1: Verifying Checksum 06:11:08 8998bd30e6a1: Download complete 06:11:10 2437ff75d9bd: Verifying Checksum 06:11:10 2437ff75d9bd: Download complete 06:11:12 8998bd30e6a1: Pull complete 06:11:12 04944245beec: Pull complete 06:11:14 699f458cf7ca: Pull complete 06:11:14 765212b225bb: Pull complete 06:11:15 f23df028b6ca: Pull complete 06:11:15 d65c8cfc05b1: Pull complete 06:11:30 2437ff75d9bd: Pull complete 06:11:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:11:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:11:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:30 prd-ubuntu20.04-docker-arm64-4c-16g-15843 does not seem to be running inside a container 06:11:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:11:33 $ docker top 258a8e8ba7c1c2b6e472e3b1e1a67fc45d6ea500af37719d263dc098fc9bb01a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:11:33 ---> job-cost.sh 06:11:34 lf-activate-venv: SKIPPING 06:11:34 INFO: No Stack... 06:11:34 INFO: Retrieving Pricing Info for: v3-standard-4 06:11:35 INFO: Archiving Costs [Pipeline] sh 06:11:35 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 06:11:35 + cut -d, -f6 [Pipeline] lock 06:11:35 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-482-1-stack-cost] 06:11:35 Resource [jenkins-edgexfoundry-device-modbus-go-PR-482-1-stack-cost] did not exist. Created. 06:11:35 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-482-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:11:36 /w/workspace/device-modbus-go/1@tmp/durable-6e116caf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:11:36 + echo total: 0.10999999940395355 [Pipeline] stash 06:11:36 Warning: overwriting stash ‘stack-cost’ 06:11:36 Stashed 1 file(s) [Pipeline] } 06:11:36 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-482-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:11:36 $ docker stop --time=1 258a8e8ba7c1c2b6e472e3b1e1a67fc45d6ea500af37719d263dc098fc9bb01a 06:11:38 $ docker rm -f --volumes 258a8e8ba7c1c2b6e472e3b1e1a67fc45d6ea500af37719d263dc098fc9bb01a [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 06:11:39 provisioning config files... 06:11:39 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-482@tmp/config675163146219282104tmp [Pipeline] { [Pipeline] sh 06:11:39 + set +x 06:11:39 + curl -s https://codecov.io/bash 06:11:39 + bash -s -- 06:11:39 06:11:39 _____ _ 06:11:39 / ____| | | 06:11:39 | | ___ __| | ___ ___ _____ __ 06:11:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:11:39 | |___| (_) | (_| | __/ (_| (_) \ V / 06:11:39 \_____\___/ \__,_|\___|\___\___/ \_/ 06:11:39 Bash-1.0.6 06:11:39 06:11:39 06:11:39 ==> git version 2.25.1 found 06:11:39 ==> 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 06:11:39 Release-Date: 2020-01-08 06:11:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:11:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:11:39 ==> Jenkins CI detected. 06:11:39 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-482 06:11:39 project root: . 06:11:39 --> token set from env 06:11:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:11:39 ==> Running gcov in . (disable via -X gcov) 06:11:39 ==> Python coveragepy not found 06:11:39 ==> Searching for coverage reports in: 06:11:39 + . 06:11:39 -> Found 1 reports 06:11:39 ==> Detecting git/mercurial file structure 06:11:39 ==> Reading reports 06:11:39 + ./coverage.out bytes=24160 06:11:39 ==> Appending adjustments 06:11:39 https://docs.codecov.io/docs/fixing-reports 06:11:39 + Found adjustments 06:11:39 ==> Gzipping contents 06:11:39 4.0K /tmp/codecov.8acPgK.gz 06:11:39 ==> Uploading reports 06:11:39 url: https://codecov.io 06:11:39 query: branch=PR-482&commit=22e2bd792e0f98a946f74983077dafc27adbdd1a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-482%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=482&job=&cmd_args= 06:11:39 -> Pinging Codecov 06:11:39 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-482&commit=22e2bd792e0f98a946f74983077dafc27adbdd1a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-482%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=482&job=&cmd_args= 06:11:39 -> Uploading to 06:11:39 https://storage.googleapis.com/codecov/v4/raw/2023-05-17/55DBCA73C666E3227836607328DD7E49/22e2bd792e0f98a946f74983077dafc27adbdd1a/131f84f9-ec72-49a0-b48c-5911c05612cf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230517T061139Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e38001ccea39913a531e6089aab9910e9493c8b6e5ec94d2adf7bac0455b71ad 06:11:39 % Total % Received % Xferd Average Speed Time Time Time Current 06:11:39 Dload Upload Total Spent Left Speed 06:11:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 20226 --:--:-- --:--:-- --:--:-- 20226 06:11:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/22e2bd792e0f98a946f74983077dafc27adbdd1a [Pipeline] } 06:11:40 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 06:11:41 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-482/archives ] 06:11:41 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-482/archives 06:11:41 total 16 06:11:41 drwxr-xr-x 3 root root 4096 May 17 06:02 . 06:11:41 drwxrwxr-x 11 jenkins jenkins 4096 May 17 06:02 .. 06:11:41 drwxr-xr-x 2 root root 4096 May 17 06:02 cost 06:11:41 -rw-r--r-- 1 root root 88 May 17 06:02 cost.csv 06:11:41 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-482/archives 06:11:41 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-482/archives 06:11:41 total 16 06:11:41 drwxr-xr-x 3 jenkins jenkins 4096 May 17 06:02 . 06:11:41 drwxrwxr-x 11 jenkins jenkins 4096 May 17 06:02 .. 06:11:41 drwxr-xr-x 2 jenkins jenkins 4096 May 17 06:02 cost 06:11:41 -rw-r--r-- 1 jenkins jenkins 88 May 17 06:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:11:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:11:43 ---> package-listing.sh 06:11:43 ++ facter osfamily 06:11:43 ++ tr '[:upper:]' '[:lower:]' 06:11:43 + OS_FAMILY=debian 06:11:43 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-482 06:11:43 + START_PACKAGES=/tmp/packages_start.txt 06:11:43 + END_PACKAGES=/tmp/packages_end.txt 06:11:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:11:43 + PACKAGES=/tmp/packages_start.txt 06:11:43 + '[' /w/workspace/xfoundry_device-modbus-go_PR-482 ']' 06:11:43 + PACKAGES=/tmp/packages_end.txt 06:11:43 + case "${OS_FAMILY}" in 06:11:43 + dpkg -l 06:11:43 + grep '^ii' 06:11:43 + '[' -f /tmp/packages_start.txt ']' 06:11:43 + '[' -f /tmp/packages_end.txt ']' 06:11:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:11:43 + '[' /w/workspace/xfoundry_device-modbus-go_PR-482 ']' 06:11:43 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-482/archives/ 06:11:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-482/archives/ [Pipeline] echo 06:11:43 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-482/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:11:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:11:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:44 prd-ubuntu20.04-docker-8c-8g-15841 does not seem to be running inside a container 06:11:44 $ 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-482/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-482 -v /w/workspace/xfoundry_device-modbus-go_PR-482:/w/workspace/xfoundry_device-modbus-go_PR-482:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-482@tmp:/w/workspace/xfoundry_device-modbus-go_PR-482@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:11:44 $ docker top e0bdcc208f68af6a09fec1bb7d7d3bf9e2e9d9094562f9aae94ac8eac330bbec -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:44 + touch /tmp/pre-build-complete [Pipeline] sh 06:11:45 + mkdir -p /var/log/sysstat [Pipeline] sh 06:11:45 + ls /var/log/sa-host 06:11:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:11:45 provisioning config files... 06:11:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-482@tmp/config1675464501424539668tmp [Pipeline] { [Pipeline] echo 06:11:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:11:46 ---> create-netrc.sh [Pipeline] } 06:11:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:11:46 ---> python-tools-install.sh [Pipeline] echo 06:11:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:11:46 ---> sudo-logs.sh 06:11:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:11:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:11:47 ---> job-cost.sh 06:11:47 lf-activate-venv: SKIPPING 06:11:47 DEBUG: total: 0.2199999988079071 06:11:47 INFO: Retrieving Stack Cost... 06:11:47 INFO: Retrieving Pricing Info for: v3-standard-8 06:11:48 INFO: Archiving Costs [Pipeline] echo 06:11:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:11:48 ---> logs-deploy.sh 06:11:48 lf-activate-venv: SKIPPING 06:11:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-482/1 06:11:48 INFO: archiving workspace using pattern(s): 06:11:49 Archives upload complete. 06:11:49 INFO: archiving logs to Nexus