Pull request #375 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of mursisoy for edgexfoundry/device-modbus-go Loading trusted files from base branch jakarta at dcb5b79c0a884aea797b2f76ba4cf23c03bae97d rather than e40ab70184fa96e0e867eb365550b2b39d38e243 Obtained Jenkinsfile from dcb5b79c0a884aea797b2f76ba4cf23c03bae97d 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-ssh12056316752988959016.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh9798613094911572200.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-375/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-375/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13075045281284528714.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh15124494391617339391.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-375/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-375/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15248618694348655074.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:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true 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 Running on prd-ubuntu20.04-docker-8c-8g-29820 in /w/workspace/xfoundry_device-modbus-go_PR-375 [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-375 # 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/jakarta commit dcb5b79c0a884aea797b2f76ba4cf23c03bae97d into PR head commit e40ab70184fa96e0e867eb365550b2b39d38e243 Merge succeeded, producing e40ab70184fa96e0e867eb365550b2b39d38e243 Checking out Revision e40ab70184fa96e0e867eb365550b2b39d38e243 (PR-375) > 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/375/head:refs/remotes/origin/PR-375 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e40ab70184fa96e0e867eb365550b2b39d38e243 # 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 dcb5b79c0a884aea797b2f76ba4cf23c03bae97d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e40ab70184fa96e0e867eb365550b2b39d38e243 # timeout=10 Commit message: "Change timeout configuration on test.devices.toml" > git rev-list --no-walk fbc63f22a2d124bb2f7af5b3d5269a9dbc8c96e6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:00:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:00:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:00:50 ========================================================= 14:00:50 EdgeX Global Pipelines Version Info 14:00:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:00:51 ------------------- 14:00:51 stable info: 14:00:51 ------------------- 14:00:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:00:51 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 14:00:51 Message: update stable to v1.0.239 14:00:51 ------------------- 14:00:51 experimental info: 14:00:51 ------------------- 14:00:51 Commited By: **** collab-it+edgex@linuxfoundation.org 14:00:51 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 14:00:51 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:00:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 14:00:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 14:00:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:00:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-375 [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-375 [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-375 [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e40ab70184fa96e0e867eb365550b2b39d38e243 [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e40ab70 [Pipeline] echo 14:00:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:00:52 provisioning config files... 14:00:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-375@tmp/config321596187012057324tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:00:52 ---> docker-login.sh 14:00:52 nexus3.edgexfoundry.org:10001 14:00:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:53 Configure a credential helper to remove this warning. See 14:00:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:53 14:00:53 Login Succeeded 14:00:53 nexus3.edgexfoundry.org:10002 14:00:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:53 Configure a credential helper to remove this warning. See 14:00:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:53 14:00:53 Login Succeeded 14:00:53 nexus3.edgexfoundry.org:10003 14:00:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:53 Configure a credential helper to remove this warning. See 14:00:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:53 14:00:53 Login Succeeded 14:00:53 nexus3.edgexfoundry.org:10004 14:00:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:53 Configure a credential helper to remove this warning. See 14:00:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:53 14:00:53 Login Succeeded 14:00:53 docker.io 14:00:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:53 Configure a credential helper to remove this warning. See 14:00:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:53 14:00:53 Login Succeeded 14:00:53 ---> docker-login.sh ends [Pipeline] } 14:00:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:00:54 + git rev-list -1 --merges e40ab70184fa96e0e867eb365550b2b39d38e243~1..e40ab70184fa96e0e867eb365550b2b39d38e243 [Pipeline] echo 14:00:54 -----------> git rev-list -1 --merges e40ab70184fa96e0e867eb365550b2b39d38e243~1..e40ab70184fa96e0e867eb365550b2b39d38e243 e40ab70184fa96e0e867eb365550b2b39d38e243 [false] [Pipeline] sh 14:00:54 + git log --format=format:%s -1 e40ab70184fa96e0e867eb365550b2b39d38e243 [Pipeline] echo 14:00:54 ========================================================= 14:00:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:00:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:00:55 + git log --format=format:%s -1 e40ab70184fa96e0e867eb365550b2b39d38e243 [Pipeline] echo 14:00:55 [semverPrep] GIT_COMMIT: e40ab70184fa96e0e867eb365550b2b39d38e243, Commit Message: Change timeout configuration on test.devices.toml [Pipeline] echo 14:00:55 [semverPrep] This is not a build commit. [Pipeline] sh 14:00:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:00:55 + grep -v github /etc/ssh/ssh_known_hosts 14:00:55 + [ -e /tmp/ssh_known_hosts ] 14:00:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:00:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:00:55 + sudo tee -a /etc/ssh/ssh_known_hosts 14:00:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:00:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:00:55 14:00:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:00:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:00:56 0.1.4: Pulling from edgex-devops/py-git-semver 14:00:56 b85a868b505f: Pulling fs layer 14:00:56 e2be974225ed: Pulling fs layer 14:00:56 339a4e72a1f5: Pulling fs layer 14:00:56 988bab9f4d93: Pulling fs layer 14:00:56 1469e6f7b9e6: Pulling fs layer 14:00:56 eaf3925da568: Pulling fs layer 14:00:56 bab4dde63d76: Pulling fs layer 14:00:56 bde34c3a00c8: Pulling fs layer 14:00:56 b352a97aabf1: Pulling fs layer 14:00:56 4872d77fe225: Pulling fs layer 14:00:56 5851b861e8e6: Pulling fs layer 14:00:56 eaf3925da568: Waiting 14:00:56 988bab9f4d93: Waiting 14:00:56 bde34c3a00c8: Waiting 14:00:56 1469e6f7b9e6: Waiting 14:00:56 b352a97aabf1: Waiting 14:00:56 bab4dde63d76: Waiting 14:00:56 4872d77fe225: Waiting 14:00:56 e2be974225ed: Verifying Checksum 14:00:56 e2be974225ed: Download complete 14:00:56 988bab9f4d93: Download complete 14:00:56 1469e6f7b9e6: Verifying Checksum 14:00:56 1469e6f7b9e6: Download complete 14:00:56 eaf3925da568: Verifying Checksum 14:00:56 eaf3925da568: Download complete 14:00:56 339a4e72a1f5: Verifying Checksum 14:00:56 339a4e72a1f5: Download complete 14:00:56 bde34c3a00c8: Download complete 14:00:56 b352a97aabf1: Download complete 14:00:56 4872d77fe225: Verifying Checksum 14:00:56 4872d77fe225: Download complete 14:00:56 5851b861e8e6: Download complete 14:00:56 b85a868b505f: Verifying Checksum 14:00:56 b85a868b505f: Download complete 14:00:56 bab4dde63d76: Verifying Checksum 14:00:56 bab4dde63d76: Download complete 14:00:57 b85a868b505f: Pull complete 14:00:57 e2be974225ed: Pull complete 14:00:58 339a4e72a1f5: Pull complete 14:00:58 988bab9f4d93: Pull complete 14:00:58 1469e6f7b9e6: Pull complete 14:00:58 eaf3925da568: Pull complete 14:01:00 bab4dde63d76: Pull complete 14:01:00 bde34c3a00c8: Pull complete 14:01:00 b352a97aabf1: Pull complete 14:01:01 4872d77fe225: Pull complete 14:01:01 5851b861e8e6: Pull complete 14:01:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:01:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:01:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:01:01 prd-ubuntu20.04-docker-8c-8g-29820 does not seem to be running inside a container 14:01:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-375 -v /w/workspace/xfoundry_device-modbus-go_PR-375:/w/workspace/xfoundry_device-modbus-go_PR-375:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-375@tmp:/w/workspace/xfoundry_device-modbus-go_PR-375@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:01:04 $ docker top a44f1d7a5508f8e122a3f74fbb4dfd0912a4619f2c23e2854fe8c508915cb6a5 -eo pid,comm 14:01:04 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 14:01:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:01:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:01:04 [ssh-agent] Looking for ssh-agent implementation... 14:01:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:01:04 $ docker exec a44f1d7a5508f8e122a3f74fbb4dfd0912a4619f2c23e2854fe8c508915cb6a5 ssh-agent 14:01:04 SSH_AUTH_SOCK=/tmp/ssh-6Twqvy80X6s2/agent.35 14:01:04 SSH_AGENT_PID=41 14:01:04 Running ssh-add (command line suppressed) 14:01:04 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-375@tmp/private_key_5569715458598965854.key (/w/workspace/xfoundry_device-modbus-go_PR-375@tmp/private_key_5569715458598965854.key) 14:01:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:01:05 + git tag --points-at HEAD [Pipeline] } 14:01:05 $ docker exec --env ******** --env ******** a44f1d7a5508f8e122a3f74fbb4dfd0912a4619f2c23e2854fe8c508915cb6a5 ssh-agent -k 14:01:05 unset SSH_AUTH_SOCK; 14:01:05 unset SSH_AGENT_PID; 14:01:05 echo Agent pid 41 killed; 14:01:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:01:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:01:05 [ssh-agent] Looking for ssh-agent implementation... 14:01:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:01:05 $ docker exec a44f1d7a5508f8e122a3f74fbb4dfd0912a4619f2c23e2854fe8c508915cb6a5 ssh-agent 14:01:05 SSH_AUTH_SOCK=/tmp/ssh-taIubxqmXgtg/agent.74 14:01:05 SSH_AGENT_PID=81 14:01:05 Running ssh-add (command line suppressed) 14:01:05 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-375@tmp/private_key_427914850693471772.key (/w/workspace/xfoundry_device-modbus-go_PR-375@tmp/private_key_427914850693471772.key) 14:01:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:01:06 + git semver init 14:01:06 2022-09-19 14:01:06,326 [run_init] DEBUG init version:0.0.0 force:False 14:01:06 2022-09-19 14:01:06,327 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-375/.semver 14:01:06 2022-09-19 14:01:06,327 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-375/.semver 14:01:06 2022-09-19 14:01:06,327 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-375/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-375, universal_newlines=False, shell=None, istream=None) 14:01:07 2022-09-19 14:01:07,257 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-375/.git/info/exclude 14:01:07 2022-09-19 14:01:07,258 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-375/.semver/PR-375 with force:False 14:01:07 2022-09-19 14:01:07,258 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-375/.semver/PR-375 14:01:07 2022-09-19 14:01:07,262 [execute] INFO git cat-file --batch-check 14:01:07 2022-09-19 14:01:07,263 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-375/.semver, universal_newlines=False, shell=None, istream=) 14:01:07 2022-09-19 14:01:07,270 [execute] INFO git cat-file --batch 14:01:07 2022-09-19 14:01:07,270 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-375/.semver, universal_newlines=False, shell=None, istream=) 14:01:07 2022-09-19 14:01:07,276 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-375/.semver/PR-375 14:01:07 0.0.0 [Pipeline] } 14:01:07 $ docker exec --env ******** --env ******** a44f1d7a5508f8e122a3f74fbb4dfd0912a4619f2c23e2854fe8c508915cb6a5 ssh-agent -k 14:01:07 unset SSH_AUTH_SOCK; 14:01:07 unset SSH_AGENT_PID; 14:01:07 echo Agent pid 81 killed; 14:01:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:01:07 + git semver [Pipeline] } 14:01:08 $ docker stop --time=1 a44f1d7a5508f8e122a3f74fbb4dfd0912a4619f2c23e2854fe8c508915cb6a5 14:01:09 $ docker rm -f a44f1d7a5508f8e122a3f74fbb4dfd0912a4619f2c23e2854fe8c508915cb6a5 [Pipeline] // withDockerContainer [Pipeline] sh 14:01:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:01:09 Stashed 1 file(s) [Pipeline] echo 14:01:09 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:01:10 provisioning config files... 14:01:10 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-375@tmp/config9166583992575185371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:01:10 ---> docker-login.sh 14:01:10 nexus3.edgexfoundry.org:10001 14:01:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:01:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:01:10 Configure a credential helper to remove this warning. See 14:01:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:01:10 14:01:10 Login Succeeded 14:01:10 nexus3.edgexfoundry.org:10002 14:01:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:01:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:01:10 Configure a credential helper to remove this warning. See 14:01:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:01:10 14:01:10 Login Succeeded 14:01:10 nexus3.edgexfoundry.org:10003 14:01:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:01:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:01:10 Configure a credential helper to remove this warning. See 14:01:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:01:10 14:01:10 Login Succeeded 14:01:10 nexus3.edgexfoundry.org:10004 14:01:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:01:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:01:10 Configure a credential helper to remove this warning. See 14:01:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:01:10 14:01:10 Login Succeeded 14:01:10 docker.io 14:01:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:01:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:01:11 Configure a credential helper to remove this warning. See 14:01:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:01:11 14:01:11 Login Succeeded 14:01:11 ---> docker-login.sh ends [Pipeline] } 14:01:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:01:11 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh 14:01:11 + grep ^go [0-9].[0-9]* go.mod 14:01:11 + cut -d -f 2 [Pipeline] echo 14:01:11 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:01:11 ========================================================= 14:01:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts] 14:01:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:01:12 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts --build-arg MAKE=echo noop --target=builder . 14:01:12 Sending build context to Docker daemon 17.34MB 14:01:12 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 14:01:12 Step 2/9 : FROM ${BASE} AS builder 14:01:12 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base 14:01:12 a0d0a0d46f8b: Pulling fs layer 14:01:12 31adcdaf11c8: Pulling fs layer 14:01:12 b8b176561691: Pulling fs layer 14:01:12 4527c011a84f: Pulling fs layer 14:01:12 5d74067f8e1e: Pulling fs layer 14:01:12 fd57009d33ed: Pulling fs layer 14:01:12 6b058263d067: Pulling fs layer 14:01:12 16d7c86c65f4: Pulling fs layer 14:01:12 1290d154cb4b: Pulling fs layer 14:01:12 4527c011a84f: Waiting 14:01:12 5d74067f8e1e: Waiting 14:01:12 fd57009d33ed: Waiting 14:01:12 6b058263d067: Waiting 14:01:12 16d7c86c65f4: Waiting 14:01:12 1290d154cb4b: Waiting 14:01:12 b8b176561691: Verifying Checksum 14:01:12 b8b176561691: Download complete 14:01:12 31adcdaf11c8: Download complete 14:01:12 5d74067f8e1e: Verifying Checksum 14:01:12 5d74067f8e1e: Download complete 14:01:12 fd57009d33ed: Download complete 14:01:12 a0d0a0d46f8b: Download complete 14:01:12 6b058263d067: Verifying Checksum 14:01:12 6b058263d067: Download complete 14:01:12 16d7c86c65f4: Verifying Checksum 14:01:12 16d7c86c65f4: Download complete 14:01:12 a0d0a0d46f8b: Pull complete 14:01:12 31adcdaf11c8: Pull complete 14:01:13 b8b176561691: Pull complete 14:01:13 1290d154cb4b: Verifying Checksum 14:01:13 1290d154cb4b: Download complete 14:01:13 4527c011a84f: Verifying Checksum 14:01:13 4527c011a84f: Download complete 14:01:17 4527c011a84f: Pull complete 14:01:17 5d74067f8e1e: Pull complete 14:01:17 fd57009d33ed: Pull complete 14:01:17 6b058263d067: Pull complete 14:01:17 16d7c86c65f4: Pull complete 14:01:19 1290d154cb4b: Pull complete 14:01:19 Digest: sha256:35e6ac41c26efe3add569c2382a45e417c8e583193a5145d003e9829e558bdd0 14:01:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts 14:01:19 ---> de6a6ee31cbe 14:01:19 Step 3/9 : ARG MAKE='make build' 14:01:23 ---> Running in a4b5f78257ba 14:01:23 Removing intermediate container a4b5f78257ba 14:01:23 ---> 0b95f8613893 14:01:23 Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:01:23 ---> Running in 21cbaa577b98 14:01:24 Removing intermediate container 21cbaa577b98 14:01:24 ---> f0dc3c11e4b5 14:01:24 Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 14:01:24 ---> Running in fc773067e937 14:01:24 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 14:01:25 Still waiting to schedule task 14:01:25 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:01:25 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 14:01:25 (1/8) Installing openssh-keygen (8.6_p1-r3) 14:01:25 (2/8) Installing libedit (20210216.3.1-r0) 14:01:25 (3/8) Installing openssh-client-common (8.6_p1-r3) 14:01:25 (4/8) Installing openssh-client-default (8.6_p1-r3) 14:01:26 (5/8) Installing openssh-sftp-server (8.6_p1-r3) 14:01:26 (6/8) Installing openssh-server-common (8.6_p1-r3) 14:01:26 (7/8) Installing openssh-server (8.6_p1-r3) 14:01:26 (8/8) Installing openssh (8.6_p1-r3) 14:01:26 Executing busybox-1.33.1-r3.trigger 14:01:26 OK: 226 MiB in 60 packages 14:01:27 Removing intermediate container fc773067e937 14:01:27 ---> a2f75c921eb3 14:01:27 Step 6/9 : WORKDIR /device-modbus-go 14:01:27 ---> Running in 906930c3cda8 14:01:27 Removing intermediate container 906930c3cda8 14:01:27 ---> e3cd02795cf3 14:01:27 Step 7/9 : COPY . . 14:01:28 ---> 5f5b2b873479 14:01:28 Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:01:28 ---> Running in 0d90e88a0344 14:01:28 skipping... 14:01:28 Removing intermediate container 0d90e88a0344 14:01:28 ---> b7ddd6a652e9 14:01:28 Step 9/9 : RUN ${MAKE} 14:01:28 ---> Running in 52d93f3c4303 14:01:28 noop 14:01:29 Removing intermediate container 52d93f3c4303 14:01:29 ---> 58125854a74b 14:01:29 Successfully built 58125854a74b 14:01:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:01:29 + docker inspect -f . ci-base-image-x86_64 14:01:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:01:29 prd-ubuntu20.04-docker-8c-8g-29820 does not seem to be running inside a container 14:01:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-375 -v /w/workspace/xfoundry_device-modbus-go_PR-375:/w/workspace/xfoundry_device-modbus-go_PR-375:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-375@tmp:/w/workspace/xfoundry_device-modbus-go_PR-375@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:01:30 $ docker top 9a2e6fb920057cd4e94370877e97e7103409edd696a9f3e4d87716ac4314f5dd -eo pid,comm [Pipeline] { [Pipeline] sh 14:01:30 + go version 14:01:30 go version go1.16.8 linux/amd64 [Pipeline] } 14:01:30 $ docker stop --time=1 9a2e6fb920057cd4e94370877e97e7103409edd696a9f3e4d87716ac4314f5dd 14:01:32 $ docker rm -f 9a2e6fb920057cd4e94370877e97e7103409edd696a9f3e4d87716ac4314f5dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:01:32 + docker inspect -f . ci-base-image-x86_64 14:01:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:01:32 prd-ubuntu20.04-docker-8c-8g-29820 does not seem to be running inside a container 14:01:32 $ 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-375 -v /w/workspace/xfoundry_device-modbus-go_PR-375:/w/workspace/xfoundry_device-modbus-go_PR-375:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-375@tmp:/w/workspace/xfoundry_device-modbus-go_PR-375@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:01:32 $ docker top 41c93219e71a96bb5d47c0a7d825cba1738e220da46fd0506d5e8b6fbe870cd8 -eo pid,comm [Pipeline] { [Pipeline] sh 14:01:33 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-375 [Pipeline] fileExists [Pipeline] sh 14:01:33 + make test 14:01:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:01:33 ? github.com/edgexfoundry/device-modbus-go [no test files] 14:01:41 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 14:01:41 --- FAIL: TestCreateRTUConnectionInfo_unitID255 (0.00s) 14:01:41 config_test.go:39: Fail to create connectionInfo. Error: fail to parse protocol config 'Timeout', time: missing unit in duration "5" 14:01:41 --- FAIL: TestCreateConnectionInfo_unitID0 (0.00s) 14:01:41 config_test.go:71: Fail to create connectionInfo. Error: fail to parse protocol config 'Timeout', time: missing unit in duration "5" 14:01:41 --- FAIL: TestCreateTCPConnectionInfo (0.00s) 14:01:41 config_test.go:143: Fail to create connectionInfo. Error: fail to parse protocol config 'Timeout', time: missing unit in duration "5" 14:01:41 FAIL 14:01:41 coverage: 45.9% of statements 14:01:41 FAIL github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s 14:01:41 FAIL 14:01:41 make: *** [Makefile:27: test] Error 1 [Pipeline] } 14:01:42 $ docker stop --time=1 41c93219e71a96bb5d47c0a7d825cba1738e220da46fd0506d5e8b6fbe870cd8 14:01:43 $ docker rm -f 41c93219e71a96bb5d47c0a7d825cba1738e220da46fd0506d5e8b6fbe870cd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:01:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:01:44 14:01:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:01:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:01:44 latest: Pulling from edgex-lftools-log-publisher 14:01:44 5eb5b503b376: Pulling fs layer 14:01:44 5c69ac0246d0: Pulling fs layer 14:01:44 ec43610c2a17: Pulling fs layer 14:01:44 3a2ae6a8a46f: Pulling fs layer 14:01:44 33b1e0a273af: Pulling fs layer 14:01:44 5d3b04190fa2: Pulling fs layer 14:01:44 2f39f015ded8: Pulling fs layer 14:01:44 3a2ae6a8a46f: Waiting 14:01:44 33b1e0a273af: Waiting 14:01:44 5d3b04190fa2: Waiting 14:01:44 2f39f015ded8: Waiting 14:01:44 5c69ac0246d0: Verifying Checksum 14:01:44 5c69ac0246d0: Download complete 14:01:44 3a2ae6a8a46f: Verifying Checksum 14:01:44 3a2ae6a8a46f: Download complete 14:01:44 33b1e0a273af: Verifying Checksum 14:01:44 33b1e0a273af: Download complete 14:01:44 ec43610c2a17: Verifying Checksum 14:01:44 ec43610c2a17: Download complete 14:01:44 5d3b04190fa2: Verifying Checksum 14:01:44 5d3b04190fa2: Download complete 14:01:44 5eb5b503b376: Verifying Checksum 14:01:44 5eb5b503b376: Download complete 14:01:45 2f39f015ded8: Download complete 14:01:46 5eb5b503b376: Pull complete 14:01:46 5c69ac0246d0: Pull complete 14:01:47 ec43610c2a17: Pull complete 14:01:47 3a2ae6a8a46f: Pull complete 14:01:47 33b1e0a273af: Pull complete 14:01:47 5d3b04190fa2: Pull complete 14:01:52 2f39f015ded8: Pull complete 14:01:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:01:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:01:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:01:52 prd-ubuntu20.04-docker-8c-8g-29820 does not seem to be running inside a container 14:01:52 $ 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-375 -v /w/workspace/xfoundry_device-modbus-go_PR-375:/w/workspace/xfoundry_device-modbus-go_PR-375:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-375@tmp:/w/workspace/xfoundry_device-modbus-go_PR-375@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:01:57 $ docker top 9d7e3065d70cb6f0133ab19c28ab807ee4bbe50b7de9d90699e37b7a6c0fd4ae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:01:58 ---> job-cost.sh 14:01:58 lf-activate-venv: SKIPPING 14:01:58 INFO: No Stack... 14:01:58 INFO: Retrieving Pricing Info for: v3-standard-8 14:01:58 INFO: Archiving Costs [Pipeline] sh 14:01:59 + cat /w/workspace/xfoundry_device-modbus-go_PR-375/archives/cost.csv 14:01:59 + cut -d, -f6 [Pipeline] lock 14:01:59 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-375-2-stack-cost] 14:01:59 Resource [jenkins-edgexfoundry-device-modbus-go-PR-375-2-stack-cost] did not exist. Created. 14:01:59 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-375-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:01:59 + echo total: 0.2199999988079071 [Pipeline] stash 14:01:59 Stashed 1 file(s) [Pipeline] } 14:01:59 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-375-2-stack-cost] [Pipeline] // lock [Pipeline] } 14:01:59 $ docker stop --time=1 9d7e3065d70cb6f0133ab19c28ab807ee4bbe50b7de9d90699e37b7a6c0fd4ae 14:02:00 $ docker rm -f 9d7e3065d70cb6f0133ab19c28ab807ee4bbe50b7de9d90699e37b7a6c0fd4ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:02:00 Failed in branch amd64 14:02:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-29821 in /w/workspace/xfoundry_device-modbus-go_PR-375 [Pipeline] { [Pipeline] ws 14:02:58 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 14:02:58 Selected Git installation does not exist. Using Default 14:02:58 The recommended git tool is: NONE 14:03:05 using credential edgex-jenkins-ssh 14:03:05 Cloning the remote Git repository 14:03:05 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 14:03:05 > git init /w/workspace/device-modbus-go/2 # timeout=10 14:03:05 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 14:03:05 > git --version # timeout=10 14:03:05 > git --version # 'git version 2.25.1' 14:03:05 using GIT_SSH to set credentials SSH Credentials for GitHub 14:03:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:03:07 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 14:03:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:03:07 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 14:03:07 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 14:03:07 using GIT_SSH to set credentials SSH Credentials for GitHub 14:03:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/375/head:refs/remotes/origin/PR-375 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 14:03:07 Merging remotes/origin/jakarta commit dcb5b79c0a884aea797b2f76ba4cf23c03bae97d into PR head commit e40ab70184fa96e0e867eb365550b2b39d38e243 14:03:08 Merge succeeded, producing e40ab70184fa96e0e867eb365550b2b39d38e243 14:03:08 Checking out Revision e40ab70184fa96e0e867eb365550b2b39d38e243 (PR-375) 14:03:07 > git config core.sparsecheckout # timeout=10 14:03:07 > git checkout -f e40ab70184fa96e0e867eb365550b2b39d38e243 # timeout=10 14:03:08 > git remote # timeout=10 14:03:08 > git config --get remote.origin.url # timeout=10 14:03:08 using GIT_SSH to set credentials SSH Credentials for GitHub 14:03:08 > git merge dcb5b79c0a884aea797b2f76ba4cf23c03bae97d # timeout=10 14:03:08 > git rev-parse HEAD^{commit} # timeout=10 14:03:08 > git config core.sparsecheckout # timeout=10 14:03:08 > git checkout -f e40ab70184fa96e0e867eb365550b2b39d38e243 # timeout=10 14:03:13 Commit message: "Change timeout configuration on test.devices.toml" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:03:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:03:13 % Total % Received % Xferd Average Speed Time Time Time Current 14:03:13 Dload Upload Total Spent Left Speed 14:03:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 97k 0 --:--:-- --:--:-- --:--:-- 97k [Pipeline] sh 14:03:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:03:15 + sudo tee /etc/docker/daemon.new 14:03:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:03:15 { 14:03:15 "registry-mirrors": [ 14:03:15 "https://nexus3.edgexfoundry.org:10001" 14:03:15 ], 14:03:15 "bip": "10.250.0.254/24", 14:03:15 "hosts": [ 14:03:15 "tcp://0.0.0.0:5555", 14:03:15 "unix:///var/run/docker.sock" 14:03:15 ], 14:03:15 "mtu": 1458, 14:03:15 "selinux-enabled": true, 14:03:15 "seccomp-profile": "/etc/docker/seccomp.json" 14:03:15 } [Pipeline] sh 14:03:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:03:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:03:34 provisioning config files... 14:03:34 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config8217594409089250788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:03:34 ---> docker-login.sh 14:03:34 nexus3.edgexfoundry.org:10001 14:03:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:03:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:03:35 Configure a credential helper to remove this warning. See 14:03:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:03:35 14:03:35 Login Succeeded 14:03:35 nexus3.edgexfoundry.org:10002 14:03:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:03:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:03:35 Configure a credential helper to remove this warning. See 14:03:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:03:35 14:03:35 Login Succeeded 14:03:35 nexus3.edgexfoundry.org:10003 14:03:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:03:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:03:36 Configure a credential helper to remove this warning. See 14:03:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:03:36 14:03:36 Login Succeeded 14:03:36 nexus3.edgexfoundry.org:10004 14:03:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:03:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:03:36 Configure a credential helper to remove this warning. See 14:03:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:03:36 14:03:36 Login Succeeded 14:03:36 docker.io 14:03:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:03:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:03:37 Configure a credential helper to remove this warning. See 14:03:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:03:37 14:03:37 Login Succeeded 14:03:37 ---> docker-login.sh ends [Pipeline] } 14:03:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:03:37 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh 14:03:38 + cut -d -f+ 2 14:03:38 grep ^go [0-9].[0-9]* go.mod [Pipeline] echo 14:03:38 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:03:38 ========================================================= 14:03:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts] 14:03:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:03:38 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts --build-arg MAKE=echo noop --target=builder . 14:03:40 Sending build context to Docker daemon 14.4MB 14:03:40 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 14:03:40 Step 2/9 : FROM ${BASE} AS builder 14:03:40 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 14:03:40 552d1f2373af: Pulling fs layer 14:03:40 ea3f2d53f512: Pulling fs layer 14:03:40 9e70ebbbe112: Pulling fs layer 14:03:40 7a9cfe048b4a: Pulling fs layer 14:03:40 72dc09318566: Pulling fs layer 14:03:40 f324388ff665: Pulling fs layer 14:03:40 53ef782089cf: Pulling fs layer 14:03:40 2af28fca035d: Pulling fs layer 14:03:40 72dc09318566: Waiting 14:03:40 f324388ff665: Waiting 14:03:40 53ef782089cf: Waiting 14:03:40 2af28fca035d: Waiting 14:03:40 7a9cfe048b4a: Waiting 14:03:40 9e70ebbbe112: Verifying Checksum 14:03:40 9e70ebbbe112: Download complete 14:03:40 ea3f2d53f512: Verifying Checksum 14:03:40 ea3f2d53f512: Download complete 14:03:40 72dc09318566: Verifying Checksum 14:03:40 72dc09318566: Download complete 14:03:40 f324388ff665: Verifying Checksum 14:03:40 f324388ff665: Download complete 14:03:40 552d1f2373af: Verifying Checksum 14:03:40 53ef782089cf: Verifying Checksum 14:03:40 53ef782089cf: Download complete 14:03:40 552d1f2373af: Pull complete 14:03:41 ea3f2d53f512: Pull complete 14:03:41 9e70ebbbe112: Pull complete 14:03:42 2af28fca035d: Verifying Checksum 14:03:42 2af28fca035d: Download complete 14:03:42 7a9cfe048b4a: Verifying Checksum 14:03:42 7a9cfe048b4a: Download complete 14:03:55 7a9cfe048b4a: Pull complete 14:03:55 72dc09318566: Pull complete 14:03:55 f324388ff665: Pull complete 14:03:55 53ef782089cf: Pull complete 14:04:01 2af28fca035d: Pull complete 14:04:01 Digest: sha256:527acc5c9bdbcdb39ccaea3aa8445d1f41445096e6313448e88606d2b64d4b83 14:04:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts 14:04:01 ---> d19f1962542a 14:04:01 Step 3/9 : ARG MAKE='make build' 14:04:01 ---> Running in ed6ee5e643f2 14:04:02 Removing intermediate container ed6ee5e643f2 14:04:02 ---> c37474f845d2 14:04:02 Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:04:02 ---> Running in 63d2336f3bdb 14:04:04 Removing intermediate container 63d2336f3bdb 14:04:04 ---> bc635b101afc 14:04:04 Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 14:04:04 ---> Running in fe680d82df24 14:04:05 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 14:04:06 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 14:04:06 (1/8) Installing openssh-keygen (8.6_p1-r3) 14:04:06 (2/8) Installing libedit (20210216.3.1-r0) 14:04:07 (3/8) Installing openssh-client-common (8.6_p1-r3) 14:04:07 (4/8) Installing openssh-client-default (8.6_p1-r3) 14:04:07 (5/8) Installing openssh-sftp-server (8.6_p1-r3) 14:04:07 (6/8) Installing openssh-server-common (8.6_p1-r3) 14:04:07 (7/8) Installing openssh-server (8.6_p1-r3) 14:04:07 (8/8) Installing openssh (8.6_p1-r3) 14:04:07 Executing busybox-1.33.1-r3.trigger 14:04:07 OK: 225 MiB in 60 packages 14:04:08 Removing intermediate container fe680d82df24 14:04:08 ---> efe4482f36c1 14:04:08 Step 6/9 : WORKDIR /device-modbus-go 14:04:08 ---> Running in 81c8ad8a0bf0 14:04:08 Removing intermediate container 81c8ad8a0bf0 14:04:08 ---> c274b8d6f453 14:04:08 Step 7/9 : COPY . . 14:04:13 ---> 739aebc26792 14:04:13 Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:04:13 ---> Running in 69bfca79fcf9 14:04:13 skipping... 14:04:14 Removing intermediate container 69bfca79fcf9 14:04:14 ---> 7a8977f277ea 14:04:14 Step 9/9 : RUN ${MAKE} 14:04:14 ---> Running in ec7e9a6f96de 14:04:15 noop 14:04:15 Removing intermediate container ec7e9a6f96de 14:04:15 ---> b3f65e1241a3 14:04:15 Successfully built b3f65e1241a3 14:04:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:04:16 + docker inspect -f . ci-base-image-arm64 14:04:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:04:16 prd-ubuntu20.04-docker-arm64-4c-16g-29821 does not seem to be running inside a container 14:04:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:04:18 $ docker top 3a86f4cb00c564a7a871e98fe122e6be6c3772a6f178079901fd5023cb73dc03 -eo pid,comm [Pipeline] { [Pipeline] sh 14:04:19 + go version 14:04:19 go version go1.16.8 linux/arm64 [Pipeline] } 14:04:19 $ docker stop --time=1 3a86f4cb00c564a7a871e98fe122e6be6c3772a6f178079901fd5023cb73dc03 14:04:20 $ docker rm -f 3a86f4cb00c564a7a871e98fe122e6be6c3772a6f178079901fd5023cb73dc03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:04:21 + docker inspect -f . ci-base-image-arm64 14:04:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:04:21 prd-ubuntu20.04-docker-arm64-4c-16g-29821 does not seem to be running inside a container 14:04:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:04:22 $ docker top a0fb1a8397aaa0735a74063da66b324ed8a0bf99e7e50fbd0d3a66be8b8479ca -eo pid,comm [Pipeline] { [Pipeline] sh 14:04:23 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 14:04:24 + make test 14:04:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:04:25 ? github.com/edgexfoundry/device-modbus-go [no test files] 14:05:22 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 14:05:22 --- FAIL: TestCreateRTUConnectionInfo_unitID255 (0.00s) 14:05:22 config_test.go:39: Fail to create connectionInfo. Error: fail to parse protocol config 'Timeout', time: missing unit in duration "5" 14:05:22 --- FAIL: TestCreateConnectionInfo_unitID0 (0.00s) 14:05:22 config_test.go:71: Fail to create connectionInfo. Error: fail to parse protocol config 'Timeout', time: missing unit in duration "5" 14:05:22 --- FAIL: TestCreateTCPConnectionInfo (0.00s) 14:05:22 config_test.go:143: Fail to create connectionInfo. Error: fail to parse protocol config 'Timeout', time: missing unit in duration "5" 14:05:22 FAIL 14:05:22 coverage: 45.9% of statements 14:05:22 FAIL github.com/edgexfoundry/device-modbus-go/internal/driver 0.058s 14:05:22 FAIL 14:05:22 make: *** [Makefile:27: test] Error 1 [Pipeline] } 14:05:22 $ docker stop --time=1 a0fb1a8397aaa0735a74063da66b324ed8a0bf99e7e50fbd0d3a66be8b8479ca 14:05:24 $ docker rm -f a0fb1a8397aaa0735a74063da66b324ed8a0bf99e7e50fbd0d3a66be8b8479ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:05:25 14:05:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:05:25 arm64: Pulling from edgex-lftools-log-publisher 14:05:25 8998bd30e6a1: Pulling fs layer 14:05:25 04944245beec: Pulling fs layer 14:05:25 699f458cf7ca: Pulling fs layer 14:05:25 765212b225bb: Pulling fs layer 14:05:25 f23df028b6ca: Pulling fs layer 14:05:25 d65c8cfc05b1: Pulling fs layer 14:05:25 2437ff75d9bd: Pulling fs layer 14:05:25 765212b225bb: Waiting 14:05:25 f23df028b6ca: Waiting 14:05:25 d65c8cfc05b1: Waiting 14:05:25 2437ff75d9bd: Waiting 14:05:25 04944245beec: Verifying Checksum 14:05:25 04944245beec: Download complete 14:05:25 765212b225bb: Download complete 14:05:25 f23df028b6ca: Verifying Checksum 14:05:25 f23df028b6ca: Download complete 14:05:25 d65c8cfc05b1: Verifying Checksum 14:05:25 d65c8cfc05b1: Download complete 14:05:26 699f458cf7ca: Verifying Checksum 14:05:26 699f458cf7ca: Download complete 14:05:26 8998bd30e6a1: Verifying Checksum 14:05:26 8998bd30e6a1: Download complete 14:05:28 2437ff75d9bd: Verifying Checksum 14:05:28 2437ff75d9bd: Download complete 14:05:30 8998bd30e6a1: Pull complete 14:05:30 04944245beec: Pull complete 14:05:32 699f458cf7ca: Pull complete 14:05:32 765212b225bb: Pull complete 14:05:33 f23df028b6ca: Pull complete 14:05:33 d65c8cfc05b1: Pull complete 14:05:49 2437ff75d9bd: Pull complete 14:05:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:05:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:05:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:05:49 prd-ubuntu20.04-docker-arm64-4c-16g-29821 does not seem to be running inside a container 14:05:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:05:51 $ docker top b06c6e80e4988b48506991f39ff87e423d983f6c2fef8cd5793aa48b9dbbdc31 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:05:52 ---> job-cost.sh 14:05:52 lf-activate-venv: SKIPPING 14:05:52 INFO: No Stack... 14:05:52 INFO: Retrieving Pricing Info for: v3-standard-4 14:05:53 INFO: Archiving Costs [Pipeline] sh 14:05:54 + cat /w/workspace/device-modbus-go/2/archives/cost.csv 14:05:54 + cut -d, -f6 [Pipeline] lock 14:05:54 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-375-2-stack-cost] 14:05:54 Resource [jenkins-edgexfoundry-device-modbus-go-PR-375-2-stack-cost] did not exist. Created. 14:05:54 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-375-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:05:55 /w/workspace/device-modbus-go/2@tmp/durable-beecca14/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:05:55 + echo total: 0.10999999940395355 [Pipeline] stash 14:05:55 Warning: overwriting stash ‘stack-cost’ 14:05:56 Stashed 1 file(s) [Pipeline] } 14:05:56 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-375-2-stack-cost] [Pipeline] // lock [Pipeline] } 14:05:56 $ docker stop --time=1 b06c6e80e4988b48506991f39ff87e423d983f6c2fef8cd5793aa48b9dbbdc31 14:05:58 $ docker rm -f b06c6e80e4988b48506991f39ff87e423d983f6c2fef8cd5793aa48b9dbbdc31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:05:58 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 14:05:59 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-375/archives ] 14:05:59 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-375/archives 14:05:59 total 16 14:05:59 drwxr-xr-x 3 root root 4096 Sep 19 14:01 . 14:05:59 drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 14:01 .. 14:05:59 drwxr-xr-x 2 root root 4096 Sep 19 14:01 cost 14:05:59 -rw-r--r-- 1 root root 88 Sep 19 14:01 cost.csv 14:05:59 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-375/archives 14:05:59 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-375/archives 14:05:59 total 16 14:05:59 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 14:01 . 14:05:59 drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 14:01 .. 14:05:59 drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 14:01 cost 14:05:59 -rw-r--r-- 1 jenkins jenkins 88 Sep 19 14:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:05:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:06:00 ---> package-listing.sh 14:06:00 ++ facter osfamily 14:06:00 ++ tr '[:upper:]' '[:lower:]' 14:06:00 + OS_FAMILY=debian 14:06:00 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-375 14:06:00 + START_PACKAGES=/tmp/packages_start.txt 14:06:00 + END_PACKAGES=/tmp/packages_end.txt 14:06:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:06:00 + PACKAGES=/tmp/packages_start.txt 14:06:00 + '[' /w/workspace/xfoundry_device-modbus-go_PR-375 ']' 14:06:00 + PACKAGES=/tmp/packages_end.txt 14:06:00 + case "${OS_FAMILY}" in 14:06:00 + dpkg -l 14:06:00 + grep '^ii' 14:06:00 + '[' -f /tmp/packages_start.txt ']' 14:06:00 + '[' -f /tmp/packages_end.txt ']' 14:06:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:06:00 + '[' /w/workspace/xfoundry_device-modbus-go_PR-375 ']' 14:06:00 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-375/archives/ 14:06:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-375/archives/ [Pipeline] echo 14:06:00 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-375/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:06:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:06:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:06:01 prd-ubuntu20.04-docker-8c-8g-29820 does not seem to be running inside a container 14:06:01 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-375/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-375 -v /w/workspace/xfoundry_device-modbus-go_PR-375:/w/workspace/xfoundry_device-modbus-go_PR-375:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-375@tmp:/w/workspace/xfoundry_device-modbus-go_PR-375@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:06:01 $ docker top 2dbcbd5c4cd960024b1ede5cd129714ff45690317b20d316255f51a14589cc51 -eo pid,comm [Pipeline] { [Pipeline] sh 14:06:02 + touch /tmp/pre-build-complete [Pipeline] sh 14:06:02 + mkdir -p /var/log/sysstat [Pipeline] sh 14:06:02 + ls /var/log/sa-host 14:06:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:06:02 provisioning config files... 14:06:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-375@tmp/config2784925404722459840tmp [Pipeline] { [Pipeline] echo 14:06:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:06:03 ---> create-netrc.sh [Pipeline] } 14:06:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:06:03 ---> python-tools-install.sh [Pipeline] echo 14:06:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:06:03 ---> sudo-logs.sh 14:06:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:06:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:06:04 ---> job-cost.sh 14:06:04 lf-activate-venv: SKIPPING 14:06:04 DEBUG: total: 0.2199999988079071 14:06:04 INFO: Retrieving Stack Cost... 14:06:04 INFO: Retrieving Pricing Info for: v3-standard-8 14:06:04 INFO: Archiving Costs [Pipeline] echo 14:06:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:06:05 ---> logs-deploy.sh 14:06:05 lf-activate-venv: SKIPPING 14:06:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-375/2 14:06:05 INFO: archiving workspace using pattern(s): 14:06:06 Archives upload complete. 14:06:06 INFO: archiving logs to Nexus