Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of mglmc for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 7e1e3f9b0a00566f3add41dca9941190c71764c6 rather than 17dc72f002ebf344085b9a752535fb7c34705e89 Obtained Jenkinsfile from 7e1e3f9b0a00566f3add41dca9941190c71764c6 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-ssh18442526856100290181.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh8199940280069548727.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-492/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-492/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7891535635560805371.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh2718553465421994265.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-492/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-492/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9990974875104684498.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3258 in /w/workspace/xfoundry_device-modbus-go_PR-492 [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-492 # 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 Merging remotes/origin/main commit 7e1e3f9b0a00566f3add41dca9941190c71764c6 into PR head commit 17dc72f002ebf344085b9a752535fb7c34705e89 > 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/492/head:refs/remotes/origin/PR-492 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 17dc72f002ebf344085b9a752535fb7c34705e89 # timeout=10 Merge succeeded, producing a642c798a117432c37d12e7c8e5d21a06a001c13 Checking out Revision a642c798a117432c37d12e7c8e5d21a06a001c13 (PR-492) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 7e1e3f9b0a00566f3add41dca9941190c71764c6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a642c798a117432c37d12e7c8e5d21a06a001c13 # timeout=10 Commit message: "Merge commit '7e1e3f9b0a00566f3add41dca9941190c71764c6' into HEAD" > git rev-list --no-walk 17dc72f002ebf344085b9a752535fb7c34705e89 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:54:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:54:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:54:28 ========================================================= 00:54:28 EdgeX Global Pipelines Version Info 00:54:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:54:29 ------------------- 00:54:29 stable info: 00:54:29 ------------------- 00:54:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:54:29 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 00:54:29 Message: update stable to v1.0.250 00:54:29 ------------------- 00:54:29 experimental info: 00:54:29 ------------------- 00:54:29 Commited By: **** collab-it+edgex@linuxfoundation.org 00:54:29 Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 00:54:29 Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:54:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 00:54:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 00:54:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:54:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:54:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:54:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:54:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:54:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:54:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:54:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:54:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:54:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 00:54:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:54:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:54:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:54:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:54:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:54:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:54:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:54:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:54:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:54:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:54:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:54:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:54:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:54:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:54:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:54:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-492 [Pipeline] echo 00:54:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-492 [Pipeline] echo 00:54:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-492 [Pipeline] echo 00:54:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a642c798a117432c37d12e7c8e5d21a06a001c13 [Pipeline] echo 00:54:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a642c79 [Pipeline] echo 00:54:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:54:30 provisioning config files... 00:54:30 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-492@tmp/config5762327436223426848tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:30 ---> docker-login.sh 00:54:30 nexus3.edgexfoundry.org:10001 00:54:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:31 Configure a credential helper to remove this warning. See 00:54:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:31 00:54:31 Login Succeeded 00:54:31 nexus3.edgexfoundry.org:10002 00:54:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:31 Configure a credential helper to remove this warning. See 00:54:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:31 00:54:31 Login Succeeded 00:54:31 nexus3.edgexfoundry.org:10003 00:54:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:31 Configure a credential helper to remove this warning. See 00:54:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:31 00:54:31 Login Succeeded 00:54:31 nexus3.edgexfoundry.org:10004 00:54:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:31 Configure a credential helper to remove this warning. See 00:54:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:31 00:54:31 Login Succeeded 00:54:31 docker.io 00:54:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:31 Configure a credential helper to remove this warning. See 00:54:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:31 00:54:31 Login Succeeded 00:54:31 ---> docker-login.sh ends [Pipeline] } 00:54:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:54:32 + git rev-list -1 --merges a642c798a117432c37d12e7c8e5d21a06a001c13~1..a642c798a117432c37d12e7c8e5d21a06a001c13 [Pipeline] echo 00:54:32 -----------> git rev-list -1 --merges a642c798a117432c37d12e7c8e5d21a06a001c13~1..a642c798a117432c37d12e7c8e5d21a06a001c13 a642c798a117432c37d12e7c8e5d21a06a001c13 00:54:32 a642c798a117432c37d12e7c8e5d21a06a001c13 [false] [Pipeline] sh 00:54:32 + git log --format=format:%s -1 a642c798a117432c37d12e7c8e5d21a06a001c13 [Pipeline] echo 00:54:32 ========================================================= 00:54:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:54:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:54:32 + git log --format=format:%s -1 a642c798a117432c37d12e7c8e5d21a06a001c13 [Pipeline] echo 00:54:32 [semverPrep] GIT_COMMIT: a642c798a117432c37d12e7c8e5d21a06a001c13, Commit Message: Merge commit '7e1e3f9b0a00566f3add41dca9941190c71764c6' into HEAD [Pipeline] echo 00:54:32 [semverPrep] This is not a build commit. [Pipeline] sh 00:54:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:54:33 + grep -v github /etc/ssh/ssh_known_hosts 00:54:33 + [ -e /tmp/ssh_known_hosts ] 00:54:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:54:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:54:33 + sudo tee -a /etc/ssh/ssh_known_hosts 00:54:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:33 00:54:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:33 0.1.4: Pulling from edgex-devops/py-git-semver 00:54:33 b85a868b505f: Pulling fs layer 00:54:33 e2be974225ed: Pulling fs layer 00:54:33 339a4e72a1f5: Pulling fs layer 00:54:33 988bab9f4d93: Pulling fs layer 00:54:33 1469e6f7b9e6: Pulling fs layer 00:54:33 eaf3925da568: Pulling fs layer 00:54:33 bab4dde63d76: Pulling fs layer 00:54:33 bde34c3a00c8: Pulling fs layer 00:54:33 b352a97aabf1: Pulling fs layer 00:54:33 4872d77fe225: Pulling fs layer 00:54:33 5851b861e8e6: Pulling fs layer 00:54:33 988bab9f4d93: Waiting 00:54:33 1469e6f7b9e6: Waiting 00:54:33 eaf3925da568: Waiting 00:54:33 bab4dde63d76: Waiting 00:54:33 bde34c3a00c8: Waiting 00:54:33 b352a97aabf1: Waiting 00:54:33 4872d77fe225: Waiting 00:54:33 5851b861e8e6: Waiting 00:54:33 e2be974225ed: Download complete 00:54:33 988bab9f4d93: Verifying Checksum 00:54:33 988bab9f4d93: Download complete 00:54:33 1469e6f7b9e6: Verifying Checksum 00:54:33 1469e6f7b9e6: Download complete 00:54:34 339a4e72a1f5: Verifying Checksum 00:54:34 339a4e72a1f5: Download complete 00:54:34 eaf3925da568: Download complete 00:54:34 bde34c3a00c8: Download complete 00:54:34 b352a97aabf1: Download complete 00:54:34 4872d77fe225: Download complete 00:54:34 5851b861e8e6: Verifying Checksum 00:54:34 5851b861e8e6: Download complete 00:54:34 b85a868b505f: Download complete 00:54:34 bab4dde63d76: Verifying Checksum 00:54:34 bab4dde63d76: Download complete 00:54:35 b85a868b505f: Pull complete 00:54:35 e2be974225ed: Pull complete 00:54:35 339a4e72a1f5: Pull complete 00:54:35 988bab9f4d93: Pull complete 00:54:36 1469e6f7b9e6: Pull complete 00:54:36 eaf3925da568: Pull complete 00:54:37 bab4dde63d76: Pull complete 00:54:37 bde34c3a00c8: Pull complete 00:54:37 b352a97aabf1: Pull complete 00:54:37 4872d77fe225: Pull complete 00:54:38 5851b861e8e6: Pull complete 00:54:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:54:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:38 prd-ubuntu20.04-docker-8c-8g-3258 does not seem to be running inside a container 00:54:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-492 -v /w/workspace/xfoundry_device-modbus-go_PR-492:/w/workspace/xfoundry_device-modbus-go_PR-492:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-492@tmp:/w/workspace/xfoundry_device-modbus-go_PR-492@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:54:40 $ docker top 3ebef51487bb596b3b0187d05a9e69b9cad05a5922bd0ad8b73b5df51f63fc09 -eo pid,comm 00:54:41 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). 00:54:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:54:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:54:41 [ssh-agent] Looking for ssh-agent implementation... 00:54:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:54:41 $ docker exec 3ebef51487bb596b3b0187d05a9e69b9cad05a5922bd0ad8b73b5df51f63fc09 ssh-agent 00:54:41 SSH_AUTH_SOCK=/tmp/ssh-qMPEoZtOIqeT/agent.31 00:54:41 SSH_AGENT_PID=37 00:54:41 Running ssh-add (command line suppressed) 00:54:41 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-492@tmp/private_key_3303037918862035451.key (/w/workspace/xfoundry_device-modbus-go_PR-492@tmp/private_key_3303037918862035451.key) 00:54:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:54:41 + git tag --points-at HEAD [Pipeline] } 00:54:41 $ docker exec --env ******** --env ******** 3ebef51487bb596b3b0187d05a9e69b9cad05a5922bd0ad8b73b5df51f63fc09 ssh-agent -k 00:54:41 unset SSH_AUTH_SOCK; 00:54:41 unset SSH_AGENT_PID; 00:54:41 echo Agent pid 37 killed; 00:54:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:54:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:54:41 [ssh-agent] Looking for ssh-agent implementation... 00:54:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:54:41 $ docker exec 3ebef51487bb596b3b0187d05a9e69b9cad05a5922bd0ad8b73b5df51f63fc09 ssh-agent 00:54:42 SSH_AUTH_SOCK=/tmp/ssh-fM1AA3i4kkAA/agent.69 00:54:42 SSH_AGENT_PID=75 00:54:42 Running ssh-add (command line suppressed) 00:54:42 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-492@tmp/private_key_16398882456798157305.key (/w/workspace/xfoundry_device-modbus-go_PR-492@tmp/private_key_16398882456798157305.key) 00:54:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:54:42 + git semver init 00:54:42 2023-08-10 00:54:42,699 [run_init] DEBUG init version:0.0.0 force:False 00:54:42 2023-08-10 00:54:42,700 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-492/.semver 00:54:42 2023-08-10 00:54:42,700 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-492/.semver 00:54:42 2023-08-10 00:54:42,701 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-492/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-492, universal_newlines=False, shell=None, istream=None) 00:54:43 2023-08-10 00:54:43,531 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-492/.git/info/exclude 00:54:43 2023-08-10 00:54:43,532 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-492/.semver/PR-492 with force:False 00:54:43 2023-08-10 00:54:43,532 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-492/.semver/PR-492 00:54:43 2023-08-10 00:54:43,536 [execute] INFO git cat-file --batch-check 00:54:43 2023-08-10 00:54:43,536 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-492/.semver, universal_newlines=False, shell=None, istream=) 00:54:43 2023-08-10 00:54:43,541 [execute] INFO git cat-file --batch 00:54:43 2023-08-10 00:54:43,542 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-492/.semver, universal_newlines=False, shell=None, istream=) 00:54:43 2023-08-10 00:54:43,545 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-492/.semver/PR-492 00:54:43 0.0.0 [Pipeline] } 00:54:43 $ docker exec --env ******** --env ******** 3ebef51487bb596b3b0187d05a9e69b9cad05a5922bd0ad8b73b5df51f63fc09 ssh-agent -k 00:54:43 unset SSH_AUTH_SOCK; 00:54:43 unset SSH_AGENT_PID; 00:54:43 echo Agent pid 75 killed; 00:54:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:54:44 + git semver [Pipeline] } 00:54:44 $ docker stop --time=1 3ebef51487bb596b3b0187d05a9e69b9cad05a5922bd0ad8b73b5df51f63fc09 00:54:45 $ docker rm -f --volumes 3ebef51487bb596b3b0187d05a9e69b9cad05a5922bd0ad8b73b5df51f63fc09 [Pipeline] // withDockerContainer [Pipeline] sh 00:54:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:54:46 Stashed 1 file(s) [Pipeline] echo 00:54:46 [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 00:54:46 provisioning config files... 00:54:46 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-492@tmp/config13405822734262341844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:46 ---> docker-login.sh 00:54:46 nexus3.edgexfoundry.org:10001 00:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:46 Configure a credential helper to remove this warning. See 00:54:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:46 00:54:46 Login Succeeded 00:54:46 nexus3.edgexfoundry.org:10002 00:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:46 Configure a credential helper to remove this warning. See 00:54:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:46 00:54:46 Login Succeeded 00:54:46 nexus3.edgexfoundry.org:10003 00:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:46 Configure a credential helper to remove this warning. See 00:54:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:46 00:54:46 Login Succeeded 00:54:46 nexus3.edgexfoundry.org:10004 00:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:46 Configure a credential helper to remove this warning. See 00:54:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:46 00:54:46 Login Succeeded 00:54:46 docker.io 00:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:47 Configure a credential helper to remove this warning. See 00:54:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:47 00:54:47 Login Succeeded 00:54:47 ---> docker-login.sh ends [Pipeline] } 00:54:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:54:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:54:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:54:47 ========================================================= 00:54:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:54:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:47 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:54:47 Sending build context to Docker daemon 6.427MB 00:54:47 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:54:47 Step 2/10 : FROM ${BASE} AS builder 00:54:47 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:54:47 4db1b89c0bd1: Pulling fs layer 00:54:47 6911f1a30b25: Pulling fs layer 00:54:47 e194b8c5c2a9: Pulling fs layer 00:54:47 6863d3e3a2b1: Pulling fs layer 00:54:47 ec0bb842ea78: Pulling fs layer 00:54:47 40a00589a448: Pulling fs layer 00:54:47 6c08303d61cc: Pulling fs layer 00:54:47 6863d3e3a2b1: Waiting 00:54:47 ec0bb842ea78: Waiting 00:54:47 40a00589a448: Waiting 00:54:47 798269fcf238: Pulling fs layer 00:54:47 6c08303d61cc: Waiting 00:54:47 798269fcf238: Waiting 00:54:47 6911f1a30b25: Verifying Checksum 00:54:47 6911f1a30b25: Download complete 00:54:47 4db1b89c0bd1: Verifying Checksum 00:54:47 4db1b89c0bd1: Download complete 00:54:47 6863d3e3a2b1: Verifying Checksum 00:54:47 6863d3e3a2b1: Download complete 00:54:47 ec0bb842ea78: Verifying Checksum 00:54:47 ec0bb842ea78: Download complete 00:54:47 40a00589a448: Verifying Checksum 00:54:47 40a00589a448: Download complete 00:54:47 4db1b89c0bd1: Pull complete 00:54:48 6911f1a30b25: Pull complete 00:54:48 798269fcf238: Verifying Checksum 00:54:48 798269fcf238: Download complete 00:54:48 e194b8c5c2a9: Download complete 00:54:48 6c08303d61cc: Verifying Checksum 00:54:48 6c08303d61cc: Download complete 00:54:51 e194b8c5c2a9: Pull complete 00:54:51 6863d3e3a2b1: Pull complete 00:54:51 ec0bb842ea78: Pull complete 00:54:51 40a00589a448: Pull complete 00:54:53 6c08303d61cc: Pull complete 00:54:54 798269fcf238: Pull complete 00:54:54 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 00:54:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:54:54 ---> ec979cd7f677 00:54:54 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:55:00 ---> Running in 0630289bcd25 00:55:00 Removing intermediate container 0630289bcd25 00:55:00 ---> 5159af84bf48 00:55:00 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:55:00 ---> Running in 4e13102d2aa8 00:55:00 Removing intermediate container 4e13102d2aa8 00:55:00 ---> 16c6383dc96b 00:55:00 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:55:00 ---> Running in 3ee0c40a5c5d 00:55:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:55:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:55:00 (1/8) Installing openssh-keygen (9.1_p1-r4) 00:55:00 (2/8) Installing libedit (20221030.3.1-r0) 00:55:00 (3/8) Installing openssh-client-common (9.1_p1-r4) 00:55:00 (4/8) Installing openssh-client-default (9.1_p1-r4) 00:55:00 (5/8) Installing openssh-sftp-server (9.1_p1-r4) 00:55:00 (6/8) Installing openssh-server-common (9.1_p1-r4) 00:55:00 (7/8) Installing openssh-server (9.1_p1-r4) 00:55:00 (8/8) Installing openssh (9.1_p1-r4) 00:55:00 Executing busybox-1.35.0-r29.trigger 00:55:00 OK: 270 MiB in 61 packages 00:55:00 Removing intermediate container 3ee0c40a5c5d 00:55:00 ---> 4665244a7e8d 00:55:00 Step 6/10 : WORKDIR /device-modbus-go 00:55:00 ---> Running in 2227c8bcc8cf 00:55:00 Removing intermediate container 2227c8bcc8cf 00:55:00 ---> 13c8c30b0f41 00:55:00 Step 7/10 : COPY go.mod vendor* ./ 00:55:00 ---> 9ee31e4c33a6 00:55:00 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:55:01 ---> Running in a19b5f1e43ea 00:55:01 Still waiting to schedule task 00:55:01 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-3257’ 00:56:08 Removing intermediate container a19b5f1e43ea 00:56:08 ---> 00b8ede65e68 00:56:08 Step 9/10 : COPY . . 00:56:08 ---> e103e7931edf 00:56:08 Step 10/10 : RUN ${MAKE} 00:56:08 ---> Running in b6db1dd62bc0 00:56:08 noop 00:56:08 Removing intermediate container b6db1dd62bc0 00:56:08 ---> aad826d1c781 00:56:08 Successfully built aad826d1c781 00:56:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:09 + docker inspect -f . ci-base-image-x86_64 00:56:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:09 prd-ubuntu20.04-docker-8c-8g-3258 does not seem to be running inside a container 00:56:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-492 -v /w/workspace/xfoundry_device-modbus-go_PR-492:/w/workspace/xfoundry_device-modbus-go_PR-492:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-492@tmp:/w/workspace/xfoundry_device-modbus-go_PR-492@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:56:09 $ docker top 3ebd3c5565a67378df98797ff2c67e8fb6246842613307b381a323906457ae8b -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:09 + go version 00:56:09 go version go1.20.6 linux/amd64 [Pipeline] } 00:56:09 $ docker stop --time=1 3ebd3c5565a67378df98797ff2c67e8fb6246842613307b381a323906457ae8b 00:56:11 $ docker rm -f --volumes 3ebd3c5565a67378df98797ff2c67e8fb6246842613307b381a323906457ae8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:11 + docker inspect -f . ci-base-image-x86_64 00:56:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:11 prd-ubuntu20.04-docker-8c-8g-3258 does not seem to be running inside a container 00:56:11 $ 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-492 -v /w/workspace/xfoundry_device-modbus-go_PR-492:/w/workspace/xfoundry_device-modbus-go_PR-492:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-492@tmp:/w/workspace/xfoundry_device-modbus-go_PR-492@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:56:12 $ docker top 9f46253632f7c1d1ee064abd71b63e1ee4625a679038e004bee0d008b186a243 -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:12 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-492 [Pipeline] fileExists [Pipeline] sh 00:56:12 + make test 00:56:12 go test ./... -coverprofile=coverage.out 00:56:17 ? github.com/edgexfoundry/device-modbus-go [no test files] 00:56:26 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 00:56:26 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.9% of statements 00:56:31 go vet ./... 00:56:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:56:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:56:35 ./bin/test-attribution-txt.sh [Pipeline] echo 00:56:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:56:35 $ docker stop --time=1 9f46253632f7c1d1ee064abd71b63e1ee4625a679038e004bee0d008b186a243 00:56:38 $ docker rm -f --volumes 9f46253632f7c1d1ee064abd71b63e1ee4625a679038e004bee0d008b186a243 [Pipeline] // withDockerContainer [Pipeline] sh 00:56:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:56:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:56:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:56:40 + ls -al . 00:56:40 total 188 00:56:40 drwxrwxr-x 10 jenkins jenkins 4096 Aug 10 00:56 . 00:56:40 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 00:54 .. 00:56:40 -rw-rw-r-- 1 jenkins jenkins 140 Aug 10 00:54 .dockerignore 00:56:40 drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 00:54 .git 00:56:40 drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 00:54 .github 00:56:40 -rw-rw-r-- 1 jenkins jenkins 331 Aug 10 00:54 .gitignore 00:56:40 -rw-rw-r-- 1 jenkins jenkins 41 Aug 10 00:54 .golangci.yml 00:56:40 drwxr-xr-x 3 jenkins jenkins 4096 Aug 10 00:54 .semver 00:56:40 -rw-rw-r-- 1 jenkins jenkins 10032 Aug 10 00:54 Attribution.txt 00:56:40 -rw-rw-r-- 1 jenkins jenkins 14764 Aug 10 00:54 CHANGELOG.md 00:56:40 -rw-rw-r-- 1 jenkins jenkins 1365 Aug 10 00:54 Dockerfile 00:56:40 -rw-rw-r-- 1 jenkins jenkins 677 Aug 10 00:54 GOVERNANCE.md 00:56:40 -rw-rw-r-- 1 jenkins jenkins 680 Aug 10 00:54 Jenkinsfile 00:56:40 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 10 00:54 LICENSE 00:56:40 -rw-rw-r-- 1 jenkins jenkins 1705 Aug 10 00:54 Makefile 00:56:40 -rw-rw-r-- 1 jenkins jenkins 622 Aug 10 00:54 OWNERS.md 00:56:40 -rw-rw-r-- 1 jenkins jenkins 4578 Aug 10 00:54 README.md 00:56:40 -rw-rw-r-- 1 jenkins jenkins 5 Aug 10 00:54 VERSION 00:56:40 drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 00:54 bin 00:56:40 drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 00:54 cmd 00:56:40 -rw-r--r-- 1 jenkins jenkins 24334 Aug 10 00:56 coverage.out 00:56:40 -rw-rw-r-- 1 jenkins jenkins 3405 Aug 10 00:54 go.mod 00:56:40 -rw-rw-r-- 1 jenkins jenkins 31664 Aug 10 00:54 go.sum 00:56:40 drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 00:54 internal 00:56:40 drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 00:54 simulator 00:56:40 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 00:54 snap 00:56:40 -rw-rw-r-- 1 jenkins jenkins 229 Aug 10 00:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:40 + 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=a642c798a117432c37d12e7c8e5d21a06a001c13 --label arch=amd64 --label version=0.0.0 . 00:56:40 Sending build context to Docker daemon 6.452MB 00:56:40 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 00:56:40 Step 2/22 : FROM ${BASE} AS builder 00:56:40 ---> aad826d1c781 00:56:40 Step 3/22 : ARG ADD_BUILD_TAGS="" 00:56:40 ---> Running in 9adbb770fcb0 00:56:40 Removing intermediate container 9adbb770fcb0 00:56:40 ---> 2f912a6eaecb 00:56:40 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:56:40 ---> Running in f5efbb0aebda 00:56:40 Removing intermediate container f5efbb0aebda 00:56:40 ---> 41222a1fa47f 00:56:40 Step 5/22 : RUN apk add --update --no-cache make git openssh 00:56:40 ---> Running in a1a9f83007de 00:56:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:56:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:56:41 OK: 270 MiB in 61 packages 00:56:41 Removing intermediate container a1a9f83007de 00:56:41 ---> d55f5a047c34 00:56:41 Step 6/22 : WORKDIR /device-modbus-go 00:56:41 ---> Running in b578e9ecd1ae 00:56:42 Removing intermediate container b578e9ecd1ae 00:56:42 ---> 062534b3f112 00:56:42 Step 7/22 : COPY go.mod vendor* ./ 00:56:42 ---> 56fc40ab6d8f 00:56:42 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:56:42 ---> Running in ab54f5709384 00:56:42 Removing intermediate container ab54f5709384 00:56:42 ---> 45efef4cc33d 00:56:42 Step 9/22 : COPY . . 00:56:43 ---> b767a6a0c38f 00:56:43 Step 10/22 : RUN ${MAKE} 00:56:43 ---> Running in 066af9a22398 00:56:43 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 00:57:05 Removing intermediate container 066af9a22398 00:57:05 ---> 65469dc02abb 00:57:05 Step 11/22 : FROM alpine:3.17 00:57:05 3.17: Pulling from library/alpine 00:57:05 9398808236ff: Pulling fs layer 00:57:05 9398808236ff: Verifying Checksum 00:57:05 9398808236ff: Download complete 00:57:05 9398808236ff: Pull complete 00:57:05 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 00:57:05 Status: Downloaded newer image for alpine:3.17 00:57:05 ---> 1e0b8b5322fc 00:57:05 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 00:57:05 ---> Running in ad42a89ffcdd 00:57:05 Removing intermediate container ad42a89ffcdd 00:57:05 ---> 6819cbdee736 00:57:05 Step 13/22 : RUN apk add --update --no-cache dumb-init 00:57:05 ---> Running in 53de9910cee0 00:57:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:57:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:57:05 (1/1) Installing dumb-init (1.2.5-r2) 00:57:05 Executing busybox-1.35.0-r29.trigger 00:57:05 OK: 7 MiB in 16 packages 00:57:05 Removing intermediate container 53de9910cee0 00:57:05 ---> 6f87c6dbba25 00:57:05 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 00:57:05 ---> 753e118860cd 00:57:05 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 00:57:05 ---> 2966fc8a782e 00:57:05 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 00:57:05 ---> 3bb2695cdb56 00:57:05 Step 17/22 : EXPOSE 59901 00:57:05 ---> Running in ab89971b1b3d 00:57:05 Removing intermediate container ab89971b1b3d 00:57:05 ---> d1febdb4c15f 00:57:05 Step 18/22 : ENTRYPOINT ["/device-modbus"] 00:57:05 ---> Running in 244c0a4f7573 00:57:05 Removing intermediate container 244c0a4f7573 00:57:05 ---> bbff213a58e5 00:57:05 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:57:05 ---> Running in dd5859151672 00:57:05 Removing intermediate container dd5859151672 00:57:05 ---> 2f1c1f9bbacf 00:57:05 Step 20/22 : LABEL arch=amd64 00:57:05 ---> Running in f0ee96b71625 00:57:05 Removing intermediate container f0ee96b71625 00:57:05 ---> a9fac3ff9de1 00:57:05 Step 21/22 : LABEL git_sha=a642c798a117432c37d12e7c8e5d21a06a001c13 00:57:05 ---> Running in 962661364e39 00:57:06 Removing intermediate container 962661364e39 00:57:06 ---> 31486158807a 00:57:06 Step 22/22 : LABEL version=0.0.0 00:57:06 ---> Running in fa38f2fc47f5 00:57:06 Removing intermediate container fa38f2fc47f5 00:57:06 ---> 1ce17b972a17 00:57:06 [Warning] One or more build-args [ARCH] were not consumed 00:57:06 Successfully built 1ce17b972a17 00:57:06 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 00:57:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:06 00:57:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:06 latest: Pulling from edgex-lftools-log-publisher 00:57:06 5eb5b503b376: Pulling fs layer 00:57:06 5c69ac0246d0: Pulling fs layer 00:57:06 ec43610c2a17: Pulling fs layer 00:57:06 3a2ae6a8a46f: Pulling fs layer 00:57:06 33b1e0a273af: Pulling fs layer 00:57:06 5d3b04190fa2: Pulling fs layer 00:57:06 2f39f015ded8: Pulling fs layer 00:57:06 3a2ae6a8a46f: Waiting 00:57:06 33b1e0a273af: Waiting 00:57:06 5d3b04190fa2: Waiting 00:57:06 2f39f015ded8: Waiting 00:57:06 5c69ac0246d0: Verifying Checksum 00:57:06 5c69ac0246d0: Download complete 00:57:06 3a2ae6a8a46f: Verifying Checksum 00:57:06 3a2ae6a8a46f: Download complete 00:57:06 33b1e0a273af: Download complete 00:57:06 ec43610c2a17: Verifying Checksum 00:57:06 ec43610c2a17: Download complete 00:57:06 5d3b04190fa2: Download complete 00:57:07 5eb5b503b376: Verifying Checksum 00:57:07 5eb5b503b376: Download complete 00:57:07 2f39f015ded8: Download complete 00:57:08 5eb5b503b376: Pull complete 00:57:08 5c69ac0246d0: Pull complete 00:57:08 ec43610c2a17: Pull complete 00:57:08 3a2ae6a8a46f: Pull complete 00:57:09 33b1e0a273af: Pull complete 00:57:09 5d3b04190fa2: Pull complete 00:57:13 2f39f015ded8: Pull complete 00:57:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:57:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:13 prd-ubuntu20.04-docker-8c-8g-3258 does not seem to be running inside a container 00:57:13 $ 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-492 -v /w/workspace/xfoundry_device-modbus-go_PR-492:/w/workspace/xfoundry_device-modbus-go_PR-492:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-492@tmp:/w/workspace/xfoundry_device-modbus-go_PR-492@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:57:18 $ docker top 2fd3850c843c7a55102d16a3cc3ffb8e05c6d0025b1e591d423277c930b517a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:57:18 ---> job-cost.sh 00:57:18 lf-activate-venv: SKIPPING 00:57:18 INFO: No Stack... 00:57:18 INFO: Retrieving Pricing Info for: v3-standard-8 00:57:18 INFO: Archiving Costs [Pipeline] sh 00:57:19 + cat /w/workspace/xfoundry_device-modbus-go_PR-492/archives/cost.csv 00:57:19 + cut -d, -f6 [Pipeline] lock 00:57:19 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-492-4-stack-cost] 00:57:19 Resource [jenkins-edgexfoundry-device-modbus-go-PR-492-4-stack-cost] did not exist. Created. 00:57:19 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-492-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:57:19 + echo total: 0.2199999988079071 [Pipeline] stash 00:57:19 Stashed 1 file(s) [Pipeline] } 00:57:19 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-492-4-stack-cost] [Pipeline] // lock [Pipeline] } 00:57:19 $ docker stop --time=1 2fd3850c843c7a55102d16a3cc3ffb8e05c6d0025b1e591d423277c930b517a8 00:57:20 $ docker rm -f --volumes 2fd3850c843c7a55102d16a3cc3ffb8e05c6d0025b1e591d423277c930b517a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:58:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3259 in /w/workspace/xfoundry_device-modbus-go_PR-492 [Pipeline] { [Pipeline] ws 00:58:31 Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout 00:58:31 Selected Git installation does not exist. Using Default 00:58:31 The recommended git tool is: NONE 00:58:36 using credential edgex-jenkins-ssh 00:58:36 Cloning the remote Git repository 00:58:36 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 00:58:36 > git init /w/workspace/device-modbus-go/4 # timeout=10 00:58:36 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:58:36 > git --version # timeout=10 00:58:36 > git --version # 'git version 2.25.1' 00:58:36 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:58:37 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:58:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:58:38 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:58:39 Merging remotes/origin/main commit 7e1e3f9b0a00566f3add41dca9941190c71764c6 into PR head commit 17dc72f002ebf344085b9a752535fb7c34705e89 00:58:39 Merge succeeded, producing 3cf8fc6bed00dd0c082a74a4cb88ecc686da01f2 00:58:39 Checking out Revision 3cf8fc6bed00dd0c082a74a4cb88ecc686da01f2 (PR-492) 00:58:38 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:58:38 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/492/head:refs/remotes/origin/PR-492 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:58:39 > git config core.sparsecheckout # timeout=10 00:58:39 > git checkout -f 17dc72f002ebf344085b9a752535fb7c34705e89 # timeout=10 00:58:39 > git remote # timeout=10 00:58:39 > git config --get remote.origin.url # timeout=10 00:58:39 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:39 > git merge 7e1e3f9b0a00566f3add41dca9941190c71764c6 # timeout=10 00:58:39 > git rev-parse HEAD^{commit} # timeout=10 00:58:39 > git config core.sparsecheckout # timeout=10 00:58:39 > git checkout -f 3cf8fc6bed00dd0c082a74a4cb88ecc686da01f2 # timeout=10 00:58:43 Commit message: "Merge commit '7e1e3f9b0a00566f3add41dca9941190c71764c6' into HEAD" 00:58:43 > git rev-list --no-walk 17dc72f002ebf344085b9a752535fb7c34705e89 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:58:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:58:44 % Total % Received % Xferd Average Speed Time Time Time Current 00:58:44 Dload Upload Total Spent Left Speed 00:58:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 00:58:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:58:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:58:45 + sudo tee /etc/docker/daemon.new 00:58:45 { 00:58:45 "registry-mirrors": [ 00:58:45 "https://nexus3.edgexfoundry.org:10001" 00:58:45 ], 00:58:45 "bip": "10.250.0.254/24", 00:58:45 "hosts": [ 00:58:45 "tcp://0.0.0.0:5555", 00:58:45 "unix:///var/run/docker.sock" 00:58:45 ], 00:58:45 "mtu": 1458, 00:58:45 "selinux-enabled": true, 00:58:45 "seccomp-profile": "/etc/docker/seccomp.json" 00:58:45 } [Pipeline] sh 00:58:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:58:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:59:04 provisioning config files... 00:59:04 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/4@tmp/config5341980048342369817tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:59:04 ---> docker-login.sh 00:59:04 nexus3.edgexfoundry.org:10001 00:59:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:05 Configure a credential helper to remove this warning. See 00:59:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:05 00:59:05 Login Succeeded 00:59:05 nexus3.edgexfoundry.org:10002 00:59:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:05 Configure a credential helper to remove this warning. See 00:59:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:05 00:59:05 Login Succeeded 00:59:05 nexus3.edgexfoundry.org:10003 00:59:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:06 Configure a credential helper to remove this warning. See 00:59:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:06 00:59:06 Login Succeeded 00:59:06 nexus3.edgexfoundry.org:10004 00:59:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:06 Configure a credential helper to remove this warning. See 00:59:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:06 00:59:06 Login Succeeded 00:59:06 docker.io 00:59:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:06 Configure a credential helper to remove this warning. See 00:59:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:06 00:59:06 Login Succeeded 00:59:06 ---> docker-login.sh ends [Pipeline] } 00:59:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:59:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:59:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:59:07 ========================================================= 00:59:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:59:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:07 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:59:07 Sending build context to Docker daemon 3.339MB 00:59:07 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:59:07 Step 2/10 : FROM ${BASE} AS builder 00:59:08 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:59:08 edb6bdbacee9: Pulling fs layer 00:59:08 5f9638ab2659: Pulling fs layer 00:59:08 8d51d6327a98: Pulling fs layer 00:59:08 8b374f2dd631: Pulling fs layer 00:59:08 ec14aa9079de: Pulling fs layer 00:59:08 2f466654f4bb: Pulling fs layer 00:59:08 554e91adad29: Pulling fs layer 00:59:08 8b374f2dd631: Waiting 00:59:08 ec14aa9079de: Waiting 00:59:08 2f466654f4bb: Waiting 00:59:08 554e91adad29: Waiting 00:59:08 5f9638ab2659: Verifying Checksum 00:59:08 5f9638ab2659: Download complete 00:59:08 8b374f2dd631: Verifying Checksum 00:59:08 8b374f2dd631: Download complete 00:59:08 ec14aa9079de: Verifying Checksum 00:59:08 ec14aa9079de: Download complete 00:59:08 edb6bdbacee9: Verifying Checksum 00:59:08 edb6bdbacee9: Download complete 00:59:09 edb6bdbacee9: Pull complete 00:59:09 554e91adad29: Verifying Checksum 00:59:09 554e91adad29: Download complete 00:59:09 5f9638ab2659: Pull complete 00:59:10 8d51d6327a98: Verifying Checksum 00:59:10 8d51d6327a98: Download complete 00:59:10 2f466654f4bb: Verifying Checksum 00:59:10 2f466654f4bb: Download complete 00:59:23 8d51d6327a98: Pull complete 00:59:23 8b374f2dd631: Pull complete 00:59:23 ec14aa9079de: Pull complete 00:59:28 2f466654f4bb: Pull complete 00:59:31 554e91adad29: Pull complete 00:59:31 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 00:59:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:59:31 ---> 1e15ea492957 00:59:31 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:59:33 ---> Running in d4378faf2b3c 00:59:33 Removing intermediate container d4378faf2b3c 00:59:33 ---> 106f7e331042 00:59:33 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:59:33 ---> Running in eea0387b8098 00:59:33 Removing intermediate container eea0387b8098 00:59:33 ---> 0ada0ec4aa7f 00:59:33 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:59:33 ---> Running in 93b7b0f46b99 00:59:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:59:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:59:36 (1/8) Installing openssh-keygen (9.1_p1-r4) 00:59:36 (2/8) Installing libedit (20221030.3.1-r0) 00:59:36 (3/8) Installing openssh-client-common (9.1_p1-r4) 00:59:36 (4/8) Installing openssh-client-default (9.1_p1-r4) 00:59:36 (5/8) Installing openssh-sftp-server (9.1_p1-r4) 00:59:36 (6/8) Installing openssh-server-common (9.1_p1-r4) 00:59:36 (7/8) Installing openssh-server (9.1_p1-r4) 00:59:36 (8/8) Installing openssh (9.1_p1-r4) 00:59:36 Executing busybox-1.35.0-r29.trigger 00:59:36 OK: 270 MiB in 61 packages 00:59:37 Removing intermediate container 93b7b0f46b99 00:59:37 ---> 5669d4ecda7c 00:59:37 Step 6/10 : WORKDIR /device-modbus-go 00:59:37 ---> Running in 1ce45c8737fa 00:59:38 Removing intermediate container 1ce45c8737fa 00:59:38 ---> 2333913d8182 00:59:38 Step 7/10 : COPY go.mod vendor* ./ 00:59:38 ---> 52d5015d1e9e 00:59:38 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:59:38 ---> Running in 6da9c0c17a6f 01:00:46 Removing intermediate container 6da9c0c17a6f 01:00:46 ---> bff5d0c66bba 01:00:46 Step 9/10 : COPY . . 01:00:46 ---> 2346afab30db 01:00:46 Step 10/10 : RUN ${MAKE} 01:00:46 ---> Running in ce7c089f5bf2 01:00:46 noop 01:00:46 Removing intermediate container ce7c089f5bf2 01:00:46 ---> fc7c260d3ddb 01:00:46 Successfully built fc7c260d3ddb 01:00:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:46 + docker inspect -f . ci-base-image-arm64 01:00:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:00:47 prd-ubuntu20.04-docker-arm64-4c-16g-3259 does not seem to be running inside a container 01:00:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:00:48 $ docker top fa4acb4f09c913e119ba16a9f0b7445fc8878515c9d98f1f8e407dc9b793264a -eo pid,comm [Pipeline] { [Pipeline] sh 01:00:49 + go version 01:00:49 go version go1.20.6 linux/arm64 [Pipeline] } 01:00:49 $ docker stop --time=1 fa4acb4f09c913e119ba16a9f0b7445fc8878515c9d98f1f8e407dc9b793264a 01:00:50 $ docker rm -f --volumes fa4acb4f09c913e119ba16a9f0b7445fc8878515c9d98f1f8e407dc9b793264a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:51 + docker inspect -f . ci-base-image-arm64 01:00:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:00:51 prd-ubuntu20.04-docker-arm64-4c-16g-3259 does not seem to be running inside a container 01:00:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:00:53 $ docker top 2bf106df397f4a9cd5701ebb6a67faa36f6ecd360dd8d8d2e0586591265ad0db -eo pid,comm [Pipeline] { [Pipeline] sh 01:00:54 + git config --global --add safe.directory /w/workspace/device-modbus-go/4 [Pipeline] fileExists [Pipeline] sh 01:00:54 + make test 01:00:54 go test ./... -coverprofile=coverage.out 01:01:28 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:03:20 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 01:03:20 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.068s coverage: 47.9% of statements 01:03:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:03:20 go vet ./... 01:03:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:03:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:03:52 ./bin/test-attribution-txt.sh [Pipeline] echo 01:03:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:03:53 $ docker stop --time=1 2bf106df397f4a9cd5701ebb6a67faa36f6ecd360dd8d8d2e0586591265ad0db 01:03:55 $ docker rm -f --volumes 2bf106df397f4a9cd5701ebb6a67faa36f6ecd360dd8d8d2e0586591265ad0db [Pipeline] // withDockerContainer [Pipeline] sh 01:03:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:03:56 Warning: overwriting stash ‘coverage-report’ 01:03:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:03:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:03:57 + ls -al . 01:03:57 total 184 01:03:57 drwxrwxr-x 9 jenkins jenkins 4096 Aug 10 01:00 . 01:03:57 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 00:58 .. 01:03:57 -rw-rw-r-- 1 jenkins jenkins 140 Aug 10 00:58 .dockerignore 01:03:57 drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 00:58 .git 01:03:57 drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 00:58 .github 01:03:57 -rw-rw-r-- 1 jenkins jenkins 331 Aug 10 00:58 .gitignore 01:03:57 -rw-rw-r-- 1 jenkins jenkins 41 Aug 10 00:58 .golangci.yml 01:03:57 -rw-rw-r-- 1 jenkins jenkins 10032 Aug 10 00:58 Attribution.txt 01:03:57 -rw-rw-r-- 1 jenkins jenkins 14764 Aug 10 00:58 CHANGELOG.md 01:03:57 -rw-rw-r-- 1 jenkins jenkins 1365 Aug 10 00:58 Dockerfile 01:03:57 -rw-rw-r-- 1 jenkins jenkins 677 Aug 10 00:58 GOVERNANCE.md 01:03:57 -rw-rw-r-- 1 jenkins jenkins 680 Aug 10 00:58 Jenkinsfile 01:03:57 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 10 00:58 LICENSE 01:03:57 -rw-rw-r-- 1 jenkins jenkins 1705 Aug 10 00:58 Makefile 01:03:57 -rw-rw-r-- 1 jenkins jenkins 622 Aug 10 00:58 OWNERS.md 01:03:57 -rw-rw-r-- 1 jenkins jenkins 4578 Aug 10 00:58 README.md 01:03:57 -rw-rw-r-- 1 jenkins jenkins 5 Aug 10 00:54 VERSION 01:03:57 drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 00:58 bin 01:03:57 drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 00:58 cmd 01:03:57 -rw-r--r-- 1 jenkins jenkins 24334 Aug 10 01:03 coverage.out 01:03:57 -rw-rw-r-- 1 jenkins jenkins 3405 Aug 10 00:58 go.mod 01:03:57 -rw-rw-r-- 1 jenkins jenkins 31664 Aug 10 00:58 go.sum 01:03:57 drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 00:58 internal 01:03:57 drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 00:58 simulator 01:03:57 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 00:58 snap 01:03:57 -rw-rw-r-- 1 jenkins jenkins 229 Aug 10 00:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:03:58 + 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=3cf8fc6bed00dd0c082a74a4cb88ecc686da01f2 --label arch=arm64 --label version=0.0.0 . 01:03:59 Sending build context to Docker daemon 3.364MB 01:03:59 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 01:03:59 Step 2/22 : FROM ${BASE} AS builder 01:03:59 ---> fc7c260d3ddb 01:03:59 Step 3/22 : ARG ADD_BUILD_TAGS="" 01:03:59 ---> Running in ea97b2f3e5bf 01:03:59 Removing intermediate container ea97b2f3e5bf 01:03:59 ---> 41946d456183 01:03:59 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:03:59 ---> Running in 9d39bfbb5d32 01:03:59 Removing intermediate container 9d39bfbb5d32 01:03:59 ---> b41b1784afcf 01:03:59 Step 5/22 : RUN apk add --update --no-cache make git openssh 01:03:59 ---> Running in 2c198fdb25be 01:04:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:04:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:04:03 OK: 270 MiB in 61 packages 01:04:06 Removing intermediate container 2c198fdb25be 01:04:06 ---> d3c5b1b0a1c3 01:04:06 Step 6/22 : WORKDIR /device-modbus-go 01:04:06 ---> Running in d51ef26d6c06 01:04:06 Removing intermediate container d51ef26d6c06 01:04:06 ---> 50082bca5ff7 01:04:06 Step 7/22 : COPY go.mod vendor* ./ 01:04:07 ---> a659fa1b4563 01:04:07 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:04:07 ---> Running in 8c8b79ae19cd 01:04:10 Removing intermediate container 8c8b79ae19cd 01:04:10 ---> a07804b94963 01:04:10 Step 9/22 : COPY . . 01:04:10 ---> 96e3df423333 01:04:10 Step 10/22 : RUN ${MAKE} 01:04:10 ---> Running in 98e2f42f95cf 01:04:11 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 01:06:17 Removing intermediate container 98e2f42f95cf 01:06:17 ---> 3fb3f8335f2b 01:06:17 Step 11/22 : FROM alpine:3.17 01:06:17 3.17: Pulling from library/alpine 01:06:17 4060ece20d7a: Pulling fs layer 01:06:17 4060ece20d7a: Verifying Checksum 01:06:17 4060ece20d7a: Download complete 01:06:17 4060ece20d7a: Pull complete 01:06:17 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 01:06:17 Status: Downloaded newer image for alpine:3.17 01:06:17 ---> 8650cd65339b 01:06:17 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 01:06:17 ---> Running in afc38b902bc2 01:06:17 Removing intermediate container afc38b902bc2 01:06:17 ---> 9b931a759419 01:06:17 Step 13/22 : RUN apk add --update --no-cache dumb-init 01:06:17 ---> Running in 93c862e3523b 01:06:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:06:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:06:17 (1/1) Installing dumb-init (1.2.5-r2) 01:06:17 Executing busybox-1.35.0-r29.trigger 01:06:17 OK: 8 MiB in 16 packages 01:06:17 Removing intermediate container 93c862e3523b 01:06:17 ---> d797adb46c89 01:06:17 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 01:06:19 ---> 0a64e4d664fa 01:06:19 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 01:06:19 ---> 1f824a4be39d 01:06:19 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 01:06:20 ---> 1f446bf7629d 01:06:20 Step 17/22 : EXPOSE 59901 01:06:20 ---> Running in 0963ef9a0c8e 01:06:20 Removing intermediate container 0963ef9a0c8e 01:06:20 ---> 15a74bdef920 01:06:20 Step 18/22 : ENTRYPOINT ["/device-modbus"] 01:06:20 ---> Running in b885a165ac90 01:06:20 Removing intermediate container b885a165ac90 01:06:20 ---> 668fdcc94ee9 01:06:20 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:06:20 ---> Running in 55fc9057f78b 01:06:21 Removing intermediate container 55fc9057f78b 01:06:21 ---> 147c8c42c039 01:06:21 Step 20/22 : LABEL arch=arm64 01:06:21 ---> Running in e7a64ac2d895 01:06:21 Removing intermediate container e7a64ac2d895 01:06:21 ---> 80ad81b55ef6 01:06:21 Step 21/22 : LABEL git_sha=3cf8fc6bed00dd0c082a74a4cb88ecc686da01f2 01:06:21 ---> Running in afa812eae38c 01:06:21 Removing intermediate container afa812eae38c 01:06:21 ---> e00efc48e207 01:06:21 Step 22/22 : LABEL version=0.0.0 01:06:21 ---> Running in e383ac653f73 01:06:22 Removing intermediate container e383ac653f73 01:06:22 ---> 502223e7879b 01:06:22 [Warning] One or more build-args [ARCH] were not consumed 01:06:22 Successfully built 502223e7879b 01:06:22 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 01:06:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:06:22 01:06:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:06:22 arm64: Pulling from edgex-lftools-log-publisher 01:06:22 8998bd30e6a1: Pulling fs layer 01:06:22 04944245beec: Pulling fs layer 01:06:22 699f458cf7ca: Pulling fs layer 01:06:22 765212b225bb: Pulling fs layer 01:06:22 f23df028b6ca: Pulling fs layer 01:06:22 d65c8cfc05b1: Pulling fs layer 01:06:22 2437ff75d9bd: Pulling fs layer 01:06:22 765212b225bb: Waiting 01:06:22 f23df028b6ca: Waiting 01:06:22 d65c8cfc05b1: Waiting 01:06:22 2437ff75d9bd: Waiting 01:06:23 04944245beec: Download complete 01:06:23 765212b225bb: Verifying Checksum 01:06:23 765212b225bb: Download complete 01:06:23 f23df028b6ca: Verifying Checksum 01:06:23 f23df028b6ca: Download complete 01:06:23 d65c8cfc05b1: Verifying Checksum 01:06:23 d65c8cfc05b1: Download complete 01:06:23 699f458cf7ca: Verifying Checksum 01:06:23 699f458cf7ca: Download complete 01:06:23 8998bd30e6a1: Download complete 01:06:26 2437ff75d9bd: Verifying Checksum 01:06:26 2437ff75d9bd: Download complete 01:06:27 8998bd30e6a1: Pull complete 01:06:27 04944245beec: Pull complete 01:06:33 699f458cf7ca: Pull complete 01:06:33 765212b225bb: Pull complete 01:06:33 f23df028b6ca: Pull complete 01:06:34 d65c8cfc05b1: Pull complete 01:06:49 2437ff75d9bd: Pull complete 01:06:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:06:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:06:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:49 prd-ubuntu20.04-docker-arm64-4c-16g-3259 does not seem to be running inside a container 01:06:49 $ 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/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:06:52 $ docker top b30f1ddfbbd817effc20957fd5091eaf5e3a450cf4a5c598a11fec587a4e96ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:06:52 ---> job-cost.sh 01:06:52 lf-activate-venv: SKIPPING 01:06:52 INFO: No Stack... 01:06:53 INFO: Retrieving Pricing Info for: v3-standard-4 01:06:54 INFO: Archiving Costs [Pipeline] sh 01:06:54 + cat /w/workspace/device-modbus-go/4/archives/cost.csv 01:06:54 + cut -d, -f6 [Pipeline] lock 01:06:54 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-492-4-stack-cost] 01:06:54 Resource [jenkins-edgexfoundry-device-modbus-go-PR-492-4-stack-cost] did not exist. Created. 01:06:54 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-492-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:06:55 /w/workspace/device-modbus-go/4@tmp/durable-94dfde2e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:06:55 + echo total: 0.10999999940395355 [Pipeline] stash 01:06:55 Warning: overwriting stash ‘stack-cost’ 01:06:55 Stashed 1 file(s) [Pipeline] } 01:06:55 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-492-4-stack-cost] [Pipeline] // lock [Pipeline] } 01:06:55 $ docker stop --time=1 b30f1ddfbbd817effc20957fd5091eaf5e3a450cf4a5c598a11fec587a4e96ce 01:06:57 $ docker rm -f --volumes b30f1ddfbbd817effc20957fd5091eaf5e3a450cf4a5c598a11fec587a4e96ce [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 01:06:57 provisioning config files... 01:06:57 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-492@tmp/config2155555247763526130tmp [Pipeline] { [Pipeline] sh 01:06:58 + set +x 01:06:58 + curl -s https://codecov.io/bash 01:06:58 + bash -s -- 01:06:58 01:06:58 _____ _ 01:06:58 / ____| | | 01:06:58 | | ___ __| | ___ ___ _____ __ 01:06:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:06:58 | |___| (_) | (_| | __/ (_| (_) \ V / 01:06:58 \_____\___/ \__,_|\___|\___\___/ \_/ 01:06:58 Bash-1.0.6 01:06:58 01:06:58 01:06:58 ==> git version 2.25.1 found 01:06:58 ==> 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 01:06:58 Release-Date: 2020-01-08 01:06:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:06:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:06:58 ==> Jenkins CI detected. 01:06:58 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-492 01:06:58 project root: . 01:06:58 --> token set from env 01:06:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:06:58 ==> Running gcov in . (disable via -X gcov) 01:06:58 ==> Python coveragepy not found 01:06:58 ==> Searching for coverage reports in: 01:06:58 + . 01:06:58 -> Found 1 reports 01:06:58 ==> Detecting git/mercurial file structure 01:06:58 ==> Reading reports 01:06:58 + ./coverage.out bytes=24334 01:06:58 ==> Appending adjustments 01:06:58 https://docs.codecov.io/docs/fixing-reports 01:06:58 + Found adjustments 01:06:58 ==> Gzipping contents 01:06:58 4.0K /tmp/codecov.1Kducn.gz 01:06:58 ==> Uploading reports 01:06:58 url: https://codecov.io 01:06:58 query: branch=PR-492&commit=a642c798a117432c37d12e7c8e5d21a06a001c13&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-492%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=492&job=&cmd_args= 01:06:58 -> Pinging Codecov 01:06:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-492&commit=a642c798a117432c37d12e7c8e5d21a06a001c13&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-492%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=492&job=&cmd_args= 01:06:58 -> Uploading to 01:06:58 https://storage.googleapis.com/codecov/v4/raw/2023-08-10/55DBCA73C666E3227836607328DD7E49/a642c798a117432c37d12e7c8e5d21a06a001c13/f3dc71a3-db87-406e-a04d-35891b63718b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230810%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230810T010658Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1ebfffa21074c466f66789972d401e0bf4faed96175c46ba86a926108a2db846 01:06:58 % Total % Received % Xferd Average Speed Time Time Time Current 01:06:58 Dload Upload Total Spent Left Speed 01:06:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 17900 --:--:-- --:--:-- --:--:-- 17820 01:06:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/a642c798a117432c37d12e7c8e5d21a06a001c13 [Pipeline] } 01:06:58 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 01:06:59 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-492/archives ] 01:06:59 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-492/archives 01:06:59 total 16 01:06:59 drwxr-xr-x 3 root root 4096 Aug 10 00:57 . 01:06:59 drwxrwxr-x 11 jenkins jenkins 4096 Aug 10 00:57 .. 01:06:59 drwxr-xr-x 2 root root 4096 Aug 10 00:57 cost 01:06:59 -rw-r--r-- 1 root root 88 Aug 10 00:57 cost.csv 01:06:59 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-492/archives 01:06:59 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-492/archives 01:06:59 total 16 01:06:59 drwxr-xr-x 3 jenkins jenkins 4096 Aug 10 00:57 . 01:06:59 drwxrwxr-x 11 jenkins jenkins 4096 Aug 10 00:57 .. 01:06:59 drwxr-xr-x 2 jenkins jenkins 4096 Aug 10 00:57 cost 01:06:59 -rw-r--r-- 1 jenkins jenkins 88 Aug 10 00:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:06:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:07:00 ---> package-listing.sh 01:07:00 ++ facter osfamily 01:07:00 ++ tr '[:upper:]' '[:lower:]' 01:07:00 + OS_FAMILY=debian 01:07:00 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-492 01:07:00 + START_PACKAGES=/tmp/packages_start.txt 01:07:00 + END_PACKAGES=/tmp/packages_end.txt 01:07:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:07:00 + PACKAGES=/tmp/packages_start.txt 01:07:00 + '[' /w/workspace/xfoundry_device-modbus-go_PR-492 ']' 01:07:00 + PACKAGES=/tmp/packages_end.txt 01:07:00 + case "${OS_FAMILY}" in 01:07:00 + dpkg -l 01:07:00 + grep '^ii' 01:07:00 + '[' -f /tmp/packages_start.txt ']' 01:07:00 + '[' -f /tmp/packages_end.txt ']' 01:07:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:07:00 + '[' /w/workspace/xfoundry_device-modbus-go_PR-492 ']' 01:07:00 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-492/archives/ 01:07:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-492/archives/ [Pipeline] echo 01:07:01 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-492/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:07:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:07:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:01 prd-ubuntu20.04-docker-8c-8g-3258 does not seem to be running inside a container 01:07:01 $ 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-492/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-492 -v /w/workspace/xfoundry_device-modbus-go_PR-492:/w/workspace/xfoundry_device-modbus-go_PR-492:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-492@tmp:/w/workspace/xfoundry_device-modbus-go_PR-492@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:07:02 $ docker top f53406880c746d2919f161888f9760c2e04cc15c9c3857de342815ec37407a4e -eo pid,comm [Pipeline] { [Pipeline] sh 01:07:02 + touch /tmp/pre-build-complete [Pipeline] sh 01:07:02 + mkdir -p /var/log/sysstat [Pipeline] sh 01:07:03 + ls /var/log/sa-host 01:07:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:07:03 provisioning config files... 01:07:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-492@tmp/config5949436421889300893tmp [Pipeline] { [Pipeline] echo 01:07:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:07:03 ---> create-netrc.sh [Pipeline] } 01:07:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:07:03 ---> python-tools-install.sh [Pipeline] echo 01:07:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:07:04 ---> sudo-logs.sh 01:07:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:07:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:07:04 ---> job-cost.sh 01:07:04 lf-activate-venv: SKIPPING 01:07:04 DEBUG: total: 0.2199999988079071 01:07:04 INFO: Retrieving Stack Cost... 01:07:04 INFO: Retrieving Pricing Info for: v3-standard-8 01:07:05 INFO: Archiving Costs [Pipeline] echo 01:07:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:07:05 ---> logs-deploy.sh 01:07:05 lf-activate-venv: SKIPPING 01:07:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-492/4 01:07:05 INFO: archiving workspace using pattern(s): 01:07:06 Archives upload complete. 01:07:06 INFO: archiving logs to Nexus