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 [2022-09-19T14:00:50.218Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-19T14:00:50.279Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-19T14:00:50.291Z] ========================================================= [2022-09-19T14:00:50.291Z] EdgeX Global Pipelines Version Info [2022-09-19T14:00:50.291Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-19T14:00:51.093Z] ------------------- [2022-09-19T14:00:51.093Z] stable info: [2022-09-19T14:00:51.093Z] ------------------- [2022-09-19T14:00:51.093Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-19T14:00:51.093Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-19T14:00:51.093Z] Message: update stable to v1.0.239 [2022-09-19T14:00:51.675Z] ------------------- [2022-09-19T14:00:51.676Z] experimental info: [2022-09-19T14:00:51.676Z] ------------------- [2022-09-19T14:00:51.676Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-19T14:00:51.676Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-19T14:00:51.676Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-19T14:00:51.960Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-09-19T14:00:51.971Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-09-19T14:00:51.983Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-19T14:00:51.996Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-19T14:00:52.011Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-19T14:00:52.025Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-19T14:00:52.033Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-19T14:00:52.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-19T14:00:52.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-19T14:00:52.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-19T14:00:52.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-19T14:00:52.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-09-19T14:00:52.085Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-19T14:00:52.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-19T14:00:52.108Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-19T14:00:52.120Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-19T14:00:52.131Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-19T14:00:52.144Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-19T14:00:52.154Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-19T14:00:52.164Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-09-19T14:00:52.176Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-19T14:00:52.188Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-19T14:00:52.200Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-19T14:00:52.212Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-19T14:00:52.223Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-19T14:00:52.236Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-19T14:00:52.249Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-19T14:00:52.260Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-375 [Pipeline] echo [2022-09-19T14:00:52.271Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-375 [Pipeline] echo [2022-09-19T14:00:52.282Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-375 [Pipeline] echo [2022-09-19T14:00:52.296Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e40ab70184fa96e0e867eb365550b2b39d38e243 [Pipeline] echo [2022-09-19T14:00:52.308Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e40ab70 [Pipeline] echo [2022-09-19T14:00:52.319Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-19T14:00:52.367Z] provisioning config files... [2022-09-19T14:00:52.383Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-375@tmp/config321596187012057324tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-19T14:00:52.688Z] ---> docker-login.sh [2022-09-19T14:00:52.688Z] nexus3.edgexfoundry.org:10001 [2022-09-19T14:00:52.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T14:00:53.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T14:00:53.207Z] Configure a credential helper to remove this warning. See [2022-09-19T14:00:53.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T14:00:53.207Z] [2022-09-19T14:00:53.207Z] Login Succeeded [2022-09-19T14:00:53.207Z] nexus3.edgexfoundry.org:10002 [2022-09-19T14:00:53.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T14:00:53.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T14:00:53.207Z] Configure a credential helper to remove this warning. See [2022-09-19T14:00:53.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T14:00:53.207Z] [2022-09-19T14:00:53.207Z] Login Succeeded [2022-09-19T14:00:53.207Z] nexus3.edgexfoundry.org:10003 [2022-09-19T14:00:53.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T14:00:53.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T14:00:53.469Z] Configure a credential helper to remove this warning. See [2022-09-19T14:00:53.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T14:00:53.469Z] [2022-09-19T14:00:53.469Z] Login Succeeded [2022-09-19T14:00:53.469Z] nexus3.edgexfoundry.org:10004 [2022-09-19T14:00:53.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T14:00:53.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T14:00:53.469Z] Configure a credential helper to remove this warning. See [2022-09-19T14:00:53.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T14:00:53.469Z] [2022-09-19T14:00:53.469Z] Login Succeeded [2022-09-19T14:00:53.469Z] docker.io [2022-09-19T14:00:53.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T14:00:53.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T14:00:53.994Z] Configure a credential helper to remove this warning. See [2022-09-19T14:00:53.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T14:00:53.994Z] [2022-09-19T14:00:53.994Z] Login Succeeded [2022-09-19T14:00:53.994Z] ---> docker-login.sh ends [Pipeline] } [2022-09-19T14:00:54.003Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-19T14:00:54.382Z] + git rev-list -1 --merges e40ab70184fa96e0e867eb365550b2b39d38e243~1..e40ab70184fa96e0e867eb365550b2b39d38e243 [Pipeline] echo [2022-09-19T14:00:54.420Z] -----------> git rev-list -1 --merges e40ab70184fa96e0e867eb365550b2b39d38e243~1..e40ab70184fa96e0e867eb365550b2b39d38e243 e40ab70184fa96e0e867eb365550b2b39d38e243 [false] [Pipeline] sh [2022-09-19T14:00:54.714Z] + git log --format=format:%s -1 e40ab70184fa96e0e867eb365550b2b39d38e243 [Pipeline] echo [2022-09-19T14:00:54.730Z] ========================================================= [2022-09-19T14:00:54.730Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-19T14:00:54.730Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-19T14:00:55.068Z] + git log --format=format:%s -1 e40ab70184fa96e0e867eb365550b2b39d38e243 [Pipeline] echo [2022-09-19T14:00:55.080Z] [semverPrep] GIT_COMMIT: e40ab70184fa96e0e867eb365550b2b39d38e243, Commit Message: Change timeout configuration on test.devices.toml [Pipeline] echo [2022-09-19T14:00:55.088Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-19T14:00:55.461Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-19T14:00:55.461Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-19T14:00:55.461Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-19T14:00:55.461Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-19T14:00:55.461Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-19T14:00:55.461Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-19T14:00:55.461Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-19T14:00:55.881Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-19T14:00:55.881Z] [2022-09-19T14:00:55.881Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-19T14:00:56.190Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-19T14:00:56.190Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-19T14:00:56.190Z] b85a868b505f: Pulling fs layer [2022-09-19T14:00:56.190Z] e2be974225ed: Pulling fs layer [2022-09-19T14:00:56.190Z] 339a4e72a1f5: Pulling fs layer [2022-09-19T14:00:56.190Z] 988bab9f4d93: Pulling fs layer [2022-09-19T14:00:56.190Z] 1469e6f7b9e6: Pulling fs layer [2022-09-19T14:00:56.190Z] eaf3925da568: Pulling fs layer [2022-09-19T14:00:56.190Z] bab4dde63d76: Pulling fs layer [2022-09-19T14:00:56.190Z] bde34c3a00c8: Pulling fs layer [2022-09-19T14:00:56.190Z] b352a97aabf1: Pulling fs layer [2022-09-19T14:00:56.190Z] 4872d77fe225: Pulling fs layer [2022-09-19T14:00:56.190Z] 5851b861e8e6: Pulling fs layer [2022-09-19T14:00:56.190Z] eaf3925da568: Waiting [2022-09-19T14:00:56.190Z] 988bab9f4d93: Waiting [2022-09-19T14:00:56.190Z] bde34c3a00c8: Waiting [2022-09-19T14:00:56.190Z] 1469e6f7b9e6: Waiting [2022-09-19T14:00:56.190Z] b352a97aabf1: Waiting [2022-09-19T14:00:56.190Z] bab4dde63d76: Waiting [2022-09-19T14:00:56.190Z] 4872d77fe225: Waiting [2022-09-19T14:00:56.190Z] e2be974225ed: Verifying Checksum [2022-09-19T14:00:56.190Z] e2be974225ed: Download complete [2022-09-19T14:00:56.190Z] 988bab9f4d93: Download complete [2022-09-19T14:00:56.451Z] 1469e6f7b9e6: Verifying Checksum [2022-09-19T14:00:56.451Z] 1469e6f7b9e6: Download complete [2022-09-19T14:00:56.451Z] eaf3925da568: Verifying Checksum [2022-09-19T14:00:56.451Z] eaf3925da568: Download complete [2022-09-19T14:00:56.451Z] 339a4e72a1f5: Verifying Checksum [2022-09-19T14:00:56.451Z] 339a4e72a1f5: Download complete [2022-09-19T14:00:56.451Z] bde34c3a00c8: Download complete [2022-09-19T14:00:56.451Z] b352a97aabf1: Download complete [2022-09-19T14:00:56.451Z] 4872d77fe225: Verifying Checksum [2022-09-19T14:00:56.451Z] 4872d77fe225: Download complete [2022-09-19T14:00:56.451Z] 5851b861e8e6: Download complete [2022-09-19T14:00:56.451Z] b85a868b505f: Verifying Checksum [2022-09-19T14:00:56.451Z] b85a868b505f: Download complete [2022-09-19T14:00:56.710Z] bab4dde63d76: Verifying Checksum [2022-09-19T14:00:56.710Z] bab4dde63d76: Download complete [2022-09-19T14:00:57.649Z] b85a868b505f: Pull complete [2022-09-19T14:00:57.909Z] e2be974225ed: Pull complete [2022-09-19T14:00:58.478Z] 339a4e72a1f5: Pull complete [2022-09-19T14:00:58.478Z] 988bab9f4d93: Pull complete [2022-09-19T14:00:58.739Z] 1469e6f7b9e6: Pull complete [2022-09-19T14:00:58.999Z] eaf3925da568: Pull complete [2022-09-19T14:01:00.910Z] bab4dde63d76: Pull complete [2022-09-19T14:01:00.910Z] bde34c3a00c8: Pull complete [2022-09-19T14:01:00.910Z] b352a97aabf1: Pull complete [2022-09-19T14:01:01.170Z] 4872d77fe225: Pull complete [2022-09-19T14:01:01.171Z] 5851b861e8e6: Pull complete [2022-09-19T14:01:01.171Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-19T14:01:01.171Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-19T14:01:01.171Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-19T14:01:01.277Z] prd-ubuntu20.04-docker-8c-8g-29820 does not seem to be running inside a container [2022-09-19T14:01:01.330Z] $ 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 [2022-09-19T14:01:04.451Z] $ docker top a44f1d7a5508f8e122a3f74fbb4dfd0912a4619f2c23e2854fe8c508915cb6a5 -eo pid,comm [2022-09-19T14:01:04.514Z] 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). [2022-09-19T14:01:04.514Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-19T14:01:04.553Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-19T14:01:04.553Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-19T14:01:04.680Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-19T14:01:04.693Z] $ docker exec a44f1d7a5508f8e122a3f74fbb4dfd0912a4619f2c23e2854fe8c508915cb6a5 ssh-agent [2022-09-19T14:01:04.812Z] SSH_AUTH_SOCK=/tmp/ssh-6Twqvy80X6s2/agent.35 [2022-09-19T14:01:04.812Z] SSH_AGENT_PID=41 [2022-09-19T14:01:04.818Z] Running ssh-add (command line suppressed) [2022-09-19T14:01:04.961Z] 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) [2022-09-19T14:01:04.969Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-19T14:01:05.264Z] + git tag --points-at HEAD [Pipeline] } [2022-09-19T14:01:05.292Z] $ docker exec --env ******** --env ******** a44f1d7a5508f8e122a3f74fbb4dfd0912a4619f2c23e2854fe8c508915cb6a5 ssh-agent -k [2022-09-19T14:01:05.406Z] unset SSH_AUTH_SOCK; [2022-09-19T14:01:05.406Z] unset SSH_AGENT_PID; [2022-09-19T14:01:05.406Z] echo Agent pid 41 killed; [2022-09-19T14:01:05.409Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-19T14:01:05.435Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-19T14:01:05.435Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-19T14:01:05.567Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-19T14:01:05.580Z] $ docker exec a44f1d7a5508f8e122a3f74fbb4dfd0912a4619f2c23e2854fe8c508915cb6a5 ssh-agent [2022-09-19T14:01:05.689Z] SSH_AUTH_SOCK=/tmp/ssh-taIubxqmXgtg/agent.74 [2022-09-19T14:01:05.689Z] SSH_AGENT_PID=81 [2022-09-19T14:01:05.695Z] Running ssh-add (command line suppressed) [2022-09-19T14:01:05.826Z] 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) [2022-09-19T14:01:05.828Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-19T14:01:06.119Z] + git semver init [2022-09-19T14:01:06.381Z] 2022-09-19 14:01:06,326 [run_init] DEBUG init version:0.0.0 force:False [2022-09-19T14:01:06.381Z] 2022-09-19 14:01:06,327 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-375/.semver [2022-09-19T14:01:06.381Z] 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 [2022-09-19T14:01:06.381Z] 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) [2022-09-19T14:01:07.325Z] 2022-09-19 14:01:07,257 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-375/.git/info/exclude [2022-09-19T14:01:07.325Z] 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 [2022-09-19T14:01:07.325Z] 2022-09-19 14:01:07,258 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-375/.semver/PR-375 [2022-09-19T14:01:07.325Z] 2022-09-19 14:01:07,262 [execute] INFO git cat-file --batch-check [2022-09-19T14:01:07.325Z] 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=) [2022-09-19T14:01:07.325Z] 2022-09-19 14:01:07,270 [execute] INFO git cat-file --batch [2022-09-19T14:01:07.325Z] 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=) [2022-09-19T14:01:07.325Z] 2022-09-19 14:01:07,276 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-375/.semver/PR-375 [2022-09-19T14:01:07.325Z] 0.0.0 [Pipeline] } [2022-09-19T14:01:07.351Z] $ docker exec --env ******** --env ******** a44f1d7a5508f8e122a3f74fbb4dfd0912a4619f2c23e2854fe8c508915cb6a5 ssh-agent -k [2022-09-19T14:01:07.465Z] unset SSH_AUTH_SOCK; [2022-09-19T14:01:07.466Z] unset SSH_AGENT_PID; [2022-09-19T14:01:07.466Z] echo Agent pid 81 killed; [2022-09-19T14:01:07.461Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-19T14:01:07.767Z] + git semver [Pipeline] } [2022-09-19T14:01:08.065Z] $ docker stop --time=1 a44f1d7a5508f8e122a3f74fbb4dfd0912a4619f2c23e2854fe8c508915cb6a5 [2022-09-19T14:01:09.386Z] $ docker rm -f a44f1d7a5508f8e122a3f74fbb4dfd0912a4619f2c23e2854fe8c508915cb6a5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-19T14:01:09.722Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-19T14:01:09.970Z] Stashed 1 file(s) [Pipeline] echo [2022-09-19T14:01:09.973Z] [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 [2022-09-19T14:01:10.116Z] provisioning config files... [2022-09-19T14:01:10.126Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-375@tmp/config9166583992575185371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-19T14:01:10.425Z] ---> docker-login.sh [2022-09-19T14:01:10.425Z] nexus3.edgexfoundry.org:10001 [2022-09-19T14:01:10.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T14:01:10.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T14:01:10.425Z] Configure a credential helper to remove this warning. See [2022-09-19T14:01:10.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T14:01:10.425Z] [2022-09-19T14:01:10.425Z] Login Succeeded [2022-09-19T14:01:10.425Z] nexus3.edgexfoundry.org:10002 [2022-09-19T14:01:10.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T14:01:10.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T14:01:10.686Z] Configure a credential helper to remove this warning. See [2022-09-19T14:01:10.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T14:01:10.686Z] [2022-09-19T14:01:10.686Z] Login Succeeded [2022-09-19T14:01:10.686Z] nexus3.edgexfoundry.org:10003 [2022-09-19T14:01:10.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T14:01:10.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T14:01:10.686Z] Configure a credential helper to remove this warning. See [2022-09-19T14:01:10.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T14:01:10.686Z] [2022-09-19T14:01:10.686Z] Login Succeeded [2022-09-19T14:01:10.686Z] nexus3.edgexfoundry.org:10004 [2022-09-19T14:01:10.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T14:01:10.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T14:01:10.947Z] Configure a credential helper to remove this warning. See [2022-09-19T14:01:10.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T14:01:10.947Z] [2022-09-19T14:01:10.947Z] Login Succeeded [2022-09-19T14:01:10.947Z] docker.io [2022-09-19T14:01:10.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T14:01:11.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T14:01:11.518Z] Configure a credential helper to remove this warning. See [2022-09-19T14:01:11.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T14:01:11.518Z] [2022-09-19T14:01:11.518Z] Login Succeeded [2022-09-19T14:01:11.518Z] ---> docker-login.sh ends [Pipeline] } [2022-09-19T14:01:11.527Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-19T14:01:11.592Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh [2022-09-19T14:01:11.881Z] + grep ^go [0-9].[0-9]* go.mod [2022-09-19T14:01:11.881Z] + cut -d -f 2 [Pipeline] echo [2022-09-19T14:01:11.899Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-19T14:01:11.911Z] ========================================================= [2022-09-19T14:01:11.911Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts] [2022-09-19T14:01:11.911Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-19T14:01:12.225Z] + 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 . [2022-09-19T14:01:12.225Z] Sending build context to Docker daemon 17.34MB [2022-09-19T14:01:12.486Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2022-09-19T14:01:12.486Z] Step 2/9 : FROM ${BASE} AS builder [2022-09-19T14:01:12.486Z] 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2022-09-19T14:01:12.486Z] a0d0a0d46f8b: Pulling fs layer [2022-09-19T14:01:12.486Z] 31adcdaf11c8: Pulling fs layer [2022-09-19T14:01:12.486Z] b8b176561691: Pulling fs layer [2022-09-19T14:01:12.486Z] 4527c011a84f: Pulling fs layer [2022-09-19T14:01:12.486Z] 5d74067f8e1e: Pulling fs layer [2022-09-19T14:01:12.486Z] fd57009d33ed: Pulling fs layer [2022-09-19T14:01:12.486Z] 6b058263d067: Pulling fs layer [2022-09-19T14:01:12.486Z] 16d7c86c65f4: Pulling fs layer [2022-09-19T14:01:12.486Z] 1290d154cb4b: Pulling fs layer [2022-09-19T14:01:12.486Z] 4527c011a84f: Waiting [2022-09-19T14:01:12.486Z] 5d74067f8e1e: Waiting [2022-09-19T14:01:12.486Z] fd57009d33ed: Waiting [2022-09-19T14:01:12.486Z] 6b058263d067: Waiting [2022-09-19T14:01:12.486Z] 16d7c86c65f4: Waiting [2022-09-19T14:01:12.486Z] 1290d154cb4b: Waiting [2022-09-19T14:01:12.486Z] b8b176561691: Verifying Checksum [2022-09-19T14:01:12.486Z] b8b176561691: Download complete [2022-09-19T14:01:12.486Z] 31adcdaf11c8: Download complete [2022-09-19T14:01:12.486Z] 5d74067f8e1e: Verifying Checksum [2022-09-19T14:01:12.486Z] 5d74067f8e1e: Download complete [2022-09-19T14:01:12.486Z] fd57009d33ed: Download complete [2022-09-19T14:01:12.486Z] a0d0a0d46f8b: Download complete [2022-09-19T14:01:12.486Z] 6b058263d067: Verifying Checksum [2022-09-19T14:01:12.486Z] 6b058263d067: Download complete [2022-09-19T14:01:12.753Z] 16d7c86c65f4: Verifying Checksum [2022-09-19T14:01:12.753Z] 16d7c86c65f4: Download complete [2022-09-19T14:01:12.753Z] a0d0a0d46f8b: Pull complete [2022-09-19T14:01:12.753Z] 31adcdaf11c8: Pull complete [2022-09-19T14:01:13.030Z] b8b176561691: Pull complete [2022-09-19T14:01:13.299Z] 1290d154cb4b: Verifying Checksum [2022-09-19T14:01:13.299Z] 1290d154cb4b: Download complete [2022-09-19T14:01:13.567Z] 4527c011a84f: Verifying Checksum [2022-09-19T14:01:13.567Z] 4527c011a84f: Download complete [2022-09-19T14:01:17.765Z] 4527c011a84f: Pull complete [2022-09-19T14:01:17.765Z] 5d74067f8e1e: Pull complete [2022-09-19T14:01:17.765Z] fd57009d33ed: Pull complete [2022-09-19T14:01:17.765Z] 6b058263d067: Pull complete [2022-09-19T14:01:17.765Z] 16d7c86c65f4: Pull complete [2022-09-19T14:01:19.672Z] 1290d154cb4b: Pull complete [2022-09-19T14:01:19.672Z] Digest: sha256:35e6ac41c26efe3add569c2382a45e417c8e583193a5145d003e9829e558bdd0 [2022-09-19T14:01:19.672Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts [2022-09-19T14:01:19.672Z] ---> de6a6ee31cbe [2022-09-19T14:01:19.672Z] Step 3/9 : ARG MAKE='make build' [2022-09-19T14:01:23.900Z] ---> Running in a4b5f78257ba [2022-09-19T14:01:23.900Z] Removing intermediate container a4b5f78257ba [2022-09-19T14:01:23.900Z] ---> 0b95f8613893 [2022-09-19T14:01:23.900Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-19T14:01:23.900Z] ---> Running in 21cbaa577b98 [2022-09-19T14:01:24.471Z] Removing intermediate container 21cbaa577b98 [2022-09-19T14:01:24.471Z] ---> f0dc3c11e4b5 [2022-09-19T14:01:24.471Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-19T14:01:24.471Z] ---> Running in fc773067e937 [2022-09-19T14:01:24.738Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-09-19T14:01:25.072Z] Still waiting to schedule task [2022-09-19T14:01:25.072Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-19T14:01:25.679Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-09-19T14:01:25.679Z] (1/8) Installing openssh-keygen (8.6_p1-r3) [2022-09-19T14:01:25.940Z] (2/8) Installing libedit (20210216.3.1-r0) [2022-09-19T14:01:25.940Z] (3/8) Installing openssh-client-common (8.6_p1-r3) [2022-09-19T14:01:25.940Z] (4/8) Installing openssh-client-default (8.6_p1-r3) [2022-09-19T14:01:26.202Z] (5/8) Installing openssh-sftp-server (8.6_p1-r3) [2022-09-19T14:01:26.202Z] (6/8) Installing openssh-server-common (8.6_p1-r3) [2022-09-19T14:01:26.202Z] (7/8) Installing openssh-server (8.6_p1-r3) [2022-09-19T14:01:26.466Z] (8/8) Installing openssh (8.6_p1-r3) [2022-09-19T14:01:26.466Z] Executing busybox-1.33.1-r3.trigger [2022-09-19T14:01:26.466Z] OK: 226 MiB in 60 packages [2022-09-19T14:01:27.037Z] Removing intermediate container fc773067e937 [2022-09-19T14:01:27.037Z] ---> a2f75c921eb3 [2022-09-19T14:01:27.037Z] Step 6/9 : WORKDIR /device-modbus-go [2022-09-19T14:01:27.037Z] ---> Running in 906930c3cda8 [2022-09-19T14:01:27.037Z] Removing intermediate container 906930c3cda8 [2022-09-19T14:01:27.037Z] ---> e3cd02795cf3 [2022-09-19T14:01:27.037Z] Step 7/9 : COPY . . [2022-09-19T14:01:28.422Z] ---> 5f5b2b873479 [2022-09-19T14:01:28.422Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-19T14:01:28.422Z] ---> Running in 0d90e88a0344 [2022-09-19T14:01:28.422Z] skipping... [2022-09-19T14:01:28.993Z] Removing intermediate container 0d90e88a0344 [2022-09-19T14:01:28.993Z] ---> b7ddd6a652e9 [2022-09-19T14:01:28.993Z] Step 9/9 : RUN ${MAKE} [2022-09-19T14:01:28.993Z] ---> Running in 52d93f3c4303 [2022-09-19T14:01:28.993Z] noop [2022-09-19T14:01:29.561Z] Removing intermediate container 52d93f3c4303 [2022-09-19T14:01:29.561Z] ---> 58125854a74b [2022-09-19T14:01:29.561Z] Successfully built 58125854a74b [2022-09-19T14:01:29.561Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-19T14:01:29.888Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-19T14:01:29.888Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-19T14:01:29.966Z] prd-ubuntu20.04-docker-8c-8g-29820 does not seem to be running inside a container [2022-09-19T14:01:30.033Z] $ 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 [2022-09-19T14:01:30.390Z] $ docker top 9a2e6fb920057cd4e94370877e97e7103409edd696a9f3e4d87716ac4314f5dd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-19T14:01:30.717Z] + go version [2022-09-19T14:01:30.717Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-09-19T14:01:30.762Z] $ docker stop --time=1 9a2e6fb920057cd4e94370877e97e7103409edd696a9f3e4d87716ac4314f5dd [2022-09-19T14:01:32.013Z] $ 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 [2022-09-19T14:01:32.373Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-19T14:01:32.373Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-19T14:01:32.488Z] prd-ubuntu20.04-docker-8c-8g-29820 does not seem to be running inside a container [2022-09-19T14:01:32.595Z] $ 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 [2022-09-19T14:01:32.953Z] $ docker top 41c93219e71a96bb5d47c0a7d825cba1738e220da46fd0506d5e8b6fbe870cd8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-19T14:01:33.266Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-375 [Pipeline] fileExists [Pipeline] sh [2022-09-19T14:01:33.558Z] + make test [2022-09-19T14:01:33.558Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-19T14:01:33.818Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-09-19T14:01:41.960Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-09-19T14:01:41.960Z] --- FAIL: TestCreateRTUConnectionInfo_unitID255 (0.00s) [2022-09-19T14:01:41.960Z] config_test.go:39: Fail to create connectionInfo. Error: fail to parse protocol config 'Timeout', time: missing unit in duration "5" [2022-09-19T14:01:41.960Z] --- FAIL: TestCreateConnectionInfo_unitID0 (0.00s) [2022-09-19T14:01:41.960Z] config_test.go:71: Fail to create connectionInfo. Error: fail to parse protocol config 'Timeout', time: missing unit in duration "5" [2022-09-19T14:01:41.960Z] --- FAIL: TestCreateTCPConnectionInfo (0.00s) [2022-09-19T14:01:41.960Z] config_test.go:143: Fail to create connectionInfo. Error: fail to parse protocol config 'Timeout', time: missing unit in duration "5" [2022-09-19T14:01:41.960Z] FAIL [2022-09-19T14:01:41.960Z] coverage: 45.9% of statements [2022-09-19T14:01:41.960Z] FAIL github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s [2022-09-19T14:01:41.960Z] FAIL [2022-09-19T14:01:41.960Z] make: *** [Makefile:27: test] Error 1 [Pipeline] } [2022-09-19T14:01:42.011Z] $ docker stop --time=1 41c93219e71a96bb5d47c0a7d825cba1738e220da46fd0506d5e8b6fbe870cd8 [2022-09-19T14:01:43.865Z] $ 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 [2022-09-19T14:01:44.351Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-19T14:01:44.351Z] [2022-09-19T14:01:44.351Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-19T14:01:44.655Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-19T14:01:44.655Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-19T14:01:44.655Z] 5eb5b503b376: Pulling fs layer [2022-09-19T14:01:44.655Z] 5c69ac0246d0: Pulling fs layer [2022-09-19T14:01:44.655Z] ec43610c2a17: Pulling fs layer [2022-09-19T14:01:44.655Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-19T14:01:44.655Z] 33b1e0a273af: Pulling fs layer [2022-09-19T14:01:44.655Z] 5d3b04190fa2: Pulling fs layer [2022-09-19T14:01:44.655Z] 2f39f015ded8: Pulling fs layer [2022-09-19T14:01:44.655Z] 3a2ae6a8a46f: Waiting [2022-09-19T14:01:44.655Z] 33b1e0a273af: Waiting [2022-09-19T14:01:44.655Z] 5d3b04190fa2: Waiting [2022-09-19T14:01:44.655Z] 2f39f015ded8: Waiting [2022-09-19T14:01:44.655Z] 5c69ac0246d0: Verifying Checksum [2022-09-19T14:01:44.655Z] 5c69ac0246d0: Download complete [2022-09-19T14:01:44.655Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-19T14:01:44.655Z] 3a2ae6a8a46f: Download complete [2022-09-19T14:01:44.916Z] 33b1e0a273af: Verifying Checksum [2022-09-19T14:01:44.916Z] 33b1e0a273af: Download complete [2022-09-19T14:01:44.916Z] ec43610c2a17: Verifying Checksum [2022-09-19T14:01:44.916Z] ec43610c2a17: Download complete [2022-09-19T14:01:44.916Z] 5d3b04190fa2: Verifying Checksum [2022-09-19T14:01:44.916Z] 5d3b04190fa2: Download complete [2022-09-19T14:01:44.916Z] 5eb5b503b376: Verifying Checksum [2022-09-19T14:01:44.916Z] 5eb5b503b376: Download complete [2022-09-19T14:01:45.483Z] 2f39f015ded8: Download complete [2022-09-19T14:01:46.418Z] 5eb5b503b376: Pull complete [2022-09-19T14:01:46.678Z] 5c69ac0246d0: Pull complete [2022-09-19T14:01:47.248Z] ec43610c2a17: Pull complete [2022-09-19T14:01:47.248Z] 3a2ae6a8a46f: Pull complete [2022-09-19T14:01:47.507Z] 33b1e0a273af: Pull complete [2022-09-19T14:01:47.507Z] 5d3b04190fa2: Pull complete [2022-09-19T14:01:52.788Z] 2f39f015ded8: Pull complete [2022-09-19T14:01:52.788Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-19T14:01:52.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-19T14:01:52.788Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-19T14:01:52.879Z] prd-ubuntu20.04-docker-8c-8g-29820 does not seem to be running inside a container [2022-09-19T14:01:52.950Z] $ 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 [2022-09-19T14:01:57.633Z] $ docker top 9d7e3065d70cb6f0133ab19c28ab807ee4bbe50b7de9d90699e37b7a6c0fd4ae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-19T14:01:58.009Z] ---> job-cost.sh [2022-09-19T14:01:58.009Z] lf-activate-venv: SKIPPING [2022-09-19T14:01:58.009Z] INFO: No Stack... [2022-09-19T14:01:58.270Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-19T14:01:58.839Z] INFO: Archiving Costs [Pipeline] sh [2022-09-19T14:01:59.136Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-375/archives/cost.csv [2022-09-19T14:01:59.137Z] + cut -d, -f6 [Pipeline] lock [2022-09-19T14:01:59.151Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-375-2-stack-cost] [2022-09-19T14:01:59.157Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-375-2-stack-cost] did not exist. Created. [2022-09-19T14:01:59.157Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-375-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-19T14:01:59.462Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-19T14:01:59.525Z] Stashed 1 file(s) [Pipeline] } [2022-09-19T14:01:59.532Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-375-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-19T14:01:59.589Z] $ docker stop --time=1 9d7e3065d70cb6f0133ab19c28ab807ee4bbe50b7de9d90699e37b7a6c0fd4ae [2022-09-19T14:02:00.741Z] $ docker rm -f 9d7e3065d70cb6f0133ab19c28ab807ee4bbe50b7de9d90699e37b7a6c0fd4ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-19T14:02:00.827Z] Failed in branch amd64 [2022-09-19T14:02:58.638Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-29821 in /w/workspace/xfoundry_device-modbus-go_PR-375 [Pipeline] { [Pipeline] ws [2022-09-19T14:02:58.651Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2022-09-19T14:02:58.712Z] Selected Git installation does not exist. Using Default [2022-09-19T14:02:58.712Z] The recommended git tool is: NONE [2022-09-19T14:03:05.653Z] using credential edgex-jenkins-ssh [2022-09-19T14:03:05.674Z] Cloning the remote Git repository [2022-09-19T14:03:05.725Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-09-19T14:03:05.806Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2022-09-19T14:03:05.877Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-09-19T14:03:05.878Z] > git --version # timeout=10 [2022-09-19T14:03:05.895Z] > git --version # 'git version 2.25.1' [2022-09-19T14:03:05.897Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-19T14:03:06.050Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-19T14:03:07.118Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-09-19T14:03:07.135Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-19T14:03:07.161Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-09-19T14:03:07.209Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-09-19T14:03:07.210Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-19T14:03:07.224Z] > 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 [2022-09-19T14:03:07.884Z] Merging remotes/origin/jakarta commit dcb5b79c0a884aea797b2f76ba4cf23c03bae97d into PR head commit e40ab70184fa96e0e867eb365550b2b39d38e243 [2022-09-19T14:03:08.483Z] Merge succeeded, producing e40ab70184fa96e0e867eb365550b2b39d38e243 [2022-09-19T14:03:08.484Z] Checking out Revision e40ab70184fa96e0e867eb365550b2b39d38e243 (PR-375) [2022-09-19T14:03:07.900Z] > git config core.sparsecheckout # timeout=10 [2022-09-19T14:03:07.930Z] > git checkout -f e40ab70184fa96e0e867eb365550b2b39d38e243 # timeout=10 [2022-09-19T14:03:08.376Z] > git remote # timeout=10 [2022-09-19T14:03:08.394Z] > git config --get remote.origin.url # timeout=10 [2022-09-19T14:03:08.420Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-19T14:03:08.431Z] > git merge dcb5b79c0a884aea797b2f76ba4cf23c03bae97d # timeout=10 [2022-09-19T14:03:08.459Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-19T14:03:08.489Z] > git config core.sparsecheckout # timeout=10 [2022-09-19T14:03:08.503Z] > git checkout -f e40ab70184fa96e0e867eb365550b2b39d38e243 # timeout=10 [2022-09-19T14:03:13.028Z] Commit message: "Change timeout configuration on test.devices.toml" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-19T14:03:13.973Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-19T14:03:13.973Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-19T14:03:13.973Z] Dload Upload Total Spent Left Speed [2022-09-19T14:03:13.973Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 97k 0 --:--:-- --:--:-- --:--:-- 97k [Pipeline] sh [2022-09-19T14:03:14.648Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-19T14:03:15.001Z] + sudo tee /etc/docker/daemon.new [2022-09-19T14:03:15.001Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-19T14:03:15.001Z] { [2022-09-19T14:03:15.001Z] "registry-mirrors": [ [2022-09-19T14:03:15.001Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-19T14:03:15.001Z] ], [2022-09-19T14:03:15.001Z] "bip": "10.250.0.254/24", [2022-09-19T14:03:15.001Z] "hosts": [ [2022-09-19T14:03:15.001Z] "tcp://0.0.0.0:5555", [2022-09-19T14:03:15.001Z] "unix:///var/run/docker.sock" [2022-09-19T14:03:15.001Z] ], [2022-09-19T14:03:15.001Z] "mtu": 1458, [2022-09-19T14:03:15.001Z] "selinux-enabled": true, [2022-09-19T14:03:15.001Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-19T14:03:15.001Z] } [Pipeline] sh [2022-09-19T14:03:15.356Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-19T14:03:15.698Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-19T14:03:34.045Z] provisioning config files... [2022-09-19T14:03:34.069Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config8217594409089250788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-19T14:03:34.426Z] ---> docker-login.sh [2022-09-19T14:03:34.426Z] nexus3.edgexfoundry.org:10001 [2022-09-19T14:03:35.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T14:03:35.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T14:03:35.300Z] Configure a credential helper to remove this warning. See [2022-09-19T14:03:35.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T14:03:35.300Z] [2022-09-19T14:03:35.300Z] Login Succeeded [2022-09-19T14:03:35.300Z] nexus3.edgexfoundry.org:10002 [2022-09-19T14:03:35.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T14:03:35.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T14:03:35.575Z] Configure a credential helper to remove this warning. See [2022-09-19T14:03:35.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T14:03:35.575Z] [2022-09-19T14:03:35.575Z] Login Succeeded [2022-09-19T14:03:35.575Z] nexus3.edgexfoundry.org:10003 [2022-09-19T14:03:36.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T14:03:36.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T14:03:36.175Z] Configure a credential helper to remove this warning. See [2022-09-19T14:03:36.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T14:03:36.175Z] [2022-09-19T14:03:36.175Z] Login Succeeded [2022-09-19T14:03:36.175Z] nexus3.edgexfoundry.org:10004 [2022-09-19T14:03:36.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T14:03:36.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T14:03:36.723Z] Configure a credential helper to remove this warning. See [2022-09-19T14:03:36.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T14:03:36.723Z] [2022-09-19T14:03:36.723Z] Login Succeeded [2022-09-19T14:03:36.723Z] docker.io [2022-09-19T14:03:36.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T14:03:37.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T14:03:37.268Z] Configure a credential helper to remove this warning. See [2022-09-19T14:03:37.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T14:03:37.268Z] [2022-09-19T14:03:37.268Z] Login Succeeded [2022-09-19T14:03:37.268Z] ---> docker-login.sh ends [Pipeline] } [2022-09-19T14:03:37.288Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-19T14:03:37.894Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh [2022-09-19T14:03:38.225Z] + cut -d -f+ 2 [2022-09-19T14:03:38.225Z] grep ^go [0-9].[0-9]* go.mod [Pipeline] echo [2022-09-19T14:03:38.290Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-19T14:03:38.301Z] ========================================================= [2022-09-19T14:03:38.301Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts] [2022-09-19T14:03:38.301Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-19T14:03:38.664Z] + 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 . [2022-09-19T14:03:40.136Z] Sending build context to Docker daemon 14.4MB [2022-09-19T14:03:40.136Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2022-09-19T14:03:40.136Z] Step 2/9 : FROM ${BASE} AS builder [2022-09-19T14:03:40.136Z] 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-19T14:03:40.136Z] 552d1f2373af: Pulling fs layer [2022-09-19T14:03:40.136Z] ea3f2d53f512: Pulling fs layer [2022-09-19T14:03:40.136Z] 9e70ebbbe112: Pulling fs layer [2022-09-19T14:03:40.136Z] 7a9cfe048b4a: Pulling fs layer [2022-09-19T14:03:40.136Z] 72dc09318566: Pulling fs layer [2022-09-19T14:03:40.136Z] f324388ff665: Pulling fs layer [2022-09-19T14:03:40.136Z] 53ef782089cf: Pulling fs layer [2022-09-19T14:03:40.136Z] 2af28fca035d: Pulling fs layer [2022-09-19T14:03:40.136Z] 72dc09318566: Waiting [2022-09-19T14:03:40.136Z] f324388ff665: Waiting [2022-09-19T14:03:40.136Z] 53ef782089cf: Waiting [2022-09-19T14:03:40.136Z] 2af28fca035d: Waiting [2022-09-19T14:03:40.136Z] 7a9cfe048b4a: Waiting [2022-09-19T14:03:40.136Z] 9e70ebbbe112: Verifying Checksum [2022-09-19T14:03:40.136Z] 9e70ebbbe112: Download complete [2022-09-19T14:03:40.136Z] ea3f2d53f512: Verifying Checksum [2022-09-19T14:03:40.136Z] ea3f2d53f512: Download complete [2022-09-19T14:03:40.136Z] 72dc09318566: Verifying Checksum [2022-09-19T14:03:40.136Z] 72dc09318566: Download complete [2022-09-19T14:03:40.136Z] f324388ff665: Verifying Checksum [2022-09-19T14:03:40.136Z] f324388ff665: Download complete [2022-09-19T14:03:40.136Z] 552d1f2373af: Verifying Checksum [2022-09-19T14:03:40.136Z] 53ef782089cf: Verifying Checksum [2022-09-19T14:03:40.136Z] 53ef782089cf: Download complete [2022-09-19T14:03:40.743Z] 552d1f2373af: Pull complete [2022-09-19T14:03:41.345Z] ea3f2d53f512: Pull complete [2022-09-19T14:03:41.958Z] 9e70ebbbe112: Pull complete [2022-09-19T14:03:42.236Z] 2af28fca035d: Verifying Checksum [2022-09-19T14:03:42.236Z] 2af28fca035d: Download complete [2022-09-19T14:03:42.832Z] 7a9cfe048b4a: Verifying Checksum [2022-09-19T14:03:42.832Z] 7a9cfe048b4a: Download complete [2022-09-19T14:03:55.250Z] 7a9cfe048b4a: Pull complete [2022-09-19T14:03:55.250Z] 72dc09318566: Pull complete [2022-09-19T14:03:55.250Z] f324388ff665: Pull complete [2022-09-19T14:03:55.250Z] 53ef782089cf: Pull complete [2022-09-19T14:04:01.982Z] 2af28fca035d: Pull complete [2022-09-19T14:04:01.982Z] Digest: sha256:527acc5c9bdbcdb39ccaea3aa8445d1f41445096e6313448e88606d2b64d4b83 [2022-09-19T14:04:01.982Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts [2022-09-19T14:04:01.982Z] ---> d19f1962542a [2022-09-19T14:04:01.982Z] Step 3/9 : ARG MAKE='make build' [2022-09-19T14:04:01.982Z] ---> Running in ed6ee5e643f2 [2022-09-19T14:04:02.260Z] Removing intermediate container ed6ee5e643f2 [2022-09-19T14:04:02.260Z] ---> c37474f845d2 [2022-09-19T14:04:02.260Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-19T14:04:02.260Z] ---> Running in 63d2336f3bdb [2022-09-19T14:04:04.243Z] Removing intermediate container 63d2336f3bdb [2022-09-19T14:04:04.243Z] ---> bc635b101afc [2022-09-19T14:04:04.243Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-19T14:04:04.243Z] ---> Running in fe680d82df24 [2022-09-19T14:04:05.229Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-09-19T14:04:06.214Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-09-19T14:04:06.810Z] (1/8) Installing openssh-keygen (8.6_p1-r3) [2022-09-19T14:04:06.810Z] (2/8) Installing libedit (20210216.3.1-r0) [2022-09-19T14:04:07.082Z] (3/8) Installing openssh-client-common (8.6_p1-r3) [2022-09-19T14:04:07.082Z] (4/8) Installing openssh-client-default (8.6_p1-r3) [2022-09-19T14:04:07.354Z] (5/8) Installing openssh-sftp-server (8.6_p1-r3) [2022-09-19T14:04:07.354Z] (6/8) Installing openssh-server-common (8.6_p1-r3) [2022-09-19T14:04:07.354Z] (7/8) Installing openssh-server (8.6_p1-r3) [2022-09-19T14:04:07.642Z] (8/8) Installing openssh (8.6_p1-r3) [2022-09-19T14:04:07.642Z] Executing busybox-1.33.1-r3.trigger [2022-09-19T14:04:07.642Z] OK: 225 MiB in 60 packages [2022-09-19T14:04:08.630Z] Removing intermediate container fe680d82df24 [2022-09-19T14:04:08.630Z] ---> efe4482f36c1 [2022-09-19T14:04:08.630Z] Step 6/9 : WORKDIR /device-modbus-go [2022-09-19T14:04:08.630Z] ---> Running in 81c8ad8a0bf0 [2022-09-19T14:04:08.901Z] Removing intermediate container 81c8ad8a0bf0 [2022-09-19T14:04:08.901Z] ---> c274b8d6f453 [2022-09-19T14:04:08.901Z] Step 7/9 : COPY . . [2022-09-19T14:04:13.211Z] ---> 739aebc26792 [2022-09-19T14:04:13.211Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-19T14:04:13.211Z] ---> Running in 69bfca79fcf9 [2022-09-19T14:04:13.817Z] skipping... [2022-09-19T14:04:14.417Z] Removing intermediate container 69bfca79fcf9 [2022-09-19T14:04:14.417Z] ---> 7a8977f277ea [2022-09-19T14:04:14.417Z] Step 9/9 : RUN ${MAKE} [2022-09-19T14:04:14.417Z] ---> Running in ec7e9a6f96de [2022-09-19T14:04:15.400Z] noop [2022-09-19T14:04:15.997Z] Removing intermediate container ec7e9a6f96de [2022-09-19T14:04:15.997Z] ---> b3f65e1241a3 [2022-09-19T14:04:15.997Z] Successfully built b3f65e1241a3 [2022-09-19T14:04:15.997Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-19T14:04:16.634Z] + docker inspect -f . ci-base-image-arm64 [2022-09-19T14:04:16.634Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-19T14:04:16.881Z] prd-ubuntu20.04-docker-arm64-4c-16g-29821 does not seem to be running inside a container [2022-09-19T14:04:16.962Z] $ 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 [2022-09-19T14:04:18.202Z] $ docker top 3a86f4cb00c564a7a871e98fe122e6be6c3772a6f178079901fd5023cb73dc03 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-19T14:04:19.085Z] + go version [2022-09-19T14:04:19.085Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-09-19T14:04:19.107Z] $ docker stop --time=1 3a86f4cb00c564a7a871e98fe122e6be6c3772a6f178079901fd5023cb73dc03 [2022-09-19T14:04:20.733Z] $ 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 [2022-09-19T14:04:21.337Z] + docker inspect -f . ci-base-image-arm64 [2022-09-19T14:04:21.337Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-19T14:04:21.587Z] prd-ubuntu20.04-docker-arm64-4c-16g-29821 does not seem to be running inside a container [2022-09-19T14:04:21.662Z] $ 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 [2022-09-19T14:04:22.896Z] $ docker top a0fb1a8397aaa0735a74063da66b324ed8a0bf99e7e50fbd0d3a66be8b8479ca -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-19T14:04:23.783Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh [2022-09-19T14:04:24.452Z] + make test [2022-09-19T14:04:24.452Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-19T14:04:25.898Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-09-19T14:05:22.502Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-09-19T14:05:22.502Z] --- FAIL: TestCreateRTUConnectionInfo_unitID255 (0.00s) [2022-09-19T14:05:22.502Z] config_test.go:39: Fail to create connectionInfo. Error: fail to parse protocol config 'Timeout', time: missing unit in duration "5" [2022-09-19T14:05:22.502Z] --- FAIL: TestCreateConnectionInfo_unitID0 (0.00s) [2022-09-19T14:05:22.502Z] config_test.go:71: Fail to create connectionInfo. Error: fail to parse protocol config 'Timeout', time: missing unit in duration "5" [2022-09-19T14:05:22.502Z] --- FAIL: TestCreateTCPConnectionInfo (0.00s) [2022-09-19T14:05:22.502Z] config_test.go:143: Fail to create connectionInfo. Error: fail to parse protocol config 'Timeout', time: missing unit in duration "5" [2022-09-19T14:05:22.502Z] FAIL [2022-09-19T14:05:22.502Z] coverage: 45.9% of statements [2022-09-19T14:05:22.502Z] FAIL github.com/edgexfoundry/device-modbus-go/internal/driver 0.058s [2022-09-19T14:05:22.502Z] FAIL [2022-09-19T14:05:22.502Z] make: *** [Makefile:27: test] Error 1 [Pipeline] } [2022-09-19T14:05:22.527Z] $ docker stop --time=1 a0fb1a8397aaa0735a74063da66b324ed8a0bf99e7e50fbd0d3a66be8b8479ca [2022-09-19T14:05:24.284Z] $ 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 [2022-09-19T14:05:25.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-19T14:05:25.149Z] [2022-09-19T14:05:25.149Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-19T14:05:25.494Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-19T14:05:25.770Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-19T14:05:25.770Z] 8998bd30e6a1: Pulling fs layer [2022-09-19T14:05:25.770Z] 04944245beec: Pulling fs layer [2022-09-19T14:05:25.770Z] 699f458cf7ca: Pulling fs layer [2022-09-19T14:05:25.770Z] 765212b225bb: Pulling fs layer [2022-09-19T14:05:25.770Z] f23df028b6ca: Pulling fs layer [2022-09-19T14:05:25.770Z] d65c8cfc05b1: Pulling fs layer [2022-09-19T14:05:25.770Z] 2437ff75d9bd: Pulling fs layer [2022-09-19T14:05:25.770Z] 765212b225bb: Waiting [2022-09-19T14:05:25.770Z] f23df028b6ca: Waiting [2022-09-19T14:05:25.770Z] d65c8cfc05b1: Waiting [2022-09-19T14:05:25.770Z] 2437ff75d9bd: Waiting [2022-09-19T14:05:25.770Z] 04944245beec: Verifying Checksum [2022-09-19T14:05:25.770Z] 04944245beec: Download complete [2022-09-19T14:05:25.770Z] 765212b225bb: Download complete [2022-09-19T14:05:25.770Z] f23df028b6ca: Verifying Checksum [2022-09-19T14:05:25.770Z] f23df028b6ca: Download complete [2022-09-19T14:05:25.770Z] d65c8cfc05b1: Verifying Checksum [2022-09-19T14:05:25.770Z] d65c8cfc05b1: Download complete [2022-09-19T14:05:26.044Z] 699f458cf7ca: Verifying Checksum [2022-09-19T14:05:26.044Z] 699f458cf7ca: Download complete [2022-09-19T14:05:26.321Z] 8998bd30e6a1: Verifying Checksum [2022-09-19T14:05:26.321Z] 8998bd30e6a1: Download complete [2022-09-19T14:05:28.952Z] 2437ff75d9bd: Verifying Checksum [2022-09-19T14:05:28.952Z] 2437ff75d9bd: Download complete [2022-09-19T14:05:30.392Z] 8998bd30e6a1: Pull complete [2022-09-19T14:05:30.999Z] 04944245beec: Pull complete [2022-09-19T14:05:32.438Z] 699f458cf7ca: Pull complete [2022-09-19T14:05:32.713Z] 765212b225bb: Pull complete [2022-09-19T14:05:33.694Z] f23df028b6ca: Pull complete [2022-09-19T14:05:33.971Z] d65c8cfc05b1: Pull complete [2022-09-19T14:05:49.068Z] 2437ff75d9bd: Pull complete [2022-09-19T14:05:49.068Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-19T14:05:49.068Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-19T14:05:49.068Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-19T14:05:49.314Z] prd-ubuntu20.04-docker-arm64-4c-16g-29821 does not seem to be running inside a container [2022-09-19T14:05:49.402Z] $ 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 [2022-09-19T14:05:51.714Z] $ docker top b06c6e80e4988b48506991f39ff87e423d983f6c2fef8cd5793aa48b9dbbdc31 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-19T14:05:52.611Z] ---> job-cost.sh [2022-09-19T14:05:52.611Z] lf-activate-venv: SKIPPING [2022-09-19T14:05:52.611Z] INFO: No Stack... [2022-09-19T14:05:52.896Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-19T14:05:53.870Z] INFO: Archiving Costs [Pipeline] sh [2022-09-19T14:05:54.524Z] + cat /w/workspace/device-modbus-go/2/archives/cost.csv [2022-09-19T14:05:54.525Z] + cut -d, -f6 [Pipeline] lock [2022-09-19T14:05:54.552Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-375-2-stack-cost] [2022-09-19T14:05:54.559Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-375-2-stack-cost] did not exist. Created. [2022-09-19T14:05:54.559Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-375-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-19T14:05:55.235Z] /w/workspace/device-modbus-go/2@tmp/durable-beecca14/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-19T14:05:55.921Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-19T14:05:55.956Z] Warning: overwriting stash ‘stack-cost’ [2022-09-19T14:05:56.617Z] Stashed 1 file(s) [Pipeline] } [2022-09-19T14:05:56.626Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-375-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-19T14:05:56.648Z] $ docker stop --time=1 b06c6e80e4988b48506991f39ff87e423d983f6c2fef8cd5793aa48b9dbbdc31 [2022-09-19T14:05:58.159Z] $ 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] } [2022-09-19T14:05:58.469Z] 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 [2022-09-19T14:05:59.128Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-375/archives ] [2022-09-19T14:05:59.128Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-375/archives [2022-09-19T14:05:59.128Z] total 16 [2022-09-19T14:05:59.128Z] drwxr-xr-x 3 root root 4096 Sep 19 14:01 . [2022-09-19T14:05:59.128Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 14:01 .. [2022-09-19T14:05:59.128Z] drwxr-xr-x 2 root root 4096 Sep 19 14:01 cost [2022-09-19T14:05:59.128Z] -rw-r--r-- 1 root root 88 Sep 19 14:01 cost.csv [2022-09-19T14:05:59.128Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-375/archives [2022-09-19T14:05:59.128Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-375/archives [2022-09-19T14:05:59.128Z] total 16 [2022-09-19T14:05:59.128Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 14:01 . [2022-09-19T14:05:59.128Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 14:01 .. [2022-09-19T14:05:59.128Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 14:01 cost [2022-09-19T14:05:59.128Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 19 14:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-19T14:05:59.421Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-19T14:06:00.290Z] ---> package-listing.sh [2022-09-19T14:06:00.291Z] ++ facter osfamily [2022-09-19T14:06:00.291Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-19T14:06:00.550Z] + OS_FAMILY=debian [2022-09-19T14:06:00.550Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-375 [2022-09-19T14:06:00.550Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-19T14:06:00.550Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-19T14:06:00.550Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-19T14:06:00.550Z] + PACKAGES=/tmp/packages_start.txt [2022-09-19T14:06:00.550Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-375 ']' [2022-09-19T14:06:00.550Z] + PACKAGES=/tmp/packages_end.txt [2022-09-19T14:06:00.550Z] + case "${OS_FAMILY}" in [2022-09-19T14:06:00.550Z] + dpkg -l [2022-09-19T14:06:00.550Z] + grep '^ii' [2022-09-19T14:06:00.550Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-19T14:06:00.550Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-19T14:06:00.550Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-19T14:06:00.550Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-375 ']' [2022-09-19T14:06:00.550Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-375/archives/ [2022-09-19T14:06:00.550Z] + 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 [2022-09-19T14:06:00.562Z] 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 [2022-09-19T14:06:00.841Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-19T14:06:01.410Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-19T14:06:01.410Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-19T14:06:01.503Z] prd-ubuntu20.04-docker-8c-8g-29820 does not seem to be running inside a container [2022-09-19T14:06:01.561Z] $ 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 [2022-09-19T14:06:01.775Z] $ docker top 2dbcbd5c4cd960024b1ede5cd129714ff45690317b20d316255f51a14589cc51 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-19T14:06:02.139Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-19T14:06:02.426Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-19T14:06:02.714Z] + ls /var/log/sa-host [2022-09-19T14:06:02.714Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-19T14:06:02.848Z] provisioning config files... [2022-09-19T14:06:02.863Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-375@tmp/config2784925404722459840tmp [Pipeline] { [Pipeline] echo [2022-09-19T14:06:02.873Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-19T14:06:03.154Z] ---> create-netrc.sh [Pipeline] } [2022-09-19T14:06:03.163Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-19T14:06:03.493Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-19T14:06:03.502Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-19T14:06:03.787Z] ---> sudo-logs.sh [2022-09-19T14:06:03.787Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-19T14:06:03.810Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-19T14:06:04.093Z] ---> job-cost.sh [2022-09-19T14:06:04.093Z] lf-activate-venv: SKIPPING [2022-09-19T14:06:04.093Z] DEBUG: total: 0.2199999988079071 [2022-09-19T14:06:04.093Z] INFO: Retrieving Stack Cost... [2022-09-19T14:06:04.664Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-19T14:06:04.924Z] INFO: Archiving Costs [Pipeline] echo [2022-09-19T14:06:04.937Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-19T14:06:05.222Z] ---> logs-deploy.sh [2022-09-19T14:06:05.223Z] lf-activate-venv: SKIPPING [2022-09-19T14:06:05.223Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-375/2 [2022-09-19T14:06:05.223Z] INFO: archiving workspace using pattern(s): [2022-09-19T14:06:06.163Z] Archives upload complete. [2022-09-19T14:06:06.163Z] INFO: archiving logs to Nexus