Pull request #385 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b03dabf38b63f24493184e5a8112871062c4142f+9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 (eefd47ef62ef0b881c6e40beacf39253753a5422) 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-ssh14030835169619861063.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh4660642435711942203.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1701896144196964015.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8243574385763189317.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh137328135515635383.key Verifying host key using known hosts file > 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-385/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-385/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13552164344483320098.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9182 in /w/workspace/xfoundry_device-modbus-go_PR-385 [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-385 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 into PR head commit b03dabf38b63f24493184e5a8112871062c4142f Merge succeeded, producing b03dabf38b63f24493184e5a8112871062c4142f Checking out Revision b03dabf38b63f24493184e5a8112871062c4142f (PR-385) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:04:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:04:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:04:49 ========================================================= 05:04:49 EdgeX Global Pipelines Version Info 05:04:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f b03dabf38b63f24493184e5a8112871062c4142f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b03dabf38b63f24493184e5a8112871062c4142f # timeout=10 05:04:50 ------------------- 05:04:50 stable info: 05:04:50 ------------------- 05:04:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:04:50 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 05:04:50 Message: update stable to v1.0.243 05:04:50 ------------------- 05:04:50 experimental info: 05:04:50 ------------------- 05:04:50 Commited By: **** collab-it+edgex@linuxfoundation.org 05:04:50 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 05:04:50 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:04:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:04:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:04:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:04:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:04:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:04:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:04:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:04:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:04:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:04:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:04:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:04:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:04:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:04:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:04:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:04:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:04:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:04:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:04:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:04:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:04:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:04:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:04:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:04:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:04:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:04:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:04:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:04:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-385 [Pipeline] echo 05:04:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-385 [Pipeline] echo 05:04:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-385 [Pipeline] echo 05:04:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b03dabf38b63f24493184e5a8112871062c4142f [Pipeline] echo 05:04:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b03dabf [Pipeline] echo 05:04:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:52 provisioning config files... 05:04:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config7098431848832315931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:52 ---> docker-login.sh 05:04:52 nexus3.edgexfoundry.org:10001 05:04:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:53 Configure a credential helper to remove this warning. See 05:04:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:53 05:04:53 Login Succeeded 05:04:53 nexus3.edgexfoundry.org:10002 05:04:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:53 Configure a credential helper to remove this warning. See 05:04:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:53 05:04:53 Login Succeeded 05:04:53 nexus3.edgexfoundry.org:10003 05:04:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:53 Configure a credential helper to remove this warning. See 05:04:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:53 05:04:53 Login Succeeded 05:04:53 nexus3.edgexfoundry.org:10004 05:04:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:53 Configure a credential helper to remove this warning. See 05:04:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:53 05:04:53 Login Succeeded 05:04:53 docker.io 05:04:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:53 Configure a credential helper to remove this warning. See 05:04:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:53 05:04:53 Login Succeeded 05:04:53 ---> docker-login.sh ends [Pipeline] } 05:04:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:04:54 + git rev-list -1 --merges b03dabf38b63f24493184e5a8112871062c4142f~1..b03dabf38b63f24493184e5a8112871062c4142f [Pipeline] echo 05:04:54 -----------> git rev-list -1 --merges b03dabf38b63f24493184e5a8112871062c4142f~1..b03dabf38b63f24493184e5a8112871062c4142f b03dabf38b63f24493184e5a8112871062c4142f [false] [Pipeline] sh 05:04:54 + git log --format=format:%s -1 b03dabf38b63f24493184e5a8112871062c4142f [Pipeline] echo 05:04:54 ========================================================= 05:04:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:04:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:55 + git log --format=format:%s -1 b03dabf38b63f24493184e5a8112871062c4142f [Pipeline] echo 05:04:55 [semverPrep] GIT_COMMIT: b03dabf38b63f24493184e5a8112871062c4142f, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 [Pipeline] echo 05:04:55 [semverPrep] This is not a build commit. [Pipeline] sh 05:04:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:04:55 + grep -v github /etc/ssh/ssh_known_hosts 05:04:55 + [ -e /tmp/ssh_known_hosts ] 05:04:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:04:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:04:55 + sudo tee -a /etc/ssh/ssh_known_hosts 05:04:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:56 05:04:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:56 0.1.4: Pulling from edgex-devops/py-git-semver 05:04:56 b85a868b505f: Pulling fs layer 05:04:56 e2be974225ed: Pulling fs layer 05:04:56 339a4e72a1f5: Pulling fs layer 05:04:56 988bab9f4d93: Pulling fs layer 05:04:56 1469e6f7b9e6: Pulling fs layer 05:04:56 eaf3925da568: Pulling fs layer 05:04:56 bab4dde63d76: Pulling fs layer 05:04:56 bde34c3a00c8: Pulling fs layer 05:04:56 b352a97aabf1: Pulling fs layer 05:04:56 4872d77fe225: Pulling fs layer 05:04:56 5851b861e8e6: Pulling fs layer 05:04:56 988bab9f4d93: Waiting 05:04:56 b352a97aabf1: Waiting 05:04:56 bde34c3a00c8: Waiting 05:04:56 1469e6f7b9e6: Waiting 05:04:56 4872d77fe225: Waiting 05:04:56 bab4dde63d76: Waiting 05:04:56 eaf3925da568: Waiting 05:04:56 5851b861e8e6: Waiting 05:04:56 e2be974225ed: Verifying Checksum 05:04:56 e2be974225ed: Download complete 05:04:56 988bab9f4d93: Verifying Checksum 05:04:56 988bab9f4d93: Download complete 05:04:56 1469e6f7b9e6: Verifying Checksum 05:04:56 1469e6f7b9e6: Download complete 05:04:56 eaf3925da568: Verifying Checksum 05:04:56 eaf3925da568: Download complete 05:04:56 339a4e72a1f5: Verifying Checksum 05:04:56 339a4e72a1f5: Download complete 05:04:56 bde34c3a00c8: Verifying Checksum 05:04:56 bde34c3a00c8: Download complete 05:04:56 b352a97aabf1: Download complete 05:04:56 4872d77fe225: Verifying Checksum 05:04:56 4872d77fe225: Download complete 05:04:56 5851b861e8e6: Download complete 05:04:56 b85a868b505f: Verifying Checksum 05:04:56 b85a868b505f: Download complete 05:04:57 bab4dde63d76: Verifying Checksum 05:04:57 bab4dde63d76: Download complete 05:04:58 b85a868b505f: Pull complete 05:04:58 e2be974225ed: Pull complete 05:04:58 339a4e72a1f5: Pull complete 05:04:58 988bab9f4d93: Pull complete 05:04:59 1469e6f7b9e6: Pull complete 05:04:59 eaf3925da568: Pull complete 05:05:01 bab4dde63d76: Pull complete 05:05:01 bde34c3a00c8: Pull complete 05:05:01 b352a97aabf1: Pull complete 05:05:01 4872d77fe225: Pull complete 05:05:01 5851b861e8e6: Pull complete 05:05:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:05:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:05:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:01 prd-ubuntu20.04-docker-8c-8g-9182 does not seem to be running inside a container 05:05:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:05:03 $ docker top cead7d8a67075c4541fd68f799f96dcaa8896026d8eec0b9be97981f33b5049e -eo pid,comm 05:05:03 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). 05:05:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:05:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:05:03 [ssh-agent] Looking for ssh-agent implementation... 05:05:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:03 $ docker exec cead7d8a67075c4541fd68f799f96dcaa8896026d8eec0b9be97981f33b5049e ssh-agent 05:05:03 SSH_AUTH_SOCK=/tmp/ssh-TXokNeNDjG0H/agent.33 05:05:03 SSH_AGENT_PID=39 05:05:03 Running ssh-add (command line suppressed) 05:05:04 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_17654816976499296673.key (/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_17654816976499296673.key) 05:05:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:05:04 + git tag --points-at HEAD [Pipeline] } 05:05:04 $ docker exec --env ******** --env ******** cead7d8a67075c4541fd68f799f96dcaa8896026d8eec0b9be97981f33b5049e ssh-agent -k 05:05:04 unset SSH_AUTH_SOCK; 05:05:04 unset SSH_AGENT_PID; 05:05:04 echo Agent pid 39 killed; 05:05:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:05:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:05:04 [ssh-agent] Looking for ssh-agent implementation... 05:05:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:04 $ docker exec cead7d8a67075c4541fd68f799f96dcaa8896026d8eec0b9be97981f33b5049e ssh-agent 05:05:04 SSH_AUTH_SOCK=/tmp/ssh-S0ovIo4dXgMm/agent.72 05:05:04 SSH_AGENT_PID=78 05:05:04 Running ssh-add (command line suppressed) 05:05:04 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_11071722809917168093.key (/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_11071722809917168093.key) 05:05:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:05:05 + git semver init 05:05:05 2022-10-24 05:05:05,492 [run_init] DEBUG init version:0.0.0 force:False 05:05:05 2022-10-24 05:05:05,493 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver 05:05:05 2022-10-24 05:05:05,493 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-385/.semver 05:05:05 2022-10-24 05:05:05,494 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-385/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385, universal_newlines=False, shell=None, istream=None) 05:05:06 2022-10-24 05:05:06,397 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-385/.git/info/exclude 05:05:06 2022-10-24 05:05:06,397 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 with force:False 05:05:06 2022-10-24 05:05:06,398 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 05:05:06 2022-10-24 05:05:06,403 [execute] INFO git cat-file --batch-check 05:05:06 2022-10-24 05:05:06,403 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) 05:05:06 2022-10-24 05:05:06,409 [execute] INFO git cat-file --batch 05:05:06 2022-10-24 05:05:06,409 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) 05:05:06 2022-10-24 05:05:06,415 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 05:05:06 0.0.0 [Pipeline] } 05:05:06 $ docker exec --env ******** --env ******** cead7d8a67075c4541fd68f799f96dcaa8896026d8eec0b9be97981f33b5049e ssh-agent -k 05:05:06 unset SSH_AUTH_SOCK; 05:05:06 unset SSH_AGENT_PID; 05:05:06 echo Agent pid 78 killed; 05:05:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:05:07 + git semver [Pipeline] } 05:05:07 $ docker stop --time=1 cead7d8a67075c4541fd68f799f96dcaa8896026d8eec0b9be97981f33b5049e 05:05:08 $ docker rm -f cead7d8a67075c4541fd68f799f96dcaa8896026d8eec0b9be97981f33b5049e [Pipeline] // withDockerContainer [Pipeline] sh 05:05:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:05:09 Stashed 1 file(s) [Pipeline] echo 05:05:09 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:05:10 provisioning config files... 05:05:10 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config13146591142470481895tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:10 ---> docker-login.sh 05:05:10 nexus3.edgexfoundry.org:10001 05:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:10 Configure a credential helper to remove this warning. See 05:05:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:10 05:05:10 Login Succeeded 05:05:10 nexus3.edgexfoundry.org:10002 05:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:10 Configure a credential helper to remove this warning. See 05:05:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:10 05:05:10 Login Succeeded 05:05:10 nexus3.edgexfoundry.org:10003 05:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:10 Configure a credential helper to remove this warning. See 05:05:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:10 05:05:10 Login Succeeded 05:05:10 nexus3.edgexfoundry.org:10004 05:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:10 Configure a credential helper to remove this warning. See 05:05:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:10 05:05:10 Login Succeeded 05:05:10 docker.io 05:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:11 Configure a credential helper to remove this warning. See 05:05:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:11 05:05:11 Login Succeeded 05:05:11 ---> docker-login.sh ends [Pipeline] } 05:05:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:05:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:05:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:05:11 ========================================================= 05:05:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:05:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:11 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 05:05:11 Sending build context to Docker daemon 6.199MB 05:05:11 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 05:05:11 Step 2/11 : FROM ${BASE} AS builder 05:05:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:05:11 213ec9aee27d: Pulling fs layer 05:05:11 4583459ba037: Pulling fs layer 05:05:11 93c1e223e6f2: Pulling fs layer 05:05:11 53926ce57604: Pulling fs layer 05:05:11 21b2b0c7a3f4: Pulling fs layer 05:05:11 30f14e443154: Pulling fs layer 05:05:11 801331c1e519: Pulling fs layer 05:05:11 99cc6dd402b0: Pulling fs layer 05:05:11 7d9ed39f4882: Pulling fs layer 05:05:11 99cc6dd402b0: Waiting 05:05:11 21b2b0c7a3f4: Waiting 05:05:11 30f14e443154: Waiting 05:05:11 801331c1e519: Waiting 05:05:11 7d9ed39f4882: Waiting 05:05:11 53926ce57604: Waiting 05:05:11 93c1e223e6f2: Verifying Checksum 05:05:11 93c1e223e6f2: Download complete 05:05:11 4583459ba037: Verifying Checksum 05:05:11 4583459ba037: Download complete 05:05:12 21b2b0c7a3f4: Download complete 05:05:12 30f14e443154: Verifying Checksum 05:05:12 30f14e443154: Download complete 05:05:12 213ec9aee27d: Verifying Checksum 05:05:12 801331c1e519: Verifying Checksum 05:05:12 801331c1e519: Download complete 05:05:12 213ec9aee27d: Pull complete 05:05:12 4583459ba037: Pull complete 05:05:12 93c1e223e6f2: Pull complete 05:05:13 7d9ed39f4882: Verifying Checksum 05:05:13 7d9ed39f4882: Download complete 05:05:13 53926ce57604: Verifying Checksum 05:05:13 53926ce57604: Download complete 05:05:13 99cc6dd402b0: Verifying Checksum 05:05:13 99cc6dd402b0: Download complete 05:05:17 53926ce57604: Pull complete 05:05:17 21b2b0c7a3f4: Pull complete 05:05:17 30f14e443154: Pull complete 05:05:17 801331c1e519: Pull complete 05:05:20 99cc6dd402b0: Pull complete 05:05:20 7d9ed39f4882: Pull complete 05:05:20 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 05:05:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:05:21 ---> 1dedd983c030 05:05:21 Step 3/11 : ARG ADD_BUILD_TAGS="" 05:05:22 ---> Running in 05c70f8fb6f4 05:05:22 Removing intermediate container 05c70f8fb6f4 05:05:22 ---> 9c8468c0f78f 05:05:22 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:05:22 ---> Running in 714a22066e02 05:05:22 Removing intermediate container 714a22066e02 05:05:22 ---> 052ff17bd46e 05:05:22 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:22 ---> Running in 49cc8dce588d 05:05:23 Removing intermediate container 49cc8dce588d 05:05:23 ---> 6db322b6689d 05:05:23 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:05:23 ---> Running in 47fa840dcae1 05:05:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:05:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:05:24 (1/8) Installing openssh-keygen (9.0_p1-r2) 05:05:24 (2/8) Installing libedit (20210910.3.1-r0) 05:05:24 Still waiting to schedule task 05:05:24 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9183’ is offline 05:05:24 (3/8) Installing openssh-client-common (9.0_p1-r2) 05:05:24 (4/8) Installing openssh-client-default (9.0_p1-r2) 05:05:24 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 05:05:25 (6/8) Installing openssh-server-common (9.0_p1-r2) 05:05:25 (7/8) Installing openssh-server (9.0_p1-r2) 05:05:25 (8/8) Installing openssh (9.0_p1-r2) 05:05:25 Executing busybox-1.35.0-r17.trigger 05:05:25 OK: 217 MiB in 59 packages 05:05:25 Removing intermediate container 47fa840dcae1 05:05:25 ---> 6f0d7529b878 05:05:25 Step 7/11 : WORKDIR /device-modbus-go 05:05:25 ---> Running in e63cab532277 05:05:25 Removing intermediate container e63cab532277 05:05:25 ---> a36d8bf76ca9 05:05:25 Step 8/11 : COPY go.mod vendor* ./ 05:05:25 ---> 85c103ce04ae 05:05:25 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:26 ---> Running in 2f7537ae84be 05:05:44 Removing intermediate container 2f7537ae84be 05:05:44 ---> b591b69b6b7e 05:05:44 Step 10/11 : COPY . . 05:05:44 ---> a7886ae80d41 05:05:44 Step 11/11 : RUN ${MAKE} 05:05:44 ---> Running in d9979ff2180e 05:05:44 noop 05:05:44 Removing intermediate container d9979ff2180e 05:05:44 ---> ef593c7f8a41 05:05:44 Successfully built ef593c7f8a41 05:05:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:44 + docker inspect -f . ci-base-image-x86_64 05:05:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:44 prd-ubuntu20.04-docker-8c-8g-9182 does not seem to be running inside a container 05:05:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@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 ******** ci-base-image-x86_64 cat 05:05:45 $ docker top 04614b7f748bedf441ea4ac28a141f3c85d399329eb2c6feaf7e4f4da32d3950 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:45 + go version 05:05:45 go version go1.18.7 linux/amd64 [Pipeline] } 05:05:45 $ docker stop --time=1 04614b7f748bedf441ea4ac28a141f3c85d399329eb2c6feaf7e4f4da32d3950 05:05:47 $ docker rm -f 04614b7f748bedf441ea4ac28a141f3c85d399329eb2c6feaf7e4f4da32d3950 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:47 + docker inspect -f . ci-base-image-x86_64 05:05:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:47 prd-ubuntu20.04-docker-8c-8g-9182 does not seem to be running inside a container 05:05:48 $ 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-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@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 ******** ci-base-image-x86_64 cat 05:05:48 $ docker top 540a1d8a7b11983d97363432f4d92af25694a84633295709075ceb1cb231ae3c -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:48 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-385 [Pipeline] fileExists [Pipeline] sh 05:05:49 + make test 05:05:49 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:05:49 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:05:59 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:05:59 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.7% of statements 05:06:07 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 05:06:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:06:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:06:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:06:10 ./bin/test-attribution-txt.sh [Pipeline] echo 05:06:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:06:10 $ docker stop --time=1 540a1d8a7b11983d97363432f4d92af25694a84633295709075ceb1cb231ae3c 05:06:12 $ docker rm -f 540a1d8a7b11983d97363432f4d92af25694a84633295709075ceb1cb231ae3c [Pipeline] // withDockerContainer [Pipeline] sh 05:06:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:06:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:06:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:06:13 + ls -al . 05:06:13 total 188 05:06:13 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 05:05 . 05:06:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 05:04 .. 05:06:13 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 05:04 .dockerignore 05:06:13 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 05:05 .git 05:06:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:04 .github 05:06:13 -rw-rw-r-- 1 jenkins jenkins 331 Oct 24 05:04 .gitignore 05:06:13 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 05:04 .golangci.yml 05:06:13 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 05:05 .semver 05:06:13 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 24 05:04 Attribution.txt 05:06:13 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 24 05:04 CHANGELOG.md 05:06:13 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 24 05:04 Dockerfile 05:06:13 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 05:04 GOVERNANCE.md 05:06:13 -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 05:04 Jenkinsfile 05:06:13 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 05:04 LICENSE 05:06:13 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 24 05:04 Makefile 05:06:13 -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 05:04 OWNERS.md 05:06:13 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 24 05:04 README.md 05:06:13 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 05:05 VERSION 05:06:13 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 05:04 bin 05:06:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:04 cmd 05:06:13 -rw-r--r-- 1 jenkins jenkins 23241 Oct 24 05:05 coverage.out 05:06:13 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 24 05:04 go.mod 05:06:13 -rw-rw-r-- 1 jenkins jenkins 38465 Oct 24 05:04 go.sum 05:06:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:04 internal 05:06:13 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 05:04 simulator 05:06:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 05:04 snap 05:06:13 -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:14 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=b03dabf38b63f24493184e5a8112871062c4142f --label arch=amd64 --label version=0.0.0 . 05:06:14 Sending build context to Docker daemon 6.223MB 05:06:14 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:06:14 Step 2/24 : FROM ${BASE} AS builder 05:06:14 ---> ef593c7f8a41 05:06:14 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:06:14 ---> Running in ae4eb85156a6 05:06:14 Removing intermediate container ae4eb85156a6 05:06:14 ---> 9b1d5ec4d866 05:06:14 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:06:14 ---> Running in 110f1557fa93 05:06:14 Removing intermediate container 110f1557fa93 05:06:14 ---> def49a1f7c7c 05:06:14 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:06:14 ---> Running in df1ef6697142 05:06:15 Removing intermediate container df1ef6697142 05:06:15 ---> 21aee1b5ba5c 05:06:15 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:06:15 ---> Running in e4ba8f875e59 05:06:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:06:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:06:16 OK: 217 MiB in 59 packages 05:06:17 Removing intermediate container e4ba8f875e59 05:06:17 ---> 07f716579e28 05:06:17 Step 7/24 : WORKDIR /device-modbus-go 05:06:17 ---> Running in 1f93c1967f08 05:06:17 Removing intermediate container 1f93c1967f08 05:06:17 ---> 794c3594e7ff 05:06:17 Step 8/24 : COPY go.mod vendor* ./ 05:06:17 ---> 864847e4722f 05:06:17 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:06:17 ---> Running in 1819c97f29f9 05:06:18 Removing intermediate container 1819c97f29f9 05:06:18 ---> 3d6d9ae83393 05:06:18 Step 10/24 : COPY . . 05:06:18 ---> 4d3a6f2b9d13 05:06:18 Step 11/24 : RUN ${MAKE} 05:06:18 ---> Running in 4a86cfde1e8a 05:06:18 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:06:40 Removing intermediate container 4a86cfde1e8a 05:06:40 ---> 8178f2a8ee92 05:06:40 Step 12/24 : FROM alpine:3.14 05:06:40 3.14: Pulling from library/alpine 05:06:41 c7ed990a2339: Pulling fs layer 05:06:41 c7ed990a2339: Download complete 05:06:41 c7ed990a2339: Pull complete 05:06:41 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 05:06:41 Status: Downloaded newer image for alpine:3.14 05:06:41 ---> dd53f409bf0b 05:06:41 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:06:42 ---> Running in aeae5860bd6f 05:06:43 Removing intermediate container aeae5860bd6f 05:06:43 ---> 39305cd80b3b 05:06:43 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:06:43 ---> Running in 30b1e4d83d28 05:06:44 Removing intermediate container 30b1e4d83d28 05:06:44 ---> 5df6b9c2281e 05:06:44 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 05:06:44 ---> Running in d74d293ec3f8 05:06:45 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:06:46 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:06:46 (1/6) Installing dumb-init (1.2.5-r1) 05:06:46 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:06:46 (3/6) Installing libsodium (1.0.18-r0) 05:06:46 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:06:46 (5/6) Installing libzmq (4.3.4-r0) 05:06:46 (6/6) Installing zeromq (4.3.4-r0) 05:06:47 Executing busybox-1.33.1-r8.trigger 05:06:47 OK: 8 MiB in 20 packages 05:06:47 Removing intermediate container d74d293ec3f8 05:06:47 ---> c94da80ff72c 05:06:47 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 05:06:48 ---> 78551cb150d3 05:06:48 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 05:06:48 ---> e421e88cdf00 05:06:48 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:06:48 ---> 77abc1ef95a1 05:06:48 Step 19/24 : EXPOSE 59901 05:06:48 ---> Running in 9c729e647884 05:06:48 Removing intermediate container 9c729e647884 05:06:48 ---> 17287a48d9cc 05:06:48 Step 20/24 : ENTRYPOINT ["/device-modbus"] 05:06:48 ---> Running in 7ef36c678959 05:06:48 Removing intermediate container 7ef36c678959 05:06:48 ---> 2b9c01eea266 05:06:48 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:06:49 ---> Running in 7c2f0075bdd2 05:06:49 Removing intermediate container 7c2f0075bdd2 05:06:49 ---> 9ceaacf33623 05:06:49 Step 22/24 : LABEL arch=amd64 05:06:49 ---> Running in eccd3a5b351e 05:06:49 Removing intermediate container eccd3a5b351e 05:06:49 ---> a5d7d6616688 05:06:49 Step 23/24 : LABEL git_sha=b03dabf38b63f24493184e5a8112871062c4142f 05:06:49 ---> Running in e8a28677f73d 05:06:49 Removing intermediate container e8a28677f73d 05:06:49 ---> 4ce261f5b716 05:06:49 Step 24/24 : LABEL version=0.0.0 05:06:49 ---> Running in 61f43506bd24 05:06:49 Removing intermediate container 61f43506bd24 05:06:49 ---> 493dda1804dc 05:06:49 [Warning] One or more build-args [ARCH] were not consumed 05:06:49 Successfully built 493dda1804dc 05:06:49 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:50 05:06:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:50 latest: Pulling from edgex-lftools-log-publisher 05:06:50 5eb5b503b376: Pulling fs layer 05:06:50 5c69ac0246d0: Pulling fs layer 05:06:50 ec43610c2a17: Pulling fs layer 05:06:50 3a2ae6a8a46f: Pulling fs layer 05:06:50 33b1e0a273af: Pulling fs layer 05:06:50 5d3b04190fa2: Pulling fs layer 05:06:50 2f39f015ded8: Pulling fs layer 05:06:50 3a2ae6a8a46f: Waiting 05:06:50 33b1e0a273af: Waiting 05:06:50 5d3b04190fa2: Waiting 05:06:50 2f39f015ded8: Waiting 05:06:50 5c69ac0246d0: Verifying Checksum 05:06:50 5c69ac0246d0: Download complete 05:06:50 3a2ae6a8a46f: Download complete 05:06:50 33b1e0a273af: Verifying Checksum 05:06:50 33b1e0a273af: Download complete 05:06:51 5d3b04190fa2: Verifying Checksum 05:06:51 5d3b04190fa2: Download complete 05:06:51 ec43610c2a17: Verifying Checksum 05:06:51 ec43610c2a17: Download complete 05:06:51 5eb5b503b376: Verifying Checksum 05:06:51 5eb5b503b376: Download complete 05:06:51 2f39f015ded8: Verifying Checksum 05:06:51 2f39f015ded8: Download complete 05:06:52 5eb5b503b376: Pull complete 05:06:52 5c69ac0246d0: Pull complete 05:06:52 ec43610c2a17: Pull complete 05:06:52 3a2ae6a8a46f: Pull complete 05:06:53 33b1e0a273af: Pull complete 05:06:53 5d3b04190fa2: Pull complete 05:06:57 2f39f015ded8: Pull complete 05:06:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:06:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:57 prd-ubuntu20.04-docker-8c-8g-9182 does not seem to be running inside a container 05:06:57 $ 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-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@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-lftools-log-publisher:latest cat 05:06:59 $ docker top aa91dfb585b2f70c8da7d1937ab32f8ed71925b703055c7fc2865b79ff242cd3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:59 ---> job-cost.sh 05:06:59 lf-activate-venv: SKIPPING 05:06:59 INFO: No Stack... 05:07:00 INFO: Retrieving Pricing Info for: v3-standard-8 05:07:00 INFO: Archiving Costs [Pipeline] sh 05:07:00 + cat /w/workspace/xfoundry_device-modbus-go_PR-385/archives/cost.csv 05:07:00 + cut -d, -f6 [Pipeline] lock 05:07:01 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-385-1-stack-cost] 05:07:01 Resource [jenkins-edgexfoundry-device-modbus-go-PR-385-1-stack-cost] did not exist. Created. 05:07:01 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-385-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:07:01 + echo total: 0.2199999988079071 [Pipeline] stash 05:07:01 Stashed 1 file(s) [Pipeline] } 05:07:01 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-385-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:07:01 $ docker stop --time=1 aa91dfb585b2f70c8da7d1937ab32f8ed71925b703055c7fc2865b79ff242cd3 05:07:02 $ docker rm -f aa91dfb585b2f70c8da7d1937ab32f8ed71925b703055c7fc2865b79ff242cd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:08:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9187 in /w/workspace/xfoundry_device-modbus-go_PR-385 [Pipeline] { [Pipeline] ws 05:08:05 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:08:05 Selected Git installation does not exist. Using Default 05:08:05 The recommended git tool is: NONE 05:08:11 using credential edgex-jenkins-ssh 05:08:11 Cloning the remote Git repository 05:08:11 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:08:11 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:08:11 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:08:11 > git --version # timeout=10 05:08:11 > git --version # 'git version 2.25.1' 05:08:11 using GIT_SSH to set credentials SSH Credentials for GitHub 05:08:11 Verifying host key using known hosts file 05:08:11 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 05:08:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:08:12 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:08:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:08:14 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:08:14 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:08:14 using GIT_SSH to set credentials SSH Credentials for GitHub 05:08:14 Verifying host key using known hosts file 05:08:14 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 05:08:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:08:14 Merging remotes/origin/main commit 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 into PR head commit b03dabf38b63f24493184e5a8112871062c4142f 05:08:15 Merge succeeded, producing b03dabf38b63f24493184e5a8112871062c4142f 05:08:15 Checking out Revision b03dabf38b63f24493184e5a8112871062c4142f (PR-385) 05:08:14 > git config core.sparsecheckout # timeout=10 05:08:14 > git checkout -f b03dabf38b63f24493184e5a8112871062c4142f # timeout=10 05:08:14 > git remote # timeout=10 05:08:14 > git config --get remote.origin.url # timeout=10 05:08:14 using GIT_SSH to set credentials SSH Credentials for GitHub 05:08:14 Verifying host key using known hosts file 05:08:14 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 05:08:14 > git merge 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 # timeout=10 05:08:15 > git rev-parse HEAD^{commit} # timeout=10 05:08:15 > git config core.sparsecheckout # timeout=10 05:08:15 > git checkout -f b03dabf38b63f24493184e5a8112871062c4142f # timeout=10 05:08:15 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1" 05:08:15 > git --version # timeout=10 05:08:15 > git --version # 'git version 2.25.1' 05:08:15 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:08:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:08:16 % Total % Received % Xferd Average Speed Time Time Time Current 05:08:16 Dload Upload Total Spent Left Speed 05:08:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 205k 0 --:--:-- --:--:-- --:--:-- 205k [Pipeline] sh 05:08:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:08:17 + sudo tee /etc/docker/daemon.new 05:08:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:08:17 { 05:08:17 "registry-mirrors": [ 05:08:17 "https://nexus3.edgexfoundry.org:10001" 05:08:17 ], 05:08:17 "bip": "10.250.0.254/24", 05:08:17 "hosts": [ 05:08:17 "tcp://0.0.0.0:5555", 05:08:17 "unix:///var/run/docker.sock" 05:08:17 ], 05:08:17 "mtu": 1458, 05:08:17 "selinux-enabled": true, 05:08:17 "seccomp-profile": "/etc/docker/seccomp.json" 05:08:17 } [Pipeline] sh 05:08:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:08:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:08:36 provisioning config files... 05:08:36 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config16076350228210464871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:37 ---> docker-login.sh 05:08:37 nexus3.edgexfoundry.org:10001 05:08:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:37 Configure a credential helper to remove this warning. See 05:08:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:37 05:08:37 Login Succeeded 05:08:37 nexus3.edgexfoundry.org:10002 05:08:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:38 Configure a credential helper to remove this warning. See 05:08:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:38 05:08:38 Login Succeeded 05:08:38 nexus3.edgexfoundry.org:10003 05:08:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:38 Configure a credential helper to remove this warning. See 05:08:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:38 05:08:38 Login Succeeded 05:08:38 nexus3.edgexfoundry.org:10004 05:08:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:39 Configure a credential helper to remove this warning. See 05:08:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:39 05:08:39 Login Succeeded 05:08:39 docker.io 05:08:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:39 Configure a credential helper to remove this warning. See 05:08:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:39 05:08:39 Login Succeeded 05:08:39 ---> docker-login.sh ends [Pipeline] } 05:08:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:08:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:08:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:08:40 ========================================================= 05:08:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:08:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:40 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 05:08:41 Sending build context to Docker daemon 3.228MB 05:08:41 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 05:08:41 Step 2/11 : FROM ${BASE} AS builder 05:08:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:08:41 9b18e9b68314: Pulling fs layer 05:08:41 d32db5db7311: Pulling fs layer 05:08:41 d0c4b47475fc: Pulling fs layer 05:08:41 5831b945b038: Pulling fs layer 05:08:41 86bbec2aaacd: Pulling fs layer 05:08:41 e10730c5d714: Pulling fs layer 05:08:41 5dd5c2283517: Pulling fs layer 05:08:41 d5ac0230b979: Pulling fs layer 05:08:41 5831b945b038: Waiting 05:08:41 86bbec2aaacd: Waiting 05:08:41 e10730c5d714: Waiting 05:08:41 d5ac0230b979: Waiting 05:08:41 5dd5c2283517: Waiting 05:08:41 d0c4b47475fc: Download complete 05:08:41 d32db5db7311: Verifying Checksum 05:08:41 d32db5db7311: Download complete 05:08:41 86bbec2aaacd: Verifying Checksum 05:08:41 86bbec2aaacd: Download complete 05:08:41 e10730c5d714: Verifying Checksum 05:08:41 e10730c5d714: Download complete 05:08:41 9b18e9b68314: Verifying Checksum 05:08:41 9b18e9b68314: Download complete 05:08:42 9b18e9b68314: Pull complete 05:08:42 d5ac0230b979: Verifying Checksum 05:08:42 d5ac0230b979: Download complete 05:08:42 d32db5db7311: Pull complete 05:08:43 d0c4b47475fc: Pull complete 05:08:43 5dd5c2283517: Verifying Checksum 05:08:43 5dd5c2283517: Download complete 05:08:44 5831b945b038: Verifying Checksum 05:08:44 5831b945b038: Download complete 05:08:57 5831b945b038: Pull complete 05:08:57 86bbec2aaacd: Pull complete 05:08:57 e10730c5d714: Pull complete 05:09:03 5dd5c2283517: Pull complete 05:09:06 d5ac0230b979: Pull complete 05:09:06 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 05:09:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:09:06 ---> 59b3b1a385d4 05:09:06 Step 3/11 : ARG ADD_BUILD_TAGS="" 05:09:08 ---> Running in d3210aa028b8 05:09:08 Removing intermediate container d3210aa028b8 05:09:08 ---> 480d8c1dea4d 05:09:08 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:09:08 ---> Running in a50f9f31125f 05:09:08 Removing intermediate container a50f9f31125f 05:09:08 ---> cac1ce442d17 05:09:08 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:09:09 ---> Running in d72562ea1a11 05:09:11 Removing intermediate container d72562ea1a11 05:09:11 ---> 204c90d52498 05:09:11 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:09:11 ---> Running in 80535bf69ea2 05:09:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:09:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:09:14 (1/8) Installing openssh-keygen (9.0_p1-r2) 05:09:14 (2/8) Installing libedit (20210910.3.1-r0) 05:09:14 (3/8) Installing openssh-client-common (9.0_p1-r2) 05:09:14 (4/8) Installing openssh-client-default (9.0_p1-r2) 05:09:14 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 05:09:14 (6/8) Installing openssh-server-common (9.0_p1-r2) 05:09:14 (7/8) Installing openssh-server (9.0_p1-r2) 05:09:14 (8/8) Installing openssh (9.0_p1-r2) 05:09:14 Executing busybox-1.35.0-r17.trigger 05:09:15 OK: 228 MiB in 59 packages 05:09:16 Removing intermediate container 80535bf69ea2 05:09:16 ---> 649eea79f1ee 05:09:16 Step 7/11 : WORKDIR /device-modbus-go 05:09:16 ---> Running in f2670761740e 05:09:16 Removing intermediate container f2670761740e 05:09:16 ---> 108c71d1300e 05:09:16 Step 8/11 : COPY go.mod vendor* ./ 05:09:17 ---> d535bb8bf1dc 05:09:17 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:09:17 ---> Running in e5df1373a85b 05:10:13 Removing intermediate container e5df1373a85b 05:10:13 ---> 5eae9285e49b 05:10:13 Step 10/11 : COPY . . 05:10:13 ---> 9b4070a46984 05:10:13 Step 11/11 : RUN ${MAKE} 05:10:13 ---> Running in ddec20f36890 05:10:13 noop 05:10:13 Removing intermediate container ddec20f36890 05:10:13 ---> 0bd74f48e856 05:10:13 Successfully built 0bd74f48e856 05:10:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:14 + docker inspect -f . ci-base-image-arm64 05:10:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:10:14 prd-ubuntu20.04-docker-arm64-4c-16g-9187 does not seem to be running inside a container 05:10:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 ******** ci-base-image-arm64 cat 05:10:15 $ docker top 8d54fc57b2af7bf38568dbf408835aece4df139c0514a3a8e058d6244f09348e -eo pid,comm [Pipeline] { [Pipeline] sh 05:10:16 + go version 05:10:16 go version go1.18.7 linux/arm64 [Pipeline] } 05:10:16 $ docker stop --time=1 8d54fc57b2af7bf38568dbf408835aece4df139c0514a3a8e058d6244f09348e 05:10:18 $ docker rm -f 8d54fc57b2af7bf38568dbf408835aece4df139c0514a3a8e058d6244f09348e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:19 + docker inspect -f . ci-base-image-arm64 05:10:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:10:19 prd-ubuntu20.04-docker-arm64-4c-16g-9187 does not seem to be running inside a container 05:10:19 $ 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/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 ******** ci-base-image-arm64 cat 05:10:20 $ docker top 4e12f6b651d57fe4b6a3abe513146f147214039b208edaff8ff622d5f00c4e5c -eo pid,comm [Pipeline] { [Pipeline] sh 05:10:21 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:10:22 + make test 05:10:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:10:24 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:12:00 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:12:00 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.064s coverage: 47.7% of statements 05:12:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:12:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:12:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:12:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:12:19 ./bin/test-attribution-txt.sh [Pipeline] echo 05:12:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:12:19 $ docker stop --time=1 4e12f6b651d57fe4b6a3abe513146f147214039b208edaff8ff622d5f00c4e5c 05:12:20 $ docker rm -f 4e12f6b651d57fe4b6a3abe513146f147214039b208edaff8ff622d5f00c4e5c [Pipeline] // withDockerContainer [Pipeline] sh 05:12:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:12:22 Warning: overwriting stash ‘coverage-report’ 05:12:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:12:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:12:23 + ls -al . 05:12:23 total 184 05:12:23 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 05:10 . 05:12:23 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 05:08 .. 05:12:23 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 05:08 .dockerignore 05:12:23 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 05:08 .git 05:12:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:08 .github 05:12:23 -rw-rw-r-- 1 jenkins jenkins 331 Oct 24 05:08 .gitignore 05:12:23 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 05:08 .golangci.yml 05:12:23 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 24 05:08 Attribution.txt 05:12:23 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 24 05:08 CHANGELOG.md 05:12:23 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 24 05:08 Dockerfile 05:12:23 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 05:08 GOVERNANCE.md 05:12:23 -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 05:08 Jenkinsfile 05:12:23 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 05:08 LICENSE 05:12:23 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 24 05:08 Makefile 05:12:23 -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 05:08 OWNERS.md 05:12:23 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 24 05:08 README.md 05:12:23 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 05:05 VERSION 05:12:23 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 05:08 bin 05:12:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:08 cmd 05:12:23 -rw-r--r-- 1 jenkins jenkins 23241 Oct 24 05:11 coverage.out 05:12:23 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 24 05:08 go.mod 05:12:23 -rw-rw-r-- 1 jenkins jenkins 38465 Oct 24 05:08 go.sum 05:12:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:08 internal 05:12:23 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 05:08 simulator 05:12:23 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 05:08 snap 05:12:23 -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 05:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:24 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b03dabf38b63f24493184e5a8112871062c4142f --label arch=arm64 --label version=0.0.0 . 05:12:24 Sending build context to Docker daemon 3.252MB 05:12:24 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:12:24 Step 2/24 : FROM ${BASE} AS builder 05:12:24 ---> 0bd74f48e856 05:12:24 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:12:24 ---> Running in 96587cd52acb 05:12:24 Removing intermediate container 96587cd52acb 05:12:24 ---> 73f9505de812 05:12:24 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:12:24 ---> Running in 91f32d0afe67 05:12:25 Removing intermediate container 91f32d0afe67 05:12:25 ---> ace4ed2452f9 05:12:25 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:12:25 ---> Running in 78ba566eee00 05:12:27 Removing intermediate container 78ba566eee00 05:12:27 ---> 55f4d9247122 05:12:27 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:12:27 ---> Running in c24761fcacdc 05:12:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:12:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:12:30 OK: 228 MiB in 59 packages 05:12:31 Removing intermediate container c24761fcacdc 05:12:31 ---> 94cd1292096d 05:12:31 Step 7/24 : WORKDIR /device-modbus-go 05:12:31 ---> Running in 56e1ec6a2fe8 05:12:31 Removing intermediate container 56e1ec6a2fe8 05:12:31 ---> a25b8b894113 05:12:31 Step 8/24 : COPY go.mod vendor* ./ 05:12:32 ---> bc7b99e4b5ae 05:12:32 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:12:32 ---> Running in c586c83e8b3f 05:12:34 Removing intermediate container c586c83e8b3f 05:12:34 ---> b2f66e666b7d 05:12:34 Step 10/24 : COPY . . 05:12:35 ---> 8ee01bdf3466 05:12:35 Step 11/24 : RUN ${MAKE} 05:12:36 ---> Running in c75af8955e7e 05:12:37 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:15:14 Removing intermediate container c75af8955e7e 05:15:14 ---> 42c4a39864fa 05:15:14 Step 12/24 : FROM alpine:3.14 05:15:14 3.14: Pulling from library/alpine 05:15:15 90cda3b7c325: Pulling fs layer 05:15:15 90cda3b7c325: Verifying Checksum 05:15:15 90cda3b7c325: Download complete 05:15:15 90cda3b7c325: Pull complete 05:15:15 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 05:15:15 Status: Downloaded newer image for alpine:3.14 05:15:15 ---> 376ba31ae3da 05:15:15 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:15:15 ---> Running in e40f516d9258 05:15:16 Removing intermediate container e40f516d9258 05:15:16 ---> a5e6f9ca92b5 05:15:16 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:15:16 ---> Running in ebf11a484ac8 05:15:18 Removing intermediate container ebf11a484ac8 05:15:18 ---> 5e4c5602d8c0 05:15:18 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 05:15:18 ---> Running in 654e00cafc30 05:15:19 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:15:19 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:15:20 (1/6) Installing dumb-init (1.2.5-r1) 05:15:20 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:15:20 (3/6) Installing libsodium (1.0.18-r0) 05:15:21 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:15:21 (5/6) Installing libzmq (4.3.4-r0) 05:15:21 (6/6) Installing zeromq (4.3.4-r0) 05:15:21 Executing busybox-1.33.1-r8.trigger 05:15:21 OK: 8 MiB in 20 packages 05:15:22 Removing intermediate container 654e00cafc30 05:15:22 ---> 53022679ed83 05:15:22 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 05:15:23 ---> ab3a8112811e 05:15:23 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 05:15:24 ---> 57482b6d71b6 05:15:24 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:15:25 ---> 264a37498f1a 05:15:25 Step 19/24 : EXPOSE 59901 05:15:25 ---> Running in 6e9ecec9f6cb 05:15:25 Removing intermediate container 6e9ecec9f6cb 05:15:25 ---> 762d214f0428 05:15:25 Step 20/24 : ENTRYPOINT ["/device-modbus"] 05:15:25 ---> Running in dfe8f424e4db 05:15:25 Removing intermediate container dfe8f424e4db 05:15:25 ---> 1ef561eed06f 05:15:25 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:15:25 ---> Running in ea5824f108bf 05:15:25 Removing intermediate container ea5824f108bf 05:15:25 ---> 35d6437c4cdb 05:15:25 Step 22/24 : LABEL arch=arm64 05:15:26 ---> Running in 88a353537b7f 05:15:26 Removing intermediate container 88a353537b7f 05:15:26 ---> cfb6462f5546 05:15:26 Step 23/24 : LABEL git_sha=b03dabf38b63f24493184e5a8112871062c4142f 05:15:26 ---> Running in b8785a12debd 05:15:26 Removing intermediate container b8785a12debd 05:15:26 ---> cda558a32df3 05:15:26 Step 24/24 : LABEL version=0.0.0 05:15:26 ---> Running in 8ce9060467ef 05:15:26 Removing intermediate container 8ce9060467ef 05:15:26 ---> 0cdfb8b68990 05:15:26 [Warning] One or more build-args [ARCH] were not consumed 05:15:27 Successfully built 0cdfb8b68990 05:15:27 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:15:28 05:15:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:15:28 arm64: Pulling from edgex-lftools-log-publisher 05:15:28 8998bd30e6a1: Pulling fs layer 05:15:28 04944245beec: Pulling fs layer 05:15:28 699f458cf7ca: Pulling fs layer 05:15:28 765212b225bb: Pulling fs layer 05:15:28 f23df028b6ca: Pulling fs layer 05:15:28 d65c8cfc05b1: Pulling fs layer 05:15:28 2437ff75d9bd: Pulling fs layer 05:15:28 f23df028b6ca: Waiting 05:15:28 d65c8cfc05b1: Waiting 05:15:28 2437ff75d9bd: Waiting 05:15:28 765212b225bb: Waiting 05:15:28 04944245beec: Verifying Checksum 05:15:28 04944245beec: Download complete 05:15:28 765212b225bb: Verifying Checksum 05:15:28 765212b225bb: Download complete 05:15:28 f23df028b6ca: Verifying Checksum 05:15:28 f23df028b6ca: Download complete 05:15:28 d65c8cfc05b1: Verifying Checksum 05:15:28 d65c8cfc05b1: Download complete 05:15:29 699f458cf7ca: Verifying Checksum 05:15:29 699f458cf7ca: Download complete 05:15:29 8998bd30e6a1: Verifying Checksum 05:15:29 8998bd30e6a1: Download complete 05:15:31 2437ff75d9bd: Verifying Checksum 05:15:31 2437ff75d9bd: Download complete 05:15:33 8998bd30e6a1: Pull complete 05:15:33 04944245beec: Pull complete 05:15:35 699f458cf7ca: Pull complete 05:15:35 765212b225bb: Pull complete 05:15:35 f23df028b6ca: Pull complete 05:15:36 d65c8cfc05b1: Pull complete 05:15:51 2437ff75d9bd: Pull complete 05:15:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:15:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:15:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:15:51 prd-ubuntu20.04-docker-arm64-4c-16g-9187 does not seem to be running inside a container 05:15:51 $ 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/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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-lftools-log-publisher:arm64 cat 05:15:54 $ docker top 55fc96745529bce89ec3ff3a1f3c884dcaa57df46814f841ffadc1475b5b5385 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:15:54 ---> job-cost.sh 05:15:54 lf-activate-venv: SKIPPING 05:15:54 INFO: No Stack... 05:15:55 INFO: Retrieving Pricing Info for: v3-standard-4 05:15:56 INFO: Archiving Costs [Pipeline] sh 05:15:56 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 05:15:56 + cut -d, -f6 [Pipeline] lock 05:15:56 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-385-1-stack-cost] 05:15:56 Resource [jenkins-edgexfoundry-device-modbus-go-PR-385-1-stack-cost] did not exist. Created. 05:15:56 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-385-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:15:56 /w/workspace/device-modbus-go/1@tmp/durable-91f9573a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:15:57 + echo total: 0.10999999940395355 [Pipeline] stash 05:15:57 Warning: overwriting stash ‘stack-cost’ 05:15:57 Stashed 1 file(s) [Pipeline] } 05:15:57 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-385-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:15:57 $ docker stop --time=1 55fc96745529bce89ec3ff3a1f3c884dcaa57df46814f841ffadc1475b5b5385 05:15:58 $ docker rm -f 55fc96745529bce89ec3ff3a1f3c884dcaa57df46814f841ffadc1475b5b5385 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:15:59 provisioning config files... 05:15:59 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config223700264339467220tmp [Pipeline] { [Pipeline] sh 05:16:00 + set +x 05:16:00 + curl -s https://codecov.io/bash 05:16:00 + bash -s -- 05:16:00 05:16:00 _____ _ 05:16:00 / ____| | | 05:16:00 | | ___ __| | ___ ___ _____ __ 05:16:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:16:00 | |___| (_) | (_| | __/ (_| (_) \ V / 05:16:00 \_____\___/ \__,_|\___|\___\___/ \_/ 05:16:00 Bash-1.0.6 05:16:00 05:16:00 05:16:00 ==> git version 2.25.1 found 05:16:00 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:16:00 Release-Date: 2020-01-08 05:16:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:16:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:16:00 ==> Jenkins CI detected. 05:16:00 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-385 05:16:00 project root: . 05:16:00 --> token set from env 05:16:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:16:00 ==> Running gcov in . (disable via -X gcov) 05:16:00 ==> Python coveragepy not found 05:16:00 ==> Searching for coverage reports in: 05:16:00 + . 05:16:00 -> Found 1 reports 05:16:00 ==> Detecting git/mercurial file structure 05:16:00 ==> Reading reports 05:16:00 + ./coverage.out bytes=23241 05:16:00 ==> Appending adjustments 05:16:00 https://docs.codecov.io/docs/fixing-reports 05:16:00 + Found adjustments 05:16:00 ==> Gzipping contents 05:16:00 4.0K /tmp/codecov.XzHXDM.gz 05:16:00 ==> Uploading reports 05:16:00 url: https://codecov.io 05:16:00 query: branch=PR-385&commit=b03dabf38b63f24493184e5a8112871062c4142f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-385%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=385&job=&cmd_args= 05:16:00 -> Pinging Codecov 05:16:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-385&commit=b03dabf38b63f24493184e5a8112871062c4142f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-385%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=385&job=&cmd_args= 05:16:00 -> Uploading to 05:16:00 https://storage.googleapis.com/codecov/v4/raw/2022-10-24/55DBCA73C666E3227836607328DD7E49/b03dabf38b63f24493184e5a8112871062c4142f/a291e91e-defc-4e8c-a766-8e68210513db.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T051600Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8d674d0b4820b3a0dddc9683bc0c73f35759d642b6ddd03fd4ef54f97ad3f10f 05:16:00 % Total % Received % Xferd Average Speed Time Time Time Current 05:16:00 Dload Upload Total Spent Left Speed 05:16:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3903 0 0 100 3903 0 19226 --:--:-- --:--:-- --:--:-- 19132 100 3903 0 0 100 3903 0 17903 --:--:-- --:--:-- --:--:-- 17821 05:16:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/b03dabf38b63f24493184e5a8112871062c4142f [Pipeline] } 05:16:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:16:02 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-385/archives ] 05:16:02 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-385/archives 05:16:02 total 16 05:16:02 drwxr-xr-x 3 root root 4096 Oct 24 05:07 . 05:16:02 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 05:07 .. 05:16:02 drwxr-xr-x 2 root root 4096 Oct 24 05:07 cost 05:16:02 -rw-r--r-- 1 root root 88 Oct 24 05:07 cost.csv 05:16:02 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-385/archives 05:16:02 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-385/archives 05:16:02 total 16 05:16:02 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 05:07 . 05:16:02 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 05:07 .. 05:16:02 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 05:07 cost 05:16:02 -rw-r--r-- 1 jenkins jenkins 88 Oct 24 05:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:16:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:16:03 ---> package-listing.sh 05:16:03 ++ facter osfamily 05:16:03 ++ tr '[:upper:]' '[:lower:]' 05:16:04 + OS_FAMILY=debian 05:16:04 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-385 05:16:04 + START_PACKAGES=/tmp/packages_start.txt 05:16:04 + END_PACKAGES=/tmp/packages_end.txt 05:16:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:16:04 + PACKAGES=/tmp/packages_start.txt 05:16:04 + '[' /w/workspace/xfoundry_device-modbus-go_PR-385 ']' 05:16:04 + PACKAGES=/tmp/packages_end.txt 05:16:04 + case "${OS_FAMILY}" in 05:16:04 + dpkg -l 05:16:04 + grep '^ii' 05:16:04 + '[' -f /tmp/packages_start.txt ']' 05:16:04 + '[' -f /tmp/packages_end.txt ']' 05:16:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:16:04 + '[' /w/workspace/xfoundry_device-modbus-go_PR-385 ']' 05:16:04 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-385/archives/ 05:16:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-385/archives/ [Pipeline] echo 05:16:04 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-385/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:16:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:16:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:16:05 prd-ubuntu20.04-docker-8c-8g-9182 does not seem to be running inside a container 05:16:05 $ 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-385/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-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:16:05 $ docker top 8523333d54fb92a525eb2716836e93296756fa25a6bc22bd778707346a362f17 -eo pid,comm [Pipeline] { [Pipeline] sh 05:16:05 + touch /tmp/pre-build-complete [Pipeline] sh 05:16:06 + mkdir -p /var/log/sysstat [Pipeline] sh 05:16:06 + ls /var/log/sa-host 05:16:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:16:06 provisioning config files... 05:16:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config13959652664215278696tmp [Pipeline] { [Pipeline] echo 05:16:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:16:07 ---> create-netrc.sh [Pipeline] } 05:16:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:16:07 ---> python-tools-install.sh [Pipeline] echo 05:16:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:16:07 ---> sudo-logs.sh 05:16:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:16:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:16:08 ---> job-cost.sh 05:16:08 lf-activate-venv: SKIPPING 05:16:08 DEBUG: total: 0.2199999988079071 05:16:08 INFO: Retrieving Stack Cost... 05:16:08 INFO: Retrieving Pricing Info for: v3-standard-8 05:16:09 INFO: Archiving Costs [Pipeline] echo 05:16:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:16:09 ---> logs-deploy.sh 05:16:09 lf-activate-venv: SKIPPING 05:16:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-385/1 05:16:09 INFO: archiving workspace using pattern(s): 05:16:10 Archives upload complete. 05:16:10 INFO: archiving logs to Nexus