Pull request #435 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 468e7d00dfca1ef06956594c0d89631012aab71a+82ff0da3d76fda56b8be828932abbd4e3fc098e3 (02f3b054cfb17a0cf41bfed10a8e1d2439e6266a) 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-ssh6455015631014017666.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh2151903409684964694.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-435/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-435/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7384428161835920917.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15825447587419770987.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-435/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-435/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10543008169752748058.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4763 in /w/workspace/xfoundry_device-modbus-go_PR-435 [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-435 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 82ff0da3d76fda56b8be828932abbd4e3fc098e3 into PR head commit 468e7d00dfca1ef06956594c0d89631012aab71a > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/435/head:refs/remotes/origin/PR-435 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 468e7d00dfca1ef06956594c0d89631012aab71a # timeout=10 Merge succeeded, producing 468e7d00dfca1ef06956594c0d89631012aab71a Checking out Revision 468e7d00dfca1ef06956594c0d89631012aab71a (PR-435) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:20:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:20:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:20:29 ========================================================= 07:20:29 EdgeX Global Pipelines Version Info 07:20:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 82ff0da3d76fda56b8be828932abbd4e3fc098e3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 468e7d00dfca1ef06956594c0d89631012aab71a # timeout=10 > git rev-list --no-walk ed3f9850aa2c3fb1335695e568d1230611d3ac36 # timeout=10 07:20:30 ------------------- 07:20:30 stable info: 07:20:30 ------------------- 07:20:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:20:30 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 07:20:30 Message: update stable to v1.0.245 07:20:30 ------------------- 07:20:30 experimental info: 07:20:30 ------------------- 07:20:30 Commited By: **** collab-it+edgex@linuxfoundation.org 07:20:30 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 07:20:30 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:20:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:20:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:20:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:20:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:20:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:20:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:20:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:20:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:20:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:20:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:20:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:20:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 07:20:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:20:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:20:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:20:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:20:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:20:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-435 [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-435 [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-435 [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 468e7d00dfca1ef06956594c0d89631012aab71a [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 468e7d0 [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:20:31 provisioning config files... 07:20:31 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-435@tmp/config4196224745154950899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:20:31 ---> docker-login.sh 07:20:31 nexus3.edgexfoundry.org:10001 07:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:31 Configure a credential helper to remove this warning. See 07:20:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:31 07:20:31 Login Succeeded 07:20:31 nexus3.edgexfoundry.org:10002 07:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:32 Configure a credential helper to remove this warning. See 07:20:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:32 07:20:32 Login Succeeded 07:20:32 nexus3.edgexfoundry.org:10003 07:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:32 Configure a credential helper to remove this warning. See 07:20:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:32 07:20:32 Login Succeeded 07:20:32 nexus3.edgexfoundry.org:10004 07:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:32 Configure a credential helper to remove this warning. See 07:20:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:32 07:20:32 Login Succeeded 07:20:32 docker.io 07:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:32 Configure a credential helper to remove this warning. See 07:20:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:32 07:20:32 Login Succeeded 07:20:32 ---> docker-login.sh ends [Pipeline] } 07:20:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:20:32 + git rev-list -1 --merges 468e7d00dfca1ef06956594c0d89631012aab71a~1..468e7d00dfca1ef06956594c0d89631012aab71a [Pipeline] echo 07:20:32 -----------> git rev-list -1 --merges 468e7d00dfca1ef06956594c0d89631012aab71a~1..468e7d00dfca1ef06956594c0d89631012aab71a 468e7d00dfca1ef06956594c0d89631012aab71a [false] [Pipeline] sh 07:20:33 + git log --format=format:%s -1 468e7d00dfca1ef06956594c0d89631012aab71a [Pipeline] echo 07:20:33 ========================================================= 07:20:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:20:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:20:33 + git log --format=format:%s -1 468e7d00dfca1ef06956594c0d89631012aab71a [Pipeline] echo 07:20:33 [semverPrep] GIT_COMMIT: 468e7d00dfca1ef06956594c0d89631012aab71a, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 07:20:33 [semverPrep] This is not a build commit. [Pipeline] sh 07:20:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:20:33 + grep -v github /etc/ssh/ssh_known_hosts 07:20:33 + [ -e /tmp/ssh_known_hosts ] 07:20:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:20:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:20:33 + sudo tee -a /etc/ssh/ssh_known_hosts 07:20:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:20:34 07:20:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:20:34 0.1.4: Pulling from edgex-devops/py-git-semver 07:20:34 b85a868b505f: Pulling fs layer 07:20:34 e2be974225ed: Pulling fs layer 07:20:34 339a4e72a1f5: Pulling fs layer 07:20:34 988bab9f4d93: Pulling fs layer 07:20:34 1469e6f7b9e6: Pulling fs layer 07:20:34 eaf3925da568: Pulling fs layer 07:20:34 bab4dde63d76: Pulling fs layer 07:20:34 bde34c3a00c8: Pulling fs layer 07:20:34 b352a97aabf1: Pulling fs layer 07:20:34 4872d77fe225: Pulling fs layer 07:20:34 5851b861e8e6: Pulling fs layer 07:20:34 bab4dde63d76: Waiting 07:20:34 b352a97aabf1: Waiting 07:20:34 4872d77fe225: Waiting 07:20:34 5851b861e8e6: Waiting 07:20:34 bde34c3a00c8: Waiting 07:20:34 988bab9f4d93: Waiting 07:20:34 1469e6f7b9e6: Waiting 07:20:34 eaf3925da568: Waiting 07:20:34 e2be974225ed: Verifying Checksum 07:20:34 e2be974225ed: Download complete 07:20:34 339a4e72a1f5: Verifying Checksum 07:20:34 339a4e72a1f5: Download complete 07:20:34 988bab9f4d93: Verifying Checksum 07:20:34 988bab9f4d93: Download complete 07:20:34 eaf3925da568: Verifying Checksum 07:20:34 eaf3925da568: Download complete 07:20:34 b85a868b505f: Verifying Checksum 07:20:34 b85a868b505f: Download complete 07:20:34 bde34c3a00c8: Verifying Checksum 07:20:34 bde34c3a00c8: Download complete 07:20:35 b352a97aabf1: Download complete 07:20:35 4872d77fe225: Verifying Checksum 07:20:35 4872d77fe225: Download complete 07:20:35 1469e6f7b9e6: Verifying Checksum 07:20:35 1469e6f7b9e6: Download complete 07:20:35 5851b861e8e6: Verifying Checksum 07:20:35 5851b861e8e6: Download complete 07:20:35 bab4dde63d76: Verifying Checksum 07:20:35 bab4dde63d76: Download complete 07:20:36 b85a868b505f: Pull complete 07:20:36 e2be974225ed: Pull complete 07:20:36 339a4e72a1f5: Pull complete 07:20:36 988bab9f4d93: Pull complete 07:20:37 1469e6f7b9e6: Pull complete 07:20:37 eaf3925da568: Pull complete 07:20:39 bab4dde63d76: Pull complete 07:20:39 bde34c3a00c8: Pull complete 07:20:39 b352a97aabf1: Pull complete 07:20:39 4872d77fe225: Pull complete 07:20:39 5851b861e8e6: Pull complete 07:20:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:20:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:20:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:20:39 prd-ubuntu20.04-docker-8c-8g-4763 does not seem to be running inside a container 07:20:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-435 -v /w/workspace/xfoundry_device-modbus-go_PR-435:/w/workspace/xfoundry_device-modbus-go_PR-435:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-435@tmp:/w/workspace/xfoundry_device-modbus-go_PR-435@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-devops/py-git-semver:0.1.4 cat 07:20:40 $ docker top 3373bee922fe4c81495ef11e715efcf8cc591dc73486ce39ad4152c7b8ca8149 -eo pid,comm 07:20:40 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). 07:20:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:20:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:20:40 [ssh-agent] Looking for ssh-agent implementation... 07:20:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:20:40 $ docker exec 3373bee922fe4c81495ef11e715efcf8cc591dc73486ce39ad4152c7b8ca8149 ssh-agent 07:20:41 SSH_AUTH_SOCK=/tmp/ssh-wQHObE31v8E4/agent.32 07:20:41 SSH_AGENT_PID=38 07:20:41 Running ssh-add (command line suppressed) 07:20:41 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-435@tmp/private_key_13132303445865289489.key (/w/workspace/xfoundry_device-modbus-go_PR-435@tmp/private_key_13132303445865289489.key) 07:20:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:20:41 + git tag --points-at HEAD [Pipeline] } 07:20:41 $ docker exec --env ******** --env ******** 3373bee922fe4c81495ef11e715efcf8cc591dc73486ce39ad4152c7b8ca8149 ssh-agent -k 07:20:41 unset SSH_AUTH_SOCK; 07:20:41 unset SSH_AGENT_PID; 07:20:41 echo Agent pid 38 killed; 07:20:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:20:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:20:41 [ssh-agent] Looking for ssh-agent implementation... 07:20:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:20:41 $ docker exec 3373bee922fe4c81495ef11e715efcf8cc591dc73486ce39ad4152c7b8ca8149 ssh-agent 07:20:41 SSH_AUTH_SOCK=/tmp/ssh-F9Rkd6pSgvGn/agent.70 07:20:41 SSH_AGENT_PID=76 07:20:41 Running ssh-add (command line suppressed) 07:20:41 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-435@tmp/private_key_11549201586443959970.key (/w/workspace/xfoundry_device-modbus-go_PR-435@tmp/private_key_11549201586443959970.key) 07:20:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:20:42 + git semver init 07:20:42 2023-03-21 07:20:42,462 [run_init] DEBUG init version:0.0.0 force:False 07:20:42 2023-03-21 07:20:42,463 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-435/.semver 07:20:42 2023-03-21 07:20:42,463 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-435/.semver 07:20:42 2023-03-21 07:20:42,464 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-435/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-435, universal_newlines=False, shell=None, istream=None) 07:20:43 2023-03-21 07:20:43,197 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-435/.git/info/exclude 07:20:43 2023-03-21 07:20:43,198 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-435/.semver/PR-435 with force:False 07:20:43 2023-03-21 07:20:43,198 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-435/.semver/PR-435 07:20:43 2023-03-21 07:20:43,203 [execute] INFO git cat-file --batch-check 07:20:43 2023-03-21 07:20:43,203 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-435/.semver, universal_newlines=False, shell=None, istream=) 07:20:43 2023-03-21 07:20:43,210 [execute] INFO git cat-file --batch 07:20:43 2023-03-21 07:20:43,210 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-435/.semver, universal_newlines=False, shell=None, istream=) 07:20:43 2023-03-21 07:20:43,216 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-435/.semver/PR-435 07:20:43 0.0.0 [Pipeline] } 07:20:43 $ docker exec --env ******** --env ******** 3373bee922fe4c81495ef11e715efcf8cc591dc73486ce39ad4152c7b8ca8149 ssh-agent -k 07:20:43 unset SSH_AUTH_SOCK; 07:20:43 unset SSH_AGENT_PID; 07:20:43 echo Agent pid 76 killed; 07:20:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:20:43 + git semver [Pipeline] } 07:20:44 $ docker stop --time=1 3373bee922fe4c81495ef11e715efcf8cc591dc73486ce39ad4152c7b8ca8149 07:20:45 $ docker rm -f --volumes 3373bee922fe4c81495ef11e715efcf8cc591dc73486ce39ad4152c7b8ca8149 [Pipeline] // withDockerContainer [Pipeline] sh 07:20:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:20:46 Stashed 1 file(s) [Pipeline] echo 07:20:46 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:20:46 provisioning config files... 07:20:46 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-435@tmp/config6114343361325504694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:20:46 ---> docker-login.sh 07:20:46 nexus3.edgexfoundry.org:10001 07:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:46 Configure a credential helper to remove this warning. See 07:20:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:46 07:20:46 Login Succeeded 07:20:46 nexus3.edgexfoundry.org:10002 07:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:46 Configure a credential helper to remove this warning. See 07:20:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:46 07:20:46 Login Succeeded 07:20:46 nexus3.edgexfoundry.org:10003 07:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:46 Configure a credential helper to remove this warning. See 07:20:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:46 07:20:46 Login Succeeded 07:20:46 nexus3.edgexfoundry.org:10004 07:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:46 Configure a credential helper to remove this warning. See 07:20:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:46 07:20:46 Login Succeeded 07:20:46 docker.io 07:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:47 Configure a credential helper to remove this warning. See 07:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:47 07:20:47 Login Succeeded 07:20:47 ---> docker-login.sh ends [Pipeline] } 07:20:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:20:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:20:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:20:47 ========================================================= 07:20:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:20:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:47 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:20:47 Sending build context to Docker daemon 6.37MB 07:20:47 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 07:20:47 Step 2/10 : FROM ${BASE} AS builder 07:20:47 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:20:47 63b65145d645: Pulling fs layer 07:20:47 a2d21d5440eb: Pulling fs layer 07:20:47 935e6c44a52c: Pulling fs layer 07:20:47 94cc34f8dd06: Pulling fs layer 07:20:47 30dea6a524f1: Pulling fs layer 07:20:47 94cc34f8dd06: Waiting 07:20:47 a2aff8979fd8: Pulling fs layer 07:20:47 6808be2612f2: Pulling fs layer 07:20:47 f25807f1079a: Pulling fs layer 07:20:47 30dea6a524f1: Waiting 07:20:47 a2aff8979fd8: Waiting 07:20:47 6808be2612f2: Waiting 07:20:47 a2d21d5440eb: Download complete 07:20:47 94cc34f8dd06: Verifying Checksum 07:20:47 94cc34f8dd06: Download complete 07:20:47 30dea6a524f1: Verifying Checksum 07:20:47 30dea6a524f1: Download complete 07:20:47 63b65145d645: Verifying Checksum 07:20:47 63b65145d645: Download complete 07:20:47 a2aff8979fd8: Verifying Checksum 07:20:47 a2aff8979fd8: Download complete 07:20:47 63b65145d645: Pull complete 07:20:48 a2d21d5440eb: Pull complete 07:20:48 f25807f1079a: Verifying Checksum 07:20:48 f25807f1079a: Download complete 07:20:48 935e6c44a52c: Verifying Checksum 07:20:48 935e6c44a52c: Download complete 07:20:48 6808be2612f2: Verifying Checksum 07:20:48 6808be2612f2: Download complete 07:20:52 935e6c44a52c: Pull complete 07:20:52 94cc34f8dd06: Pull complete 07:20:52 30dea6a524f1: Pull complete 07:20:52 a2aff8979fd8: Pull complete 07:20:54 6808be2612f2: Pull complete 07:20:55 f25807f1079a: Pull complete 07:20:55 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 07:20:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:20:55 ---> 3b553350e43f 07:20:55 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:20:56 ---> Running in 4f01cab135d5 07:20:57 Removing intermediate container 4f01cab135d5 07:20:57 ---> 1d5b3f1618bc 07:20:57 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:20:57 ---> Running in 114a4661b75b 07:20:57 Removing intermediate container 114a4661b75b 07:20:57 ---> 9902ad82d5c4 07:20:57 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:20:57 ---> Running in 881c29862736 07:20:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:20:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:20:57 (1/8) Installing openssh-keygen (9.1_p1-r2) 07:20:57 (2/8) Installing libedit (20221030.3.1-r0) 07:20:57 (3/8) Installing openssh-client-common (9.1_p1-r2) 07:20:58 (4/8) Installing openssh-client-default (9.1_p1-r2) 07:20:58 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 07:20:58 (6/8) Installing openssh-server-common (9.1_p1-r2) 07:20:58 (7/8) Installing openssh-server (9.1_p1-r2) 07:20:58 (8/8) Installing openssh (9.1_p1-r2) 07:20:58 Executing busybox-1.35.0-r29.trigger 07:20:58 OK: 270 MiB in 61 packages 07:20:58 Removing intermediate container 881c29862736 07:20:58 ---> 7e292f62e1d0 07:20:58 Step 6/10 : WORKDIR /device-modbus-go 07:20:58 ---> Running in c726036ed87f 07:20:58 Removing intermediate container c726036ed87f 07:20:58 ---> f96a622f7cdc 07:20:58 Step 7/10 : COPY go.mod vendor* ./ 07:20:58 ---> 01359b524f27 07:20:58 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:20:59 ---> Running in d0ceb5cb03a9 07:21:01 Still waiting to schedule task 07:21:01 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4756’ 07:21:20 Removing intermediate container d0ceb5cb03a9 07:21:20 ---> 47b79aee81c8 07:21:20 Step 9/10 : COPY . . 07:21:20 ---> 6fc8154a937c 07:21:20 Step 10/10 : RUN ${MAKE} 07:21:20 ---> Running in 73c5843db15e 07:21:20 noop 07:21:20 Removing intermediate container 73c5843db15e 07:21:20 ---> e072247dc6f7 07:21:20 Successfully built e072247dc6f7 07:21:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:21 + docker inspect -f . ci-base-image-x86_64 07:21:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:21:21 prd-ubuntu20.04-docker-8c-8g-4763 does not seem to be running inside a container 07:21:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-435 -v /w/workspace/xfoundry_device-modbus-go_PR-435:/w/workspace/xfoundry_device-modbus-go_PR-435:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-435@tmp:/w/workspace/xfoundry_device-modbus-go_PR-435@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:21:21 $ docker top d9a13a93baa2093d286eb56b1d5007fcc4a2343128db11209bcb95f2bd183a2b -eo pid,comm [Pipeline] { [Pipeline] sh 07:21:22 + go version 07:21:22 go version go1.20.2 linux/amd64 [Pipeline] } 07:21:22 $ docker stop --time=1 d9a13a93baa2093d286eb56b1d5007fcc4a2343128db11209bcb95f2bd183a2b 07:21:23 $ docker rm -f --volumes d9a13a93baa2093d286eb56b1d5007fcc4a2343128db11209bcb95f2bd183a2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:23 + docker inspect -f . ci-base-image-x86_64 07:21:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:21:23 prd-ubuntu20.04-docker-8c-8g-4763 does not seem to be running inside a container 07:21:23 $ 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-435 -v /w/workspace/xfoundry_device-modbus-go_PR-435:/w/workspace/xfoundry_device-modbus-go_PR-435:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-435@tmp:/w/workspace/xfoundry_device-modbus-go_PR-435@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:21:24 $ docker top ae36b4947362a0732b1083a9b795345c7ab557ffdd9c5f6572de0086fee0b1ae -eo pid,comm [Pipeline] { [Pipeline] sh 07:21:24 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-435 [Pipeline] fileExists [Pipeline] sh 07:21:24 + make test 07:21:24 go test ./... -coverprofile=coverage.out 07:21:30 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:21:40 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:21:40 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 48.0% of statements 07:21:46 go vet ./... 07:21:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:21:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:21:49 ./bin/test-attribution-txt.sh [Pipeline] echo 07:21:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:21:49 $ docker stop --time=1 ae36b4947362a0732b1083a9b795345c7ab557ffdd9c5f6572de0086fee0b1ae 07:21:51 $ docker rm -f --volumes ae36b4947362a0732b1083a9b795345c7ab557ffdd9c5f6572de0086fee0b1ae [Pipeline] // withDockerContainer [Pipeline] sh 07:21:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:21:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:21:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:21:52 + ls -al . 07:21:52 total 180 07:21:52 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 07:21 . 07:21:52 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 07:20 .. 07:21:52 -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 07:20 .dockerignore 07:21:52 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 07:20 .git 07:21:52 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:20 .github 07:21:52 -rw-rw-r-- 1 jenkins jenkins 331 Mar 21 07:20 .gitignore 07:21:52 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 07:20 .golangci.yml 07:21:52 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 07:20 .semver 07:21:52 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 21 07:20 Attribution.txt 07:21:52 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 21 07:20 CHANGELOG.md 07:21:52 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 21 07:20 Dockerfile 07:21:52 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 07:20 GOVERNANCE.md 07:21:52 -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 07:20 Jenkinsfile 07:21:52 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 07:20 LICENSE 07:21:52 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 21 07:20 Makefile 07:21:52 -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 07:20 OWNERS.md 07:21:52 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 21 07:20 README.md 07:21:52 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 07:20 VERSION 07:21:52 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 07:20 bin 07:21:52 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:20 cmd 07:21:52 -rw-r--r-- 1 jenkins jenkins 23736 Mar 21 07:21 coverage.out 07:21:52 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 21 07:20 go.mod 07:21:52 -rw-rw-r-- 1 jenkins jenkins 31666 Mar 21 07:20 go.sum 07:21:52 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:20 internal 07:21:52 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 07:20 simulator 07:21:52 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 07:20 snap 07:21:52 -rw-rw-r-- 1 jenkins jenkins 229 Mar 21 07:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:52 + 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=468e7d00dfca1ef06956594c0d89631012aab71a --label arch=amd64 --label version=0.0.0 . 07:21:52 Sending build context to Docker daemon 6.395MB 07:21:52 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 07:21:52 Step 2/22 : FROM ${BASE} AS builder 07:21:52 ---> e072247dc6f7 07:21:52 Step 3/22 : ARG ADD_BUILD_TAGS="" 07:21:52 ---> Running in 228ab4032461 07:21:52 Removing intermediate container 228ab4032461 07:21:52 ---> 4f95a7bc0a71 07:21:52 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:21:52 ---> Running in d1d4c0a0b5c1 07:21:53 Removing intermediate container d1d4c0a0b5c1 07:21:53 ---> 6dea40c203a1 07:21:53 Step 5/22 : RUN apk add --update --no-cache make git openssh 07:21:53 ---> Running in 2b0a81f49eb7 07:21:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:21:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:21:54 OK: 270 MiB in 61 packages 07:21:54 Removing intermediate container 2b0a81f49eb7 07:21:54 ---> 52c720110987 07:21:54 Step 6/22 : WORKDIR /device-modbus-go 07:21:54 ---> Running in 9d7253b2682d 07:21:54 Removing intermediate container 9d7253b2682d 07:21:54 ---> d97bc48aca44 07:21:54 Step 7/22 : COPY go.mod vendor* ./ 07:21:54 ---> b26f93a9747c 07:21:54 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:21:54 ---> Running in 2dd7b0fbdaac 07:21:55 Removing intermediate container 2dd7b0fbdaac 07:21:55 ---> 87744d259e40 07:21:55 Step 9/22 : COPY . . 07:21:55 ---> 26c12711e3ea 07:21:55 Step 10/22 : RUN ${MAKE} 07:21:55 ---> Running in 6306ad98f0e9 07:21:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:22:14 Removing intermediate container 6306ad98f0e9 07:22:14 ---> d96a0f034224 07:22:14 Step 11/22 : FROM alpine:3.17 07:22:14 3.17: Pulling from library/alpine 07:22:14 63b65145d645: Already exists 07:22:14 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 07:22:14 Status: Downloaded newer image for alpine:3.17 07:22:14 ---> b2aa39c304c2 07:22:14 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:22:14 ---> Running in d8674cd8968e 07:22:14 Removing intermediate container d8674cd8968e 07:22:14 ---> 71e1a86eb20f 07:22:14 Step 13/22 : RUN apk add --update --no-cache dumb-init 07:22:14 ---> Running in b7463203aca0 07:22:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:22:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:22:14 (1/1) Installing dumb-init (1.2.5-r2) 07:22:14 Executing busybox-1.35.0-r29.trigger 07:22:14 OK: 7 MiB in 16 packages 07:22:14 Removing intermediate container b7463203aca0 07:22:14 ---> f5fa137e655a 07:22:14 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 07:22:15 ---> 72096971a68e 07:22:15 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 07:22:15 ---> 12f6452335e1 07:22:15 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:22:15 ---> 9afe32d5d19f 07:22:15 Step 17/22 : EXPOSE 59901 07:22:15 ---> Running in adfce317709d 07:22:15 Removing intermediate container adfce317709d 07:22:15 ---> c9cbf17c1e61 07:22:15 Step 18/22 : ENTRYPOINT ["/device-modbus"] 07:22:15 ---> Running in 4b1caa24e202 07:22:15 Removing intermediate container 4b1caa24e202 07:22:15 ---> 726ef43a9392 07:22:15 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:22:15 ---> Running in 25329bfd08a9 07:22:15 Removing intermediate container 25329bfd08a9 07:22:15 ---> fc05bd2d4952 07:22:15 Step 20/22 : LABEL arch=amd64 07:22:15 ---> Running in 62f661b85aaa 07:22:15 Removing intermediate container 62f661b85aaa 07:22:15 ---> 180bfd2dc180 07:22:15 Step 21/22 : LABEL git_sha=468e7d00dfca1ef06956594c0d89631012aab71a 07:22:15 ---> Running in 79389ab19dfe 07:22:15 Removing intermediate container 79389ab19dfe 07:22:15 ---> 890db9c08800 07:22:15 Step 22/22 : LABEL version=0.0.0 07:22:15 ---> Running in f0436a28d3f3 07:22:16 Removing intermediate container f0436a28d3f3 07:22:16 ---> c9554bd3d173 07:22:16 [Warning] One or more build-args [ARCH] were not consumed 07:22:16 Successfully built c9554bd3d173 07:22:16 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 07:22:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:22:16 07:22:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:22:16 latest: Pulling from edgex-lftools-log-publisher 07:22:16 5eb5b503b376: Pulling fs layer 07:22:16 5c69ac0246d0: Pulling fs layer 07:22:16 ec43610c2a17: Pulling fs layer 07:22:16 3a2ae6a8a46f: Pulling fs layer 07:22:16 33b1e0a273af: Pulling fs layer 07:22:16 5d3b04190fa2: Pulling fs layer 07:22:16 2f39f015ded8: Pulling fs layer 07:22:16 33b1e0a273af: Waiting 07:22:16 5d3b04190fa2: Waiting 07:22:16 2f39f015ded8: Waiting 07:22:16 5c69ac0246d0: Verifying Checksum 07:22:16 5c69ac0246d0: Download complete 07:22:16 3a2ae6a8a46f: Verifying Checksum 07:22:16 3a2ae6a8a46f: Download complete 07:22:17 33b1e0a273af: Verifying Checksum 07:22:17 33b1e0a273af: Download complete 07:22:17 ec43610c2a17: Verifying Checksum 07:22:17 ec43610c2a17: Download complete 07:22:17 5d3b04190fa2: Download complete 07:22:17 5eb5b503b376: Verifying Checksum 07:22:17 5eb5b503b376: Download complete 07:22:17 2f39f015ded8: Verifying Checksum 07:22:17 2f39f015ded8: Download complete 07:22:18 5eb5b503b376: Pull complete 07:22:18 5c69ac0246d0: Pull complete 07:22:18 ec43610c2a17: Pull complete 07:22:18 3a2ae6a8a46f: Pull complete 07:22:19 33b1e0a273af: Pull complete 07:22:19 5d3b04190fa2: Pull complete 07:22:23 2f39f015ded8: Pull complete 07:22:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:22:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:22:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:22:23 prd-ubuntu20.04-docker-8c-8g-4763 does not seem to be running inside a container 07:22:23 $ 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-435 -v /w/workspace/xfoundry_device-modbus-go_PR-435:/w/workspace/xfoundry_device-modbus-go_PR-435:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-435@tmp:/w/workspace/xfoundry_device-modbus-go_PR-435@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:22:24 $ docker top 844195ca8a5b33b339432d85b3770931e8960c97cd3887963ec80839882fb45a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:22:24 ---> job-cost.sh 07:22:24 lf-activate-venv: SKIPPING 07:22:24 INFO: No Stack... 07:22:25 INFO: Retrieving Pricing Info for: v3-standard-8 07:22:25 INFO: Archiving Costs [Pipeline] sh 07:22:26 + cat /w/workspace/xfoundry_device-modbus-go_PR-435/archives/cost.csv 07:22:26 + cut -d, -f6 [Pipeline] lock 07:22:26 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-435-2-stack-cost] 07:22:26 Resource [jenkins-edgexfoundry-device-modbus-go-PR-435-2-stack-cost] did not exist. Created. 07:22:26 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-435-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:22:26 + echo total: 0.2199999988079071 [Pipeline] stash 07:22:26 Stashed 1 file(s) [Pipeline] } 07:22:26 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-435-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:22:26 $ docker stop --time=1 844195ca8a5b33b339432d85b3770931e8960c97cd3887963ec80839882fb45a 07:22:27 $ docker rm -f --volumes 844195ca8a5b33b339432d85b3770931e8960c97cd3887963ec80839882fb45a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:23:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4766 in /w/workspace/xfoundry_device-modbus-go_PR-435 [Pipeline] { [Pipeline] ws 07:23:42 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 07:23:42 Selected Git installation does not exist. Using Default 07:23:42 The recommended git tool is: NONE 07:23:49 using credential edgex-jenkins-ssh 07:23:49 Cloning the remote Git repository 07:23:49 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:23:49 > git init /w/workspace/device-modbus-go/2 # timeout=10 07:23:49 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:23:49 > git --version # timeout=10 07:23:49 > git --version # 'git version 2.25.1' 07:23:49 using GIT_SSH to set credentials SSH Credentials for GitHub 07:23:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:23:50 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:23:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:23:52 Merging remotes/origin/main commit 82ff0da3d76fda56b8be828932abbd4e3fc098e3 into PR head commit 468e7d00dfca1ef06956594c0d89631012aab71a 07:23:52 Merge succeeded, producing 468e7d00dfca1ef06956594c0d89631012aab71a 07:23:52 Checking out Revision 468e7d00dfca1ef06956594c0d89631012aab71a (PR-435) 07:23:51 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:23:51 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:23:51 using GIT_SSH to set credentials SSH Credentials for GitHub 07:23:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/435/head:refs/remotes/origin/PR-435 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:23:52 > git config core.sparsecheckout # timeout=10 07:23:52 > git checkout -f 468e7d00dfca1ef06956594c0d89631012aab71a # timeout=10 07:23:52 > git remote # timeout=10 07:23:52 > git config --get remote.origin.url # timeout=10 07:23:52 using GIT_SSH to set credentials SSH Credentials for GitHub 07:23:52 > git merge 82ff0da3d76fda56b8be828932abbd4e3fc098e3 # timeout=10 07:23:52 > git rev-parse HEAD^{commit} # timeout=10 07:23:52 > git config core.sparsecheckout # timeout=10 07:23:52 > git checkout -f 468e7d00dfca1ef06956594c0d89631012aab71a # timeout=10 07:23:53 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:23:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:23:54 % Total % Received % Xferd Average Speed Time Time Time Current 07:23:54 Dload Upload Total Spent Left Speed 07:23:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 163k 0 --:--:-- --:--:-- --:--:-- 161k [Pipeline] sh 07:23:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:23:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:23:55 + sudo tee /etc/docker/daemon.new 07:23:55 { 07:23:55 "registry-mirrors": [ 07:23:55 "https://nexus3.edgexfoundry.org:10001" 07:23:55 ], 07:23:55 "bip": "10.250.0.254/24", 07:23:55 "hosts": [ 07:23:55 "tcp://0.0.0.0:5555", 07:23:55 "unix:///var/run/docker.sock" 07:23:55 ], 07:23:55 "mtu": 1458, 07:23:55 "selinux-enabled": true, 07:23:55 "seccomp-profile": "/etc/docker/seccomp.json" 07:23:55 } [Pipeline] sh 07:23:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:23:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:24:14 provisioning config files... 07:24:14 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config872597108599861833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:24:14 ---> docker-login.sh 07:24:14 nexus3.edgexfoundry.org:10001 07:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:15 Configure a credential helper to remove this warning. See 07:24:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:15 07:24:15 Login Succeeded 07:24:15 nexus3.edgexfoundry.org:10002 07:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:15 Configure a credential helper to remove this warning. See 07:24:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:15 07:24:15 Login Succeeded 07:24:15 nexus3.edgexfoundry.org:10003 07:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:15 Configure a credential helper to remove this warning. See 07:24:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:15 07:24:15 Login Succeeded 07:24:15 nexus3.edgexfoundry.org:10004 07:24:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:16 Configure a credential helper to remove this warning. See 07:24:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:16 07:24:16 Login Succeeded 07:24:16 docker.io 07:24:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:16 Configure a credential helper to remove this warning. See 07:24:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:16 07:24:16 Login Succeeded 07:24:16 ---> docker-login.sh ends [Pipeline] } 07:24:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:24:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:24:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:24:17 ========================================================= 07:24:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:24:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:17 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:24:17 Sending build context to Docker daemon 3.326MB 07:24:17 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 07:24:17 Step 2/10 : FROM ${BASE} AS builder 07:24:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:24:18 af6eaf76a39c: Pulling fs layer 07:24:18 55522c791124: Pulling fs layer 07:24:18 ce5c4a1c91eb: Pulling fs layer 07:24:18 169dfbe0d373: Pulling fs layer 07:24:18 e1ff8fa3b103: Pulling fs layer 07:24:18 52ebb69f0ebf: Pulling fs layer 07:24:18 169dfbe0d373: Waiting 07:24:18 e1ff8fa3b103: Waiting 07:24:18 52ebb69f0ebf: Waiting 07:24:18 5abe8eddf0d5: Pulling fs layer 07:24:18 5abe8eddf0d5: Waiting 07:24:18 55522c791124: Verifying Checksum 07:24:18 55522c791124: Download complete 07:24:18 169dfbe0d373: Verifying Checksum 07:24:18 169dfbe0d373: Download complete 07:24:18 e1ff8fa3b103: Verifying Checksum 07:24:18 e1ff8fa3b103: Download complete 07:24:18 af6eaf76a39c: Verifying Checksum 07:24:19 af6eaf76a39c: Pull complete 07:24:19 5abe8eddf0d5: Verifying Checksum 07:24:19 5abe8eddf0d5: Download complete 07:24:19 55522c791124: Pull complete 07:24:21 ce5c4a1c91eb: Verifying Checksum 07:24:21 ce5c4a1c91eb: Download complete 07:24:21 52ebb69f0ebf: Verifying Checksum 07:24:21 52ebb69f0ebf: Download complete 07:24:33 ce5c4a1c91eb: Pull complete 07:24:33 169dfbe0d373: Pull complete 07:24:33 e1ff8fa3b103: Pull complete 07:24:42 52ebb69f0ebf: Pull complete 07:24:43 5abe8eddf0d5: Pull complete 07:24:43 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 07:24:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:24:43 ---> 6cb57ee374ae 07:24:43 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:24:45 ---> Running in d8ec7eb36d89 07:24:45 Removing intermediate container d8ec7eb36d89 07:24:45 ---> 1400fae4f4f3 07:24:45 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:24:45 ---> Running in 78c0ec1aeb50 07:24:46 Removing intermediate container 78c0ec1aeb50 07:24:46 ---> 84a42353df29 07:24:46 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:24:46 ---> Running in d93df845d546 07:24:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:24:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:24:49 (1/8) Installing openssh-keygen (9.1_p1-r2) 07:24:49 (2/8) Installing libedit (20221030.3.1-r0) 07:24:49 (3/8) Installing openssh-client-common (9.1_p1-r2) 07:24:49 (4/8) Installing openssh-client-default (9.1_p1-r2) 07:24:49 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 07:24:49 (6/8) Installing openssh-server-common (9.1_p1-r2) 07:24:49 (7/8) Installing openssh-server (9.1_p1-r2) 07:24:49 (8/8) Installing openssh (9.1_p1-r2) 07:24:49 Executing busybox-1.35.0-r29.trigger 07:24:49 OK: 270 MiB in 61 packages 07:24:50 Removing intermediate container d93df845d546 07:24:50 ---> 569bf1dd225b 07:24:50 Step 6/10 : WORKDIR /device-modbus-go 07:24:50 ---> Running in 4e409ff88a53 07:24:51 Removing intermediate container 4e409ff88a53 07:24:51 ---> ede7b08d33e0 07:24:51 Step 7/10 : COPY go.mod vendor* ./ 07:24:51 ---> ea8981b66647 07:24:51 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:24:51 ---> Running in c5ba68b4c864 07:25:59 Removing intermediate container c5ba68b4c864 07:25:59 ---> c866702e17a7 07:25:59 Step 9/10 : COPY . . 07:25:59 ---> 9ae0acb8e0bd 07:25:59 Step 10/10 : RUN ${MAKE} 07:25:59 ---> Running in 71e169b412a4 07:25:59 noop 07:25:59 Removing intermediate container 71e169b412a4 07:25:59 ---> 714a8cc4a0ba 07:25:59 Successfully built 714a8cc4a0ba 07:25:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:00 + docker inspect -f . ci-base-image-arm64 07:26:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:26:00 prd-ubuntu20.04-docker-arm64-4c-16g-4766 does not seem to be running inside a container 07:26:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:26:01 $ docker top 8cc62145e76e86cb728f7e3429f3b66f893f821aea75e50c7bd2653e54209ab0 -eo pid,comm [Pipeline] { [Pipeline] sh 07:26:02 + go version 07:26:02 go version go1.20.2 linux/arm64 [Pipeline] } 07:26:02 $ docker stop --time=1 8cc62145e76e86cb728f7e3429f3b66f893f821aea75e50c7bd2653e54209ab0 07:26:04 $ docker rm -f --volumes 8cc62145e76e86cb728f7e3429f3b66f893f821aea75e50c7bd2653e54209ab0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:04 + docker inspect -f . ci-base-image-arm64 07:26:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:26:05 prd-ubuntu20.04-docker-arm64-4c-16g-4766 does not seem to be running inside a container 07:26:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:26:06 $ docker top a660a67ccd4537f0df29bf93b081fadc33d18202c3d5d99b7e10b6c1af23b238 -eo pid,comm [Pipeline] { [Pipeline] sh 07:26:07 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 07:26:07 + make test 07:26:07 go test ./... -coverprofile=coverage.out 07:26:46 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:28:53 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:28:54 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.070s coverage: 48.0% of statements 07:28:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:28:55 go vet ./... 07:29:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:29:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:29:27 ./bin/test-attribution-txt.sh [Pipeline] echo 07:29:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:29:27 $ docker stop --time=1 a660a67ccd4537f0df29bf93b081fadc33d18202c3d5d99b7e10b6c1af23b238 07:29:32 $ docker rm -f --volumes a660a67ccd4537f0df29bf93b081fadc33d18202c3d5d99b7e10b6c1af23b238 [Pipeline] // withDockerContainer [Pipeline] sh 07:29:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:29:33 Warning: overwriting stash ‘coverage-report’ 07:29:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:29:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:29:34 + ls -al . 07:29:34 total 176 07:29:34 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 07:26 . 07:29:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 07:23 .. 07:29:34 -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 07:23 .dockerignore 07:29:34 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 07:23 .git 07:29:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:23 .github 07:29:34 -rw-rw-r-- 1 jenkins jenkins 331 Mar 21 07:23 .gitignore 07:29:34 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 07:23 .golangci.yml 07:29:34 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 21 07:23 Attribution.txt 07:29:34 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 21 07:23 CHANGELOG.md 07:29:34 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 21 07:23 Dockerfile 07:29:34 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 07:23 GOVERNANCE.md 07:29:34 -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 07:23 Jenkinsfile 07:29:34 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 07:23 LICENSE 07:29:34 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 21 07:23 Makefile 07:29:34 -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 07:23 OWNERS.md 07:29:34 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 21 07:23 README.md 07:29:34 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 07:20 VERSION 07:29:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 07:23 bin 07:29:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:23 cmd 07:29:34 -rw-r--r-- 1 jenkins jenkins 23736 Mar 21 07:28 coverage.out 07:29:34 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 21 07:23 go.mod 07:29:34 -rw-rw-r-- 1 jenkins jenkins 31666 Mar 21 07:23 go.sum 07:29:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:23 internal 07:29:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 07:23 simulator 07:29:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 07:23 snap 07:29:34 -rw-rw-r-- 1 jenkins jenkins 229 Mar 21 07:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:35 + 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=468e7d00dfca1ef06956594c0d89631012aab71a --label arch=arm64 --label version=0.0.0 . 07:29:35 Sending build context to Docker daemon 3.351MB 07:29:35 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 07:29:35 Step 2/22 : FROM ${BASE} AS builder 07:29:35 ---> 714a8cc4a0ba 07:29:35 Step 3/22 : ARG ADD_BUILD_TAGS="" 07:29:35 ---> Running in 6918f8945d60 07:29:35 Removing intermediate container 6918f8945d60 07:29:35 ---> cd86a2bc26a0 07:29:35 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:29:35 ---> Running in 763e9b97e5b4 07:29:36 Removing intermediate container 763e9b97e5b4 07:29:36 ---> 9f88294929bb 07:29:36 Step 5/22 : RUN apk add --update --no-cache make git openssh 07:29:36 ---> Running in b443a0c480b9 07:29:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:29:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:29:39 OK: 270 MiB in 61 packages 07:29:40 Removing intermediate container b443a0c480b9 07:29:40 ---> 203180c706c1 07:29:40 Step 6/22 : WORKDIR /device-modbus-go 07:29:40 ---> Running in 3dd0dccbc327 07:29:40 Removing intermediate container 3dd0dccbc327 07:29:40 ---> 3926ce7d5c69 07:29:40 Step 7/22 : COPY go.mod vendor* ./ 07:29:41 ---> 49419f7bab89 07:29:41 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:29:41 ---> Running in a623fbb4bbbf 07:29:44 Removing intermediate container a623fbb4bbbf 07:29:44 ---> 35f4b673b0ef 07:29:44 Step 9/22 : COPY . . 07:29:45 ---> cbb2b2fab998 07:29:45 Step 10/22 : RUN ${MAKE} 07:29:45 ---> Running in 00107b5b0128 07:29:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:32:24 Removing intermediate container 00107b5b0128 07:32:24 ---> c6e1d6280488 07:32:24 Step 11/22 : FROM alpine:3.17 07:32:24 3.17: Pulling from library/alpine 07:32:24 af6eaf76a39c: Already exists 07:32:24 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 07:32:24 Status: Downloaded newer image for alpine:3.17 07:32:24 ---> d74e625d9115 07:32:24 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:32:24 ---> Running in 84555f5f3cab 07:32:24 Removing intermediate container 84555f5f3cab 07:32:24 ---> 1edb0dd43513 07:32:24 Step 13/22 : RUN apk add --update --no-cache dumb-init 07:32:24 ---> Running in cf46045211fc 07:32:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:32:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:32:24 (1/1) Installing dumb-init (1.2.5-r2) 07:32:24 Executing busybox-1.35.0-r29.trigger 07:32:24 OK: 8 MiB in 16 packages 07:32:24 Removing intermediate container cf46045211fc 07:32:24 ---> 5c2dc3c0a829 07:32:24 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 07:32:24 ---> e07358939b9d 07:32:24 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 07:32:24 ---> ccd316e1df27 07:32:24 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:32:24 ---> 9be90ba59b54 07:32:24 Step 17/22 : EXPOSE 59901 07:32:24 ---> Running in 11886cd864e3 07:32:24 Removing intermediate container 11886cd864e3 07:32:24 ---> 8a309918c6bd 07:32:24 Step 18/22 : ENTRYPOINT ["/device-modbus"] 07:32:24 ---> Running in 244beec2b31f 07:32:24 Removing intermediate container 244beec2b31f 07:32:24 ---> 8f83f58de35a 07:32:24 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:32:24 ---> Running in a5a690fc5ce6 07:32:24 Removing intermediate container a5a690fc5ce6 07:32:24 ---> f1e0128b9003 07:32:24 Step 20/22 : LABEL arch=arm64 07:32:24 ---> Running in aea631b0aaac 07:32:24 Removing intermediate container aea631b0aaac 07:32:24 ---> 3261791649e6 07:32:24 Step 21/22 : LABEL git_sha=468e7d00dfca1ef06956594c0d89631012aab71a 07:32:24 ---> Running in 67496a47fb7d 07:32:24 Removing intermediate container 67496a47fb7d 07:32:24 ---> 58b58f45578c 07:32:24 Step 22/22 : LABEL version=0.0.0 07:32:24 ---> Running in 87dac50c6753 07:32:24 Removing intermediate container 87dac50c6753 07:32:24 ---> 413e75320187 07:32:24 [Warning] One or more build-args [ARCH] were not consumed 07:32:24 Successfully built 413e75320187 07:32:24 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 07:32:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:32:24 07:32:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:32:24 arm64: Pulling from edgex-lftools-log-publisher 07:32:24 8998bd30e6a1: Pulling fs layer 07:32:24 04944245beec: Pulling fs layer 07:32:24 699f458cf7ca: Pulling fs layer 07:32:24 765212b225bb: Pulling fs layer 07:32:24 f23df028b6ca: Pulling fs layer 07:32:24 d65c8cfc05b1: Pulling fs layer 07:32:24 2437ff75d9bd: Pulling fs layer 07:32:24 765212b225bb: Waiting 07:32:24 f23df028b6ca: Waiting 07:32:24 2437ff75d9bd: Waiting 07:32:24 d65c8cfc05b1: Waiting 07:32:25 04944245beec: Verifying Checksum 07:32:25 04944245beec: Download complete 07:32:25 765212b225bb: Download complete 07:32:25 f23df028b6ca: Download complete 07:32:25 d65c8cfc05b1: Verifying Checksum 07:32:25 d65c8cfc05b1: Download complete 07:32:25 699f458cf7ca: Verifying Checksum 07:32:25 699f458cf7ca: Download complete 07:32:25 8998bd30e6a1: Verifying Checksum 07:32:25 8998bd30e6a1: Download complete 07:32:28 2437ff75d9bd: Verifying Checksum 07:32:28 2437ff75d9bd: Download complete 07:32:29 8998bd30e6a1: Pull complete 07:32:30 04944245beec: Pull complete 07:32:31 699f458cf7ca: Pull complete 07:32:31 765212b225bb: Pull complete 07:32:32 f23df028b6ca: Pull complete 07:32:32 d65c8cfc05b1: Pull complete 07:32:47 2437ff75d9bd: Pull complete 07:32:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:32:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:32:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:32:47 prd-ubuntu20.04-docker-arm64-4c-16g-4766 does not seem to be running inside a container 07:32:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:32:50 $ docker top e508dd3dccf83d5989b70a806cedcd61bb072d110c50d52ca770de29ae08062f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:32:50 ---> job-cost.sh 07:32:50 lf-activate-venv: SKIPPING 07:32:50 INFO: No Stack... 07:32:51 INFO: Retrieving Pricing Info for: v3-standard-4 07:32:52 INFO: Archiving Costs [Pipeline] sh 07:32:53 + cut -d, -f6 07:32:53 + cat /w/workspace/device-modbus-go/2/archives/cost.csv [Pipeline] lock 07:32:53 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-435-2-stack-cost] 07:32:53 Resource [jenkins-edgexfoundry-device-modbus-go-PR-435-2-stack-cost] did not exist. Created. 07:32:53 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-435-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:32:53 /w/workspace/device-modbus-go/2@tmp/durable-fa4599aa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:32:54 + echo total: 0.10999999940395355 [Pipeline] stash 07:32:54 Warning: overwriting stash ‘stack-cost’ 07:32:54 Stashed 1 file(s) [Pipeline] } 07:32:54 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-435-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:32:54 $ docker stop --time=1 e508dd3dccf83d5989b70a806cedcd61bb072d110c50d52ca770de29ae08062f 07:32:55 $ docker rm -f --volumes e508dd3dccf83d5989b70a806cedcd61bb072d110c50d52ca770de29ae08062f [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 07:32:56 provisioning config files... 07:32:56 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-435@tmp/config5104912907147413764tmp [Pipeline] { [Pipeline] sh 07:32:56 + set +x 07:32:56 + curl -s https://codecov.io/bash 07:32:56 + bash -s -- 07:32:56 07:32:56 _____ _ 07:32:56 / ____| | | 07:32:56 | | ___ __| | ___ ___ _____ __ 07:32:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:32:56 | |___| (_) | (_| | __/ (_| (_) \ V / 07:32:56 \_____\___/ \__,_|\___|\___\___/ \_/ 07:32:56 Bash-1.0.6 07:32:56 07:32:56 07:32:56 ==> git version 2.25.1 found 07:32:56 ==> 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 07:32:56 Release-Date: 2020-01-08 07:32:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:32:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:32:56 ==> Jenkins CI detected. 07:32:56 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-435 07:32:56 project root: . 07:32:56 --> token set from env 07:32:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:32:56 ==> Running gcov in . (disable via -X gcov) 07:32:56 ==> Python coveragepy not found 07:32:56 ==> Searching for coverage reports in: 07:32:56 + . 07:32:56 -> Found 1 reports 07:32:56 ==> Detecting git/mercurial file structure 07:32:56 ==> Reading reports 07:32:56 + ./coverage.out bytes=23736 07:32:56 ==> Appending adjustments 07:32:56 https://docs.codecov.io/docs/fixing-reports 07:32:56 + Found adjustments 07:32:56 ==> Gzipping contents 07:32:56 4.0K /tmp/codecov.NMi1FX.gz 07:32:56 ==> Uploading reports 07:32:56 url: https://codecov.io 07:32:56 query: branch=PR-435&commit=468e7d00dfca1ef06956594c0d89631012aab71a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-435%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=435&job=&cmd_args= 07:32:56 -> Pinging Codecov 07:32:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-435&commit=468e7d00dfca1ef06956594c0d89631012aab71a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-435%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=435&job=&cmd_args= 07:32:57 -> Uploading to 07:32:57 https://storage.googleapis.com/codecov/v4/raw/2023-03-21/55DBCA73C666E3227836607328DD7E49/468e7d00dfca1ef06956594c0d89631012aab71a/c8d421a3-b0a6-4a56-b766-3f714d18ade5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T073256Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8d0ce0f3cf9a797a55cb4302049033b81ea13cb8654586cd8d16ab22a036df51 07:32:57 % Total % Received % Xferd Average Speed Time Time Time Current 07:32:57 Dload Upload Total Spent Left Speed 07:32:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3909 0 0 100 3909 0 13295 --:--:-- --:--:-- --:--:-- 13295 07:32:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/468e7d00dfca1ef06956594c0d89631012aab71a [Pipeline] } 07:32:57 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 07:32:58 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-435/archives ] 07:32:58 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-435/archives 07:32:58 total 16 07:32:58 drwxr-xr-x 3 root root 4096 Mar 21 07:22 . 07:32:58 drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 07:22 .. 07:32:58 drwxr-xr-x 2 root root 4096 Mar 21 07:22 cost 07:32:58 -rw-r--r-- 1 root root 88 Mar 21 07:22 cost.csv 07:32:58 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-435/archives 07:32:58 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-435/archives 07:32:58 total 16 07:32:58 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 07:22 . 07:32:58 drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 07:22 .. 07:32:58 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 07:22 cost 07:32:58 -rw-r--r-- 1 jenkins jenkins 88 Mar 21 07:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:32:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:32:59 ---> package-listing.sh 07:32:59 ++ facter osfamily 07:32:59 ++ tr '[:upper:]' '[:lower:]' 07:32:59 + OS_FAMILY=debian 07:32:59 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-435 07:32:59 + START_PACKAGES=/tmp/packages_start.txt 07:32:59 + END_PACKAGES=/tmp/packages_end.txt 07:32:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:32:59 + PACKAGES=/tmp/packages_start.txt 07:32:59 + '[' /w/workspace/xfoundry_device-modbus-go_PR-435 ']' 07:32:59 + PACKAGES=/tmp/packages_end.txt 07:32:59 + case "${OS_FAMILY}" in 07:32:59 + dpkg -l 07:32:59 + grep '^ii' 07:32:59 + '[' -f /tmp/packages_start.txt ']' 07:32:59 + '[' -f /tmp/packages_end.txt ']' 07:32:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:32:59 + '[' /w/workspace/xfoundry_device-modbus-go_PR-435 ']' 07:32:59 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-435/archives/ 07:32:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-435/archives/ [Pipeline] echo 07:32:59 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-435/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:32:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:33:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:33:00 prd-ubuntu20.04-docker-8c-8g-4763 does not seem to be running inside a container 07:33:00 $ 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-435/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-435 -v /w/workspace/xfoundry_device-modbus-go_PR-435:/w/workspace/xfoundry_device-modbus-go_PR-435:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-435@tmp:/w/workspace/xfoundry_device-modbus-go_PR-435@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:33:00 $ docker top 75a1c0b1c956c66247de81b2197a3c807879b85fc6ba8d1194636f634064df27 -eo pid,comm [Pipeline] { [Pipeline] sh 07:33:00 + touch /tmp/pre-build-complete [Pipeline] sh 07:33:01 + mkdir -p /var/log/sysstat [Pipeline] sh 07:33:01 + ls /var/log/sa-host 07:33:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:33:01 provisioning config files... 07:33:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-435@tmp/config14959740212604173827tmp [Pipeline] { [Pipeline] echo 07:33:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:33:01 ---> create-netrc.sh [Pipeline] } 07:33:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:33:02 ---> python-tools-install.sh [Pipeline] echo 07:33:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:33:02 ---> sudo-logs.sh 07:33:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:33:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:33:02 ---> job-cost.sh 07:33:02 lf-activate-venv: SKIPPING 07:33:02 DEBUG: total: 0.2199999988079071 07:33:02 INFO: Retrieving Stack Cost... 07:33:03 INFO: Retrieving Pricing Info for: v3-standard-8 07:33:03 INFO: Archiving Costs [Pipeline] echo 07:33:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:33:03 ---> logs-deploy.sh 07:33:03 lf-activate-venv: SKIPPING 07:33:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-435/2 07:33:03 INFO: archiving workspace using pattern(s): 07:33:04 Archives upload complete. 07:33:04 INFO: archiving logs to Nexus