Pull request #514 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 38be6ad44ae00249e75ec6c3ea845f478f0a1763+4cb387cfbbf91fe1a6210dbc029113972bd5a732 (ba3838143be55b2e26f883fbcfb0d83b70e109fb) 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-ssh5761722848515999062.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3745131110978522047.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-514/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-514/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3155530428513349680.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-514/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6126898659076998335.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2689865627675724879.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-514/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-514/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12731896563889796397.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-9917’ Running on prd-ubuntu20.04-docker-8c-8g-9919 in /w/workspace/xfoundry_device-modbus-go_PR-514 [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-514 # 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/514/head:refs/remotes/origin/PR-514 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4cb387cfbbf91fe1a6210dbc029113972bd5a732 into PR head commit 38be6ad44ae00249e75ec6c3ea845f478f0a1763 Merge succeeded, producing 38be6ad44ae00249e75ec6c3ea845f478f0a1763 Checking out Revision 38be6ad44ae00249e75ec6c3ea845f478f0a1763 (PR-514) > git config core.sparsecheckout # timeout=10 > git checkout -f 38be6ad44ae00249e75ec6c3ea845f478f0a1763 # 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 4cb387cfbbf91fe1a6210dbc029113972bd5a732 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 38be6ad44ae00249e75ec6c3ea845f478f0a1763 # timeout=10 Commit message: "feat!: Remove snap packaging" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:28:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:28:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:28:03 ========================================================= 14:28:03 EdgeX Global Pipelines Version Info 14:28:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:28:04 ------------------- 14:28:04 stable info: 14:28:04 ------------------- 14:28:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:28:04 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 14:28:04 Message: update stable to v1.0.254 14:28:05 ------------------- 14:28:05 experimental info: 14:28:05 ------------------- 14:28:05 Commited By: **** collab-it+edgex@linuxfoundation.org 14:28:05 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 14:28:05 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:28:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 14:28:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 14:28:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:28:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:28:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:28:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 14:28:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:28:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:28:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:28:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:28:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:28:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 14:28:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:28:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:28:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:28:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:28:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:28:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:28:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:28:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:28:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:28:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:28:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:28:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:28:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:28:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:28:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:28:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-514 [Pipeline] echo 14:28:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-514 [Pipeline] echo 14:28:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-514 [Pipeline] echo 14:28:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 38be6ad44ae00249e75ec6c3ea845f478f0a1763 [Pipeline] echo 14:28:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 38be6ad [Pipeline] echo 14:28:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:28:06 provisioning config files... 14:28:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-514@tmp/config11753172156908573050tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:28:07 ---> docker-login.sh 14:28:07 nexus3.edgexfoundry.org:10001 14:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:28:08 Configure a credential helper to remove this warning. See 14:28:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:28:08 14:28:08 Login Succeeded 14:28:08 nexus3.edgexfoundry.org:10002 14:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:28:08 Configure a credential helper to remove this warning. See 14:28:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:28:08 14:28:08 Login Succeeded 14:28:08 nexus3.edgexfoundry.org:10003 14:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:28:08 Configure a credential helper to remove this warning. See 14:28:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:28:08 14:28:08 Login Succeeded 14:28:08 nexus3.edgexfoundry.org:10004 14:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:28:08 Configure a credential helper to remove this warning. See 14:28:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:28:08 14:28:08 Login Succeeded 14:28:08 docker.io 14:28:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:28:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:28:09 Configure a credential helper to remove this warning. See 14:28:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:28:09 14:28:09 Login Succeeded 14:28:09 ---> docker-login.sh ends [Pipeline] } 14:28:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:28:09 + git rev-list -1 --merges 38be6ad44ae00249e75ec6c3ea845f478f0a1763~1..38be6ad44ae00249e75ec6c3ea845f478f0a1763 [Pipeline] echo 14:28:10 -----------> git rev-list -1 --merges 38be6ad44ae00249e75ec6c3ea845f478f0a1763~1..38be6ad44ae00249e75ec6c3ea845f478f0a1763 38be6ad44ae00249e75ec6c3ea845f478f0a1763 [false] [Pipeline] sh 14:28:10 + git log --format=format:%s -1 38be6ad44ae00249e75ec6c3ea845f478f0a1763 [Pipeline] echo 14:28:10 ========================================================= 14:28:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:28:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:28:10 + git log --format=format:%s -1 38be6ad44ae00249e75ec6c3ea845f478f0a1763 [Pipeline] echo 14:28:10 [semverPrep] GIT_COMMIT: 38be6ad44ae00249e75ec6c3ea845f478f0a1763, Commit Message: feat!: Remove snap packaging [Pipeline] echo 14:28:10 [semverPrep] This is not a build commit. [Pipeline] sh 14:28:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:28:11 + grep -v github /etc/ssh/ssh_known_hosts 14:28:11 + [ -e /tmp/ssh_known_hosts ] 14:28:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:28:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:28:11 + sudo tee -a /etc/ssh/ssh_known_hosts 14:28:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:28:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:28:11 14:28:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:28:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:28:12 0.1.4: Pulling from edgex-devops/py-git-semver 14:28:12 b85a868b505f: Pulling fs layer 14:28:12 e2be974225ed: Pulling fs layer 14:28:12 339a4e72a1f5: Pulling fs layer 14:28:12 988bab9f4d93: Pulling fs layer 14:28:12 1469e6f7b9e6: Pulling fs layer 14:28:12 eaf3925da568: Pulling fs layer 14:28:12 bab4dde63d76: Pulling fs layer 14:28:12 bde34c3a00c8: Pulling fs layer 14:28:12 b352a97aabf1: Pulling fs layer 14:28:12 4872d77fe225: Pulling fs layer 14:28:12 5851b861e8e6: Pulling fs layer 14:28:12 988bab9f4d93: Waiting 14:28:12 eaf3925da568: Waiting 14:28:12 bab4dde63d76: Waiting 14:28:12 1469e6f7b9e6: Waiting 14:28:12 b352a97aabf1: Waiting 14:28:12 bde34c3a00c8: Waiting 14:28:12 5851b861e8e6: Waiting 14:28:12 e2be974225ed: Verifying Checksum 14:28:12 e2be974225ed: Download complete 14:28:12 988bab9f4d93: Verifying Checksum 14:28:12 988bab9f4d93: Download complete 14:28:12 1469e6f7b9e6: Verifying Checksum 14:28:12 1469e6f7b9e6: Download complete 14:28:12 339a4e72a1f5: Verifying Checksum 14:28:12 339a4e72a1f5: Download complete 14:28:12 eaf3925da568: Verifying Checksum 14:28:12 eaf3925da568: Download complete 14:28:12 bde34c3a00c8: Verifying Checksum 14:28:12 bde34c3a00c8: Download complete 14:28:12 b352a97aabf1: Verifying Checksum 14:28:12 4872d77fe225: Verifying Checksum 14:28:12 4872d77fe225: Download complete 14:28:12 5851b861e8e6: Download complete 14:28:12 b85a868b505f: Download complete 14:28:12 bab4dde63d76: Verifying Checksum 14:28:12 bab4dde63d76: Download complete 14:28:13 b85a868b505f: Pull complete 14:28:13 e2be974225ed: Pull complete 14:28:14 339a4e72a1f5: Pull complete 14:28:14 988bab9f4d93: Pull complete 14:28:14 1469e6f7b9e6: Pull complete 14:28:14 eaf3925da568: Pull complete 14:28:16 bab4dde63d76: Pull complete 14:28:16 bde34c3a00c8: Pull complete 14:28:16 b352a97aabf1: Pull complete 14:28:16 4872d77fe225: Pull complete 14:28:16 5851b861e8e6: Pull complete 14:28:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:28:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:28:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:28:17 prd-ubuntu20.04-docker-8c-8g-9919 does not seem to be running inside a container 14:28:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-514 -v /w/workspace/xfoundry_device-modbus-go_PR-514:/w/workspace/xfoundry_device-modbus-go_PR-514:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-514@tmp:/w/workspace/xfoundry_device-modbus-go_PR-514@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:28:20 $ docker top c9b0389f6924f8d7257bbc295a7c792bb02ac96450562af02fb3c885c30fa003 -eo pid,comm 14:28:20 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). 14:28:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:28:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:28:20 [ssh-agent] Looking for ssh-agent implementation... 14:28:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:28:20 $ docker exec c9b0389f6924f8d7257bbc295a7c792bb02ac96450562af02fb3c885c30fa003 ssh-agent 14:28:20 SSH_AUTH_SOCK=/tmp/ssh-So4dKRWHlTPO/agent.32 14:28:20 SSH_AGENT_PID=38 14:28:20 Running ssh-add (command line suppressed) 14:28:20 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-514@tmp/private_key_12484859194051215984.key (/w/workspace/xfoundry_device-modbus-go_PR-514@tmp/private_key_12484859194051215984.key) 14:28:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:28:21 + git tag --points-at HEAD [Pipeline] } 14:28:21 $ docker exec --env ******** --env ******** c9b0389f6924f8d7257bbc295a7c792bb02ac96450562af02fb3c885c30fa003 ssh-agent -k 14:28:21 unset SSH_AUTH_SOCK; 14:28:21 unset SSH_AGENT_PID; 14:28:21 echo Agent pid 38 killed; 14:28:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:28:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:28:21 [ssh-agent] Looking for ssh-agent implementation... 14:28:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:28:21 $ docker exec c9b0389f6924f8d7257bbc295a7c792bb02ac96450562af02fb3c885c30fa003 ssh-agent 14:28:21 SSH_AUTH_SOCK=/tmp/ssh-z1BpWgEgQOT3/agent.70 14:28:21 SSH_AGENT_PID=76 14:28:21 Running ssh-add (command line suppressed) 14:28:21 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-514@tmp/private_key_14304892603715519300.key (/w/workspace/xfoundry_device-modbus-go_PR-514@tmp/private_key_14304892603715519300.key) 14:28:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:28:22 + git semver init 14:28:22 2023-10-24 14:28:22,383 [run_init] DEBUG init version:0.0.0 force:False 14:28:22 2023-10-24 14:28:22,383 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-514/.semver 14:28:22 2023-10-24 14:28:22,384 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-514/.semver 14:28:22 2023-10-24 14:28:22,384 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-514/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-514, universal_newlines=False, shell=None, istream=None) 14:28:23 2023-10-24 14:28:23,282 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-514/.git/info/exclude 14:28:23 2023-10-24 14:28:23,282 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-514/.semver/PR-514 with force:False 14:28:23 2023-10-24 14:28:23,282 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-514/.semver/PR-514 14:28:23 2023-10-24 14:28:23,287 [execute] INFO git cat-file --batch-check 14:28:23 2023-10-24 14:28:23,287 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-514/.semver, universal_newlines=False, shell=None, istream=) 14:28:23 2023-10-24 14:28:23,294 [execute] INFO git cat-file --batch 14:28:23 2023-10-24 14:28:23,294 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-514/.semver, universal_newlines=False, shell=None, istream=) 14:28:23 2023-10-24 14:28:23,300 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-514/.semver/PR-514 14:28:23 0.0.0 [Pipeline] } 14:28:23 $ docker exec --env ******** --env ******** c9b0389f6924f8d7257bbc295a7c792bb02ac96450562af02fb3c885c30fa003 ssh-agent -k 14:28:23 unset SSH_AUTH_SOCK; 14:28:23 unset SSH_AGENT_PID; 14:28:23 echo Agent pid 76 killed; 14:28:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:28:23 + git semver [Pipeline] } 14:28:24 $ docker stop --time=1 c9b0389f6924f8d7257bbc295a7c792bb02ac96450562af02fb3c885c30fa003 14:28:25 $ docker rm -f --volumes c9b0389f6924f8d7257bbc295a7c792bb02ac96450562af02fb3c885c30fa003 [Pipeline] // withDockerContainer [Pipeline] sh 14:28:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:28:26 Stashed 1 file(s) [Pipeline] echo 14:28:26 [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 14:28:26 provisioning config files... 14:28:26 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-514@tmp/config2871440085948835665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:28:27 ---> docker-login.sh 14:28:27 nexus3.edgexfoundry.org:10001 14:28:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:28:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:28:27 Configure a credential helper to remove this warning. See 14:28:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:28:27 14:28:27 Login Succeeded 14:28:27 nexus3.edgexfoundry.org:10002 14:28:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:28:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:28:27 Configure a credential helper to remove this warning. See 14:28:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:28:27 14:28:27 Login Succeeded 14:28:27 nexus3.edgexfoundry.org:10003 14:28:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:28:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:28:27 Configure a credential helper to remove this warning. See 14:28:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:28:27 14:28:27 Login Succeeded 14:28:27 nexus3.edgexfoundry.org:10004 14:28:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:28:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:28:27 Configure a credential helper to remove this warning. See 14:28:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:28:27 14:28:27 Login Succeeded 14:28:27 docker.io 14:28:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:28:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:28:27 Configure a credential helper to remove this warning. See 14:28:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:28:27 14:28:27 Login Succeeded 14:28:27 ---> docker-login.sh ends [Pipeline] } 14:28:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:28:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:28:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:28:28 ========================================================= 14:28:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 14:28:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:28:28 + 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 . 14:28:28 Sending build context to Docker daemon 6.508MB 14:28:28 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 14:28:28 Step 2/10 : FROM ${BASE} AS builder 14:28:28 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 14:28:28 7264a8db6415: Pulling fs layer 14:28:28 c4d48a809fc2: Pulling fs layer 14:28:28 4f1c88b9dad5: Pulling fs layer 14:28:28 ad3a456e5733: Pulling fs layer 14:28:28 33e27b845d1e: Pulling fs layer 14:28:28 c68163c4e522: Pulling fs layer 14:28:28 50da416c3ac9: Pulling fs layer 14:28:28 23d2d4c4bb30: Pulling fs layer 14:28:28 33e27b845d1e: Waiting 14:28:28 c68163c4e522: Waiting 14:28:28 50da416c3ac9: Waiting 14:28:28 23d2d4c4bb30: Waiting 14:28:28 ad3a456e5733: Waiting 14:28:28 c4d48a809fc2: Download complete 14:28:28 ad3a456e5733: Download complete 14:28:28 33e27b845d1e: Download complete 14:28:28 7264a8db6415: Verifying Checksum 14:28:28 7264a8db6415: Download complete 14:28:28 c68163c4e522: Verifying Checksum 14:28:28 c68163c4e522: Download complete 14:28:28 7264a8db6415: Pull complete 14:28:29 23d2d4c4bb30: Verifying Checksum 14:28:29 23d2d4c4bb30: Download complete 14:28:29 c4d48a809fc2: Pull complete 14:28:29 4f1c88b9dad5: Verifying Checksum 14:28:29 4f1c88b9dad5: Download complete 14:28:29 50da416c3ac9: Verifying Checksum 14:28:29 50da416c3ac9: Download complete 14:28:33 4f1c88b9dad5: Pull complete 14:28:33 ad3a456e5733: Pull complete 14:28:33 33e27b845d1e: Pull complete 14:28:33 c68163c4e522: Pull complete 14:28:35 50da416c3ac9: Pull complete 14:28:35 23d2d4c4bb30: Pull complete 14:28:35 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 14:28:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 14:28:35 ---> 0786185ac409 14:28:35 Step 3/10 : ARG ADD_BUILD_TAGS="" 14:28:41 ---> Running in 5f688bf54a11 14:28:41 Removing intermediate container 5f688bf54a11 14:28:41 ---> 88e610c44a80 14:28:41 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:28:41 ---> Running in e524a3503bb7 14:28:41 Removing intermediate container e524a3503bb7 14:28:41 ---> c1c560f71513 14:28:41 Step 5/10 : RUN apk add --update --no-cache make git openssh 14:28:41 ---> Running in 77d8db6766ec 14:28:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:28:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:28:41 Still waiting to schedule task 14:28:41 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9918’ 14:28:41 (1/8) Installing openssh-keygen (9.3_p2-r0) 14:28:41 (2/8) Installing libedit (20221030.3.1-r1) 14:28:41 (3/8) Installing openssh-client-common (9.3_p2-r0) 14:28:41 (4/8) Installing openssh-client-default (9.3_p2-r0) 14:28:41 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 14:28:41 (6/8) Installing openssh-server-common (9.3_p2-r0) 14:28:41 (7/8) Installing openssh-server (9.3_p2-r0) 14:28:41 (8/8) Installing openssh (9.3_p2-r0) 14:28:41 Executing busybox-1.36.1-r2.trigger 14:28:41 OK: 270 MiB in 60 packages 14:28:42 Removing intermediate container 77d8db6766ec 14:28:42 ---> a65d24825c9f 14:28:42 Step 6/10 : WORKDIR /device-modbus-go 14:28:42 ---> Running in a88df7b7d1bc 14:28:42 Removing intermediate container a88df7b7d1bc 14:28:42 ---> 2aac55a513cc 14:28:42 Step 7/10 : COPY go.mod vendor* ./ 14:28:42 ---> d1d0b5e25114 14:28:42 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:28:42 ---> Running in c92cd699ac4c 14:29:38 Removing intermediate container c92cd699ac4c 14:29:38 ---> cc819cf65fac 14:29:38 Step 9/10 : COPY . . 14:29:38 ---> 8b2a7ce18415 14:29:38 Step 10/10 : RUN ${MAKE} 14:29:38 ---> Running in 0fbfa8aeef55 14:29:38 noop 14:29:38 Removing intermediate container 0fbfa8aeef55 14:29:38 ---> 3bff68db1633 14:29:38 Successfully built 3bff68db1633 14:29:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:29:39 + docker inspect -f . ci-base-image-x86_64 14:29:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:29:39 prd-ubuntu20.04-docker-8c-8g-9919 does not seem to be running inside a container 14:29:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-514 -v /w/workspace/xfoundry_device-modbus-go_PR-514:/w/workspace/xfoundry_device-modbus-go_PR-514:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-514@tmp:/w/workspace/xfoundry_device-modbus-go_PR-514@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:29:39 $ docker top 9fa688d07d29f8d0e679a1ab5e8ec333bca29368c9851fd05a2bbc818aed5346 -eo pid,comm [Pipeline] { [Pipeline] sh 14:29:40 + go version 14:29:40 go version go1.21.0 linux/amd64 [Pipeline] } 14:29:40 $ docker stop --time=1 9fa688d07d29f8d0e679a1ab5e8ec333bca29368c9851fd05a2bbc818aed5346 14:29:41 $ docker rm -f --volumes 9fa688d07d29f8d0e679a1ab5e8ec333bca29368c9851fd05a2bbc818aed5346 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:29:42 + docker inspect -f . ci-base-image-x86_64 14:29:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:29:42 prd-ubuntu20.04-docker-8c-8g-9919 does not seem to be running inside a container 14:29:42 $ 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-514 -v /w/workspace/xfoundry_device-modbus-go_PR-514:/w/workspace/xfoundry_device-modbus-go_PR-514:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-514@tmp:/w/workspace/xfoundry_device-modbus-go_PR-514@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:29:42 $ docker top ce625aa0aced2a649df8f75009d6d3c31417d29eb182af85af65688c83decf45 -eo pid,comm [Pipeline] { [Pipeline] sh 14:29:43 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-514 [Pipeline] fileExists [Pipeline] sh 14:29:43 + make test 14:29:43 go test ./... -coverprofile=coverage.out 14:29:44 ? github.com/edgexfoundry/device-modbus-go [no test files] 14:29:54 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 14:29:54 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 47.9% of statements 14:30:02 go vet ./... 14:30:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:30:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:30:05 ./bin/test-attribution-txt.sh [Pipeline] echo 14:30:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:30:05 $ docker stop --time=1 ce625aa0aced2a649df8f75009d6d3c31417d29eb182af85af65688c83decf45 14:30:08 $ docker rm -f --volumes ce625aa0aced2a649df8f75009d6d3c31417d29eb182af85af65688c83decf45 [Pipeline] // withDockerContainer [Pipeline] sh 14:30:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:30:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:30:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:30:10 + ls -al . 14:30:10 total 188 14:30:10 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 14:29 . 14:30:10 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 14:27 .. 14:30:10 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 14:27 .dockerignore 14:30:10 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 14:29 .git 14:30:10 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 14:27 .github 14:30:10 -rw-rw-r-- 1 jenkins jenkins 266 Oct 24 14:27 .gitignore 14:30:10 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 14:27 .golangci.yml 14:30:10 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 14:28 .semver 14:30:10 -rw-rw-r-- 1 jenkins jenkins 11101 Oct 24 14:27 Attribution.txt 14:30:10 -rw-rw-r-- 1 jenkins jenkins 14764 Oct 24 14:27 CHANGELOG.md 14:30:10 -rw-rw-r-- 1 jenkins jenkins 1365 Oct 24 14:27 Dockerfile 14:30:10 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 14:27 GOVERNANCE.md 14:30:10 -rw-rw-r-- 1 jenkins jenkins 658 Oct 24 14:27 Jenkinsfile 14:30:10 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 14:27 LICENSE 14:30:10 -rw-rw-r-- 1 jenkins jenkins 1936 Oct 24 14:27 Makefile 14:30:10 -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 14:27 OWNERS.md 14:30:10 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 24 14:27 README.md 14:30:10 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 14:28 VERSION 14:30:10 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 14:27 bin 14:30:10 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 14:27 cmd 14:30:10 -rw-r--r-- 1 jenkins jenkins 24334 Oct 24 14:29 coverage.out 14:30:10 -rw-rw-r-- 1 jenkins jenkins 3942 Oct 24 14:27 go.mod 14:30:10 -rw-rw-r-- 1 jenkins jenkins 35436 Oct 24 14:27 go.sum 14:30:10 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 14:27 internal 14:30:10 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 14:27 simulator 14:30:10 -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 14:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:30:10 + 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=38be6ad44ae00249e75ec6c3ea845f478f0a1763 --label arch=amd64 --label version=0.0.0 . 14:30:10 Sending build context to Docker daemon 6.533MB 14:30:10 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 14:30:10 Step 2/22 : FROM ${BASE} AS builder 14:30:10 ---> 3bff68db1633 14:30:10 Step 3/22 : ARG ADD_BUILD_TAGS="" 14:30:10 ---> Running in 450833b210b7 14:30:11 Removing intermediate container 450833b210b7 14:30:11 ---> 9436b88bb743 14:30:11 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:30:11 ---> Running in d4da03a6a22c 14:30:11 Removing intermediate container d4da03a6a22c 14:30:11 ---> 78005856fadd 14:30:11 Step 5/22 : RUN apk add --update --no-cache make git openssh 14:30:11 ---> Running in 5f025b289d33 14:30:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:30:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:30:11 OK: 270 MiB in 60 packages 14:30:12 Removing intermediate container 5f025b289d33 14:30:12 ---> 75585900c5e1 14:30:12 Step 6/22 : WORKDIR /device-modbus-go 14:30:12 ---> Running in baa4fe926af3 14:30:12 Removing intermediate container baa4fe926af3 14:30:12 ---> 4f22abb21b40 14:30:12 Step 7/22 : COPY go.mod vendor* ./ 14:30:12 ---> a23e5712f17a 14:30:12 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:30:12 ---> Running in f1d4722dc74c 14:30:12 Removing intermediate container f1d4722dc74c 14:30:12 ---> cc895ed05b13 14:30:12 Step 9/22 : COPY . . 14:30:13 ---> 073af05f2467 14:30:13 Step 10/22 : RUN ${MAKE} 14:30:13 ---> Running in daab8c624396 14:30:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 14:30:35 Removing intermediate container daab8c624396 14:30:35 ---> b030ccefb49a 14:30:35 Step 11/22 : FROM alpine:3.18 14:30:35 3.18: Pulling from library/alpine 14:30:35 96526aa774ef: Pulling fs layer 14:30:35 96526aa774ef: Verifying Checksum 14:30:35 96526aa774ef: Download complete 14:30:35 96526aa774ef: Pull complete 14:30:35 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 14:30:35 Status: Downloaded newer image for alpine:3.18 14:30:35 ---> 8ca4688f4f35 14:30:35 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 14:30:35 ---> Running in e271c64ae2c7 14:30:35 Removing intermediate container e271c64ae2c7 14:30:35 ---> 98b085c31c2f 14:30:35 Step 13/22 : RUN apk add --update --no-cache dumb-init 14:30:35 ---> Running in e48146cf773c 14:30:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:30:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:30:35 (1/1) Installing dumb-init (1.2.5-r2) 14:30:35 Executing busybox-1.36.1-r2.trigger 14:30:35 OK: 7 MiB in 16 packages 14:30:35 Removing intermediate container e48146cf773c 14:30:35 ---> b9bd6f474a8c 14:30:35 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 14:30:36 ---> 6fc9bc0e4eee 14:30:36 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 14:30:36 ---> 843375d57859 14:30:36 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 14:30:36 ---> 45f8074db593 14:30:36 Step 17/22 : EXPOSE 59901 14:30:36 ---> Running in 5f2e5417f619 14:30:36 Removing intermediate container 5f2e5417f619 14:30:36 ---> 4fff262a8688 14:30:36 Step 18/22 : ENTRYPOINT ["/device-modbus"] 14:30:36 ---> Running in 8d0f7f1fb8da 14:30:36 Removing intermediate container 8d0f7f1fb8da 14:30:36 ---> 46b02d4ceba2 14:30:36 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 14:30:36 ---> Running in ece7b7ce0270 14:30:36 Removing intermediate container ece7b7ce0270 14:30:36 ---> 4420a7a849f5 14:30:36 Step 20/22 : LABEL arch=amd64 14:30:36 ---> Running in 4e0dc798ebad 14:30:36 Removing intermediate container 4e0dc798ebad 14:30:36 ---> 9c2f747613e4 14:30:36 Step 21/22 : LABEL git_sha=38be6ad44ae00249e75ec6c3ea845f478f0a1763 14:30:36 ---> Running in dd9f87046af8 14:30:36 Removing intermediate container dd9f87046af8 14:30:36 ---> 31f33c505ba6 14:30:36 Step 22/22 : LABEL version=0.0.0 14:30:36 ---> Running in 76ce5effd3b1 14:30:36 Removing intermediate container 76ce5effd3b1 14:30:36 ---> 81d78c4f0c28 14:30:36 [Warning] One or more build-args [ARCH] were not consumed 14:30:36 Successfully built 81d78c4f0c28 14:30:36 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 14:30:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:30:37 14:30:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:30:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:30:38 latest: Pulling from edgex-lftools-log-publisher 14:30:38 5eb5b503b376: Pulling fs layer 14:30:38 5c69ac0246d0: Pulling fs layer 14:30:38 ec43610c2a17: Pulling fs layer 14:30:38 3a2ae6a8a46f: Pulling fs layer 14:30:38 33b1e0a273af: Pulling fs layer 14:30:38 5d3b04190fa2: Pulling fs layer 14:30:38 2f39f015ded8: Pulling fs layer 14:30:38 3a2ae6a8a46f: Waiting 14:30:38 33b1e0a273af: Waiting 14:30:38 5d3b04190fa2: Waiting 14:30:38 2f39f015ded8: Waiting 14:30:38 5c69ac0246d0: Download complete 14:30:38 3a2ae6a8a46f: Verifying Checksum 14:30:38 3a2ae6a8a46f: Download complete 14:30:38 33b1e0a273af: Verifying Checksum 14:30:38 33b1e0a273af: Download complete 14:30:38 ec43610c2a17: Verifying Checksum 14:30:38 ec43610c2a17: Download complete 14:30:38 5d3b04190fa2: Download complete 14:30:38 5eb5b503b376: Verifying Checksum 14:30:38 5eb5b503b376: Download complete 14:30:38 2f39f015ded8: Download complete 14:30:39 5eb5b503b376: Pull complete 14:30:39 5c69ac0246d0: Pull complete 14:30:40 ec43610c2a17: Pull complete 14:30:40 3a2ae6a8a46f: Pull complete 14:30:40 33b1e0a273af: Pull complete 14:30:40 5d3b04190fa2: Pull complete 14:30:44 2f39f015ded8: Pull complete 14:30:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:30:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:30:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:30:44 prd-ubuntu20.04-docker-8c-8g-9919 does not seem to be running inside a container 14:30:45 $ 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-514 -v /w/workspace/xfoundry_device-modbus-go_PR-514:/w/workspace/xfoundry_device-modbus-go_PR-514:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-514@tmp:/w/workspace/xfoundry_device-modbus-go_PR-514@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:30:50 $ docker top 08250ed432064800b1cfa62ba3445ae42760d3512282bd616373733e082a7d13 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:30:50 ---> job-cost.sh 14:30:50 lf-activate-venv: SKIPPING 14:30:50 INFO: No Stack... 14:30:51 INFO: Retrieving Pricing Info for: v3-standard-8 14:30:51 INFO: Archiving Costs [Pipeline] sh 14:30:51 + cat /w/workspace/xfoundry_device-modbus-go_PR-514/archives/cost.csv 14:30:51 + cut -d, -f6 [Pipeline] lock 14:30:51 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-514-1-stack-cost] 14:30:51 Resource [jenkins-edgexfoundry-device-modbus-go-PR-514-1-stack-cost] did not exist. Created. 14:30:51 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-514-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:30:52 + echo total: 0.2199999988079071 [Pipeline] stash 14:30:52 Stashed 1 file(s) [Pipeline] } 14:30:52 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-514-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:30:52 $ docker stop --time=1 08250ed432064800b1cfa62ba3445ae42760d3512282bd616373733e082a7d13 14:30:53 $ docker rm -f --volumes 08250ed432064800b1cfa62ba3445ae42760d3512282bd616373733e082a7d13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:31:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9920 in /w/workspace/xfoundry_device-modbus-go_PR-514 [Pipeline] { [Pipeline] ws 14:31:46 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 14:31:46 Selected Git installation does not exist. Using Default 14:31:46 The recommended git tool is: NONE 14:31:51 using credential edgex-jenkins-ssh 14:31:51 Cloning the remote Git repository 14:31:51 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 14:31:51 > git init /w/workspace/device-modbus-go/1 # timeout=10 14:31:51 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 14:31:52 > git --version # timeout=10 14:31:52 > git --version # 'git version 2.25.1' 14:31:52 using GIT_SSH to set credentials SSH Credentials for GitHub 14:31:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:31:55 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 14:31:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:31:56 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 14:31:56 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 14:31:56 using GIT_SSH to set credentials SSH Credentials for GitHub 14:31:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/514/head:refs/remotes/origin/PR-514 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:31:56 Merging remotes/origin/main commit 4cb387cfbbf91fe1a6210dbc029113972bd5a732 into PR head commit 38be6ad44ae00249e75ec6c3ea845f478f0a1763 14:31:57 Merge succeeded, producing 38be6ad44ae00249e75ec6c3ea845f478f0a1763 14:31:57 Checking out Revision 38be6ad44ae00249e75ec6c3ea845f478f0a1763 (PR-514) 14:31:56 > git config core.sparsecheckout # timeout=10 14:31:56 > git checkout -f 38be6ad44ae00249e75ec6c3ea845f478f0a1763 # timeout=10 14:31:56 > git remote # timeout=10 14:31:57 > git config --get remote.origin.url # timeout=10 14:31:57 using GIT_SSH to set credentials SSH Credentials for GitHub 14:31:57 > git merge 4cb387cfbbf91fe1a6210dbc029113972bd5a732 # timeout=10 14:31:57 > git rev-parse HEAD^{commit} # timeout=10 14:31:57 > git config core.sparsecheckout # timeout=10 14:31:57 > git checkout -f 38be6ad44ae00249e75ec6c3ea845f478f0a1763 # timeout=10 14:32:00 Commit message: "feat!: Remove snap packaging" 14:32:00 > git --version # timeout=10 14:32:00 > git --version # 'git version 2.25.1' 14:32:00 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:32:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:32:02 % Total % Received % Xferd Average Speed Time Time Time Current 14:32:02 Dload Upload Total Spent Left Speed 14:32:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 14:32:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:32:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:32:03 + sudo tee /etc/docker/daemon.new 14:32:03 { 14:32:03 "registry-mirrors": [ 14:32:03 "https://nexus3.edgexfoundry.org:10001" 14:32:03 ], 14:32:03 "bip": "10.250.0.254/24", 14:32:03 "hosts": [ 14:32:03 "tcp://0.0.0.0:5555", 14:32:03 "unix:///var/run/docker.sock" 14:32:03 ], 14:32:03 "mtu": 1458, 14:32:03 "selinux-enabled": true, 14:32:03 "seccomp-profile": "/etc/docker/seccomp.json" 14:32:03 } [Pipeline] sh 14:32:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:32:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:32:26 provisioning config files... 14:32:26 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config4792721891318640068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:32:26 ---> docker-login.sh 14:32:26 nexus3.edgexfoundry.org:10001 14:32:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:32:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:32:27 Configure a credential helper to remove this warning. See 14:32:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:32:27 14:32:27 Login Succeeded 14:32:27 nexus3.edgexfoundry.org:10002 14:32:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:32:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:32:27 Configure a credential helper to remove this warning. See 14:32:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:32:27 14:32:27 Login Succeeded 14:32:27 nexus3.edgexfoundry.org:10003 14:32:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:32:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:32:27 Configure a credential helper to remove this warning. See 14:32:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:32:27 14:32:27 Login Succeeded 14:32:27 nexus3.edgexfoundry.org:10004 14:32:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:32:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:32:28 Configure a credential helper to remove this warning. See 14:32:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:32:28 14:32:28 Login Succeeded 14:32:28 docker.io 14:32:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:32:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:32:29 Configure a credential helper to remove this warning. See 14:32:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:32:29 14:32:29 Login Succeeded 14:32:29 ---> docker-login.sh ends [Pipeline] } 14:32:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:32:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:32:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:32:29 ========================================================= 14:32:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 14:32:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:32:30 + 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 . 14:32:30 Sending build context to Docker daemon 3.373MB 14:32:30 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 14:32:30 Step 2/10 : FROM ${BASE} AS builder 14:32:30 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:32:30 9fda8d8052c6: Pulling fs layer 14:32:30 5d54e960e981: Pulling fs layer 14:32:30 c4a7e357bf2a: Pulling fs layer 14:32:30 f0e02332f6b5: Pulling fs layer 14:32:30 cefa15bbcfad: Pulling fs layer 14:32:30 17808c966233: Pulling fs layer 14:32:30 f4c1fc716caa: Pulling fs layer 14:32:30 f0e02332f6b5: Waiting 14:32:30 cefa15bbcfad: Waiting 14:32:30 17808c966233: Waiting 14:32:30 f4c1fc716caa: Waiting 14:32:30 5d54e960e981: Verifying Checksum 14:32:30 5d54e960e981: Download complete 14:32:30 f0e02332f6b5: Verifying Checksum 14:32:30 f0e02332f6b5: Download complete 14:32:30 cefa15bbcfad: Verifying Checksum 14:32:30 9fda8d8052c6: Download complete 14:32:31 f4c1fc716caa: Verifying Checksum 14:32:31 f4c1fc716caa: Download complete 14:32:31 9fda8d8052c6: Pull complete 14:32:32 c4a7e357bf2a: Verifying Checksum 14:32:32 c4a7e357bf2a: Download complete 14:32:33 17808c966233: Download complete 14:32:34 5d54e960e981: Pull complete 14:32:49 c4a7e357bf2a: Pull complete 14:32:50 f0e02332f6b5: Pull complete 14:32:50 cefa15bbcfad: Pull complete 14:32:58 17808c966233: Pull complete 14:32:59 f4c1fc716caa: Pull complete 14:32:59 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 14:32:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 14:32:59 ---> ea914061e18c 14:32:59 Step 3/10 : ARG ADD_BUILD_TAGS="" 14:33:00 ---> Running in 97a2b4388d1a 14:33:00 Removing intermediate container 97a2b4388d1a 14:33:00 ---> 75cde7f4a513 14:33:00 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:33:00 ---> Running in eac66b2ffa67 14:33:01 Removing intermediate container eac66b2ffa67 14:33:01 ---> de04ffb892c3 14:33:01 Step 5/10 : RUN apk add --update --no-cache make git openssh 14:33:01 ---> Running in c8b0f3ce8262 14:33:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:33:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:33:04 (1/8) Installing openssh-keygen (9.3_p2-r0) 14:33:04 (2/8) Installing libedit (20221030.3.1-r1) 14:33:04 (3/8) Installing openssh-client-common (9.3_p2-r0) 14:33:04 (4/8) Installing openssh-client-default (9.3_p2-r0) 14:33:04 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 14:33:04 (6/8) Installing openssh-server-common (9.3_p2-r0) 14:33:04 (7/8) Installing openssh-server (9.3_p2-r0) 14:33:04 (8/8) Installing openssh (9.3_p2-r0) 14:33:04 Executing busybox-1.36.1-r2.trigger 14:33:04 OK: 272 MiB in 60 packages 14:33:05 Removing intermediate container c8b0f3ce8262 14:33:05 ---> d67cdb02449c 14:33:05 Step 6/10 : WORKDIR /device-modbus-go 14:33:05 ---> Running in 6d4ee416702e 14:33:05 Removing intermediate container 6d4ee416702e 14:33:05 ---> 5950c7995eaf 14:33:05 Step 7/10 : COPY go.mod vendor* ./ 14:33:06 ---> 474bebe805a8 14:33:06 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:33:06 ---> Running in 8748fb15c12e 14:34:43 Removing intermediate container 8748fb15c12e 14:34:43 ---> a6a423036794 14:34:43 Step 9/10 : COPY . . 14:34:43 ---> bbc1755877c5 14:34:43 Step 10/10 : RUN ${MAKE} 14:34:43 ---> Running in 4f018e8d5b42 14:34:43 noop 14:34:43 Removing intermediate container 4f018e8d5b42 14:34:43 ---> 316a6eb8cd48 14:34:43 Successfully built 316a6eb8cd48 14:34:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:34:43 + docker inspect -f . ci-base-image-arm64 14:34:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:34:43 prd-ubuntu20.04-docker-arm64-4c-16g-9920 does not seem to be running inside a container 14:34:44 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:34:45 $ docker top ac0f6b25e997487e048884eb5d661ffa9933550e80e5c4980799e5fb826a0137 -eo pid,comm [Pipeline] { [Pipeline] sh 14:34:46 + go version 14:34:46 go version go1.21.0 linux/arm64 [Pipeline] } 14:34:46 $ docker stop --time=1 ac0f6b25e997487e048884eb5d661ffa9933550e80e5c4980799e5fb826a0137 14:34:50 $ docker rm -f --volumes ac0f6b25e997487e048884eb5d661ffa9933550e80e5c4980799e5fb826a0137 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:34:51 + docker inspect -f . ci-base-image-arm64 14:34:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:34:51 prd-ubuntu20.04-docker-arm64-4c-16g-9920 does not seem to be running inside a container 14:34:51 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:34:53 $ docker top 592cac6ccda8e21a99e2f632f87c2cd57994c4159a290724bd99511f7e074a55 -eo pid,comm [Pipeline] { [Pipeline] sh 14:34:54 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 14:34:54 + make test 14:34:54 go test ./... -coverprofile=coverage.out 14:34:59 ? github.com/edgexfoundry/device-modbus-go [no test files] 14:36:51 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 14:36:51 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.096s coverage: 47.9% of statements 14:36:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:36:51 go vet ./... 14:37:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:37:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:37:09 ./bin/test-attribution-txt.sh [Pipeline] echo 14:37:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:37:10 $ docker stop --time=1 592cac6ccda8e21a99e2f632f87c2cd57994c4159a290724bd99511f7e074a55 14:37:11 $ docker rm -f --volumes 592cac6ccda8e21a99e2f632f87c2cd57994c4159a290724bd99511f7e074a55 [Pipeline] // withDockerContainer [Pipeline] sh 14:37:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:37:13 Warning: overwriting stash ‘coverage-report’ 14:37:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:37:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:37:14 + ls -al . 14:37:14 total 184 14:37:14 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 14:34 . 14:37:14 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 14:31 .. 14:37:14 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 14:31 .dockerignore 14:37:14 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 14:31 .git 14:37:14 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 14:31 .github 14:37:14 -rw-rw-r-- 1 jenkins jenkins 266 Oct 24 14:31 .gitignore 14:37:14 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 14:31 .golangci.yml 14:37:14 -rw-rw-r-- 1 jenkins jenkins 11101 Oct 24 14:31 Attribution.txt 14:37:14 -rw-rw-r-- 1 jenkins jenkins 14764 Oct 24 14:31 CHANGELOG.md 14:37:14 -rw-rw-r-- 1 jenkins jenkins 1365 Oct 24 14:31 Dockerfile 14:37:14 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 14:31 GOVERNANCE.md 14:37:14 -rw-rw-r-- 1 jenkins jenkins 658 Oct 24 14:31 Jenkinsfile 14:37:14 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 14:31 LICENSE 14:37:14 -rw-rw-r-- 1 jenkins jenkins 1936 Oct 24 14:31 Makefile 14:37:14 -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 14:31 OWNERS.md 14:37:14 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 24 14:31 README.md 14:37:14 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 14:28 VERSION 14:37:14 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 14:31 bin 14:37:14 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 14:31 cmd 14:37:14 -rw-r--r-- 1 jenkins jenkins 24334 Oct 24 14:36 coverage.out 14:37:14 -rw-rw-r-- 1 jenkins jenkins 3942 Oct 24 14:31 go.mod 14:37:14 -rw-rw-r-- 1 jenkins jenkins 35436 Oct 24 14:31 go.sum 14:37:14 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 14:31 internal 14:37:14 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 14:31 simulator 14:37:14 -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 14:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:37:14 + 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=38be6ad44ae00249e75ec6c3ea845f478f0a1763 --label arch=arm64 --label version=0.0.0 . 14:37:15 Sending build context to Docker daemon 3.398MB 14:37:15 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 14:37:15 Step 2/22 : FROM ${BASE} AS builder 14:37:15 ---> 316a6eb8cd48 14:37:15 Step 3/22 : ARG ADD_BUILD_TAGS="" 14:37:17 ---> Running in be37a6a4b097 14:37:17 Removing intermediate container be37a6a4b097 14:37:17 ---> 3f071a47d211 14:37:17 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:37:17 ---> Running in d1056e11f900 14:37:17 Removing intermediate container d1056e11f900 14:37:17 ---> b65654f79d4b 14:37:17 Step 5/22 : RUN apk add --update --no-cache make git openssh 14:37:17 ---> Running in 41c8564c83e5 14:37:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:37:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:37:20 OK: 272 MiB in 60 packages 14:37:21 Removing intermediate container 41c8564c83e5 14:37:21 ---> ea7cc60da2df 14:37:21 Step 6/22 : WORKDIR /device-modbus-go 14:37:21 ---> Running in 9f3c6504da6c 14:37:21 Removing intermediate container 9f3c6504da6c 14:37:21 ---> 0b54d41fa2b6 14:37:21 Step 7/22 : COPY go.mod vendor* ./ 14:37:22 ---> a15478b5fcfc 14:37:22 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:37:22 ---> Running in b117db8df7c9 14:37:24 Removing intermediate container b117db8df7c9 14:37:24 ---> f71a896fdb95 14:37:24 Step 9/22 : COPY . . 14:37:25 ---> 3a35e8c2ffae 14:37:25 Step 10/22 : RUN ${MAKE} 14:37:25 ---> Running in cfe7673d924d 14:37:26 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 14:39:18 Removing intermediate container cfe7673d924d 14:39:18 ---> 0d28b32ee6ef 14:39:18 Step 11/22 : FROM alpine:3.18 14:39:18 3.18: Pulling from library/alpine 14:39:18 579b34f0a95b: Pulling fs layer 14:39:18 579b34f0a95b: Verifying Checksum 14:39:18 579b34f0a95b: Download complete 14:39:18 579b34f0a95b: Pull complete 14:39:18 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 14:39:18 Status: Downloaded newer image for alpine:3.18 14:39:18 ---> 3cc203321400 14:39:18 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 14:39:18 ---> Running in ec37431abe5a 14:39:18 Removing intermediate container ec37431abe5a 14:39:18 ---> 2e82c1e798ff 14:39:18 Step 13/22 : RUN apk add --update --no-cache dumb-init 14:39:18 ---> Running in 30dff21fdb21 14:39:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:39:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:39:18 (1/1) Installing dumb-init (1.2.5-r2) 14:39:18 Executing busybox-1.36.1-r2.trigger 14:39:18 OK: 8 MiB in 16 packages 14:39:18 Removing intermediate container 30dff21fdb21 14:39:18 ---> 02c09815b53d 14:39:18 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 14:39:18 ---> 74f04554f452 14:39:18 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 14:39:18 ---> f8ce171c47a8 14:39:18 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 14:39:18 ---> 57219a42b111 14:39:18 Step 17/22 : EXPOSE 59901 14:39:18 ---> Running in d9d89af15d8b 14:39:18 Removing intermediate container d9d89af15d8b 14:39:18 ---> 1283f76b0580 14:39:18 Step 18/22 : ENTRYPOINT ["/device-modbus"] 14:39:18 ---> Running in 9c6241e32864 14:39:18 Removing intermediate container 9c6241e32864 14:39:18 ---> ff3ebbe9bec5 14:39:18 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 14:39:18 ---> Running in 424ca0b495c3 14:39:18 Removing intermediate container 424ca0b495c3 14:39:18 ---> d83147c6a70b 14:39:18 Step 20/22 : LABEL arch=arm64 14:39:18 ---> Running in a14b0c7641c6 14:39:19 Removing intermediate container a14b0c7641c6 14:39:19 ---> 4b9744922dd7 14:39:19 Step 21/22 : LABEL git_sha=38be6ad44ae00249e75ec6c3ea845f478f0a1763 14:39:19 ---> Running in b8aa4af91212 14:39:19 Removing intermediate container b8aa4af91212 14:39:19 ---> 31cf0c69574b 14:39:19 Step 22/22 : LABEL version=0.0.0 14:39:19 ---> Running in cfb6175cde7a 14:39:19 Removing intermediate container cfb6175cde7a 14:39:19 ---> f554cceb1bd8 14:39:19 [Warning] One or more build-args [ARCH] were not consumed 14:39:19 Successfully built f554cceb1bd8 14:39:19 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 14:39:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:39:20 14:39:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:39:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:39:21 arm64: Pulling from edgex-lftools-log-publisher 14:39:21 8998bd30e6a1: Pulling fs layer 14:39:21 04944245beec: Pulling fs layer 14:39:21 699f458cf7ca: Pulling fs layer 14:39:21 765212b225bb: Pulling fs layer 14:39:21 f23df028b6ca: Pulling fs layer 14:39:21 d65c8cfc05b1: Pulling fs layer 14:39:21 2437ff75d9bd: Pulling fs layer 14:39:21 f23df028b6ca: Waiting 14:39:21 d65c8cfc05b1: Waiting 14:39:21 2437ff75d9bd: Waiting 14:39:21 765212b225bb: Waiting 14:39:21 04944245beec: Verifying Checksum 14:39:21 04944245beec: Download complete 14:39:21 765212b225bb: Download complete 14:39:21 f23df028b6ca: Verifying Checksum 14:39:21 f23df028b6ca: Download complete 14:39:21 d65c8cfc05b1: Verifying Checksum 14:39:21 d65c8cfc05b1: Download complete 14:39:21 699f458cf7ca: Verifying Checksum 14:39:21 699f458cf7ca: Download complete 14:39:22 8998bd30e6a1: Verifying Checksum 14:39:22 8998bd30e6a1: Download complete 14:39:24 2437ff75d9bd: Verifying Checksum 14:39:24 2437ff75d9bd: Download complete 14:39:26 8998bd30e6a1: Pull complete 14:39:26 04944245beec: Pull complete 14:39:28 699f458cf7ca: Pull complete 14:39:28 765212b225bb: Pull complete 14:39:29 f23df028b6ca: Pull complete 14:39:29 d65c8cfc05b1: Pull complete 14:39:47 2437ff75d9bd: Pull complete 14:39:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:39:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:39:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:39:48 prd-ubuntu20.04-docker-arm64-4c-16g-9920 does not seem to be running inside a container 14:39:48 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:39:52 $ docker top 83e4042afb81a3f3ef27d546ade2b777f7b257126688018f8e48bc9d20d0ec03 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:39:52 ---> job-cost.sh 14:39:52 lf-activate-venv: SKIPPING 14:39:52 INFO: No Stack... 14:39:53 INFO: Retrieving Pricing Info for: v3-standard-4 14:39:54 INFO: Archiving Costs [Pipeline] sh 14:39:54 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 14:39:54 + cut -d, -f6 [Pipeline] lock 14:39:54 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-514-1-stack-cost] 14:39:54 Resource [jenkins-edgexfoundry-device-modbus-go-PR-514-1-stack-cost] did not exist. Created. 14:39:54 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-514-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:39:55 /w/workspace/device-modbus-go/1@tmp/durable-65518a5a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:39:56 + echo total: 0.10999999940395355 [Pipeline] stash 14:39:56 Warning: overwriting stash ‘stack-cost’ 14:39:56 Stashed 1 file(s) [Pipeline] } 14:39:56 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-514-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:39:56 $ docker stop --time=1 83e4042afb81a3f3ef27d546ade2b777f7b257126688018f8e48bc9d20d0ec03 14:39:58 $ docker rm -f --volumes 83e4042afb81a3f3ef27d546ade2b777f7b257126688018f8e48bc9d20d0ec03 [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 14:39:59 provisioning config files... 14:39:59 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-514@tmp/config4489483035502854664tmp [Pipeline] { [Pipeline] sh 14:39:59 + set +x 14:39:59 + curl -s https://codecov.io/bash 14:39:59 + bash -s -- 14:39:59 14:39:59 _____ _ 14:39:59 / ____| | | 14:39:59 | | ___ __| | ___ ___ _____ __ 14:39:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:39:59 | |___| (_) | (_| | __/ (_| (_) \ V / 14:39:59 \_____\___/ \__,_|\___|\___\___/ \_/ 14:39:59 Bash-1.0.6 14:39:59 14:39:59 14:39:59 ==> git version 2.25.1 found 14:39:59 ==> 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 14:39:59 Release-Date: 2020-01-08 14:39:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:39:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:39:59 ==> Jenkins CI detected. 14:39:59 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-514 14:39:59 project root: . 14:39:59 --> token set from env 14:39:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:39:59 ==> Running gcov in . (disable via -X gcov) 14:39:59 ==> Python coveragepy not found 14:39:59 ==> Searching for coverage reports in: 14:39:59 + . 14:39:59 -> Found 1 reports 14:39:59 ==> Detecting git/mercurial file structure 14:39:59 ==> Reading reports 14:39:59 + ./coverage.out bytes=24334 14:39:59 ==> Appending adjustments 14:39:59 https://docs.codecov.io/docs/fixing-reports 14:39:59 + Found adjustments 14:39:59 ==> Gzipping contents 14:39:59 4.0K /tmp/codecov.PqVyau.gz 14:39:59 ==> Uploading reports 14:39:59 url: https://codecov.io 14:39:59 query: branch=PR-514&commit=38be6ad44ae00249e75ec6c3ea845f478f0a1763&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-514%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=514&job=&cmd_args= 14:39:59 -> Pinging Codecov 14:39:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-514&commit=38be6ad44ae00249e75ec6c3ea845f478f0a1763&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-514%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=514&job=&cmd_args= 14:39:59 -> Uploading to 14:39:59 https://storage.googleapis.com/codecov/v4/raw/2023-10-24/55DBCA73C666E3227836607328DD7E49/38be6ad44ae00249e75ec6c3ea845f478f0a1763/e66fdfa3-229c-4a13-9f5e-be97c650cfd9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T143959Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=75d6e47762bca73a5161b207f42372f4adf4a1f728f732fb17ba019e193326bc 14:39:59 % Total % Received % Xferd Average Speed Time Time Time Current 14:39:59 Dload Upload Total Spent Left Speed 14:40:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3796 0 0 100 3796 0 13605 --:--:-- --:--:-- --:--:-- 13605 14:40:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/38be6ad44ae00249e75ec6c3ea845f478f0a1763 [Pipeline] } 14:40:00 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 14:40:02 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-514/archives ] 14:40:02 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-514/archives 14:40:02 total 16 14:40:02 drwxr-xr-x 3 root root 4096 Oct 24 14:30 . 14:40:02 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 14:30 .. 14:40:02 drwxr-xr-x 2 root root 4096 Oct 24 14:30 cost 14:40:02 -rw-r--r-- 1 root root 88 Oct 24 14:30 cost.csv 14:40:02 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-514/archives 14:40:02 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-514/archives 14:40:02 total 16 14:40:02 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 14:30 . 14:40:02 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 14:30 .. 14:40:02 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 14:30 cost 14:40:02 -rw-r--r-- 1 jenkins jenkins 88 Oct 24 14:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:40:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:40:03 ---> package-listing.sh 14:40:03 ++ tr '[:upper:]' '[:lower:]' 14:40:03 ++ facter osfamily 14:40:03 + OS_FAMILY=debian 14:40:03 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-514 14:40:03 + START_PACKAGES=/tmp/packages_start.txt 14:40:03 + END_PACKAGES=/tmp/packages_end.txt 14:40:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:40:03 + PACKAGES=/tmp/packages_start.txt 14:40:03 + '[' /w/workspace/xfoundry_device-modbus-go_PR-514 ']' 14:40:03 + PACKAGES=/tmp/packages_end.txt 14:40:03 + case "${OS_FAMILY}" in 14:40:03 + dpkg -l 14:40:03 + grep '^ii' 14:40:03 + '[' -f /tmp/packages_start.txt ']' 14:40:03 + '[' -f /tmp/packages_end.txt ']' 14:40:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:40:03 + '[' /w/workspace/xfoundry_device-modbus-go_PR-514 ']' 14:40:03 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-514/archives/ 14:40:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-514/archives/ [Pipeline] echo 14:40:03 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-514/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:40:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:40:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:40:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:40:04 prd-ubuntu20.04-docker-8c-8g-9919 does not seem to be running inside a container 14:40:04 $ 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-514/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-514 -v /w/workspace/xfoundry_device-modbus-go_PR-514:/w/workspace/xfoundry_device-modbus-go_PR-514:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-514@tmp:/w/workspace/xfoundry_device-modbus-go_PR-514@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:40:05 $ docker top 8918f2d719a3a35042c586037bc6e8206fb917d73a7283ba3f297392b79e712c -eo pid,comm [Pipeline] { [Pipeline] sh 14:40:05 + touch /tmp/pre-build-complete [Pipeline] sh 14:40:05 + mkdir -p /var/log/sysstat [Pipeline] sh 14:40:06 + ls /var/log/sa-host 14:40:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:40:06 provisioning config files... 14:40:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-514@tmp/config2837078529288293218tmp [Pipeline] { [Pipeline] echo 14:40:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:40:06 ---> create-netrc.sh [Pipeline] } 14:40:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:40:07 ---> python-tools-install.sh [Pipeline] echo 14:40:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:40:07 ---> sudo-logs.sh 14:40:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:40:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:40:07 ---> job-cost.sh 14:40:07 lf-activate-venv: SKIPPING 14:40:07 DEBUG: total: 0.2199999988079071 14:40:07 INFO: Retrieving Stack Cost... 14:40:08 INFO: Retrieving Pricing Info for: v3-standard-8 14:40:08 INFO: Archiving Costs [Pipeline] echo 14:40:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:40:09 ---> logs-deploy.sh 14:40:09 lf-activate-venv: SKIPPING 14:40:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-514/1 14:40:09 INFO: archiving workspace using pattern(s): 14:40:10 Archives upload complete. 14:40:10 INFO: archiving logs to Nexus