Pull request #518 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9bf573b780e6dea7386ff37d38ccb2ead6a32b20+556aa6930cf2f2a45b00f01e1ce4bcd5b7a62e31 (10779a2342972de225785b69a2119dbd4bcf767b) 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-ssh14428621110772742577.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh1273934326380029987.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 e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-518/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-518/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8153835013094504980.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-518/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13788064628673231613.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6507248390126841847.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-518/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-518/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12030249560303843400.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-12484 in /w/workspace/xfoundry_device-modbus-go_PR-518 [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-518 # 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/518/head:refs/remotes/origin/PR-518 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 556aa6930cf2f2a45b00f01e1ce4bcd5b7a62e31 into PR head commit 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 Merge succeeded, producing 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 Checking out Revision 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 (PR-518) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:04:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:04:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:04:16 ========================================================= 05:04:16 EdgeX Global Pipelines Version Info 05:04:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 # 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 556aa6930cf2f2a45b00f01e1ce4bcd5b7a62e31 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 # timeout=10 05:04:17 ------------------- 05:04:17 stable info: 05:04:17 ------------------- 05:04:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:04:17 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 05:04:17 Message: update stable to v1.0.254 05:04:18 ------------------- 05:04:18 experimental info: 05:04:18 ------------------- 05:04:18 Commited By: **** collab-it+edgex@linuxfoundation.org 05:04:18 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 05:04:18 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:04:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:04:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:04:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:04:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:04:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:04:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:04:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:04:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:04:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:04:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:04:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:04:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:04:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:04:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:04:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:04:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:04:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:04:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:04:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:04:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:04:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:04:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:04:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:04:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:04:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:04:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:04:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:04:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-518 [Pipeline] echo 05:04:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-518 [Pipeline] echo 05:04:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-518 [Pipeline] echo 05:04:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 [Pipeline] echo 05:04:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9bf573b [Pipeline] echo 05:04:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:19 provisioning config files... 05:04:19 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-518@tmp/config13555508319924239401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:20 ---> docker-login.sh 05:04:20 nexus3.edgexfoundry.org:10001 05:04:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:20 Configure a credential helper to remove this warning. See 05:04:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:20 05:04:20 Login Succeeded 05:04:20 nexus3.edgexfoundry.org:10002 05:04:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:20 Configure a credential helper to remove this warning. See 05:04:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:20 05:04:20 Login Succeeded 05:04:20 nexus3.edgexfoundry.org:10003 05:04:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:20 Configure a credential helper to remove this warning. See 05:04:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:20 05:04:20 Login Succeeded 05:04:20 nexus3.edgexfoundry.org:10004 05:04:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:21 Configure a credential helper to remove this warning. See 05:04:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:21 05:04:21 Login Succeeded 05:04:21 docker.io 05:04:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:21 Configure a credential helper to remove this warning. See 05:04:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:21 05:04:21 Login Succeeded 05:04:21 ---> docker-login.sh ends [Pipeline] } 05:04:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:04:22 + git rev-list -1 --merges 9bf573b780e6dea7386ff37d38ccb2ead6a32b20~1..9bf573b780e6dea7386ff37d38ccb2ead6a32b20 [Pipeline] echo 05:04:22 -----------> git rev-list -1 --merges 9bf573b780e6dea7386ff37d38ccb2ead6a32b20~1..9bf573b780e6dea7386ff37d38ccb2ead6a32b20 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 [false] [Pipeline] sh 05:04:22 + git log --format=format:%s -1 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 [Pipeline] echo 05:04:22 ========================================================= 05:04:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:04:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:22 + git log --format=format:%s -1 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 [Pipeline] echo 05:04:22 [semverPrep] GIT_COMMIT: 9bf573b780e6dea7386ff37d38ccb2ead6a32b20, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:04:22 [semverPrep] This is not a build commit. [Pipeline] sh 05:04:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:04:23 + grep -v github /etc/ssh/ssh_known_hosts 05:04:23 + [ -e /tmp/ssh_known_hosts ] 05:04:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:04:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:04:23 + sudo tee -a /etc/ssh/ssh_known_hosts 05:04:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:23 05:04:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:24 0.1.4: Pulling from edgex-devops/py-git-semver 05:04:24 b85a868b505f: Pulling fs layer 05:04:24 e2be974225ed: Pulling fs layer 05:04:24 339a4e72a1f5: Pulling fs layer 05:04:24 988bab9f4d93: Pulling fs layer 05:04:24 1469e6f7b9e6: Pulling fs layer 05:04:24 eaf3925da568: Pulling fs layer 05:04:24 bab4dde63d76: Pulling fs layer 05:04:24 bde34c3a00c8: Pulling fs layer 05:04:24 b352a97aabf1: Pulling fs layer 05:04:24 988bab9f4d93: Waiting 05:04:24 1469e6f7b9e6: Waiting 05:04:24 eaf3925da568: Waiting 05:04:24 bde34c3a00c8: Waiting 05:04:24 4872d77fe225: Pulling fs layer 05:04:24 5851b861e8e6: Pulling fs layer 05:04:24 b352a97aabf1: Waiting 05:04:24 4872d77fe225: Waiting 05:04:24 5851b861e8e6: Waiting 05:04:24 e2be974225ed: Verifying Checksum 05:04:24 e2be974225ed: Download complete 05:04:24 988bab9f4d93: Download complete 05:04:24 1469e6f7b9e6: Verifying Checksum 05:04:24 1469e6f7b9e6: Download complete 05:04:24 eaf3925da568: Download complete 05:04:24 339a4e72a1f5: Verifying Checksum 05:04:24 339a4e72a1f5: Download complete 05:04:24 bde34c3a00c8: Verifying Checksum 05:04:24 bde34c3a00c8: Download complete 05:04:24 b352a97aabf1: Verifying Checksum 05:04:24 b352a97aabf1: Download complete 05:04:24 4872d77fe225: Verifying Checksum 05:04:24 4872d77fe225: Download complete 05:04:24 5851b861e8e6: Verifying Checksum 05:04:24 5851b861e8e6: Download complete 05:04:24 b85a868b505f: Download complete 05:04:24 bab4dde63d76: Verifying Checksum 05:04:24 bab4dde63d76: Download complete 05:04:25 b85a868b505f: Pull complete 05:04:25 e2be974225ed: Pull complete 05:04:26 339a4e72a1f5: Pull complete 05:04:26 988bab9f4d93: Pull complete 05:04:26 1469e6f7b9e6: Pull complete 05:04:26 eaf3925da568: Pull complete 05:04:28 bab4dde63d76: Pull complete 05:04:28 bde34c3a00c8: Pull complete 05:04:28 b352a97aabf1: Pull complete 05:04:28 4872d77fe225: Pull complete 05:04:28 5851b861e8e6: Pull complete 05:04:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:04:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:29 prd-ubuntu20.04-docker-8c-8g-12484 does not seem to be running inside a container 05:04:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-518 -v /w/workspace/xfoundry_device-modbus-go_PR-518:/w/workspace/xfoundry_device-modbus-go_PR-518:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-518@tmp:/w/workspace/xfoundry_device-modbus-go_PR-518@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:04:32 $ docker top 87b577a2c1f305c5e27e78bd609c1e535934e5167466cc4fae3a8a1f5c96007c -eo pid,comm 05:04:32 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). 05:04:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:04:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:32 [ssh-agent] Looking for ssh-agent implementation... 05:04:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:32 $ docker exec 87b577a2c1f305c5e27e78bd609c1e535934e5167466cc4fae3a8a1f5c96007c ssh-agent 05:04:32 SSH_AUTH_SOCK=/tmp/ssh-z8C4LY7Ifb7j/agent.33 05:04:32 SSH_AGENT_PID=39 05:04:32 Running ssh-add (command line suppressed) 05:04:32 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-518@tmp/private_key_16358041481407208331.key (/w/workspace/xfoundry_device-modbus-go_PR-518@tmp/private_key_16358041481407208331.key) 05:04:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:33 + git tag --points-at HEAD [Pipeline] } 05:04:33 $ docker exec --env ******** --env ******** 87b577a2c1f305c5e27e78bd609c1e535934e5167466cc4fae3a8a1f5c96007c ssh-agent -k 05:04:33 unset SSH_AUTH_SOCK; 05:04:33 unset SSH_AGENT_PID; 05:04:33 echo Agent pid 39 killed; 05:04:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:04:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:33 [ssh-agent] Looking for ssh-agent implementation... 05:04:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:33 $ docker exec 87b577a2c1f305c5e27e78bd609c1e535934e5167466cc4fae3a8a1f5c96007c ssh-agent 05:04:33 SSH_AUTH_SOCK=/tmp/ssh-p5NlsGv2NwQl/agent.71 05:04:33 SSH_AGENT_PID=77 05:04:33 Running ssh-add (command line suppressed) 05:04:33 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-518@tmp/private_key_7822916495896281700.key (/w/workspace/xfoundry_device-modbus-go_PR-518@tmp/private_key_7822916495896281700.key) 05:04:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:34 + git semver init 05:04:34 2023-10-27 05:04:34,274 [run_init] DEBUG init version:0.0.0 force:False 05:04:34 2023-10-27 05:04:34,275 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-518/.semver 05:04:34 2023-10-27 05:04:34,275 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-518/.semver 05:04:34 2023-10-27 05:04:34,275 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-518/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-518, universal_newlines=False, shell=None, istream=None) 05:04:35 2023-10-27 05:04:35,167 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-518/.git/info/exclude 05:04:35 2023-10-27 05:04:35,168 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-518/.semver/PR-518 with force:False 05:04:35 2023-10-27 05:04:35,168 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-518/.semver/PR-518 05:04:35 2023-10-27 05:04:35,173 [execute] INFO git cat-file --batch-check 05:04:35 2023-10-27 05:04:35,174 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-518/.semver, universal_newlines=False, shell=None, istream=) 05:04:35 2023-10-27 05:04:35,181 [execute] INFO git cat-file --batch 05:04:35 2023-10-27 05:04:35,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-518/.semver, universal_newlines=False, shell=None, istream=) 05:04:35 2023-10-27 05:04:35,187 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-518/.semver/PR-518 05:04:35 0.0.0 [Pipeline] } 05:04:35 $ docker exec --env ******** --env ******** 87b577a2c1f305c5e27e78bd609c1e535934e5167466cc4fae3a8a1f5c96007c ssh-agent -k 05:04:35 unset SSH_AUTH_SOCK; 05:04:35 unset SSH_AGENT_PID; 05:04:35 echo Agent pid 77 killed; 05:04:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:04:35 + git semver [Pipeline] } 05:04:36 $ docker stop --time=1 87b577a2c1f305c5e27e78bd609c1e535934e5167466cc4fae3a8a1f5c96007c 05:04:37 $ docker rm -f --volumes 87b577a2c1f305c5e27e78bd609c1e535934e5167466cc4fae3a8a1f5c96007c [Pipeline] // withDockerContainer [Pipeline] sh 05:04:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:04:38 Stashed 1 file(s) [Pipeline] echo 05:04:38 [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 05:04:38 provisioning config files... 05:04:38 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-518@tmp/config11765650771945174911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:39 ---> docker-login.sh 05:04:39 nexus3.edgexfoundry.org:10001 05:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:39 Configure a credential helper to remove this warning. See 05:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:39 05:04:39 Login Succeeded 05:04:39 nexus3.edgexfoundry.org:10002 05:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:39 Configure a credential helper to remove this warning. See 05:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:39 05:04:39 Login Succeeded 05:04:39 nexus3.edgexfoundry.org:10003 05:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:39 Configure a credential helper to remove this warning. See 05:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:39 05:04:39 Login Succeeded 05:04:39 nexus3.edgexfoundry.org:10004 05:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:39 Configure a credential helper to remove this warning. See 05:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:39 05:04:39 Login Succeeded 05:04:39 docker.io 05:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:39 Configure a credential helper to remove this warning. See 05:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:39 05:04:39 Login Succeeded 05:04:39 ---> docker-login.sh ends [Pipeline] } 05:04:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:04:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:39 ========================================================= 05:04:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:04:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:40 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:04:40 Sending build context to Docker daemon 6.548MB 05:04:40 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:04:40 Step 2/10 : FROM ${BASE} AS builder 05:04:40 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:04:40 7264a8db6415: Pulling fs layer 05:04:40 c4d48a809fc2: Pulling fs layer 05:04:40 4f1c88b9dad5: Pulling fs layer 05:04:40 ad3a456e5733: Pulling fs layer 05:04:40 33e27b845d1e: Pulling fs layer 05:04:40 c68163c4e522: Pulling fs layer 05:04:40 50da416c3ac9: Pulling fs layer 05:04:40 23d2d4c4bb30: Pulling fs layer 05:04:40 ad3a456e5733: Waiting 05:04:40 33e27b845d1e: Waiting 05:04:40 c68163c4e522: Waiting 05:04:40 50da416c3ac9: Waiting 05:04:40 23d2d4c4bb30: Waiting 05:04:40 c4d48a809fc2: Verifying Checksum 05:04:40 c4d48a809fc2: Download complete 05:04:40 ad3a456e5733: Download complete 05:04:40 33e27b845d1e: Verifying Checksum 05:04:40 33e27b845d1e: Download complete 05:04:40 7264a8db6415: Download complete 05:04:40 c68163c4e522: Verifying Checksum 05:04:40 c68163c4e522: Download complete 05:04:40 7264a8db6415: Pull complete 05:04:40 23d2d4c4bb30: Verifying Checksum 05:04:40 23d2d4c4bb30: Download complete 05:04:40 c4d48a809fc2: Pull complete 05:04:40 4f1c88b9dad5: Verifying Checksum 05:04:40 4f1c88b9dad5: Download complete 05:04:41 50da416c3ac9: Verifying Checksum 05:04:41 50da416c3ac9: Download complete 05:04:43 4f1c88b9dad5: Pull complete 05:04:44 ad3a456e5733: Pull complete 05:04:44 33e27b845d1e: Pull complete 05:04:44 c68163c4e522: Pull complete 05:04:46 50da416c3ac9: Pull complete 05:04:46 23d2d4c4bb30: Pull complete 05:04:46 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 05:04:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:04:46 ---> 0786185ac409 05:04:46 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:04:50 ---> Running in fd9f1f04ea15 05:04:50 Removing intermediate container fd9f1f04ea15 05:04:50 ---> 8b4cb3933af0 05:04:50 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:04:50 ---> Running in 91b6e7652f0a 05:04:50 Removing intermediate container 91b6e7652f0a 05:04:50 ---> 25b05c2394a9 05:04:50 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:04:50 ---> Running in c69b890ca557 05:04:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:04:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:04:51 (1/8) Installing openssh-keygen (9.3_p2-r0) 05:04:51 (2/8) Installing libedit (20221030.3.1-r1) 05:04:51 (3/8) Installing openssh-client-common (9.3_p2-r0) 05:04:51 (4/8) Installing openssh-client-default (9.3_p2-r0) 05:04:51 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 05:04:51 (6/8) Installing openssh-server-common (9.3_p2-r0) 05:04:51 (7/8) Installing openssh-server (9.3_p2-r0) 05:04:51 (8/8) Installing openssh (9.3_p2-r0) 05:04:51 Executing busybox-1.36.1-r2.trigger 05:04:51 OK: 270 MiB in 60 packages 05:04:52 Removing intermediate container c69b890ca557 05:04:52 ---> 0b8ad8b0c19c 05:04:52 Step 6/10 : WORKDIR /device-modbus-go 05:04:52 ---> Running in 28f0a341aa20 05:04:52 Removing intermediate container 28f0a341aa20 05:04:52 ---> 267e634c6a7e 05:04:52 Step 7/10 : COPY go.mod vendor* ./ 05:04:52 ---> 4627e68f444d 05:04:52 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:52 ---> Running in e2e84a24f326 05:04:53 Still waiting to schedule task 05:04:53 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 05:05:48 Removing intermediate container e2e84a24f326 05:05:48 ---> 3f395d45391d 05:05:48 Step 9/10 : COPY . . 05:05:48 ---> 5312d0e67b36 05:05:48 Step 10/10 : RUN ${MAKE} 05:05:48 ---> Running in ae8a1d757d92 05:05:48 noop 05:05:48 Removing intermediate container ae8a1d757d92 05:05:48 ---> 4f27d88710f7 05:05:48 Successfully built 4f27d88710f7 05:05:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:49 + docker inspect -f . ci-base-image-x86_64 05:05:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:49 prd-ubuntu20.04-docker-8c-8g-12484 does not seem to be running inside a container 05:05:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-518 -v /w/workspace/xfoundry_device-modbus-go_PR-518:/w/workspace/xfoundry_device-modbus-go_PR-518:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-518@tmp:/w/workspace/xfoundry_device-modbus-go_PR-518@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:05:49 $ docker top bd970e7a9b0f2128ce4e748035e8b17a566d3fca4490b12a2eecc15c2393ef0b -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:49 + go version 05:05:49 go version go1.21.0 linux/amd64 [Pipeline] } 05:05:49 $ docker stop --time=1 bd970e7a9b0f2128ce4e748035e8b17a566d3fca4490b12a2eecc15c2393ef0b 05:05:51 $ docker rm -f --volumes bd970e7a9b0f2128ce4e748035e8b17a566d3fca4490b12a2eecc15c2393ef0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:51 + docker inspect -f . ci-base-image-x86_64 05:05:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:52 prd-ubuntu20.04-docker-8c-8g-12484 does not seem to be running inside a container 05:05:52 $ 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-518 -v /w/workspace/xfoundry_device-modbus-go_PR-518:/w/workspace/xfoundry_device-modbus-go_PR-518:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-518@tmp:/w/workspace/xfoundry_device-modbus-go_PR-518@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:05:52 $ docker top 19d30c0a8c610b00d107b2a18c107f6f28bc09d09753a4fd838a62cfa815eaac -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:52 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-518 [Pipeline] fileExists [Pipeline] sh 05:05:53 + make test 05:05:53 go test ./... -coverprofile=coverage.out 05:05:54 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:06:04 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:06:04 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.9% of statements 05:06:11 go vet ./... 05:06:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:06:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:06:14 ./bin/test-attribution-txt.sh [Pipeline] echo 05:06:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:06:14 $ docker stop --time=1 19d30c0a8c610b00d107b2a18c107f6f28bc09d09753a4fd838a62cfa815eaac 05:06:17 $ docker rm -f --volumes 19d30c0a8c610b00d107b2a18c107f6f28bc09d09753a4fd838a62cfa815eaac [Pipeline] // withDockerContainer [Pipeline] sh 05:06:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:06:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:06:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:06:19 + ls -al . 05:06:19 total 188 05:06:19 drwxrwxr-x 9 jenkins jenkins 4096 Oct 27 05:05 . 05:06:19 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 05:04 .. 05:06:19 -rw-rw-r-- 1 jenkins jenkins 140 Oct 27 05:04 .dockerignore 05:06:19 drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 05:06 .git 05:06:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 05:04 .github 05:06:19 -rw-rw-r-- 1 jenkins jenkins 266 Oct 27 05:04 .gitignore 05:06:19 -rw-rw-r-- 1 jenkins jenkins 41 Oct 27 05:04 .golangci.yml 05:06:19 drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 05:04 .semver 05:06:19 -rw-rw-r-- 1 jenkins jenkins 11101 Oct 27 05:04 Attribution.txt 05:06:19 -rw-rw-r-- 1 jenkins jenkins 14764 Oct 27 05:04 CHANGELOG.md 05:06:19 -rw-rw-r-- 1 jenkins jenkins 1365 Oct 27 05:04 Dockerfile 05:06:19 -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 05:04 GOVERNANCE.md 05:06:19 -rw-rw-r-- 1 jenkins jenkins 658 Oct 27 05:04 Jenkinsfile 05:06:19 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 27 05:04 LICENSE 05:06:19 -rw-rw-r-- 1 jenkins jenkins 1936 Oct 27 05:04 Makefile 05:06:19 -rw-rw-r-- 1 jenkins jenkins 622 Oct 27 05:04 OWNERS.md 05:06:19 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 27 05:04 README.md 05:06:19 -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 05:04 VERSION 05:06:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 05:04 bin 05:06:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 05:04 cmd 05:06:19 -rw-r--r-- 1 jenkins jenkins 24334 Oct 27 05:06 coverage.out 05:06:19 -rw-rw-r-- 1 jenkins jenkins 3942 Oct 27 05:04 go.mod 05:06:19 -rw-rw-r-- 1 jenkins jenkins 35436 Oct 27 05:04 go.sum 05:06:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 05:04 internal 05:06:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 05:04 simulator 05:06:19 -rw-rw-r-- 1 jenkins jenkins 229 Oct 27 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:19 + 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=9bf573b780e6dea7386ff37d38ccb2ead6a32b20 --label arch=amd64 --label version=0.0.0 . 05:06:19 Sending build context to Docker daemon 6.574MB 05:06:19 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 05:06:19 Step 2/22 : FROM ${BASE} AS builder 05:06:19 ---> 4f27d88710f7 05:06:19 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:06:20 ---> Running in 4b91e84ab84c 05:06:20 Removing intermediate container 4b91e84ab84c 05:06:20 ---> 91f66674f913 05:06:20 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:06:20 ---> Running in bca9dc9bd7d7 05:06:20 Removing intermediate container bca9dc9bd7d7 05:06:20 ---> 9d2006121a9f 05:06:20 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:06:20 ---> Running in 5681a13ae16d 05:06:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:06:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:06:20 OK: 270 MiB in 60 packages 05:06:21 Removing intermediate container 5681a13ae16d 05:06:21 ---> 0391c6df41bb 05:06:21 Step 6/22 : WORKDIR /device-modbus-go 05:06:21 ---> Running in 461bd038664c 05:06:21 Removing intermediate container 461bd038664c 05:06:21 ---> 120941b47262 05:06:21 Step 7/22 : COPY go.mod vendor* ./ 05:06:21 ---> 1a21397f1686 05:06:21 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:06:21 ---> Running in a60352fe794c 05:06:21 Removing intermediate container a60352fe794c 05:06:21 ---> c87122e2e0de 05:06:21 Step 9/22 : COPY . . 05:06:22 ---> 1a06872ca58b 05:06:22 Step 10/22 : RUN ${MAKE} 05:06:22 ---> Running in 4b1f026cdf72 05:06:22 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:06:40 Removing intermediate container 4b1f026cdf72 05:06:40 ---> 0b5eac876765 05:06:40 Step 11/22 : FROM alpine:3.18 05:06:41 3.18: Pulling from library/alpine 05:06:41 96526aa774ef: Pulling fs layer 05:06:41 96526aa774ef: Verifying Checksum 05:06:41 96526aa774ef: Download complete 05:06:41 96526aa774ef: Pull complete 05:06:41 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 05:06:41 Status: Downloaded newer image for alpine:3.18 05:06:41 ---> 8ca4688f4f35 05:06:41 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:06:41 ---> Running in 28b0d4bd6914 05:06:41 Removing intermediate container 28b0d4bd6914 05:06:41 ---> 95db4a09c3a0 05:06:41 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:06:41 ---> Running in b5415a6b4627 05:06:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:06:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:06:42 (1/1) Installing dumb-init (1.2.5-r2) 05:06:42 Executing busybox-1.36.1-r2.trigger 05:06:42 OK: 7 MiB in 16 packages 05:06:42 Removing intermediate container b5415a6b4627 05:06:42 ---> ef7bf69606ea 05:06:42 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:06:43 ---> 4ce8db85e57f 05:06:43 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:06:43 ---> d2fef27cfee4 05:06:43 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:06:44 ---> 0cabdd904d7f 05:06:44 Step 17/22 : EXPOSE 59901 05:06:44 ---> Running in 72e67da03bec 05:06:44 Removing intermediate container 72e67da03bec 05:06:44 ---> 02eb9e10b148 05:06:44 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:06:44 ---> Running in e792fa5ecf1e 05:06:44 Removing intermediate container e792fa5ecf1e 05:06:44 ---> bdba55c31a7b 05:06:44 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:06:44 ---> Running in b690bae808f1 05:06:44 Removing intermediate container b690bae808f1 05:06:44 ---> 84295b22b93c 05:06:44 Step 20/22 : LABEL arch=amd64 05:06:44 ---> Running in d04745adc324 05:06:44 Removing intermediate container d04745adc324 05:06:44 ---> c6b24c6f23d3 05:06:44 Step 21/22 : LABEL git_sha=9bf573b780e6dea7386ff37d38ccb2ead6a32b20 05:06:44 ---> Running in 5eece689d4ae 05:06:44 Removing intermediate container 5eece689d4ae 05:06:44 ---> e16e467d774a 05:06:44 Step 22/22 : LABEL version=0.0.0 05:06:44 ---> Running in 872683af67d7 05:06:44 Removing intermediate container 872683af67d7 05:06:44 ---> b907e9308b54 05:06:44 [Warning] One or more build-args [ARCH] were not consumed 05:06:44 Successfully built b907e9308b54 05:06:44 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 05:06:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:45 05:06:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:45 latest: Pulling from edgex-lftools-log-publisher 05:06:45 5eb5b503b376: Pulling fs layer 05:06:45 5c69ac0246d0: Pulling fs layer 05:06:45 ec43610c2a17: Pulling fs layer 05:06:45 3a2ae6a8a46f: Pulling fs layer 05:06:45 33b1e0a273af: Pulling fs layer 05:06:45 5d3b04190fa2: Pulling fs layer 05:06:45 2f39f015ded8: Pulling fs layer 05:06:45 33b1e0a273af: Waiting 05:06:45 3a2ae6a8a46f: Waiting 05:06:45 5d3b04190fa2: Waiting 05:06:45 2f39f015ded8: Waiting 05:06:45 5c69ac0246d0: Download complete 05:06:45 3a2ae6a8a46f: Verifying Checksum 05:06:45 3a2ae6a8a46f: Download complete 05:06:45 33b1e0a273af: Verifying Checksum 05:06:45 33b1e0a273af: Download complete 05:06:45 5d3b04190fa2: Verifying Checksum 05:06:45 5d3b04190fa2: Download complete 05:06:46 ec43610c2a17: Verifying Checksum 05:06:46 ec43610c2a17: Download complete 05:06:46 5eb5b503b376: Verifying Checksum 05:06:46 5eb5b503b376: Download complete 05:06:46 2f39f015ded8: Verifying Checksum 05:06:46 2f39f015ded8: Download complete 05:06:49 5eb5b503b376: Pull complete 05:06:49 5c69ac0246d0: Pull complete 05:06:49 ec43610c2a17: Pull complete 05:06:49 3a2ae6a8a46f: Pull complete 05:06:49 33b1e0a273af: Pull complete 05:06:49 5d3b04190fa2: Pull complete 05:06:54 2f39f015ded8: Pull complete 05:06:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:06:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:54 prd-ubuntu20.04-docker-8c-8g-12484 does not seem to be running inside a container 05:06:54 $ 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-518 -v /w/workspace/xfoundry_device-modbus-go_PR-518:/w/workspace/xfoundry_device-modbus-go_PR-518:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-518@tmp:/w/workspace/xfoundry_device-modbus-go_PR-518@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:07:08 $ docker top 7d2344fa289c5cdc7f26f1762b9a1fd494c2e69973b0366b3996629f0dd717d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:08 ---> job-cost.sh 05:07:08 lf-activate-venv: SKIPPING 05:07:08 INFO: No Stack... 05:07:08 INFO: Retrieving Pricing Info for: v3-standard-8 05:07:09 INFO: Archiving Costs [Pipeline] sh 05:07:09 + cat /w/workspace/xfoundry_device-modbus-go_PR-518/archives/cost.csv 05:07:09 + cut -d, -f6 [Pipeline] lock 05:07:09 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-518-1-stack-cost] 05:07:09 Resource [jenkins-edgexfoundry-device-modbus-go-PR-518-1-stack-cost] did not exist. Created. 05:07:09 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-518-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:07:09 + echo total: 0.2199999988079071 [Pipeline] stash 05:07:10 Stashed 1 file(s) [Pipeline] } 05:07:10 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-518-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:07:10 $ docker stop --time=1 7d2344fa289c5cdc7f26f1762b9a1fd494c2e69973b0366b3996629f0dd717d7 05:07:11 $ docker rm -f --volumes 7d2344fa289c5cdc7f26f1762b9a1fd494c2e69973b0366b3996629f0dd717d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:08:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12486 in /w/workspace/xfoundry_device-modbus-go_PR-518 [Pipeline] { [Pipeline] ws 05:08:32 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:08:32 Selected Git installation does not exist. Using Default 05:08:32 The recommended git tool is: NONE 05:08:38 using credential edgex-jenkins-ssh 05:08:38 Cloning the remote Git repository 05:08:39 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:08:39 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:08:39 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:08:39 > git --version # timeout=10 05:08:39 > git --version # 'git version 2.25.1' 05:08:39 using GIT_SSH to set credentials SSH Credentials for GitHub 05:08:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:08:40 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:08:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:08:42 Merging remotes/origin/main commit 556aa6930cf2f2a45b00f01e1ce4bcd5b7a62e31 into PR head commit 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 05:08:43 Merge succeeded, producing 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 05:08:43 Checking out Revision 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 (PR-518) 05:08:42 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:08:42 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:08:42 using GIT_SSH to set credentials SSH Credentials for GitHub 05:08:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/518/head:refs/remotes/origin/PR-518 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:08:42 > git config core.sparsecheckout # timeout=10 05:08:42 > git checkout -f 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 # timeout=10 05:08:42 > git remote # timeout=10 05:08:42 > git config --get remote.origin.url # timeout=10 05:08:42 using GIT_SSH to set credentials SSH Credentials for GitHub 05:08:43 > git merge 556aa6930cf2f2a45b00f01e1ce4bcd5b7a62e31 # timeout=10 05:08:43 > git rev-parse HEAD^{commit} # timeout=10 05:08:43 > git config core.sparsecheckout # timeout=10 05:08:43 > git checkout -f 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 # timeout=10 05:08:43 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:08:43 > git --version # timeout=10 05:08:43 > git --version # 'git version 2.25.1' 05:08:43 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:08:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:08:45 % Total % Received % Xferd Average Speed Time Time Time Current 05:08:45 Dload Upload Total Spent Left Speed 05:08:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 45216 0 --:--:-- --:--:-- --:--:-- 45377 [Pipeline] sh 05:08:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:08:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:08:46 + sudo tee /etc/docker/daemon.new 05:08:46 { 05:08:46 "registry-mirrors": [ 05:08:46 "https://nexus3.edgexfoundry.org:10001" 05:08:46 ], 05:08:46 "bip": "10.250.0.254/24", 05:08:46 "hosts": [ 05:08:46 "tcp://0.0.0.0:5555", 05:08:46 "unix:///var/run/docker.sock" 05:08:46 ], 05:08:46 "mtu": 1458, 05:08:46 "selinux-enabled": true, 05:08:46 "seccomp-profile": "/etc/docker/seccomp.json" 05:08:46 } [Pipeline] sh 05:08:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:08:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:09:09 provisioning config files... 05:09:09 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config5868471476183817509tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:09 ---> docker-login.sh 05:09:09 nexus3.edgexfoundry.org:10001 05:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:10 Configure a credential helper to remove this warning. See 05:09:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:10 05:09:10 Login Succeeded 05:09:10 nexus3.edgexfoundry.org:10002 05:09:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:11 Configure a credential helper to remove this warning. See 05:09:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:11 05:09:11 Login Succeeded 05:09:11 nexus3.edgexfoundry.org:10003 05:09:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:11 Configure a credential helper to remove this warning. See 05:09:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:11 05:09:11 Login Succeeded 05:09:11 nexus3.edgexfoundry.org:10004 05:09:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:11 Configure a credential helper to remove this warning. See 05:09:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:11 05:09:11 Login Succeeded 05:09:11 docker.io 05:09:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:12 Configure a credential helper to remove this warning. See 05:09:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:12 05:09:12 Login Succeeded 05:09:12 ---> docker-login.sh ends [Pipeline] } 05:09:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:09:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:09:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:09:13 ========================================================= 05:09:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:09:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:13 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:09:14 Sending build context to Docker daemon 3.398MB 05:09:14 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:09:14 Step 2/10 : FROM ${BASE} AS builder 05:09:14 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:09:14 9fda8d8052c6: Pulling fs layer 05:09:14 5d54e960e981: Pulling fs layer 05:09:14 c4a7e357bf2a: Pulling fs layer 05:09:14 f0e02332f6b5: Pulling fs layer 05:09:14 cefa15bbcfad: Pulling fs layer 05:09:14 17808c966233: Pulling fs layer 05:09:14 f4c1fc716caa: Pulling fs layer 05:09:14 f0e02332f6b5: Waiting 05:09:14 cefa15bbcfad: Waiting 05:09:14 17808c966233: Waiting 05:09:14 f4c1fc716caa: Waiting 05:09:14 5d54e960e981: Verifying Checksum 05:09:14 5d54e960e981: Download complete 05:09:14 f0e02332f6b5: Verifying Checksum 05:09:14 f0e02332f6b5: Download complete 05:09:14 cefa15bbcfad: Verifying Checksum 05:09:14 cefa15bbcfad: Download complete 05:09:14 9fda8d8052c6: Verifying Checksum 05:09:14 9fda8d8052c6: Download complete 05:09:14 f4c1fc716caa: Verifying Checksum 05:09:14 f4c1fc716caa: Download complete 05:09:15 9fda8d8052c6: Pull complete 05:09:16 5d54e960e981: Pull complete 05:09:16 c4a7e357bf2a: Verifying Checksum 05:09:16 c4a7e357bf2a: Download complete 05:09:17 17808c966233: Verifying Checksum 05:09:17 17808c966233: Download complete 05:09:29 c4a7e357bf2a: Pull complete 05:09:29 f0e02332f6b5: Pull complete 05:09:29 cefa15bbcfad: Pull complete 05:09:40 17808c966233: Pull complete 05:09:40 f4c1fc716caa: Pull complete 05:09:40 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 05:09:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:09:40 ---> ea914061e18c 05:09:40 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:09:41 ---> Running in 11e95a53def4 05:09:41 Removing intermediate container 11e95a53def4 05:09:41 ---> 10002a919801 05:09:41 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:09:42 ---> Running in 3df03d6d9684 05:09:42 Removing intermediate container 3df03d6d9684 05:09:42 ---> ba79c55e9335 05:09:42 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:09:42 ---> Running in 17dbec77fe31 05:09:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:09:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:09:45 (1/8) Installing openssh-keygen (9.3_p2-r0) 05:09:45 (2/8) Installing libedit (20221030.3.1-r1) 05:09:45 (3/8) Installing openssh-client-common (9.3_p2-r0) 05:09:45 (4/8) Installing openssh-client-default (9.3_p2-r0) 05:09:45 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 05:09:45 (6/8) Installing openssh-server-common (9.3_p2-r0) 05:09:45 (7/8) Installing openssh-server (9.3_p2-r0) 05:09:45 (8/8) Installing openssh (9.3_p2-r0) 05:09:45 Executing busybox-1.36.1-r2.trigger 05:09:45 OK: 272 MiB in 60 packages 05:09:46 Removing intermediate container 17dbec77fe31 05:09:46 ---> 830a5e95d041 05:09:46 Step 6/10 : WORKDIR /device-modbus-go 05:09:46 ---> Running in d2630e8437d4 05:09:47 Removing intermediate container d2630e8437d4 05:09:47 ---> 7fc0ea98ab9b 05:09:47 Step 7/10 : COPY go.mod vendor* ./ 05:09:47 ---> 481498137e29 05:09:47 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:09:47 ---> Running in ab920ba4dbf9 05:11:24 Removing intermediate container ab920ba4dbf9 05:11:24 ---> e2df816f2f91 05:11:24 Step 9/10 : COPY . . 05:11:24 ---> 50345da94dac 05:11:24 Step 10/10 : RUN ${MAKE} 05:11:24 ---> Running in 7a07def96ff6 05:11:24 noop 05:11:24 Removing intermediate container 7a07def96ff6 05:11:24 ---> e4369b306923 05:11:24 Successfully built e4369b306923 05:11:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:24 + docker inspect -f . ci-base-image-arm64 05:11:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:25 prd-ubuntu20.04-docker-arm64-4c-16g-12486 does not seem to be running inside a container 05:11:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:11:26 $ docker top 9c5d3c7d4e8fbf99a6636533da89565c818d27a9f32f3a73988f39ca135df0ea -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:27 + go version 05:11:27 go version go1.21.0 linux/arm64 [Pipeline] } 05:11:27 $ docker stop --time=1 9c5d3c7d4e8fbf99a6636533da89565c818d27a9f32f3a73988f39ca135df0ea 05:11:29 $ docker rm -f --volumes 9c5d3c7d4e8fbf99a6636533da89565c818d27a9f32f3a73988f39ca135df0ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:29 + docker inspect -f . ci-base-image-arm64 05:11:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:30 prd-ubuntu20.04-docker-arm64-4c-16g-12486 does not seem to be running inside a container 05:11:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:11:31 $ docker top 33cadc151d9f74d00b2605d61c89bd69df4b2f2b16fc4f11eda230f4241fecdb -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:32 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:11:33 + make test 05:11:33 go test ./... -coverprofile=coverage.out 05:11:37 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:13:29 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:13:29 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.109s coverage: 47.9% of statements 05:13:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:13:29 go vet ./... 05:13:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:13:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:13:47 ./bin/test-attribution-txt.sh [Pipeline] echo 05:13:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:13:47 $ docker stop --time=1 33cadc151d9f74d00b2605d61c89bd69df4b2f2b16fc4f11eda230f4241fecdb 05:13:49 $ docker rm -f --volumes 33cadc151d9f74d00b2605d61c89bd69df4b2f2b16fc4f11eda230f4241fecdb [Pipeline] // withDockerContainer [Pipeline] sh 05:13:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:13:50 Warning: overwriting stash ‘coverage-report’ 05:13:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:13:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:13:52 + ls -al . 05:13:52 total 184 05:13:52 drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 05:11 . 05:13:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 05:08 .. 05:13:52 -rw-rw-r-- 1 jenkins jenkins 140 Oct 27 05:08 .dockerignore 05:13:52 drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 05:08 .git 05:13:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 05:08 .github 05:13:52 -rw-rw-r-- 1 jenkins jenkins 266 Oct 27 05:08 .gitignore 05:13:52 -rw-rw-r-- 1 jenkins jenkins 41 Oct 27 05:08 .golangci.yml 05:13:52 -rw-rw-r-- 1 jenkins jenkins 11101 Oct 27 05:08 Attribution.txt 05:13:52 -rw-rw-r-- 1 jenkins jenkins 14764 Oct 27 05:08 CHANGELOG.md 05:13:52 -rw-rw-r-- 1 jenkins jenkins 1365 Oct 27 05:08 Dockerfile 05:13:52 -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 05:08 GOVERNANCE.md 05:13:52 -rw-rw-r-- 1 jenkins jenkins 658 Oct 27 05:08 Jenkinsfile 05:13:52 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 27 05:08 LICENSE 05:13:52 -rw-rw-r-- 1 jenkins jenkins 1936 Oct 27 05:08 Makefile 05:13:52 -rw-rw-r-- 1 jenkins jenkins 622 Oct 27 05:08 OWNERS.md 05:13:52 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 27 05:08 README.md 05:13:52 -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 05:04 VERSION 05:13:52 drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 05:08 bin 05:13:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 05:08 cmd 05:13:52 -rw-r--r-- 1 jenkins jenkins 24334 Oct 27 05:13 coverage.out 05:13:52 -rw-rw-r-- 1 jenkins jenkins 3942 Oct 27 05:08 go.mod 05:13:52 -rw-rw-r-- 1 jenkins jenkins 35436 Oct 27 05:08 go.sum 05:13:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 05:08 internal 05:13:52 drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 05:08 simulator 05:13:52 -rw-rw-r-- 1 jenkins jenkins 229 Oct 27 05:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:52 + 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=9bf573b780e6dea7386ff37d38ccb2ead6a32b20 --label arch=arm64 --label version=0.0.0 . 05:13:54 Sending build context to Docker daemon 3.423MB 05:13:54 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 05:13:54 Step 2/22 : FROM ${BASE} AS builder 05:13:54 ---> e4369b306923 05:13:54 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:13:55 ---> Running in 210e891f16e7 05:13:55 Removing intermediate container 210e891f16e7 05:13:55 ---> 214e463c5f6e 05:13:55 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:13:55 ---> Running in 120f1a40f270 05:13:56 Removing intermediate container 120f1a40f270 05:13:56 ---> ba78bb0ce42a 05:13:56 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:13:56 ---> Running in e56daddf189e 05:13:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:13:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:13:59 OK: 272 MiB in 60 packages 05:14:01 Removing intermediate container e56daddf189e 05:14:01 ---> fa2e7e231b20 05:14:01 Step 6/22 : WORKDIR /device-modbus-go 05:14:01 ---> Running in d7e2930b4196 05:14:01 Removing intermediate container d7e2930b4196 05:14:01 ---> 769c73d8c9c6 05:14:01 Step 7/22 : COPY go.mod vendor* ./ 05:14:03 ---> af2ce96c132a 05:14:03 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:14:03 ---> Running in 2d58972c323d 05:14:10 Removing intermediate container 2d58972c323d 05:14:10 ---> a5d6dcac119c 05:14:10 Step 9/22 : COPY . . 05:14:10 ---> 7266019b7216 05:14:10 Step 10/22 : RUN ${MAKE} 05:14:10 ---> Running in 3a0ed3f1d398 05:14:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:16:03 Removing intermediate container 3a0ed3f1d398 05:16:03 ---> 113157910936 05:16:03 Step 11/22 : FROM alpine:3.18 05:16:03 3.18: Pulling from library/alpine 05:16:03 579b34f0a95b: Pulling fs layer 05:16:03 579b34f0a95b: Verifying Checksum 05:16:03 579b34f0a95b: Download complete 05:16:03 579b34f0a95b: Pull complete 05:16:03 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 05:16:03 Status: Downloaded newer image for alpine:3.18 05:16:03 ---> 3cc203321400 05:16:03 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:16:03 ---> Running in 437e61b741be 05:16:03 Removing intermediate container 437e61b741be 05:16:03 ---> d569bfb49e98 05:16:03 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:16:03 ---> Running in 792cab97f175 05:16:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:16:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:16:03 (1/1) Installing dumb-init (1.2.5-r2) 05:16:03 Executing busybox-1.36.1-r2.trigger 05:16:03 OK: 8 MiB in 16 packages 05:16:03 Removing intermediate container 792cab97f175 05:16:03 ---> 2a7674b49638 05:16:03 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:16:04 ---> ca5f7f7d05e4 05:16:04 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:16:04 ---> 28fcbb56d0e0 05:16:04 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:16:05 ---> ab43689958e5 05:16:05 Step 17/22 : EXPOSE 59901 05:16:05 ---> Running in 191f97c38069 05:16:05 Removing intermediate container 191f97c38069 05:16:05 ---> c6dac4adc1eb 05:16:05 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:16:05 ---> Running in a1737e4db8c6 05:16:06 Removing intermediate container a1737e4db8c6 05:16:06 ---> 7a8685ba11f5 05:16:06 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:16:06 ---> Running in 2322f27e67f3 05:16:06 Removing intermediate container 2322f27e67f3 05:16:06 ---> 00b6c354301e 05:16:06 Step 20/22 : LABEL arch=arm64 05:16:06 ---> Running in f7235351671b 05:16:06 Removing intermediate container f7235351671b 05:16:06 ---> 0150d4c82f7e 05:16:06 Step 21/22 : LABEL git_sha=9bf573b780e6dea7386ff37d38ccb2ead6a32b20 05:16:06 ---> Running in aada3c7a3e6f 05:16:07 Removing intermediate container aada3c7a3e6f 05:16:07 ---> 0e539187c161 05:16:07 Step 22/22 : LABEL version=0.0.0 05:16:07 ---> Running in 03be545420d3 05:16:07 Removing intermediate container 03be545420d3 05:16:07 ---> 5f1df3859fd0 05:16:07 [Warning] One or more build-args [ARCH] were not consumed 05:16:07 Successfully built 5f1df3859fd0 05:16:07 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 05:16:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:16:08 05:16:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:16:08 arm64: Pulling from edgex-lftools-log-publisher 05:16:08 8998bd30e6a1: Pulling fs layer 05:16:08 04944245beec: Pulling fs layer 05:16:08 699f458cf7ca: Pulling fs layer 05:16:08 765212b225bb: Pulling fs layer 05:16:08 f23df028b6ca: Pulling fs layer 05:16:08 d65c8cfc05b1: Pulling fs layer 05:16:08 2437ff75d9bd: Pulling fs layer 05:16:08 f23df028b6ca: Waiting 05:16:08 d65c8cfc05b1: Waiting 05:16:08 2437ff75d9bd: Waiting 05:16:08 04944245beec: Verifying Checksum 05:16:08 04944245beec: Download complete 05:16:08 765212b225bb: Verifying Checksum 05:16:08 765212b225bb: Download complete 05:16:08 f23df028b6ca: Download complete 05:16:08 d65c8cfc05b1: Verifying Checksum 05:16:08 d65c8cfc05b1: Download complete 05:16:09 699f458cf7ca: Verifying Checksum 05:16:09 699f458cf7ca: Download complete 05:16:09 8998bd30e6a1: Download complete 05:16:12 2437ff75d9bd: Verifying Checksum 05:16:12 2437ff75d9bd: Download complete 05:16:15 8998bd30e6a1: Pull complete 05:16:15 04944245beec: Pull complete 05:16:16 699f458cf7ca: Pull complete 05:16:17 765212b225bb: Pull complete 05:16:18 f23df028b6ca: Pull complete 05:16:18 d65c8cfc05b1: Pull complete 05:16:36 2437ff75d9bd: Pull complete 05:16:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:16:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:16:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:16:36 prd-ubuntu20.04-docker-arm64-4c-16g-12486 does not seem to be running inside a container 05:16:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:16:39 $ docker top 427ebccbc8c5f658f00c8c06b0afa698222c7067a7591727ee58057bad53e097 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:16:40 ---> job-cost.sh 05:16:40 lf-activate-venv: SKIPPING 05:16:40 INFO: No Stack... 05:16:41 INFO: Retrieving Pricing Info for: v3-standard-4 05:16:42 INFO: Archiving Costs [Pipeline] sh 05:16:42 + + cut -d, -f6 05:16:42 cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 05:16:42 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-518-1-stack-cost] 05:16:42 Resource [jenkins-edgexfoundry-device-modbus-go-PR-518-1-stack-cost] did not exist. Created. 05:16:42 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-518-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:16:43 /w/workspace/device-modbus-go/1@tmp/durable-fd2d85c1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:16:44 + echo total: 0.10999999940395355 [Pipeline] stash 05:16:44 Warning: overwriting stash ‘stack-cost’ 05:16:44 Stashed 1 file(s) [Pipeline] } 05:16:44 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-518-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:16:44 $ docker stop --time=1 427ebccbc8c5f658f00c8c06b0afa698222c7067a7591727ee58057bad53e097 05:16:46 $ docker rm -f --volumes 427ebccbc8c5f658f00c8c06b0afa698222c7067a7591727ee58057bad53e097 [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 05:16:47 provisioning config files... 05:16:47 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-518@tmp/config12340933611024909748tmp [Pipeline] { [Pipeline] sh 05:16:47 + set +x 05:16:47 + bash -s -- 05:16:47 + curl -s https://codecov.io/bash 05:16:47 05:16:47 _____ _ 05:16:47 / ____| | | 05:16:47 | | ___ __| | ___ ___ _____ __ 05:16:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:16:47 | |___| (_) | (_| | __/ (_| (_) \ V / 05:16:47 \_____\___/ \__,_|\___|\___\___/ \_/ 05:16:47 Bash-1.0.6 05:16:47 05:16:47 05:16:47 ==> git version 2.25.1 found 05:16:47 ==> 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 05:16:47 Release-Date: 2020-01-08 05:16:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:16:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:16:47 ==> Jenkins CI detected. 05:16:47 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-518 05:16:47 project root: . 05:16:47 --> token set from env 05:16:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:16:47 ==> Running gcov in . (disable via -X gcov) 05:16:47 ==> Python coveragepy not found 05:16:47 ==> Searching for coverage reports in: 05:16:47 + . 05:16:47 -> Found 1 reports 05:16:47 ==> Detecting git/mercurial file structure 05:16:47 ==> Reading reports 05:16:47 + ./coverage.out bytes=24334 05:16:47 ==> Appending adjustments 05:16:47 https://docs.codecov.io/docs/fixing-reports 05:16:47 + Found adjustments 05:16:47 ==> Gzipping contents 05:16:47 4.0K /tmp/codecov.wykS6I.gz 05:16:47 ==> Uploading reports 05:16:47 url: https://codecov.io 05:16:47 query: branch=PR-518&commit=9bf573b780e6dea7386ff37d38ccb2ead6a32b20&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-518%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=518&job=&cmd_args= 05:16:47 -> Pinging Codecov 05:16:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-518&commit=9bf573b780e6dea7386ff37d38ccb2ead6a32b20&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-518%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=518&job=&cmd_args= 05:16:47 -> Uploading to 05:16:47 https://storage.googleapis.com/codecov/v4/raw/2023-10-27/55DBCA73C666E3227836607328DD7E49/9bf573b780e6dea7386ff37d38ccb2ead6a32b20/4b048af3-d7d3-4ce6-9c2b-20370f1b08c6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231027%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231027T051647Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8b26167bf2fcd71591da120cb5ad73013156ba251679fdc955ee3d4917b7413c 05:16:47 % Total % Received % Xferd Average Speed Time Time Time Current 05:16:47 Dload Upload Total Spent Left Speed 05:16:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 10721 --:--:-- --:--:-- --:--:-- 10721 05:16:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/9bf573b780e6dea7386ff37d38ccb2ead6a32b20 [Pipeline] } 05:16:48 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 05:16:50 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-518/archives ] 05:16:50 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-518/archives 05:16:50 total 16 05:16:50 drwxr-xr-x 3 root root 4096 Oct 27 05:07 . 05:16:50 drwxrwxr-x 10 jenkins jenkins 4096 Oct 27 05:07 .. 05:16:50 drwxr-xr-x 2 root root 4096 Oct 27 05:07 cost 05:16:50 -rw-r--r-- 1 root root 88 Oct 27 05:07 cost.csv 05:16:50 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-518/archives 05:16:50 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-518/archives 05:16:50 total 16 05:16:50 drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 05:07 . 05:16:50 drwxrwxr-x 10 jenkins jenkins 4096 Oct 27 05:07 .. 05:16:50 drwxr-xr-x 2 jenkins jenkins 4096 Oct 27 05:07 cost 05:16:50 -rw-r--r-- 1 jenkins jenkins 88 Oct 27 05:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:16:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:16:51 ---> package-listing.sh 05:16:51 ++ facter osfamily 05:16:51 ++ tr '[:upper:]' '[:lower:]' 05:16:51 + OS_FAMILY=debian 05:16:51 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-518 05:16:51 + START_PACKAGES=/tmp/packages_start.txt 05:16:51 + END_PACKAGES=/tmp/packages_end.txt 05:16:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:16:51 + PACKAGES=/tmp/packages_start.txt 05:16:51 + '[' /w/workspace/xfoundry_device-modbus-go_PR-518 ']' 05:16:51 + PACKAGES=/tmp/packages_end.txt 05:16:51 + case "${OS_FAMILY}" in 05:16:51 + dpkg -l 05:16:51 + grep '^ii' 05:16:51 + '[' -f /tmp/packages_start.txt ']' 05:16:51 + '[' -f /tmp/packages_end.txt ']' 05:16:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:16:51 + '[' /w/workspace/xfoundry_device-modbus-go_PR-518 ']' 05:16:51 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-518/archives/ 05:16:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-518/archives/ [Pipeline] echo 05:16:51 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-518/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:16:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:16:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:16:52 prd-ubuntu20.04-docker-8c-8g-12484 does not seem to be running inside a container 05:16:52 $ 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-518/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-518 -v /w/workspace/xfoundry_device-modbus-go_PR-518:/w/workspace/xfoundry_device-modbus-go_PR-518:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-518@tmp:/w/workspace/xfoundry_device-modbus-go_PR-518@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:16:53 $ docker top 2f79015624531f2da78883c5064f93618f55b3e7774c328beaafc732a305df54 -eo pid,comm [Pipeline] { [Pipeline] sh 05:16:53 + touch /tmp/pre-build-complete [Pipeline] sh 05:16:53 + mkdir -p /var/log/sysstat [Pipeline] sh 05:16:54 + ls /var/log/sa-host 05:16:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:16:54 provisioning config files... 05:16:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-518@tmp/config5024726573949058226tmp [Pipeline] { [Pipeline] echo 05:16:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:16:54 ---> create-netrc.sh [Pipeline] } 05:16:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:16:55 ---> python-tools-install.sh [Pipeline] echo 05:16:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:16:55 ---> sudo-logs.sh 05:16:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:16:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:16:55 ---> job-cost.sh 05:16:55 lf-activate-venv: SKIPPING 05:16:55 DEBUG: total: 0.2199999988079071 05:16:55 INFO: Retrieving Stack Cost... 05:16:56 INFO: Retrieving Pricing Info for: v3-standard-8 05:16:56 INFO: Archiving Costs [Pipeline] echo 05:16:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:16:57 ---> logs-deploy.sh 05:16:57 lf-activate-venv: SKIPPING 05:16:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-518/1 05:16:57 INFO: archiving workspace using pattern(s): 05:16:57 Archives upload complete. 05:16:57 INFO: archiving logs to Nexus