Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 315df3988cd75bcd615d896ad3964fe2f7911975+2cc3518655efefba22ff17e7bf1dcccbd8773e75 (a90563dcc95b33cbbfd7228e3cabc71905d89bf7) 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-ssh15531015541702448047.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-ssh12729485908178422558.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-480/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-480/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh472053227907430985.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 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-ssh4953100547791643226.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-480/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-480/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15918555241570442538.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15814 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 2cc3518655efefba22ff17e7bf1dcccbd8773e75 into PR head commit 315df3988cd75bcd615d896ad3964fe2f7911975 Merge succeeded, producing a99638d2d67714794e8cea49354f3b400cf9aef0 Checking out Revision a99638d2d67714794e8cea49354f3b400cf9aef0 (PR-480) > 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 2cc3518655efefba22ff17e7bf1dcccbd8773e75 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a99638d2d67714794e8cea49354f3b400cf9aef0 # timeout=10 Commit message: "Merge commit '2cc3518655efefba22ff17e7bf1dcccbd8773e75' into HEAD" > git rev-list --no-walk 315df3988cd75bcd615d896ad3964fe2f7911975 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:54:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:54:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:54:25 ========================================================= 00:54:25 EdgeX Global Pipelines Version Info 00:54:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:54:26 ------------------- 00:54:26 stable info: 00:54:26 ------------------- 00:54:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:54:26 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:54:26 Message: update stable to v1.0.249 00:54:26 ------------------- 00:54:26 experimental info: 00:54:26 ------------------- 00:54:26 Commited By: **** collab-it+edgex@linuxfoundation.org 00:54:26 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:54:26 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:54:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 00:54:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-480 [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-480 [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-480 [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a99638d2d67714794e8cea49354f3b400cf9aef0 [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a99638d [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:54:27 provisioning config files... 00:54:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/config2971900747655725652tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:27 ---> docker-login.sh 00:54:27 nexus3.edgexfoundry.org:10001 00:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:28 Configure a credential helper to remove this warning. See 00:54:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:28 00:54:28 Login Succeeded 00:54:28 nexus3.edgexfoundry.org:10002 00:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:28 Configure a credential helper to remove this warning. See 00:54:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:28 00:54:28 Login Succeeded 00:54:28 nexus3.edgexfoundry.org:10003 00:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:28 Configure a credential helper to remove this warning. See 00:54:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:28 00:54:28 Login Succeeded 00:54:28 nexus3.edgexfoundry.org:10004 00:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:28 Configure a credential helper to remove this warning. See 00:54:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:28 00:54:28 Login Succeeded 00:54:28 docker.io 00:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:28 Configure a credential helper to remove this warning. See 00:54:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:28 00:54:28 Login Succeeded 00:54:28 ---> docker-login.sh ends [Pipeline] } 00:54:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:54:29 + git rev-list -1 --merges a99638d2d67714794e8cea49354f3b400cf9aef0~1..a99638d2d67714794e8cea49354f3b400cf9aef0 [Pipeline] echo 00:54:29 -----------> git rev-list -1 --merges a99638d2d67714794e8cea49354f3b400cf9aef0~1..a99638d2d67714794e8cea49354f3b400cf9aef0 a99638d2d67714794e8cea49354f3b400cf9aef0 00:54:29 a99638d2d67714794e8cea49354f3b400cf9aef0 [false] [Pipeline] sh 00:54:29 + git log --format=format:%s -1 a99638d2d67714794e8cea49354f3b400cf9aef0 [Pipeline] echo 00:54:29 ========================================================= 00:54:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:54:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:54:29 + git log --format=format:%s -1 a99638d2d67714794e8cea49354f3b400cf9aef0 [Pipeline] echo 00:54:29 [semverPrep] GIT_COMMIT: a99638d2d67714794e8cea49354f3b400cf9aef0, Commit Message: Merge commit '2cc3518655efefba22ff17e7bf1dcccbd8773e75' into HEAD [Pipeline] echo 00:54:29 [semverPrep] This is not a build commit. [Pipeline] sh 00:54:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:54:30 + grep -v github /etc/ssh/ssh_known_hosts 00:54:30 + [ -e /tmp/ssh_known_hosts ] 00:54:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:54:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:54:30 + sudo tee -a /etc/ssh/ssh_known_hosts 00:54:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:30 00:54:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:31 0.1.4: Pulling from edgex-devops/py-git-semver 00:54:31 b85a868b505f: Pulling fs layer 00:54:31 e2be974225ed: Pulling fs layer 00:54:31 339a4e72a1f5: Pulling fs layer 00:54:31 988bab9f4d93: Pulling fs layer 00:54:31 1469e6f7b9e6: Pulling fs layer 00:54:31 eaf3925da568: Pulling fs layer 00:54:31 bab4dde63d76: Pulling fs layer 00:54:31 bde34c3a00c8: Pulling fs layer 00:54:31 b352a97aabf1: Pulling fs layer 00:54:31 4872d77fe225: Pulling fs layer 00:54:31 5851b861e8e6: Pulling fs layer 00:54:31 eaf3925da568: Waiting 00:54:31 5851b861e8e6: Waiting 00:54:31 988bab9f4d93: Waiting 00:54:31 bde34c3a00c8: Waiting 00:54:31 bab4dde63d76: Waiting 00:54:31 1469e6f7b9e6: Waiting 00:54:31 4872d77fe225: Waiting 00:54:31 e2be974225ed: Download complete 00:54:31 988bab9f4d93: Verifying Checksum 00:54:31 988bab9f4d93: Download complete 00:54:31 339a4e72a1f5: Download complete 00:54:31 1469e6f7b9e6: Verifying Checksum 00:54:31 1469e6f7b9e6: Download complete 00:54:31 eaf3925da568: Download complete 00:54:31 bde34c3a00c8: Verifying Checksum 00:54:31 bde34c3a00c8: Download complete 00:54:31 4872d77fe225: Verifying Checksum 00:54:31 4872d77fe225: Download complete 00:54:31 5851b861e8e6: Verifying Checksum 00:54:31 5851b861e8e6: Download complete 00:54:31 b85a868b505f: Verifying Checksum 00:54:31 b85a868b505f: Download complete 00:54:31 bab4dde63d76: Verifying Checksum 00:54:31 bab4dde63d76: Download complete 00:54:33 b85a868b505f: Pull complete 00:54:33 e2be974225ed: Pull complete 00:54:33 339a4e72a1f5: Pull complete 00:54:33 988bab9f4d93: Pull complete 00:54:33 1469e6f7b9e6: Pull complete 00:54:33 eaf3925da568: Pull complete 00:54:35 bab4dde63d76: Pull complete 00:54:35 bde34c3a00c8: Pull complete 00:54:36 b352a97aabf1: Pull complete 00:54:36 4872d77fe225: Pull complete 00:54:36 5851b861e8e6: Pull complete 00:54:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:54:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:36 prd-ubuntu20.04-docker-8c-8g-15814 does not seem to be running inside a container 00:54:36 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:54:38 $ docker top 92b79a120637cb76f01057d9e50ef8ce5d74205e1ca381cfefa5feb57096756e -eo pid,comm 00:54:39 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). 00:54:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:54:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:54:39 [ssh-agent] Looking for ssh-agent implementation... 00:54:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:54:39 $ docker exec 92b79a120637cb76f01057d9e50ef8ce5d74205e1ca381cfefa5feb57096756e ssh-agent 00:54:39 SSH_AUTH_SOCK=/tmp/ssh-AHaAP9QEqyzx/agent.32 00:54:39 SSH_AGENT_PID=38 00:54:39 Running ssh-add (command line suppressed) 00:54:39 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-480@tmp/private_key_5240053831513045524.key (/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/private_key_5240053831513045524.key) 00:54:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:54:39 + git tag --points-at HEAD [Pipeline] } 00:54:39 $ docker exec --env ******** --env ******** 92b79a120637cb76f01057d9e50ef8ce5d74205e1ca381cfefa5feb57096756e ssh-agent -k 00:54:39 unset SSH_AUTH_SOCK; 00:54:39 unset SSH_AGENT_PID; 00:54:39 echo Agent pid 38 killed; 00:54:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:54:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:54:39 [ssh-agent] Looking for ssh-agent implementation... 00:54:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:54:40 $ docker exec 92b79a120637cb76f01057d9e50ef8ce5d74205e1ca381cfefa5feb57096756e ssh-agent 00:54:40 SSH_AUTH_SOCK=/tmp/ssh-4X7Nysns8L7R/agent.71 00:54:40 SSH_AGENT_PID=77 00:54:40 Running ssh-add (command line suppressed) 00:54:40 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-480@tmp/private_key_8143250311329893707.key (/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/private_key_8143250311329893707.key) 00:54:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:54:40 + git semver init 00:54:40 2023-05-17 00:54:40,741 [run_init] DEBUG init version:0.0.0 force:False 00:54:40 2023-05-17 00:54:40,743 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-480/.semver 00:54:40 2023-05-17 00:54:40,743 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-480/.semver 00:54:40 2023-05-17 00:54:40,743 [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) 00:54:41 2023-05-17 00:54:41,509 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-480/.git/info/exclude 00:54:41 2023-05-17 00:54:41,510 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-480/.semver/PR-480 with force:False 00:54:41 2023-05-17 00:54:41,510 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-480/.semver/PR-480 00:54:41 2023-05-17 00:54:41,514 [execute] INFO git cat-file --batch-check 00:54:41 2023-05-17 00:54:41,515 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-480/.semver, universal_newlines=False, shell=None, istream=) 00:54:41 2023-05-17 00:54:41,521 [execute] INFO git cat-file --batch 00:54:41 2023-05-17 00:54:41,521 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-480/.semver, universal_newlines=False, shell=None, istream=) 00:54:41 2023-05-17 00:54:41,526 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-480/.semver/PR-480 00:54:41 0.0.0 [Pipeline] } 00:54:41 $ docker exec --env ******** --env ******** 92b79a120637cb76f01057d9e50ef8ce5d74205e1ca381cfefa5feb57096756e ssh-agent -k 00:54:41 unset SSH_AUTH_SOCK; 00:54:41 unset SSH_AGENT_PID; 00:54:41 echo Agent pid 77 killed; 00:54:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:54:42 + git semver [Pipeline] } 00:54:42 $ docker stop --time=1 92b79a120637cb76f01057d9e50ef8ce5d74205e1ca381cfefa5feb57096756e 00:54:43 $ docker rm -f --volumes 92b79a120637cb76f01057d9e50ef8ce5d74205e1ca381cfefa5feb57096756e [Pipeline] // withDockerContainer [Pipeline] sh 00:54:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:54:44 Stashed 1 file(s) [Pipeline] echo 00:54:44 [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 00:54:44 provisioning config files... 00:54:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/config7124892930437915449tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:44 ---> docker-login.sh 00:54:44 nexus3.edgexfoundry.org:10001 00:54:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:44 Configure a credential helper to remove this warning. See 00:54:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:44 00:54:44 Login Succeeded 00:54:44 nexus3.edgexfoundry.org:10002 00:54:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:44 Configure a credential helper to remove this warning. See 00:54:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:44 00:54:44 Login Succeeded 00:54:44 nexus3.edgexfoundry.org:10003 00:54:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:45 Configure a credential helper to remove this warning. See 00:54:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:45 00:54:45 Login Succeeded 00:54:45 nexus3.edgexfoundry.org:10004 00:54:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:45 Configure a credential helper to remove this warning. See 00:54:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:45 00:54:45 Login Succeeded 00:54:45 docker.io 00:54:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:45 Configure a credential helper to remove this warning. See 00:54:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:45 00:54:45 Login Succeeded 00:54:45 ---> docker-login.sh ends [Pipeline] } 00:54:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:54:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:54:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:54:45 ========================================================= 00:54:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:54:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:45 + 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 . 00:54:45 Sending build context to Docker daemon 6.528MB 00:54:45 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:54:45 Step 2/10 : FROM ${BASE} AS builder 00:54:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:54:45 f56be85fc22e: Pulling fs layer 00:54:45 85791d961cd3: Pulling fs layer 00:54:45 d694b5ae8c79: Pulling fs layer 00:54:45 9f32a84ed3da: Pulling fs layer 00:54:45 4d19c01a9841: Pulling fs layer 00:54:45 9325e15d5711: Pulling fs layer 00:54:45 556b6ee489ea: Pulling fs layer 00:54:45 c5a4b2cf53e6: Pulling fs layer 00:54:45 4d19c01a9841: Waiting 00:54:45 c5a4b2cf53e6: Waiting 00:54:45 9325e15d5711: Waiting 00:54:45 556b6ee489ea: Waiting 00:54:45 9f32a84ed3da: Waiting 00:54:45 85791d961cd3: Download complete 00:54:46 9f32a84ed3da: Verifying Checksum 00:54:46 9f32a84ed3da: Download complete 00:54:46 4d19c01a9841: Verifying Checksum 00:54:46 4d19c01a9841: Download complete 00:54:46 f56be85fc22e: Verifying Checksum 00:54:46 f56be85fc22e: Download complete 00:54:46 9325e15d5711: Verifying Checksum 00:54:46 9325e15d5711: Download complete 00:54:46 f56be85fc22e: Pull complete 00:54:46 85791d961cd3: Pull complete 00:54:47 c5a4b2cf53e6: Download complete 00:54:47 d694b5ae8c79: Verifying Checksum 00:54:47 d694b5ae8c79: Download complete 00:54:47 556b6ee489ea: Verifying Checksum 00:54:47 556b6ee489ea: Download complete 00:54:50 d694b5ae8c79: Pull complete 00:54:50 9f32a84ed3da: Pull complete 00:54:51 4d19c01a9841: Pull complete 00:54:51 9325e15d5711: Pull complete 00:54:53 556b6ee489ea: Pull complete 00:54:54 c5a4b2cf53e6: Pull complete 00:54:54 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:54:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:54:54 ---> c4be618373d6 00:54:54 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:54:59 Still waiting to schedule task 00:54:59 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15813’ 00:55:00 ---> Running in 5234746aa38c 00:55:00 Removing intermediate container 5234746aa38c 00:55:00 ---> 1dd4fb75f4c9 00:55:00 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:55:00 ---> Running in eca507b6c713 00:55:00 Removing intermediate container eca507b6c713 00:55:00 ---> 7182d629433d 00:55:00 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:55:01 ---> Running in 65c9ad9c8953 00:55:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:55:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:55:02 (1/8) Installing openssh-keygen (9.1_p1-r3) 00:55:02 (2/8) Installing libedit (20221030.3.1-r0) 00:55:02 (3/8) Installing openssh-client-common (9.1_p1-r3) 00:55:02 (4/8) Installing openssh-client-default (9.1_p1-r3) 00:55:02 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 00:55:02 (6/8) Installing openssh-server-common (9.1_p1-r3) 00:55:02 (7/8) Installing openssh-server (9.1_p1-r3) 00:55:02 (8/8) Installing openssh (9.1_p1-r3) 00:55:02 Executing busybox-1.35.0-r29.trigger 00:55:02 OK: 270 MiB in 61 packages 00:55:03 Removing intermediate container 65c9ad9c8953 00:55:03 ---> 22276ab43bcb 00:55:03 Step 6/10 : WORKDIR /device-modbus-go 00:55:03 ---> Running in 778a7e0ad198 00:55:03 Removing intermediate container 778a7e0ad198 00:55:03 ---> 0eaf6d890edf 00:55:03 Step 7/10 : COPY go.mod vendor* ./ 00:55:04 ---> 6f424dfdd181 00:55:04 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:55:04 ---> Running in 23522449d552 00:56:00 Removing intermediate container 23522449d552 00:56:00 ---> 0cae245490fb 00:56:00 Step 9/10 : COPY . . 00:56:00 ---> 1ddd5e6aa2e9 00:56:00 Step 10/10 : RUN ${MAKE} 00:56:00 ---> Running in 9b2cbd930f9e 00:56:00 noop 00:56:00 Removing intermediate container 9b2cbd930f9e 00:56:00 ---> 72f5c2d7f673 00:56:00 Successfully built 72f5c2d7f673 00:56:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:00 + docker inspect -f . ci-base-image-x86_64 00:56:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:01 prd-ubuntu20.04-docker-8c-8g-15814 does not seem to be running inside a container 00:56:01 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:56:01 $ docker top a75a36c501b23dfcdc884b62df1d978336cfba9b5ff98b7e4367c5a88e77f730 -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:01 + go version 00:56:01 go version go1.20.2 linux/amd64 [Pipeline] } 00:56:01 $ docker stop --time=1 a75a36c501b23dfcdc884b62df1d978336cfba9b5ff98b7e4367c5a88e77f730 00:56:03 $ docker rm -f --volumes a75a36c501b23dfcdc884b62df1d978336cfba9b5ff98b7e4367c5a88e77f730 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:03 + docker inspect -f . ci-base-image-x86_64 00:56:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:03 prd-ubuntu20.04-docker-8c-8g-15814 does not seem to be running inside a container 00:56:03 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:56:03 $ docker top b9c5ca6726729027e4b11e428752f7616e97b28843802b3e9ddf997f43fd5b28 -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:04 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-480 [Pipeline] fileExists [Pipeline] sh 00:56:04 + make test 00:56:04 go test ./... -coverprofile=coverage.out 00:56:09 ? github.com/edgexfoundry/device-modbus-go [no test files] 00:56:19 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 00:56:19 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.4% of statements 00:56:25 go vet ./... 00:56:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:56:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:56:29 ./bin/test-attribution-txt.sh [Pipeline] echo 00:56:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:56:29 $ docker stop --time=1 b9c5ca6726729027e4b11e428752f7616e97b28843802b3e9ddf997f43fd5b28 00:56:32 $ docker rm -f --volumes b9c5ca6726729027e4b11e428752f7616e97b28843802b3e9ddf997f43fd5b28 [Pipeline] // withDockerContainer [Pipeline] sh 00:56:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:56:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:56:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:56:34 + ls -al . 00:56:34 total 184 00:56:34 drwxrwxr-x 10 jenkins jenkins 4096 May 17 00:56 . 00:56:34 drwxrwxr-x 4 jenkins jenkins 4096 May 17 00:54 .. 00:56:34 -rw-rw-r-- 1 jenkins jenkins 140 May 17 00:54 .dockerignore 00:56:34 drwxrwxr-x 8 jenkins jenkins 4096 May 17 00:54 .git 00:56:34 drwxrwxr-x 3 jenkins jenkins 4096 May 17 00:54 .github 00:56:34 -rw-rw-r-- 1 jenkins jenkins 331 May 17 00:54 .gitignore 00:56:34 -rw-rw-r-- 1 jenkins jenkins 41 May 17 00:54 .golangci.yml 00:56:34 drwxr-xr-x 3 jenkins jenkins 4096 May 17 00:54 .semver 00:56:34 -rw-rw-r-- 1 jenkins jenkins 10132 May 17 00:54 Attribution.txt 00:56:34 -rw-rw-r-- 1 jenkins jenkins 11576 May 17 00:54 CHANGELOG.md 00:56:34 -rw-rw-r-- 1 jenkins jenkins 1365 May 17 00:54 Dockerfile 00:56:34 -rw-rw-r-- 1 jenkins jenkins 677 May 17 00:54 GOVERNANCE.md 00:56:34 -rw-rw-r-- 1 jenkins jenkins 680 May 17 00:54 Jenkinsfile 00:56:34 -rw-rw-r-- 1 jenkins jenkins 11340 May 17 00:54 LICENSE 00:56:34 -rw-rw-r-- 1 jenkins jenkins 1705 May 17 00:54 Makefile 00:56:34 -rw-rw-r-- 1 jenkins jenkins 622 May 17 00:54 OWNERS.md 00:56:34 -rw-rw-r-- 1 jenkins jenkins 4554 May 17 00:54 README.md 00:56:34 -rw-rw-r-- 1 jenkins jenkins 5 May 17 00:54 VERSION 00:56:34 drwxrwxr-x 2 jenkins jenkins 4096 May 17 00:54 bin 00:56:34 drwxrwxr-x 3 jenkins jenkins 4096 May 17 00:54 cmd 00:56:34 -rw-r--r-- 1 jenkins jenkins 24160 May 17 00:56 coverage.out 00:56:34 -rw-rw-r-- 1 jenkins jenkins 3453 May 17 00:54 go.mod 00:56:34 -rw-rw-r-- 1 jenkins jenkins 31670 May 17 00:54 go.sum 00:56:34 drwxrwxr-x 3 jenkins jenkins 4096 May 17 00:54 internal 00:56:34 drwxrwxr-x 2 jenkins jenkins 4096 May 17 00:54 simulator 00:56:34 drwxrwxr-x 4 jenkins jenkins 4096 May 17 00:54 snap 00:56:34 -rw-rw-r-- 1 jenkins jenkins 229 May 17 00:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:34 + 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=a99638d2d67714794e8cea49354f3b400cf9aef0 --label arch=amd64 --label version=0.0.0 . 00:56:34 Sending build context to Docker daemon 6.553MB 00:56:34 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 00:56:34 Step 2/22 : FROM ${BASE} AS builder 00:56:34 ---> 72f5c2d7f673 00:56:34 Step 3/22 : ARG ADD_BUILD_TAGS="" 00:56:34 ---> Running in 444801f9ea55 00:56:34 Removing intermediate container 444801f9ea55 00:56:34 ---> dcede30ff9b2 00:56:34 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:56:34 ---> Running in 1ce4c10c3cae 00:56:34 Removing intermediate container 1ce4c10c3cae 00:56:34 ---> f6e8bd18bb1f 00:56:34 Step 5/22 : RUN apk add --update --no-cache make git openssh 00:56:34 ---> Running in 2291885823f5 00:56:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:56:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:56:35 OK: 270 MiB in 61 packages 00:56:35 Removing intermediate container 2291885823f5 00:56:35 ---> d5a2cfc12041 00:56:35 Step 6/22 : WORKDIR /device-modbus-go 00:56:35 ---> Running in 49bb669a42f0 00:56:35 Removing intermediate container 49bb669a42f0 00:56:35 ---> fb1096baf0fb 00:56:35 Step 7/22 : COPY go.mod vendor* ./ 00:56:36 ---> 80e4cd9ca705 00:56:36 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:56:36 ---> Running in 8df29ee64a3a 00:56:36 Removing intermediate container 8df29ee64a3a 00:56:36 ---> ce401ca6c7a1 00:56:36 Step 9/22 : COPY . . 00:56:37 ---> 2a29c75c825c 00:56:37 Step 10/22 : RUN ${MAKE} 00:56:37 ---> Running in 127bf3748c8f 00:56:37 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 00:56:59 Removing intermediate container 127bf3748c8f 00:56:59 ---> c6beb8025a8a 00:56:59 Step 11/22 : FROM alpine:3.17 00:56:59 3.17: Pulling from library/alpine 00:56:59 f56be85fc22e: Already exists 00:56:59 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:56:59 Status: Downloaded newer image for alpine:3.17 00:56:59 ---> 9ed4aefc74f6 00:56:59 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 00:56:59 ---> Running in bdad7319676a 00:56:59 Removing intermediate container bdad7319676a 00:56:59 ---> 25adabad2e7f 00:56:59 Step 13/22 : RUN apk add --update --no-cache dumb-init 00:56:59 ---> Running in ebda49e530b1 00:56:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:56:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:56:59 (1/1) Installing dumb-init (1.2.5-r2) 00:56:59 Executing busybox-1.35.0-r29.trigger 00:56:59 OK: 7 MiB in 16 packages 00:56:59 Removing intermediate container ebda49e530b1 00:56:59 ---> 0a10f24fefa3 00:56:59 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 00:56:59 ---> 9784e6f7a159 00:56:59 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 00:56:59 ---> cb5df0ef833f 00:56:59 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 00:56:59 ---> 77e8cc69cf86 00:56:59 Step 17/22 : EXPOSE 59901 00:56:59 ---> Running in eb071bd7e341 00:56:59 Removing intermediate container eb071bd7e341 00:56:59 ---> 91fc25795638 00:56:59 Step 18/22 : ENTRYPOINT ["/device-modbus"] 00:56:59 ---> Running in 05c23d622cca 00:56:59 Removing intermediate container 05c23d622cca 00:56:59 ---> 1691e66120b5 00:56:59 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:56:59 ---> Running in c1af1262369e 00:56:59 Removing intermediate container c1af1262369e 00:56:59 ---> 6f9e8e3b39d2 00:56:59 Step 20/22 : LABEL arch=amd64 00:56:59 ---> Running in 85a1bf9195d6 00:56:59 Removing intermediate container 85a1bf9195d6 00:56:59 ---> dffda37d9d9d 00:56:59 Step 21/22 : LABEL git_sha=a99638d2d67714794e8cea49354f3b400cf9aef0 00:56:59 ---> Running in bd6deee42dad 00:56:59 Removing intermediate container bd6deee42dad 00:56:59 ---> 801e3558a1bb 00:56:59 Step 22/22 : LABEL version=0.0.0 00:57:00 ---> Running in 13cb37e42e0f 00:57:00 Removing intermediate container 13cb37e42e0f 00:57:00 ---> f896d62f790f 00:57:00 [Warning] One or more build-args [ARCH] were not consumed 00:57:00 Successfully built f896d62f790f 00:57:00 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 00:57:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:00 00:57:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:00 latest: Pulling from edgex-lftools-log-publisher 00:57:00 5eb5b503b376: Pulling fs layer 00:57:00 5c69ac0246d0: Pulling fs layer 00:57:00 ec43610c2a17: Pulling fs layer 00:57:00 3a2ae6a8a46f: Pulling fs layer 00:57:00 33b1e0a273af: Pulling fs layer 00:57:00 5d3b04190fa2: Pulling fs layer 00:57:00 2f39f015ded8: Pulling fs layer 00:57:00 3a2ae6a8a46f: Waiting 00:57:00 2f39f015ded8: Waiting 00:57:00 5d3b04190fa2: Waiting 00:57:00 33b1e0a273af: Waiting 00:57:00 5c69ac0246d0: Verifying Checksum 00:57:00 5c69ac0246d0: Download complete 00:57:00 3a2ae6a8a46f: Verifying Checksum 00:57:00 3a2ae6a8a46f: Download complete 00:57:01 33b1e0a273af: Verifying Checksum 00:57:01 33b1e0a273af: Download complete 00:57:01 ec43610c2a17: Verifying Checksum 00:57:01 ec43610c2a17: Download complete 00:57:01 5d3b04190fa2: Verifying Checksum 00:57:01 5d3b04190fa2: Download complete 00:57:01 5eb5b503b376: Verifying Checksum 00:57:01 5eb5b503b376: Download complete 00:57:01 2f39f015ded8: Download complete 00:57:02 5eb5b503b376: Pull complete 00:57:02 5c69ac0246d0: Pull complete 00:57:02 ec43610c2a17: Pull complete 00:57:02 3a2ae6a8a46f: Pull complete 00:57:02 33b1e0a273af: Pull complete 00:57:03 5d3b04190fa2: Pull complete 00:57:07 2f39f015ded8: Pull complete 00:57:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:57:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:07 prd-ubuntu20.04-docker-8c-8g-15814 does not seem to be running inside a container 00:57:07 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:57:10 $ docker top 5ee717c04b2a816b97a2322cf7174468cdd3c0fa4fb0dcb0e3268060924f4d6e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:57:10 ---> job-cost.sh 00:57:10 lf-activate-venv: SKIPPING 00:57:10 INFO: No Stack... 00:57:10 INFO: Retrieving Pricing Info for: v3-standard-8 00:57:11 INFO: Archiving Costs [Pipeline] sh 00:57:11 + cat /w/workspace/xfoundry_device-modbus-go_PR-480/archives/cost.csv 00:57:11 + cut -d, -f6 [Pipeline] lock 00:57:11 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-480-2-stack-cost] 00:57:11 Resource [jenkins-edgexfoundry-device-modbus-go-PR-480-2-stack-cost] did not exist. Created. 00:57:11 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-480-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:57:11 + echo total: 0.2199999988079071 [Pipeline] stash 00:57:11 Stashed 1 file(s) [Pipeline] } 00:57:11 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-480-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:57:11 $ docker stop --time=1 5ee717c04b2a816b97a2322cf7174468cdd3c0fa4fb0dcb0e3268060924f4d6e 00:57:12 $ docker rm -f --volumes 5ee717c04b2a816b97a2322cf7174468cdd3c0fa4fb0dcb0e3268060924f4d6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:58:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15815 in /w/workspace/xfoundry_device-modbus-go_PR-480 [Pipeline] { [Pipeline] ws 00:58:28 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 00:58:28 Selected Git installation does not exist. Using Default 00:58:28 The recommended git tool is: NONE 00:58:33 using credential edgex-jenkins-ssh 00:58:34 Cloning the remote Git repository 00:58:34 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 00:58:34 > git init /w/workspace/device-modbus-go/2 # timeout=10 00:58:34 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:58:34 > git --version # timeout=10 00:58:34 > git --version # 'git version 2.25.1' 00:58:34 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:58:37 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:58:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:58:38 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:58:38 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:58:38 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:38 > 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 00:58:39 Merging remotes/origin/main commit 2cc3518655efefba22ff17e7bf1dcccbd8773e75 into PR head commit 315df3988cd75bcd615d896ad3964fe2f7911975 00:58:39 Merge succeeded, producing 03409e6d331d0be31f92e98c4f8be8894e9eeba6 00:58:39 Checking out Revision 03409e6d331d0be31f92e98c4f8be8894e9eeba6 (PR-480) 00:58:39 > git config core.sparsecheckout # timeout=10 00:58:39 > git checkout -f 315df3988cd75bcd615d896ad3964fe2f7911975 # timeout=10 00:58:39 > git remote # timeout=10 00:58:39 > git config --get remote.origin.url # timeout=10 00:58:39 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:39 > git merge 2cc3518655efefba22ff17e7bf1dcccbd8773e75 # timeout=10 00:58:39 > git rev-parse HEAD^{commit} # timeout=10 00:58:39 > git config core.sparsecheckout # timeout=10 00:58:39 > git checkout -f 03409e6d331d0be31f92e98c4f8be8894e9eeba6 # timeout=10 00:58:42 Commit message: "Merge commit '2cc3518655efefba22ff17e7bf1dcccbd8773e75' into HEAD" 00:58:42 > git rev-list --no-walk 315df3988cd75bcd615d896ad3964fe2f7911975 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:58:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:58:43 % Total % Received % Xferd Average Speed Time Time Time Current 00:58:43 Dload Upload Total Spent Left Speed 00:58:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh 00:58:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:58:45 + sudo tee /etc/docker/daemon.new 00:58:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:58:45 { 00:58:45 "registry-mirrors": [ 00:58:45 "https://nexus3.edgexfoundry.org:10001" 00:58:45 ], 00:58:45 "bip": "10.250.0.254/24", 00:58:45 "hosts": [ 00:58:45 "tcp://0.0.0.0:5555", 00:58:45 "unix:///var/run/docker.sock" 00:58:45 ], 00:58:45 "mtu": 1458, 00:58:45 "selinux-enabled": true, 00:58:45 "seccomp-profile": "/etc/docker/seccomp.json" 00:58:45 } [Pipeline] sh 00:58:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:58:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:59:07 provisioning config files... 00:59:07 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config18204071015706103037tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:59:08 ---> docker-login.sh 00:59:08 nexus3.edgexfoundry.org:10001 00:59:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:08 Configure a credential helper to remove this warning. See 00:59:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:08 00:59:08 Login Succeeded 00:59:08 nexus3.edgexfoundry.org:10002 00:59:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:09 Configure a credential helper to remove this warning. See 00:59:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:09 00:59:09 Login Succeeded 00:59:09 nexus3.edgexfoundry.org:10003 00:59:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:09 Configure a credential helper to remove this warning. See 00:59:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:09 00:59:09 Login Succeeded 00:59:09 nexus3.edgexfoundry.org:10004 00:59:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:09 Configure a credential helper to remove this warning. See 00:59:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:09 00:59:09 Login Succeeded 00:59:10 docker.io 00:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:10 Configure a credential helper to remove this warning. See 00:59:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:10 00:59:10 Login Succeeded 00:59:10 ---> docker-login.sh ends [Pipeline] } 00:59:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:59:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:59:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:59:10 ========================================================= 00:59:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:59:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:11 + 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 . 00:59:11 Sending build context to Docker daemon 3.417MB 00:59:11 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:59:11 Step 2/10 : FROM ${BASE} AS builder 00:59:11 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:59:11 c41833b44d91: Pulling fs layer 00:59:11 ed15518f5707: Pulling fs layer 00:59:11 feae8fd75edb: Pulling fs layer 00:59:11 242c74f7c9fa: Pulling fs layer 00:59:11 3cdef696dda3: Pulling fs layer 00:59:11 2ced38df9373: Pulling fs layer 00:59:11 58f1dce35555: Pulling fs layer 00:59:11 242c74f7c9fa: Waiting 00:59:11 3cdef696dda3: Waiting 00:59:11 58f1dce35555: Waiting 00:59:11 2ced38df9373: Waiting 00:59:11 ed15518f5707: Verifying Checksum 00:59:11 ed15518f5707: Download complete 00:59:11 242c74f7c9fa: Verifying Checksum 00:59:11 242c74f7c9fa: Download complete 00:59:11 3cdef696dda3: Download complete 00:59:11 c41833b44d91: Verifying Checksum 00:59:12 c41833b44d91: Pull complete 00:59:13 58f1dce35555: Verifying Checksum 00:59:13 58f1dce35555: Download complete 00:59:13 ed15518f5707: Pull complete 00:59:14 feae8fd75edb: Verifying Checksum 00:59:14 feae8fd75edb: Download complete 00:59:14 2ced38df9373: Verifying Checksum 00:59:14 2ced38df9373: Download complete 00:59:26 feae8fd75edb: Pull complete 00:59:26 242c74f7c9fa: Pull complete 00:59:26 3cdef696dda3: Pull complete 00:59:33 2ced38df9373: Pull complete 00:59:35 58f1dce35555: Pull complete 00:59:35 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:59:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:59:35 ---> fadd8f120f05 00:59:35 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:59:36 ---> Running in 932c75f9944d 00:59:37 Removing intermediate container 932c75f9944d 00:59:37 ---> 2348454360f7 00:59:37 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:59:37 ---> Running in 1636abe93e5a 00:59:37 Removing intermediate container 1636abe93e5a 00:59:37 ---> d4e3766eec59 00:59:37 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:59:37 ---> Running in f723661139c2 00:59:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:59:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:59:40 (1/8) Installing openssh-keygen (9.1_p1-r3) 00:59:40 (2/8) Installing libedit (20221030.3.1-r0) 00:59:40 (3/8) Installing openssh-client-common (9.1_p1-r3) 00:59:40 (4/8) Installing openssh-client-default (9.1_p1-r3) 00:59:40 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 00:59:40 (6/8) Installing openssh-server-common (9.1_p1-r3) 00:59:40 (7/8) Installing openssh-server (9.1_p1-r3) 00:59:40 (8/8) Installing openssh (9.1_p1-r3) 00:59:40 Executing busybox-1.35.0-r29.trigger 00:59:40 OK: 270 MiB in 61 packages 00:59:44 Removing intermediate container f723661139c2 00:59:44 ---> a35795c8c73b 00:59:44 Step 6/10 : WORKDIR /device-modbus-go 00:59:44 ---> Running in ae9aa20366ca 00:59:44 Removing intermediate container ae9aa20366ca 00:59:44 ---> ade1e8f62bbd 00:59:44 Step 7/10 : COPY go.mod vendor* ./ 00:59:45 ---> 141bb72ec286 00:59:45 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:59:45 ---> Running in f102cbd41901 01:00:53 Removing intermediate container f102cbd41901 01:00:53 ---> 82c63f997557 01:00:53 Step 9/10 : COPY . . 01:00:53 ---> a4107ba1b5b6 01:00:53 Step 10/10 : RUN ${MAKE} 01:00:53 ---> Running in b9aa2e819181 01:00:53 noop 01:00:53 Removing intermediate container b9aa2e819181 01:00:53 ---> dc50de323de8 01:00:53 Successfully built dc50de323de8 01:00:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:53 + docker inspect -f . ci-base-image-arm64 01:00:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:00:53 prd-ubuntu20.04-docker-arm64-4c-16g-15815 does not seem to be running inside a container 01:00:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:00:54 $ docker top 10eada5344a231fd8031dbd90db81ace0843360dc218f4c1bcc14b60b8b306f0 -eo pid,comm [Pipeline] { [Pipeline] sh 01:00:55 + go version 01:00:55 go version go1.20.2 linux/arm64 [Pipeline] } 01:00:55 $ docker stop --time=1 10eada5344a231fd8031dbd90db81ace0843360dc218f4c1bcc14b60b8b306f0 01:00:57 $ docker rm -f --volumes 10eada5344a231fd8031dbd90db81ace0843360dc218f4c1bcc14b60b8b306f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:57 + docker inspect -f . ci-base-image-arm64 01:00:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:00:58 prd-ubuntu20.04-docker-arm64-4c-16g-15815 does not seem to be running inside a container 01:00:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:00:59 $ docker top a3d2d78ecf061abc55028713746ac2fc07f5c9c204e064a0db1f60423b858cbc -eo pid,comm [Pipeline] { [Pipeline] sh 01:01:00 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 01:01:00 + make test 01:01:00 go test ./... -coverprofile=coverage.out 01:01:36 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:03:43 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 01:03:43 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.075s coverage: 47.4% of statements 01:03:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:03:43 go vet ./... 01:04:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:04:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:04:10 ./bin/test-attribution-txt.sh [Pipeline] echo 01:04:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:04:10 $ docker stop --time=1 a3d2d78ecf061abc55028713746ac2fc07f5c9c204e064a0db1f60423b858cbc 01:04:12 $ docker rm -f --volumes a3d2d78ecf061abc55028713746ac2fc07f5c9c204e064a0db1f60423b858cbc [Pipeline] // withDockerContainer [Pipeline] sh 01:04:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:04:13 Warning: overwriting stash ‘coverage-report’ 01:04:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:04:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:04:14 + ls -al . 01:04:14 total 180 01:04:14 drwxrwxr-x 9 jenkins jenkins 4096 May 17 01:01 . 01:04:14 drwxrwxr-x 4 jenkins jenkins 4096 May 17 00:58 .. 01:04:14 -rw-rw-r-- 1 jenkins jenkins 140 May 17 00:58 .dockerignore 01:04:14 drwxrwxr-x 8 jenkins jenkins 4096 May 17 00:58 .git 01:04:14 drwxrwxr-x 3 jenkins jenkins 4096 May 17 00:58 .github 01:04:14 -rw-rw-r-- 1 jenkins jenkins 331 May 17 00:58 .gitignore 01:04:14 -rw-rw-r-- 1 jenkins jenkins 41 May 17 00:58 .golangci.yml 01:04:14 -rw-rw-r-- 1 jenkins jenkins 10132 May 17 00:58 Attribution.txt 01:04:14 -rw-rw-r-- 1 jenkins jenkins 11576 May 17 00:58 CHANGELOG.md 01:04:14 -rw-rw-r-- 1 jenkins jenkins 1365 May 17 00:58 Dockerfile 01:04:14 -rw-rw-r-- 1 jenkins jenkins 677 May 17 00:58 GOVERNANCE.md 01:04:14 -rw-rw-r-- 1 jenkins jenkins 680 May 17 00:58 Jenkinsfile 01:04:14 -rw-rw-r-- 1 jenkins jenkins 11340 May 17 00:58 LICENSE 01:04:14 -rw-rw-r-- 1 jenkins jenkins 1705 May 17 00:58 Makefile 01:04:14 -rw-rw-r-- 1 jenkins jenkins 622 May 17 00:58 OWNERS.md 01:04:14 -rw-rw-r-- 1 jenkins jenkins 4554 May 17 00:58 README.md 01:04:14 -rw-rw-r-- 1 jenkins jenkins 5 May 17 00:54 VERSION 01:04:14 drwxrwxr-x 2 jenkins jenkins 4096 May 17 00:58 bin 01:04:14 drwxrwxr-x 3 jenkins jenkins 4096 May 17 00:58 cmd 01:04:14 -rw-r--r-- 1 jenkins jenkins 24160 May 17 01:03 coverage.out 01:04:14 -rw-rw-r-- 1 jenkins jenkins 3453 May 17 00:58 go.mod 01:04:14 -rw-rw-r-- 1 jenkins jenkins 31670 May 17 00:58 go.sum 01:04:14 drwxrwxr-x 3 jenkins jenkins 4096 May 17 00:58 internal 01:04:14 drwxrwxr-x 2 jenkins jenkins 4096 May 17 00:58 simulator 01:04:14 drwxrwxr-x 4 jenkins jenkins 4096 May 17 00:58 snap 01:04:14 -rw-rw-r-- 1 jenkins jenkins 229 May 17 00:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:15 + 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=03409e6d331d0be31f92e98c4f8be8894e9eeba6 --label arch=arm64 --label version=0.0.0 . 01:04:15 Sending build context to Docker daemon 3.442MB 01:04:15 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 01:04:15 Step 2/22 : FROM ${BASE} AS builder 01:04:15 ---> dc50de323de8 01:04:15 Step 3/22 : ARG ADD_BUILD_TAGS="" 01:04:15 ---> Running in a9ba145f6f3b 01:04:15 Removing intermediate container a9ba145f6f3b 01:04:15 ---> 8a1999eb2143 01:04:15 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:04:15 ---> Running in 69dd9fd60873 01:04:16 Removing intermediate container 69dd9fd60873 01:04:16 ---> 433d8a8d4e8f 01:04:16 Step 5/22 : RUN apk add --update --no-cache make git openssh 01:04:16 ---> Running in 7c1f9b0a24a7 01:04:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:04:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:04:18 OK: 270 MiB in 61 packages 01:04:19 Removing intermediate container 7c1f9b0a24a7 01:04:19 ---> 77bb95d9301e 01:04:19 Step 6/22 : WORKDIR /device-modbus-go 01:04:19 ---> Running in a52e6c5b83be 01:04:20 Removing intermediate container a52e6c5b83be 01:04:20 ---> 7563a6866aa7 01:04:20 Step 7/22 : COPY go.mod vendor* ./ 01:04:20 ---> 96dc7fef99c2 01:04:20 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:04:20 ---> Running in d8fbb868cd6e 01:04:23 Removing intermediate container d8fbb868cd6e 01:04:23 ---> 4794d524477d 01:04:23 Step 9/22 : COPY . . 01:04:24 ---> 21b6d844d9a7 01:04:24 Step 10/22 : RUN ${MAKE} 01:04:24 ---> Running in 0e632118dcd2 01:04:25 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 01:06:47 Removing intermediate container 0e632118dcd2 01:06:47 ---> fa979bd84671 01:06:47 Step 11/22 : FROM alpine:3.17 01:06:47 3.17: Pulling from library/alpine 01:06:47 c41833b44d91: Already exists 01:06:47 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:06:47 Status: Downloaded newer image for alpine:3.17 01:06:47 ---> 51e60588ff2c 01:06:47 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 01:06:47 ---> Running in 194e78a0a16d 01:06:47 Removing intermediate container 194e78a0a16d 01:06:47 ---> 1b721bc02643 01:06:47 Step 13/22 : RUN apk add --update --no-cache dumb-init 01:06:47 ---> Running in 4d7e8a56949c 01:06:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:06:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:06:47 (1/1) Installing dumb-init (1.2.5-r2) 01:06:47 Executing busybox-1.35.0-r29.trigger 01:06:47 OK: 8 MiB in 16 packages 01:06:47 Removing intermediate container 4d7e8a56949c 01:06:47 ---> 447a96db5d41 01:06:47 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 01:06:47 ---> 0056caf809ff 01:06:47 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 01:06:47 ---> 346094377472 01:06:47 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 01:06:47 ---> d53f6c44630a 01:06:47 Step 17/22 : EXPOSE 59901 01:06:47 ---> Running in b682dcd7c34e 01:06:47 Removing intermediate container b682dcd7c34e 01:06:47 ---> 5bafdb350c41 01:06:47 Step 18/22 : ENTRYPOINT ["/device-modbus"] 01:06:47 ---> Running in 59f805747d63 01:06:47 Removing intermediate container 59f805747d63 01:06:47 ---> 6f969e3cc2fa 01:06:47 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:06:47 ---> Running in ed9e05f2e02f 01:06:47 Removing intermediate container ed9e05f2e02f 01:06:47 ---> 7a649ebe4a83 01:06:47 Step 20/22 : LABEL arch=arm64 01:06:47 ---> Running in 95d513da22a6 01:06:47 Removing intermediate container 95d513da22a6 01:06:47 ---> e3863f86e766 01:06:47 Step 21/22 : LABEL git_sha=03409e6d331d0be31f92e98c4f8be8894e9eeba6 01:06:47 ---> Running in a5cdf5ce759a 01:06:47 Removing intermediate container a5cdf5ce759a 01:06:47 ---> 8c3b2ca7fc64 01:06:47 Step 22/22 : LABEL version=0.0.0 01:06:47 ---> Running in a97f7b3c7262 01:06:47 Removing intermediate container a97f7b3c7262 01:06:47 ---> 50e35c473e33 01:06:47 [Warning] One or more build-args [ARCH] were not consumed 01:06:47 Successfully built 50e35c473e33 01:06:47 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 01:06:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:06:47 01:06:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:06:47 arm64: Pulling from edgex-lftools-log-publisher 01:06:47 8998bd30e6a1: Pulling fs layer 01:06:47 04944245beec: Pulling fs layer 01:06:47 699f458cf7ca: Pulling fs layer 01:06:47 765212b225bb: Pulling fs layer 01:06:47 f23df028b6ca: Pulling fs layer 01:06:47 d65c8cfc05b1: Pulling fs layer 01:06:47 2437ff75d9bd: Pulling fs layer 01:06:47 765212b225bb: Waiting 01:06:47 f23df028b6ca: Waiting 01:06:47 d65c8cfc05b1: Waiting 01:06:47 2437ff75d9bd: Waiting 01:06:48 04944245beec: Verifying Checksum 01:06:48 04944245beec: Download complete 01:06:48 765212b225bb: Verifying Checksum 01:06:48 765212b225bb: Download complete 01:06:48 f23df028b6ca: Verifying Checksum 01:06:48 f23df028b6ca: Download complete 01:06:48 d65c8cfc05b1: Verifying Checksum 01:06:48 d65c8cfc05b1: Download complete 01:06:48 699f458cf7ca: Verifying Checksum 01:06:48 699f458cf7ca: Download complete 01:06:48 8998bd30e6a1: Verifying Checksum 01:06:48 8998bd30e6a1: Download complete 01:06:51 2437ff75d9bd: Verifying Checksum 01:06:51 2437ff75d9bd: Download complete 01:06:52 8998bd30e6a1: Pull complete 01:06:53 04944245beec: Pull complete 01:06:54 699f458cf7ca: Pull complete 01:06:54 765212b225bb: Pull complete 01:06:55 f23df028b6ca: Pull complete 01:06:55 d65c8cfc05b1: Pull complete 01:07:10 2437ff75d9bd: Pull complete 01:07:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:07:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:07:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:10 prd-ubuntu20.04-docker-arm64-4c-16g-15815 does not seem to be running inside a container 01:07:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:07:13 $ docker top ed3c7bd3a7feca5de29295fe278edd044682093cc2e9adb694f4125acc5a07f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:07:14 ---> job-cost.sh 01:07:14 lf-activate-venv: SKIPPING 01:07:14 INFO: No Stack... 01:07:15 INFO: Retrieving Pricing Info for: v3-standard-4 01:07:15 INFO: Archiving Costs [Pipeline] sh 01:07:16 + cut -d, -f6 01:07:16 + cat /w/workspace/device-modbus-go/2/archives/cost.csv [Pipeline] lock 01:07:16 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-480-2-stack-cost] 01:07:16 Resource [jenkins-edgexfoundry-device-modbus-go-PR-480-2-stack-cost] did not exist. Created. 01:07:16 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-480-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:07:17 /w/workspace/device-modbus-go/2@tmp/durable-016497f4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:07:17 + echo total: 0.10999999940395355 [Pipeline] stash 01:07:17 Warning: overwriting stash ‘stack-cost’ 01:07:17 Stashed 1 file(s) [Pipeline] } 01:07:17 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-480-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:07:17 $ docker stop --time=1 ed3c7bd3a7feca5de29295fe278edd044682093cc2e9adb694f4125acc5a07f0 01:07:19 $ docker rm -f --volumes ed3c7bd3a7feca5de29295fe278edd044682093cc2e9adb694f4125acc5a07f0 [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 01:07:19 provisioning config files... 01:07:19 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/config5852166253311779350tmp [Pipeline] { [Pipeline] sh 01:07:20 + set +x 01:07:20 + curl -s https://codecov.io/bash 01:07:20 + bash -s -- 01:07:20 01:07:20 _____ _ 01:07:20 / ____| | | 01:07:20 | | ___ __| | ___ ___ _____ __ 01:07:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:07:20 | |___| (_) | (_| | __/ (_| (_) \ V / 01:07:20 \_____\___/ \__,_|\___|\___\___/ \_/ 01:07:20 Bash-1.0.6 01:07:20 01:07:20 01:07:20 ==> git version 2.25.1 found 01:07:20 ==> 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 01:07:20 Release-Date: 2020-01-08 01:07:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:07:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:07:20 ==> Jenkins CI detected. 01:07:20 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-480 01:07:20 project root: . 01:07:20 --> token set from env 01:07:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:07:20 ==> Running gcov in . (disable via -X gcov) 01:07:20 ==> Python coveragepy not found 01:07:20 ==> Searching for coverage reports in: 01:07:20 + . 01:07:20 -> Found 1 reports 01:07:20 ==> Detecting git/mercurial file structure 01:07:20 ==> Reading reports 01:07:20 + ./coverage.out bytes=24160 01:07:20 ==> Appending adjustments 01:07:20 https://docs.codecov.io/docs/fixing-reports 01:07:20 + Found adjustments 01:07:20 ==> Gzipping contents 01:07:20 4.0K /tmp/codecov.g3y9Ev.gz 01:07:20 ==> Uploading reports 01:07:20 url: https://codecov.io 01:07:20 query: branch=PR-480&commit=a99638d2d67714794e8cea49354f3b400cf9aef0&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-480%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=480&job=&cmd_args= 01:07:20 -> Pinging Codecov 01:07:20 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=a99638d2d67714794e8cea49354f3b400cf9aef0&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-480%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=480&job=&cmd_args= 01:07:20 -> Uploading to 01:07:20 https://storage.googleapis.com/codecov/v4/raw/2023-05-17/55DBCA73C666E3227836607328DD7E49/a99638d2d67714794e8cea49354f3b400cf9aef0/652e7aa0-3d98-419b-b7cf-c3c8eeba2d90.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230517T010720Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bf45b425433edfb4a62d28e73704eb20d65e0d5bedc0405d131ed40b9e5a5fe8 01:07:20 % Total % Received % Xferd Average Speed Time Time Time Current 01:07:20 Dload Upload Total Spent Left Speed 01:07:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 20983 --:--:-- --:--:-- --:--:-- 20872 100 3924 0 0 100 3924 0 20983 --:--:-- --:--:-- --:--:-- 20872 01:07:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/a99638d2d67714794e8cea49354f3b400cf9aef0 [Pipeline] } 01:07:20 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 01:07:21 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-480/archives ] 01:07:21 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-480/archives 01:07:21 total 16 01:07:21 drwxr-xr-x 3 root root 4096 May 17 00:57 . 01:07:21 drwxrwxr-x 11 jenkins jenkins 4096 May 17 00:57 .. 01:07:21 drwxr-xr-x 2 root root 4096 May 17 00:57 cost 01:07:21 -rw-r--r-- 1 root root 88 May 17 00:57 cost.csv 01:07:21 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-480/archives 01:07:21 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-480/archives 01:07:21 total 16 01:07:21 drwxr-xr-x 3 jenkins jenkins 4096 May 17 00:57 . 01:07:21 drwxrwxr-x 11 jenkins jenkins 4096 May 17 00:57 .. 01:07:21 drwxr-xr-x 2 jenkins jenkins 4096 May 17 00:57 cost 01:07:21 -rw-r--r-- 1 jenkins jenkins 88 May 17 00:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:07:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:07:22 ---> package-listing.sh 01:07:22 ++ facter osfamily 01:07:22 ++ tr '[:upper:]' '[:lower:]' 01:07:22 + OS_FAMILY=debian 01:07:22 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-480 01:07:22 + START_PACKAGES=/tmp/packages_start.txt 01:07:22 + END_PACKAGES=/tmp/packages_end.txt 01:07:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:07:22 + PACKAGES=/tmp/packages_start.txt 01:07:22 + '[' /w/workspace/xfoundry_device-modbus-go_PR-480 ']' 01:07:22 + PACKAGES=/tmp/packages_end.txt 01:07:22 + case "${OS_FAMILY}" in 01:07:22 + dpkg -l 01:07:22 + grep '^ii' 01:07:22 + '[' -f /tmp/packages_start.txt ']' 01:07:22 + '[' -f /tmp/packages_end.txt ']' 01:07:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:07:22 + '[' /w/workspace/xfoundry_device-modbus-go_PR-480 ']' 01:07:22 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-480/archives/ 01:07:22 + 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 01:07:22 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 01:07:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:07:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:23 prd-ubuntu20.04-docker-8c-8g-15814 does not seem to be running inside a container 01:07:23 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:07:24 $ docker top 6a152d33b546330d5bb7e738694f763e29a757daeffdd8b8b658efad02a6ab24 -eo pid,comm [Pipeline] { [Pipeline] sh 01:07:24 + touch /tmp/pre-build-complete [Pipeline] sh 01:07:24 + mkdir -p /var/log/sysstat [Pipeline] sh 01:07:24 + ls /var/log/sa-host 01:07:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:07:25 provisioning config files... 01:07:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/config4062874659407541292tmp [Pipeline] { [Pipeline] echo 01:07:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:07:25 ---> create-netrc.sh [Pipeline] } 01:07:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:07:25 ---> python-tools-install.sh [Pipeline] echo 01:07:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:07:26 ---> sudo-logs.sh 01:07:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:07:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:07:26 ---> job-cost.sh 01:07:26 lf-activate-venv: SKIPPING 01:07:26 DEBUG: total: 0.2199999988079071 01:07:26 INFO: Retrieving Stack Cost... 01:07:29 INFO: Retrieving Pricing Info for: v3-standard-8 01:07:29 INFO: Archiving Costs [Pipeline] echo 01:07:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:07:29 ---> logs-deploy.sh 01:07:29 lf-activate-venv: SKIPPING 01:07:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-480/2 01:07:29 INFO: archiving workspace using pattern(s): 01:07:30 Archives upload complete. 01:07:31 INFO: archiving logs to Nexus