Pull request #424 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9b4e58ea57128be69c3af6c8918f6e6725d4ca65+4a922296995208ff0e4cc89e50973eb58c03687f (edd6b87cef9f53a0c8a00f143132cac47c1f4c79) 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-ssh15074997413715461342.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh956869926647614716.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-424/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-424/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2720726192127224625.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh14978664636072908826.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-424/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-424/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10608431145376170777.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-9906’ Running on prd-ubuntu20.04-docker-8c-8g-9909 in /w/workspace/xfoundry_device-modbus-go_PR-424 [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-424 # 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/424/head:refs/remotes/origin/PR-424 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4a922296995208ff0e4cc89e50973eb58c03687f into PR head commit 9b4e58ea57128be69c3af6c8918f6e6725d4ca65 Merge succeeded, producing a249f34687ecdcb662dc2e5994cfb8ec0bea8429 Checking out Revision a249f34687ecdcb662dc2e5994cfb8ec0bea8429 (PR-424) > git config core.sparsecheckout # timeout=10 > git checkout -f 9b4e58ea57128be69c3af6c8918f6e6725d4ca65 # 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 4a922296995208ff0e4cc89e50973eb58c03687f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a249f34687ecdcb662dc2e5994cfb8ec0bea8429 # timeout=10 Commit message: "Merge commit '4a922296995208ff0e4cc89e50973eb58c03687f' into HEAD" > git rev-list --no-walk 9b4e58ea57128be69c3af6c8918f6e6725d4ca65 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:56:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:56:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:56:28 ========================================================= 16:56:28 EdgeX Global Pipelines Version Info 16:56:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:56:29 ------------------- 16:56:29 stable info: 16:56:29 ------------------- 16:56:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:56:29 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:56:29 Message: update stable to v1.0.244 16:56:29 ------------------- 16:56:29 experimental info: 16:56:29 ------------------- 16:56:29 Commited By: **** collab-it+edgex@linuxfoundation.org 16:56:29 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:56:29 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:56:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 16:56:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 16:56:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:56:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:56:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:56:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:56:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:56:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:56:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:56:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:56:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:56:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 16:56:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:56:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:56:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:56:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:56:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:56:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:56:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:56:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:56:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:56:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:56:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:56:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:56:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:56:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:56:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:56:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-424 [Pipeline] echo 16:56:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-424 [Pipeline] echo 16:56:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-424 [Pipeline] echo 16:56:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a249f34687ecdcb662dc2e5994cfb8ec0bea8429 [Pipeline] echo 16:56:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a249f34 [Pipeline] echo 16:56:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:56:30 provisioning config files... 16:56:30 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-424@tmp/config12703002180657624949tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:56:30 ---> docker-login.sh 16:56:30 nexus3.edgexfoundry.org:10001 16:56:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:30 Configure a credential helper to remove this warning. See 16:56:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:30 16:56:30 Login Succeeded 16:56:30 nexus3.edgexfoundry.org:10002 16:56:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:30 Configure a credential helper to remove this warning. See 16:56:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:30 16:56:30 Login Succeeded 16:56:30 nexus3.edgexfoundry.org:10003 16:56:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:31 Configure a credential helper to remove this warning. See 16:56:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:31 16:56:31 Login Succeeded 16:56:31 nexus3.edgexfoundry.org:10004 16:56:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:31 Configure a credential helper to remove this warning. See 16:56:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:31 16:56:31 Login Succeeded 16:56:31 docker.io 16:56:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:31 Configure a credential helper to remove this warning. See 16:56:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:31 16:56:31 Login Succeeded 16:56:31 ---> docker-login.sh ends [Pipeline] } 16:56:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:56:31 + git rev-list -1 --merges a249f34687ecdcb662dc2e5994cfb8ec0bea8429~1..a249f34687ecdcb662dc2e5994cfb8ec0bea8429 [Pipeline] echo 16:56:31 -----------> git rev-list -1 --merges a249f34687ecdcb662dc2e5994cfb8ec0bea8429~1..a249f34687ecdcb662dc2e5994cfb8ec0bea8429 a249f34687ecdcb662dc2e5994cfb8ec0bea8429 16:56:31 a249f34687ecdcb662dc2e5994cfb8ec0bea8429 [false] [Pipeline] sh 16:56:32 + git log --format=format:%s -1 a249f34687ecdcb662dc2e5994cfb8ec0bea8429 [Pipeline] echo 16:56:32 ========================================================= 16:56:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:56:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:56:32 + git log --format=format:%s -1 a249f34687ecdcb662dc2e5994cfb8ec0bea8429 [Pipeline] echo 16:56:32 [semverPrep] GIT_COMMIT: a249f34687ecdcb662dc2e5994cfb8ec0bea8429, Commit Message: Merge commit '4a922296995208ff0e4cc89e50973eb58c03687f' into HEAD [Pipeline] echo 16:56:32 [semverPrep] This is not a build commit. [Pipeline] sh 16:56:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:56:32 + grep -v github /etc/ssh/ssh_known_hosts 16:56:32 + [ -e /tmp/ssh_known_hosts ] 16:56:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:56:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:56:32 + sudo tee -a /etc/ssh/ssh_known_hosts 16:56:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:56:33 16:56:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:56:33 0.1.4: Pulling from edgex-devops/py-git-semver 16:56:33 b85a868b505f: Pulling fs layer 16:56:33 e2be974225ed: Pulling fs layer 16:56:33 339a4e72a1f5: Pulling fs layer 16:56:33 988bab9f4d93: Pulling fs layer 16:56:33 1469e6f7b9e6: Pulling fs layer 16:56:33 eaf3925da568: Pulling fs layer 16:56:33 bab4dde63d76: Pulling fs layer 16:56:33 bde34c3a00c8: Pulling fs layer 16:56:33 b352a97aabf1: Pulling fs layer 16:56:33 4872d77fe225: Pulling fs layer 16:56:33 5851b861e8e6: Pulling fs layer 16:56:33 988bab9f4d93: Waiting 16:56:33 1469e6f7b9e6: Waiting 16:56:33 eaf3925da568: Waiting 16:56:33 bab4dde63d76: Waiting 16:56:33 b352a97aabf1: Waiting 16:56:33 4872d77fe225: Waiting 16:56:33 bde34c3a00c8: Waiting 16:56:33 e2be974225ed: Download complete 16:56:33 988bab9f4d93: Download complete 16:56:33 1469e6f7b9e6: Verifying Checksum 16:56:33 1469e6f7b9e6: Download complete 16:56:33 eaf3925da568: Verifying Checksum 16:56:33 eaf3925da568: Download complete 16:56:33 339a4e72a1f5: Verifying Checksum 16:56:33 339a4e72a1f5: Download complete 16:56:33 bde34c3a00c8: Verifying Checksum 16:56:33 bde34c3a00c8: Download complete 16:56:33 b352a97aabf1: Download complete 16:56:33 4872d77fe225: Download complete 16:56:33 5851b861e8e6: Verifying Checksum 16:56:33 5851b861e8e6: Download complete 16:56:33 b85a868b505f: Verifying Checksum 16:56:33 b85a868b505f: Download complete 16:56:33 bab4dde63d76: Verifying Checksum 16:56:33 bab4dde63d76: Download complete 16:56:34 b85a868b505f: Pull complete 16:56:35 e2be974225ed: Pull complete 16:56:35 339a4e72a1f5: Pull complete 16:56:35 988bab9f4d93: Pull complete 16:56:35 1469e6f7b9e6: Pull complete 16:56:35 eaf3925da568: Pull complete 16:56:37 bab4dde63d76: Pull complete 16:56:37 bde34c3a00c8: Pull complete 16:56:37 b352a97aabf1: Pull complete 16:56:37 4872d77fe225: Pull complete 16:56:37 5851b861e8e6: Pull complete 16:56:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:56:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:56:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:56:37 prd-ubuntu20.04-docker-8c-8g-9909 does not seem to be running inside a container 16:56:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-424 -v /w/workspace/xfoundry_device-modbus-go_PR-424:/w/workspace/xfoundry_device-modbus-go_PR-424:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-424@tmp:/w/workspace/xfoundry_device-modbus-go_PR-424@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:56:39 $ docker top 4d8d2414c7989a49f107029240086c8f604ad906c65c59740082bc2da0638604 -eo pid,comm 16:56:39 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:56:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:56:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:56:39 [ssh-agent] Looking for ssh-agent implementation... 16:56:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:56:39 $ docker exec 4d8d2414c7989a49f107029240086c8f604ad906c65c59740082bc2da0638604 ssh-agent 16:56:39 SSH_AUTH_SOCK=/tmp/ssh-gBa2e7VKKvwn/agent.32 16:56:39 SSH_AGENT_PID=38 16:56:39 Running ssh-add (command line suppressed) 16:56:39 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-424@tmp/private_key_17772149161845731315.key (/w/workspace/xfoundry_device-modbus-go_PR-424@tmp/private_key_17772149161845731315.key) 16:56:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:56:40 + git tag --points-at HEAD [Pipeline] } 16:56:40 $ docker exec --env ******** --env ******** 4d8d2414c7989a49f107029240086c8f604ad906c65c59740082bc2da0638604 ssh-agent -k 16:56:40 unset SSH_AUTH_SOCK; 16:56:40 unset SSH_AGENT_PID; 16:56:40 echo Agent pid 38 killed; 16:56:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:56:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:56:40 [ssh-agent] Looking for ssh-agent implementation... 16:56:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:56:40 $ docker exec 4d8d2414c7989a49f107029240086c8f604ad906c65c59740082bc2da0638604 ssh-agent 16:56:40 SSH_AUTH_SOCK=/tmp/ssh-R9dDA4PGURkJ/agent.70 16:56:40 SSH_AGENT_PID=76 16:56:40 Running ssh-add (command line suppressed) 16:56:40 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-424@tmp/private_key_18070022313700522368.key (/w/workspace/xfoundry_device-modbus-go_PR-424@tmp/private_key_18070022313700522368.key) 16:56:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:56:41 + git semver init 16:56:41 2023-03-13 16:56:41,232 [run_init] DEBUG init version:0.0.0 force:False 16:56:41 2023-03-13 16:56:41,234 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-424/.semver 16:56:41 2023-03-13 16:56:41,234 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-424/.semver 16:56:41 2023-03-13 16:56:41,234 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-424/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-424, universal_newlines=False, shell=None, istream=None) 16:56:42 2023-03-13 16:56:42,062 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-424/.git/info/exclude 16:56:42 2023-03-13 16:56:42,063 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-424/.semver/PR-424 with force:False 16:56:42 2023-03-13 16:56:42,063 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-424/.semver/PR-424 16:56:42 2023-03-13 16:56:42,066 [execute] INFO git cat-file --batch-check 16:56:42 2023-03-13 16:56:42,067 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-424/.semver, universal_newlines=False, shell=None, istream=) 16:56:42 2023-03-13 16:56:42,073 [execute] INFO git cat-file --batch 16:56:42 2023-03-13 16:56:42,073 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-424/.semver, universal_newlines=False, shell=None, istream=) 16:56:42 2023-03-13 16:56:42,079 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-424/.semver/PR-424 16:56:42 0.0.0 [Pipeline] } 16:56:42 $ docker exec --env ******** --env ******** 4d8d2414c7989a49f107029240086c8f604ad906c65c59740082bc2da0638604 ssh-agent -k 16:56:42 unset SSH_AUTH_SOCK; 16:56:42 unset SSH_AGENT_PID; 16:56:42 echo Agent pid 76 killed; 16:56:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:56:42 + git semver [Pipeline] } 16:56:42 $ docker stop --time=1 4d8d2414c7989a49f107029240086c8f604ad906c65c59740082bc2da0638604 16:56:44 $ docker rm -f --volumes 4d8d2414c7989a49f107029240086c8f604ad906c65c59740082bc2da0638604 [Pipeline] // withDockerContainer [Pipeline] sh 16:56:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:56:44 Stashed 1 file(s) [Pipeline] echo 16:56:44 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:56:44 provisioning config files... 16:56:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-424@tmp/config3363047453974064163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:56:45 ---> docker-login.sh 16:56:45 nexus3.edgexfoundry.org:10001 16:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:45 Configure a credential helper to remove this warning. See 16:56:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:45 16:56:45 Login Succeeded 16:56:45 nexus3.edgexfoundry.org:10002 16:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:45 Configure a credential helper to remove this warning. See 16:56:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:45 16:56:45 Login Succeeded 16:56:45 nexus3.edgexfoundry.org:10003 16:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:45 Configure a credential helper to remove this warning. See 16:56:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:45 16:56:45 Login Succeeded 16:56:45 nexus3.edgexfoundry.org:10004 16:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:45 Configure a credential helper to remove this warning. See 16:56:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:45 16:56:45 Login Succeeded 16:56:45 docker.io 16:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:45 Configure a credential helper to remove this warning. See 16:56:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:45 16:56:45 Login Succeeded 16:56:45 ---> docker-login.sh ends [Pipeline] } 16:56:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:56:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:56:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:56:45 ========================================================= 16:56:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:56:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:46 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:56:46 Sending build context to Docker daemon 6.422MB 16:56:46 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 16:56:46 Step 2/10 : FROM ${BASE} AS builder 16:56:46 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:56:46 213ec9aee27d: Pulling fs layer 16:56:46 4583459ba037: Pulling fs layer 16:56:46 93c1e223e6f2: Pulling fs layer 16:56:46 53926ce57604: Pulling fs layer 16:56:46 21b2b0c7a3f4: Pulling fs layer 16:56:46 22ff95d597cd: Pulling fs layer 16:56:46 12d6caf4c0d1: Pulling fs layer 16:56:46 96b7cbca73a9: Pulling fs layer 16:56:46 a7acece74701: Pulling fs layer 16:56:46 53926ce57604: Waiting 16:56:46 21b2b0c7a3f4: Waiting 16:56:46 a7acece74701: Waiting 16:56:46 12d6caf4c0d1: Waiting 16:56:46 96b7cbca73a9: Waiting 16:56:46 22ff95d597cd: Waiting 16:56:46 93c1e223e6f2: Verifying Checksum 16:56:46 93c1e223e6f2: Download complete 16:56:46 4583459ba037: Verifying Checksum 16:56:46 4583459ba037: Download complete 16:56:46 21b2b0c7a3f4: Verifying Checksum 16:56:46 21b2b0c7a3f4: Download complete 16:56:46 22ff95d597cd: Verifying Checksum 16:56:46 22ff95d597cd: Download complete 16:56:46 213ec9aee27d: Verifying Checksum 16:56:46 213ec9aee27d: Download complete 16:56:46 12d6caf4c0d1: Verifying Checksum 16:56:46 12d6caf4c0d1: Download complete 16:56:46 213ec9aee27d: Pull complete 16:56:46 4583459ba037: Pull complete 16:56:46 93c1e223e6f2: Pull complete 16:56:47 a7acece74701: Verifying Checksum 16:56:47 a7acece74701: Download complete 16:56:47 53926ce57604: Verifying Checksum 16:56:47 53926ce57604: Download complete 16:56:47 96b7cbca73a9: Verifying Checksum 16:56:47 96b7cbca73a9: Download complete 16:56:51 53926ce57604: Pull complete 16:56:51 21b2b0c7a3f4: Pull complete 16:56:51 22ff95d597cd: Pull complete 16:56:51 12d6caf4c0d1: Pull complete 16:56:53 96b7cbca73a9: Pull complete 16:56:54 a7acece74701: Pull complete 16:56:54 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:56:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:56:54 ---> db6d94c90886 16:56:54 Step 3/10 : ARG ADD_BUILD_TAGS="" 16:56:56 ---> Running in 7d5b7fd677c3 16:56:56 Removing intermediate container 7d5b7fd677c3 16:56:56 ---> d9307e0047f2 16:56:56 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:56:56 ---> Running in a267d1a30fe7 16:56:56 Removing intermediate container a267d1a30fe7 16:56:56 ---> d0db5667b3a6 16:56:56 Step 5/10 : RUN apk add --update --no-cache make git openssh 16:56:56 ---> Running in 7137d0effee4 16:56:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:56:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:56:57 (1/8) Installing openssh-keygen (9.0_p1-r2) 16:56:57 (2/8) Installing libedit (20210910.3.1-r0) 16:56:57 (3/8) Installing openssh-client-common (9.0_p1-r2) 16:56:57 (4/8) Installing openssh-client-default (9.0_p1-r2) 16:56:57 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 16:56:57 (6/8) Installing openssh-server-common (9.0_p1-r2) 16:56:57 (7/8) Installing openssh-server (9.0_p1-r2) 16:56:57 (8/8) Installing openssh (9.0_p1-r2) 16:56:57 Executing busybox-1.35.0-r17.trigger 16:56:57 OK: 217 MiB in 59 packages 16:56:57 Removing intermediate container 7137d0effee4 16:56:57 ---> e0933239e2d6 16:56:57 Step 6/10 : WORKDIR /device-modbus-go 16:56:57 ---> Running in 8b811ef55f88 16:56:57 Removing intermediate container 8b811ef55f88 16:56:57 ---> 2bbf36f54a00 16:56:57 Step 7/10 : COPY go.mod vendor* ./ 16:56:58 ---> 8682e3641b9a 16:56:58 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:56:58 ---> Running in 66d65b22c6ff 16:56:59 Still waiting to schedule task 16:56:59 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9907’ 16:57:24 Removing intermediate container 66d65b22c6ff 16:57:24 ---> 465a1251f020 16:57:24 Step 9/10 : COPY . . 16:57:24 ---> 42aad2511aa4 16:57:24 Step 10/10 : RUN ${MAKE} 16:57:24 ---> Running in 5ef17f117aa1 16:57:24 noop 16:57:24 Removing intermediate container 5ef17f117aa1 16:57:24 ---> 254355ede297 16:57:24 Successfully built 254355ede297 16:57:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:24 + docker inspect -f . ci-base-image-x86_64 16:57:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:57:25 prd-ubuntu20.04-docker-8c-8g-9909 does not seem to be running inside a container 16:57:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-424 -v /w/workspace/xfoundry_device-modbus-go_PR-424:/w/workspace/xfoundry_device-modbus-go_PR-424:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-424@tmp:/w/workspace/xfoundry_device-modbus-go_PR-424@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 ******** ci-base-image-x86_64 cat 16:57:25 $ docker top dc61f4ae8df18c64d2a508b98ed29a01006e42883fe484f813f2e9b9ae5df1ca -eo pid,comm [Pipeline] { [Pipeline] sh 16:57:25 + go version 16:57:25 go version go1.18.7 linux/amd64 [Pipeline] } 16:57:25 $ docker stop --time=1 dc61f4ae8df18c64d2a508b98ed29a01006e42883fe484f813f2e9b9ae5df1ca 16:57:27 $ docker rm -f --volumes dc61f4ae8df18c64d2a508b98ed29a01006e42883fe484f813f2e9b9ae5df1ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:27 + docker inspect -f . ci-base-image-x86_64 16:57:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:57:27 prd-ubuntu20.04-docker-8c-8g-9909 does not seem to be running inside a container 16:57:27 $ 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-424 -v /w/workspace/xfoundry_device-modbus-go_PR-424:/w/workspace/xfoundry_device-modbus-go_PR-424:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-424@tmp:/w/workspace/xfoundry_device-modbus-go_PR-424@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 ******** ci-base-image-x86_64 cat 16:57:27 $ docker top a5dfaa8155548d7a0a106c137f0279fd5a914ce64885d995b2d236b1feaa999f -eo pid,comm [Pipeline] { [Pipeline] sh 16:57:28 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-424 [Pipeline] fileExists [Pipeline] sh 16:57:28 + make test 16:57:28 go test ./... -coverprofile=coverage.out 16:57:28 ? github.com/edgexfoundry/device-modbus-go [no test files] 16:57:36 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:57:36 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 48.0% of statements 16:57:43 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 16:57:43 go vet ./... 16:57:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:57:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:57:46 ./bin/test-attribution-txt.sh [Pipeline] echo 16:57:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:57:46 $ docker stop --time=1 a5dfaa8155548d7a0a106c137f0279fd5a914ce64885d995b2d236b1feaa999f 16:57:48 $ docker rm -f --volumes a5dfaa8155548d7a0a106c137f0279fd5a914ce64885d995b2d236b1feaa999f [Pipeline] // withDockerContainer [Pipeline] sh 16:57:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:57:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:57:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:57:49 + ls -al . 16:57:49 total 180 16:57:49 drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 16:57 . 16:57:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 16:56 .. 16:57:49 -rw-rw-r-- 1 jenkins jenkins 140 Mar 13 16:56 .dockerignore 16:57:49 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 16:57 .git 16:57:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 16:56 .github 16:57:49 -rw-rw-r-- 1 jenkins jenkins 331 Mar 13 16:56 .gitignore 16:57:49 -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 16:56 .golangci.yml 16:57:49 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 16:56 .semver 16:57:49 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 13 16:56 Attribution.txt 16:57:49 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 13 16:56 CHANGELOG.md 16:57:49 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 13 16:56 Dockerfile 16:57:49 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 16:56 GOVERNANCE.md 16:57:49 -rw-rw-r-- 1 jenkins jenkins 680 Mar 13 16:56 Jenkinsfile 16:57:49 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 16:56 LICENSE 16:57:49 -rw-rw-r-- 1 jenkins jenkins 1670 Mar 13 16:56 Makefile 16:57:49 -rw-rw-r-- 1 jenkins jenkins 622 Mar 13 16:56 OWNERS.md 16:57:49 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 13 16:56 README.md 16:57:49 -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 16:56 VERSION 16:57:49 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 16:56 bin 16:57:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 16:56 cmd 16:57:49 -rw-r--r-- 1 jenkins jenkins 23736 Mar 13 16:57 coverage.out 16:57:49 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 13 16:56 go.mod 16:57:49 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 13 16:56 go.sum 16:57:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 16:56 internal 16:57:49 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 16:56 simulator 16:57:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 16:56 snap 16:57:49 -rw-rw-r-- 1 jenkins jenkins 229 Mar 13 16:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:49 + 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=a249f34687ecdcb662dc2e5994cfb8ec0bea8429 --label arch=amd64 --label version=0.0.0 . 16:57:49 Sending build context to Docker daemon 6.446MB 16:57:49 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 16:57:49 Step 2/22 : FROM ${BASE} AS builder 16:57:49 ---> 254355ede297 16:57:49 Step 3/22 : ARG ADD_BUILD_TAGS="" 16:57:49 ---> Running in 5f2e07ecca71 16:57:49 Removing intermediate container 5f2e07ecca71 16:57:49 ---> d32b2d4e2410 16:57:49 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:57:49 ---> Running in 87bee2cf40b1 16:57:49 Removing intermediate container 87bee2cf40b1 16:57:49 ---> 0a156836c7dd 16:57:49 Step 5/22 : RUN apk add --update --no-cache make git openssh 16:57:50 ---> Running in 94ccab3a9cc6 16:57:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:57:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:57:50 OK: 217 MiB in 59 packages 16:57:51 Removing intermediate container 94ccab3a9cc6 16:57:51 ---> f12b422128a7 16:57:51 Step 6/22 : WORKDIR /device-modbus-go 16:57:51 ---> Running in 6d39e53794d0 16:57:51 Removing intermediate container 6d39e53794d0 16:57:51 ---> 9d95b0a1fbdd 16:57:51 Step 7/22 : COPY go.mod vendor* ./ 16:57:51 ---> daf914185719 16:57:51 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:57:51 ---> Running in cdb5cdcd8eec 16:57:52 Removing intermediate container cdb5cdcd8eec 16:57:52 ---> 087d04d7b3a8 16:57:52 Step 9/22 : COPY . . 16:57:52 ---> 770708b5901d 16:57:52 Step 10/22 : RUN ${MAKE} 16:57:52 ---> Running in 55a7b3512342 16:57:53 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 16:58:15 Removing intermediate container 55a7b3512342 16:58:15 ---> 7079216a4b99 16:58:15 Step 11/22 : FROM alpine:3.14 16:58:15 3.14: Pulling from library/alpine 16:58:15 d261077062b2: Pulling fs layer 16:58:15 d261077062b2: Download complete 16:58:15 d261077062b2: Pull complete 16:58:15 Digest: sha256:fa26727c28837d1471c2f1524d297a0255c153b5d023d7badd1412be7e6e12a2 16:58:15 Status: Downloaded newer image for alpine:3.14 16:58:15 ---> 6dff1269bc79 16:58:15 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 16:58:15 ---> Running in 1a2922fe7eaf 16:58:15 Removing intermediate container 1a2922fe7eaf 16:58:15 ---> a9e0a90b3d79 16:58:15 Step 13/22 : RUN apk add --update --no-cache dumb-init 16:58:15 ---> Running in 5dc918828222 16:58:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:58:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:58:15 (1/1) Installing dumb-init (1.2.5-r1) 16:58:15 Executing busybox-1.33.1-r8.trigger 16:58:15 OK: 6 MiB in 15 packages 16:58:15 Removing intermediate container 5dc918828222 16:58:15 ---> 5fe15376585a 16:58:15 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 16:58:15 ---> 330364655d5c 16:58:15 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 16:58:15 ---> ec6200d7114d 16:58:15 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 16:58:15 ---> 4b3c247a8956 16:58:15 Step 17/22 : EXPOSE 59901 16:58:15 ---> Running in 83967010e93c 16:58:15 Removing intermediate container 83967010e93c 16:58:15 ---> f9350a24df55 16:58:15 Step 18/22 : ENTRYPOINT ["/device-modbus"] 16:58:15 ---> Running in dedb45aa531e 16:58:15 Removing intermediate container dedb45aa531e 16:58:15 ---> 9b7d83cc7943 16:58:15 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:58:15 ---> Running in abc17727e028 16:58:15 Removing intermediate container abc17727e028 16:58:15 ---> 0d7a07b4ebdc 16:58:15 Step 20/22 : LABEL arch=amd64 16:58:15 ---> Running in 51cb373c6351 16:58:16 Removing intermediate container 51cb373c6351 16:58:16 ---> d39300d0f644 16:58:16 Step 21/22 : LABEL git_sha=a249f34687ecdcb662dc2e5994cfb8ec0bea8429 16:58:16 ---> Running in 56e56ec382b3 16:58:16 Removing intermediate container 56e56ec382b3 16:58:16 ---> cffeda73e49a 16:58:16 Step 22/22 : LABEL version=0.0.0 16:58:16 ---> Running in bdf56f362672 16:58:16 Removing intermediate container bdf56f362672 16:58:16 ---> f3b6eb1b2a5a 16:58:16 [Warning] One or more build-args [ARCH] were not consumed 16:58:16 Successfully built f3b6eb1b2a5a 16:58:16 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 16:58:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:58:16 16:58:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:58:17 latest: Pulling from edgex-lftools-log-publisher 16:58:17 5eb5b503b376: Pulling fs layer 16:58:17 5c69ac0246d0: Pulling fs layer 16:58:17 ec43610c2a17: Pulling fs layer 16:58:17 3a2ae6a8a46f: Pulling fs layer 16:58:17 33b1e0a273af: Pulling fs layer 16:58:17 5d3b04190fa2: Pulling fs layer 16:58:17 2f39f015ded8: Pulling fs layer 16:58:17 3a2ae6a8a46f: Waiting 16:58:17 33b1e0a273af: Waiting 16:58:17 5d3b04190fa2: Waiting 16:58:17 5c69ac0246d0: Download complete 16:58:17 3a2ae6a8a46f: Verifying Checksum 16:58:17 3a2ae6a8a46f: Download complete 16:58:17 33b1e0a273af: Download complete 16:58:17 5d3b04190fa2: Verifying Checksum 16:58:17 5d3b04190fa2: Download complete 16:58:17 ec43610c2a17: Verifying Checksum 16:58:17 ec43610c2a17: Download complete 16:58:17 5eb5b503b376: Verifying Checksum 16:58:17 5eb5b503b376: Download complete 16:58:17 2f39f015ded8: Download complete 16:58:18 5eb5b503b376: Pull complete 16:58:18 5c69ac0246d0: Pull complete 16:58:18 ec43610c2a17: Pull complete 16:58:18 3a2ae6a8a46f: Pull complete 16:58:19 33b1e0a273af: Pull complete 16:58:19 5d3b04190fa2: Pull complete 16:58:23 2f39f015ded8: Pull complete 16:58:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:58:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:58:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:58:23 prd-ubuntu20.04-docker-8c-8g-9909 does not seem to be running inside a container 16:58:23 $ 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-424 -v /w/workspace/xfoundry_device-modbus-go_PR-424:/w/workspace/xfoundry_device-modbus-go_PR-424:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-424@tmp:/w/workspace/xfoundry_device-modbus-go_PR-424@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 16:58:25 $ docker top 8d28caf6a5cdc33be4e084b0c080728ff20333cac1236d1353f441f3f6e8800c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:58:26 ---> job-cost.sh 16:58:26 lf-activate-venv: SKIPPING 16:58:26 INFO: No Stack... 16:58:26 INFO: Retrieving Pricing Info for: v3-standard-8 16:58:26 INFO: Archiving Costs [Pipeline] sh 16:58:27 + cat /w/workspace/xfoundry_device-modbus-go_PR-424/archives/cost.csv 16:58:27 + cut -d, -f6 [Pipeline] lock 16:58:27 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-424-2-stack-cost] 16:58:27 Resource [jenkins-edgexfoundry-device-modbus-go-PR-424-2-stack-cost] did not exist. Created. 16:58:27 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-424-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:58:27 + echo total: 0.2199999988079071 [Pipeline] stash 16:58:27 Stashed 1 file(s) [Pipeline] } 16:58:27 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-424-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:58:27 $ docker stop --time=1 8d28caf6a5cdc33be4e084b0c080728ff20333cac1236d1353f441f3f6e8800c 16:58:28 $ docker rm -f --volumes 8d28caf6a5cdc33be4e084b0c080728ff20333cac1236d1353f441f3f6e8800c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:00:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9914 in /w/workspace/xfoundry_device-modbus-go_PR-424 [Pipeline] { [Pipeline] ws 17:00:26 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 17:00:26 Selected Git installation does not exist. Using Default 17:00:26 The recommended git tool is: NONE 17:00:36 using credential edgex-jenkins-ssh 17:00:37 Cloning the remote Git repository 17:00:37 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 17:00:37 > git init /w/workspace/device-modbus-go/2 # timeout=10 17:00:37 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 17:00:37 > git --version # timeout=10 17:00:37 > git --version # 'git version 2.25.1' 17:00:37 using GIT_SSH to set credentials SSH Credentials for GitHub 17:00:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:00:38 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 17:00:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:00:41 Merging remotes/origin/main commit 4a922296995208ff0e4cc89e50973eb58c03687f into PR head commit 9b4e58ea57128be69c3af6c8918f6e6725d4ca65 17:00:41 Merge succeeded, producing 891544e1a4cae585953ff483aa5bec990ca3543f 17:00:41 Checking out Revision 891544e1a4cae585953ff483aa5bec990ca3543f (PR-424) 17:00:40 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 17:00:40 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 17:00:40 using GIT_SSH to set credentials SSH Credentials for GitHub 17:00:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/424/head:refs/remotes/origin/PR-424 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:00:41 > git config core.sparsecheckout # timeout=10 17:00:41 > git checkout -f 9b4e58ea57128be69c3af6c8918f6e6725d4ca65 # timeout=10 17:00:41 > git remote # timeout=10 17:00:41 > git config --get remote.origin.url # timeout=10 17:00:41 using GIT_SSH to set credentials SSH Credentials for GitHub 17:00:41 > git merge 4a922296995208ff0e4cc89e50973eb58c03687f # timeout=10 17:00:41 > git rev-parse HEAD^{commit} # timeout=10 17:00:41 > git config core.sparsecheckout # timeout=10 17:00:41 > git checkout -f 891544e1a4cae585953ff483aa5bec990ca3543f # timeout=10 17:00:45 Commit message: "Merge commit '4a922296995208ff0e4cc89e50973eb58c03687f' into HEAD" 17:00:45 > git rev-list --no-walk 9b4e58ea57128be69c3af6c8918f6e6725d4ca65 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:00:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:00:46 % Total % Received % Xferd Average Speed Time Time Time Current 17:00:46 Dload Upload Total Spent Left Speed 17:00:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 17:00:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:00:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:00:47 + sudo tee /etc/docker/daemon.new 17:00:47 { 17:00:47 "registry-mirrors": [ 17:00:47 "https://nexus3.edgexfoundry.org:10001" 17:00:47 ], 17:00:47 "bip": "10.250.0.254/24", 17:00:47 "hosts": [ 17:00:47 "tcp://0.0.0.0:5555", 17:00:47 "unix:///var/run/docker.sock" 17:00:47 ], 17:00:47 "mtu": 1458, 17:00:47 "selinux-enabled": true, 17:00:47 "seccomp-profile": "/etc/docker/seccomp.json" 17:00:47 } [Pipeline] sh 17:00:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:00:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:01:08 provisioning config files... 17:01:08 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config14747765893266228167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:01:08 ---> docker-login.sh 17:01:08 nexus3.edgexfoundry.org:10001 17:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:09 Configure a credential helper to remove this warning. See 17:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:09 17:01:09 Login Succeeded 17:01:09 nexus3.edgexfoundry.org:10002 17:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:09 Configure a credential helper to remove this warning. See 17:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:09 17:01:09 Login Succeeded 17:01:09 nexus3.edgexfoundry.org:10003 17:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:09 Configure a credential helper to remove this warning. See 17:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:09 17:01:09 Login Succeeded 17:01:09 nexus3.edgexfoundry.org:10004 17:01:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:10 Configure a credential helper to remove this warning. See 17:01:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:10 17:01:10 Login Succeeded 17:01:10 docker.io 17:01:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:11 Configure a credential helper to remove this warning. See 17:01:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:11 17:01:11 Login Succeeded 17:01:11 ---> docker-login.sh ends [Pipeline] } 17:01:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:01:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:01:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:01:11 ========================================================= 17:01:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:01:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:11 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:01:12 Sending build context to Docker daemon 3.349MB 17:01:12 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 17:01:12 Step 2/10 : FROM ${BASE} AS builder 17:01:12 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:01:12 9b18e9b68314: Pulling fs layer 17:01:12 35d82f9e3411: Pulling fs layer 17:01:12 e16973657156: Pulling fs layer 17:01:12 fc693d55d65f: Pulling fs layer 17:01:12 7e9fc2657dce: Pulling fs layer 17:01:12 dda99020689f: Pulling fs layer 17:01:12 db1c61fa0a46: Pulling fs layer 17:01:12 891c053d2c06: Pulling fs layer 17:01:12 fc693d55d65f: Waiting 17:01:12 db1c61fa0a46: Waiting 17:01:12 7e9fc2657dce: Waiting 17:01:12 891c053d2c06: Waiting 17:01:12 dda99020689f: Waiting 17:01:12 e16973657156: Verifying Checksum 17:01:12 e16973657156: Download complete 17:01:12 35d82f9e3411: Download complete 17:01:12 7e9fc2657dce: Verifying Checksum 17:01:12 7e9fc2657dce: Download complete 17:01:12 dda99020689f: Verifying Checksum 17:01:12 dda99020689f: Download complete 17:01:12 9b18e9b68314: Verifying Checksum 17:01:12 9b18e9b68314: Download complete 17:01:13 9b18e9b68314: Pull complete 17:01:13 891c053d2c06: Verifying Checksum 17:01:13 891c053d2c06: Download complete 17:01:15 db1c61fa0a46: Verifying Checksum 17:01:15 db1c61fa0a46: Download complete 17:01:15 35d82f9e3411: Pull complete 17:01:15 e16973657156: Pull complete 17:01:15 fc693d55d65f: Verifying Checksum 17:01:15 fc693d55d65f: Download complete 17:01:30 fc693d55d65f: Pull complete 17:01:30 7e9fc2657dce: Pull complete 17:01:30 dda99020689f: Pull complete 17:01:36 db1c61fa0a46: Pull complete 17:01:38 891c053d2c06: Pull complete 17:01:38 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:01:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:01:38 ---> f96f9c87975a 17:01:38 Step 3/10 : ARG ADD_BUILD_TAGS="" 17:01:39 ---> Running in 0a0735bf4c86 17:01:39 Removing intermediate container 0a0735bf4c86 17:01:39 ---> 2b979210160a 17:01:39 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:01:39 ---> Running in 42b37e47bd92 17:01:39 Removing intermediate container 42b37e47bd92 17:01:39 ---> c190d45d77d4 17:01:39 Step 5/10 : RUN apk add --update --no-cache make git openssh 17:01:39 ---> Running in 666245fbc18c 17:01:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:01:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:01:42 (1/8) Installing openssh-keygen (9.0_p1-r2) 17:01:42 (2/8) Installing libedit (20210910.3.1-r0) 17:01:42 (3/8) Installing openssh-client-common (9.0_p1-r2) 17:01:42 (4/8) Installing openssh-client-default (9.0_p1-r2) 17:01:42 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 17:01:42 (6/8) Installing openssh-server-common (9.0_p1-r2) 17:01:42 (7/8) Installing openssh-server (9.0_p1-r2) 17:01:42 (8/8) Installing openssh (9.0_p1-r2) 17:01:42 Executing busybox-1.35.0-r17.trigger 17:01:42 OK: 228 MiB in 59 packages 17:01:44 Removing intermediate container 666245fbc18c 17:01:44 ---> 37ada8c27bfc 17:01:44 Step 6/10 : WORKDIR /device-modbus-go 17:01:44 ---> Running in 6da51b1034d0 17:01:44 Removing intermediate container 6da51b1034d0 17:01:44 ---> 81f80268252b 17:01:44 Step 7/10 : COPY go.mod vendor* ./ 17:01:45 ---> cd08956e592c 17:01:45 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:01:45 ---> Running in 2afc779260fc 17:02:53 Removing intermediate container 2afc779260fc 17:02:53 ---> 410f3380a88b 17:02:53 Step 9/10 : COPY . . 17:02:53 ---> 48d6be404563 17:02:53 Step 10/10 : RUN ${MAKE} 17:02:53 ---> Running in f943206911f8 17:02:54 noop 17:02:55 Removing intermediate container f943206911f8 17:02:55 ---> 5babbe58cdd3 17:02:55 Successfully built 5babbe58cdd3 17:02:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:02:55 + docker inspect -f . ci-base-image-arm64 17:02:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:02:55 prd-ubuntu20.04-docker-arm64-4c-16g-9914 does not seem to be running inside a container 17:02:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:02:56 $ docker top 8fcde513d6a4a500b8fc034d4d404e2134580f801bc2d6ead5b7a0cf7f089f3e -eo pid,comm [Pipeline] { [Pipeline] sh 17:02:57 + go version 17:02:57 go version go1.18.7 linux/arm64 [Pipeline] } 17:02:57 $ docker stop --time=1 8fcde513d6a4a500b8fc034d4d404e2134580f801bc2d6ead5b7a0cf7f089f3e 17:02:59 $ docker rm -f --volumes 8fcde513d6a4a500b8fc034d4d404e2134580f801bc2d6ead5b7a0cf7f089f3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:00 + docker inspect -f . ci-base-image-arm64 17:03:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:03:00 prd-ubuntu20.04-docker-arm64-4c-16g-9914 does not seem to be running inside a container 17:03:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:03:01 $ docker top efdd4a6b6a7cce81d7459ce741f438de75824d1be344d21fb5132cd062f0e9cf -eo pid,comm [Pipeline] { [Pipeline] sh 17:03:02 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 17:03:03 + make test 17:03:03 go test ./... -coverprofile=coverage.out 17:03:04 ? github.com/edgexfoundry/device-modbus-go [no test files] 17:04:41 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 17:04:44 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.072s coverage: 48.0% of statements 17:04:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:04:44 go vet ./... 17:05:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:05:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:05:11 ./bin/test-attribution-txt.sh [Pipeline] echo 17:05:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:05:11 $ docker stop --time=1 efdd4a6b6a7cce81d7459ce741f438de75824d1be344d21fb5132cd062f0e9cf 17:05:13 $ docker rm -f --volumes efdd4a6b6a7cce81d7459ce741f438de75824d1be344d21fb5132cd062f0e9cf [Pipeline] // withDockerContainer [Pipeline] sh 17:05:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:05:14 Warning: overwriting stash ‘coverage-report’ 17:05:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:05:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:05:15 + ls -al . 17:05:15 total 176 17:05:15 drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 17:03 . 17:05:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 17:00 .. 17:05:15 -rw-rw-r-- 1 jenkins jenkins 140 Mar 13 17:00 .dockerignore 17:05:15 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 17:00 .git 17:05:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 17:00 .github 17:05:15 -rw-rw-r-- 1 jenkins jenkins 331 Mar 13 17:00 .gitignore 17:05:15 -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 17:00 .golangci.yml 17:05:15 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 13 17:00 Attribution.txt 17:05:15 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 13 17:00 CHANGELOG.md 17:05:15 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 13 17:00 Dockerfile 17:05:15 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 17:00 GOVERNANCE.md 17:05:15 -rw-rw-r-- 1 jenkins jenkins 680 Mar 13 17:00 Jenkinsfile 17:05:15 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 17:00 LICENSE 17:05:15 -rw-rw-r-- 1 jenkins jenkins 1670 Mar 13 17:00 Makefile 17:05:15 -rw-rw-r-- 1 jenkins jenkins 622 Mar 13 17:00 OWNERS.md 17:05:15 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 13 17:00 README.md 17:05:15 -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 16:56 VERSION 17:05:15 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 17:00 bin 17:05:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 17:00 cmd 17:05:15 -rw-r--r-- 1 jenkins jenkins 23736 Mar 13 17:04 coverage.out 17:05:15 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 13 17:00 go.mod 17:05:15 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 13 17:00 go.sum 17:05:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 17:00 internal 17:05:15 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 17:00 simulator 17:05:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 17:00 snap 17:05:15 -rw-rw-r-- 1 jenkins jenkins 229 Mar 13 17:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:16 + 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=891544e1a4cae585953ff483aa5bec990ca3543f --label arch=arm64 --label version=0.0.0 . 17:05:16 Sending build context to Docker daemon 3.374MB 17:05:16 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 17:05:16 Step 2/22 : FROM ${BASE} AS builder 17:05:16 ---> 5babbe58cdd3 17:05:16 Step 3/22 : ARG ADD_BUILD_TAGS="" 17:05:16 ---> Running in a3e41951fb59 17:05:17 Removing intermediate container a3e41951fb59 17:05:17 ---> f56ff523ccab 17:05:17 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:05:17 ---> Running in 6fbe026e54a6 17:05:17 Removing intermediate container 6fbe026e54a6 17:05:17 ---> bed3b7d1533b 17:05:17 Step 5/22 : RUN apk add --update --no-cache make git openssh 17:05:17 ---> Running in 5a9876ff56f8 17:05:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:05:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:05:20 OK: 228 MiB in 59 packages 17:05:21 Removing intermediate container 5a9876ff56f8 17:05:21 ---> b05cbb271678 17:05:21 Step 6/22 : WORKDIR /device-modbus-go 17:05:21 ---> Running in 7acb1dcfd9a7 17:05:21 Removing intermediate container 7acb1dcfd9a7 17:05:21 ---> 2263b48fec6d 17:05:21 Step 7/22 : COPY go.mod vendor* ./ 17:05:22 ---> 6cc7cabbc289 17:05:22 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:05:22 ---> Running in 589ee849a5ce 17:05:25 Removing intermediate container 589ee849a5ce 17:05:25 ---> 8befd5d93da3 17:05:25 Step 9/22 : COPY . . 17:05:26 ---> cb05c594d5fe 17:05:26 Step 10/22 : RUN ${MAKE} 17:05:26 ---> Running in 157bd806c977 17:05:27 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 17:07:49 Removing intermediate container 157bd806c977 17:07:49 ---> 6c44a7de9145 17:07:49 Step 11/22 : FROM alpine:3.14 17:07:49 3.14: Pulling from library/alpine 17:07:49 6f0e733d82e2: Pulling fs layer 17:07:49 6f0e733d82e2: Verifying Checksum 17:07:49 6f0e733d82e2: Download complete 17:07:49 6f0e733d82e2: Pull complete 17:07:49 Digest: sha256:fa26727c28837d1471c2f1524d297a0255c153b5d023d7badd1412be7e6e12a2 17:07:49 Status: Downloaded newer image for alpine:3.14 17:07:49 ---> bf97f6347a60 17:07:49 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 17:07:49 ---> Running in be48056943de 17:07:49 Removing intermediate container be48056943de 17:07:49 ---> ba9b032283c1 17:07:49 Step 13/22 : RUN apk add --update --no-cache dumb-init 17:07:49 ---> Running in e8cf3358531c 17:07:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:07:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:07:50 (1/1) Installing dumb-init (1.2.5-r1) 17:07:50 Executing busybox-1.33.1-r8.trigger 17:07:50 OK: 6 MiB in 15 packages 17:07:51 Removing intermediate container e8cf3358531c 17:07:51 ---> 1c1f3fe96a65 17:07:51 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 17:07:52 ---> 826cc3505a02 17:07:52 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 17:07:53 ---> 2bcda657397f 17:07:53 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 17:07:53 ---> 09e6658094a0 17:07:53 Step 17/22 : EXPOSE 59901 17:07:53 ---> Running in 87a207dec312 17:07:54 Removing intermediate container 87a207dec312 17:07:54 ---> 53e1f000dfa3 17:07:54 Step 18/22 : ENTRYPOINT ["/device-modbus"] 17:07:54 ---> Running in 10956b1bfc84 17:07:54 Removing intermediate container 10956b1bfc84 17:07:54 ---> 1db3824cfa27 17:07:54 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 17:07:54 ---> Running in 389b53e527e5 17:07:55 Removing intermediate container 389b53e527e5 17:07:55 ---> 1451d38f9115 17:07:55 Step 20/22 : LABEL arch=arm64 17:07:55 ---> Running in b5afb1a329f1 17:07:55 Removing intermediate container b5afb1a329f1 17:07:55 ---> 62231cd00dc1 17:07:55 Step 21/22 : LABEL git_sha=891544e1a4cae585953ff483aa5bec990ca3543f 17:07:55 ---> Running in fce5c72f0c0f 17:07:55 Removing intermediate container fce5c72f0c0f 17:07:55 ---> e3cf92541ea9 17:07:55 Step 22/22 : LABEL version=0.0.0 17:07:55 ---> Running in b470d1a4deb5 17:07:56 Removing intermediate container b470d1a4deb5 17:07:56 ---> 2233c8a173ff 17:07:56 [Warning] One or more build-args [ARCH] were not consumed 17:07:56 Successfully built 2233c8a173ff 17:07:56 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 17:07:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:07:56 17:07:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:07:57 arm64: Pulling from edgex-lftools-log-publisher 17:07:57 8998bd30e6a1: Pulling fs layer 17:07:57 04944245beec: Pulling fs layer 17:07:57 699f458cf7ca: Pulling fs layer 17:07:57 765212b225bb: Pulling fs layer 17:07:57 f23df028b6ca: Pulling fs layer 17:07:57 d65c8cfc05b1: Pulling fs layer 17:07:57 2437ff75d9bd: Pulling fs layer 17:07:57 765212b225bb: Waiting 17:07:57 f23df028b6ca: Waiting 17:07:57 d65c8cfc05b1: Waiting 17:07:57 2437ff75d9bd: Waiting 17:07:57 04944245beec: Verifying Checksum 17:07:57 04944245beec: Download complete 17:07:57 765212b225bb: Verifying Checksum 17:07:57 765212b225bb: Download complete 17:07:57 f23df028b6ca: Verifying Checksum 17:07:57 f23df028b6ca: Download complete 17:07:57 d65c8cfc05b1: Verifying Checksum 17:07:57 d65c8cfc05b1: Download complete 17:07:57 699f458cf7ca: Verifying Checksum 17:07:57 699f458cf7ca: Download complete 17:07:58 8998bd30e6a1: Verifying Checksum 17:07:58 8998bd30e6a1: Download complete 17:08:00 2437ff75d9bd: Verifying Checksum 17:08:00 2437ff75d9bd: Download complete 17:08:02 8998bd30e6a1: Pull complete 17:08:02 04944245beec: Pull complete 17:08:04 699f458cf7ca: Pull complete 17:08:04 765212b225bb: Pull complete 17:08:05 f23df028b6ca: Pull complete 17:08:05 d65c8cfc05b1: Pull complete 17:08:20 2437ff75d9bd: Pull complete 17:08:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:08:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:08:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:08:20 prd-ubuntu20.04-docker-arm64-4c-16g-9914 does not seem to be running inside a container 17:08:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:08:23 $ docker top 5e49a71b85083d212df33ae47929877084e7314d72ff5d0119e1964bd21c51bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:08:24 ---> job-cost.sh 17:08:24 lf-activate-venv: SKIPPING 17:08:24 INFO: No Stack... 17:08:24 INFO: Retrieving Pricing Info for: v3-standard-4 17:08:25 INFO: Archiving Costs [Pipeline] sh 17:08:26 + cat /w/workspace/device-modbus-go/2/archives/cost.csv 17:08:26 + cut -d, -f6 [Pipeline] lock 17:08:26 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-424-2-stack-cost] 17:08:26 Resource [jenkins-edgexfoundry-device-modbus-go-PR-424-2-stack-cost] did not exist. Created. 17:08:26 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-424-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:08:26 /w/workspace/device-modbus-go/2@tmp/durable-e15ea4a0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:08:27 + echo total: 0.10999999940395355 [Pipeline] stash 17:08:27 Warning: overwriting stash ‘stack-cost’ 17:08:27 Stashed 1 file(s) [Pipeline] } 17:08:27 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-424-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:08:27 $ docker stop --time=1 5e49a71b85083d212df33ae47929877084e7314d72ff5d0119e1964bd21c51bd 17:08:28 $ docker rm -f --volumes 5e49a71b85083d212df33ae47929877084e7314d72ff5d0119e1964bd21c51bd [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 17:08:29 provisioning config files... 17:08:29 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-424@tmp/config12488831548290928423tmp [Pipeline] { [Pipeline] sh 17:08:29 + set +x 17:08:29 + curl -s https://codecov.io/bash 17:08:29 + bash -s -- 17:08:29 17:08:29 _____ _ 17:08:29 / ____| | | 17:08:29 | | ___ __| | ___ ___ _____ __ 17:08:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:08:29 | |___| (_) | (_| | __/ (_| (_) \ V / 17:08:29 \_____\___/ \__,_|\___|\___\___/ \_/ 17:08:29 Bash-1.0.6 17:08:29 17:08:29 17:08:29 ==> git version 2.25.1 found 17:08:29 ==> 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 17:08:29 Release-Date: 2020-01-08 17:08:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:08:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:08:29 ==> Jenkins CI detected. 17:08:29 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-424 17:08:29 project root: . 17:08:29 --> token set from env 17:08:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:08:29 ==> Running gcov in . (disable via -X gcov) 17:08:29 ==> Python coveragepy not found 17:08:29 ==> Searching for coverage reports in: 17:08:29 + . 17:08:29 -> Found 1 reports 17:08:29 ==> Detecting git/mercurial file structure 17:08:29 ==> Reading reports 17:08:29 + ./coverage.out bytes=23736 17:08:29 ==> Appending adjustments 17:08:29 https://docs.codecov.io/docs/fixing-reports 17:08:29 + Found adjustments 17:08:29 ==> Gzipping contents 17:08:29 4.0K /tmp/codecov.szyyeR.gz 17:08:29 ==> Uploading reports 17:08:29 url: https://codecov.io 17:08:29 query: branch=PR-424&commit=a249f34687ecdcb662dc2e5994cfb8ec0bea8429&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-424%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=424&job=&cmd_args= 17:08:29 -> Pinging Codecov 17:08:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-424&commit=a249f34687ecdcb662dc2e5994cfb8ec0bea8429&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-424%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=424&job=&cmd_args= 17:08:29 -> Uploading to 17:08:29 https://storage.googleapis.com/codecov/v4/raw/2023-03-13/55DBCA73C666E3227836607328DD7E49/a249f34687ecdcb662dc2e5994cfb8ec0bea8429/993b545d-d15d-499e-9d92-b01dc771b631.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230313T170829Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2a014bf670e21f4b3e9baab6c76cf86c95d08caf1274d2b5951aec7554c5ae55 17:08:29 % Total % Received % Xferd Average Speed Time Time Time Current 17:08:29 Dload Upload Total Spent Left Speed 17:08:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3940 0 0 100 3940 0 16348 --:--:-- --:--:-- --:--:-- 16280 17:08:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/a249f34687ecdcb662dc2e5994cfb8ec0bea8429 [Pipeline] } 17:08:30 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 17:08:30 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-424/archives ] 17:08:30 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-424/archives 17:08:30 total 16 17:08:30 drwxr-xr-x 3 root root 4096 Mar 13 16:58 . 17:08:30 drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 16:58 .. 17:08:30 drwxr-xr-x 2 root root 4096 Mar 13 16:58 cost 17:08:30 -rw-r--r-- 1 root root 88 Mar 13 16:58 cost.csv 17:08:30 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-424/archives 17:08:30 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-424/archives 17:08:30 total 16 17:08:30 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 16:58 . 17:08:30 drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 16:58 .. 17:08:30 drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 16:58 cost 17:08:30 -rw-r--r-- 1 jenkins jenkins 88 Mar 13 16:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:08:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:08:32 ---> package-listing.sh 17:08:32 ++ facter osfamily 17:08:32 ++ tr '[:upper:]' '[:lower:]' 17:08:32 + OS_FAMILY=debian 17:08:32 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-424 17:08:32 + START_PACKAGES=/tmp/packages_start.txt 17:08:32 + END_PACKAGES=/tmp/packages_end.txt 17:08:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:08:32 + PACKAGES=/tmp/packages_start.txt 17:08:32 + '[' /w/workspace/xfoundry_device-modbus-go_PR-424 ']' 17:08:32 + PACKAGES=/tmp/packages_end.txt 17:08:32 + case "${OS_FAMILY}" in 17:08:32 + dpkg -l 17:08:32 + grep '^ii' 17:08:32 + '[' -f /tmp/packages_start.txt ']' 17:08:32 + '[' -f /tmp/packages_end.txt ']' 17:08:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:08:32 + '[' /w/workspace/xfoundry_device-modbus-go_PR-424 ']' 17:08:32 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-424/archives/ 17:08:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-424/archives/ [Pipeline] echo 17:08:32 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-424/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:08:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:08:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:08:33 prd-ubuntu20.04-docker-8c-8g-9909 does not seem to be running inside a container 17:08:33 $ 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-424/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-424 -v /w/workspace/xfoundry_device-modbus-go_PR-424:/w/workspace/xfoundry_device-modbus-go_PR-424:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-424@tmp:/w/workspace/xfoundry_device-modbus-go_PR-424@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:08:33 $ docker top f03ca8d3bd371686798a80a8ce0aa79740fd634adb3539548d31ab9adec7d780 -eo pid,comm [Pipeline] { [Pipeline] sh 17:08:33 + touch /tmp/pre-build-complete [Pipeline] sh 17:08:34 + mkdir -p /var/log/sysstat [Pipeline] sh 17:08:34 + ls /var/log/sa-host 17:08:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:08:34 provisioning config files... 17:08:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-424@tmp/config16887274879775466536tmp [Pipeline] { [Pipeline] echo 17:08:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:08:34 ---> create-netrc.sh [Pipeline] } 17:08:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:08:35 ---> python-tools-install.sh [Pipeline] echo 17:08:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:08:35 ---> sudo-logs.sh 17:08:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:08:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:08:35 ---> job-cost.sh 17:08:35 lf-activate-venv: SKIPPING 17:08:35 DEBUG: total: 0.2199999988079071 17:08:35 INFO: Retrieving Stack Cost... 17:08:37 INFO: Retrieving Pricing Info for: v3-standard-8 17:08:37 INFO: Archiving Costs [Pipeline] echo 17:08:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:08:37 ---> logs-deploy.sh 17:08:37 lf-activate-venv: SKIPPING 17:08:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-424/2 17:08:37 INFO: archiving workspace using pattern(s): 17:08:38 Archives upload complete. 17:08:38 INFO: archiving logs to Nexus