Pull request #522 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a+83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 (ecde8aa64b453f67d9547f89358f394a3f88bdfd) 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-ssh192436222776150664.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh15037023369872063383.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-522/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-522/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18179916991964787631.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-522/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9406630389687355267.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh15484043928797925903.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-522/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-522/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2331571102875119103.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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 Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16992 in /w/workspace/xfoundry_device-modbus-go_PR-522 [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-522 # 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/522/head:refs/remotes/origin/PR-522 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 into PR head commit b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a Merge succeeded, producing b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a Checking out Revision b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a (PR-522) 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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:39:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:39:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a # 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 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:39:22 ========================================================= 05:39:22 EdgeX Global Pipelines Version Info 05:39:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:39:23 ------------------- 05:39:23 stable info: 05:39:23 ------------------- 05:39:23 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 05:39:23 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 05:39:23 Message: update stable to v1.0.257 05:39:23 ------------------- 05:39:23 experimental info: 05:39:23 ------------------- 05:39:23 Commited By: **** collab-it+edgex@linuxfoundation.org 05:39:23 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 05:39:23 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:39:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:39:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:39:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:39:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:39:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:39:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:39:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:39:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:39:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:39:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:39:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:39:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:39:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:39:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:39:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:39:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:39:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:39:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:39:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:39:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:39:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:39:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:39:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:39:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:39:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:39:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:39:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:39:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-522 [Pipeline] echo 05:39:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-522 [Pipeline] echo 05:39:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-522 [Pipeline] echo 05:39:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a [Pipeline] echo 05:39:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b2c2f2c [Pipeline] echo 05:39:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:39:25 provisioning config files... 05:39:25 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-522@tmp/config1238233117145791885tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:39:26 ---> docker-login.sh 05:39:26 nexus3.edgexfoundry.org:10001 05:39:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:26 Configure a credential helper to remove this warning. See 05:39:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:26 05:39:26 Login Succeeded 05:39:26 nexus3.edgexfoundry.org:10002 05:39:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:26 Configure a credential helper to remove this warning. See 05:39:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:26 05:39:26 Login Succeeded 05:39:26 nexus3.edgexfoundry.org:10003 05:39:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:26 Configure a credential helper to remove this warning. See 05:39:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:26 05:39:26 Login Succeeded 05:39:26 nexus3.edgexfoundry.org:10004 05:39:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:26 Configure a credential helper to remove this warning. See 05:39:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:26 05:39:26 Login Succeeded 05:39:26 docker.io 05:39:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:27 Configure a credential helper to remove this warning. See 05:39:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:27 05:39:27 Login Succeeded 05:39:27 ---> docker-login.sh ends [Pipeline] } 05:39:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:39:27 + git rev-list -1 --merges b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a~1..b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a [Pipeline] echo 05:39:27 -----------> git rev-list -1 --merges b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a~1..b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a [false] [Pipeline] sh 05:39:28 + git log --format=format:%s -1 b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a [Pipeline] echo 05:39:28 ========================================================= 05:39:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:39:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:39:28 + git log --format=format:%s -1 b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a [Pipeline] echo 05:39:28 [semverPrep] GIT_COMMIT: b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:39:28 [semverPrep] This is not a build commit. [Pipeline] sh 05:39:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:39:29 + grep -v github /etc/ssh/ssh_known_hosts 05:39:29 + [ -e /tmp/ssh_known_hosts ] 05:39:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:39:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:39:29 + sudo tee -a /etc/ssh/ssh_known_hosts 05:39:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:39:29 05:39:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:39:30 0.1.4: Pulling from edgex-devops/py-git-semver 05:39:30 b85a868b505f: Pulling fs layer 05:39:30 e2be974225ed: Pulling fs layer 05:39:30 339a4e72a1f5: Pulling fs layer 05:39:30 988bab9f4d93: Pulling fs layer 05:39:30 1469e6f7b9e6: Pulling fs layer 05:39:30 eaf3925da568: Pulling fs layer 05:39:30 bab4dde63d76: Pulling fs layer 05:39:30 bde34c3a00c8: Pulling fs layer 05:39:30 b352a97aabf1: Pulling fs layer 05:39:30 4872d77fe225: Pulling fs layer 05:39:30 5851b861e8e6: Pulling fs layer 05:39:30 bab4dde63d76: Waiting 05:39:30 bde34c3a00c8: Waiting 05:39:30 b352a97aabf1: Waiting 05:39:30 5851b861e8e6: Waiting 05:39:30 988bab9f4d93: Waiting 05:39:30 eaf3925da568: Waiting 05:39:30 4872d77fe225: Waiting 05:39:30 e2be974225ed: Verifying Checksum 05:39:30 e2be974225ed: Download complete 05:39:30 988bab9f4d93: Verifying Checksum 05:39:30 988bab9f4d93: Download complete 05:39:30 339a4e72a1f5: Verifying Checksum 05:39:30 339a4e72a1f5: Download complete 05:39:30 1469e6f7b9e6: Verifying Checksum 05:39:30 1469e6f7b9e6: Download complete 05:39:30 eaf3925da568: Download complete 05:39:30 bde34c3a00c8: Verifying Checksum 05:39:30 bde34c3a00c8: Download complete 05:39:30 b352a97aabf1: Verifying Checksum 05:39:30 b352a97aabf1: Download complete 05:39:30 4872d77fe225: Verifying Checksum 05:39:30 4872d77fe225: Download complete 05:39:30 5851b861e8e6: Verifying Checksum 05:39:30 5851b861e8e6: Download complete 05:39:30 b85a868b505f: Verifying Checksum 05:39:30 b85a868b505f: Download complete 05:39:30 bab4dde63d76: Verifying Checksum 05:39:31 b85a868b505f: Pull complete 05:39:31 e2be974225ed: Pull complete 05:39:32 339a4e72a1f5: Pull complete 05:39:32 988bab9f4d93: Pull complete 05:39:32 1469e6f7b9e6: Pull complete 05:39:32 eaf3925da568: Pull complete 05:39:34 bab4dde63d76: Pull complete 05:39:34 bde34c3a00c8: Pull complete 05:39:34 b352a97aabf1: Pull complete 05:39:34 4872d77fe225: Pull complete 05:39:34 5851b861e8e6: Pull complete 05:39:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:39:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:39:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:39:34 prd-ubuntu20.04-docker-8c-8g-16992 does not seem to be running inside a container 05:39:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-522 -v /w/workspace/xfoundry_device-modbus-go_PR-522:/w/workspace/xfoundry_device-modbus-go_PR-522:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-522@tmp:/w/workspace/xfoundry_device-modbus-go_PR-522@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:39:37 $ docker top 9be1e6036c9de90b4b01a0a59bde775d530e678301dc0045b8bf097e5638f03f -eo pid,comm 05:39:37 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:39:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:39:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:39:37 [ssh-agent] Looking for ssh-agent implementation... 05:39:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:39:37 $ docker exec 9be1e6036c9de90b4b01a0a59bde775d530e678301dc0045b8bf097e5638f03f ssh-agent 05:39:38 SSH_AUTH_SOCK=/tmp/ssh-ryGMlgp7Mdm3/agent.32 05:39:38 SSH_AGENT_PID=38 05:39:38 Running ssh-add (command line suppressed) 05:39:38 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-522@tmp/private_key_6143404886422211853.key (/w/workspace/xfoundry_device-modbus-go_PR-522@tmp/private_key_6143404886422211853.key) 05:39:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:39:38 + git tag --points-at HEAD [Pipeline] } 05:39:38 $ docker exec --env ******** --env ******** 9be1e6036c9de90b4b01a0a59bde775d530e678301dc0045b8bf097e5638f03f ssh-agent -k 05:39:38 unset SSH_AUTH_SOCK; 05:39:38 unset SSH_AGENT_PID; 05:39:38 echo Agent pid 38 killed; 05:39:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:39:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:39:38 [ssh-agent] Looking for ssh-agent implementation... 05:39:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:39:38 $ docker exec 9be1e6036c9de90b4b01a0a59bde775d530e678301dc0045b8bf097e5638f03f ssh-agent 05:39:39 SSH_AUTH_SOCK=/tmp/ssh-uU1xeL1nzyib/agent.70 05:39:39 SSH_AGENT_PID=76 05:39:39 Running ssh-add (command line suppressed) 05:39:39 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-522@tmp/private_key_6192624940359231035.key (/w/workspace/xfoundry_device-modbus-go_PR-522@tmp/private_key_6192624940359231035.key) 05:39:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:39:39 + git semver init 05:39:39 2023-11-08 05:39:39,653 [run_init] DEBUG init version:0.0.0 force:False 05:39:39 2023-11-08 05:39:39,654 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-522/.semver 05:39:39 2023-11-08 05:39:39,654 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-522/.semver 05:39:39 2023-11-08 05:39:39,655 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-522/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-522, universal_newlines=False, shell=None, istream=None) 05:39:40 2023-11-08 05:39:40,535 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-522/.git/info/exclude 05:39:40 2023-11-08 05:39:40,536 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-522/.semver/PR-522 with force:False 05:39:40 2023-11-08 05:39:40,536 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-522/.semver/PR-522 05:39:40 2023-11-08 05:39:40,539 [execute] INFO git cat-file --batch-check 05:39:40 2023-11-08 05:39:40,540 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-522/.semver, universal_newlines=False, shell=None, istream=) 05:39:40 2023-11-08 05:39:40,545 [execute] INFO git cat-file --batch 05:39:40 2023-11-08 05:39:40,546 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-522/.semver, universal_newlines=False, shell=None, istream=) 05:39:40 2023-11-08 05:39:40,551 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-522/.semver/PR-522 05:39:40 0.0.0 [Pipeline] } 05:39:40 $ docker exec --env ******** --env ******** 9be1e6036c9de90b4b01a0a59bde775d530e678301dc0045b8bf097e5638f03f ssh-agent -k 05:39:40 unset SSH_AUTH_SOCK; 05:39:40 unset SSH_AGENT_PID; 05:39:40 echo Agent pid 76 killed; 05:39:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:39:41 + git semver [Pipeline] } 05:39:41 $ docker stop --time=1 9be1e6036c9de90b4b01a0a59bde775d530e678301dc0045b8bf097e5638f03f 05:39:42 $ docker rm -f --volumes 9be1e6036c9de90b4b01a0a59bde775d530e678301dc0045b8bf097e5638f03f [Pipeline] // withDockerContainer [Pipeline] sh 05:39:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:39:43 Stashed 1 file(s) [Pipeline] echo 05:39:43 [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:39:44 provisioning config files... 05:39:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-522@tmp/config7724670853466931978tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:39:44 ---> docker-login.sh 05:39:44 nexus3.edgexfoundry.org:10001 05:39:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:44 Configure a credential helper to remove this warning. See 05:39:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:44 05:39:44 Login Succeeded 05:39:44 nexus3.edgexfoundry.org:10002 05:39:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:44 Configure a credential helper to remove this warning. See 05:39:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:44 05:39:44 Login Succeeded 05:39:44 nexus3.edgexfoundry.org:10003 05:39:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:44 Configure a credential helper to remove this warning. See 05:39:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:44 05:39:44 Login Succeeded 05:39:44 nexus3.edgexfoundry.org:10004 05:39:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:44 Configure a credential helper to remove this warning. See 05:39:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:44 05:39:44 Login Succeeded 05:39:44 docker.io 05:39:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:45 Configure a credential helper to remove this warning. See 05:39:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:45 05:39:45 Login Succeeded 05:39:45 ---> docker-login.sh ends [Pipeline] } 05:39:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:39:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:39:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:39:45 ========================================================= 05:39:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:39:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39:45 + 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:39:45 Sending build context to Docker daemon 6.586MB 05:39:45 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:39:45 Step 2/10 : FROM ${BASE} AS builder 05:39:45 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:39:45 7264a8db6415: Pulling fs layer 05:39:45 c4d48a809fc2: Pulling fs layer 05:39:45 4f1c88b9dad5: Pulling fs layer 05:39:45 ad3a456e5733: Pulling fs layer 05:39:45 33e27b845d1e: Pulling fs layer 05:39:45 c68163c4e522: Pulling fs layer 05:39:45 50da416c3ac9: Pulling fs layer 05:39:45 23d2d4c4bb30: Pulling fs layer 05:39:45 33e27b845d1e: Waiting 05:39:45 ad3a456e5733: Waiting 05:39:45 c68163c4e522: Waiting 05:39:45 50da416c3ac9: Waiting 05:39:45 c4d48a809fc2: Verifying Checksum 05:39:45 c4d48a809fc2: Download complete 05:39:45 ad3a456e5733: Verifying Checksum 05:39:45 ad3a456e5733: Download complete 05:39:46 33e27b845d1e: Verifying Checksum 05:39:46 33e27b845d1e: Download complete 05:39:46 7264a8db6415: Verifying Checksum 05:39:46 7264a8db6415: Download complete 05:39:46 c68163c4e522: Verifying Checksum 05:39:46 c68163c4e522: Download complete 05:39:46 7264a8db6415: Pull complete 05:39:46 c4d48a809fc2: Pull complete 05:39:46 23d2d4c4bb30: Verifying Checksum 05:39:46 23d2d4c4bb30: Download complete 05:39:46 4f1c88b9dad5: Verifying Checksum 05:39:46 4f1c88b9dad5: Download complete 05:39:46 50da416c3ac9: Verifying Checksum 05:39:46 50da416c3ac9: Download complete 05:39:50 4f1c88b9dad5: Pull complete 05:39:50 ad3a456e5733: Pull complete 05:39:50 33e27b845d1e: Pull complete 05:39:50 c68163c4e522: Pull complete 05:39:52 50da416c3ac9: Pull complete 05:39:52 23d2d4c4bb30: Pull complete 05:39:52 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 05:39:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:39:52 ---> 0786185ac409 05:39:52 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:39:57 ---> Running in f50716d4ecc5 05:39:57 Removing intermediate container f50716d4ecc5 05:39:57 ---> e3cc4dc83e65 05:39:57 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:39:57 ---> Running in 06f8778d5a8a 05:39:57 Removing intermediate container 06f8778d5a8a 05:39:57 ---> 828c8df99cab 05:39:57 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:39:57 ---> Running in 4141c6e58cbb 05:39:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:39:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:39:58 (1/8) Installing openssh-keygen (9.3_p2-r0) 05:39:58 (2/8) Installing libedit (20221030.3.1-r1) 05:39:58 (3/8) Installing openssh-client-common (9.3_p2-r0) 05:39:58 (4/8) Installing openssh-client-default (9.3_p2-r0) 05:39:58 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 05:39:58 (6/8) Installing openssh-server-common (9.3_p2-r0) 05:39:58 (7/8) Installing openssh-server (9.3_p2-r0) 05:39:58 (8/8) Installing openssh (9.3_p2-r0) 05:39:58 Executing busybox-1.36.1-r2.trigger 05:39:58 OK: 270 MiB in 60 packages 05:39:58 Removing intermediate container 4141c6e58cbb 05:39:58 ---> 3de0428d7765 05:39:58 Step 6/10 : WORKDIR /device-modbus-go 05:39:58 ---> Running in 85c928cfd03d 05:39:58 Removing intermediate container 85c928cfd03d 05:39:58 ---> a038c73665ed 05:39:58 Step 7/10 : COPY go.mod vendor* ./ 05:39:58 ---> 105bc525f961 05:39:58 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:39:58 ---> Running in 573b03331a65 05:39:59 Still waiting to schedule task 05:39:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:40:45 Removing intermediate container 573b03331a65 05:40:45 ---> dd87df2bf291 05:40:45 Step 9/10 : COPY . . 05:40:45 ---> 9c1c0bbad171 05:40:45 Step 10/10 : RUN ${MAKE} 05:40:45 ---> Running in b4a3424ff011 05:40:45 noop 05:40:45 Removing intermediate container b4a3424ff011 05:40:45 ---> 090aca03d467 05:40:45 Successfully built 090aca03d467 05:40:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:46 + docker inspect -f . ci-base-image-x86_64 05:40:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:40:46 prd-ubuntu20.04-docker-8c-8g-16992 does not seem to be running inside a container 05:40:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-522 -v /w/workspace/xfoundry_device-modbus-go_PR-522:/w/workspace/xfoundry_device-modbus-go_PR-522:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-522@tmp:/w/workspace/xfoundry_device-modbus-go_PR-522@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:40:46 $ docker top 315c3d94330ede05b17865d510e3ed0b4a99c71cf037fac88b524afbb9923aa9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:40:46 + go version 05:40:46 go version go1.21.0 linux/amd64 [Pipeline] } 05:40:47 $ docker stop --time=1 315c3d94330ede05b17865d510e3ed0b4a99c71cf037fac88b524afbb9923aa9 05:40:48 $ docker rm -f --volumes 315c3d94330ede05b17865d510e3ed0b4a99c71cf037fac88b524afbb9923aa9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:49 + docker inspect -f . ci-base-image-x86_64 05:40:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:40:49 prd-ubuntu20.04-docker-8c-8g-16992 does not seem to be running inside a container 05:40:49 $ 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-522 -v /w/workspace/xfoundry_device-modbus-go_PR-522:/w/workspace/xfoundry_device-modbus-go_PR-522:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-522@tmp:/w/workspace/xfoundry_device-modbus-go_PR-522@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:40:49 $ docker top 7b5e1eac73f193350fe16d70a0db6f233aaaa55a33939f52c8edfa86d567b6b9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:40:49 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-522 [Pipeline] fileExists [Pipeline] sh 05:40:50 + make test 05:40:50 go test ./... -coverprofile=coverage.out 05:40:51 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:41:01 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:41:01 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 47.9% of statements 05:41:06 go vet ./... 05:41:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:41:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:41:10 ./bin/test-attribution-txt.sh [Pipeline] echo 05:41:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:41:10 $ docker stop --time=1 7b5e1eac73f193350fe16d70a0db6f233aaaa55a33939f52c8edfa86d567b6b9 05:41:14 $ docker rm -f --volumes 7b5e1eac73f193350fe16d70a0db6f233aaaa55a33939f52c8edfa86d567b6b9 [Pipeline] // withDockerContainer [Pipeline] sh 05:41:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:41:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:41:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:41:16 + ls -al . 05:41:16 total 188 05:41:16 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 05:40 . 05:41:16 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 05:39 .. 05:41:16 -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 05:39 .dockerignore 05:41:16 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 05:41 .git 05:41:16 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 05:39 .github 05:41:16 -rw-rw-r-- 1 jenkins jenkins 266 Nov 8 05:39 .gitignore 05:41:16 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 05:39 .golangci.yml 05:41:16 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 05:39 .semver 05:41:16 -rw-rw-r-- 1 jenkins jenkins 11101 Nov 8 05:39 Attribution.txt 05:41:16 -rw-rw-r-- 1 jenkins jenkins 14764 Nov 8 05:39 CHANGELOG.md 05:41:16 -rw-rw-r-- 1 jenkins jenkins 1365 Nov 8 05:39 Dockerfile 05:41:16 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 05:39 GOVERNANCE.md 05:41:16 -rw-rw-r-- 1 jenkins jenkins 658 Nov 8 05:39 Jenkinsfile 05:41:16 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 05:39 LICENSE 05:41:16 -rw-rw-r-- 1 jenkins jenkins 1936 Nov 8 05:39 Makefile 05:41:16 -rw-rw-r-- 1 jenkins jenkins 622 Nov 8 05:39 OWNERS.md 05:41:16 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 8 05:39 README.md 05:41:16 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 05:39 VERSION 05:41:16 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 05:39 bin 05:41:16 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 05:39 cmd 05:41:16 -rw-r--r-- 1 jenkins jenkins 24334 Nov 8 05:41 coverage.out 05:41:16 -rw-rw-r-- 1 jenkins jenkins 3895 Nov 8 05:39 go.mod 05:41:16 -rw-rw-r-- 1 jenkins jenkins 35342 Nov 8 05:39 go.sum 05:41:16 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 05:39 internal 05:41:16 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 05:39 simulator 05:41:16 -rw-rw-r-- 1 jenkins jenkins 229 Nov 8 05:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:41:16 + 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=b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a --label arch=amd64 --label version=0.0.0 . 05:41:16 Sending build context to Docker daemon 6.611MB 05:41:16 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 05:41:16 Step 2/22 : FROM ${BASE} AS builder 05:41:16 ---> 090aca03d467 05:41:16 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:41:16 ---> Running in 210441b263db 05:41:16 Removing intermediate container 210441b263db 05:41:16 ---> b2d2e621b085 05:41:16 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:41:16 ---> Running in 3cfaaa148638 05:41:17 Removing intermediate container 3cfaaa148638 05:41:17 ---> a2567776ebe4 05:41:17 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:41:17 ---> Running in 7e265f17bf07 05:41:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:41:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:41:17 OK: 270 MiB in 60 packages 05:41:18 Removing intermediate container 7e265f17bf07 05:41:18 ---> 02b8c0fd885f 05:41:18 Step 6/22 : WORKDIR /device-modbus-go 05:41:18 ---> Running in 22b5026207af 05:41:18 Removing intermediate container 22b5026207af 05:41:18 ---> b2c14df7bb87 05:41:18 Step 7/22 : COPY go.mod vendor* ./ 05:41:18 ---> c985b8a8f99d 05:41:18 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:41:18 ---> Running in aa94f568ba3c 05:41:19 Removing intermediate container aa94f568ba3c 05:41:19 ---> 521a9b4c5bdd 05:41:19 Step 9/22 : COPY . . 05:41:19 ---> 9ba4cb18b547 05:41:19 Step 10/22 : RUN ${MAKE} 05:41:19 ---> Running in 4fea98430853 05:41:20 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" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:41:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16993 in /w/workspace/xfoundry_device-modbus-go_PR-522 [Pipeline] { [Pipeline] ws 05:41:33 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:41:33 Selected Git installation does not exist. Using Default 05:41:33 The recommended git tool is: NONE 05:41:38 using credential edgex-jenkins-ssh 05:41:38 Cloning the remote Git repository 05:41:38 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:41:38 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:41:38 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:41:38 > git --version # timeout=10 05:41:38 > git --version # 'git version 2.25.1' 05:41:38 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:41:40 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:41:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:41:41 Merging remotes/origin/main commit 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 into PR head commit b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a 05:41:41 Merge succeeded, producing b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a 05:41:41 Checking out Revision b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a (PR-522) 05:41:41 Removing intermediate container 4fea98430853 05:41:41 ---> bf3b15d69eee 05:41:41 Step 11/22 : FROM alpine:3.18 05:41:41 3.18: Pulling from library/alpine 05:41:41 96526aa774ef: Pulling fs layer 05:41:41 96526aa774ef: Verifying Checksum 05:41:41 96526aa774ef: Download complete 05:41:42 96526aa774ef: Pull complete 05:41:42 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 05:41:42 Status: Downloaded newer image for alpine:3.18 05:41:42 ---> 8ca4688f4f35 05:41:42 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:41:42 ---> Running in 5778783c417b 05:41:40 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:41:41 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:41:41 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/522/head:refs/remotes/origin/PR-522 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:41:41 > git config core.sparsecheckout # timeout=10 05:41:41 > git checkout -f b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a # timeout=10 05:41:41 > git remote # timeout=10 05:41:41 > git config --get remote.origin.url # timeout=10 05:41:41 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:41 > git merge 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 # timeout=10 05:41:41 > git rev-parse HEAD^{commit} # timeout=10 05:41:41 > git config core.sparsecheckout # timeout=10 05:41:41 > git checkout -f b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a # timeout=10 05:41:42 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:41:42 > git --version # timeout=10 05:41:42 > git --version # 'git version 2.25.1' 05:41:42 fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 05:41:42 Removing intermediate container 5778783c417b 05:41:42 ---> b08248550200 05:41:42 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:41:42 ---> Running in d2f6e52de2e8 [Pipeline] withEnv [Pipeline] { 05:41:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:41:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:41:43 (1/1) Installing dumb-init (1.2.5-r2) 05:41:43 Executing busybox-1.36.1-r2.trigger 05:41:43 OK: 7 MiB in 16 packages 05:41:43 Removing intermediate container d2f6e52de2e8 05:41:43 ---> ed7336dd394b 05:41:43 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:41:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:41:43 % Total % Received % Xferd Average Speed Time Time Time Current 05:41:43 Dload Upload Total Spent Left Speed 05:41:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 110k 0 --:--:-- --:--:-- --:--:-- 110k [Pipeline] sh 05:41:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:41:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:41:44 + sudo tee /etc/docker/daemon.new 05:41:44 { 05:41:44 "registry-mirrors": [ 05:41:44 "https://nexus3.edgexfoundry.org:10001" 05:41:44 ], 05:41:44 "bip": "10.250.0.254/24", 05:41:44 "hosts": [ 05:41:44 "tcp://0.0.0.0:5555", 05:41:44 "unix:///var/run/docker.sock" 05:41:44 ], 05:41:44 "mtu": 1458, 05:41:44 "selinux-enabled": true, 05:41:44 "seccomp-profile": "/etc/docker/seccomp.json" 05:41:44 } [Pipeline] sh 05:41:44 ---> 515dec54cae5 05:41:44 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:41:44 ---> e1009b460c07 05:41:44 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:41:44 ---> 187e252f65e7 05:41:44 Step 17/22 : EXPOSE 59901 05:41:44 ---> Running in ab8a8122932b 05:41:44 Removing intermediate container ab8a8122932b 05:41:44 ---> 922cf0bddc9b 05:41:44 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:41:44 ---> Running in a1ef99fc041a 05:41:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:41:45 Removing intermediate container a1ef99fc041a 05:41:45 ---> 4854712d2f26 05:41:45 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:41:45 ---> Running in 8c449204d10f 05:41:45 Removing intermediate container 8c449204d10f 05:41:45 ---> 38906fc1354d 05:41:45 Step 20/22 : LABEL arch=amd64 05:41:45 ---> Running in 2dabc8b79a51 05:41:45 Removing intermediate container 2dabc8b79a51 05:41:45 ---> 9258386d14d9 05:41:45 Step 21/22 : LABEL git_sha=b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a 05:41:45 + sudo service docker restart 05:41:45 ---> Running in 58162b634b88 05:41:45 Removing intermediate container 58162b634b88 05:41:45 ---> cdb29e3c32c7 05:41:45 Step 22/22 : LABEL version=0.0.0 05:41:45 ---> Running in 48f98dab18a1 05:41:45 Removing intermediate container 48f98dab18a1 05:41:45 ---> 2e3e0204f671 05:41:45 [Warning] One or more build-args [ARCH] were not consumed 05:41:45 Successfully built 2e3e0204f671 05:41:45 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:41:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:41:46 05:41:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:41:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:41:46 latest: Pulling from edgex-lftools-log-publisher 05:41:46 5eb5b503b376: Pulling fs layer 05:41:46 5c69ac0246d0: Pulling fs layer 05:41:46 ec43610c2a17: Pulling fs layer 05:41:46 3a2ae6a8a46f: Pulling fs layer 05:41:46 33b1e0a273af: Pulling fs layer 05:41:46 5d3b04190fa2: Pulling fs layer 05:41:46 2f39f015ded8: Pulling fs layer 05:41:46 3a2ae6a8a46f: Waiting 05:41:46 2f39f015ded8: Waiting 05:41:46 33b1e0a273af: Waiting 05:41:46 5d3b04190fa2: Waiting 05:41:46 5c69ac0246d0: Download complete 05:41:46 3a2ae6a8a46f: Download complete 05:41:46 33b1e0a273af: Verifying Checksum 05:41:46 33b1e0a273af: Download complete 05:41:47 5d3b04190fa2: Verifying Checksum 05:41:47 5d3b04190fa2: Download complete 05:41:47 ec43610c2a17: Verifying Checksum 05:41:47 ec43610c2a17: Download complete 05:41:47 5eb5b503b376: Verifying Checksum 05:41:47 5eb5b503b376: Download complete 05:41:48 2f39f015ded8: Download complete 05:41:48 5eb5b503b376: Pull complete 05:41:48 5c69ac0246d0: Pull complete 05:41:48 ec43610c2a17: Pull complete 05:41:48 3a2ae6a8a46f: Pull complete 05:41:49 33b1e0a273af: Pull complete 05:41:49 5d3b04190fa2: Pull complete 05:41:53 2f39f015ded8: Pull complete 05:41:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:41:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:41:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:41:53 prd-ubuntu20.04-docker-8c-8g-16992 does not seem to be running inside a container 05:41:53 $ 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-522 -v /w/workspace/xfoundry_device-modbus-go_PR-522:/w/workspace/xfoundry_device-modbus-go_PR-522:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-522@tmp:/w/workspace/xfoundry_device-modbus-go_PR-522@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:42:01 $ docker top 1fe4d0728d3e6698191e44a52b04d1e6114e438c37c21b598a5101078e5c9f8e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:42:01 ---> job-cost.sh 05:42:01 lf-activate-venv: SKIPPING 05:42:01 INFO: No Stack... 05:42:01 INFO: Retrieving Pricing Info for: v3-standard-8 05:42:02 INFO: Archiving Costs [Pipeline] sh 05:42:02 + cat /w/workspace/xfoundry_device-modbus-go_PR-522/archives/cost.csv 05:42:02 + cut -d, -f6 [Pipeline] lock 05:42:02 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-522-1-stack-cost] 05:42:02 Resource [jenkins-edgexfoundry-device-modbus-go-PR-522-1-stack-cost] did not exist. Created. 05:42:02 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-522-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:42:02 + echo total: 0.2199999988079071 [Pipeline] stash 05:42:02 Stashed 1 file(s) [Pipeline] } 05:42:03 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-522-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:42:03 $ docker stop --time=1 1fe4d0728d3e6698191e44a52b04d1e6114e438c37c21b598a5101078e5c9f8e 05:42:04 $ docker rm -f --volumes 1fe4d0728d3e6698191e44a52b04d1e6114e438c37c21b598a5101078e5c9f8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] configFileProvider 05:42:04 provisioning config files... [Pipeline] } 05:42:04 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config17767493809776066489tmp [Pipeline] // withEnv [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // stage [Pipeline] } 05:42:04 ---> docker-login.sh 05:42:04 nexus3.edgexfoundry.org:10001 05:42:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:42:05 Configure a credential helper to remove this warning. See 05:42:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:42:05 05:42:05 Login Succeeded 05:42:05 nexus3.edgexfoundry.org:10002 05:42:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:42:06 Configure a credential helper to remove this warning. See 05:42:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:42:06 05:42:06 Login Succeeded 05:42:06 nexus3.edgexfoundry.org:10003 05:42:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:42:06 Configure a credential helper to remove this warning. See 05:42:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:42:06 05:42:06 Login Succeeded 05:42:06 nexus3.edgexfoundry.org:10004 05:42:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:42:06 Configure a credential helper to remove this warning. See 05:42:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:42:06 05:42:06 Login Succeeded 05:42:06 docker.io 05:42:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:42:07 Configure a credential helper to remove this warning. See 05:42:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:42:07 05:42:07 Login Succeeded 05:42:07 ---> docker-login.sh ends [Pipeline] } 05:42:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:42:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:42:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:42:07 ========================================================= 05:42:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:42:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:42:08 + 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:42:08 Sending build context to Docker daemon 3.413MB 05:42:08 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:42:08 Step 2/10 : FROM ${BASE} AS builder 05:42:08 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:42:08 9fda8d8052c6: Pulling fs layer 05:42:08 5d54e960e981: Pulling fs layer 05:42:08 c4a7e357bf2a: Pulling fs layer 05:42:08 f0e02332f6b5: Pulling fs layer 05:42:08 cefa15bbcfad: Pulling fs layer 05:42:08 17808c966233: Pulling fs layer 05:42:08 f0e02332f6b5: Waiting 05:42:08 cefa15bbcfad: Waiting 05:42:08 17808c966233: Waiting 05:42:08 f4c1fc716caa: Pulling fs layer 05:42:08 f4c1fc716caa: Waiting 05:42:08 5d54e960e981: Verifying Checksum 05:42:08 5d54e960e981: Download complete 05:42:08 f0e02332f6b5: Verifying Checksum 05:42:08 f0e02332f6b5: Download complete 05:42:08 cefa15bbcfad: Verifying Checksum 05:42:08 cefa15bbcfad: Download complete 05:42:08 9fda8d8052c6: Verifying Checksum 05:42:08 9fda8d8052c6: Download complete 05:42:09 f4c1fc716caa: Verifying Checksum 05:42:09 f4c1fc716caa: Download complete 05:42:09 9fda8d8052c6: Pull complete 05:42:10 5d54e960e981: Pull complete 05:42:10 c4a7e357bf2a: Verifying Checksum 05:42:10 c4a7e357bf2a: Download complete 05:42:11 17808c966233: Verifying Checksum 05:42:11 17808c966233: Download complete 05:42:24 c4a7e357bf2a: Pull complete 05:42:24 f0e02332f6b5: Pull complete 05:42:24 cefa15bbcfad: Pull complete 05:42:32 17808c966233: Pull complete 05:42:33 f4c1fc716caa: Pull complete 05:42:33 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 05:42:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:42:33 ---> ea914061e18c 05:42:33 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:42:34 ---> Running in 0d3b92ffe3e6 05:42:34 Removing intermediate container 0d3b92ffe3e6 05:42:34 ---> 20a23b11cc2c 05:42:34 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:42:34 ---> Running in cf64d0aed32d 05:42:34 Removing intermediate container cf64d0aed32d 05:42:34 ---> f19c0267f013 05:42:34 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:42:35 ---> Running in f3f8960e25e0 05:42:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:42:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:42:37 (1/8) Installing openssh-keygen (9.3_p2-r0) 05:42:37 (2/8) Installing libedit (20221030.3.1-r1) 05:42:37 (3/8) Installing openssh-client-common (9.3_p2-r0) 05:42:37 (4/8) Installing openssh-client-default (9.3_p2-r0) 05:42:37 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 05:42:37 (6/8) Installing openssh-server-common (9.3_p2-r0) 05:42:37 (7/8) Installing openssh-server (9.3_p2-r0) 05:42:37 (8/8) Installing openssh (9.3_p2-r0) 05:42:37 Executing busybox-1.36.1-r2.trigger 05:42:37 OK: 272 MiB in 60 packages 05:42:38 Removing intermediate container f3f8960e25e0 05:42:38 ---> e851cd605e3e 05:42:38 Step 6/10 : WORKDIR /device-modbus-go 05:42:39 ---> Running in 4b19c2926abd 05:42:39 Removing intermediate container 4b19c2926abd 05:42:39 ---> 6435b3d58c11 05:42:39 Step 7/10 : COPY go.mod vendor* ./ 05:42:39 ---> 61508c589b31 05:42:39 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:42:39 ---> Running in ef7709ef1f7e 05:44:01 Removing intermediate container ef7709ef1f7e 05:44:01 ---> f7576492e99f 05:44:01 Step 9/10 : COPY . . 05:44:01 ---> f631f7ab40c2 05:44:01 Step 10/10 : RUN ${MAKE} 05:44:01 ---> Running in a1988e94f82e 05:44:01 noop 05:44:01 Removing intermediate container a1988e94f82e 05:44:01 ---> ee8f416db5f2 05:44:01 Successfully built ee8f416db5f2 05:44:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:02 + docker inspect -f . ci-base-image-arm64 05:44:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:02 prd-ubuntu20.04-docker-arm64-4c-16g-16993 does not seem to be running inside a container 05:44:02 $ 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:44:03 $ docker top f163626f3f97239268b6fef30e8af21c8a3842a3d74b4edaab267a45284440ce -eo pid,comm [Pipeline] { [Pipeline] sh 05:44:04 + go version 05:44:04 go version go1.21.0 linux/arm64 [Pipeline] } 05:44:04 $ docker stop --time=1 f163626f3f97239268b6fef30e8af21c8a3842a3d74b4edaab267a45284440ce 05:44:06 $ docker rm -f --volumes f163626f3f97239268b6fef30e8af21c8a3842a3d74b4edaab267a45284440ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:07 + docker inspect -f . ci-base-image-arm64 05:44:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:07 prd-ubuntu20.04-docker-arm64-4c-16g-16993 does not seem to be running inside a container 05:44:07 $ 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:44:08 $ docker top 776faa46c6aea8daa6e3bcace074e920d85770f70468625ca871eb1ffd5a58d0 -eo pid,comm [Pipeline] { [Pipeline] sh 05:44:09 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:44:09 + make test 05:44:09 go test ./... -coverprofile=coverage.out 05:44:13 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:45:50 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:45:50 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.061s coverage: 47.9% of statements 05:45:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:45:50 go vet ./... 05:46:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:46:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:46:05 ./bin/test-attribution-txt.sh [Pipeline] echo 05:46:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:46:05 $ docker stop --time=1 776faa46c6aea8daa6e3bcace074e920d85770f70468625ca871eb1ffd5a58d0 05:46:10 $ docker rm -f --volumes 776faa46c6aea8daa6e3bcace074e920d85770f70468625ca871eb1ffd5a58d0 [Pipeline] // withDockerContainer [Pipeline] sh 05:46:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:46:11 Warning: overwriting stash ‘coverage-report’ 05:46:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:46:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:46:13 + ls -al . 05:46:13 total 184 05:46:13 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 05:44 . 05:46:13 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 05:41 .. 05:46:13 -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 05:41 .dockerignore 05:46:13 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 05:41 .git 05:46:13 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 05:41 .github 05:46:13 -rw-rw-r-- 1 jenkins jenkins 266 Nov 8 05:41 .gitignore 05:46:13 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 05:41 .golangci.yml 05:46:13 -rw-rw-r-- 1 jenkins jenkins 11101 Nov 8 05:41 Attribution.txt 05:46:13 -rw-rw-r-- 1 jenkins jenkins 14764 Nov 8 05:41 CHANGELOG.md 05:46:13 -rw-rw-r-- 1 jenkins jenkins 1365 Nov 8 05:41 Dockerfile 05:46:13 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 05:41 GOVERNANCE.md 05:46:13 -rw-rw-r-- 1 jenkins jenkins 658 Nov 8 05:41 Jenkinsfile 05:46:13 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 05:41 LICENSE 05:46:13 -rw-rw-r-- 1 jenkins jenkins 1936 Nov 8 05:41 Makefile 05:46:13 -rw-rw-r-- 1 jenkins jenkins 622 Nov 8 05:41 OWNERS.md 05:46:13 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 8 05:41 README.md 05:46:13 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 05:39 VERSION 05:46:13 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 05:41 bin 05:46:13 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 05:41 cmd 05:46:13 -rw-r--r-- 1 jenkins jenkins 24334 Nov 8 05:45 coverage.out 05:46:13 -rw-rw-r-- 1 jenkins jenkins 3895 Nov 8 05:41 go.mod 05:46:13 -rw-rw-r-- 1 jenkins jenkins 35342 Nov 8 05:41 go.sum 05:46:13 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 05:41 internal 05:46:13 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 05:41 simulator 05:46:13 -rw-rw-r-- 1 jenkins jenkins 229 Nov 8 05:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:13 + 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=b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a --label arch=arm64 --label version=0.0.0 . 05:46:13 Sending build context to Docker daemon 3.438MB 05:46:13 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 05:46:13 Step 2/22 : FROM ${BASE} AS builder 05:46:13 ---> ee8f416db5f2 05:46:13 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:46:14 ---> Running in d8ffd58a1cda 05:46:14 Removing intermediate container d8ffd58a1cda 05:46:14 ---> 802e6710c64e 05:46:14 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:46:14 ---> Running in c3e4bdec2376 05:46:15 Removing intermediate container c3e4bdec2376 05:46:15 ---> 0ff7752ad893 05:46:15 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:46:15 ---> Running in 191819ccf512 05:46:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:46:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:46:18 OK: 272 MiB in 60 packages 05:46:19 Removing intermediate container 191819ccf512 05:46:19 ---> 552a6666865c 05:46:19 Step 6/22 : WORKDIR /device-modbus-go 05:46:22 ---> Running in 9bc96f1dd01a 05:46:23 Removing intermediate container 9bc96f1dd01a 05:46:23 ---> a728e8fec15f 05:46:23 Step 7/22 : COPY go.mod vendor* ./ 05:46:24 ---> 2762041bfbf4 05:46:24 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:46:24 ---> Running in 3b19e76c1750 05:46:27 Removing intermediate container 3b19e76c1750 05:46:27 ---> 85ef2ca84bbc 05:46:27 Step 9/22 : COPY . . 05:46:28 ---> f01ba747dae5 05:46:28 Step 10/22 : RUN ${MAKE} 05:46:28 ---> Running in 84b065b578a9 05:46:29 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" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:48:21 Removing intermediate container 84b065b578a9 05:48:21 ---> c078e12d611c 05:48:21 Step 11/22 : FROM alpine:3.18 05:48:21 3.18: Pulling from library/alpine 05:48:21 579b34f0a95b: Pulling fs layer 05:48:21 579b34f0a95b: Download complete 05:48:21 579b34f0a95b: Pull complete 05:48:21 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 05:48:21 Status: Downloaded newer image for alpine:3.18 05:48:21 ---> 3cc203321400 05:48:21 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:48:21 ---> Running in 08b99a563441 05:48:21 Removing intermediate container 08b99a563441 05:48:21 ---> 523c976f0e4a 05:48:21 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:48:21 ---> Running in ddb48d3f775f 05:48:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:48:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:48:21 (1/1) Installing dumb-init (1.2.5-r2) 05:48:21 Executing busybox-1.36.1-r2.trigger 05:48:21 OK: 8 MiB in 16 packages 05:48:21 Removing intermediate container ddb48d3f775f 05:48:21 ---> 1c53592d1b55 05:48:21 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:48:21 ---> a878057d234c 05:48:21 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:48:21 ---> 67c8d02ffa68 05:48:21 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:48:21 ---> 20443dba3e60 05:48:21 Step 17/22 : EXPOSE 59901 05:48:21 ---> Running in 7f36fd6d0a90 05:48:21 Removing intermediate container 7f36fd6d0a90 05:48:21 ---> 7705da4b0a07 05:48:21 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:48:21 ---> Running in 853caa195d98 05:48:21 Removing intermediate container 853caa195d98 05:48:21 ---> 44f90b64f607 05:48:21 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:48:21 ---> Running in ff22a5fb717b 05:48:22 Removing intermediate container ff22a5fb717b 05:48:22 ---> 8ba739288963 05:48:22 Step 20/22 : LABEL arch=arm64 05:48:22 ---> Running in 49bf1d6cf6e7 05:48:22 Removing intermediate container 49bf1d6cf6e7 05:48:22 ---> 33aa253b26e2 05:48:22 Step 21/22 : LABEL git_sha=b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a 05:48:22 ---> Running in 8411e6b4d169 05:48:22 Removing intermediate container 8411e6b4d169 05:48:22 ---> f36566805816 05:48:22 Step 22/22 : LABEL version=0.0.0 05:48:22 ---> Running in ce622d4660ae 05:48:23 Removing intermediate container ce622d4660ae 05:48:23 ---> 462a2bdc9c73 05:48:23 [Warning] One or more build-args [ARCH] were not consumed 05:48:23 Successfully built 462a2bdc9c73 05:48:23 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:48:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:48:23 05:48:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:48:27 arm64: Pulling from edgex-lftools-log-publisher 05:48:27 8998bd30e6a1: Pulling fs layer 05:48:27 04944245beec: Pulling fs layer 05:48:27 699f458cf7ca: Pulling fs layer 05:48:27 765212b225bb: Pulling fs layer 05:48:27 f23df028b6ca: Pulling fs layer 05:48:27 d65c8cfc05b1: Pulling fs layer 05:48:27 2437ff75d9bd: Pulling fs layer 05:48:27 f23df028b6ca: Waiting 05:48:27 765212b225bb: Waiting 05:48:27 2437ff75d9bd: Waiting 05:48:27 d65c8cfc05b1: Waiting 05:48:27 04944245beec: Verifying Checksum 05:48:27 04944245beec: Download complete 05:48:27 765212b225bb: Verifying Checksum 05:48:27 765212b225bb: Download complete 05:48:27 f23df028b6ca: Verifying Checksum 05:48:27 f23df028b6ca: Download complete 05:48:27 d65c8cfc05b1: Verifying Checksum 05:48:27 d65c8cfc05b1: Download complete 05:48:27 699f458cf7ca: Verifying Checksum 05:48:27 699f458cf7ca: Download complete 05:48:28 8998bd30e6a1: Download complete 05:48:30 2437ff75d9bd: Download complete 05:48:33 8998bd30e6a1: Pull complete 05:48:33 04944245beec: Pull complete 05:48:35 699f458cf7ca: Pull complete 05:48:35 765212b225bb: Pull complete 05:48:36 f23df028b6ca: Pull complete 05:48:36 d65c8cfc05b1: Pull complete 05:48:58 2437ff75d9bd: Pull complete 05:48:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:48:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:48:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:48:58 prd-ubuntu20.04-docker-arm64-4c-16g-16993 does not seem to be running inside a container 05:48:58 $ 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:49:01 $ docker top ba8dad6548aa649918dd1141e141a76325b0254dda04eaf8c1fcfdd04d27f10e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:49:01 ---> job-cost.sh 05:49:02 lf-activate-venv: SKIPPING 05:49:02 INFO: No Stack... 05:49:02 INFO: Retrieving Pricing Info for: v3-standard-4 05:49:03 INFO: Archiving Costs [Pipeline] sh 05:49:03 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 05:49:03 + cut -d, -f6 [Pipeline] lock 05:49:03 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-522-1-stack-cost] 05:49:03 Resource [jenkins-edgexfoundry-device-modbus-go-PR-522-1-stack-cost] did not exist. Created. 05:49:03 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-522-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:49:04 /w/workspace/device-modbus-go/1@tmp/durable-270d6b2b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:49:05 + echo total: 0.10999999940395355 [Pipeline] stash 05:49:05 Warning: overwriting stash ‘stack-cost’ 05:49:05 Stashed 1 file(s) [Pipeline] } 05:49:05 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-522-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:49:05 $ docker stop --time=1 ba8dad6548aa649918dd1141e141a76325b0254dda04eaf8c1fcfdd04d27f10e 05:49:06 $ docker rm -f --volumes ba8dad6548aa649918dd1141e141a76325b0254dda04eaf8c1fcfdd04d27f10e [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:49:07 provisioning config files... 05:49:07 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-522@tmp/config3608287079917713558tmp [Pipeline] { [Pipeline] sh 05:49:08 + set +x 05:49:08 + curl -s https://codecov.io/bash 05:49:08 + bash -s -- 05:49:08 05:49:08 _____ _ 05:49:08 / ____| | | 05:49:08 | | ___ __| | ___ ___ _____ __ 05:49:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:49:08 | |___| (_) | (_| | __/ (_| (_) \ V / 05:49:08 \_____\___/ \__,_|\___|\___\___/ \_/ 05:49:08 Bash-1.0.6 05:49:08 05:49:08 05:49:08 ==> git version 2.25.1 found 05:49:08 ==> 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:49:08 Release-Date: 2020-01-08 05:49:08 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:49:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:49:08 ==> Jenkins CI detected. 05:49:08 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-522 05:49:08 project root: . 05:49:08 --> token set from env 05:49:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:49:08 ==> Running gcov in . (disable via -X gcov) 05:49:08 ==> Python coveragepy not found 05:49:08 ==> Searching for coverage reports in: 05:49:08 + . 05:49:08 -> Found 1 reports 05:49:08 ==> Detecting git/mercurial file structure 05:49:08 ==> Reading reports 05:49:08 + ./coverage.out bytes=24334 05:49:08 ==> Appending adjustments 05:49:08 https://docs.codecov.io/docs/fixing-reports 05:49:08 + Found adjustments 05:49:08 ==> Gzipping contents 05:49:08 4.0K /tmp/codecov.IxNiVi.gz 05:49:08 ==> Uploading reports 05:49:08 url: https://codecov.io 05:49:08 query: branch=PR-522&commit=b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-522%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=522&job=&cmd_args= 05:49:08 -> Pinging Codecov 05:49:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-522&commit=b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-522%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=522&job=&cmd_args= 05:49:08 -> Uploading to 05:49:08 https://storage.googleapis.com/codecov/v4/raw/2023-11-08/55DBCA73C666E3227836607328DD7E49/b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a/2f9126d9-928a-49ad-ae3d-a5c755dc30fe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231108T054908Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3964ecb0e61cde66ac2c9bea475454612622049f700529e1005ff287c6901698 05:49:08 % Total % Received % Xferd Average Speed Time Time Time Current 05:49:08 Dload Upload Total Spent Left Speed 05:49:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 14254 --:--:-- --:--:-- --:--:-- 14254 05:49:08 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/b2c2f2c9fd2a20ae38d77f2f632ecbb04cfb690a [Pipeline] } 05:49:08 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:49:10 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-522/archives ] 05:49:10 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-522/archives 05:49:10 total 16 05:49:10 drwxr-xr-x 3 root root 4096 Nov 8 05:42 . 05:49:10 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 05:42 .. 05:49:10 drwxr-xr-x 2 root root 4096 Nov 8 05:42 cost 05:49:10 -rw-r--r-- 1 root root 88 Nov 8 05:42 cost.csv 05:49:10 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-522/archives 05:49:10 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-522/archives 05:49:10 total 16 05:49:10 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 05:42 . 05:49:10 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 05:42 .. 05:49:10 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 05:42 cost 05:49:10 -rw-r--r-- 1 jenkins jenkins 88 Nov 8 05:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:49:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:49:11 ---> package-listing.sh 05:49:11 ++ facter osfamily 05:49:11 ++ tr '[:upper:]' '[:lower:]' 05:49:11 + OS_FAMILY=debian 05:49:11 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-522 05:49:11 + START_PACKAGES=/tmp/packages_start.txt 05:49:11 + END_PACKAGES=/tmp/packages_end.txt 05:49:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:49:11 + PACKAGES=/tmp/packages_start.txt 05:49:11 + '[' /w/workspace/xfoundry_device-modbus-go_PR-522 ']' 05:49:11 + PACKAGES=/tmp/packages_end.txt 05:49:11 + case "${OS_FAMILY}" in 05:49:11 + dpkg -l 05:49:11 + grep '^ii' 05:49:11 + '[' -f /tmp/packages_start.txt ']' 05:49:11 + '[' -f /tmp/packages_end.txt ']' 05:49:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:49:11 + '[' /w/workspace/xfoundry_device-modbus-go_PR-522 ']' 05:49:11 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-522/archives/ 05:49:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-522/archives/ [Pipeline] echo 05:49:11 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-522/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:49:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:49:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:49:13 prd-ubuntu20.04-docker-8c-8g-16992 does not seem to be running inside a container 05:49:13 $ 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-522/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-522 -v /w/workspace/xfoundry_device-modbus-go_PR-522:/w/workspace/xfoundry_device-modbus-go_PR-522:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-522@tmp:/w/workspace/xfoundry_device-modbus-go_PR-522@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:49:13 $ docker top ebdcc62368570b7ae3a86ec9c92342aac3df8a7cb1f0888bf0186113b909fe42 -eo pid,comm [Pipeline] { [Pipeline] sh 05:49:13 + touch /tmp/pre-build-complete [Pipeline] sh 05:49:14 + mkdir -p /var/log/sysstat [Pipeline] sh 05:49:14 + ls /var/log/sa-host 05:49:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:49:14 provisioning config files... 05:49:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-522@tmp/config4153504730156234543tmp [Pipeline] { [Pipeline] echo 05:49:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:49:14 ---> create-netrc.sh [Pipeline] } 05:49:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:49:15 ---> python-tools-install.sh [Pipeline] echo 05:49:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:49:15 ---> sudo-logs.sh 05:49:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:49:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:49:16 ---> job-cost.sh 05:49:16 lf-activate-venv: SKIPPING 05:49:16 DEBUG: total: 0.2199999988079071 05:49:16 INFO: Retrieving Stack Cost... 05:49:16 INFO: Retrieving Pricing Info for: v3-standard-8 05:49:16 INFO: Archiving Costs [Pipeline] echo 05:49:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:49:17 ---> logs-deploy.sh 05:49:17 lf-activate-venv: SKIPPING 05:49:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-522/1 05:49:17 INFO: archiving workspace using pattern(s): 05:49:18 Archives upload complete. 05:49:18 INFO: archiving logs to Nexus