Pull request #447 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b0c18ac1281d7b8112966dca73ed99450a52f26a+c1bc75661fc51a1e1f09ff5cc1bcda06482736aa (373e21f56e3e3f234dffe3b445fc4ac16355602c) 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-ssh13443962688718474200.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh11340351951072531938.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-447/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-447/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9263317266927043936.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13253418289831080704.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-447/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-447/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14196336424408621969.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-5786’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-5787’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-6316’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-6292’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6295’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6296’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6298’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6299’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6323’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-6294’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6297’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6304’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6305’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6306’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6327 in /w/workspace/xfoundry_device-modbus-go_PR-447 [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-447 # 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/447/head:refs/remotes/origin/PR-447 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c1bc75661fc51a1e1f09ff5cc1bcda06482736aa into PR head commit b0c18ac1281d7b8112966dca73ed99450a52f26a Merge succeeded, producing b0c18ac1281d7b8112966dca73ed99450a52f26a Checking out Revision b0c18ac1281d7b8112966dca73ed99450a52f26a (PR-447) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:26:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:26:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:26:48 ========================================================= 23:26:48 EdgeX Global Pipelines Version Info 23:26:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f b0c18ac1281d7b8112966dca73ed99450a52f26a # 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 c1bc75661fc51a1e1f09ff5cc1bcda06482736aa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b0c18ac1281d7b8112966dca73ed99450a52f26a # timeout=10 > git rev-list --no-walk 16cf1a831c17c051fd34675e16faf7638fffd89b # timeout=10 23:26:49 ------------------- 23:26:49 stable info: 23:26:49 ------------------- 23:26:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:26:49 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 23:26:49 Message: update stable to v1.0.245 23:26:50 ------------------- 23:26:50 experimental info: 23:26:50 ------------------- 23:26:50 Commited By: **** collab-it+edgex@linuxfoundation.org 23:26:50 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 23:26:50 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-447 [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-447 [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-447 [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b0c18ac1281d7b8112966dca73ed99450a52f26a [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b0c18ac [Pipeline] echo 23:26:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:26:50 provisioning config files... 23:26:50 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-447@tmp/config10492049429120369654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:26:51 ---> docker-login.sh 23:26:51 nexus3.edgexfoundry.org:10001 23:26:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:51 Configure a credential helper to remove this warning. See 23:26:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:51 23:26:51 Login Succeeded 23:26:51 nexus3.edgexfoundry.org:10002 23:26:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:51 Configure a credential helper to remove this warning. See 23:26:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:51 23:26:51 Login Succeeded 23:26:51 nexus3.edgexfoundry.org:10003 23:26:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:51 Configure a credential helper to remove this warning. See 23:26:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:51 23:26:51 Login Succeeded 23:26:51 nexus3.edgexfoundry.org:10004 23:26:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:51 Configure a credential helper to remove this warning. See 23:26:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:51 23:26:51 Login Succeeded 23:26:51 docker.io 23:26:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:52 Configure a credential helper to remove this warning. See 23:26:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:52 23:26:52 Login Succeeded 23:26:52 ---> docker-login.sh ends [Pipeline] } 23:26:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:26:52 + git rev-list -1 --merges b0c18ac1281d7b8112966dca73ed99450a52f26a~1..b0c18ac1281d7b8112966dca73ed99450a52f26a [Pipeline] echo 23:26:52 -----------> git rev-list -1 --merges b0c18ac1281d7b8112966dca73ed99450a52f26a~1..b0c18ac1281d7b8112966dca73ed99450a52f26a b0c18ac1281d7b8112966dca73ed99450a52f26a [false] [Pipeline] sh 23:26:52 + git log --format=format:%s -1 b0c18ac1281d7b8112966dca73ed99450a52f26a [Pipeline] echo 23:26:52 ========================================================= 23:26:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:26:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:26:53 + git log --format=format:%s -1 b0c18ac1281d7b8112966dca73ed99450a52f26a [Pipeline] echo 23:26:53 [semverPrep] GIT_COMMIT: b0c18ac1281d7b8112966dca73ed99450a52f26a, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 23:26:53 [semverPrep] This is not a build commit. [Pipeline] sh 23:26:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:26:53 + grep -v github /etc/ssh/ssh_known_hosts 23:26:53 + [ -e /tmp/ssh_known_hosts ] 23:26:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:26:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:26:53 + sudo tee -a /etc/ssh/ssh_known_hosts 23:26:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:26:53 23:26:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:26:54 0.1.4: Pulling from edgex-devops/py-git-semver 23:26:54 b85a868b505f: Pulling fs layer 23:26:54 e2be974225ed: Pulling fs layer 23:26:54 339a4e72a1f5: Pulling fs layer 23:26:54 988bab9f4d93: Pulling fs layer 23:26:54 1469e6f7b9e6: Pulling fs layer 23:26:54 eaf3925da568: Pulling fs layer 23:26:54 bab4dde63d76: Pulling fs layer 23:26:54 bde34c3a00c8: Pulling fs layer 23:26:54 b352a97aabf1: Pulling fs layer 23:26:54 4872d77fe225: Pulling fs layer 23:26:54 5851b861e8e6: Pulling fs layer 23:26:54 bab4dde63d76: Waiting 23:26:54 bde34c3a00c8: Waiting 23:26:54 b352a97aabf1: Waiting 23:26:54 4872d77fe225: Waiting 23:26:54 5851b861e8e6: Waiting 23:26:54 988bab9f4d93: Waiting 23:26:54 1469e6f7b9e6: Waiting 23:26:54 eaf3925da568: Waiting 23:26:54 988bab9f4d93: Verifying Checksum 23:26:54 988bab9f4d93: Download complete 23:26:54 1469e6f7b9e6: Verifying Checksum 23:26:54 339a4e72a1f5: Verifying Checksum 23:26:54 1469e6f7b9e6: Download complete 23:26:54 339a4e72a1f5: Download complete 23:26:54 eaf3925da568: Verifying Checksum 23:26:54 eaf3925da568: Download complete 23:26:54 bde34c3a00c8: Download complete 23:26:54 b352a97aabf1: Download complete 23:26:54 4872d77fe225: Verifying Checksum 23:26:54 4872d77fe225: Download complete 23:26:54 5851b861e8e6: Verifying Checksum 23:26:54 5851b861e8e6: Download complete 23:26:54 b85a868b505f: Download complete 23:26:54 bab4dde63d76: Download complete 23:26:55 b85a868b505f: Pull complete 23:26:55 e2be974225ed: Pull complete 23:26:56 339a4e72a1f5: Pull complete 23:26:56 988bab9f4d93: Pull complete 23:26:56 1469e6f7b9e6: Pull complete 23:26:56 eaf3925da568: Pull complete 23:26:58 bab4dde63d76: Pull complete 23:26:58 bde34c3a00c8: Pull complete 23:26:58 b352a97aabf1: Pull complete 23:26:58 4872d77fe225: Pull complete 23:26:58 5851b861e8e6: Pull complete 23:26:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:26:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:26:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:26:59 prd-ubuntu20.04-docker-8c-8g-6327 does not seem to be running inside a container 23:26:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-447 -v /w/workspace/xfoundry_device-modbus-go_PR-447:/w/workspace/xfoundry_device-modbus-go_PR-447:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-447@tmp:/w/workspace/xfoundry_device-modbus-go_PR-447@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 23:27:01 $ docker top ebd8dea84132b9b815bede74034eb2aa3545da88ab829f45a7cabaad5dcc49ea -eo pid,comm 23:27:01 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). 23:27:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:27:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:27:01 [ssh-agent] Looking for ssh-agent implementation... 23:27:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:27:02 $ docker exec ebd8dea84132b9b815bede74034eb2aa3545da88ab829f45a7cabaad5dcc49ea ssh-agent 23:27:02 SSH_AUTH_SOCK=/tmp/ssh-qeGLb5Frx6OS/agent.31 23:27:02 SSH_AGENT_PID=38 23:27:02 Running ssh-add (command line suppressed) 23:27:02 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-447@tmp/private_key_11756435029902614003.key (/w/workspace/xfoundry_device-modbus-go_PR-447@tmp/private_key_11756435029902614003.key) 23:27:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:27:02 + git tag --points-at HEAD [Pipeline] } 23:27:02 $ docker exec --env ******** --env ******** ebd8dea84132b9b815bede74034eb2aa3545da88ab829f45a7cabaad5dcc49ea ssh-agent -k 23:27:02 unset SSH_AUTH_SOCK; 23:27:02 unset SSH_AGENT_PID; 23:27:02 echo Agent pid 38 killed; 23:27:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:27:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:27:02 [ssh-agent] Looking for ssh-agent implementation... 23:27:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:27:02 $ docker exec ebd8dea84132b9b815bede74034eb2aa3545da88ab829f45a7cabaad5dcc49ea ssh-agent 23:27:02 SSH_AUTH_SOCK=/tmp/ssh-dE6x8KdzXpS0/agent.70 23:27:02 SSH_AGENT_PID=76 23:27:03 Running ssh-add (command line suppressed) 23:27:03 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-447@tmp/private_key_17173716904610312353.key (/w/workspace/xfoundry_device-modbus-go_PR-447@tmp/private_key_17173716904610312353.key) 23:27:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:27:03 + git semver init 23:27:03 2023-03-29 23:27:03,604 [run_init] DEBUG init version:0.0.0 force:False 23:27:03 2023-03-29 23:27:03,605 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-447/.semver 23:27:03 2023-03-29 23:27:03,605 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-447/.semver 23:27:03 2023-03-29 23:27:03,606 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-447/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-447, universal_newlines=False, shell=None, istream=None) 23:27:04 2023-03-29 23:27:04,347 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-447/.git/info/exclude 23:27:04 2023-03-29 23:27:04,350 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-447/.semver/PR-447 with force:False 23:27:04 2023-03-29 23:27:04,350 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-447/.semver/PR-447 23:27:04 2023-03-29 23:27:04,356 [execute] INFO git cat-file --batch-check 23:27:04 2023-03-29 23:27:04,356 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-447/.semver, universal_newlines=False, shell=None, istream=) 23:27:04 2023-03-29 23:27:04,363 [execute] INFO git cat-file --batch 23:27:04 2023-03-29 23:27:04,363 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-447/.semver, universal_newlines=False, shell=None, istream=) 23:27:04 2023-03-29 23:27:04,370 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-447/.semver/PR-447 23:27:04 0.0.0 [Pipeline] } 23:27:04 $ docker exec --env ******** --env ******** ebd8dea84132b9b815bede74034eb2aa3545da88ab829f45a7cabaad5dcc49ea ssh-agent -k 23:27:04 unset SSH_AUTH_SOCK; 23:27:04 unset SSH_AGENT_PID; 23:27:04 echo Agent pid 76 killed; 23:27:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:27:05 + git semver [Pipeline] } 23:27:05 $ docker stop --time=1 ebd8dea84132b9b815bede74034eb2aa3545da88ab829f45a7cabaad5dcc49ea 23:27:06 $ docker rm -f --volumes ebd8dea84132b9b815bede74034eb2aa3545da88ab829f45a7cabaad5dcc49ea [Pipeline] // withDockerContainer [Pipeline] sh 23:27:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:27:07 Stashed 1 file(s) [Pipeline] echo 23:27:07 [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 23:27:07 provisioning config files... 23:27:07 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-447@tmp/config6832600526377900166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:27:07 ---> docker-login.sh 23:27:07 nexus3.edgexfoundry.org:10001 23:27:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:07 Configure a credential helper to remove this warning. See 23:27:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:07 23:27:07 Login Succeeded 23:27:07 nexus3.edgexfoundry.org:10002 23:27:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:07 Configure a credential helper to remove this warning. See 23:27:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:07 23:27:07 Login Succeeded 23:27:07 nexus3.edgexfoundry.org:10003 23:27:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:07 Configure a credential helper to remove this warning. See 23:27:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:07 23:27:07 Login Succeeded 23:27:07 nexus3.edgexfoundry.org:10004 23:27:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:08 Configure a credential helper to remove this warning. See 23:27:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:08 23:27:08 Login Succeeded 23:27:08 docker.io 23:27:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:08 Configure a credential helper to remove this warning. See 23:27:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:08 23:27:08 Login Succeeded 23:27:08 ---> docker-login.sh ends [Pipeline] } 23:27:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:27:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:27:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:27:08 ========================================================= 23:27:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:27:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:08 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:27:08 Sending build context to Docker daemon 6.411MB 23:27:08 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 23:27:08 Step 2/10 : FROM ${BASE} AS builder 23:27:08 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:27:08 63b65145d645: Pulling fs layer 23:27:08 a2d21d5440eb: Pulling fs layer 23:27:08 935e6c44a52c: Pulling fs layer 23:27:08 94cc34f8dd06: Pulling fs layer 23:27:08 30dea6a524f1: Pulling fs layer 23:27:08 a2aff8979fd8: Pulling fs layer 23:27:08 6808be2612f2: Pulling fs layer 23:27:08 f25807f1079a: Pulling fs layer 23:27:08 94cc34f8dd06: Waiting 23:27:08 30dea6a524f1: Waiting 23:27:08 f25807f1079a: Waiting 23:27:08 a2d21d5440eb: Verifying Checksum 23:27:08 a2d21d5440eb: Download complete 23:27:08 94cc34f8dd06: Verifying Checksum 23:27:08 94cc34f8dd06: Download complete 23:27:08 30dea6a524f1: Verifying Checksum 23:27:08 30dea6a524f1: Download complete 23:27:09 63b65145d645: Verifying Checksum 23:27:09 63b65145d645: Download complete 23:27:09 a2aff8979fd8: Verifying Checksum 23:27:09 a2aff8979fd8: Download complete 23:27:09 63b65145d645: Pull complete 23:27:09 a2d21d5440eb: Pull complete 23:27:09 f25807f1079a: Verifying Checksum 23:27:09 f25807f1079a: Download complete 23:27:09 935e6c44a52c: Verifying Checksum 23:27:09 935e6c44a52c: Download complete 23:27:09 6808be2612f2: Verifying Checksum 23:27:09 6808be2612f2: Download complete 23:27:13 935e6c44a52c: Pull complete 23:27:13 94cc34f8dd06: Pull complete 23:27:13 30dea6a524f1: Pull complete 23:27:13 a2aff8979fd8: Pull complete 23:27:15 6808be2612f2: Pull complete 23:27:16 f25807f1079a: Pull complete 23:27:16 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 23:27:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:27:16 ---> 3b553350e43f 23:27:16 Step 3/10 : ARG ADD_BUILD_TAGS="" 23:27:20 ---> Running in 65879265c3ae 23:27:20 Removing intermediate container 65879265c3ae 23:27:20 ---> 7338f8c5a33a 23:27:20 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:27:20 ---> Running in d5deb99bcb6a 23:27:20 Removing intermediate container d5deb99bcb6a 23:27:20 ---> 5175b551badb 23:27:20 Step 5/10 : RUN apk add --update --no-cache make git openssh 23:27:20 ---> Running in 620dd4bb63ad 23:27:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:27:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:27:21 (1/8) Installing openssh-keygen (9.1_p1-r2) 23:27:21 (2/8) Installing libedit (20221030.3.1-r0) 23:27:21 (3/8) Installing openssh-client-common (9.1_p1-r2) 23:27:21 (4/8) Installing openssh-client-default (9.1_p1-r2) 23:27:21 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 23:27:21 (6/8) Installing openssh-server-common (9.1_p1-r2) 23:27:21 (7/8) Installing openssh-server (9.1_p1-r2) 23:27:21 (8/8) Installing openssh (9.1_p1-r2) 23:27:21 Executing busybox-1.35.0-r29.trigger 23:27:21 OK: 270 MiB in 61 packages 23:27:22 Removing intermediate container 620dd4bb63ad 23:27:22 ---> 6999d9394f0f 23:27:22 Step 6/10 : WORKDIR /device-modbus-go 23:27:22 ---> Running in 191bb16a78f1 23:27:22 Still waiting to schedule task 23:27:22 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:27:22 Removing intermediate container 191bb16a78f1 23:27:22 ---> 7d92e70c8615 23:27:22 Step 7/10 : COPY go.mod vendor* ./ 23:27:22 ---> bd657216d04e 23:27:22 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:27:22 ---> Running in 2b72e959aea3 23:27:54 Removing intermediate container 2b72e959aea3 23:27:54 ---> 722ca9cf2680 23:27:54 Step 9/10 : COPY . . 23:27:54 ---> eb4bc43d3dc3 23:27:54 Step 10/10 : RUN ${MAKE} 23:27:54 ---> Running in dd956ac8498e 23:27:54 noop 23:27:54 Removing intermediate container dd956ac8498e 23:27:54 ---> 63cde5fd6f8d 23:27:54 Successfully built 63cde5fd6f8d 23:27:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:54 + docker inspect -f . ci-base-image-x86_64 23:27:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:54 prd-ubuntu20.04-docker-8c-8g-6327 does not seem to be running inside a container 23:27:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-447 -v /w/workspace/xfoundry_device-modbus-go_PR-447:/w/workspace/xfoundry_device-modbus-go_PR-447:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-447@tmp:/w/workspace/xfoundry_device-modbus-go_PR-447@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 23:27:55 $ docker top 44eb3f033c1c698e79f8a899131cc932c81a2bfba573dc6d48cf00df76bb49dd -eo pid,comm [Pipeline] { [Pipeline] sh 23:27:56 + go version 23:27:56 go version go1.20.2 linux/amd64 [Pipeline] } 23:27:56 $ docker stop --time=1 44eb3f033c1c698e79f8a899131cc932c81a2bfba573dc6d48cf00df76bb49dd 23:27:57 $ docker rm -f --volumes 44eb3f033c1c698e79f8a899131cc932c81a2bfba573dc6d48cf00df76bb49dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:57 + docker inspect -f . ci-base-image-x86_64 23:27:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:58 prd-ubuntu20.04-docker-8c-8g-6327 does not seem to be running inside a container 23:27:58 $ 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-447 -v /w/workspace/xfoundry_device-modbus-go_PR-447:/w/workspace/xfoundry_device-modbus-go_PR-447:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-447@tmp:/w/workspace/xfoundry_device-modbus-go_PR-447@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 23:27:58 $ docker top 876c3272d33f563f3752e7ec13559bd4ab3e9184b865447e56ca2832e3bca959 -eo pid,comm [Pipeline] { [Pipeline] sh 23:27:59 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-447 [Pipeline] fileExists [Pipeline] sh 23:27:59 + make test 23:27:59 go test ./... -coverprofile=coverage.out 23:28:04 ? github.com/edgexfoundry/device-modbus-go [no test files] 23:28:14 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 23:28:14 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 48.0% of statements 23:28:18 go vet ./... 23:28:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:28:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:28:22 ./bin/test-attribution-txt.sh [Pipeline] echo 23:28:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:28:22 $ docker stop --time=1 876c3272d33f563f3752e7ec13559bd4ab3e9184b865447e56ca2832e3bca959 23:28:26 $ docker rm -f --volumes 876c3272d33f563f3752e7ec13559bd4ab3e9184b865447e56ca2832e3bca959 [Pipeline] // withDockerContainer [Pipeline] sh 23:28:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:28:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:28:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:28:27 + ls -al . 23:28:27 total 180 23:28:27 drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 23:27 . 23:28:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:26 .. 23:28:27 -rw-rw-r-- 1 jenkins jenkins 140 Mar 29 23:26 .dockerignore 23:28:27 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 23:27 .git 23:28:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:26 .github 23:28:27 -rw-rw-r-- 1 jenkins jenkins 331 Mar 29 23:26 .gitignore 23:28:27 -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 23:26 .golangci.yml 23:28:27 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 23:27 .semver 23:28:27 -rw-rw-r-- 1 jenkins jenkins 10004 Mar 29 23:26 Attribution.txt 23:28:27 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 29 23:26 CHANGELOG.md 23:28:27 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 29 23:26 Dockerfile 23:28:27 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 23:26 GOVERNANCE.md 23:28:27 -rw-rw-r-- 1 jenkins jenkins 680 Mar 29 23:26 Jenkinsfile 23:28:27 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 29 23:26 LICENSE 23:28:27 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 29 23:26 Makefile 23:28:27 -rw-rw-r-- 1 jenkins jenkins 622 Mar 29 23:26 OWNERS.md 23:28:27 -rw-rw-r-- 1 jenkins jenkins 4045 Mar 29 23:26 README.md 23:28:27 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 23:27 VERSION 23:28:27 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:26 bin 23:28:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:26 cmd 23:28:27 -rw-r--r-- 1 jenkins jenkins 23739 Mar 29 23:28 coverage.out 23:28:27 -rw-rw-r-- 1 jenkins jenkins 3450 Mar 29 23:26 go.mod 23:28:27 -rw-rw-r-- 1 jenkins jenkins 31495 Mar 29 23:26 go.sum 23:28:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:26 internal 23:28:27 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:26 simulator 23:28:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:26 snap 23:28:27 -rw-rw-r-- 1 jenkins jenkins 229 Mar 29 23:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:28 + 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=b0c18ac1281d7b8112966dca73ed99450a52f26a --label arch=amd64 --label version=0.0.0 . 23:28:28 Sending build context to Docker daemon 6.436MB 23:28:28 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 23:28:28 Step 2/22 : FROM ${BASE} AS builder 23:28:28 ---> 63cde5fd6f8d 23:28:28 Step 3/22 : ARG ADD_BUILD_TAGS="" 23:28:28 ---> Running in 4a217c8275d6 23:28:28 Removing intermediate container 4a217c8275d6 23:28:28 ---> 3bcf93230252 23:28:28 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:28:28 ---> Running in bc0a678ff9d2 23:28:28 Removing intermediate container bc0a678ff9d2 23:28:28 ---> 965305716ed5 23:28:28 Step 5/22 : RUN apk add --update --no-cache make git openssh 23:28:28 ---> Running in d871fd470f6a 23:28:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:28:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:28:29 OK: 270 MiB in 61 packages 23:28:29 Removing intermediate container d871fd470f6a 23:28:29 ---> 5576c4969487 23:28:29 Step 6/22 : WORKDIR /device-modbus-go 23:28:29 ---> Running in bdb03d14d168 23:28:29 Removing intermediate container bdb03d14d168 23:28:29 ---> 11e8a1eef90f 23:28:29 Step 7/22 : COPY go.mod vendor* ./ 23:28:29 ---> f1b03ab40530 23:28:29 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:28:29 ---> Running in db17e3998415 23:28:30 Removing intermediate container db17e3998415 23:28:30 ---> d11ba83a92cf 23:28:30 Step 9/22 : COPY . . 23:28:30 ---> d1c2d6292fc7 23:28:30 Step 10/22 : RUN ${MAKE} 23:28:30 ---> Running in 27ca4b543c38 23:28:31 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 23:28:53 Removing intermediate container 27ca4b543c38 23:28:53 ---> 6b0ab68179d0 23:28:53 Step 11/22 : FROM alpine:3.17 23:28:53 3.17: Pulling from library/alpine 23:28:53 f56be85fc22e: Pulling fs layer 23:28:53 f56be85fc22e: Verifying Checksum 23:28:53 f56be85fc22e: Download complete 23:28:53 f56be85fc22e: Pull complete 23:28:53 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:28:53 Status: Downloaded newer image for alpine:3.17 23:28:53 ---> 9ed4aefc74f6 23:28:53 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 23:28:53 ---> Running in d3e21c643ea9 23:28:53 Removing intermediate container d3e21c643ea9 23:28:53 ---> e50438510b3f 23:28:53 Step 13/22 : RUN apk add --update --no-cache dumb-init 23:28:53 ---> Running in e55fe03b4ec1 23:28:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:28:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:28:53 (1/1) Installing dumb-init (1.2.5-r2) 23:28:53 Executing busybox-1.35.0-r29.trigger 23:28:53 OK: 7 MiB in 16 packages 23:28:53 Removing intermediate container e55fe03b4ec1 23:28:53 ---> 6464f4d3f08f 23:28:53 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 23:28:53 ---> 391578f9c5b0 23:28:53 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 23:28:53 ---> 40e9c31618c8 23:28:53 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 23:28:53 ---> c7c0fb98c409 23:28:53 Step 17/22 : EXPOSE 59901 23:28:53 ---> Running in 4fb9d0e5ff6a 23:28:53 Removing intermediate container 4fb9d0e5ff6a 23:28:53 ---> fc55cee7d630 23:28:53 Step 18/22 : ENTRYPOINT ["/device-modbus"] 23:28:53 ---> Running in 3ceb5d2b615f 23:28:53 Removing intermediate container 3ceb5d2b615f 23:28:53 ---> 75d2c98ed805 23:28:53 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:28:53 ---> Running in 24afa22c0d53 23:28:53 Removing intermediate container 24afa22c0d53 23:28:53 ---> 2681b6c5fd3f 23:28:53 Step 20/22 : LABEL arch=amd64 23:28:53 ---> Running in 8abaffd447a2 23:28:53 Removing intermediate container 8abaffd447a2 23:28:53 ---> 7e76c5b09e76 23:28:53 Step 21/22 : LABEL git_sha=b0c18ac1281d7b8112966dca73ed99450a52f26a 23:28:53 ---> Running in 1d3128594e2a 23:28:53 Removing intermediate container 1d3128594e2a 23:28:53 ---> c577792c7b16 23:28:53 Step 22/22 : LABEL version=0.0.0 23:28:53 ---> Running in de7e988f092a 23:28:53 Removing intermediate container de7e988f092a 23:28:53 ---> a5d94775bb47 23:28:53 [Warning] One or more build-args [ARCH] were not consumed 23:28:53 Successfully built a5d94775bb47 23:28:53 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 23:28:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:28:54 23:28:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:28:54 latest: Pulling from edgex-lftools-log-publisher 23:28:54 5eb5b503b376: Pulling fs layer 23:28:54 5c69ac0246d0: Pulling fs layer 23:28:54 ec43610c2a17: Pulling fs layer 23:28:54 3a2ae6a8a46f: Pulling fs layer 23:28:54 33b1e0a273af: Pulling fs layer 23:28:54 5d3b04190fa2: Pulling fs layer 23:28:54 2f39f015ded8: Pulling fs layer 23:28:54 3a2ae6a8a46f: Waiting 23:28:54 33b1e0a273af: Waiting 23:28:54 5d3b04190fa2: Waiting 23:28:54 2f39f015ded8: Waiting 23:28:54 5c69ac0246d0: Verifying Checksum 23:28:54 5c69ac0246d0: Download complete 23:28:54 3a2ae6a8a46f: Download complete 23:28:54 33b1e0a273af: Verifying Checksum 23:28:54 33b1e0a273af: Download complete 23:28:54 ec43610c2a17: Verifying Checksum 23:28:54 ec43610c2a17: Download complete 23:28:54 5d3b04190fa2: Download complete 23:28:54 5eb5b503b376: Verifying Checksum 23:28:54 5eb5b503b376: Download complete 23:28:55 2f39f015ded8: Download complete 23:28:55 5eb5b503b376: Pull complete 23:28:56 5c69ac0246d0: Pull complete 23:28:56 ec43610c2a17: Pull complete 23:28:56 3a2ae6a8a46f: Pull complete 23:28:56 33b1e0a273af: Pull complete 23:28:57 5d3b04190fa2: Pull complete 23:29:01 2f39f015ded8: Pull complete 23:29:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:29:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:29:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:29:01 prd-ubuntu20.04-docker-8c-8g-6327 does not seem to be running inside a container 23:29:01 $ 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-447 -v /w/workspace/xfoundry_device-modbus-go_PR-447:/w/workspace/xfoundry_device-modbus-go_PR-447:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-447@tmp:/w/workspace/xfoundry_device-modbus-go_PR-447@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 23:29:07 $ docker top fc6a580ee24a082159633dd2fee3b672178dde4fcf0aadfa4b0901a357120227 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:29:07 ---> job-cost.sh 23:29:07 lf-activate-venv: SKIPPING 23:29:07 INFO: No Stack... 23:29:07 INFO: Retrieving Pricing Info for: v3-standard-8 23:29:08 INFO: Archiving Costs [Pipeline] sh 23:29:08 + cat /w/workspace/xfoundry_device-modbus-go_PR-447/archives/cost.csv 23:29:08 + cut -d, -f6 [Pipeline] lock 23:29:08 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-447-3-stack-cost] 23:29:08 Resource [jenkins-edgexfoundry-device-modbus-go-PR-447-3-stack-cost] did not exist. Created. 23:29:08 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-447-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:29:09 + echo total: 0.2199999988079071 [Pipeline] stash 23:29:09 Stashed 1 file(s) [Pipeline] } 23:29:09 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-447-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:29:09 $ docker stop --time=1 fc6a580ee24a082159633dd2fee3b672178dde4fcf0aadfa4b0901a357120227 23:29:10 $ docker rm -f --volumes fc6a580ee24a082159633dd2fee3b672178dde4fcf0aadfa4b0901a357120227 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:30:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6334 in /w/workspace/xfoundry_device-modbus-go_PR-447 [Pipeline] { [Pipeline] ws 23:30:50 Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout 23:30:50 Selected Git installation does not exist. Using Default 23:30:50 The recommended git tool is: NONE 23:31:05 using credential edgex-jenkins-ssh 23:31:05 Cloning the remote Git repository 23:31:05 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 23:31:05 > git init /w/workspace/device-modbus-go/3 # timeout=10 23:31:05 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 23:31:05 > git --version # timeout=10 23:31:05 > git --version # 'git version 2.25.1' 23:31:05 using GIT_SSH to set credentials SSH Credentials for GitHub 23:31:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:31:08 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 23:31:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:31:10 Merging remotes/origin/main commit c1bc75661fc51a1e1f09ff5cc1bcda06482736aa into PR head commit b0c18ac1281d7b8112966dca73ed99450a52f26a 23:31:10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 23:31:10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 23:31:10 using GIT_SSH to set credentials SSH Credentials for GitHub 23:31:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/447/head:refs/remotes/origin/PR-447 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:31:11 > git config core.sparsecheckout # timeout=10 23:31:11 > git checkout -f b0c18ac1281d7b8112966dca73ed99450a52f26a # timeout=10 23:31:11 > git remote # timeout=10 23:31:11 > git config --get remote.origin.url # timeout=10 23:31:11 using GIT_SSH to set credentials SSH Credentials for GitHub 23:31:11 > git merge c1bc75661fc51a1e1f09ff5cc1bcda06482736aa # timeout=10 23:31:11 Merge succeeded, producing b0c18ac1281d7b8112966dca73ed99450a52f26a 23:31:11 Checking out Revision b0c18ac1281d7b8112966dca73ed99450a52f26a (PR-447) 23:31:12 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:31:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:31:13 % Total % Received % Xferd Average Speed Time Time Time Current 23:31:13 Dload Upload Total Spent Left Speed 23:31:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 157k 0 --:--:-- --:--:-- --:--:-- 157k 23:31:11 > git rev-parse HEAD^{commit} # timeout=10 23:31:11 > git config core.sparsecheckout # timeout=10 23:31:11 > git checkout -f b0c18ac1281d7b8112966dca73ed99450a52f26a # timeout=10 [Pipeline] sh 23:31:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:31:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:31:14 + sudo tee /etc/docker/daemon.new 23:31:14 { 23:31:14 "registry-mirrors": [ 23:31:14 "https://nexus3.edgexfoundry.org:10001" 23:31:14 ], 23:31:14 "bip": "10.250.0.254/24", 23:31:14 "hosts": [ 23:31:14 "tcp://0.0.0.0:5555", 23:31:14 "unix:///var/run/docker.sock" 23:31:14 ], 23:31:14 "mtu": 1458, 23:31:14 "selinux-enabled": true, 23:31:14 "seccomp-profile": "/etc/docker/seccomp.json" 23:31:14 } [Pipeline] sh 23:31:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:31:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:31:33 provisioning config files... 23:31:33 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config9107841873774937391tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:31:34 ---> docker-login.sh 23:31:34 nexus3.edgexfoundry.org:10001 23:31:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:35 Configure a credential helper to remove this warning. See 23:31:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:35 23:31:35 Login Succeeded 23:31:35 nexus3.edgexfoundry.org:10002 23:31:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:35 Configure a credential helper to remove this warning. See 23:31:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:35 23:31:35 Login Succeeded 23:31:35 nexus3.edgexfoundry.org:10003 23:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:36 Configure a credential helper to remove this warning. See 23:31:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:36 23:31:36 Login Succeeded 23:31:36 nexus3.edgexfoundry.org:10004 23:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:36 Configure a credential helper to remove this warning. See 23:31:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:36 23:31:36 Login Succeeded 23:31:36 docker.io 23:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:37 Configure a credential helper to remove this warning. See 23:31:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:37 23:31:37 Login Succeeded 23:31:37 ---> docker-login.sh ends [Pipeline] } 23:31:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:31:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:31:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:31:37 ========================================================= 23:31:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:31:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:37 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:31:38 Sending build context to Docker daemon 3.343MB 23:31:38 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 23:31:38 Step 2/10 : FROM ${BASE} AS builder 23:31:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:31:38 af6eaf76a39c: Pulling fs layer 23:31:38 55522c791124: Pulling fs layer 23:31:38 ce5c4a1c91eb: Pulling fs layer 23:31:38 169dfbe0d373: Pulling fs layer 23:31:38 e1ff8fa3b103: Pulling fs layer 23:31:38 52ebb69f0ebf: Pulling fs layer 23:31:38 5abe8eddf0d5: Pulling fs layer 23:31:38 169dfbe0d373: Waiting 23:31:38 e1ff8fa3b103: Waiting 23:31:38 52ebb69f0ebf: Waiting 23:31:38 5abe8eddf0d5: Waiting 23:31:38 55522c791124: Verifying Checksum 23:31:38 55522c791124: Download complete 23:31:38 169dfbe0d373: Verifying Checksum 23:31:38 169dfbe0d373: Download complete 23:31:38 e1ff8fa3b103: Verifying Checksum 23:31:38 e1ff8fa3b103: Download complete 23:31:38 af6eaf76a39c: Download complete 23:31:40 af6eaf76a39c: Pull complete 23:31:40 5abe8eddf0d5: Verifying Checksum 23:31:40 5abe8eddf0d5: Download complete 23:31:40 55522c791124: Pull complete 23:31:41 ce5c4a1c91eb: Verifying Checksum 23:31:41 ce5c4a1c91eb: Download complete 23:31:41 52ebb69f0ebf: Verifying Checksum 23:31:41 52ebb69f0ebf: Download complete 23:31:54 ce5c4a1c91eb: Pull complete 23:31:54 169dfbe0d373: Pull complete 23:31:54 e1ff8fa3b103: Pull complete 23:32:02 52ebb69f0ebf: Pull complete 23:32:03 5abe8eddf0d5: Pull complete 23:32:03 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 23:32:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:32:03 ---> 6cb57ee374ae 23:32:03 Step 3/10 : ARG ADD_BUILD_TAGS="" 23:32:04 ---> Running in b87997ff796c 23:32:05 Removing intermediate container b87997ff796c 23:32:05 ---> 86671a62a03b 23:32:05 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:32:05 ---> Running in 8d031672867b 23:32:05 Removing intermediate container 8d031672867b 23:32:05 ---> b753a6a1ed7d 23:32:05 Step 5/10 : RUN apk add --update --no-cache make git openssh 23:32:05 ---> Running in 80289d78a156 23:32:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:32:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:32:09 (1/8) Installing openssh-keygen (9.1_p1-r2) 23:32:09 (2/8) Installing libedit (20221030.3.1-r0) 23:32:09 (3/8) Installing openssh-client-common (9.1_p1-r2) 23:32:09 (4/8) Installing openssh-client-default (9.1_p1-r2) 23:32:09 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 23:32:09 (6/8) Installing openssh-server-common (9.1_p1-r2) 23:32:09 (7/8) Installing openssh-server (9.1_p1-r2) 23:32:09 (8/8) Installing openssh (9.1_p1-r2) 23:32:09 Executing busybox-1.35.0-r29.trigger 23:32:09 OK: 270 MiB in 61 packages 23:32:11 Removing intermediate container 80289d78a156 23:32:11 ---> 969f72f1b660 23:32:11 Step 6/10 : WORKDIR /device-modbus-go 23:32:11 ---> Running in 73a3221196b7 23:32:11 Removing intermediate container 73a3221196b7 23:32:11 ---> fa0af76b3e5c 23:32:11 Step 7/10 : COPY go.mod vendor* ./ 23:32:11 ---> a27e76f8600c 23:32:11 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:32:11 ---> Running in 7c6fc71287b4 23:33:19 Removing intermediate container 7c6fc71287b4 23:33:19 ---> 012dc8b09836 23:33:19 Step 9/10 : COPY . . 23:33:19 ---> 5c56d9204daa 23:33:19 Step 10/10 : RUN ${MAKE} 23:33:19 ---> Running in 4260015fa78a 23:33:19 noop 23:33:20 Removing intermediate container 4260015fa78a 23:33:20 ---> e454e34a186f 23:33:20 Successfully built e454e34a186f 23:33:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:33:20 + docker inspect -f . ci-base-image-arm64 23:33:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:33:21 prd-ubuntu20.04-docker-arm64-4c-16g-6334 does not seem to be running inside a container 23:33:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 23:33:22 $ docker top 97871eb20299292fd58c1359d3c85935da2555999d60bf7886376b6c20322c44 -eo pid,comm [Pipeline] { [Pipeline] sh 23:33:23 + go version 23:33:23 go version go1.20.2 linux/arm64 [Pipeline] } 23:33:23 $ docker stop --time=1 97871eb20299292fd58c1359d3c85935da2555999d60bf7886376b6c20322c44 23:33:25 $ docker rm -f --volumes 97871eb20299292fd58c1359d3c85935da2555999d60bf7886376b6c20322c44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:33:25 + docker inspect -f . ci-base-image-arm64 23:33:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:33:26 prd-ubuntu20.04-docker-arm64-4c-16g-6334 does not seem to be running inside a container 23:33:26 $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 23:33:27 $ docker top b54c95432620746ba15f740f079774458b509a1b725de79b1995a81be4e3c1e3 -eo pid,comm [Pipeline] { [Pipeline] sh 23:33:28 + git config --global --add safe.directory /w/workspace/device-modbus-go/3 [Pipeline] fileExists [Pipeline] sh 23:33:29 + make test 23:33:29 go test ./... -coverprofile=coverage.out 23:34:16 ? github.com/edgexfoundry/device-modbus-go [no test files] 23:36:37 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 23:36:37 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.088s coverage: 48.0% of statements 23:36:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:36:37 go vet ./... 23:37:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:37:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:37:10 ./bin/test-attribution-txt.sh [Pipeline] echo 23:37:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:37:10 $ docker stop --time=1 b54c95432620746ba15f740f079774458b509a1b725de79b1995a81be4e3c1e3 23:37:12 $ docker rm -f --volumes b54c95432620746ba15f740f079774458b509a1b725de79b1995a81be4e3c1e3 [Pipeline] // withDockerContainer [Pipeline] sh 23:37:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:37:13 Warning: overwriting stash ‘coverage-report’ 23:37:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:37:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:37:15 + ls -al . 23:37:15 total 176 23:37:15 drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 23:33 . 23:37:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:31 .. 23:37:15 -rw-rw-r-- 1 jenkins jenkins 140 Mar 29 23:31 .dockerignore 23:37:15 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 23:31 .git 23:37:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:31 .github 23:37:15 -rw-rw-r-- 1 jenkins jenkins 331 Mar 29 23:31 .gitignore 23:37:15 -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 23:31 .golangci.yml 23:37:15 -rw-rw-r-- 1 jenkins jenkins 10004 Mar 29 23:31 Attribution.txt 23:37:15 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 29 23:31 CHANGELOG.md 23:37:15 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 29 23:31 Dockerfile 23:37:15 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 23:31 GOVERNANCE.md 23:37:15 -rw-rw-r-- 1 jenkins jenkins 680 Mar 29 23:31 Jenkinsfile 23:37:15 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 29 23:31 LICENSE 23:37:15 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 29 23:31 Makefile 23:37:15 -rw-rw-r-- 1 jenkins jenkins 622 Mar 29 23:31 OWNERS.md 23:37:15 -rw-rw-r-- 1 jenkins jenkins 4045 Mar 29 23:31 README.md 23:37:15 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 23:27 VERSION 23:37:15 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:31 bin 23:37:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:31 cmd 23:37:15 -rw-r--r-- 1 jenkins jenkins 23739 Mar 29 23:36 coverage.out 23:37:15 -rw-rw-r-- 1 jenkins jenkins 3450 Mar 29 23:31 go.mod 23:37:15 -rw-rw-r-- 1 jenkins jenkins 31495 Mar 29 23:31 go.sum 23:37:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:31 internal 23:37:15 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:31 simulator 23:37:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:31 snap 23:37:15 -rw-rw-r-- 1 jenkins jenkins 229 Mar 29 23:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:15 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b0c18ac1281d7b8112966dca73ed99450a52f26a --label arch=arm64 --label version=0.0.0 . 23:37:15 Sending build context to Docker daemon 3.368MB 23:37:16 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 23:37:16 Step 2/22 : FROM ${BASE} AS builder 23:37:16 ---> e454e34a186f 23:37:16 Step 3/22 : ARG ADD_BUILD_TAGS="" 23:37:16 ---> Running in 9d9bc15fdbaa 23:37:16 Removing intermediate container 9d9bc15fdbaa 23:37:16 ---> 54dbcc97fdc7 23:37:16 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:37:16 ---> Running in bafd2f10a513 23:37:17 Removing intermediate container bafd2f10a513 23:37:17 ---> b37a09e6dd69 23:37:17 Step 5/22 : RUN apk add --update --no-cache make git openssh 23:37:17 ---> Running in 2d1087d46dad 23:37:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:37:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:37:21 OK: 270 MiB in 61 packages 23:37:22 Removing intermediate container 2d1087d46dad 23:37:22 ---> a11fd46629c6 23:37:22 Step 6/22 : WORKDIR /device-modbus-go 23:37:22 ---> Running in 176a9bb570a0 23:37:22 Removing intermediate container 176a9bb570a0 23:37:22 ---> ef0561eb4144 23:37:22 Step 7/22 : COPY go.mod vendor* ./ 23:37:25 ---> 720aa658a730 23:37:25 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:37:25 ---> Running in 0d510eb23e6a 23:37:29 Removing intermediate container 0d510eb23e6a 23:37:29 ---> c1c83267bbea 23:37:29 Step 9/22 : COPY . . 23:37:29 ---> e27d3ad8a58c 23:37:29 Step 10/22 : RUN ${MAKE} 23:37:29 ---> Running in 7e060c7f37e8 23:37:31 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 23:40:23 Removing intermediate container 7e060c7f37e8 23:40:23 ---> fa2bd8480c6e 23:40:23 Step 11/22 : FROM alpine:3.17 23:40:23 3.17: Pulling from library/alpine 23:40:23 c41833b44d91: Pulling fs layer 23:40:23 c41833b44d91: Verifying Checksum 23:40:23 c41833b44d91: Download complete 23:40:23 c41833b44d91: Pull complete 23:40:23 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:40:23 Status: Downloaded newer image for alpine:3.17 23:40:23 ---> 51e60588ff2c 23:40:23 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 23:40:23 ---> Running in 4e8cecd033a0 23:40:23 Removing intermediate container 4e8cecd033a0 23:40:23 ---> c90f75927cd2 23:40:23 Step 13/22 : RUN apk add --update --no-cache dumb-init 23:40:23 ---> Running in 9bbb965261c7 23:40:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:40:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:40:24 (1/1) Installing dumb-init (1.2.5-r2) 23:40:24 Executing busybox-1.35.0-r29.trigger 23:40:24 OK: 8 MiB in 16 packages 23:40:25 Removing intermediate container 9bbb965261c7 23:40:25 ---> 94a2a4ebb5cf 23:40:25 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 23:40:27 ---> cb277018f727 23:40:27 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 23:40:27 ---> 3a7a126c242c 23:40:27 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 23:40:28 ---> 913e0ebdb005 23:40:28 Step 17/22 : EXPOSE 59901 23:40:28 ---> Running in fd8e17c8795f 23:40:28 Removing intermediate container fd8e17c8795f 23:40:28 ---> 0e9977fb9efa 23:40:28 Step 18/22 : ENTRYPOINT ["/device-modbus"] 23:40:28 ---> Running in 4079bf4de069 23:40:29 Removing intermediate container 4079bf4de069 23:40:29 ---> cc8758935b4f 23:40:29 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:40:29 ---> Running in e8eaf14f79ef 23:40:29 Removing intermediate container e8eaf14f79ef 23:40:29 ---> c14b435f1da1 23:40:29 Step 20/22 : LABEL arch=arm64 23:40:29 ---> Running in f3934a227c98 23:40:29 Removing intermediate container f3934a227c98 23:40:29 ---> 56ce21538ae9 23:40:29 Step 21/22 : LABEL git_sha=b0c18ac1281d7b8112966dca73ed99450a52f26a 23:40:30 ---> Running in 3324255eb017 23:40:30 Removing intermediate container 3324255eb017 23:40:30 ---> 7334d9589301 23:40:30 Step 22/22 : LABEL version=0.0.0 23:40:30 ---> Running in 2b3fbb3372c8 23:40:30 Removing intermediate container 2b3fbb3372c8 23:40:30 ---> b99eb2f0bd6d 23:40:30 [Warning] One or more build-args [ARCH] were not consumed 23:40:30 Successfully built b99eb2f0bd6d 23:40:30 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 23:40:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:40:31 23:40:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:40:31 arm64: Pulling from edgex-lftools-log-publisher 23:40:31 8998bd30e6a1: Pulling fs layer 23:40:31 04944245beec: Pulling fs layer 23:40:31 699f458cf7ca: Pulling fs layer 23:40:31 765212b225bb: Pulling fs layer 23:40:31 f23df028b6ca: Pulling fs layer 23:40:31 d65c8cfc05b1: Pulling fs layer 23:40:31 2437ff75d9bd: Pulling fs layer 23:40:31 f23df028b6ca: Waiting 23:40:31 d65c8cfc05b1: Waiting 23:40:31 2437ff75d9bd: Waiting 23:40:31 765212b225bb: Waiting 23:40:31 04944245beec: Verifying Checksum 23:40:31 04944245beec: Download complete 23:40:31 765212b225bb: Verifying Checksum 23:40:31 765212b225bb: Download complete 23:40:31 f23df028b6ca: Download complete 23:40:31 d65c8cfc05b1: Verifying Checksum 23:40:31 d65c8cfc05b1: Download complete 23:40:32 699f458cf7ca: Verifying Checksum 23:40:32 699f458cf7ca: Download complete 23:40:32 8998bd30e6a1: Verifying Checksum 23:40:32 8998bd30e6a1: Download complete 23:40:35 2437ff75d9bd: Verifying Checksum 23:40:35 2437ff75d9bd: Download complete 23:40:37 8998bd30e6a1: Pull complete 23:40:37 04944245beec: Pull complete 23:40:38 699f458cf7ca: Pull complete 23:40:39 765212b225bb: Pull complete 23:40:40 f23df028b6ca: Pull complete 23:40:40 d65c8cfc05b1: Pull complete 23:40:55 2437ff75d9bd: Pull complete 23:40:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:40:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:40:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:40:55 prd-ubuntu20.04-docker-arm64-4c-16g-6334 does not seem to be running inside a container 23:40:55 $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 23:40:58 $ docker top d3fb210837a753db996679707a459bae5eedba9ef3f3f26934c54847cff86773 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:40:59 ---> job-cost.sh 23:40:59 lf-activate-venv: SKIPPING 23:40:59 INFO: No Stack... 23:40:59 INFO: Retrieving Pricing Info for: v3-standard-4 23:41:00 INFO: Archiving Costs [Pipeline] sh 23:41:01 + cat /w/workspace/device-modbus-go/3/archives/cost.csv 23:41:01 + cut -d, -f6 [Pipeline] lock 23:41:01 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-447-3-stack-cost] 23:41:01 Resource [jenkins-edgexfoundry-device-modbus-go-PR-447-3-stack-cost] did not exist. Created. 23:41:01 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-447-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:41:02 /w/workspace/device-modbus-go/3@tmp/durable-44a8ab3c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:41:02 + echo total: 0.10999999940395355 [Pipeline] stash 23:41:02 Warning: overwriting stash ‘stack-cost’ 23:41:02 Stashed 1 file(s) [Pipeline] } 23:41:02 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-447-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:41:03 $ docker stop --time=1 d3fb210837a753db996679707a459bae5eedba9ef3f3f26934c54847cff86773 23:41:04 $ docker rm -f --volumes d3fb210837a753db996679707a459bae5eedba9ef3f3f26934c54847cff86773 [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 23:41:04 provisioning config files... 23:41:05 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-447@tmp/config10318031662794840424tmp [Pipeline] { [Pipeline] sh 23:41:05 + set +x 23:41:05 + + curl -s https://codecov.io/bash 23:41:05 bash -s -- 23:41:05 23:41:05 _____ _ 23:41:05 / ____| | | 23:41:05 | | ___ __| | ___ ___ _____ __ 23:41:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:41:05 | |___| (_) | (_| | __/ (_| (_) \ V / 23:41:05 \_____\___/ \__,_|\___|\___\___/ \_/ 23:41:05 Bash-1.0.6 23:41:05 23:41:05 23:41:05 ==> git version 2.25.1 found 23:41:05 ==> 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 23:41:05 Release-Date: 2020-01-08 23:41:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:41:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:41:05 ==> Jenkins CI detected. 23:41:05 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-447 23:41:05 project root: . 23:41:05 --> token set from env 23:41:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:41:05 ==> Running gcov in . (disable via -X gcov) 23:41:05 ==> Python coveragepy not found 23:41:05 ==> Searching for coverage reports in: 23:41:05 + . 23:41:05 -> Found 1 reports 23:41:05 ==> Detecting git/mercurial file structure 23:41:05 ==> Reading reports 23:41:05 + ./coverage.out bytes=23739 23:41:05 ==> Appending adjustments 23:41:05 https://docs.codecov.io/docs/fixing-reports 23:41:05 + Found adjustments 23:41:05 ==> Gzipping contents 23:41:05 4.0K /tmp/codecov.Tljhv7.gz 23:41:05 ==> Uploading reports 23:41:05 url: https://codecov.io 23:41:05 query: branch=PR-447&commit=b0c18ac1281d7b8112966dca73ed99450a52f26a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-447%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=447&job=&cmd_args= 23:41:05 -> Pinging Codecov 23:41:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-447&commit=b0c18ac1281d7b8112966dca73ed99450a52f26a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-447%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=447&job=&cmd_args= 23:41:05 -> Uploading to 23:41:05 https://storage.googleapis.com/codecov/v4/raw/2023-03-29/55DBCA73C666E3227836607328DD7E49/b0c18ac1281d7b8112966dca73ed99450a52f26a/a7541272-dbf0-44a7-9631-0b014d70b9ff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230329T234105Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b840da37742b1830aa554682241a685653221eb576db9f6353cfea035635820c 23:41:05 % Total % Received % Xferd Average Speed Time Time Time Current 23:41:05 Dload Upload Total Spent Left Speed 23:41:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3877 0 0 100 3877 0 14520 --:--:-- --:--:-- --:--:-- 14520 23:41:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/b0c18ac1281d7b8112966dca73ed99450a52f26a [Pipeline] } 23:41:06 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 23:41:06 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-447/archives ] 23:41:06 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-447/archives 23:41:06 total 16 23:41:06 drwxr-xr-x 3 root root 4096 Mar 29 23:29 . 23:41:06 drwxrwxr-x 11 jenkins jenkins 4096 Mar 29 23:29 .. 23:41:06 drwxr-xr-x 2 root root 4096 Mar 29 23:29 cost 23:41:06 -rw-r--r-- 1 root root 88 Mar 29 23:29 cost.csv 23:41:06 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-447/archives 23:41:06 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-447/archives 23:41:06 total 16 23:41:06 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 23:29 . 23:41:06 drwxrwxr-x 11 jenkins jenkins 4096 Mar 29 23:29 .. 23:41:06 drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 23:29 cost 23:41:06 -rw-r--r-- 1 jenkins jenkins 88 Mar 29 23:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:41:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:41:07 ---> package-listing.sh 23:41:07 ++ facter osfamily 23:41:07 ++ tr '[:upper:]' '[:lower:]' 23:41:08 + OS_FAMILY=debian 23:41:08 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-447 23:41:08 + START_PACKAGES=/tmp/packages_start.txt 23:41:08 + END_PACKAGES=/tmp/packages_end.txt 23:41:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:41:08 + PACKAGES=/tmp/packages_start.txt 23:41:08 + '[' /w/workspace/xfoundry_device-modbus-go_PR-447 ']' 23:41:08 + PACKAGES=/tmp/packages_end.txt 23:41:08 + case "${OS_FAMILY}" in 23:41:08 + dpkg -l 23:41:08 + grep '^ii' 23:41:08 + '[' -f /tmp/packages_start.txt ']' 23:41:08 + '[' -f /tmp/packages_end.txt ']' 23:41:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:41:08 + '[' /w/workspace/xfoundry_device-modbus-go_PR-447 ']' 23:41:08 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-447/archives/ 23:41:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-447/archives/ [Pipeline] echo 23:41:08 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-447/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:41:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:41:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:41:09 prd-ubuntu20.04-docker-8c-8g-6327 does not seem to be running inside a container 23:41:09 $ 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-447/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-447 -v /w/workspace/xfoundry_device-modbus-go_PR-447:/w/workspace/xfoundry_device-modbus-go_PR-447:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-447@tmp:/w/workspace/xfoundry_device-modbus-go_PR-447@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 23:41:09 $ docker top 7e49bfcdf6f3ecc13becdb2c0e36f58384981e7493eb3e41046b8e4269a33e90 -eo pid,comm [Pipeline] { [Pipeline] sh 23:41:09 + touch /tmp/pre-build-complete [Pipeline] sh 23:41:10 + mkdir -p /var/log/sysstat [Pipeline] sh 23:41:10 + ls /var/log/sa-host 23:41:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:41:10 provisioning config files... 23:41:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-447@tmp/config4760492298904986518tmp [Pipeline] { [Pipeline] echo 23:41:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:41:10 ---> create-netrc.sh [Pipeline] } 23:41:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:41:11 ---> python-tools-install.sh [Pipeline] echo 23:41:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:41:11 ---> sudo-logs.sh 23:41:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:41:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:41:11 ---> job-cost.sh 23:41:11 lf-activate-venv: SKIPPING 23:41:11 DEBUG: total: 0.2199999988079071 23:41:11 INFO: Retrieving Stack Cost... 23:41:11 INFO: Retrieving Pricing Info for: v3-standard-8 23:41:12 INFO: Archiving Costs [Pipeline] echo 23:41:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:41:12 ---> logs-deploy.sh 23:41:12 lf-activate-venv: SKIPPING 23:41:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-447/3 23:41:12 INFO: archiving workspace using pattern(s): 23:41:13 Archives upload complete. 23:41:13 INFO: archiving logs to Nexus