Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cff51a9ff6984741fa695930352945683dc0d381+18e5bddd1624945f7f79c46e89df23b543e6953b (1a460fb8bf8edfadb9dac3b76f175ed0c5b63e54) 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-ssh8141445730584688897.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh13129235367973950228.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-480/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-480/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh927443252686865799.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh2758155445308991723.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-480/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-480/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1452152446385538549.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-17426 in /w/workspace/xfoundry_device-modbus-go_PR-480 [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-480 # 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 18e5bddd1624945f7f79c46e89df23b543e6953b into PR head commit cff51a9ff6984741fa695930352945683dc0d381 > 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/480/head:refs/remotes/origin/PR-480 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing 3f2624f481fd41046f5f2889f913ee90aadeb0ee Checking out Revision 3f2624f481fd41046f5f2889f913ee90aadeb0ee (PR-480) > git config core.sparsecheckout # timeout=10 > git checkout -f cff51a9ff6984741fa695930352945683dc0d381 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 18e5bddd1624945f7f79c46e89df23b543e6953b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3f2624f481fd41046f5f2889f913ee90aadeb0ee # timeout=10 Commit message: "Merge commit '18e5bddd1624945f7f79c46e89df23b543e6953b' into HEAD" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk f7dca0d9478b79927c125ae52eb0d168795ec97d # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:53:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:53:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:53:43 ========================================================= 00:53:43 EdgeX Global Pipelines Version Info 00:53:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:53:43 ------------------- 00:53:43 stable info: 00:53:43 ------------------- 00:53:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:53:43 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:53:43 Message: update stable to v1.0.249 00:53:44 ------------------- 00:53:44 experimental info: 00:53:44 ------------------- 00:53:44 Commited By: **** collab-it+edgex@linuxfoundation.org 00:53:44 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:53:44 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:53:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 00:53:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 00:53:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:53:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:53:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:53:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:53:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:53:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:53:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:53:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:53:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:53:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 00:53:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:53:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:53:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:53:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:53:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:53:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:53:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:53:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:53:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:53:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:53:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:53:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:53:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:53:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:53:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:53:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-480 [Pipeline] echo 00:53:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-480 [Pipeline] echo 00:53:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-480 [Pipeline] echo 00:53:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3f2624f481fd41046f5f2889f913ee90aadeb0ee [Pipeline] echo 00:53:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3f2624f [Pipeline] echo 00:53:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:53:45 provisioning config files... 00:53:45 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/config11860233520109847797tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:53:45 ---> docker-login.sh 00:53:45 nexus3.edgexfoundry.org:10001 00:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:45 Configure a credential helper to remove this warning. See 00:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:45 00:53:45 Login Succeeded 00:53:45 nexus3.edgexfoundry.org:10002 00:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:45 Configure a credential helper to remove this warning. See 00:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:45 00:53:45 Login Succeeded 00:53:45 nexus3.edgexfoundry.org:10003 00:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:45 Configure a credential helper to remove this warning. See 00:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:45 00:53:45 Login Succeeded 00:53:45 nexus3.edgexfoundry.org:10004 00:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:45 Configure a credential helper to remove this warning. See 00:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:45 00:53:45 Login Succeeded 00:53:45 docker.io 00:53:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:46 Configure a credential helper to remove this warning. See 00:53:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:46 00:53:46 Login Succeeded 00:53:46 ---> docker-login.sh ends [Pipeline] } 00:53:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:53:46 + git rev-list -1 --merges 3f2624f481fd41046f5f2889f913ee90aadeb0ee~1..3f2624f481fd41046f5f2889f913ee90aadeb0ee [Pipeline] echo 00:53:46 -----------> git rev-list -1 --merges 3f2624f481fd41046f5f2889f913ee90aadeb0ee~1..3f2624f481fd41046f5f2889f913ee90aadeb0ee 3f2624f481fd41046f5f2889f913ee90aadeb0ee 00:53:46 3f2624f481fd41046f5f2889f913ee90aadeb0ee [false] [Pipeline] sh 00:53:47 + git log --format=format:%s -1 3f2624f481fd41046f5f2889f913ee90aadeb0ee [Pipeline] echo 00:53:47 ========================================================= 00:53:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:53:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:53:47 + git log --format=format:%s -1 3f2624f481fd41046f5f2889f913ee90aadeb0ee [Pipeline] echo 00:53:47 [semverPrep] GIT_COMMIT: 3f2624f481fd41046f5f2889f913ee90aadeb0ee, Commit Message: Merge commit '18e5bddd1624945f7f79c46e89df23b543e6953b' into HEAD [Pipeline] echo 00:53:47 [semverPrep] This is not a build commit. [Pipeline] sh 00:53:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:53:47 + grep -v github /etc/ssh/ssh_known_hosts 00:53:47 + [ -e /tmp/ssh_known_hosts ] 00:53:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:53:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:53:47 + sudo tee -a /etc/ssh/ssh_known_hosts 00:53:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:53:48 00:53:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:53:48 0.1.4: Pulling from edgex-devops/py-git-semver 00:53:48 b85a868b505f: Pulling fs layer 00:53:48 e2be974225ed: Pulling fs layer 00:53:48 339a4e72a1f5: Pulling fs layer 00:53:48 988bab9f4d93: Pulling fs layer 00:53:48 1469e6f7b9e6: Pulling fs layer 00:53:48 eaf3925da568: Pulling fs layer 00:53:48 bab4dde63d76: Pulling fs layer 00:53:48 bde34c3a00c8: Pulling fs layer 00:53:48 b352a97aabf1: Pulling fs layer 00:53:48 4872d77fe225: Pulling fs layer 00:53:48 5851b861e8e6: Pulling fs layer 00:53:48 bab4dde63d76: Waiting 00:53:48 4872d77fe225: Waiting 00:53:48 5851b861e8e6: Waiting 00:53:48 bde34c3a00c8: Waiting 00:53:48 b352a97aabf1: Waiting 00:53:48 988bab9f4d93: Waiting 00:53:48 1469e6f7b9e6: Waiting 00:53:48 eaf3925da568: Waiting 00:53:48 e2be974225ed: Verifying Checksum 00:53:48 e2be974225ed: Download complete 00:53:48 988bab9f4d93: Download complete 00:53:48 1469e6f7b9e6: Verifying Checksum 00:53:48 1469e6f7b9e6: Download complete 00:53:48 eaf3925da568: Download complete 00:53:48 339a4e72a1f5: Verifying Checksum 00:53:48 339a4e72a1f5: Download complete 00:53:48 bde34c3a00c8: Download complete 00:53:48 b352a97aabf1: Verifying Checksum 00:53:48 b352a97aabf1: Download complete 00:53:48 4872d77fe225: Download complete 00:53:48 5851b861e8e6: Download complete 00:53:48 b85a868b505f: Verifying Checksum 00:53:48 b85a868b505f: Download complete 00:53:48 bab4dde63d76: Verifying Checksum 00:53:48 bab4dde63d76: Download complete 00:53:49 b85a868b505f: Pull complete 00:53:49 e2be974225ed: Pull complete 00:53:50 339a4e72a1f5: Pull complete 00:53:50 988bab9f4d93: Pull complete 00:53:50 1469e6f7b9e6: Pull complete 00:53:50 eaf3925da568: Pull complete 00:53:52 bab4dde63d76: Pull complete 00:53:52 bde34c3a00c8: Pull complete 00:53:52 b352a97aabf1: Pull complete 00:53:52 4872d77fe225: Pull complete 00:53:52 5851b861e8e6: Pull complete 00:53:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:53:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:53:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:53:52 prd-ubuntu20.04-docker-8c-8g-17426 does not seem to be running inside a container 00:53:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-480 -v /w/workspace/xfoundry_device-modbus-go_PR-480:/w/workspace/xfoundry_device-modbus-go_PR-480:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-480@tmp:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:53:55 $ docker top 71dbe6dc42a71f5a516bd2d0e6141364fbc3b0dd94f49fc1b51a756aca75fb14 -eo pid,comm 00:53:55 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:53:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:53:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:53:55 [ssh-agent] Looking for ssh-agent implementation... 00:53:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:53:56 $ docker exec 71dbe6dc42a71f5a516bd2d0e6141364fbc3b0dd94f49fc1b51a756aca75fb14 ssh-agent 00:53:56 SSH_AUTH_SOCK=/tmp/ssh-usGgUkHUVdD6/agent.32 00:53:56 SSH_AGENT_PID=38 00:53:56 Running ssh-add (command line suppressed) 00:53:56 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-480@tmp/private_key_13081693599275250436.key (/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/private_key_13081693599275250436.key) 00:53:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:53:56 + git tag --points-at HEAD [Pipeline] } 00:53:56 $ docker exec --env ******** --env ******** 71dbe6dc42a71f5a516bd2d0e6141364fbc3b0dd94f49fc1b51a756aca75fb14 ssh-agent -k 00:53:56 unset SSH_AUTH_SOCK; 00:53:56 unset SSH_AGENT_PID; 00:53:56 echo Agent pid 38 killed; 00:53:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:53:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:53:56 [ssh-agent] Looking for ssh-agent implementation... 00:53:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:53:56 $ docker exec 71dbe6dc42a71f5a516bd2d0e6141364fbc3b0dd94f49fc1b51a756aca75fb14 ssh-agent 00:53:56 SSH_AUTH_SOCK=/tmp/ssh-z6uNir2jsquE/agent.71 00:53:56 SSH_AGENT_PID=77 00:53:56 Running ssh-add (command line suppressed) 00:53:57 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-480@tmp/private_key_1751739998053845756.key (/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/private_key_1751739998053845756.key) 00:53:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:53:57 + git semver init 00:53:57 2023-05-31 00:53:57,529 [run_init] DEBUG init version:0.0.0 force:False 00:53:57 2023-05-31 00:53:57,529 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-480/.semver 00:53:57 2023-05-31 00:53:57,530 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-480/.semver 00:53:57 2023-05-31 00:53:57,530 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-480/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-480, universal_newlines=False, shell=None, istream=None) 00:53:58 2023-05-31 00:53:58,290 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-480/.git/info/exclude 00:53:58 2023-05-31 00:53:58,290 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-480/.semver/PR-480 with force:False 00:53:58 2023-05-31 00:53:58,291 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-480/.semver/PR-480 00:53:58 2023-05-31 00:53:58,295 [execute] INFO git cat-file --batch-check 00:53:58 2023-05-31 00:53:58,295 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-480/.semver, universal_newlines=False, shell=None, istream=) 00:53:58 2023-05-31 00:53:58,303 [execute] INFO git cat-file --batch 00:53:58 2023-05-31 00:53:58,304 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-480/.semver, universal_newlines=False, shell=None, istream=) 00:53:58 2023-05-31 00:53:58,309 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-480/.semver/PR-480 00:53:58 0.0.0 [Pipeline] } 00:53:58 $ docker exec --env ******** --env ******** 71dbe6dc42a71f5a516bd2d0e6141364fbc3b0dd94f49fc1b51a756aca75fb14 ssh-agent -k 00:53:58 unset SSH_AUTH_SOCK; 00:53:58 unset SSH_AGENT_PID; 00:53:58 echo Agent pid 77 killed; 00:53:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:53:58 + git semver [Pipeline] } 00:53:59 $ docker stop --time=1 71dbe6dc42a71f5a516bd2d0e6141364fbc3b0dd94f49fc1b51a756aca75fb14 00:54:00 $ docker rm -f --volumes 71dbe6dc42a71f5a516bd2d0e6141364fbc3b0dd94f49fc1b51a756aca75fb14 [Pipeline] // withDockerContainer [Pipeline] sh 00:54:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:54:01 Stashed 1 file(s) [Pipeline] echo 00:54:01 [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:01 provisioning config files... 00:54:01 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/config16993092470393382607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:01 ---> docker-login.sh 00:54:01 nexus3.edgexfoundry.org:10001 00:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:01 Configure a credential helper to remove this warning. See 00:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:01 00:54:01 Login Succeeded 00:54:01 nexus3.edgexfoundry.org:10002 00:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:01 Configure a credential helper to remove this warning. See 00:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:01 00:54:01 Login Succeeded 00:54:01 nexus3.edgexfoundry.org:10003 00:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:01 Configure a credential helper to remove this warning. See 00:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:01 00:54:01 Login Succeeded 00:54:01 nexus3.edgexfoundry.org:10004 00:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:01 Configure a credential helper to remove this warning. See 00:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:01 00:54:01 Login Succeeded 00:54:01 docker.io 00:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:02 Configure a credential helper to remove this warning. See 00:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:02 00:54:02 Login Succeeded 00:54:02 ---> docker-login.sh ends [Pipeline] } 00:54:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:54:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:54:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:54:02 ========================================================= 00:54:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:54:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:02 + 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:02 Sending build context to Docker daemon 6.571MB 00:54:02 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:54:02 Step 2/10 : FROM ${BASE} AS builder 00:54:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:54:02 f56be85fc22e: Pulling fs layer 00:54:02 85791d961cd3: Pulling fs layer 00:54:02 d694b5ae8c79: Pulling fs layer 00:54:02 9f32a84ed3da: Pulling fs layer 00:54:02 4d19c01a9841: Pulling fs layer 00:54:02 9325e15d5711: Pulling fs layer 00:54:02 556b6ee489ea: Pulling fs layer 00:54:02 c5a4b2cf53e6: Pulling fs layer 00:54:02 9f32a84ed3da: Waiting 00:54:02 556b6ee489ea: Waiting 00:54:02 c5a4b2cf53e6: Waiting 00:54:02 9325e15d5711: Waiting 00:54:02 85791d961cd3: Download complete 00:54:02 9f32a84ed3da: Verifying Checksum 00:54:02 9f32a84ed3da: Download complete 00:54:02 4d19c01a9841: Download complete 00:54:02 f56be85fc22e: Download complete 00:54:02 9325e15d5711: Verifying Checksum 00:54:02 9325e15d5711: Download complete 00:54:02 f56be85fc22e: Pull complete 00:54:02 85791d961cd3: Pull complete 00:54:03 c5a4b2cf53e6: Verifying Checksum 00:54:03 c5a4b2cf53e6: Download complete 00:54:03 d694b5ae8c79: Verifying Checksum 00:54:03 d694b5ae8c79: Download complete 00:54:03 556b6ee489ea: Verifying Checksum 00:54:03 556b6ee489ea: Download complete 00:54:06 d694b5ae8c79: Pull complete 00:54:06 9f32a84ed3da: Pull complete 00:54:06 4d19c01a9841: Pull complete 00:54:06 9325e15d5711: Pull complete 00:54:09 556b6ee489ea: Pull complete 00:54:09 c5a4b2cf53e6: Pull complete 00:54:09 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:54:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:54:09 ---> c4be618373d6 00:54:09 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:54:14 ---> Running in 0ee9f65a9567 00:54:14 Removing intermediate container 0ee9f65a9567 00:54:14 ---> 4e81c5667a80 00:54:14 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:54:14 ---> Running in 0fb966645f9a 00:54:14 Removing intermediate container 0fb966645f9a 00:54:14 ---> c221e887b193 00:54:14 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:54:14 ---> Running in e6ec4d31127a 00:54:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:54:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:54:14 (1/8) Installing openssh-keygen (9.1_p1-r3) 00:54:14 (2/8) Installing libedit (20221030.3.1-r0) 00:54:14 (3/8) Installing openssh-client-common (9.1_p1-r3) 00:54:14 (4/8) Installing openssh-client-default (9.1_p1-r3) 00:54:14 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 00:54:14 (6/8) Installing openssh-server-common (9.1_p1-r3) 00:54:14 (7/8) Installing openssh-server (9.1_p1-r3) 00:54:14 (8/8) Installing openssh (9.1_p1-r3) 00:54:14 Executing busybox-1.35.0-r29.trigger 00:54:14 OK: 270 MiB in 61 packages 00:54:15 Removing intermediate container e6ec4d31127a 00:54:15 ---> b562bccd7670 00:54:15 Step 6/10 : WORKDIR /device-modbus-go 00:54:15 ---> Running in 94d4b4fb11a1 00:54:15 Removing intermediate container 94d4b4fb11a1 00:54:15 ---> d6903d7714f9 00:54:15 Step 7/10 : COPY go.mod vendor* ./ 00:54:15 ---> f6e79faec2b6 00:54:15 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:54:15 ---> Running in d50294ad3993 00:54:16 Still waiting to schedule task 00:54:16 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:54:41 Removing intermediate container d50294ad3993 00:54:41 ---> bd13decd1202 00:54:41 Step 9/10 : COPY . . 00:54:41 ---> a5cd3c562ba6 00:54:41 Step 10/10 : RUN ${MAKE} 00:54:41 ---> Running in 835086f07134 00:54:41 noop 00:54:41 Removing intermediate container 835086f07134 00:54:41 ---> 9526200fa0cd 00:54:41 Successfully built 9526200fa0cd 00:54:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:42 + docker inspect -f . ci-base-image-x86_64 00:54:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:42 prd-ubuntu20.04-docker-8c-8g-17426 does not seem to be running inside a container 00:54:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-480 -v /w/workspace/xfoundry_device-modbus-go_PR-480:/w/workspace/xfoundry_device-modbus-go_PR-480:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-480@tmp:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:54:42 $ docker top d4fbca107493c6df7c056bd298d495d90b0a62ec895899ed1bb000fd93ae57de -eo pid,comm [Pipeline] { [Pipeline] sh 00:54:43 + go version 00:54:43 go version go1.20.2 linux/amd64 [Pipeline] } 00:54:43 $ docker stop --time=1 d4fbca107493c6df7c056bd298d495d90b0a62ec895899ed1bb000fd93ae57de 00:54:44 $ docker rm -f --volumes d4fbca107493c6df7c056bd298d495d90b0a62ec895899ed1bb000fd93ae57de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:44 + docker inspect -f . ci-base-image-x86_64 00:54:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:44 prd-ubuntu20.04-docker-8c-8g-17426 does not seem to be running inside a container 00:54:44 $ 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-480 -v /w/workspace/xfoundry_device-modbus-go_PR-480:/w/workspace/xfoundry_device-modbus-go_PR-480:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-480@tmp:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:54:45 $ docker top e40432c33401c4fc37ca79105f3eb1fdb9cb6e91cf5b747136681bbe699d5e35 -eo pid,comm [Pipeline] { [Pipeline] sh 00:54:45 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-480 [Pipeline] fileExists [Pipeline] sh 00:54:45 + make test 00:54:45 go test ./... -coverprofile=coverage.out 00:54:49 ? github.com/edgexfoundry/device-modbus-go [no test files] 00:54:59 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 00:54:59 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.4% of statements 00:55:05 go vet ./... 00:55:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:55:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:55:07 ./bin/test-attribution-txt.sh [Pipeline] echo 00:55:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:55:07 $ docker stop --time=1 e40432c33401c4fc37ca79105f3eb1fdb9cb6e91cf5b747136681bbe699d5e35 00:55:10 $ docker rm -f --volumes e40432c33401c4fc37ca79105f3eb1fdb9cb6e91cf5b747136681bbe699d5e35 [Pipeline] // withDockerContainer [Pipeline] sh 00:55:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:55:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:55:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:55:12 + ls -al . 00:55:12 total 188 00:55:12 drwxrwxr-x 10 jenkins jenkins 4096 May 31 00:54 . 00:55:12 drwxrwxr-x 4 jenkins jenkins 4096 May 31 00:53 .. 00:55:12 -rw-rw-r-- 1 jenkins jenkins 140 May 31 00:53 .dockerignore 00:55:12 drwxrwxr-x 8 jenkins jenkins 4096 May 31 00:53 .git 00:55:12 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:53 .github 00:55:12 -rw-rw-r-- 1 jenkins jenkins 331 May 31 00:53 .gitignore 00:55:12 -rw-rw-r-- 1 jenkins jenkins 41 May 31 00:53 .golangci.yml 00:55:12 drwxr-xr-x 3 jenkins jenkins 4096 May 31 00:53 .semver 00:55:12 -rw-rw-r-- 1 jenkins jenkins 10132 May 31 00:53 Attribution.txt 00:55:12 -rw-rw-r-- 1 jenkins jenkins 14764 May 31 00:53 CHANGELOG.md 00:55:12 -rw-rw-r-- 1 jenkins jenkins 1365 May 31 00:53 Dockerfile 00:55:12 -rw-rw-r-- 1 jenkins jenkins 677 May 31 00:53 GOVERNANCE.md 00:55:12 -rw-rw-r-- 1 jenkins jenkins 680 May 31 00:53 Jenkinsfile 00:55:12 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 00:53 LICENSE 00:55:12 -rw-rw-r-- 1 jenkins jenkins 1705 May 31 00:53 Makefile 00:55:12 -rw-rw-r-- 1 jenkins jenkins 622 May 31 00:53 OWNERS.md 00:55:12 -rw-rw-r-- 1 jenkins jenkins 4578 May 31 00:53 README.md 00:55:12 -rw-rw-r-- 1 jenkins jenkins 5 May 31 00:54 VERSION 00:55:12 drwxrwxr-x 2 jenkins jenkins 4096 May 31 00:53 bin 00:55:12 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:53 cmd 00:55:12 -rw-r--r-- 1 jenkins jenkins 24160 May 31 00:54 coverage.out 00:55:12 -rw-rw-r-- 1 jenkins jenkins 3405 May 31 00:53 go.mod 00:55:12 -rw-rw-r-- 1 jenkins jenkins 31574 May 31 00:53 go.sum 00:55:12 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:53 internal 00:55:12 drwxrwxr-x 2 jenkins jenkins 4096 May 31 00:53 simulator 00:55:12 drwxrwxr-x 4 jenkins jenkins 4096 May 31 00:53 snap 00:55:12 -rw-rw-r-- 1 jenkins jenkins 229 May 31 00:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:12 + 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=3f2624f481fd41046f5f2889f913ee90aadeb0ee --label arch=amd64 --label version=0.0.0 . 00:55:12 Sending build context to Docker daemon 6.596MB 00:55:12 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 00:55:12 Step 2/22 : FROM ${BASE} AS builder 00:55:12 ---> 9526200fa0cd 00:55:12 Step 3/22 : ARG ADD_BUILD_TAGS="" 00:55:12 ---> Running in 7bb49ded1828 00:55:12 Removing intermediate container 7bb49ded1828 00:55:12 ---> ddc7d36f17f3 00:55:12 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:55:12 ---> Running in 83da1b55c751 00:55:12 Removing intermediate container 83da1b55c751 00:55:12 ---> 9ab5182c3638 00:55:12 Step 5/22 : RUN apk add --update --no-cache make git openssh 00:55:12 ---> Running in d86b24975577 00:55:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:55:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:55:13 OK: 270 MiB in 61 packages 00:55:13 Removing intermediate container d86b24975577 00:55:13 ---> a5707ae3832b 00:55:13 Step 6/22 : WORKDIR /device-modbus-go 00:55:13 ---> Running in 8b4e272a944c 00:55:13 Removing intermediate container 8b4e272a944c 00:55:13 ---> 87c2978fa11f 00:55:13 Step 7/22 : COPY go.mod vendor* ./ 00:55:13 ---> 937abdf174ac 00:55:13 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:55:13 ---> Running in c8327752b8b0 00:55:14 Removing intermediate container c8327752b8b0 00:55:14 ---> dbf1cdb2d11d 00:55:14 Step 9/22 : COPY . . 00:55:14 ---> 66e0807ff747 00:55:14 Step 10/22 : RUN ${MAKE} 00:55:14 ---> Running in 47927c624416 00:55:15 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:55:33 Removing intermediate container 47927c624416 00:55:33 ---> 33e3e4fbb406 00:55:33 Step 11/22 : FROM alpine:3.17 00:55:33 3.17: Pulling from library/alpine 00:55:33 f56be85fc22e: Already exists 00:55:33 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:55:33 Status: Downloaded newer image for alpine:3.17 00:55:33 ---> 9ed4aefc74f6 00:55:33 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 00:55:33 ---> Running in 41fdfcb41e87 00:55:33 Removing intermediate container 41fdfcb41e87 00:55:33 ---> b584d4a57572 00:55:33 Step 13/22 : RUN apk add --update --no-cache dumb-init 00:55:33 ---> Running in f4eab45b0022 00:55:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:55:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:55:34 (1/1) Installing dumb-init (1.2.5-r2) 00:55:34 Executing busybox-1.35.0-r29.trigger 00:55:34 OK: 7 MiB in 16 packages 00:55:34 Removing intermediate container f4eab45b0022 00:55:34 ---> 913fdd338c68 00:55:34 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 00:55:35 ---> 589cdc23dd28 00:55:35 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 00:55:35 ---> 3df9568ff847 00:55:35 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 00:55:35 ---> 5d492f275732 00:55:35 Step 17/22 : EXPOSE 59901 00:55:35 ---> Running in 7ecce477f02e 00:55:35 Removing intermediate container 7ecce477f02e 00:55:35 ---> 2b2abaf4cc96 00:55:35 Step 18/22 : ENTRYPOINT ["/device-modbus"] 00:55:35 ---> Running in 572bf32da7ec 00:55:35 Removing intermediate container 572bf32da7ec 00:55:35 ---> 56c638abc801 00:55:35 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:55:35 ---> Running in 54095a5fbe65 00:55:35 Removing intermediate container 54095a5fbe65 00:55:35 ---> 2bac90e4026d 00:55:35 Step 20/22 : LABEL arch=amd64 00:55:35 ---> Running in c080cd743902 00:55:36 Removing intermediate container c080cd743902 00:55:36 ---> 22cf8badddf7 00:55:36 Step 21/22 : LABEL git_sha=3f2624f481fd41046f5f2889f913ee90aadeb0ee 00:55:36 ---> Running in 08513e86563d 00:55:36 Removing intermediate container 08513e86563d 00:55:36 ---> 3791118e2d95 00:55:36 Step 22/22 : LABEL version=0.0.0 00:55:36 ---> Running in 56d95f13acd6 00:55:36 Removing intermediate container 56d95f13acd6 00:55:36 ---> 7bc8b95a24e4 00:55:36 [Warning] One or more build-args [ARCH] were not consumed 00:55:36 Successfully built 7bc8b95a24e4 00:55:36 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:55:36 00:55:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:55:36 latest: Pulling from edgex-lftools-log-publisher 00:55:36 5eb5b503b376: Pulling fs layer 00:55:36 5c69ac0246d0: Pulling fs layer 00:55:36 ec43610c2a17: Pulling fs layer 00:55:36 3a2ae6a8a46f: Pulling fs layer 00:55:36 33b1e0a273af: Pulling fs layer 00:55:36 5d3b04190fa2: Pulling fs layer 00:55:36 2f39f015ded8: Pulling fs layer 00:55:36 5d3b04190fa2: Waiting 00:55:36 3a2ae6a8a46f: Waiting 00:55:36 2f39f015ded8: Waiting 00:55:36 33b1e0a273af: Waiting 00:55:36 5c69ac0246d0: Download complete 00:55:36 3a2ae6a8a46f: Verifying Checksum 00:55:36 3a2ae6a8a46f: Download complete 00:55:36 33b1e0a273af: Download complete 00:55:36 ec43610c2a17: Verifying Checksum 00:55:36 ec43610c2a17: Download complete 00:55:36 5d3b04190fa2: Verifying Checksum 00:55:36 5d3b04190fa2: Download complete 00:55:37 5eb5b503b376: Verifying Checksum 00:55:37 5eb5b503b376: Download complete 00:55:37 2f39f015ded8: Download complete 00:55:38 5eb5b503b376: Pull complete 00:55:38 5c69ac0246d0: Pull complete 00:55:38 ec43610c2a17: Pull complete 00:55:38 3a2ae6a8a46f: Pull complete 00:55:39 33b1e0a273af: Pull complete 00:55:39 5d3b04190fa2: Pull complete 00:55:43 2f39f015ded8: Pull complete 00:55:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:55:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:55:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:43 prd-ubuntu20.04-docker-8c-8g-17426 does not seem to be running inside a container 00:55:43 $ 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-480 -v /w/workspace/xfoundry_device-modbus-go_PR-480:/w/workspace/xfoundry_device-modbus-go_PR-480:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-480@tmp:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:55:46 $ docker top 17e4b2eaa1731d4504d52738ac21d79f7a69fa3edef39e7997a0481599d2c195 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:55:47 ---> job-cost.sh 00:55:47 lf-activate-venv: SKIPPING 00:55:47 INFO: No Stack... 00:55:47 INFO: Retrieving Pricing Info for: v3-standard-8 00:55:48 INFO: Archiving Costs [Pipeline] sh 00:55:48 + + cut -d, -f6 00:55:48 cat /w/workspace/xfoundry_device-modbus-go_PR-480/archives/cost.csv [Pipeline] lock 00:55:48 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-480-10-stack-cost] 00:55:48 Resource [jenkins-edgexfoundry-device-modbus-go-PR-480-10-stack-cost] did not exist. Created. 00:55:48 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-480-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:55:49 + echo total: 0.2199999988079071 [Pipeline] stash 00:55:49 Stashed 1 file(s) [Pipeline] } 00:55:49 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-480-10-stack-cost] [Pipeline] // lock [Pipeline] } 00:55:49 $ docker stop --time=1 17e4b2eaa1731d4504d52738ac21d79f7a69fa3edef39e7997a0481599d2c195 00:55:50 $ docker rm -f --volumes 17e4b2eaa1731d4504d52738ac21d79f7a69fa3edef39e7997a0481599d2c195 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:57:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17429 in /w/workspace/xfoundry_device-modbus-go_PR-480 [Pipeline] { [Pipeline] ws 00:57:11 Running in /w/workspace/device-modbus-go/10 [Pipeline] { [Pipeline] checkout 00:57:11 Selected Git installation does not exist. Using Default 00:57:11 The recommended git tool is: NONE 00:57:17 using credential edgex-jenkins-ssh 00:57:17 Cloning the remote Git repository 00:57:17 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 00:57:17 > git init /w/workspace/device-modbus-go/10 # timeout=10 00:57:17 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:57:17 > git --version # timeout=10 00:57:17 > git --version # 'git version 2.25.1' 00:57:17 using GIT_SSH to set credentials SSH Credentials for GitHub 00:57:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:57:19 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:57:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:57:20 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:57:20 Merging remotes/origin/main commit 18e5bddd1624945f7f79c46e89df23b543e6953b into PR head commit cff51a9ff6984741fa695930352945683dc0d381 00:57:21 Merge succeeded, producing 84d5ec98441b0535d60753163d8b56c531163cfc 00:57:21 Checking out Revision 84d5ec98441b0535d60753163d8b56c531163cfc (PR-480) 00:57:20 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:57:20 using GIT_SSH to set credentials SSH Credentials for GitHub 00:57:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/480/head:refs/remotes/origin/PR-480 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:57:20 > git config core.sparsecheckout # timeout=10 00:57:20 > git checkout -f cff51a9ff6984741fa695930352945683dc0d381 # timeout=10 00:57:20 > git remote # timeout=10 00:57:20 > git config --get remote.origin.url # timeout=10 00:57:21 using GIT_SSH to set credentials SSH Credentials for GitHub 00:57:21 > git merge 18e5bddd1624945f7f79c46e89df23b543e6953b # timeout=10 00:57:21 > git rev-parse HEAD^{commit} # timeout=10 00:57:21 > git config core.sparsecheckout # timeout=10 00:57:21 > git checkout -f 84d5ec98441b0535d60753163d8b56c531163cfc # timeout=10 00:57:24 Commit message: "Merge commit '18e5bddd1624945f7f79c46e89df23b543e6953b' into HEAD" 00:57:24 First time build. Skipping changelog. 00:57:24 > git rev-list --no-walk f7dca0d9478b79927c125ae52eb0d168795ec97d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:57:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:57:25 % Total % Received % Xferd Average Speed Time Time Time Current 00:57:25 Dload Upload Total Spent Left Speed 00:57:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 172k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh 00:57:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:57:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:57:26 + sudo tee /etc/docker/daemon.new 00:57:26 { 00:57:26 "registry-mirrors": [ 00:57:26 "https://nexus3.edgexfoundry.org:10001" 00:57:26 ], 00:57:26 "bip": "10.250.0.254/24", 00:57:26 "hosts": [ 00:57:26 "tcp://0.0.0.0:5555", 00:57:26 "unix:///var/run/docker.sock" 00:57:26 ], 00:57:26 "mtu": 1458, 00:57:26 "selinux-enabled": true, 00:57:26 "seccomp-profile": "/etc/docker/seccomp.json" 00:57:26 } [Pipeline] sh 00:57:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:57:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:57:45 provisioning config files... 00:57:45 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/10@tmp/config11370065140322169796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:57:45 ---> docker-login.sh 00:57:45 nexus3.edgexfoundry.org:10001 00:57:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:57:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:57:46 Configure a credential helper to remove this warning. See 00:57:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:57:46 00:57:46 Login Succeeded 00:57:46 nexus3.edgexfoundry.org:10002 00:57:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:57:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:57:47 Configure a credential helper to remove this warning. See 00:57:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:57:47 00:57:47 Login Succeeded 00:57:47 nexus3.edgexfoundry.org:10003 00:57:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:57:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:57:47 Configure a credential helper to remove this warning. See 00:57:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:57:47 00:57:47 Login Succeeded 00:57:47 nexus3.edgexfoundry.org:10004 00:57:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:57:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:57:47 Configure a credential helper to remove this warning. See 00:57:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:57:47 00:57:47 Login Succeeded 00:57:47 docker.io 00:57:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:57:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:57:48 Configure a credential helper to remove this warning. See 00:57:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:57:48 00:57:48 Login Succeeded 00:57:48 ---> docker-login.sh ends [Pipeline] } 00:57:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:57:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:57:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:57:48 ========================================================= 00:57:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:57:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:48 + 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:57:49 Sending build context to Docker daemon 3.447MB 00:57:49 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:57:49 Step 2/10 : FROM ${BASE} AS builder 00:57:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:57:51 c41833b44d91: Pulling fs layer 00:57:51 ed15518f5707: Pulling fs layer 00:57:51 feae8fd75edb: Pulling fs layer 00:57:51 242c74f7c9fa: Pulling fs layer 00:57:51 3cdef696dda3: Pulling fs layer 00:57:51 2ced38df9373: Pulling fs layer 00:57:51 58f1dce35555: Pulling fs layer 00:57:51 2ced38df9373: Waiting 00:57:51 242c74f7c9fa: Waiting 00:57:51 58f1dce35555: Waiting 00:57:51 3cdef696dda3: Waiting 00:57:51 ed15518f5707: Verifying Checksum 00:57:51 ed15518f5707: Download complete 00:57:51 242c74f7c9fa: Verifying Checksum 00:57:51 242c74f7c9fa: Download complete 00:57:51 3cdef696dda3: Verifying Checksum 00:57:51 3cdef696dda3: Download complete 00:57:51 c41833b44d91: Verifying Checksum 00:57:51 c41833b44d91: Download complete 00:57:52 c41833b44d91: Pull complete 00:57:53 58f1dce35555: Verifying Checksum 00:57:53 58f1dce35555: Download complete 00:57:53 ed15518f5707: Pull complete 00:57:54 feae8fd75edb: Verifying Checksum 00:57:54 feae8fd75edb: Download complete 00:57:54 2ced38df9373: Verifying Checksum 00:57:54 2ced38df9373: Download complete 00:58:06 feae8fd75edb: Pull complete 00:58:06 242c74f7c9fa: Pull complete 00:58:06 3cdef696dda3: Pull complete 00:58:13 2ced38df9373: Pull complete 00:58:15 58f1dce35555: Pull complete 00:58:15 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:58:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:58:15 ---> fadd8f120f05 00:58:15 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:58:17 ---> Running in 3ef5f8cdbaf5 00:58:17 Removing intermediate container 3ef5f8cdbaf5 00:58:17 ---> ae3486dd19ae 00:58:17 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:58:17 ---> Running in 1072cee88d05 00:58:18 Removing intermediate container 1072cee88d05 00:58:18 ---> 2a2ce003950c 00:58:18 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:58:18 ---> Running in 627312dcace7 00:58:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:58:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:58:21 (1/8) Installing openssh-keygen (9.1_p1-r3) 00:58:21 (2/8) Installing libedit (20221030.3.1-r0) 00:58:21 (3/8) Installing openssh-client-common (9.1_p1-r3) 00:58:21 (4/8) Installing openssh-client-default (9.1_p1-r3) 00:58:21 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 00:58:21 (6/8) Installing openssh-server-common (9.1_p1-r3) 00:58:21 (7/8) Installing openssh-server (9.1_p1-r3) 00:58:21 (8/8) Installing openssh (9.1_p1-r3) 00:58:21 Executing busybox-1.35.0-r29.trigger 00:58:21 OK: 270 MiB in 61 packages 00:58:23 Removing intermediate container 627312dcace7 00:58:23 ---> b2ea18361033 00:58:23 Step 6/10 : WORKDIR /device-modbus-go 00:58:23 ---> Running in a2ea55cd90e4 00:58:23 Removing intermediate container a2ea55cd90e4 00:58:23 ---> 58b8b9601828 00:58:23 Step 7/10 : COPY go.mod vendor* ./ 00:58:23 ---> c5d5450bbca0 00:58:23 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:58:23 ---> Running in 9f8acbaac883 00:59:45 Removing intermediate container 9f8acbaac883 00:59:45 ---> b3353c407382 00:59:45 Step 9/10 : COPY . . 00:59:45 ---> 1a7b430b8b3f 00:59:45 Step 10/10 : RUN ${MAKE} 00:59:45 ---> Running in 0ae86c28cb92 00:59:45 noop 00:59:45 Removing intermediate container 0ae86c28cb92 00:59:45 ---> 5f002586c066 00:59:45 Successfully built 5f002586c066 00:59:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:45 + docker inspect -f . ci-base-image-arm64 00:59:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:59:46 prd-ubuntu20.04-docker-arm64-4c-16g-17429 does not seem to be running inside a container 00:59:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/10 -v /w/workspace/device-modbus-go/10:/w/workspace/device-modbus-go/10:rw,z -v /w/workspace/device-modbus-go/10@tmp:/w/workspace/device-modbus-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:59:47 $ docker top 7f0b04efac3e83b4838c912829a89feb95e37f3133d52ae290711e7793f9ff11 -eo pid,comm [Pipeline] { [Pipeline] sh 00:59:48 + go version 00:59:48 go version go1.20.2 linux/arm64 [Pipeline] } 00:59:48 $ docker stop --time=1 7f0b04efac3e83b4838c912829a89feb95e37f3133d52ae290711e7793f9ff11 00:59:49 $ docker rm -f --volumes 7f0b04efac3e83b4838c912829a89feb95e37f3133d52ae290711e7793f9ff11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:50 + docker inspect -f . ci-base-image-arm64 00:59:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:59:50 prd-ubuntu20.04-docker-arm64-4c-16g-17429 does not seem to be running inside a container 00:59:50 $ 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/10 -v /w/workspace/device-modbus-go/10:/w/workspace/device-modbus-go/10:rw,z -v /w/workspace/device-modbus-go/10@tmp:/w/workspace/device-modbus-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:59:51 $ docker top caa9ddd54e487105d5e5c136f0b34ba4d81633a95596b05b339ca9203b2766b4 -eo pid,comm [Pipeline] { [Pipeline] sh 00:59:52 + git config --global --add safe.directory /w/workspace/device-modbus-go/10 [Pipeline] fileExists [Pipeline] sh 00:59:53 + make test 00:59:53 go test ./... -coverprofile=coverage.out 01:00:32 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:02:53 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 01:02:53 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.083s coverage: 47.4% of statements 01:02:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:02:53 go vet ./... 01:03:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:03:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:03:26 ./bin/test-attribution-txt.sh [Pipeline] echo 01:03:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:03:26 $ docker stop --time=1 caa9ddd54e487105d5e5c136f0b34ba4d81633a95596b05b339ca9203b2766b4 01:03:28 $ docker rm -f --volumes caa9ddd54e487105d5e5c136f0b34ba4d81633a95596b05b339ca9203b2766b4 [Pipeline] // withDockerContainer [Pipeline] sh 01:03:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:03:29 Warning: overwriting stash ‘coverage-report’ 01:03:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:03:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:03:30 + ls -al . 01:03:30 total 184 01:03:30 drwxrwxr-x 9 jenkins jenkins 4096 May 31 00:59 . 01:03:30 drwxrwxr-x 4 jenkins jenkins 4096 May 31 00:57 .. 01:03:30 -rw-rw-r-- 1 jenkins jenkins 140 May 31 00:57 .dockerignore 01:03:30 drwxrwxr-x 8 jenkins jenkins 4096 May 31 00:57 .git 01:03:30 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:57 .github 01:03:30 -rw-rw-r-- 1 jenkins jenkins 331 May 31 00:57 .gitignore 01:03:30 -rw-rw-r-- 1 jenkins jenkins 41 May 31 00:57 .golangci.yml 01:03:30 -rw-rw-r-- 1 jenkins jenkins 10132 May 31 00:57 Attribution.txt 01:03:30 -rw-rw-r-- 1 jenkins jenkins 14764 May 31 00:57 CHANGELOG.md 01:03:30 -rw-rw-r-- 1 jenkins jenkins 1365 May 31 00:57 Dockerfile 01:03:30 -rw-rw-r-- 1 jenkins jenkins 677 May 31 00:57 GOVERNANCE.md 01:03:30 -rw-rw-r-- 1 jenkins jenkins 680 May 31 00:57 Jenkinsfile 01:03:30 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 00:57 LICENSE 01:03:30 -rw-rw-r-- 1 jenkins jenkins 1705 May 31 00:57 Makefile 01:03:30 -rw-rw-r-- 1 jenkins jenkins 622 May 31 00:57 OWNERS.md 01:03:30 -rw-rw-r-- 1 jenkins jenkins 4578 May 31 00:57 README.md 01:03:30 -rw-rw-r-- 1 jenkins jenkins 5 May 31 00:54 VERSION 01:03:30 drwxrwxr-x 2 jenkins jenkins 4096 May 31 00:57 bin 01:03:30 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:57 cmd 01:03:30 -rw-r--r-- 1 jenkins jenkins 24160 May 31 01:02 coverage.out 01:03:30 -rw-rw-r-- 1 jenkins jenkins 3405 May 31 00:57 go.mod 01:03:30 -rw-rw-r-- 1 jenkins jenkins 31574 May 31 00:57 go.sum 01:03:30 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:57 internal 01:03:30 drwxrwxr-x 2 jenkins jenkins 4096 May 31 00:57 simulator 01:03:30 drwxrwxr-x 4 jenkins jenkins 4096 May 31 00:57 snap 01:03:30 -rw-rw-r-- 1 jenkins jenkins 229 May 31 00:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:03:30 + 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=84d5ec98441b0535d60753163d8b56c531163cfc --label arch=arm64 --label version=0.0.0 . 01:03:31 Sending build context to Docker daemon 3.472MB 01:03:31 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 01:03:31 Step 2/22 : FROM ${BASE} AS builder 01:03:31 ---> 5f002586c066 01:03:31 Step 3/22 : ARG ADD_BUILD_TAGS="" 01:03:31 ---> Running in f3897ed23a85 01:03:31 Removing intermediate container f3897ed23a85 01:03:31 ---> 49273b554fe5 01:03:31 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:03:31 ---> Running in 87f0725d9007 01:03:31 Removing intermediate container 87f0725d9007 01:03:31 ---> eddc5bbdcf84 01:03:31 Step 5/22 : RUN apk add --update --no-cache make git openssh 01:03:32 ---> Running in 18084d02a2f3 01:03:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:03:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:03:34 OK: 270 MiB in 61 packages 01:03:35 Removing intermediate container 18084d02a2f3 01:03:35 ---> 04684ff68774 01:03:35 Step 6/22 : WORKDIR /device-modbus-go 01:03:35 ---> Running in ba63524bd268 01:03:36 Removing intermediate container ba63524bd268 01:03:36 ---> 23eb15548b8d 01:03:36 Step 7/22 : COPY go.mod vendor* ./ 01:03:36 ---> e4aa9dc4f183 01:03:36 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:03:36 ---> Running in c03d94085733 01:03:39 Removing intermediate container c03d94085733 01:03:39 ---> 4773dda97bce 01:03:39 Step 9/22 : COPY . . 01:03:40 ---> a731643c3426 01:03:40 Step 10/22 : RUN ${MAKE} 01:03:40 ---> Running in 051022bb89cc 01:03:41 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:03 Removing intermediate container 051022bb89cc 01:06:03 ---> 8adf1ccd3e51 01:06:03 Step 11/22 : FROM alpine:3.17 01:06:03 3.17: Pulling from library/alpine 01:06:03 c41833b44d91: Already exists 01:06:03 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:06:03 Status: Downloaded newer image for alpine:3.17 01:06:03 ---> 51e60588ff2c 01:06:03 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 01:06:03 ---> Running in 62f15a50f897 01:06:03 Removing intermediate container 62f15a50f897 01:06:03 ---> c6f4b64dc66e 01:06:03 Step 13/22 : RUN apk add --update --no-cache dumb-init 01:06:03 ---> Running in 0bf07183193a 01:06:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:06:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:06:03 (1/1) Installing dumb-init (1.2.5-r2) 01:06:03 Executing busybox-1.35.0-r29.trigger 01:06:03 OK: 8 MiB in 16 packages 01:06:03 Removing intermediate container 0bf07183193a 01:06:03 ---> 02fa6126d262 01:06:03 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 01:06:04 ---> ca3ef5913cf7 01:06:04 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 01:06:04 ---> fee4909baef7 01:06:04 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 01:06:05 ---> afd4b9b623be 01:06:05 Step 17/22 : EXPOSE 59901 01:06:05 ---> Running in 1fe1f544cb19 01:06:05 Removing intermediate container 1fe1f544cb19 01:06:05 ---> b5d5dd5fef3c 01:06:05 Step 18/22 : ENTRYPOINT ["/device-modbus"] 01:06:05 ---> Running in 7b283ac88ee5 01:06:05 Removing intermediate container 7b283ac88ee5 01:06:05 ---> dec0de97e086 01:06:05 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:06:05 ---> Running in 90683f042f98 01:06:06 Removing intermediate container 90683f042f98 01:06:06 ---> c4ce971b8f70 01:06:06 Step 20/22 : LABEL arch=arm64 01:06:06 ---> Running in d836013d0491 01:06:06 Removing intermediate container d836013d0491 01:06:06 ---> e45b92eef465 01:06:06 Step 21/22 : LABEL git_sha=84d5ec98441b0535d60753163d8b56c531163cfc 01:06:06 ---> Running in 03be3db8fbb6 01:06:06 Removing intermediate container 03be3db8fbb6 01:06:06 ---> d752835f4ee7 01:06:06 Step 22/22 : LABEL version=0.0.0 01:06:06 ---> Running in 20c22711806a 01:06:07 Removing intermediate container 20c22711806a 01:06:07 ---> 337d2630a1ab 01:06:07 [Warning] One or more build-args [ARCH] were not consumed 01:06:07 Successfully built 337d2630a1ab 01:06:07 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:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:06:07 01:06:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:06:07 arm64: Pulling from edgex-lftools-log-publisher 01:06:07 8998bd30e6a1: Pulling fs layer 01:06:07 04944245beec: Pulling fs layer 01:06:07 699f458cf7ca: Pulling fs layer 01:06:07 765212b225bb: Pulling fs layer 01:06:07 f23df028b6ca: Pulling fs layer 01:06:07 d65c8cfc05b1: Pulling fs layer 01:06:07 2437ff75d9bd: Pulling fs layer 01:06:07 d65c8cfc05b1: Waiting 01:06:07 765212b225bb: Waiting 01:06:07 2437ff75d9bd: Waiting 01:06:07 f23df028b6ca: Waiting 01:06:08 04944245beec: Verifying Checksum 01:06:08 04944245beec: Download complete 01:06:08 765212b225bb: Verifying Checksum 01:06:08 765212b225bb: Download complete 01:06:08 f23df028b6ca: Verifying Checksum 01:06:08 f23df028b6ca: Download complete 01:06:08 d65c8cfc05b1: Download complete 01:06:08 699f458cf7ca: Verifying Checksum 01:06:08 699f458cf7ca: Download complete 01:06:08 8998bd30e6a1: Verifying Checksum 01:06:08 8998bd30e6a1: Download complete 01:06:11 2437ff75d9bd: Verifying Checksum 01:06:11 2437ff75d9bd: Download complete 01:06:12 8998bd30e6a1: Pull complete 01:06:13 04944245beec: Pull complete 01:06:14 699f458cf7ca: Pull complete 01:06:14 765212b225bb: Pull complete 01:06:15 f23df028b6ca: Pull complete 01:06:15 d65c8cfc05b1: Pull complete 01:06:30 2437ff75d9bd: Pull complete 01:06:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:06:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:06:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:30 prd-ubuntu20.04-docker-arm64-4c-16g-17429 does not seem to be running inside a container 01:06:30 $ 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/10 -v /w/workspace/device-modbus-go/10:/w/workspace/device-modbus-go/10:rw,z -v /w/workspace/device-modbus-go/10@tmp:/w/workspace/device-modbus-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:06:33 $ docker top 3fdb7574761c117ad71f2b46e3e4cba61df1c76b50c4ec35a4c4a0f7303048fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:06:33 ---> job-cost.sh 01:06:34 lf-activate-venv: SKIPPING 01:06:34 INFO: No Stack... 01:06:34 INFO: Retrieving Pricing Info for: v3-standard-4 01:06:35 INFO: Archiving Costs [Pipeline] sh 01:06:35 + cut -d, -f6 01:06:35 + cat /w/workspace/device-modbus-go/10/archives/cost.csv [Pipeline] lock 01:06:36 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-480-10-stack-cost] 01:06:36 Resource [jenkins-edgexfoundry-device-modbus-go-PR-480-10-stack-cost] did not exist. Created. 01:06:36 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-480-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:06:36 /w/workspace/device-modbus-go/10@tmp/durable-d9cf1f62/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:06:37 + echo total: 0.10999999940395355 [Pipeline] stash 01:06:37 Warning: overwriting stash ‘stack-cost’ 01:06:37 Stashed 1 file(s) [Pipeline] } 01:06:37 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-480-10-stack-cost] [Pipeline] // lock [Pipeline] } 01:06:37 $ docker stop --time=1 3fdb7574761c117ad71f2b46e3e4cba61df1c76b50c4ec35a4c4a0f7303048fe 01:06:39 $ docker rm -f --volumes 3fdb7574761c117ad71f2b46e3e4cba61df1c76b50c4ec35a4c4a0f7303048fe [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:39 provisioning config files... 01:06:39 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/config10766919913462298363tmp [Pipeline] { [Pipeline] sh 01:06:39 + set +x 01:06:39 + curl -s https://codecov.io/bash 01:06:39 + bash -s -- 01:06:39 01:06:39 _____ _ 01:06:39 / ____| | | 01:06:39 | | ___ __| | ___ ___ _____ __ 01:06:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:06:39 | |___| (_) | (_| | __/ (_| (_) \ V / 01:06:39 \_____\___/ \__,_|\___|\___\___/ \_/ 01:06:39 Bash-1.0.6 01:06:39 01:06:39 01:06:39 ==> git version 2.25.1 found 01:06:39 ==> 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:39 Release-Date: 2020-01-08 01:06:39 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:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:06:39 ==> Jenkins CI detected. 01:06:39 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-480 01:06:39 project root: . 01:06:39 --> token set from env 01:06:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:06:39 ==> Running gcov in . (disable via -X gcov) 01:06:39 ==> Python coveragepy not found 01:06:39 ==> Searching for coverage reports in: 01:06:39 + . 01:06:39 -> Found 1 reports 01:06:39 ==> Detecting git/mercurial file structure 01:06:39 ==> Reading reports 01:06:39 + ./coverage.out bytes=24160 01:06:39 ==> Appending adjustments 01:06:39 https://docs.codecov.io/docs/fixing-reports 01:06:40 + Found adjustments 01:06:40 ==> Gzipping contents 01:06:40 4.0K /tmp/codecov.LX1U1X.gz 01:06:40 ==> Uploading reports 01:06:40 url: https://codecov.io 01:06:40 query: branch=PR-480&commit=3f2624f481fd41046f5f2889f913ee90aadeb0ee&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-480%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=480&job=&cmd_args= 01:06:40 -> Pinging Codecov 01:06:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-480&commit=3f2624f481fd41046f5f2889f913ee90aadeb0ee&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-480%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=480&job=&cmd_args= 01:06:40 -> Uploading to 01:06:40 https://storage.googleapis.com/codecov/v4/raw/2023-05-31/55DBCA73C666E3227836607328DD7E49/3f2624f481fd41046f5f2889f913ee90aadeb0ee/708923e9-5325-4e1e-9097-7998902dc1a1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230531T010640Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=43ffd0987df3ceb702d15992aab290104bf1bb78aeba66efb43838e915895fb9 01:06:40 % Total % Received % Xferd Average Speed Time Time Time Current 01:06:40 Dload Upload Total Spent Left Speed 01:06:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 18685 --:--:-- --:--:-- --:--:-- 18685 01:06:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/3f2624f481fd41046f5f2889f913ee90aadeb0ee [Pipeline] } 01:06:40 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:41 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-480/archives ] 01:06:41 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-480/archives 01:06:41 total 16 01:06:41 drwxr-xr-x 3 root root 4096 May 31 00:55 . 01:06:41 drwxrwxr-x 11 jenkins jenkins 4096 May 31 00:55 .. 01:06:41 drwxr-xr-x 2 root root 4096 May 31 00:55 cost 01:06:41 -rw-r--r-- 1 root root 89 May 31 00:55 cost.csv 01:06:41 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-480/archives 01:06:41 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-480/archives 01:06:41 total 16 01:06:41 drwxr-xr-x 3 jenkins jenkins 4096 May 31 00:55 . 01:06:41 drwxrwxr-x 11 jenkins jenkins 4096 May 31 00:55 .. 01:06:41 drwxr-xr-x 2 jenkins jenkins 4096 May 31 00:55 cost 01:06:41 -rw-r--r-- 1 jenkins jenkins 89 May 31 00:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:06:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:06:42 ---> package-listing.sh 01:06:42 ++ facter osfamily 01:06:42 ++ tr '[:upper:]' '[:lower:]' 01:06:42 + OS_FAMILY=debian 01:06:42 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-480 01:06:42 + START_PACKAGES=/tmp/packages_start.txt 01:06:42 + END_PACKAGES=/tmp/packages_end.txt 01:06:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:06:42 + PACKAGES=/tmp/packages_start.txt 01:06:42 + '[' /w/workspace/xfoundry_device-modbus-go_PR-480 ']' 01:06:42 + PACKAGES=/tmp/packages_end.txt 01:06:42 + case "${OS_FAMILY}" in 01:06:42 + dpkg -l 01:06:42 + grep '^ii' 01:06:42 + '[' -f /tmp/packages_start.txt ']' 01:06:42 + '[' -f /tmp/packages_end.txt ']' 01:06:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:06:42 + '[' /w/workspace/xfoundry_device-modbus-go_PR-480 ']' 01:06:42 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-480/archives/ 01:06:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-480/archives/ [Pipeline] echo 01:06:42 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-480/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:06:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:06:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:43 prd-ubuntu20.04-docker-8c-8g-17426 does not seem to be running inside a container 01:06:43 $ 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-480/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-480 -v /w/workspace/xfoundry_device-modbus-go_PR-480:/w/workspace/xfoundry_device-modbus-go_PR-480:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-480@tmp:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:06:43 $ docker top 4962c6323c16a256e67ec649fdd561aee9fa6f9bf3a8ec51a40b5909892d2e05 -eo pid,comm [Pipeline] { [Pipeline] sh 01:06:43 + touch /tmp/pre-build-complete [Pipeline] sh 01:06:44 + mkdir -p /var/log/sysstat [Pipeline] sh 01:06:44 + ls /var/log/sa-host 01:06:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:06:44 provisioning config files... 01:06:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/config8988245949915770313tmp [Pipeline] { [Pipeline] echo 01:06:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:06:44 ---> create-netrc.sh [Pipeline] } 01:06:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:06:45 ---> python-tools-install.sh [Pipeline] echo 01:06:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:06:45 ---> sudo-logs.sh 01:06:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:06:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:06:45 ---> job-cost.sh 01:06:45 lf-activate-venv: SKIPPING 01:06:45 DEBUG: total: 0.2199999988079071 01:06:45 INFO: Retrieving Stack Cost... 01:06:46 INFO: Retrieving Pricing Info for: v3-standard-8 01:06:46 INFO: Archiving Costs [Pipeline] echo 01:06:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:06:46 ---> logs-deploy.sh 01:06:46 lf-activate-venv: SKIPPING 01:06:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-480/10 01:06:46 INFO: archiving workspace using pattern(s): 01:06:47 Archives upload complete. 01:06:47 INFO: archiving logs to Nexus