Pull request #452 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0+7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 (ff4f3d8f3596952bf45c240200ce908d739f2a0d) 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-ssh1728813237114128507.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh8300515597453343223.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-452/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-452/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6542815316681523499.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh2493846449400181771.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-452/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-452/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1002384209972559728.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 Running on prd-ubuntu20.04-docker-8c-8g-7643 in /w/workspace/xfoundry_device-modbus-go_PR-452 [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-452 # 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 > 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/452/head:refs/remotes/origin/PR-452 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 into PR head commit 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 Merge succeeded, producing 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 Checking out Revision 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 (PR-452) > git config core.sparsecheckout # timeout=10 > git checkout -f 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 # timeout=10 Commit message: "feat!: Consume SDK interface changes" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk d8efb5639a2b1160a579bc2232ace4dedeb4b665 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-13T02:33:40.478Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-13T02:33:40.534Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-13T02:33:40.552Z] ========================================================= [2023-04-13T02:33:40.552Z] EdgeX Global Pipelines Version Info [2023-04-13T02:33:40.552Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-13T02:33:41.263Z] ------------------- [2023-04-13T02:33:41.263Z] stable info: [2023-04-13T02:33:41.263Z] ------------------- [2023-04-13T02:33:41.263Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-13T02:33:41.263Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-13T02:33:41.263Z] Message: update stable to v1.0.248 [2023-04-13T02:33:41.833Z] ------------------- [2023-04-13T02:33:41.833Z] experimental info: [2023-04-13T02:33:41.833Z] ------------------- [2023-04-13T02:33:41.833Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-13T02:33:41.833Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-13T02:33:41.833Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-13T02:33:41.999Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-04-13T02:33:42.017Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-04-13T02:33:42.028Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-13T02:33:42.041Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-13T02:33:42.052Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-13T02:33:42.064Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-13T02:33:42.079Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-13T02:33:42.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-13T02:33:42.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-13T02:33:42.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-13T02:33:42.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-13T02:33:42.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-04-13T02:33:42.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-13T02:33:42.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-13T02:33:42.176Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-13T02:33:42.188Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-13T02:33:42.200Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-13T02:33:42.213Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-13T02:33:42.223Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-13T02:33:42.234Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-13T02:33:42.245Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-13T02:33:42.257Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-13T02:33:42.270Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-13T02:33:42.283Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-13T02:33:42.296Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-13T02:33:42.307Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-13T02:33:42.318Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-13T02:33:42.329Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-452 [Pipeline] echo [2023-04-13T02:33:42.342Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-452 [Pipeline] echo [2023-04-13T02:33:42.353Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-452 [Pipeline] echo [2023-04-13T02:33:42.364Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 [Pipeline] echo [2023-04-13T02:33:42.377Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7bc7e26 [Pipeline] echo [2023-04-13T02:33:42.388Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T02:33:42.432Z] provisioning config files... [2023-04-13T02:33:42.445Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/config16220867064901505460tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T02:33:42.745Z] ---> docker-login.sh [2023-04-13T02:33:42.745Z] nexus3.edgexfoundry.org:10001 [2023-04-13T02:33:43.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T02:33:43.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T02:33:43.004Z] Configure a credential helper to remove this warning. See [2023-04-13T02:33:43.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T02:33:43.004Z] [2023-04-13T02:33:43.004Z] Login Succeeded [2023-04-13T02:33:43.004Z] nexus3.edgexfoundry.org:10002 [2023-04-13T02:33:43.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T02:33:43.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T02:33:43.265Z] Configure a credential helper to remove this warning. See [2023-04-13T02:33:43.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T02:33:43.265Z] [2023-04-13T02:33:43.265Z] Login Succeeded [2023-04-13T02:33:43.265Z] nexus3.edgexfoundry.org:10003 [2023-04-13T02:33:43.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T02:33:43.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T02:33:43.265Z] Configure a credential helper to remove this warning. See [2023-04-13T02:33:43.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T02:33:43.265Z] [2023-04-13T02:33:43.265Z] Login Succeeded [2023-04-13T02:33:43.265Z] nexus3.edgexfoundry.org:10004 [2023-04-13T02:33:43.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T02:33:43.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T02:33:43.527Z] Configure a credential helper to remove this warning. See [2023-04-13T02:33:43.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T02:33:43.527Z] [2023-04-13T02:33:43.527Z] Login Succeeded [2023-04-13T02:33:43.527Z] docker.io [2023-04-13T02:33:43.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T02:33:43.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T02:33:43.787Z] Configure a credential helper to remove this warning. See [2023-04-13T02:33:43.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T02:33:43.787Z] [2023-04-13T02:33:43.787Z] Login Succeeded [2023-04-13T02:33:43.787Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T02:33:43.795Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-13T02:33:44.174Z] + git rev-list -1 --merges 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0~1..7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 [Pipeline] echo [2023-04-13T02:33:44.219Z] -----------> git rev-list -1 --merges 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0~1..7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 [false] [Pipeline] sh [2023-04-13T02:33:44.508Z] + git log --format=format:%s -1 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 [Pipeline] echo [2023-04-13T02:33:44.523Z] ========================================================= [2023-04-13T02:33:44.523Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-13T02:33:44.523Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-13T02:33:44.858Z] + git log --format=format:%s -1 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 [Pipeline] echo [2023-04-13T02:33:44.867Z] [semverPrep] GIT_COMMIT: 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0, Commit Message: feat!: Consume SDK interface changes [Pipeline] echo [2023-04-13T02:33:44.878Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-13T02:33:45.243Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-13T02:33:45.243Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-13T02:33:45.243Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-13T02:33:45.243Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-13T02:33:45.243Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-13T02:33:45.243Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-13T02:33:45.243Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T02:33:45.652Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T02:33:45.652Z] [2023-04-13T02:33:45.652Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T02:33:45.951Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T02:33:45.951Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-13T02:33:45.951Z] b85a868b505f: Pulling fs layer [2023-04-13T02:33:45.951Z] e2be974225ed: Pulling fs layer [2023-04-13T02:33:45.951Z] 339a4e72a1f5: Pulling fs layer [2023-04-13T02:33:45.952Z] 988bab9f4d93: Pulling fs layer [2023-04-13T02:33:45.952Z] 1469e6f7b9e6: Pulling fs layer [2023-04-13T02:33:45.952Z] eaf3925da568: Pulling fs layer [2023-04-13T02:33:45.952Z] bab4dde63d76: Pulling fs layer [2023-04-13T02:33:45.952Z] bde34c3a00c8: Pulling fs layer [2023-04-13T02:33:45.952Z] b352a97aabf1: Pulling fs layer [2023-04-13T02:33:45.952Z] 4872d77fe225: Pulling fs layer [2023-04-13T02:33:45.952Z] 5851b861e8e6: Pulling fs layer [2023-04-13T02:33:45.952Z] 1469e6f7b9e6: Waiting [2023-04-13T02:33:45.952Z] bab4dde63d76: Waiting [2023-04-13T02:33:45.952Z] eaf3925da568: Waiting [2023-04-13T02:33:45.952Z] bde34c3a00c8: Waiting [2023-04-13T02:33:45.952Z] 988bab9f4d93: Waiting [2023-04-13T02:33:45.952Z] b352a97aabf1: Waiting [2023-04-13T02:33:45.952Z] 4872d77fe225: Waiting [2023-04-13T02:33:45.952Z] 5851b861e8e6: Waiting [2023-04-13T02:33:45.952Z] e2be974225ed: Verifying Checksum [2023-04-13T02:33:45.952Z] e2be974225ed: Download complete [2023-04-13T02:33:45.952Z] 988bab9f4d93: Verifying Checksum [2023-04-13T02:33:45.952Z] 988bab9f4d93: Download complete [2023-04-13T02:33:45.952Z] 339a4e72a1f5: Verifying Checksum [2023-04-13T02:33:45.952Z] 339a4e72a1f5: Download complete [2023-04-13T02:33:45.952Z] 1469e6f7b9e6: Verifying Checksum [2023-04-13T02:33:45.952Z] 1469e6f7b9e6: Download complete [2023-04-13T02:33:46.210Z] eaf3925da568: Verifying Checksum [2023-04-13T02:33:46.210Z] eaf3925da568: Download complete [2023-04-13T02:33:46.210Z] bde34c3a00c8: Verifying Checksum [2023-04-13T02:33:46.210Z] bde34c3a00c8: Download complete [2023-04-13T02:33:46.210Z] b352a97aabf1: Verifying Checksum [2023-04-13T02:33:46.210Z] b352a97aabf1: Download complete [2023-04-13T02:33:46.210Z] 4872d77fe225: Verifying Checksum [2023-04-13T02:33:46.210Z] 4872d77fe225: Download complete [2023-04-13T02:33:46.210Z] 5851b861e8e6: Verifying Checksum [2023-04-13T02:33:46.210Z] 5851b861e8e6: Download complete [2023-04-13T02:33:46.210Z] b85a868b505f: Download complete [2023-04-13T02:33:46.469Z] bab4dde63d76: Verifying Checksum [2023-04-13T02:33:46.469Z] bab4dde63d76: Download complete [2023-04-13T02:33:47.408Z] b85a868b505f: Pull complete [2023-04-13T02:33:47.408Z] e2be974225ed: Pull complete [2023-04-13T02:33:47.976Z] 339a4e72a1f5: Pull complete [2023-04-13T02:33:47.976Z] 988bab9f4d93: Pull complete [2023-04-13T02:33:48.235Z] 1469e6f7b9e6: Pull complete [2023-04-13T02:33:48.235Z] eaf3925da568: Pull complete [2023-04-13T02:33:50.141Z] bab4dde63d76: Pull complete [2023-04-13T02:33:50.141Z] bde34c3a00c8: Pull complete [2023-04-13T02:33:50.141Z] b352a97aabf1: Pull complete [2023-04-13T02:33:50.141Z] 4872d77fe225: Pull complete [2023-04-13T02:33:50.141Z] 5851b861e8e6: Pull complete [2023-04-13T02:33:50.141Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-13T02:33:50.141Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T02:33:50.141Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T02:33:50.229Z] prd-ubuntu20.04-docker-8c-8g-7643 does not seem to be running inside a container [2023-04-13T02:33:50.305Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-452 -v /w/workspace/xfoundry_device-modbus-go_PR-452:/w/workspace/xfoundry_device-modbus-go_PR-452:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-452@tmp:/w/workspace/xfoundry_device-modbus-go_PR-452@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-devops/py-git-semver:0.1.4 cat [2023-04-13T02:33:53.591Z] $ docker top bd4f17711921df5b42b1d722329d671e4e01734f479a13344d4204b9a54f60b6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-13T02:33:53.690Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T02:33:53.690Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T02:33:53.799Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T02:33:53.794Z] $ docker exec bd4f17711921df5b42b1d722329d671e4e01734f479a13344d4204b9a54f60b6 ssh-agent [2023-04-13T02:33:53.902Z] SSH_AUTH_SOCK=/tmp/ssh-f6TgtFk6mRF4/agent.32 [2023-04-13T02:33:53.902Z] SSH_AGENT_PID=38 [2023-04-13T02:33:53.908Z] Running ssh-add (command line suppressed) [2023-04-13T02:33:54.003Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-452@tmp/private_key_6661144813551516245.key (/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/private_key_6661144813551516245.key) [2023-04-13T02:33:54.024Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T02:33:54.312Z] + git tag --points-at HEAD [Pipeline] } [2023-04-13T02:33:54.314Z] $ docker exec --env ******** --env ******** bd4f17711921df5b42b1d722329d671e4e01734f479a13344d4204b9a54f60b6 ssh-agent -k [2023-04-13T02:33:54.411Z] unset SSH_AUTH_SOCK; [2023-04-13T02:33:54.412Z] unset SSH_AGENT_PID; [2023-04-13T02:33:54.412Z] echo Agent pid 38 killed; [2023-04-13T02:33:54.428Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-13T02:33:54.451Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T02:33:54.451Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T02:33:54.566Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T02:33:54.561Z] $ docker exec bd4f17711921df5b42b1d722329d671e4e01734f479a13344d4204b9a54f60b6 ssh-agent [2023-04-13T02:33:54.677Z] SSH_AUTH_SOCK=/tmp/ssh-fzx2lA82sxnP/agent.70 [2023-04-13T02:33:54.677Z] SSH_AGENT_PID=77 [2023-04-13T02:33:54.681Z] Running ssh-add (command line suppressed) [2023-04-13T02:33:54.775Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-452@tmp/private_key_15650021518183286979.key (/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/private_key_15650021518183286979.key) [2023-04-13T02:33:54.797Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T02:33:55.098Z] + git semver init [2023-04-13T02:33:55.358Z] 2023-04-13 02:33:55,253 [run_init] DEBUG init version:0.0.0 force:False [2023-04-13T02:33:55.358Z] 2023-04-13 02:33:55,254 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-452/.semver [2023-04-13T02:33:55.358Z] 2023-04-13 02:33:55,255 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-452/.semver [2023-04-13T02:33:55.358Z] 2023-04-13 02:33:55,255 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-452/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-452, universal_newlines=False, shell=None, istream=None) [2023-04-13T02:33:56.297Z] 2023-04-13 02:33:56,025 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-452/.git/info/exclude [2023-04-13T02:33:56.297Z] 2023-04-13 02:33:56,026 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-452/.semver/PR-452 with force:False [2023-04-13T02:33:56.297Z] 2023-04-13 02:33:56,026 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-452/.semver/PR-452 [2023-04-13T02:33:56.297Z] 2023-04-13 02:33:56,028 [execute] INFO git cat-file --batch-check [2023-04-13T02:33:56.297Z] 2023-04-13 02:33:56,029 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-452/.semver, universal_newlines=False, shell=None, istream=) [2023-04-13T02:33:56.297Z] 2023-04-13 02:33:56,034 [execute] INFO git cat-file --batch [2023-04-13T02:33:56.297Z] 2023-04-13 02:33:56,034 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-452/.semver, universal_newlines=False, shell=None, istream=) [2023-04-13T02:33:56.297Z] 2023-04-13 02:33:56,039 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-452/.semver/PR-452 [2023-04-13T02:33:56.297Z] 0.0.0 [Pipeline] } [2023-04-13T02:33:56.298Z] $ docker exec --env ******** --env ******** bd4f17711921df5b42b1d722329d671e4e01734f479a13344d4204b9a54f60b6 ssh-agent -k [2023-04-13T02:33:56.401Z] unset SSH_AUTH_SOCK; [2023-04-13T02:33:56.401Z] unset SSH_AGENT_PID; [2023-04-13T02:33:56.401Z] echo Agent pid 77 killed; [2023-04-13T02:33:56.419Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-13T02:33:56.732Z] + git semver [Pipeline] } [2023-04-13T02:33:56.996Z] $ docker stop --time=1 bd4f17711921df5b42b1d722329d671e4e01734f479a13344d4204b9a54f60b6 [2023-04-13T02:33:58.269Z] $ docker rm -f --volumes bd4f17711921df5b42b1d722329d671e4e01734f479a13344d4204b9a54f60b6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T02:33:58.613Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-13T02:33:58.817Z] Stashed 1 file(s) [Pipeline] echo [2023-04-13T02:33:58.820Z] [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 [2023-04-13T02:33:58.935Z] provisioning config files... [2023-04-13T02:33:58.946Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/config16672823431097649067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T02:33:59.238Z] ---> docker-login.sh [2023-04-13T02:33:59.238Z] nexus3.edgexfoundry.org:10001 [2023-04-13T02:33:59.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T02:33:59.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T02:33:59.238Z] Configure a credential helper to remove this warning. See [2023-04-13T02:33:59.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T02:33:59.238Z] [2023-04-13T02:33:59.238Z] Login Succeeded [2023-04-13T02:33:59.238Z] nexus3.edgexfoundry.org:10002 [2023-04-13T02:33:59.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T02:33:59.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T02:33:59.499Z] Configure a credential helper to remove this warning. See [2023-04-13T02:33:59.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T02:33:59.499Z] [2023-04-13T02:33:59.499Z] Login Succeeded [2023-04-13T02:33:59.499Z] nexus3.edgexfoundry.org:10003 [2023-04-13T02:33:59.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T02:33:59.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T02:33:59.499Z] Configure a credential helper to remove this warning. See [2023-04-13T02:33:59.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T02:33:59.499Z] [2023-04-13T02:33:59.499Z] Login Succeeded [2023-04-13T02:33:59.499Z] nexus3.edgexfoundry.org:10004 [2023-04-13T02:33:59.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T02:33:59.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T02:33:59.759Z] Configure a credential helper to remove this warning. See [2023-04-13T02:33:59.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T02:33:59.759Z] [2023-04-13T02:33:59.759Z] Login Succeeded [2023-04-13T02:33:59.759Z] docker.io [2023-04-13T02:33:59.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T02:34:00.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T02:34:00.020Z] Configure a credential helper to remove this warning. See [2023-04-13T02:34:00.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T02:34:00.020Z] [2023-04-13T02:34:00.020Z] Login Succeeded [2023-04-13T02:34:00.020Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T02:34:00.027Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-13T02:34:00.090Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T02:34:00.099Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T02:34:00.105Z] ========================================================= [2023-04-13T02:34:00.105Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-13T02:34:00.105Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T02:34:00.406Z] + 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 . [2023-04-13T02:34:00.406Z] Sending build context to Docker daemon 6.457MB [2023-04-13T02:34:00.406Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T02:34:00.406Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-13T02:34:00.665Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-13T02:34:00.665Z] 63b65145d645: Pulling fs layer [2023-04-13T02:34:00.665Z] a2d21d5440eb: Pulling fs layer [2023-04-13T02:34:00.665Z] 935e6c44a52c: Pulling fs layer [2023-04-13T02:34:00.665Z] 94cc34f8dd06: Pulling fs layer [2023-04-13T02:34:00.665Z] 30dea6a524f1: Pulling fs layer [2023-04-13T02:34:00.665Z] a2aff8979fd8: Pulling fs layer [2023-04-13T02:34:00.665Z] 6808be2612f2: Pulling fs layer [2023-04-13T02:34:00.665Z] f25807f1079a: Pulling fs layer [2023-04-13T02:34:00.665Z] 94cc34f8dd06: Waiting [2023-04-13T02:34:00.665Z] 30dea6a524f1: Waiting [2023-04-13T02:34:00.665Z] a2aff8979fd8: Waiting [2023-04-13T02:34:00.665Z] 6808be2612f2: Waiting [2023-04-13T02:34:00.665Z] f25807f1079a: Waiting [2023-04-13T02:34:00.665Z] a2d21d5440eb: Download complete [2023-04-13T02:34:00.665Z] 94cc34f8dd06: Download complete [2023-04-13T02:34:00.665Z] 30dea6a524f1: Download complete [2023-04-13T02:34:00.665Z] 63b65145d645: Verifying Checksum [2023-04-13T02:34:00.665Z] 63b65145d645: Download complete [2023-04-13T02:34:00.665Z] a2aff8979fd8: Verifying Checksum [2023-04-13T02:34:00.665Z] a2aff8979fd8: Download complete [2023-04-13T02:34:00.925Z] 63b65145d645: Pull complete [2023-04-13T02:34:01.188Z] a2d21d5440eb: Pull complete [2023-04-13T02:34:01.188Z] f25807f1079a: Download complete [2023-04-13T02:34:01.446Z] 935e6c44a52c: Verifying Checksum [2023-04-13T02:34:01.446Z] 935e6c44a52c: Download complete [2023-04-13T02:34:01.446Z] 6808be2612f2: Verifying Checksum [2023-04-13T02:34:01.446Z] 6808be2612f2: Download complete [2023-04-13T02:34:05.672Z] 935e6c44a52c: Pull complete [2023-04-13T02:34:05.672Z] 94cc34f8dd06: Pull complete [2023-04-13T02:34:05.672Z] 30dea6a524f1: Pull complete [2023-04-13T02:34:05.672Z] a2aff8979fd8: Pull complete [2023-04-13T02:34:08.207Z] 6808be2612f2: Pull complete [2023-04-13T02:34:09.142Z] f25807f1079a: Pull complete [2023-04-13T02:34:09.142Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-13T02:34:09.142Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-13T02:34:09.142Z] ---> 3b553350e43f [2023-04-13T02:34:09.142Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-04-13T02:34:13.894Z] Still waiting to schedule task [2023-04-13T02:34:13.894Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-13T02:34:19.196Z] ---> Running in a3ba9a84a95b [2023-04-13T02:34:19.196Z] Removing intermediate container a3ba9a84a95b [2023-04-13T02:34:19.196Z] ---> 95738367e4ac [2023-04-13T02:34:19.196Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T02:34:19.196Z] ---> Running in c1741690b8c9 [2023-04-13T02:34:19.196Z] Removing intermediate container c1741690b8c9 [2023-04-13T02:34:19.196Z] ---> ac2a7127db9c [2023-04-13T02:34:19.196Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-04-13T02:34:19.196Z] ---> Running in 076c96d9d1e0 [2023-04-13T02:34:19.196Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-13T02:34:19.196Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-13T02:34:19.196Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-04-13T02:34:19.196Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-04-13T02:34:19.196Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-04-13T02:34:19.455Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-04-13T02:34:19.455Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-04-13T02:34:19.455Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-04-13T02:34:19.455Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-04-13T02:34:19.455Z] (8/8) Installing openssh (9.1_p1-r2) [2023-04-13T02:34:19.455Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T02:34:19.455Z] OK: 270 MiB in 61 packages [2023-04-13T02:34:20.392Z] Removing intermediate container 076c96d9d1e0 [2023-04-13T02:34:20.392Z] ---> 697d5a6c6353 [2023-04-13T02:34:20.392Z] Step 6/10 : WORKDIR /device-modbus-go [2023-04-13T02:34:20.392Z] ---> Running in 767944f574a5 [2023-04-13T02:34:20.392Z] Removing intermediate container 767944f574a5 [2023-04-13T02:34:20.392Z] ---> 84f7a40b6178 [2023-04-13T02:34:20.392Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-13T02:34:20.652Z] ---> a9a4c155c0e2 [2023-04-13T02:34:20.652Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T02:34:20.652Z] ---> Running in b6f4a788b513 [2023-04-13T02:35:07.357Z] Removing intermediate container b6f4a788b513 [2023-04-13T02:35:07.357Z] ---> ed218af6703d [2023-04-13T02:35:07.357Z] Step 9/10 : COPY . . [2023-04-13T02:35:07.357Z] ---> 7a7e00dd3318 [2023-04-13T02:35:07.357Z] Step 10/10 : RUN ${MAKE} [2023-04-13T02:35:07.357Z] ---> Running in 52067075e750 [2023-04-13T02:35:07.357Z] noop [2023-04-13T02:35:07.357Z] Removing intermediate container 52067075e750 [2023-04-13T02:35:07.357Z] ---> af86588a770c [2023-04-13T02:35:07.357Z] Successfully built af86588a770c [2023-04-13T02:35:07.357Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T02:35:07.662Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-13T02:35:07.662Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T02:35:07.731Z] prd-ubuntu20.04-docker-8c-8g-7643 does not seem to be running inside a container [2023-04-13T02:35:07.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-452 -v /w/workspace/xfoundry_device-modbus-go_PR-452:/w/workspace/xfoundry_device-modbus-go_PR-452:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-452@tmp:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-13T02:35:08.136Z] $ docker top 3b6dba64e720676a094cf325f5629d6381a30af6950ddb5a4a67e76398bb7905 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T02:35:08.487Z] + go version [2023-04-13T02:35:08.488Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-13T02:35:08.489Z] $ docker stop --time=1 3b6dba64e720676a094cf325f5629d6381a30af6950ddb5a4a67e76398bb7905 [2023-04-13T02:35:09.732Z] $ docker rm -f --volumes 3b6dba64e720676a094cf325f5629d6381a30af6950ddb5a4a67e76398bb7905 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T02:35:10.126Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-13T02:35:10.126Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T02:35:10.197Z] prd-ubuntu20.04-docker-8c-8g-7643 does not seem to be running inside a container [2023-04-13T02:35:10.218Z] $ 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-452 -v /w/workspace/xfoundry_device-modbus-go_PR-452:/w/workspace/xfoundry_device-modbus-go_PR-452:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-452@tmp:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-13T02:35:10.576Z] $ docker top 8aa0594114a9e1516c1ba27a96dd1addaee56b064fcbf8e9531102b164e08e3d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T02:35:10.938Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-452 [Pipeline] fileExists [Pipeline] sh [2023-04-13T02:35:11.231Z] + make test [2023-04-13T02:35:11.231Z] go test ./... -coverprofile=coverage.out [2023-04-13T02:35:16.502Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-04-13T02:35:26.463Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-04-13T02:35:26.463Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.5% of statements [2023-04-13T02:35:33.011Z] go vet ./... [2023-04-13T02:35:36.290Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-13T02:35:36.290Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-13T02:35:36.290Z] ./bin/test-attribution-txt.sh [2023-04-13T02:35:36.290Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-13T02:35:36.303Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-13T02:35:36.309Z] $ docker stop --time=1 8aa0594114a9e1516c1ba27a96dd1addaee56b064fcbf8e9531102b164e08e3d [2023-04-13T02:35:39.453Z] $ docker rm -f --volumes 8aa0594114a9e1516c1ba27a96dd1addaee56b064fcbf8e9531102b164e08e3d [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T02:35:39.920Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-13T02:35:39.970Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-13T02:35:40.510Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-13T02:35:40.796Z] + ls -al . [2023-04-13T02:35:40.796Z] total 180 [2023-04-13T02:35:40.796Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 02:35 . [2023-04-13T02:35:40.796Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 02:33 .. [2023-04-13T02:35:40.796Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 02:33 .dockerignore [2023-04-13T02:35:40.796Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 02:33 .git [2023-04-13T02:35:40.796Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 02:33 .github [2023-04-13T02:35:40.796Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 13 02:33 .gitignore [2023-04-13T02:35:40.796Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 02:33 .golangci.yml [2023-04-13T02:35:40.796Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 02:33 .semver [2023-04-13T02:35:40.796Z] -rw-rw-r-- 1 jenkins jenkins 10004 Apr 13 02:33 Attribution.txt [2023-04-13T02:35:40.796Z] -rw-rw-r-- 1 jenkins jenkins 11576 Apr 13 02:33 CHANGELOG.md [2023-04-13T02:35:40.796Z] -rw-rw-r-- 1 jenkins jenkins 1365 Apr 13 02:33 Dockerfile [2023-04-13T02:35:40.796Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 02:33 GOVERNANCE.md [2023-04-13T02:35:40.796Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 02:33 Jenkinsfile [2023-04-13T02:35:40.796Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 02:33 LICENSE [2023-04-13T02:35:40.796Z] -rw-rw-r-- 1 jenkins jenkins 1705 Apr 13 02:33 Makefile [2023-04-13T02:35:40.796Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 13 02:33 OWNERS.md [2023-04-13T02:35:40.796Z] -rw-rw-r-- 1 jenkins jenkins 4045 Apr 13 02:33 README.md [2023-04-13T02:35:40.796Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 02:33 VERSION [2023-04-13T02:35:40.796Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 02:33 bin [2023-04-13T02:35:40.796Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 02:33 cmd [2023-04-13T02:35:40.796Z] -rw-r--r-- 1 jenkins jenkins 24076 Apr 13 02:35 coverage.out [2023-04-13T02:35:40.796Z] -rw-rw-r-- 1 jenkins jenkins 3453 Apr 13 02:33 go.mod [2023-04-13T02:35:40.796Z] -rw-rw-r-- 1 jenkins jenkins 31895 Apr 13 02:33 go.sum [2023-04-13T02:35:40.796Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 02:33 internal [2023-04-13T02:35:40.796Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 02:33 simulator [2023-04-13T02:35:40.796Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 02:33 snap [2023-04-13T02:35:40.796Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 13 02:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T02:35:41.099Z] + 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=7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 --label arch=amd64 --label version=0.0.0 . [2023-04-13T02:35:41.099Z] Sending build context to Docker daemon 6.482MB [2023-04-13T02:35:41.099Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T02:35:41.099Z] Step 2/22 : FROM ${BASE} AS builder [2023-04-13T02:35:41.099Z] ---> af86588a770c [2023-04-13T02:35:41.100Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-04-13T02:35:41.358Z] ---> Running in 0ddcde1462f7 [2023-04-13T02:35:41.358Z] Removing intermediate container 0ddcde1462f7 [2023-04-13T02:35:41.358Z] ---> 2943b7802cb3 [2023-04-13T02:35:41.358Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T02:35:41.617Z] ---> Running in f519ccf0da7d [2023-04-13T02:35:41.617Z] Removing intermediate container f519ccf0da7d [2023-04-13T02:35:41.617Z] ---> 9d4cc473d07b [2023-04-13T02:35:41.617Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-04-13T02:35:41.617Z] ---> Running in d0d24f4b41b8 [2023-04-13T02:35:41.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-13T02:35:42.135Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-13T02:35:42.393Z] OK: 270 MiB in 61 packages [2023-04-13T02:35:42.653Z] Removing intermediate container d0d24f4b41b8 [2023-04-13T02:35:42.653Z] ---> 2578f2d7c963 [2023-04-13T02:35:42.653Z] Step 6/22 : WORKDIR /device-modbus-go [2023-04-13T02:35:42.653Z] ---> Running in 8257fbf0240d [2023-04-13T02:35:42.911Z] Removing intermediate container 8257fbf0240d [2023-04-13T02:35:42.911Z] ---> ede855999bb2 [2023-04-13T02:35:42.911Z] Step 7/22 : COPY go.mod vendor* ./ [2023-04-13T02:35:42.911Z] ---> e630229efd18 [2023-04-13T02:35:42.911Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T02:35:42.911Z] ---> Running in c755254ecb16 [2023-04-13T02:35:43.914Z] Removing intermediate container c755254ecb16 [2023-04-13T02:35:43.914Z] ---> e70c3f6d38e9 [2023-04-13T02:35:43.914Z] Step 9/22 : COPY . . [2023-04-13T02:35:44.173Z] ---> 299128844316 [2023-04-13T02:35:44.173Z] Step 10/22 : RUN ${MAKE} [2023-04-13T02:35:44.173Z] ---> Running in 2a63d3686e2f [2023-04-13T02:35:44.432Z] 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 [2023-04-13T02:36:06.354Z] Removing intermediate container 2a63d3686e2f [2023-04-13T02:36:06.354Z] ---> 9f7372a74753 [2023-04-13T02:36:06.354Z] Step 11/22 : FROM alpine:3.17 [2023-04-13T02:36:06.613Z] 3.17: Pulling from library/alpine [2023-04-13T02:36:06.871Z] f56be85fc22e: Pulling fs layer [2023-04-13T02:36:06.871Z] f56be85fc22e: Download complete [2023-04-13T02:36:07.129Z] f56be85fc22e: Pull complete [2023-04-13T02:36:07.129Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-13T02:36:07.129Z] Status: Downloaded newer image for alpine:3.17 [2023-04-13T02:36:07.129Z] ---> 9ed4aefc74f6 [2023-04-13T02:36:07.129Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-04-13T02:36:07.129Z] ---> Running in ac85e50b77c3 [2023-04-13T02:36:07.386Z] Removing intermediate container ac85e50b77c3 [2023-04-13T02:36:07.387Z] ---> d6fb9d4b44ce [2023-04-13T02:36:07.387Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-04-13T02:36:07.387Z] ---> Running in 4b5da9dba9fa [2023-04-13T02:36:07.645Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-13T02:36:07.645Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-13T02:36:07.906Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-13T02:36:07.906Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T02:36:07.906Z] OK: 7 MiB in 16 packages [2023-04-13T02:36:08.474Z] Removing intermediate container 4b5da9dba9fa [2023-04-13T02:36:08.474Z] ---> 0ea5825aafed [2023-04-13T02:36:08.474Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-04-13T02:36:09.410Z] ---> 2dd24388fa77 [2023-04-13T02:36:09.410Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-04-13T02:36:09.667Z] ---> 33c47d24f2c3 [2023-04-13T02:36:09.667Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-04-13T02:36:09.667Z] ---> a99eef500bce [2023-04-13T02:36:09.667Z] Step 17/22 : EXPOSE 59901 [2023-04-13T02:36:09.667Z] ---> Running in 66aa4a9da9a9 [2023-04-13T02:36:09.925Z] Removing intermediate container 66aa4a9da9a9 [2023-04-13T02:36:09.925Z] ---> 87c47c2b13a1 [2023-04-13T02:36:09.925Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-04-13T02:36:09.925Z] ---> Running in b07cf7cd633a [2023-04-13T02:36:09.925Z] Removing intermediate container b07cf7cd633a [2023-04-13T02:36:09.925Z] ---> 98fda4ba25df [2023-04-13T02:36:09.925Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-13T02:36:09.925Z] ---> Running in c35eb1d76d78 [2023-04-13T02:36:10.183Z] Removing intermediate container c35eb1d76d78 [2023-04-13T02:36:10.183Z] ---> a7a7006e5e9c [2023-04-13T02:36:10.183Z] Step 20/22 : LABEL arch=amd64 [2023-04-13T02:36:10.183Z] ---> Running in accd5c387e14 [2023-04-13T02:36:10.183Z] Removing intermediate container accd5c387e14 [2023-04-13T02:36:10.183Z] ---> b282b8e6e7e1 [2023-04-13T02:36:10.183Z] Step 21/22 : LABEL git_sha=7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 [2023-04-13T02:36:10.183Z] ---> Running in 2917e26ed104 [2023-04-13T02:36:10.183Z] Removing intermediate container 2917e26ed104 [2023-04-13T02:36:10.183Z] ---> 4bb95fdef056 [2023-04-13T02:36:10.183Z] Step 22/22 : LABEL version=0.0.0 [2023-04-13T02:36:10.442Z] ---> Running in fd1633fdedc7 [2023-04-13T02:36:10.442Z] Removing intermediate container fd1633fdedc7 [2023-04-13T02:36:10.442Z] ---> 4304d3b75850 [2023-04-13T02:36:10.442Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-13T02:36:10.442Z] Successfully built 4304d3b75850 [2023-04-13T02:36:10.442Z] 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 [2023-04-13T02:36:10.848Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T02:36:10.849Z] [2023-04-13T02:36:10.849Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T02:36:11.145Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T02:36:11.145Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-13T02:36:11.145Z] 5eb5b503b376: Pulling fs layer [2023-04-13T02:36:11.145Z] 5c69ac0246d0: Pulling fs layer [2023-04-13T02:36:11.145Z] ec43610c2a17: Pulling fs layer [2023-04-13T02:36:11.145Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-13T02:36:11.145Z] 33b1e0a273af: Pulling fs layer [2023-04-13T02:36:11.145Z] 5d3b04190fa2: Pulling fs layer [2023-04-13T02:36:11.145Z] 2f39f015ded8: Pulling fs layer [2023-04-13T02:36:11.145Z] 3a2ae6a8a46f: Waiting [2023-04-13T02:36:11.145Z] 33b1e0a273af: Waiting [2023-04-13T02:36:11.145Z] 5d3b04190fa2: Waiting [2023-04-13T02:36:11.145Z] 2f39f015ded8: Waiting [2023-04-13T02:36:11.145Z] 5c69ac0246d0: Download complete [2023-04-13T02:36:11.145Z] 3a2ae6a8a46f: Download complete [2023-04-13T02:36:11.145Z] 33b1e0a273af: Verifying Checksum [2023-04-13T02:36:11.145Z] 33b1e0a273af: Download complete [2023-04-13T02:36:11.145Z] 5d3b04190fa2: Download complete [2023-04-13T02:36:11.145Z] ec43610c2a17: Download complete [2023-04-13T02:36:11.404Z] 5eb5b503b376: Verifying Checksum [2023-04-13T02:36:11.404Z] 5eb5b503b376: Download complete [2023-04-13T02:36:11.971Z] 2f39f015ded8: Download complete [2023-04-13T02:36:12.535Z] 5eb5b503b376: Pull complete [2023-04-13T02:36:13.101Z] 5c69ac0246d0: Pull complete [2023-04-13T02:36:14.476Z] ec43610c2a17: Pull complete [2023-04-13T02:36:14.476Z] 3a2ae6a8a46f: Pull complete [2023-04-13T02:36:14.476Z] 33b1e0a273af: Pull complete [2023-04-13T02:36:14.734Z] 5d3b04190fa2: Pull complete [2023-04-13T02:36:20.000Z] 2f39f015ded8: Pull complete [2023-04-13T02:36:20.000Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-13T02:36:20.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T02:36:20.000Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T02:36:20.082Z] prd-ubuntu20.04-docker-8c-8g-7643 does not seem to be running inside a container [2023-04-13T02:36:20.102Z] $ 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-452 -v /w/workspace/xfoundry_device-modbus-go_PR-452:/w/workspace/xfoundry_device-modbus-go_PR-452:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-452@tmp:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-13T02:36:28.951Z] $ docker top 1f924a81500588deb025bf0c174c1492681f60fbd7b4c4c94c96bd8857d8f780 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T02:36:29.343Z] ---> job-cost.sh [2023-04-13T02:36:29.343Z] lf-activate-venv: SKIPPING [2023-04-13T02:36:29.343Z] INFO: No Stack... [2023-04-13T02:36:29.923Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-13T02:36:30.183Z] INFO: Archiving Costs [Pipeline] sh [2023-04-13T02:36:30.469Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-452/archives/cost.csv [2023-04-13T02:36:30.469Z] + cut -d, -f6 [Pipeline] lock [2023-04-13T02:36:30.479Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-452-2-stack-cost] [2023-04-13T02:36:30.485Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-452-2-stack-cost] did not exist. Created. [2023-04-13T02:36:30.486Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-452-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-13T02:36:30.792Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-13T02:36:30.822Z] Stashed 1 file(s) [Pipeline] } [2023-04-13T02:36:30.828Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-452-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-13T02:36:30.834Z] $ docker stop --time=1 1f924a81500588deb025bf0c174c1492681f60fbd7b4c4c94c96bd8857d8f780 [2023-04-13T02:36:31.985Z] $ docker rm -f --volumes 1f924a81500588deb025bf0c174c1492681f60fbd7b4c4c94c96bd8857d8f780 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-13T02:57:33.539Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8371 in /w/workspace/xfoundry_device-modbus-go_PR-452 [Pipeline] { [Pipeline] ws [2023-04-13T02:57:33.550Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2023-04-13T02:57:33.618Z] Selected Git installation does not exist. Using Default [2023-04-13T02:57:33.618Z] The recommended git tool is: NONE [2023-04-13T02:57:46.094Z] using credential edgex-jenkins-ssh [2023-04-13T02:57:46.118Z] Cloning the remote Git repository [2023-04-13T02:57:46.197Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-04-13T02:57:46.351Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2023-04-13T02:57:46.606Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-04-13T02:57:46.608Z] > git --version # timeout=10 [2023-04-13T02:57:46.652Z] > git --version # 'git version 2.25.1' [2023-04-13T02:57:46.657Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-13T02:57:46.909Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-13T02:57:48.535Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-04-13T02:57:48.581Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-13T02:57:50.267Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-04-13T02:57:50.375Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-04-13T02:57:50.376Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-13T02:57:50.404Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/452/head:refs/remotes/origin/PR-452 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-13T02:57:51.041Z] Merging remotes/origin/main commit 7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 into PR head commit 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-13T02:57:51.335Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-13T02:57:52.012Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-452/archives ] [2023-04-13T02:57:52.012Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-452/archives [2023-04-13T02:57:52.012Z] total 16 [2023-04-13T02:57:52.012Z] drwxr-xr-x 3 root root 4096 Apr 13 02:36 . [2023-04-13T02:57:52.012Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 02:36 .. [2023-04-13T02:57:52.012Z] drwxr-xr-x 2 root root 4096 Apr 13 02:36 cost [2023-04-13T02:57:52.012Z] -rw-r--r-- 1 root root 89 Apr 13 02:36 cost.csv [2023-04-13T02:57:52.012Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-452/archives [2023-04-13T02:57:52.012Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-452/archives [2023-04-13T02:57:52.012Z] total 16 [2023-04-13T02:57:52.012Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 02:36 . [2023-04-13T02:57:52.012Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 02:36 .. [2023-04-13T02:57:52.012Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 02:36 cost [2023-04-13T02:57:52.012Z] -rw-r--r-- 1 jenkins jenkins 89 Apr 13 02:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-13T02:57:52.302Z] ---> sysstat.sh [2023-04-13T02:57:51.074Z] > git config core.sparsecheckout # timeout=10 [2023-04-13T02:57:51.192Z] > git checkout -f 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 # timeout=10 [Pipeline] libraryResource [Pipeline] sh [2023-04-13T02:57:53.165Z] ---> package-listing.sh [2023-04-13T02:57:53.165Z] ++ facter osfamily [2023-04-13T02:57:53.165Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-13T02:57:53.425Z] + OS_FAMILY=debian [2023-04-13T02:57:53.425Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-452 [2023-04-13T02:57:53.425Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-13T02:57:53.425Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-13T02:57:53.425Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-13T02:57:53.425Z] + PACKAGES=/tmp/packages_start.txt [2023-04-13T02:57:53.425Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-452 ']' [2023-04-13T02:57:53.425Z] + PACKAGES=/tmp/packages_end.txt [2023-04-13T02:57:53.425Z] + case "${OS_FAMILY}" in [2023-04-13T02:57:53.425Z] + dpkg -l [2023-04-13T02:57:53.425Z] + grep '^ii' [2023-04-13T02:57:53.425Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-13T02:57:53.425Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-13T02:57:53.425Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-13T02:57:53.425Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-452 ']' [2023-04-13T02:57:53.425Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-452/archives/ [2023-04-13T02:57:53.425Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-452/archives/ [Pipeline] echo [2023-04-13T02:57:53.436Z] 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-452/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-13T02:57:53.714Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T02:57:54.271Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T02:57:54.271Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T02:57:54.339Z] prd-ubuntu20.04-docker-8c-8g-7643 does not seem to be running inside a container [2023-04-13T02:57:54.353Z] $ 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-452/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-452 -v /w/workspace/xfoundry_device-modbus-go_PR-452:/w/workspace/xfoundry_device-modbus-go_PR-452:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-452@tmp:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-13T02:57:54.579Z] $ docker top e9cc88b3a7cbf812cad435432d6495450b1c5248896f2b1eafd6aa696e2fa4bd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T02:57:54.941Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-13T02:57:55.226Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-13T02:57:55.514Z] + ls /var/log/sa-host [2023-04-13T02:57:55.514Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T02:57:55.594Z] provisioning config files... [2023-04-13T02:57:55.602Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/config13243313058228641469tmp [Pipeline] { [Pipeline] echo [2023-04-13T02:57:55.616Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T02:57:55.907Z] ---> create-netrc.sh [Pipeline] } [2023-04-13T02:57:55.913Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-13T02:57:56.249Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-13T02:57:56.257Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T02:57:56.543Z] ---> sudo-logs.sh [2023-04-13T02:57:56.543Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-13T02:57:56.564Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T02:57:56.847Z] ---> job-cost.sh [2023-04-13T02:57:56.847Z] lf-activate-venv: SKIPPING [2023-04-13T02:57:56.847Z] DEBUG: total: 0.2199999988079071 [2023-04-13T02:57:56.847Z] INFO: Retrieving Stack Cost... [2023-04-13T02:57:57.106Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-13T02:57:57.677Z] INFO: Archiving Costs [Pipeline] echo [2023-04-13T02:57:57.691Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T02:57:57.978Z] ---> logs-deploy.sh [2023-04-13T02:57:57.978Z] lf-activate-venv: SKIPPING [2023-04-13T02:57:57.978Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-452/2 [2023-04-13T02:57:57.978Z] INFO: archiving workspace using pattern(s): [2023-04-13T02:57:58.919Z] Archives upload complete. [2023-04-13T02:57:58.919Z] INFO: archiving logs to Nexus