Pull request #480 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 315df3988cd75bcd615d896ad3964fe2f7911975+4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c (8f7a7d9c5bc394a6aa168a1aafd23a4721f94cfe) 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-ssh5507253518150933732.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-ssh10977368115519797610.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-480/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-480/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh141474242995124981.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-480/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12699432907127709555.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-ssh15985485783906926351.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-480/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-480/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8194983781373392911.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 on ‘prd-ubuntu20.04-docker-8c-8g-15505’ Running on prd-ubuntu20.04-docker-8c-8g-15507 in /w/workspace/xfoundry_device-modbus-go_PR-480 [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-480 # 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/480/head:refs/remotes/origin/PR-480 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c into PR head commit 315df3988cd75bcd615d896ad3964fe2f7911975 Merge succeeded, producing 315df3988cd75bcd615d896ad3964fe2f7911975 Checking out Revision 315df3988cd75bcd615d896ad3964fe2f7911975 (PR-480) Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd > git config core.sparsecheckout # timeout=10 > git checkout -f 315df3988cd75bcd615d896ad3964fe2f7911975 # 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 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 315df3988cd75bcd615d896ad3964fe2f7911975 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:00:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:00:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:00:14 ========================================================= 06:00:14 EdgeX Global Pipelines Version Info 06:00:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:00:15 ------------------- 06:00:15 stable info: 06:00:15 ------------------- 06:00:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:00:15 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 06:00:15 Message: update stable to v1.0.249 06:00:16 ------------------- 06:00:16 experimental info: 06:00:16 ------------------- 06:00:16 Commited By: **** collab-it+edgex@linuxfoundation.org 06:00:16 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 06:00:16 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:00:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:00:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:00:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:00:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:00:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:00:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:00:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:00:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:00:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:00:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:00:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:00:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:00:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:00:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:00:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:00:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:00:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:00:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:00:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:00:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:00:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:00:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:00:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:00:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:00:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:00:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:00:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:00:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-480 [Pipeline] echo 06:00:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-480 [Pipeline] echo 06:00:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-480 [Pipeline] echo 06:00:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 315df3988cd75bcd615d896ad3964fe2f7911975 [Pipeline] echo 06:00:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 315df39 [Pipeline] echo 06:00:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:00:18 provisioning config files... 06:00:18 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/config8732758027318531668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:18 ---> docker-login.sh 06:00:18 nexus3.edgexfoundry.org:10001 06:00:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:18 Configure a credential helper to remove this warning. See 06:00:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:18 06:00:18 Login Succeeded 06:00:18 nexus3.edgexfoundry.org:10002 06:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:19 Configure a credential helper to remove this warning. See 06:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:19 06:00:19 Login Succeeded 06:00:19 nexus3.edgexfoundry.org:10003 06:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:19 Configure a credential helper to remove this warning. See 06:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:19 06:00:19 Login Succeeded 06:00:19 nexus3.edgexfoundry.org:10004 06:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:19 Configure a credential helper to remove this warning. See 06:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:19 06:00:19 Login Succeeded 06:00:19 docker.io 06:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:21 Configure a credential helper to remove this warning. See 06:00:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:21 06:00:21 Login Succeeded 06:00:21 ---> docker-login.sh ends [Pipeline] } 06:00:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:00:22 + git rev-list -1 --merges 315df3988cd75bcd615d896ad3964fe2f7911975~1..315df3988cd75bcd615d896ad3964fe2f7911975 [Pipeline] echo 06:00:22 -----------> git rev-list -1 --merges 315df3988cd75bcd615d896ad3964fe2f7911975~1..315df3988cd75bcd615d896ad3964fe2f7911975 315df3988cd75bcd615d896ad3964fe2f7911975 [false] [Pipeline] sh 06:00:22 + git log --format=format:%s -1 315df3988cd75bcd615d896ad3964fe2f7911975 [Pipeline] echo 06:00:22 ========================================================= 06:00:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:00:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:22 + git log --format=format:%s -1 315df3988cd75bcd615d896ad3964fe2f7911975 [Pipeline] echo 06:00:22 [semverPrep] GIT_COMMIT: 315df3988cd75bcd615d896ad3964fe2f7911975, Commit Message: build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1 [Pipeline] echo 06:00:23 [semverPrep] This is not a build commit. [Pipeline] sh 06:00:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:00:23 + grep -v github /etc/ssh/ssh_known_hosts 06:00:23 + [ -e /tmp/ssh_known_hosts ] 06:00:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:00:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:00:23 + sudo tee -a /etc/ssh/ssh_known_hosts 06:00:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:23 06:00:23 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:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:24 0.1.4: Pulling from edgex-devops/py-git-semver 06:00:24 b85a868b505f: Pulling fs layer 06:00:24 e2be974225ed: Pulling fs layer 06:00:24 339a4e72a1f5: Pulling fs layer 06:00:24 988bab9f4d93: Pulling fs layer 06:00:24 1469e6f7b9e6: Pulling fs layer 06:00:24 eaf3925da568: Pulling fs layer 06:00:24 bab4dde63d76: Pulling fs layer 06:00:24 bde34c3a00c8: Pulling fs layer 06:00:24 b352a97aabf1: Pulling fs layer 06:00:24 4872d77fe225: Pulling fs layer 06:00:24 5851b861e8e6: Pulling fs layer 06:00:24 988bab9f4d93: Waiting 06:00:24 bab4dde63d76: Waiting 06:00:24 eaf3925da568: Waiting 06:00:24 1469e6f7b9e6: Waiting 06:00:24 4872d77fe225: Waiting 06:00:24 bde34c3a00c8: Waiting 06:00:24 b352a97aabf1: Waiting 06:00:24 5851b861e8e6: Waiting 06:00:24 e2be974225ed: Verifying Checksum 06:00:24 e2be974225ed: Download complete 06:00:24 988bab9f4d93: Verifying Checksum 06:00:24 988bab9f4d93: Download complete 06:00:24 1469e6f7b9e6: Verifying Checksum 06:00:24 1469e6f7b9e6: Download complete 06:00:24 339a4e72a1f5: Verifying Checksum 06:00:24 339a4e72a1f5: Download complete 06:00:24 eaf3925da568: Download complete 06:00:24 bde34c3a00c8: Verifying Checksum 06:00:24 bde34c3a00c8: Download complete 06:00:24 b352a97aabf1: Download complete 06:00:24 4872d77fe225: Download complete 06:00:24 5851b861e8e6: Verifying Checksum 06:00:24 5851b861e8e6: Download complete 06:00:24 b85a868b505f: Verifying Checksum 06:00:24 b85a868b505f: Download complete 06:00:24 bab4dde63d76: Verifying Checksum 06:00:26 b85a868b505f: Pull complete 06:00:26 e2be974225ed: Pull complete 06:00:26 339a4e72a1f5: Pull complete 06:00:27 988bab9f4d93: Pull complete 06:00:27 1469e6f7b9e6: Pull complete 06:00:27 eaf3925da568: Pull complete 06:00:30 bab4dde63d76: Pull complete 06:00:30 bde34c3a00c8: Pull complete 06:00:30 b352a97aabf1: Pull complete 06:00:30 4872d77fe225: Pull complete 06:00:30 5851b861e8e6: Pull complete 06:00:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:00:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:30 prd-ubuntu20.04-docker-8c-8g-15507 does not seem to be running inside a container 06:00:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-480 -v /w/workspace/xfoundry_device-modbus-go_PR-480:/w/workspace/xfoundry_device-modbus-go_PR-480:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-480@tmp:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:00:34 $ docker top 84f6f9b092c8edfed198f47d8226e49484dcca2d976dbd0047e516fea20ee922 -eo pid,comm 06:00:34 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:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:00:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:34 [ssh-agent] Looking for ssh-agent implementation... 06:00:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:34 $ docker exec 84f6f9b092c8edfed198f47d8226e49484dcca2d976dbd0047e516fea20ee922 ssh-agent 06:00:34 SSH_AUTH_SOCK=/tmp/ssh-5wVzrDg7mhFX/agent.32 06:00:34 SSH_AGENT_PID=38 06:00:34 Running ssh-add (command line suppressed) 06:00:35 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-480@tmp/private_key_13232057810541530729.key (/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/private_key_13232057810541530729.key) 06:00:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:35 + git tag --points-at HEAD [Pipeline] } 06:00:35 $ docker exec --env ******** --env ******** 84f6f9b092c8edfed198f47d8226e49484dcca2d976dbd0047e516fea20ee922 ssh-agent -k 06:00:35 unset SSH_AUTH_SOCK; 06:00:35 unset SSH_AGENT_PID; 06:00:35 echo Agent pid 38 killed; 06:00:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:00:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:35 [ssh-agent] Looking for ssh-agent implementation... 06:00:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:35 $ docker exec 84f6f9b092c8edfed198f47d8226e49484dcca2d976dbd0047e516fea20ee922 ssh-agent 06:00:35 SSH_AUTH_SOCK=/tmp/ssh-lrCHSI00Qh1z/agent.71 06:00:35 SSH_AGENT_PID=77 06:00:35 Running ssh-add (command line suppressed) 06:00:35 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-480@tmp/private_key_3413062693039800022.key (/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/private_key_3413062693039800022.key) 06:00:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:36 + git semver init 06:00:36 2023-05-16 06:00:36,441 [run_init] DEBUG init version:0.0.0 force:False 06:00:36 2023-05-16 06:00:36,442 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-480/.semver 06:00:36 2023-05-16 06:00:36,443 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-480/.semver 06:00:36 2023-05-16 06:00:36,443 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-480/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-480, universal_newlines=False, shell=None, istream=None) 06:00:37 2023-05-16 06:00:37,245 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-480/.git/info/exclude 06:00:37 2023-05-16 06:00:37,245 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-480/.semver/PR-480 with force:False 06:00:37 2023-05-16 06:00:37,245 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-480/.semver/PR-480 06:00:37 2023-05-16 06:00:37,249 [execute] INFO git cat-file --batch-check 06:00:37 2023-05-16 06:00:37,250 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-480/.semver, universal_newlines=False, shell=None, istream=) 06:00:37 2023-05-16 06:00:37,256 [execute] INFO git cat-file --batch 06:00:37 2023-05-16 06:00:37,256 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-480/.semver, universal_newlines=False, shell=None, istream=) 06:00:37 2023-05-16 06:00:37,260 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-480/.semver/PR-480 06:00:37 0.0.0 [Pipeline] } 06:00:37 $ docker exec --env ******** --env ******** 84f6f9b092c8edfed198f47d8226e49484dcca2d976dbd0047e516fea20ee922 ssh-agent -k 06:00:37 unset SSH_AUTH_SOCK; 06:00:37 unset SSH_AGENT_PID; 06:00:37 echo Agent pid 77 killed; 06:00:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:00:38 + git semver [Pipeline] } 06:00:38 $ docker stop --time=1 84f6f9b092c8edfed198f47d8226e49484dcca2d976dbd0047e516fea20ee922 06:00:39 $ docker rm -f --volumes 84f6f9b092c8edfed198f47d8226e49484dcca2d976dbd0047e516fea20ee922 [Pipeline] // withDockerContainer [Pipeline] sh 06:00:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:00:40 Stashed 1 file(s) [Pipeline] echo 06:00:40 [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:40 provisioning config files... 06:00:40 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/config9780407517849671508tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:41 ---> docker-login.sh 06:00:41 nexus3.edgexfoundry.org:10001 06:00:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:41 Configure a credential helper to remove this warning. See 06:00:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:41 06:00:41 Login Succeeded 06:00:41 nexus3.edgexfoundry.org:10002 06:00:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:41 Configure a credential helper to remove this warning. See 06:00:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:41 06:00:41 Login Succeeded 06:00:41 nexus3.edgexfoundry.org:10003 06:00:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:41 Configure a credential helper to remove this warning. See 06:00:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:41 06:00:41 Login Succeeded 06:00:41 nexus3.edgexfoundry.org:10004 06:00:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:41 Configure a credential helper to remove this warning. See 06:00:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:41 06:00:41 Login Succeeded 06:00:41 docker.io 06:00:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:41 Configure a credential helper to remove this warning. See 06:00:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:41 06:00:41 Login Succeeded 06:00:41 ---> docker-login.sh ends [Pipeline] } 06:00:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:00:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:42 ========================================================= 06:00:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:00:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:42 + 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:42 Sending build context to Docker daemon 6.518MB 06:00:42 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:00:42 Step 2/10 : FROM ${BASE} AS builder 06:00:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:00:42 f56be85fc22e: Pulling fs layer 06:00:42 85791d961cd3: Pulling fs layer 06:00:42 d694b5ae8c79: Pulling fs layer 06:00:42 9f32a84ed3da: Pulling fs layer 06:00:42 4d19c01a9841: Pulling fs layer 06:00:42 9325e15d5711: Pulling fs layer 06:00:42 556b6ee489ea: Pulling fs layer 06:00:42 c5a4b2cf53e6: Pulling fs layer 06:00:42 9f32a84ed3da: Waiting 06:00:42 4d19c01a9841: Waiting 06:00:42 c5a4b2cf53e6: Waiting 06:00:42 9325e15d5711: Waiting 06:00:42 556b6ee489ea: Waiting 06:00:42 85791d961cd3: Verifying Checksum 06:00:42 85791d961cd3: Download complete 06:00:42 9f32a84ed3da: Verifying Checksum 06:00:42 9f32a84ed3da: Download complete 06:00:42 4d19c01a9841: Verifying Checksum 06:00:42 4d19c01a9841: Download complete 06:00:42 f56be85fc22e: Verifying Checksum 06:00:42 f56be85fc22e: Download complete 06:00:42 9325e15d5711: Verifying Checksum 06:00:42 9325e15d5711: Download complete 06:00:42 f56be85fc22e: Pull complete 06:00:43 85791d961cd3: Pull complete 06:00:43 c5a4b2cf53e6: Verifying Checksum 06:00:43 c5a4b2cf53e6: Download complete 06:00:43 d694b5ae8c79: Verifying Checksum 06:00:43 d694b5ae8c79: Download complete 06:00:43 556b6ee489ea: Download complete 06:00:46 d694b5ae8c79: Pull complete 06:00:46 9f32a84ed3da: Pull complete 06:00:46 4d19c01a9841: Pull complete 06:00:46 9325e15d5711: Pull complete 06:00:49 556b6ee489ea: Pull complete 06:00:50 c5a4b2cf53e6: Pull complete 06:00:50 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 06:00:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:00:50 ---> c4be618373d6 06:00:50 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:00:55 ---> Running in 1f554c256c4d 06:00:55 Removing intermediate container 1f554c256c4d 06:00:55 ---> cf9ca8a23784 06:00:55 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:00:55 ---> Running in bc508b0c930a 06:00:55 Removing intermediate container bc508b0c930a 06:00:55 ---> 4ec7af74973a 06:00:55 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:00:55 ---> Running in 8b97c7e82b27 06:00:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:00:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:00:55 Still waiting to schedule task 06:00:55 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15506’ 06:00:55 (1/8) Installing openssh-keygen (9.1_p1-r3) 06:00:55 (2/8) Installing libedit (20221030.3.1-r0) 06:00:55 (3/8) Installing openssh-client-common (9.1_p1-r3) 06:00:55 (4/8) Installing openssh-client-default (9.1_p1-r3) 06:00:55 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 06:00:55 (6/8) Installing openssh-server-common (9.1_p1-r3) 06:00:55 (7/8) Installing openssh-server (9.1_p1-r3) 06:00:55 (8/8) Installing openssh (9.1_p1-r3) 06:00:55 Executing busybox-1.35.0-r29.trigger 06:00:55 OK: 270 MiB in 61 packages 06:00:56 Removing intermediate container 8b97c7e82b27 06:00:56 ---> 7a2486dd3f8c 06:00:56 Step 6/10 : WORKDIR /device-modbus-go 06:00:56 ---> Running in 771b0bb5f503 06:00:56 Removing intermediate container 771b0bb5f503 06:00:56 ---> f875a654a73b 06:00:56 Step 7/10 : COPY go.mod vendor* ./ 06:00:56 ---> c821f4d4a7f3 06:00:56 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:00:56 ---> Running in 8dc5955e6fbe 06:01:35 Removing intermediate container 8dc5955e6fbe 06:01:35 ---> ee880151c12a 06:01:35 Step 9/10 : COPY . . 06:01:35 ---> d528c8a4dfab 06:01:35 Step 10/10 : RUN ${MAKE} 06:01:35 ---> Running in c6e976f4c369 06:01:35 noop 06:01:35 Removing intermediate container c6e976f4c369 06:01:35 ---> 7cf2daaed227 06:01:35 Successfully built 7cf2daaed227 06:01:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:35 + docker inspect -f . ci-base-image-x86_64 06:01:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:36 prd-ubuntu20.04-docker-8c-8g-15507 does not seem to be running inside a container 06:01:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-480 -v /w/workspace/xfoundry_device-modbus-go_PR-480:/w/workspace/xfoundry_device-modbus-go_PR-480:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-480@tmp:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:01:36 $ docker top f203074fbcfc6077420cbda580dfa98b850b2bbc6e09564bb4608de0fbd6f328 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:36 + go version 06:01:36 go version go1.20.2 linux/amd64 [Pipeline] } 06:01:36 $ docker stop --time=1 f203074fbcfc6077420cbda580dfa98b850b2bbc6e09564bb4608de0fbd6f328 06:01:38 $ docker rm -f --volumes f203074fbcfc6077420cbda580dfa98b850b2bbc6e09564bb4608de0fbd6f328 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:38 + docker inspect -f . ci-base-image-x86_64 06:01:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:39 prd-ubuntu20.04-docker-8c-8g-15507 does not seem to be running inside a container 06:01:39 $ 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-480 -v /w/workspace/xfoundry_device-modbus-go_PR-480:/w/workspace/xfoundry_device-modbus-go_PR-480:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-480@tmp:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:01:39 $ docker top a9afd8c5a74a296ff27fc8bee867dccef3b15f12a768236a78456d06be7001a7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:39 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-480 [Pipeline] fileExists [Pipeline] sh 06:01:40 + make test 06:01:40 go test ./... -coverprofile=coverage.out 06:01:45 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:01:57 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:01:57 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.4% of statements 06:02:02 go vet ./... 06:02:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:02:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:02:07 ./bin/test-attribution-txt.sh [Pipeline] echo 06:02:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:02:07 $ docker stop --time=1 a9afd8c5a74a296ff27fc8bee867dccef3b15f12a768236a78456d06be7001a7 06:02:11 $ docker rm -f --volumes a9afd8c5a74a296ff27fc8bee867dccef3b15f12a768236a78456d06be7001a7 [Pipeline] // withDockerContainer [Pipeline] sh 06:02:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:02:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:02:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:02:12 + ls -al . 06:02:12 total 184 06:02:12 drwxrwxr-x 10 jenkins jenkins 4096 May 16 06:01 . 06:02:12 drwxrwxr-x 4 jenkins jenkins 4096 May 16 06:00 .. 06:02:12 -rw-rw-r-- 1 jenkins jenkins 140 May 16 06:00 .dockerignore 06:02:12 drwxrwxr-x 8 jenkins jenkins 4096 May 16 06:00 .git 06:02:12 drwxrwxr-x 3 jenkins jenkins 4096 May 16 06:00 .github 06:02:12 -rw-rw-r-- 1 jenkins jenkins 331 May 16 06:00 .gitignore 06:02:12 -rw-rw-r-- 1 jenkins jenkins 41 May 16 06:00 .golangci.yml 06:02:12 drwxr-xr-x 3 jenkins jenkins 4096 May 16 06:00 .semver 06:02:12 -rw-rw-r-- 1 jenkins jenkins 10132 May 16 06:00 Attribution.txt 06:02:12 -rw-rw-r-- 1 jenkins jenkins 11576 May 16 06:00 CHANGELOG.md 06:02:12 -rw-rw-r-- 1 jenkins jenkins 1365 May 16 06:00 Dockerfile 06:02:12 -rw-rw-r-- 1 jenkins jenkins 677 May 16 06:00 GOVERNANCE.md 06:02:12 -rw-rw-r-- 1 jenkins jenkins 680 May 16 06:00 Jenkinsfile 06:02:12 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 06:00 LICENSE 06:02:12 -rw-rw-r-- 1 jenkins jenkins 1705 May 16 06:00 Makefile 06:02:12 -rw-rw-r-- 1 jenkins jenkins 622 May 16 06:00 OWNERS.md 06:02:12 -rw-rw-r-- 1 jenkins jenkins 4554 May 16 06:00 README.md 06:02:12 -rw-rw-r-- 1 jenkins jenkins 5 May 16 06:00 VERSION 06:02:12 drwxrwxr-x 2 jenkins jenkins 4096 May 16 06:00 bin 06:02:12 drwxrwxr-x 3 jenkins jenkins 4096 May 16 06:00 cmd 06:02:12 -rw-r--r-- 1 jenkins jenkins 24160 May 16 06:01 coverage.out 06:02:12 -rw-rw-r-- 1 jenkins jenkins 3453 May 16 06:00 go.mod 06:02:12 -rw-rw-r-- 1 jenkins jenkins 31670 May 16 06:00 go.sum 06:02:12 drwxrwxr-x 3 jenkins jenkins 4096 May 16 06:00 internal 06:02:12 drwxrwxr-x 2 jenkins jenkins 4096 May 16 06:00 simulator 06:02:12 drwxrwxr-x 4 jenkins jenkins 4096 May 16 06:00 snap 06:02:12 -rw-rw-r-- 1 jenkins jenkins 229 May 16 06:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:13 + 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=315df3988cd75bcd615d896ad3964fe2f7911975 --label arch=amd64 --label version=0.0.0 . 06:02:13 Sending build context to Docker daemon 6.543MB 06:02:13 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:02:13 Step 2/22 : FROM ${BASE} AS builder 06:02:13 ---> 7cf2daaed227 06:02:13 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:02:13 ---> Running in a8551fbb896b 06:02:13 Removing intermediate container a8551fbb896b 06:02:13 ---> 4e0f3983fdd9 06:02:13 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:02:13 ---> Running in 86519d3bd45f 06:02:13 Removing intermediate container 86519d3bd45f 06:02:13 ---> ce6d8739f778 06:02:13 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:02:13 ---> Running in 8e620a240fba 06:02:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:02:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:02:14 OK: 270 MiB in 61 packages 06:02:14 Removing intermediate container 8e620a240fba 06:02:14 ---> 9db5006c38ec 06:02:14 Step 6/22 : WORKDIR /device-modbus-go 06:02:14 ---> Running in b1f72d717689 06:02:14 Removing intermediate container b1f72d717689 06:02:14 ---> 0b010dedb360 06:02:14 Step 7/22 : COPY go.mod vendor* ./ 06:02:14 ---> 7de9f2025b05 06:02:14 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:02:14 ---> Running in bbb83532ec68 06:02:15 Removing intermediate container bbb83532ec68 06:02:15 ---> f089f826534b 06:02:15 Step 9/22 : COPY . . 06:02:16 ---> b44e99d5dc74 06:02:16 Step 10/22 : RUN ${MAKE} 06:02:16 ---> Running in 2ff9a7018bfa 06:02:16 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:38 Removing intermediate container 2ff9a7018bfa 06:02:38 ---> 536ccb4a688d 06:02:38 Step 11/22 : FROM alpine:3.17 06:02:38 3.17: Pulling from library/alpine 06:02:38 f56be85fc22e: Already exists 06:02:38 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:02:38 Status: Downloaded newer image for alpine:3.17 06:02:38 ---> 9ed4aefc74f6 06:02:38 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:02:38 ---> Running in fac36b3c3deb 06:02:38 Removing intermediate container fac36b3c3deb 06:02:38 ---> 6ec0c08f0ad2 06:02:38 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:02:38 ---> Running in 40e5a4045dcb 06:02:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:02:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:02:39 (1/1) Installing dumb-init (1.2.5-r2) 06:02:39 Executing busybox-1.35.0-r29.trigger 06:02:39 OK: 7 MiB in 16 packages 06:02:39 Removing intermediate container 40e5a4045dcb 06:02:39 ---> cd05b656d092 06:02:39 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:02:40 ---> 71ffeb1b296e 06:02:40 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:02:40 ---> 815ebf74cab6 06:02:40 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:02:40 ---> 60a03c063d3a 06:02:40 Step 17/22 : EXPOSE 59901 06:02:40 ---> Running in 5fc136459db9 06:02:41 Removing intermediate container 5fc136459db9 06:02:41 ---> a14e95f2d03d 06:02:41 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:02:41 ---> Running in 6064338f31e5 06:02:41 Removing intermediate container 6064338f31e5 06:02:41 ---> 9b147b9b1540 06:02:41 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:02:41 ---> Running in b6916ae72755 06:02:41 Removing intermediate container b6916ae72755 06:02:41 ---> 0cdf2783eac1 06:02:41 Step 20/22 : LABEL arch=amd64 06:02:41 ---> Running in 62d7a0e5ea1b 06:02:41 Removing intermediate container 62d7a0e5ea1b 06:02:41 ---> 9522bbf87ffe 06:02:41 Step 21/22 : LABEL git_sha=315df3988cd75bcd615d896ad3964fe2f7911975 06:02:41 ---> Running in 22a55dbfb418 06:02:41 Removing intermediate container 22a55dbfb418 06:02:41 ---> 0e82cfe95263 06:02:41 Step 22/22 : LABEL version=0.0.0 06:02:41 ---> Running in e87e5fb9e128 06:02:41 Removing intermediate container e87e5fb9e128 06:02:41 ---> 7ec8674e93bb 06:02:41 [Warning] One or more build-args [ARCH] were not consumed 06:02:41 Successfully built 7ec8674e93bb 06:02:41 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:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:02:42 06:02:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:02:42 latest: Pulling from edgex-lftools-log-publisher 06:02:42 5eb5b503b376: Pulling fs layer 06:02:42 5c69ac0246d0: Pulling fs layer 06:02:42 ec43610c2a17: Pulling fs layer 06:02:42 3a2ae6a8a46f: Pulling fs layer 06:02:42 33b1e0a273af: Pulling fs layer 06:02:42 5d3b04190fa2: Pulling fs layer 06:02:42 2f39f015ded8: Pulling fs layer 06:02:42 3a2ae6a8a46f: Waiting 06:02:42 5d3b04190fa2: Waiting 06:02:42 2f39f015ded8: Waiting 06:02:42 5c69ac0246d0: Verifying Checksum 06:02:42 5c69ac0246d0: Download complete 06:02:42 3a2ae6a8a46f: Verifying Checksum 06:02:42 3a2ae6a8a46f: Download complete 06:02:42 33b1e0a273af: Verifying Checksum 06:02:42 33b1e0a273af: Download complete 06:02:42 5d3b04190fa2: Verifying Checksum 06:02:42 5d3b04190fa2: Download complete 06:02:42 ec43610c2a17: Verifying Checksum 06:02:42 ec43610c2a17: Download complete 06:02:43 5eb5b503b376: Verifying Checksum 06:02:43 5eb5b503b376: Download complete 06:02:43 2f39f015ded8: Download complete 06:02:44 5eb5b503b376: Pull complete 06:02:44 5c69ac0246d0: Pull complete 06:02:44 ec43610c2a17: Pull complete 06:02:44 3a2ae6a8a46f: Pull complete 06:02:45 33b1e0a273af: Pull complete 06:02:45 5d3b04190fa2: Pull complete 06:02:50 2f39f015ded8: Pull complete 06:02:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:02:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:02:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:50 prd-ubuntu20.04-docker-8c-8g-15507 does not seem to be running inside a container 06:02:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-480 -v /w/workspace/xfoundry_device-modbus-go_PR-480:/w/workspace/xfoundry_device-modbus-go_PR-480:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-480@tmp:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:02:55 $ docker top dab8b384fec3fce5869af5487e0576e938a3f05c946b5b63ac727bf4d1530ded -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:55 ---> job-cost.sh 06:02:55 lf-activate-venv: SKIPPING 06:02:55 INFO: No Stack... 06:02:56 INFO: Retrieving Pricing Info for: v3-standard-8 06:02:56 INFO: Archiving Costs [Pipeline] sh 06:02:56 + cat /w/workspace/xfoundry_device-modbus-go_PR-480/archives/cost.csv 06:02:56 + cut -d, -f6 [Pipeline] lock 06:02:56 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-480-1-stack-cost] 06:02:56 Resource [jenkins-edgexfoundry-device-modbus-go-PR-480-1-stack-cost] did not exist. Created. 06:02:56 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-480-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:02:57 + echo total: 0.2199999988079071 [Pipeline] stash 06:02:57 Stashed 1 file(s) [Pipeline] } 06:02:57 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-480-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:02:57 $ docker stop --time=1 dab8b384fec3fce5869af5487e0576e938a3f05c946b5b63ac727bf4d1530ded 06:02:58 $ docker rm -f --volumes dab8b384fec3fce5869af5487e0576e938a3f05c946b5b63ac727bf4d1530ded [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:04:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15508 in /w/workspace/xfoundry_device-modbus-go_PR-480 [Pipeline] { [Pipeline] ws 06:04:21 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:04:21 Selected Git installation does not exist. Using Default 06:04:21 The recommended git tool is: NONE 06:04:27 using credential edgex-jenkins-ssh 06:04:27 Cloning the remote Git repository 06:04:27 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:04:27 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:04:27 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:04:27 > git --version # timeout=10 06:04:27 > git --version # 'git version 2.25.1' 06:04:27 using GIT_SSH to set credentials SSH Credentials for GitHub 06:04:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:04:29 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:04:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:04:30 Merging remotes/origin/main commit 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c into PR head commit 315df3988cd75bcd615d896ad3964fe2f7911975 06:04:29 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:04:29 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:04:29 using GIT_SSH to set credentials SSH Credentials for GitHub 06:04:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/480/head:refs/remotes/origin/PR-480 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:04:30 > git config core.sparsecheckout # timeout=10 06:04:30 > git checkout -f 315df3988cd75bcd615d896ad3964fe2f7911975 # timeout=10 06:04:30 > git remote # timeout=10 06:04:30 Merge succeeded, producing 315df3988cd75bcd615d896ad3964fe2f7911975 06:04:30 Checking out Revision 315df3988cd75bcd615d896ad3964fe2f7911975 (PR-480) 06:04:31 Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" 06:04:31 > git --version # timeout=10 06:04:31 > git --version # 'git version 2.25.1' 06:04:31 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:04:30 > git config --get remote.origin.url # timeout=10 06:04:30 using GIT_SSH to set credentials SSH Credentials for GitHub 06:04:30 > git merge 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c # timeout=10 06:04:30 > git rev-parse HEAD^{commit} # timeout=10 06:04:30 > git config core.sparsecheckout # timeout=10 06:04:30 > git checkout -f 315df3988cd75bcd615d896ad3964fe2f7911975 # timeout=10 06:04:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:04:32 % Total % Received % Xferd Average Speed Time Time Time Current 06:04:32 Dload Upload Total Spent Left Speed 06:04:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh 06:04:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:04:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:04:33 + sudo tee /etc/docker/daemon.new 06:04:33 { 06:04:33 "registry-mirrors": [ 06:04:33 "https://nexus3.edgexfoundry.org:10001" 06:04:33 ], 06:04:33 "bip": "10.250.0.254/24", 06:04:33 "hosts": [ 06:04:33 "tcp://0.0.0.0:5555", 06:04:33 "unix:///var/run/docker.sock" 06:04:33 ], 06:04:33 "mtu": 1458, 06:04:33 "selinux-enabled": true, 06:04:33 "seccomp-profile": "/etc/docker/seccomp.json" 06:04:33 } [Pipeline] sh 06:04:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:04:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:04:52 provisioning config files... 06:04:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config14482590824636091124tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:04:52 ---> docker-login.sh 06:04:52 nexus3.edgexfoundry.org:10001 06:04:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:53 Configure a credential helper to remove this warning. See 06:04:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:53 06:04:53 Login Succeeded 06:04:53 nexus3.edgexfoundry.org:10002 06:04:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:53 Configure a credential helper to remove this warning. See 06:04:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:53 06:04:53 Login Succeeded 06:04:53 nexus3.edgexfoundry.org:10003 06:04:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:53 Configure a credential helper to remove this warning. See 06:04:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:53 06:04:53 Login Succeeded 06:04:53 nexus3.edgexfoundry.org:10004 06:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:54 Configure a credential helper to remove this warning. See 06:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:54 06:04:54 Login Succeeded 06:04:54 docker.io 06:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:54 Configure a credential helper to remove this warning. See 06:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:54 06:04:54 Login Succeeded 06:04:54 ---> docker-login.sh ends [Pipeline] } 06:04:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:04:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:04:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:04:55 ========================================================= 06:04:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:04:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:55 + 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:04:56 Sending build context to Docker daemon 3.409MB 06:04:56 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:04:56 Step 2/10 : FROM ${BASE} AS builder 06:04:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:04:56 c41833b44d91: Pulling fs layer 06:04:56 ed15518f5707: Pulling fs layer 06:04:56 feae8fd75edb: Pulling fs layer 06:04:56 242c74f7c9fa: Pulling fs layer 06:04:56 3cdef696dda3: Pulling fs layer 06:04:56 2ced38df9373: Pulling fs layer 06:04:56 58f1dce35555: Pulling fs layer 06:04:56 3cdef696dda3: Waiting 06:04:56 2ced38df9373: Waiting 06:04:56 58f1dce35555: Waiting 06:04:56 242c74f7c9fa: Waiting 06:04:56 ed15518f5707: Verifying Checksum 06:04:56 ed15518f5707: Download complete 06:04:56 242c74f7c9fa: Verifying Checksum 06:04:56 242c74f7c9fa: Download complete 06:04:56 3cdef696dda3: Verifying Checksum 06:04:56 3cdef696dda3: Download complete 06:04:56 c41833b44d91: Verifying Checksum 06:04:56 c41833b44d91: Download complete 06:04:57 c41833b44d91: Pull complete 06:04:57 58f1dce35555: Verifying Checksum 06:04:57 58f1dce35555: Download complete 06:04:57 ed15518f5707: Pull complete 06:04:58 feae8fd75edb: Verifying Checksum 06:04:58 feae8fd75edb: Download complete 06:04:58 2ced38df9373: Verifying Checksum 06:04:58 2ced38df9373: Download complete 06:05:08 feae8fd75edb: Pull complete 06:05:08 242c74f7c9fa: Pull complete 06:05:08 3cdef696dda3: Pull complete 06:05:15 2ced38df9373: Pull complete 06:05:18 58f1dce35555: Pull complete 06:05:18 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 06:05:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:05:18 ---> fadd8f120f05 06:05:18 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:05:20 ---> Running in 873f0b958a65 06:05:20 Removing intermediate container 873f0b958a65 06:05:20 ---> ad042614200b 06:05:20 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:05:20 ---> Running in 5b5b259c20b1 06:05:20 Removing intermediate container 5b5b259c20b1 06:05:20 ---> eb50733791b5 06:05:20 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:05:20 ---> Running in 91a37e7c5f64 06:05:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:05:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:05:23 (1/8) Installing openssh-keygen (9.1_p1-r3) 06:05:23 (2/8) Installing libedit (20221030.3.1-r0) 06:05:23 (3/8) Installing openssh-client-common (9.1_p1-r3) 06:05:23 (4/8) Installing openssh-client-default (9.1_p1-r3) 06:05:23 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 06:05:23 (6/8) Installing openssh-server-common (9.1_p1-r3) 06:05:23 (7/8) Installing openssh-server (9.1_p1-r3) 06:05:23 (8/8) Installing openssh (9.1_p1-r3) 06:05:23 Executing busybox-1.35.0-r29.trigger 06:05:23 OK: 270 MiB in 61 packages 06:05:24 Removing intermediate container 91a37e7c5f64 06:05:24 ---> d9770a7f4707 06:05:24 Step 6/10 : WORKDIR /device-modbus-go 06:05:24 ---> Running in c370727ac446 06:05:24 Removing intermediate container c370727ac446 06:05:24 ---> 4ea06139d623 06:05:24 Step 7/10 : COPY go.mod vendor* ./ 06:05:25 ---> cc46640fb731 06:05:25 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:05:25 ---> Running in 5715508fcc36 06:06:22 Removing intermediate container 5715508fcc36 06:06:22 ---> 5958e1f17dcf 06:06:22 Step 9/10 : COPY . . 06:06:22 ---> 31858a82500b 06:06:22 Step 10/10 : RUN ${MAKE} 06:06:22 ---> Running in ea819ab044ab 06:06:22 noop 06:06:22 Removing intermediate container ea819ab044ab 06:06:22 ---> 1bb15a3fc3b3 06:06:22 Successfully built 1bb15a3fc3b3 06:06:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:22 + docker inspect -f . ci-base-image-arm64 06:06:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:23 prd-ubuntu20.04-docker-arm64-4c-16g-15508 does not seem to be running inside a container 06:06:23 $ 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:06:25 $ docker top 4552744217fa763d4a105533cced3569da9fd42f897e5258de94e20e93639901 -eo pid,comm [Pipeline] { [Pipeline] sh 06:06:25 + go version 06:06:25 go version go1.20.2 linux/arm64 [Pipeline] } 06:06:25 $ docker stop --time=1 4552744217fa763d4a105533cced3569da9fd42f897e5258de94e20e93639901 06:06:27 $ docker rm -f --volumes 4552744217fa763d4a105533cced3569da9fd42f897e5258de94e20e93639901 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:28 + docker inspect -f . ci-base-image-arm64 06:06:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:28 prd-ubuntu20.04-docker-arm64-4c-16g-15508 does not seem to be running inside a container 06:06:28 $ 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:06:29 $ docker top f50a1903f0f2c2b607e8539e6caf2b97086a73c01c355c3e1403055a5780c9cd -eo pid,comm [Pipeline] { [Pipeline] sh 06:06:30 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 06:06:30 + make test 06:06:31 go test ./... -coverprofile=coverage.out 06:07:03 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:08:54 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:08:54 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.083s coverage: 47.4% of statements 06:08:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:08:54 go vet ./... 06:09:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:09:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:09:27 ./bin/test-attribution-txt.sh [Pipeline] echo 06:09:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:09:27 $ docker stop --time=1 f50a1903f0f2c2b607e8539e6caf2b97086a73c01c355c3e1403055a5780c9cd 06:09:29 $ docker rm -f --volumes f50a1903f0f2c2b607e8539e6caf2b97086a73c01c355c3e1403055a5780c9cd [Pipeline] // withDockerContainer [Pipeline] sh 06:09:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:09:30 Warning: overwriting stash ‘coverage-report’ 06:09:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:09:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:09:32 + ls -al . 06:09:32 total 180 06:09:32 drwxrwxr-x 9 jenkins jenkins 4096 May 16 06:06 . 06:09:32 drwxrwxr-x 4 jenkins jenkins 4096 May 16 06:04 .. 06:09:32 -rw-rw-r-- 1 jenkins jenkins 140 May 16 06:04 .dockerignore 06:09:32 drwxrwxr-x 8 jenkins jenkins 4096 May 16 06:04 .git 06:09:32 drwxrwxr-x 3 jenkins jenkins 4096 May 16 06:04 .github 06:09:32 -rw-rw-r-- 1 jenkins jenkins 331 May 16 06:04 .gitignore 06:09:32 -rw-rw-r-- 1 jenkins jenkins 41 May 16 06:04 .golangci.yml 06:09:32 -rw-rw-r-- 1 jenkins jenkins 10132 May 16 06:04 Attribution.txt 06:09:32 -rw-rw-r-- 1 jenkins jenkins 11576 May 16 06:04 CHANGELOG.md 06:09:32 -rw-rw-r-- 1 jenkins jenkins 1365 May 16 06:04 Dockerfile 06:09:32 -rw-rw-r-- 1 jenkins jenkins 677 May 16 06:04 GOVERNANCE.md 06:09:32 -rw-rw-r-- 1 jenkins jenkins 680 May 16 06:04 Jenkinsfile 06:09:32 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 06:04 LICENSE 06:09:32 -rw-rw-r-- 1 jenkins jenkins 1705 May 16 06:04 Makefile 06:09:32 -rw-rw-r-- 1 jenkins jenkins 622 May 16 06:04 OWNERS.md 06:09:32 -rw-rw-r-- 1 jenkins jenkins 4554 May 16 06:04 README.md 06:09:32 -rw-rw-r-- 1 jenkins jenkins 5 May 16 06:00 VERSION 06:09:32 drwxrwxr-x 2 jenkins jenkins 4096 May 16 06:04 bin 06:09:32 drwxrwxr-x 3 jenkins jenkins 4096 May 16 06:04 cmd 06:09:32 -rw-r--r-- 1 jenkins jenkins 24160 May 16 06:08 coverage.out 06:09:32 -rw-rw-r-- 1 jenkins jenkins 3453 May 16 06:04 go.mod 06:09:32 -rw-rw-r-- 1 jenkins jenkins 31670 May 16 06:04 go.sum 06:09:32 drwxrwxr-x 3 jenkins jenkins 4096 May 16 06:04 internal 06:09:32 drwxrwxr-x 2 jenkins jenkins 4096 May 16 06:04 simulator 06:09:32 drwxrwxr-x 4 jenkins jenkins 4096 May 16 06:04 snap 06:09:32 -rw-rw-r-- 1 jenkins jenkins 229 May 16 06:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:32 + 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=315df3988cd75bcd615d896ad3964fe2f7911975 --label arch=arm64 --label version=0.0.0 . 06:09:32 Sending build context to Docker daemon 3.434MB 06:09:32 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:09:32 Step 2/22 : FROM ${BASE} AS builder 06:09:32 ---> 1bb15a3fc3b3 06:09:32 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:09:33 ---> Running in 081a230e2619 06:09:34 Removing intermediate container 081a230e2619 06:09:34 ---> c276611ebefc 06:09:34 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:09:34 ---> Running in 0b932741dd03 06:09:35 Removing intermediate container 0b932741dd03 06:09:35 ---> aaffe94a7c93 06:09:35 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:09:35 ---> Running in bfaf150aef18 06:09:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:09:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:09:38 OK: 270 MiB in 61 packages 06:09:39 Removing intermediate container bfaf150aef18 06:09:39 ---> fc3dec4a6fd8 06:09:39 Step 6/22 : WORKDIR /device-modbus-go 06:09:39 ---> Running in 6ad78dca6261 06:09:39 Removing intermediate container 6ad78dca6261 06:09:39 ---> db15d9be28aa 06:09:39 Step 7/22 : COPY go.mod vendor* ./ 06:09:41 ---> ba879b846d77 06:09:41 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:09:41 ---> Running in 5ca4234d5fe9 06:09:48 Removing intermediate container 5ca4234d5fe9 06:09:48 ---> bc52c96b661b 06:09:48 Step 9/22 : COPY . . 06:09:48 ---> ea15eb4ff00f 06:09:48 Step 10/22 : RUN ${MAKE} 06:09:48 ---> Running in 370a5a5c6064 06:09:49 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:56 Removing intermediate container 370a5a5c6064 06:11:56 ---> b9fd1e160ac5 06:11:56 Step 11/22 : FROM alpine:3.17 06:11:56 3.17: Pulling from library/alpine 06:11:56 c41833b44d91: Already exists 06:11:56 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:11:56 Status: Downloaded newer image for alpine:3.17 06:11:56 ---> 51e60588ff2c 06:11:56 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:11:56 ---> Running in 345c97603762 06:11:56 Removing intermediate container 345c97603762 06:11:56 ---> ebb86f4f556f 06:11:56 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:11:56 ---> Running in d814f8e358d1 06:11:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:11:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:11:56 (1/1) Installing dumb-init (1.2.5-r2) 06:11:56 Executing busybox-1.35.0-r29.trigger 06:11:56 OK: 8 MiB in 16 packages 06:11:56 Removing intermediate container d814f8e358d1 06:11:56 ---> d22236b96fbb 06:11:56 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:11:56 ---> 09923c0e47f5 06:11:56 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:11:56 ---> 6f89cc5c6265 06:11:56 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:11:56 ---> de606287062e 06:11:56 Step 17/22 : EXPOSE 59901 06:11:56 ---> Running in a334fbabb905 06:11:56 Removing intermediate container a334fbabb905 06:11:56 ---> 8a3aa7ee375a 06:11:56 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:11:56 ---> Running in ecda16904112 06:11:56 Removing intermediate container ecda16904112 06:11:56 ---> 9b226a78ad70 06:11:56 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:11:56 ---> Running in 12fc391d6957 06:11:56 Removing intermediate container 12fc391d6957 06:11:56 ---> 129bce647822 06:11:56 Step 20/22 : LABEL arch=arm64 06:11:56 ---> Running in 198527e16aaf 06:11:56 Removing intermediate container 198527e16aaf 06:11:56 ---> 58ffb01c8183 06:11:56 Step 21/22 : LABEL git_sha=315df3988cd75bcd615d896ad3964fe2f7911975 06:11:56 ---> Running in 7595e30cbeff 06:11:57 Removing intermediate container 7595e30cbeff 06:11:57 ---> 3626e0c68e53 06:11:57 Step 22/22 : LABEL version=0.0.0 06:11:57 ---> Running in 332a5edb5cb5 06:11:57 Removing intermediate container 332a5edb5cb5 06:11:57 ---> 00915d6434a0 06:11:57 [Warning] One or more build-args [ARCH] were not consumed 06:11:57 Successfully built 00915d6434a0 06:11:57 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:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:11:58 06:11:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:11:58 arm64: Pulling from edgex-lftools-log-publisher 06:11:58 8998bd30e6a1: Pulling fs layer 06:11:58 04944245beec: Pulling fs layer 06:11:58 699f458cf7ca: Pulling fs layer 06:11:58 765212b225bb: Pulling fs layer 06:11:58 f23df028b6ca: Pulling fs layer 06:11:58 765212b225bb: Waiting 06:11:58 d65c8cfc05b1: Pulling fs layer 06:11:58 f23df028b6ca: Waiting 06:11:58 2437ff75d9bd: Pulling fs layer 06:11:58 d65c8cfc05b1: Waiting 06:11:58 2437ff75d9bd: Waiting 06:11:58 04944245beec: Verifying Checksum 06:11:58 04944245beec: Download complete 06:11:58 765212b225bb: Verifying Checksum 06:11:58 765212b225bb: Download complete 06:11:58 f23df028b6ca: Verifying Checksum 06:11:58 f23df028b6ca: Download complete 06:11:58 d65c8cfc05b1: Verifying Checksum 06:11:58 d65c8cfc05b1: Download complete 06:11:58 699f458cf7ca: Verifying Checksum 06:11:58 699f458cf7ca: Download complete 06:11:59 8998bd30e6a1: Verifying Checksum 06:11:59 8998bd30e6a1: Download complete 06:12:01 2437ff75d9bd: Verifying Checksum 06:12:01 2437ff75d9bd: Download complete 06:12:02 8998bd30e6a1: Pull complete 06:12:03 04944245beec: Pull complete 06:12:04 699f458cf7ca: Pull complete 06:12:04 765212b225bb: Pull complete 06:12:05 f23df028b6ca: Pull complete 06:12:05 d65c8cfc05b1: Pull complete 06:12:20 2437ff75d9bd: Pull complete 06:12:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:12:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:12:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:20 prd-ubuntu20.04-docker-arm64-4c-16g-15508 does not seem to be running inside a container 06:12:21 $ 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:12:23 $ docker top 79bebf8559adb9264847e73751939af689d264b2f1926aa31d6a235a29213487 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:12:24 ---> job-cost.sh 06:12:24 lf-activate-venv: SKIPPING 06:12:24 INFO: No Stack... 06:12:24 INFO: Retrieving Pricing Info for: v3-standard-4 06:12:25 INFO: Archiving Costs [Pipeline] sh 06:12:25 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 06:12:25 + cut -d, -f6 [Pipeline] lock 06:12:26 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-480-1-stack-cost] 06:12:26 Resource [jenkins-edgexfoundry-device-modbus-go-PR-480-1-stack-cost] did not exist. Created. 06:12:26 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-480-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:12:26 /w/workspace/device-modbus-go/1@tmp/durable-e469d6eb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:12:27 + echo total: 0.10999999940395355 [Pipeline] stash 06:12:27 Warning: overwriting stash ‘stack-cost’ 06:12:27 Stashed 1 file(s) [Pipeline] } 06:12:27 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-480-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:12:27 $ docker stop --time=1 79bebf8559adb9264847e73751939af689d264b2f1926aa31d6a235a29213487 06:12:28 $ docker rm -f --volumes 79bebf8559adb9264847e73751939af689d264b2f1926aa31d6a235a29213487 [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:12:29 provisioning config files... 06:12:29 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/config15922571361738693815tmp [Pipeline] { [Pipeline] sh 06:12:30 + set +x 06:12:30 + curl -s https://codecov.io/bash 06:12:30 + bash -s -- 06:12:30 06:12:30 _____ _ 06:12:30 / ____| | | 06:12:30 | | ___ __| | ___ ___ _____ __ 06:12:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:12:30 | |___| (_) | (_| | __/ (_| (_) \ V / 06:12:30 \_____\___/ \__,_|\___|\___\___/ \_/ 06:12:30 Bash-1.0.6 06:12:30 06:12:30 06:12:30 ==> git version 2.25.1 found 06:12:30 ==> 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:12:30 Release-Date: 2020-01-08 06:12:30 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:12:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:12:30 ==> Jenkins CI detected. 06:12:30 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-480 06:12:30 project root: . 06:12:30 --> token set from env 06:12:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:12:30 ==> Running gcov in . (disable via -X gcov) 06:12:30 ==> Python coveragepy not found 06:12:30 ==> Searching for coverage reports in: 06:12:30 + . 06:12:30 -> Found 1 reports 06:12:30 ==> Detecting git/mercurial file structure 06:12:30 ==> Reading reports 06:12:30 + ./coverage.out bytes=24160 06:12:30 ==> Appending adjustments 06:12:30 https://docs.codecov.io/docs/fixing-reports 06:12:30 + Found adjustments 06:12:30 ==> Gzipping contents 06:12:30 4.0K /tmp/codecov.Ih3JGS.gz 06:12:30 ==> Uploading reports 06:12:30 url: https://codecov.io 06:12:30 query: branch=PR-480&commit=315df3988cd75bcd615d896ad3964fe2f7911975&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-480%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=480&job=&cmd_args= 06:12:30 -> Pinging Codecov 06:12:30 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-480&commit=315df3988cd75bcd615d896ad3964fe2f7911975&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-480%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=480&job=&cmd_args= 06:12:30 -> Uploading to 06:12:30 https://storage.googleapis.com/codecov/v4/raw/2023-05-16/55DBCA73C666E3227836607328DD7E49/315df3988cd75bcd615d896ad3964fe2f7911975/eaef347b-d627-4c3c-b16f-a0949e1daa10.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T061230Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d72d3e0fbb423ad19e6a9fa9ba172342a0fc4491549dfe0f55593d6106822498 06:12:30 % Total % Received % Xferd Average Speed Time Time Time Current 06:12:30 Dload Upload Total Spent Left Speed 06:12:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 17836 --:--:-- --:--:-- --:--:-- 17755 100 3924 0 0 100 3924 0 16350 --:--:-- --:--:-- --:--:-- 16350 06:12:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/315df3988cd75bcd615d896ad3964fe2f7911975 [Pipeline] } 06:12:30 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:12:32 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-480/archives ] 06:12:32 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-480/archives 06:12:32 total 16 06:12:32 drwxr-xr-x 3 root root 4096 May 16 06:02 . 06:12:32 drwxrwxr-x 11 jenkins jenkins 4096 May 16 06:02 .. 06:12:32 drwxr-xr-x 2 root root 4096 May 16 06:02 cost 06:12:32 -rw-r--r-- 1 root root 88 May 16 06:02 cost.csv 06:12:32 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-480/archives 06:12:32 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-480/archives 06:12:32 total 16 06:12:32 drwxr-xr-x 3 jenkins jenkins 4096 May 16 06:02 . 06:12:32 drwxrwxr-x 11 jenkins jenkins 4096 May 16 06:02 .. 06:12:32 drwxr-xr-x 2 jenkins jenkins 4096 May 16 06:02 cost 06:12:32 -rw-r--r-- 1 jenkins jenkins 88 May 16 06:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:12:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:12:33 ---> package-listing.sh 06:12:33 ++ tr '[:upper:]' '[:lower:]' 06:12:33 ++ facter osfamily 06:12:34 + OS_FAMILY=debian 06:12:34 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-480 06:12:34 + START_PACKAGES=/tmp/packages_start.txt 06:12:34 + END_PACKAGES=/tmp/packages_end.txt 06:12:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:12:34 + PACKAGES=/tmp/packages_start.txt 06:12:34 + '[' /w/workspace/xfoundry_device-modbus-go_PR-480 ']' 06:12:34 + PACKAGES=/tmp/packages_end.txt 06:12:34 + case "${OS_FAMILY}" in 06:12:34 + dpkg -l 06:12:34 + grep '^ii' 06:12:34 + '[' -f /tmp/packages_start.txt ']' 06:12:34 + '[' -f /tmp/packages_end.txt ']' 06:12:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:12:34 + '[' /w/workspace/xfoundry_device-modbus-go_PR-480 ']' 06:12:34 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-480/archives/ 06:12:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-480/archives/ [Pipeline] echo 06:12:34 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-480/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:12:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:12:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:35 prd-ubuntu20.04-docker-8c-8g-15507 does not seem to be running inside a container 06:12:35 $ 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-480/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-480 -v /w/workspace/xfoundry_device-modbus-go_PR-480:/w/workspace/xfoundry_device-modbus-go_PR-480:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-480@tmp:/w/workspace/xfoundry_device-modbus-go_PR-480@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:12:35 $ docker top fbb6268c9955c2312df4339d4728f3e77fbf8ee7fb451d5c3996869c9c57ca11 -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:35 + touch /tmp/pre-build-complete [Pipeline] sh 06:12:36 + mkdir -p /var/log/sysstat [Pipeline] sh 06:12:36 + ls /var/log/sa-host 06:12:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:12:36 provisioning config files... 06:12:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/config10869871130393463793tmp [Pipeline] { [Pipeline] echo 06:12:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:12:36 ---> create-netrc.sh [Pipeline] } 06:12:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:12:37 ---> python-tools-install.sh [Pipeline] echo 06:12:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:12:37 ---> sudo-logs.sh 06:12:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:12:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:12:38 ---> job-cost.sh 06:12:38 lf-activate-venv: SKIPPING 06:12:38 DEBUG: total: 0.2199999988079071 06:12:38 INFO: Retrieving Stack Cost... 06:12:38 INFO: Retrieving Pricing Info for: v3-standard-8 06:12:38 INFO: Archiving Costs [Pipeline] echo 06:12:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:12:39 ---> logs-deploy.sh 06:12:39 lf-activate-venv: SKIPPING 06:12:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-480/1 06:12:39 INFO: archiving workspace using pattern(s): 06:12:40 Archives upload complete. 06:12:40 INFO: archiving logs to Nexus