Pull request #556 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0+f7c28725686cbfd62f6225fd09367d5909216c89 (1fc821797443cdb509f33719d5a3c85ce409a9f2) 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-ssh9596397580459377086.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh6649333120000926419.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 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-556/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-556/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9577227519129071718.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-556/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18173223798223530831.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10344833447064614229.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-556/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-556/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh951507271040288281.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 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] ========================================================= [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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4710 in /w/workspace/xfoundry_device-modbus-go_PR-556 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-556 # 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 f7c28725686cbfd62f6225fd09367d5909216c89 into PR head commit 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 Merge succeeded, producing 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 Checking out Revision 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 (PR-556) Commit message: "build(deps): Bump github.com/gorilla/schema from 1.2.0 to 1.4.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > 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/556/head:refs/remotes/origin/PR-556 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 # 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 f7c28725686cbfd62f6225fd09367d5909216c89 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-01T20:41:01.805Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-01T20:41:02.046Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-01T20:41:02.171Z] ========================================================= [2024-07-01T20:41:02.171Z] EdgeX Global Pipelines Version Info [2024-07-01T20:41:02.171Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-01T20:41:02.952Z] ------------------- [2024-07-01T20:41:02.952Z] stable info: [2024-07-01T20:41:02.952Z] ------------------- [2024-07-01T20:41:02.952Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-01T20:41:02.952Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-01T20:41:02.952Z] Message: update stable to v1.0.260 [2024-07-01T20:41:03.524Z] ------------------- [2024-07-01T20:41:03.524Z] experimental info: [2024-07-01T20:41:03.524Z] ------------------- [2024-07-01T20:41:03.524Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-01T20:41:03.524Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-01T20:41:03.524Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-01T20:41:03.832Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-07-01T20:41:03.906Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-07-01T20:41:03.979Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-01T20:41:04.041Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-01T20:41:04.104Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-01T20:41:04.162Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-01T20:41:04.228Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-01T20:41:04.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-01T20:41:04.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-01T20:41:04.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-01T20:41:04.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-01T20:41:04.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-07-01T20:41:04.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-01T20:41:04.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-01T20:41:04.758Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-01T20:41:04.813Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-01T20:41:04.878Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-01T20:41:04.937Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-01T20:41:04.999Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-01T20:41:05.059Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-01T20:41:05.124Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-01T20:41:05.197Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-01T20:41:05.273Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-01T20:41:05.333Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-01T20:41:05.396Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-01T20:41:05.456Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-01T20:41:05.522Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-01T20:41:05.581Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-556 [Pipeline] echo [2024-07-01T20:41:05.643Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-556 [Pipeline] echo [2024-07-01T20:41:05.707Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-556 [Pipeline] echo [2024-07-01T20:41:05.763Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 [Pipeline] echo [2024-07-01T20:41:05.830Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9a5db88 [Pipeline] echo [2024-07-01T20:41:05.897Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-01T20:41:06.075Z] provisioning config files... [2024-07-01T20:41:06.099Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-556@tmp/config11474907635070432044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-01T20:41:06.514Z] ---> ****-login.sh [2024-07-01T20:41:06.514Z] nexus3.edgexfoundry.org:10001 [2024-07-01T20:41:07.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:41:07.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:41:07.732Z] Configure a credential helper to remove this warning. See [2024-07-01T20:41:07.732Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:41:07.732Z] [2024-07-01T20:41:07.732Z] Login Succeeded [2024-07-01T20:41:07.732Z] nexus3.edgexfoundry.org:10002 [2024-07-01T20:41:07.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:41:07.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:41:07.732Z] Configure a credential helper to remove this warning. See [2024-07-01T20:41:07.732Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:41:07.732Z] [2024-07-01T20:41:07.732Z] Login Succeeded [2024-07-01T20:41:07.732Z] nexus3.edgexfoundry.org:10003 [2024-07-01T20:41:07.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:41:07.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:41:07.991Z] Configure a credential helper to remove this warning. See [2024-07-01T20:41:07.991Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:41:07.991Z] [2024-07-01T20:41:07.992Z] Login Succeeded [2024-07-01T20:41:07.992Z] nexus3.edgexfoundry.org:10004 [2024-07-01T20:41:07.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:41:07.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:41:07.992Z] Configure a credential helper to remove this warning. See [2024-07-01T20:41:07.992Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:41:07.992Z] [2024-07-01T20:41:07.992Z] Login Succeeded [2024-07-01T20:41:07.992Z] ****.io [2024-07-01T20:41:07.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:41:08.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:41:08.250Z] Configure a credential helper to remove this warning. See [2024-07-01T20:41:08.250Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:41:08.250Z] [2024-07-01T20:41:08.250Z] Login Succeeded [2024-07-01T20:41:08.250Z] ---> ****-login.sh ends [Pipeline] } [2024-07-01T20:41:08.279Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-01T20:41:08.986Z] + git rev-list -1 --merges 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0~1..9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 [Pipeline] echo [2024-07-01T20:41:09.039Z] -----------> git rev-list -1 --merges 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0~1..9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 [false] [Pipeline] sh [2024-07-01T20:41:09.363Z] + git log --format=format:%s -1 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 [Pipeline] echo [2024-07-01T20:41:09.409Z] ========================================================= [2024-07-01T20:41:09.409Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-01T20:41:09.409Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-01T20:41:09.868Z] + git log --format=format:%s -1 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 [Pipeline] echo [2024-07-01T20:41:09.908Z] [semverPrep] GIT_COMMIT: 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0, Commit Message: build(deps): Bump github.com/gorilla/schema from 1.2.0 to 1.4.1 [Pipeline] echo [2024-07-01T20:41:09.948Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-01T20:41:10.338Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-01T20:41:10.338Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-01T20:41:10.338Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-01T20:41:10.338Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-01T20:41:10.338Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-01T20:41:10.338Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-01T20:41:10.338Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T20:41:10.784Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-01T20:41:10.784Z] [2024-07-01T20:41:10.784Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T20:41:11.172Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-01T20:41:11.431Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-01T20:41:11.431Z] b85a868b505f: Pulling fs layer [2024-07-01T20:41:11.431Z] e2be974225ed: Pulling fs layer [2024-07-01T20:41:11.431Z] 339a4e72a1f5: Pulling fs layer [2024-07-01T20:41:11.431Z] 988bab9f4d93: Pulling fs layer [2024-07-01T20:41:11.431Z] 1469e6f7b9e6: Pulling fs layer [2024-07-01T20:41:11.431Z] eaf3925da568: Pulling fs layer [2024-07-01T20:41:11.431Z] bab4dde63d76: Pulling fs layer [2024-07-01T20:41:11.431Z] bde34c3a00c8: Pulling fs layer [2024-07-01T20:41:11.431Z] b352a97aabf1: Pulling fs layer [2024-07-01T20:41:11.431Z] 4872d77fe225: Pulling fs layer [2024-07-01T20:41:11.431Z] 5851b861e8e6: Pulling fs layer [2024-07-01T20:41:11.431Z] eaf3925da568: Waiting [2024-07-01T20:41:11.431Z] bab4dde63d76: Waiting [2024-07-01T20:41:11.431Z] 988bab9f4d93: Waiting [2024-07-01T20:41:11.431Z] bde34c3a00c8: Waiting [2024-07-01T20:41:11.431Z] 1469e6f7b9e6: Waiting [2024-07-01T20:41:11.431Z] 4872d77fe225: Waiting [2024-07-01T20:41:11.431Z] b352a97aabf1: Waiting [2024-07-01T20:41:11.431Z] 5851b861e8e6: Waiting [2024-07-01T20:41:11.431Z] e2be974225ed: Verifying Checksum [2024-07-01T20:41:11.431Z] e2be974225ed: Download complete [2024-07-01T20:41:11.431Z] 988bab9f4d93: Verifying Checksum [2024-07-01T20:41:11.431Z] 988bab9f4d93: Download complete [2024-07-01T20:41:11.431Z] 1469e6f7b9e6: Verifying Checksum [2024-07-01T20:41:11.431Z] 1469e6f7b9e6: Download complete [2024-07-01T20:41:11.431Z] 339a4e72a1f5: Verifying Checksum [2024-07-01T20:41:11.431Z] 339a4e72a1f5: Download complete [2024-07-01T20:41:11.431Z] eaf3925da568: Download complete [2024-07-01T20:41:11.431Z] bde34c3a00c8: Verifying Checksum [2024-07-01T20:41:11.431Z] bde34c3a00c8: Download complete [2024-07-01T20:41:11.690Z] b352a97aabf1: Verifying Checksum [2024-07-01T20:41:11.690Z] b352a97aabf1: Download complete [2024-07-01T20:41:11.690Z] 4872d77fe225: Verifying Checksum [2024-07-01T20:41:11.690Z] 4872d77fe225: Download complete [2024-07-01T20:41:11.690Z] b85a868b505f: Verifying Checksum [2024-07-01T20:41:11.690Z] b85a868b505f: Download complete [2024-07-01T20:41:11.690Z] 5851b861e8e6: Verifying Checksum [2024-07-01T20:41:11.690Z] 5851b861e8e6: Download complete [2024-07-01T20:41:11.948Z] bab4dde63d76: Verifying Checksum [2024-07-01T20:41:11.948Z] bab4dde63d76: Download complete [2024-07-01T20:41:12.883Z] b85a868b505f: Pull complete [2024-07-01T20:41:13.142Z] e2be974225ed: Pull complete [2024-07-01T20:41:13.711Z] 339a4e72a1f5: Pull complete [2024-07-01T20:41:13.968Z] 988bab9f4d93: Pull complete [2024-07-01T20:41:14.226Z] 1469e6f7b9e6: Pull complete [2024-07-01T20:41:14.226Z] eaf3925da568: Pull complete [2024-07-01T20:41:16.126Z] bab4dde63d76: Pull complete [2024-07-01T20:41:16.476Z] bde34c3a00c8: Pull complete [2024-07-01T20:41:16.733Z] b352a97aabf1: Pull complete [2024-07-01T20:41:16.733Z] 4872d77fe225: Pull complete [2024-07-01T20:41:17.301Z] 5851b861e8e6: Pull complete [2024-07-01T20:41:17.301Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-01T20:41:17.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-01T20:41:17.301Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-01T20:41:17.629Z] prd-ubuntu20.04-docker-8c-8g-4710 does not seem to be running inside a container [2024-07-01T20:41:17.661Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-556 -v /w/workspace/xfoundry_device-modbus-go_PR-556:/w/workspace/xfoundry_device-modbus-go_PR-556:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-556@tmp:/w/workspace/xfoundry_device-modbus-go_PR-556@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-01T20:41:27.560Z] $ docker top 396bd0d360ca26c504c966d6aa906098221be794d91a5b59bb517b11f97a5f56 -eo pid,comm [2024-07-01T20:41:27.636Z] 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). [2024-07-01T20:41:27.636Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-01T20:41:27.813Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-01T20:41:27.813Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-01T20:41:27.921Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-01T20:41:27.921Z] $ docker exec 396bd0d360ca26c504c966d6aa906098221be794d91a5b59bb517b11f97a5f56 ssh-agent [2024-07-01T20:41:28.025Z] SSH_AUTH_SOCK=/tmp/ssh-SWtcp1vKMirj/agent.14 [2024-07-01T20:41:28.025Z] SSH_AGENT_PID=20 [2024-07-01T20:41:28.031Z] Running ssh-add (command line suppressed) [2024-07-01T20:41:28.129Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-556@tmp/private_key_10192096701802403413.key (/w/workspace/xfoundry_device-modbus-go_PR-556@tmp/private_key_10192096701802403413.key) [2024-07-01T20:41:28.146Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-01T20:41:28.492Z] + git tag --points-at HEAD [Pipeline] } [2024-07-01T20:41:28.524Z] $ docker exec --env ******** --env ******** 396bd0d360ca26c504c966d6aa906098221be794d91a5b59bb517b11f97a5f56 ssh-agent -k [2024-07-01T20:41:28.628Z] unset SSH_AUTH_SOCK; [2024-07-01T20:41:28.629Z] unset SSH_AGENT_PID; [2024-07-01T20:41:28.629Z] echo Agent pid 20 killed; [2024-07-01T20:41:28.645Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-01T20:41:28.788Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-01T20:41:28.788Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-01T20:41:28.908Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-01T20:41:28.907Z] $ docker exec 396bd0d360ca26c504c966d6aa906098221be794d91a5b59bb517b11f97a5f56 ssh-agent [2024-07-01T20:41:29.002Z] SSH_AUTH_SOCK=/tmp/ssh-6mgz0u9kfW78/agent.72 [2024-07-01T20:41:29.002Z] SSH_AGENT_PID=78 [2024-07-01T20:41:29.006Z] Running ssh-add (command line suppressed) [2024-07-01T20:41:29.091Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-556@tmp/private_key_7744598105034691377.key (/w/workspace/xfoundry_device-modbus-go_PR-556@tmp/private_key_7744598105034691377.key) [2024-07-01T20:41:29.105Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-01T20:41:29.461Z] + git semver init [2024-07-01T20:41:29.720Z] 2024-07-01 20:41:29,671 [run_init] DEBUG init version:0.0.0 force:False [2024-07-01T20:41:29.720Z] 2024-07-01 20:41:29,673 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-556/.semver [2024-07-01T20:41:29.720Z] 2024-07-01 20:41:29,673 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-556/.semver [2024-07-01T20:41:29.720Z] 2024-07-01 20:41:29,674 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-556/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-556, universal_newlines=False, shell=None, istream=None) [2024-07-01T20:41:31.149Z] 2024-07-01 20:41:30,838 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-556/.git/info/exclude [2024-07-01T20:41:31.149Z] 2024-07-01 20:41:30,838 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-556/.semver/PR-556 with force:False [2024-07-01T20:41:31.149Z] 2024-07-01 20:41:30,839 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-556/.semver/PR-556 [2024-07-01T20:41:31.149Z] 2024-07-01 20:41:30,842 [execute] INFO git cat-file --batch-check [2024-07-01T20:41:31.149Z] 2024-07-01 20:41:30,842 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-556/.semver, universal_newlines=False, shell=None, istream=) [2024-07-01T20:41:31.149Z] 2024-07-01 20:41:30,848 [execute] INFO git cat-file --batch [2024-07-01T20:41:31.149Z] 2024-07-01 20:41:30,848 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-556/.semver, universal_newlines=False, shell=None, istream=) [2024-07-01T20:41:31.149Z] 2024-07-01 20:41:30,852 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-556/.semver/PR-556 [2024-07-01T20:41:31.149Z] 0.0.0 [Pipeline] } [2024-07-01T20:41:31.175Z] $ docker exec --env ******** --env ******** 396bd0d360ca26c504c966d6aa906098221be794d91a5b59bb517b11f97a5f56 ssh-agent -k [2024-07-01T20:41:31.282Z] unset SSH_AUTH_SOCK; [2024-07-01T20:41:31.282Z] unset SSH_AGENT_PID; [2024-07-01T20:41:31.283Z] echo Agent pid 78 killed; [2024-07-01T20:41:31.295Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-01T20:41:31.774Z] + git semver [Pipeline] } [2024-07-01T20:41:32.367Z] $ docker stop --time=1 396bd0d360ca26c504c966d6aa906098221be794d91a5b59bb517b11f97a5f56 [2024-07-01T20:41:33.886Z] $ docker rm -f --volumes 396bd0d360ca26c504c966d6aa906098221be794d91a5b59bb517b11f97a5f56 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-01T20:41:34.357Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-01T20:41:34.712Z] Stashed 1 file(s) [Pipeline] echo [2024-07-01T20:41:34.738Z] [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 [2024-07-01T20:41:35.544Z] provisioning config files... [2024-07-01T20:41:35.554Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-556@tmp/config9239590104570230791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-01T20:41:35.914Z] ---> ****-login.sh [2024-07-01T20:41:35.914Z] nexus3.edgexfoundry.org:10001 [2024-07-01T20:41:35.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:41:35.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:41:35.915Z] Configure a credential helper to remove this warning. See [2024-07-01T20:41:35.915Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:41:35.915Z] [2024-07-01T20:41:35.915Z] Login Succeeded [2024-07-01T20:41:35.915Z] nexus3.edgexfoundry.org:10002 [2024-07-01T20:41:35.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:41:35.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:41:35.915Z] Configure a credential helper to remove this warning. See [2024-07-01T20:41:35.915Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:41:35.915Z] [2024-07-01T20:41:35.915Z] Login Succeeded [2024-07-01T20:41:35.915Z] nexus3.edgexfoundry.org:10003 [2024-07-01T20:41:36.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:41:36.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:41:36.174Z] Configure a credential helper to remove this warning. See [2024-07-01T20:41:36.175Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:41:36.175Z] [2024-07-01T20:41:36.175Z] Login Succeeded [2024-07-01T20:41:36.175Z] nexus3.edgexfoundry.org:10004 [2024-07-01T20:41:36.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:41:36.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:41:36.175Z] Configure a credential helper to remove this warning. See [2024-07-01T20:41:36.175Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:41:36.175Z] [2024-07-01T20:41:36.175Z] Login Succeeded [2024-07-01T20:41:36.175Z] ****.io [2024-07-01T20:41:36.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:41:36.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:41:36.433Z] Configure a credential helper to remove this warning. See [2024-07-01T20:41:36.433Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:41:36.433Z] [2024-07-01T20:41:36.433Z] Login Succeeded [2024-07-01T20:41:36.433Z] ---> ****-login.sh ends [Pipeline] } [2024-07-01T20:41:36.468Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-01T20:41:36.708Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-01T20:41:36.765Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-01T20:41:36.810Z] ========================================================= [2024-07-01T20:41:36.810Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-01T20:41:36.810Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T20:41:37.344Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-01T20:41:37.344Z] Sending build context to Docker daemon 17.82MB [2024-07-01T20:41:37.344Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-01T20:41:37.344Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-01T20:41:37.602Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-01T20:41:37.602Z] 619be1103602: Pulling fs layer [2024-07-01T20:41:37.602Z] 7862e08f4a3e: Pulling fs layer [2024-07-01T20:41:37.602Z] 5df492c9dc93: Pulling fs layer [2024-07-01T20:41:37.602Z] 7629e6793208: Pulling fs layer [2024-07-01T20:41:37.602Z] 4f4fb700ef54: Pulling fs layer [2024-07-01T20:41:37.602Z] fb5054dd5b73: Pulling fs layer [2024-07-01T20:41:37.602Z] eeca6798cff9: Pulling fs layer [2024-07-01T20:41:37.602Z] aa269ceb94a6: Pulling fs layer [2024-07-01T20:41:37.602Z] ada007ff1a6a: Pulling fs layer [2024-07-01T20:41:37.602Z] aa269ceb94a6: Waiting [2024-07-01T20:41:37.602Z] 4f4fb700ef54: Waiting [2024-07-01T20:41:37.602Z] fb5054dd5b73: Waiting [2024-07-01T20:41:37.602Z] eeca6798cff9: Waiting [2024-07-01T20:41:37.602Z] ada007ff1a6a: Waiting [2024-07-01T20:41:37.602Z] 7629e6793208: Waiting [2024-07-01T20:41:37.602Z] 7862e08f4a3e: Verifying Checksum [2024-07-01T20:41:37.602Z] 7862e08f4a3e: Download complete [2024-07-01T20:41:37.602Z] 7629e6793208: Verifying Checksum [2024-07-01T20:41:37.602Z] 7629e6793208: Download complete [2024-07-01T20:41:37.602Z] 4f4fb700ef54: Verifying Checksum [2024-07-01T20:41:37.602Z] 4f4fb700ef54: Download complete [2024-07-01T20:41:37.602Z] 619be1103602: Verifying Checksum [2024-07-01T20:41:37.602Z] 619be1103602: Download complete [2024-07-01T20:41:37.602Z] fb5054dd5b73: Verifying Checksum [2024-07-01T20:41:37.602Z] fb5054dd5b73: Download complete [2024-07-01T20:41:37.859Z] eeca6798cff9: Verifying Checksum [2024-07-01T20:41:37.859Z] eeca6798cff9: Download complete [2024-07-01T20:41:37.859Z] 619be1103602: Pull complete [2024-07-01T20:41:37.859Z] ada007ff1a6a: Verifying Checksum [2024-07-01T20:41:37.859Z] ada007ff1a6a: Download complete [2024-07-01T20:41:38.119Z] 7862e08f4a3e: Pull complete [2024-07-01T20:41:38.378Z] 5df492c9dc93: Verifying Checksum [2024-07-01T20:41:38.378Z] 5df492c9dc93: Download complete [2024-07-01T20:41:38.636Z] aa269ceb94a6: Verifying Checksum [2024-07-01T20:41:38.636Z] aa269ceb94a6: Download complete [2024-07-01T20:41:41.917Z] 5df492c9dc93: Pull complete [2024-07-01T20:41:41.917Z] 7629e6793208: Pull complete [2024-07-01T20:41:41.917Z] 4f4fb700ef54: Pull complete [2024-07-01T20:41:42.175Z] fb5054dd5b73: Pull complete [2024-07-01T20:41:42.435Z] eeca6798cff9: Pull complete [2024-07-01T20:41:44.963Z] aa269ceb94a6: Pull complete [2024-07-01T20:41:45.533Z] ada007ff1a6a: Pull complete [2024-07-01T20:41:45.793Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-01T20:41:45.793Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-01T20:41:45.793Z] ---> f489d0715acc [2024-07-01T20:41:45.793Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-07-01T20:41:50.291Z] Still waiting to schedule task [2024-07-01T20:41:50.292Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4709’ [2024-07-01T20:41:58.071Z] ---> Running in 831d5f264048 [2024-07-01T20:41:58.071Z] Removing intermediate container 831d5f264048 [2024-07-01T20:41:58.071Z] ---> dc47a8f9dbe7 [2024-07-01T20:41:58.071Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-01T20:41:58.071Z] ---> Running in 1d7d9e14208e [2024-07-01T20:41:58.071Z] Removing intermediate container 1d7d9e14208e [2024-07-01T20:41:58.071Z] ---> 7584a2a5a7cb [2024-07-01T20:41:58.071Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-07-01T20:41:58.071Z] ---> Running in 2203aa1fe6e8 [2024-07-01T20:41:58.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-01T20:41:58.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-01T20:41:59.213Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-07-01T20:41:59.213Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-07-01T20:41:59.213Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-07-01T20:41:59.213Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-07-01T20:41:59.213Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-07-01T20:41:59.213Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-07-01T20:41:59.213Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-07-01T20:41:59.213Z] (8/8) Installing openssh (9.3_p2-r1) [2024-07-01T20:41:59.213Z] Executing busybox-1.36.1-r5.trigger [2024-07-01T20:41:59.213Z] OK: 270 MiB in 60 packages [2024-07-01T20:42:00.161Z] Removing intermediate container 2203aa1fe6e8 [2024-07-01T20:42:00.161Z] ---> 07e3783a9a55 [2024-07-01T20:42:00.161Z] Step 6/10 : WORKDIR /device-modbus-go [2024-07-01T20:42:00.421Z] ---> Running in 51c6b0afa178 [2024-07-01T20:42:01.588Z] Removing intermediate container 51c6b0afa178 [2024-07-01T20:42:01.588Z] ---> 63c22b27a9db [2024-07-01T20:42:01.588Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-01T20:42:02.157Z] ---> 1b4fc8e43885 [2024-07-01T20:42:02.157Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-01T20:42:02.157Z] ---> Running in d1c463543061 [2024-07-01T20:43:10.151Z] Removing intermediate container d1c463543061 [2024-07-01T20:43:10.151Z] ---> c08df130780a [2024-07-01T20:43:10.151Z] Step 9/10 : COPY . . [2024-07-01T20:43:10.151Z] ---> ef77b1228f44 [2024-07-01T20:43:10.151Z] Step 10/10 : RUN ${MAKE} [2024-07-01T20:43:10.151Z] ---> Running in f4e84a048f60 [2024-07-01T20:43:10.151Z] noop [2024-07-01T20:43:10.151Z] Removing intermediate container f4e84a048f60 [2024-07-01T20:43:10.151Z] ---> 493d78455839 [2024-07-01T20:43:10.151Z] Successfully built 493d78455839 [2024-07-01T20:43:10.151Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T20:43:10.691Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-01T20:43:10.691Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-01T20:43:10.867Z] prd-ubuntu20.04-docker-8c-8g-4710 does not seem to be running inside a container [2024-07-01T20:43:10.896Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-556 -v /w/workspace/xfoundry_device-modbus-go_PR-556:/w/workspace/xfoundry_device-modbus-go_PR-556:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-556@tmp:/w/workspace/xfoundry_device-modbus-go_PR-556@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-01T20:43:11.212Z] $ docker top f74df2527cfb423ac5ca7eefa11ca61f2a576189d486627815e7308b80289a5b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-01T20:43:11.662Z] + go version [2024-07-01T20:43:11.662Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-01T20:43:11.695Z] $ docker stop --time=1 f74df2527cfb423ac5ca7eefa11ca61f2a576189d486627815e7308b80289a5b [2024-07-01T20:43:12.962Z] $ docker rm -f --volumes f74df2527cfb423ac5ca7eefa11ca61f2a576189d486627815e7308b80289a5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T20:43:13.745Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-01T20:43:13.745Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-01T20:43:13.923Z] prd-ubuntu20.04-docker-8c-8g-4710 does not seem to be running inside a container [2024-07-01T20:43:13.949Z] $ 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-556 -v /w/workspace/xfoundry_device-modbus-go_PR-556:/w/workspace/xfoundry_device-modbus-go_PR-556:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-556@tmp:/w/workspace/xfoundry_device-modbus-go_PR-556@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-01T20:43:14.248Z] $ docker top 77093963a2256803fef53095f48ebb11521e105c840275f018a87f681bf5f453 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-01T20:43:14.672Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-556 [Pipeline] fileExists [Pipeline] sh [2024-07-01T20:43:15.057Z] + make test [2024-07-01T20:43:15.057Z] go test ./... -coverprofile=coverage.out [2024-07-01T20:43:16.435Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-07-01T20:43:38.348Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-07-01T20:43:38.348Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 47.9% of statements [2024-07-01T20:43:44.919Z] go vet ./... [2024-07-01T20:43:50.241Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-01T20:43:50.241Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-01T20:43:50.241Z] ./bin/test-attribution-txt.sh [2024-07-01T20:43:50.241Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-01T20:43:50.241Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-01T20:43:50.288Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-01T20:43:50.341Z] $ docker stop --time=1 77093963a2256803fef53095f48ebb11521e105c840275f018a87f681bf5f453 [2024-07-01T20:43:58.293Z] $ docker rm -f --volumes 77093963a2256803fef53095f48ebb11521e105c840275f018a87f681bf5f453 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-01T20:43:59.115Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-01T20:43:59.201Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-01T20:43:59.851Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-01T20:44:00.166Z] + ls -al . [2024-07-01T20:44:00.166Z] total 264 [2024-07-01T20:44:00.166Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 1 20:43 . [2024-07-01T20:44:00.166Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 20:40 .. [2024-07-01T20:44:00.166Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 1 20:40 .dockerignore [2024-07-01T20:44:00.166Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 20:43 .git [2024-07-01T20:44:00.166Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:40 .github [2024-07-01T20:44:00.166Z] -rw-rw-r-- 1 jenkins jenkins 266 Jul 1 20:40 .gitignore [2024-07-01T20:44:00.166Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 1 20:40 .golangci.yml [2024-07-01T20:44:00.166Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 20:41 .semver [2024-07-01T20:44:00.166Z] -rw-rw-r-- 1 jenkins jenkins 11101 Jul 1 20:40 Attribution.txt [2024-07-01T20:44:00.166Z] -rw-rw-r-- 1 jenkins jenkins 16388 Jul 1 20:40 CHANGELOG.md [2024-07-01T20:44:00.166Z] -rw-rw-r-- 1 jenkins jenkins 1474 Jul 1 20:40 Dockerfile [2024-07-01T20:44:00.166Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 1 20:40 GOVERNANCE.md [2024-07-01T20:44:00.166Z] -rw-rw-r-- 1 jenkins jenkins 658 Jul 1 20:40 Jenkinsfile [2024-07-01T20:44:00.166Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 1 20:40 LICENSE [2024-07-01T20:44:00.166Z] -rw-rw-r-- 1 jenkins jenkins 1942 Jul 1 20:40 Makefile [2024-07-01T20:44:00.166Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 1 20:40 OWNERS.md [2024-07-01T20:44:00.166Z] -rw-rw-r-- 1 jenkins jenkins 4463 Jul 1 20:40 README.md [2024-07-01T20:44:00.166Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 20:41 VERSION [2024-07-01T20:44:00.166Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 20:40 bin [2024-07-01T20:44:00.166Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:40 cmd [2024-07-01T20:44:00.166Z] -rw-r--r-- 1 jenkins jenkins 24601 Jul 1 20:43 coverage.out [2024-07-01T20:44:00.166Z] -rw-rw-r-- 1 jenkins jenkins 7241 Jul 1 20:40 go.mod [2024-07-01T20:44:00.166Z] -rw-rw-r-- 1 jenkins jenkins 102291 Jul 1 20:40 go.sum [2024-07-01T20:44:00.166Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:40 internal [2024-07-01T20:44:00.166Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 20:40 simulator [2024-07-01T20:44:00.166Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 1 20:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T20:44:00.586Z] + 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=9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 --label arch=amd64 --label version=0.0.0 . [2024-07-01T20:44:00.586Z] Sending build context to Docker daemon 17.85MB [2024-07-01T20:44:00.586Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-07-01T20:44:00.586Z] Step 2/23 : FROM ${BASE} AS builder [2024-07-01T20:44:00.586Z] ---> 493d78455839 [2024-07-01T20:44:00.586Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-07-01T20:44:01.618Z] ---> Running in c6273aae0ecb [2024-07-01T20:44:01.618Z] Removing intermediate container c6273aae0ecb [2024-07-01T20:44:01.618Z] ---> 0487f1c97b27 [2024-07-01T20:44:01.618Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-01T20:44:01.876Z] ---> Running in a318cda1055a [2024-07-01T20:44:02.442Z] Removing intermediate container a318cda1055a [2024-07-01T20:44:02.442Z] ---> 47753cb5424f [2024-07-01T20:44:02.442Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-07-01T20:44:02.442Z] ---> Running in d7742f6568db [2024-07-01T20:44:03.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-01T20:44:03.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-01T20:44:03.526Z] OK: 270 MiB in 60 packages [2024-07-01T20:44:04.464Z] Removing intermediate container d7742f6568db [2024-07-01T20:44:04.464Z] ---> fe30a6bffc0e [2024-07-01T20:44:04.464Z] Step 6/23 : WORKDIR /device-modbus-go [2024-07-01T20:44:04.726Z] ---> Running in 10ac99de9b2a [2024-07-01T20:44:04.726Z] Removing intermediate container 10ac99de9b2a [2024-07-01T20:44:04.726Z] ---> 2be75613152f [2024-07-01T20:44:04.726Z] Step 7/23 : COPY go.mod vendor* ./ [2024-07-01T20:44:05.290Z] ---> 539883711668 [2024-07-01T20:44:05.290Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-01T20:44:05.868Z] ---> Running in 60b9b88b50cf [2024-07-01T20:44:07.768Z] Removing intermediate container 60b9b88b50cf [2024-07-01T20:44:07.768Z] ---> a7f52ceb83db [2024-07-01T20:44:07.768Z] Step 9/23 : COPY . . [2024-07-01T20:44:08.701Z] ---> 42a1275b8e5e [2024-07-01T20:44:08.701Z] Step 10/23 : RUN ${MAKE} [2024-07-01T20:44:08.701Z] ---> Running in 6af9b7020931 [2024-07-01T20:44:09.632Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.18" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-07-01T20:44:36.128Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4720 in /w/workspace/xfoundry_device-modbus-go_PR-556 [Pipeline] { [Pipeline] ws [2024-07-01T20:44:36.202Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-07-01T20:44:36.309Z] The recommended git tool is: git [2024-07-01T20:44:45.043Z] using credential edgex-jenkins-ssh [2024-07-01T20:44:45.069Z] Cloning the remote Git repository [2024-07-01T20:44:45.155Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-07-01T20:44:45.331Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-07-01T20:44:45.605Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-07-01T20:44:45.607Z] > git --version # timeout=10 [2024-07-01T20:44:45.643Z] > git --version # 'git version 2.25.1' [2024-07-01T20:44:45.648Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-01T20:44:45.921Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-01T20:44:48.423Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-07-01T20:44:48.478Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-01T20:44:50.797Z] Merging remotes/origin/main commit f7c28725686cbfd62f6225fd09367d5909216c89 into PR head commit 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 [2024-07-01T20:44:51.241Z] Merge succeeded, producing 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 [2024-07-01T20:44:51.241Z] Checking out Revision 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 (PR-556) [2024-07-01T20:44:50.124Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-07-01T20:44:50.191Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-07-01T20:44:50.192Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-01T20:44:50.232Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/556/head:refs/remotes/origin/PR-556 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-01T20:44:50.843Z] > git config core.sparsecheckout # timeout=10 [2024-07-01T20:44:50.951Z] > git checkout -f 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 # timeout=10 [2024-07-01T20:44:51.088Z] > git remote # timeout=10 [2024-07-01T20:44:51.120Z] > git config --get remote.origin.url # timeout=10 [2024-07-01T20:44:51.146Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-01T20:44:51.180Z] > git merge f7c28725686cbfd62f6225fd09367d5909216c89 # timeout=10 [2024-07-01T20:44:51.214Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-01T20:44:51.246Z] > git config core.sparsecheckout # timeout=10 [2024-07-01T20:44:51.267Z] > git checkout -f 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 # timeout=10 [2024-07-01T20:44:52.155Z] Commit message: "build(deps): Bump github.com/gorilla/schema from 1.2.0 to 1.4.1" [2024-07-01T20:44:52.231Z] > git --version # timeout=10 [2024-07-01T20:44:52.261Z] > git --version # 'git version 2.25.1' [2024-07-01T20:44:52.283Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-01T20:44:57.485Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-01T20:44:57.485Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-01T20:44:57.485Z] Dload Upload Total Spent Left Speed [2024-07-01T20:44:57.485Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 176k 0 --:--:-- --:--:-- --:--:-- 178k [Pipeline] sh [2024-07-01T20:44:57.880Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-01T20:44:58.274Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-01T20:44:58.275Z] + sudo tee /etc/docker/daemon.new [2024-07-01T20:44:58.275Z] { [2024-07-01T20:44:58.275Z] "registry-mirrors": [ [2024-07-01T20:44:58.275Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-01T20:44:58.275Z] ], [2024-07-01T20:44:58.275Z] "bip": "10.250.0.254/24", [2024-07-01T20:44:58.275Z] "hosts": [ [2024-07-01T20:44:58.275Z] "tcp://0.0.0.0:5555", [2024-07-01T20:44:58.275Z] "unix:///var/run/docker.sock" [2024-07-01T20:44:58.275Z] ], [2024-07-01T20:44:58.275Z] "mtu": 1458, [2024-07-01T20:44:58.275Z] "selinux-enabled": true, [2024-07-01T20:44:58.275Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-01T20:44:58.275Z] } [Pipeline] sh [2024-07-01T20:44:58.666Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-01T20:44:59.075Z] + sudo service docker restart [2024-07-01T20:45:05.934Z] Removing intermediate container 6af9b7020931 [2024-07-01T20:45:05.934Z] ---> 545eed2bc363 [2024-07-01T20:45:05.934Z] Step 11/23 : FROM alpine:3.18 [2024-07-01T20:45:05.934Z] 3.18: Pulling from library/alpine [2024-07-01T20:45:05.934Z] 73baa7ef167e: Pulling fs layer [2024-07-01T20:45:05.934Z] 73baa7ef167e: Verifying Checksum [2024-07-01T20:45:05.934Z] 73baa7ef167e: Download complete [2024-07-01T20:45:05.934Z] 73baa7ef167e: Pull complete [2024-07-01T20:45:05.934Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-01T20:45:05.934Z] Status: Downloaded newer image for alpine:3.18 [2024-07-01T20:45:05.934Z] ---> 8fd7cac70a4a [2024-07-01T20:45:05.934Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-07-01T20:45:05.934Z] ---> Running in 545a933a77e6 [2024-07-01T20:45:05.934Z] Removing intermediate container 545a933a77e6 [2024-07-01T20:45:05.934Z] ---> bb6ec914e644 [2024-07-01T20:45:05.934Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-07-01T20:45:05.934Z] ---> Running in 1277e5315ee7 [2024-07-01T20:45:05.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-01T20:45:05.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-01T20:45:05.934Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-01T20:45:05.934Z] Executing busybox-1.36.1-r7.trigger [2024-07-01T20:45:05.934Z] OK: 7 MiB in 16 packages [2024-07-01T20:45:06.545Z] Removing intermediate container 1277e5315ee7 [2024-07-01T20:45:06.545Z] ---> 01f62c1a1674 [2024-07-01T20:45:06.545Z] Step 14/23 : RUN apk --no-cache upgrade [2024-07-01T20:45:07.503Z] ---> Running in 16bf74a7c74a [2024-07-01T20:45:08.070Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-01T20:45:08.070Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-01T20:45:08.332Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-01T20:45:08.332Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-01T20:45:08.332Z] OK: 7 MiB in 16 packages [2024-07-01T20:45:09.371Z] Removing intermediate container 16bf74a7c74a [2024-07-01T20:45:09.371Z] ---> 8cbab3b0c089 [2024-07-01T20:45:09.371Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-07-01T20:45:11.299Z] ---> a866b4247364 [2024-07-01T20:45:11.299Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-07-01T20:45:11.299Z] ---> 1b88b2d649e7 [2024-07-01T20:45:11.299Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-07-01T20:45:11.890Z] ---> 632a0cad1294 [2024-07-01T20:45:11.890Z] Step 18/23 : EXPOSE 59901 [2024-07-01T20:45:12.165Z] ---> Running in 8fb6b528604d [2024-07-01T20:45:13.099Z] Removing intermediate container 8fb6b528604d [2024-07-01T20:45:13.099Z] ---> 198e30e150d8 [2024-07-01T20:45:13.099Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-07-01T20:45:13.664Z] ---> Running in 5cf2f7f215b1 [2024-07-01T20:45:14.229Z] Removing intermediate container 5cf2f7f215b1 [2024-07-01T20:45:14.229Z] ---> e8073749b8a4 [2024-07-01T20:45:14.229Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-01T20:45:14.792Z] ---> Running in 20fa7183d581 [2024-07-01T20:45:15.359Z] Removing intermediate container 20fa7183d581 [2024-07-01T20:45:15.359Z] ---> cd8282617f2f [2024-07-01T20:45:15.359Z] Step 21/23 : LABEL arch=amd64 [2024-07-01T20:45:15.621Z] ---> Running in 5a550ae81201 [2024-07-01T20:45:15.878Z] Removing intermediate container 5a550ae81201 [2024-07-01T20:45:15.878Z] ---> 97186bb33f9c [2024-07-01T20:45:15.878Z] Step 22/23 : LABEL git_sha=9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 [2024-07-01T20:45:16.137Z] ---> Running in 4f5665eee357 [2024-07-01T20:45:16.725Z] Removing intermediate container 4f5665eee357 [2024-07-01T20:45:16.725Z] ---> 0fd8f1f43153 [2024-07-01T20:45:16.725Z] Step 23/23 : LABEL version=0.0.0 [2024-07-01T20:45:16.984Z] ---> Running in ee154df140a5 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-01T20:45:17.541Z] provisioning config files... [2024-07-01T20:45:17.550Z] Removing intermediate container ee154df140a5 [2024-07-01T20:45:17.550Z] ---> 550f20a6a2ce [2024-07-01T20:45:17.550Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-01T20:45:17.550Z] Successfully built 550f20a6a2ce [2024-07-01T20:45:17.551Z] Successfully tagged device-modbus:latest [2024-07-01T20:45:17.576Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config13492804480070360013tmp [Pipeline] } [Pipeline] // withEnv [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [2024-07-01T20:45:18.167Z] ---> ****-login.sh [2024-07-01T20:45:18.167Z] nexus3.edgexfoundry.org:10001 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T20:45:18.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:45:18.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:45:18.784Z] Configure a credential helper to remove this warning. See [2024-07-01T20:45:18.784Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:45:18.784Z] [2024-07-01T20:45:18.784Z] Login Succeeded [2024-07-01T20:45:18.784Z] nexus3.edgexfoundry.org:10002 [2024-07-01T20:45:18.933Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-01T20:45:18.933Z] [2024-07-01T20:45:18.933Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T20:45:19.335Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-01T20:45:19.335Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-01T20:45:19.335Z] 5eb5b503b376: Pulling fs layer [2024-07-01T20:45:19.335Z] 5c69ac0246d0: Pulling fs layer [2024-07-01T20:45:19.335Z] ec43610c2a17: Pulling fs layer [2024-07-01T20:45:19.335Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-01T20:45:19.335Z] 33b1e0a273af: Pulling fs layer [2024-07-01T20:45:19.335Z] 5d3b04190fa2: Pulling fs layer [2024-07-01T20:45:19.335Z] 2f39f015ded8: Pulling fs layer [2024-07-01T20:45:19.335Z] 33b1e0a273af: Waiting [2024-07-01T20:45:19.335Z] 5d3b04190fa2: Waiting [2024-07-01T20:45:19.335Z] 2f39f015ded8: Waiting [2024-07-01T20:45:19.335Z] 3a2ae6a8a46f: Waiting [2024-07-01T20:45:19.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:45:19.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:45:19.380Z] Configure a credential helper to remove this warning. See [2024-07-01T20:45:19.380Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:45:19.380Z] [2024-07-01T20:45:19.380Z] Login Succeeded [2024-07-01T20:45:19.380Z] nexus3.edgexfoundry.org:10003 [2024-07-01T20:45:19.592Z] 5c69ac0246d0: Verifying Checksum [2024-07-01T20:45:19.592Z] 5c69ac0246d0: Download complete [2024-07-01T20:45:19.592Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-01T20:45:19.592Z] 3a2ae6a8a46f: Download complete [2024-07-01T20:45:19.592Z] 33b1e0a273af: Verifying Checksum [2024-07-01T20:45:19.592Z] 33b1e0a273af: Download complete [2024-07-01T20:45:19.592Z] ec43610c2a17: Verifying Checksum [2024-07-01T20:45:19.592Z] ec43610c2a17: Download complete [2024-07-01T20:45:19.592Z] 5d3b04190fa2: Download complete [2024-07-01T20:45:19.592Z] 5eb5b503b376: Verifying Checksum [2024-07-01T20:45:19.592Z] 5eb5b503b376: Download complete [2024-07-01T20:45:19.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:45:19.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:45:19.658Z] Configure a credential helper to remove this warning. See [2024-07-01T20:45:19.658Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:45:19.658Z] [2024-07-01T20:45:19.658Z] Login Succeeded [2024-07-01T20:45:19.658Z] nexus3.edgexfoundry.org:10004 [2024-07-01T20:45:19.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:45:20.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:45:20.201Z] Configure a credential helper to remove this warning. See [2024-07-01T20:45:20.201Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:45:20.201Z] [2024-07-01T20:45:20.201Z] Login Succeeded [2024-07-01T20:45:20.201Z] ****.io [2024-07-01T20:45:20.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:45:20.544Z] 2f39f015ded8: Verifying Checksum [2024-07-01T20:45:20.544Z] 2f39f015ded8: Download complete [2024-07-01T20:45:20.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:45:20.747Z] Configure a credential helper to remove this warning. See [2024-07-01T20:45:20.747Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:45:20.747Z] [2024-07-01T20:45:20.747Z] Login Succeeded [2024-07-01T20:45:20.747Z] ---> ****-login.sh ends [Pipeline] } [2024-07-01T20:45:20.784Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-01T20:45:21.330Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-01T20:45:21.381Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-01T20:45:21.428Z] ========================================================= [2024-07-01T20:45:21.428Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-01T20:45:21.428Z] ========================================================= [Pipeline] fileExists [2024-07-01T20:45:21.480Z] 5eb5b503b376: Pull complete [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T20:45:21.740Z] 5c69ac0246d0: Pull complete [2024-07-01T20:45:22.025Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-01T20:45:22.305Z] ec43610c2a17: Pull complete [2024-07-01T20:45:22.305Z] 3a2ae6a8a46f: Pull complete [2024-07-01T20:45:22.620Z] Sending build context to Docker daemon 9.048MB [2024-07-01T20:45:22.620Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-01T20:45:22.620Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-01T20:45:22.875Z] 33b1e0a273af: Pull complete [2024-07-01T20:45:22.896Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-01T20:45:22.896Z] c6b39de5b339: Pulling fs layer [2024-07-01T20:45:22.896Z] a69c41024577: Pulling fs layer [2024-07-01T20:45:22.896Z] d6de4b400683: Pulling fs layer [2024-07-01T20:45:22.896Z] 35cb2a7552d0: Pulling fs layer [2024-07-01T20:45:22.896Z] 4f4fb700ef54: Pulling fs layer [2024-07-01T20:45:22.896Z] 464afbd9ba4c: Pulling fs layer [2024-07-01T20:45:22.896Z] 00f215d4a9da: Pulling fs layer [2024-07-01T20:45:22.896Z] d496ad576159: Pulling fs layer [2024-07-01T20:45:22.896Z] d496ad576159: Waiting [2024-07-01T20:45:22.896Z] 35cb2a7552d0: Waiting [2024-07-01T20:45:22.896Z] 4f4fb700ef54: Waiting [2024-07-01T20:45:22.896Z] 464afbd9ba4c: Waiting [2024-07-01T20:45:22.896Z] 00f215d4a9da: Waiting [2024-07-01T20:45:22.896Z] a69c41024577: Download complete [2024-07-01T20:45:22.896Z] 35cb2a7552d0: Download complete [2024-07-01T20:45:22.896Z] 4f4fb700ef54: Verifying Checksum [2024-07-01T20:45:22.896Z] 4f4fb700ef54: Download complete [2024-07-01T20:45:22.896Z] c6b39de5b339: Verifying Checksum [2024-07-01T20:45:22.896Z] c6b39de5b339: Download complete [2024-07-01T20:45:22.896Z] 464afbd9ba4c: Verifying Checksum [2024-07-01T20:45:22.896Z] 464afbd9ba4c: Download complete [2024-07-01T20:45:23.134Z] 5d3b04190fa2: Pull complete [2024-07-01T20:45:23.891Z] d496ad576159: Verifying Checksum [2024-07-01T20:45:23.891Z] d496ad576159: Download complete [2024-07-01T20:45:24.164Z] c6b39de5b339: Pull complete [2024-07-01T20:45:24.768Z] a69c41024577: Pull complete [2024-07-01T20:45:25.368Z] d6de4b400683: Download complete [2024-07-01T20:45:26.356Z] 00f215d4a9da: Verifying Checksum [2024-07-01T20:45:26.356Z] 00f215d4a9da: Download complete [2024-07-01T20:45:27.317Z] 2f39f015ded8: Pull complete [2024-07-01T20:45:27.317Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-01T20:45:27.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-01T20:45:27.317Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-01T20:45:27.604Z] prd-ubuntu20.04-docker-8c-8g-4710 does not seem to be running inside a container [2024-07-01T20:45:27.626Z] $ 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-556 -v /w/workspace/xfoundry_device-modbus-go_PR-556:/w/workspace/xfoundry_device-modbus-go_PR-556:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-556@tmp:/w/workspace/xfoundry_device-modbus-go_PR-556@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-01T20:45:36.495Z] $ docker top c7ab0fe4c29a1827758055aa8e0da7dc75250d27095412fdcb9993aa4e92d325 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-01T20:45:36.995Z] ---> job-cost.sh [2024-07-01T20:45:36.995Z] lf-activate-venv: SKIPPING [2024-07-01T20:45:36.995Z] INFO: No Stack... [2024-07-01T20:45:37.253Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-01T20:45:37.515Z] INFO: Archiving Costs [Pipeline] sh [2024-07-01T20:45:37.830Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-556/archives/cost.csv [2024-07-01T20:45:37.830Z] + cut -d, -f6 [Pipeline] lock [2024-07-01T20:45:37.881Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-556-1-stack-cost] [2024-07-01T20:45:37.890Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-556-1-stack-cost] did not exist. Created. [2024-07-01T20:45:37.899Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-556-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-01T20:45:38.325Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-01T20:45:38.397Z] Stashed 1 file(s) [Pipeline] } [2024-07-01T20:45:38.443Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-556-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-01T20:45:38.539Z] $ docker stop --time=1 c7ab0fe4c29a1827758055aa8e0da7dc75250d27095412fdcb9993aa4e92d325 [2024-07-01T20:45:40.306Z] $ docker rm -f --volumes c7ab0fe4c29a1827758055aa8e0da7dc75250d27095412fdcb9993aa4e92d325 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-01T20:45:41.481Z] d6de4b400683: Pull complete [2024-07-01T20:45:41.481Z] 35cb2a7552d0: Pull complete [2024-07-01T20:45:41.481Z] 4f4fb700ef54: Pull complete [2024-07-01T20:45:41.481Z] 464afbd9ba4c: Pull complete [2024-07-01T20:45:51.669Z] 00f215d4a9da: Pull complete [2024-07-01T20:45:53.084Z] d496ad576159: Pull complete [2024-07-01T20:45:53.085Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-01T20:45:53.085Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-01T20:45:53.085Z] ---> f246e2811388 [2024-07-01T20:45:53.085Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-07-01T20:45:55.041Z] ---> Running in c9f2f5382943 [2024-07-01T20:45:55.327Z] Removing intermediate container c9f2f5382943 [2024-07-01T20:45:55.327Z] ---> fb67ae88106a [2024-07-01T20:45:55.327Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-01T20:45:55.603Z] ---> Running in 57908783dc2c [2024-07-01T20:45:55.875Z] Removing intermediate container 57908783dc2c [2024-07-01T20:45:55.875Z] ---> 43919ae0eebf [2024-07-01T20:45:55.875Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-07-01T20:45:55.875Z] ---> Running in bbbba6dead87 [2024-07-01T20:45:57.314Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-01T20:45:57.901Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-01T20:45:59.333Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-07-01T20:45:59.333Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-07-01T20:45:59.333Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-07-01T20:45:59.333Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-07-01T20:45:59.333Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-07-01T20:45:59.333Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-07-01T20:45:59.333Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-07-01T20:45:59.333Z] (8/8) Installing openssh (9.3_p2-r1) [2024-07-01T20:45:59.333Z] Executing busybox-1.36.1-r5.trigger [2024-07-01T20:45:59.333Z] OK: 272 MiB in 60 packages [2024-07-01T20:46:00.766Z] Removing intermediate container bbbba6dead87 [2024-07-01T20:46:00.766Z] ---> b6dd63b32df9 [2024-07-01T20:46:00.766Z] Step 6/10 : WORKDIR /device-modbus-go [2024-07-01T20:46:00.766Z] ---> Running in ef32222823ee [2024-07-01T20:46:01.354Z] Removing intermediate container ef32222823ee [2024-07-01T20:46:01.354Z] ---> 6a3ca33cc5b9 [2024-07-01T20:46:01.354Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-01T20:46:01.951Z] ---> 4b6e810d0a6c [2024-07-01T20:46:01.951Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-01T20:46:01.951Z] ---> Running in ead24525b1ca [2024-07-01T20:48:23.827Z] Removing intermediate container ead24525b1ca [2024-07-01T20:48:23.828Z] ---> ec792f93ef1d [2024-07-01T20:48:23.828Z] Step 9/10 : COPY . . [2024-07-01T20:48:23.828Z] ---> a613619f51b3 [2024-07-01T20:48:23.828Z] Step 10/10 : RUN ${MAKE} [2024-07-01T20:48:23.828Z] ---> Running in df4b66b691f4 [2024-07-01T20:48:23.828Z] noop [2024-07-01T20:48:23.828Z] Removing intermediate container df4b66b691f4 [2024-07-01T20:48:23.828Z] ---> fca1d8931c2c [2024-07-01T20:48:23.828Z] Successfully built fca1d8931c2c [2024-07-01T20:48:23.828Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T20:48:24.398Z] + docker inspect -f . ci-base-image-arm64 [2024-07-01T20:48:24.398Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-01T20:48:24.803Z] prd-ubuntu20.04-docker-arm64-4c-16g-4720 does not seem to be running inside a container [2024-07-01T20:48:25.037Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-01T20:48:26.737Z] $ docker top 013f17832da5bbeadf2d2261aef0aacd33c65d162b7ef5b0942980f35fb5a8eb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-01T20:48:27.839Z] + go version [2024-07-01T20:48:27.839Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-01T20:48:27.876Z] $ docker stop --time=1 013f17832da5bbeadf2d2261aef0aacd33c65d162b7ef5b0942980f35fb5a8eb [2024-07-01T20:48:29.647Z] $ docker rm -f --volumes 013f17832da5bbeadf2d2261aef0aacd33c65d162b7ef5b0942980f35fb5a8eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T20:48:30.648Z] + docker inspect -f . ci-base-image-arm64 [2024-07-01T20:48:30.648Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-01T20:48:30.969Z] prd-ubuntu20.04-docker-arm64-4c-16g-4720 does not seem to be running inside a container [2024-07-01T20:48:31.053Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-01T20:48:32.621Z] $ docker top c510ef145d33bf8715420570ccc9aa9a6943f37d88929d886920d21204c0ffa8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-01T20:48:33.651Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-07-01T20:48:34.414Z] + make test [2024-07-01T20:48:34.414Z] go test ./... -coverprofile=coverage.out [2024-07-01T20:48:42.689Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-07-01T20:53:49.826Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-07-01T20:53:49.826Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.065s coverage: 47.9% of statements [2024-07-01T20:53:49.826Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-01T20:53:49.826Z] go vet ./... [2024-07-01T20:54:58.138Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-01T20:54:58.138Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-01T20:54:58.138Z] ./bin/test-attribution-txt.sh [2024-07-01T20:54:58.138Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-01T20:54:58.138Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-01T20:54:58.194Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-01T20:54:58.235Z] $ docker stop --time=1 c510ef145d33bf8715420570ccc9aa9a6943f37d88929d886920d21204c0ffa8 [2024-07-01T20:55:00.240Z] $ docker rm -f --volumes c510ef145d33bf8715420570ccc9aa9a6943f37d88929d886920d21204c0ffa8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-01T20:55:02.167Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-01T20:55:02.212Z] Warning: overwriting stash ‘coverage-report’ [2024-07-01T20:55:02.916Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-01T20:55:03.614Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-01T20:55:03.992Z] + ls -al . [2024-07-01T20:55:03.992Z] total 260 [2024-07-01T20:55:03.992Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 20:48 . [2024-07-01T20:55:03.992Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 20:44 .. [2024-07-01T20:55:03.992Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 1 20:44 .dockerignore [2024-07-01T20:55:03.992Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 20:44 .git [2024-07-01T20:55:03.992Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:44 .github [2024-07-01T20:55:03.992Z] -rw-rw-r-- 1 jenkins jenkins 266 Jul 1 20:44 .gitignore [2024-07-01T20:55:03.992Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 1 20:44 .golangci.yml [2024-07-01T20:55:03.992Z] -rw-rw-r-- 1 jenkins jenkins 11101 Jul 1 20:44 Attribution.txt [2024-07-01T20:55:03.992Z] -rw-rw-r-- 1 jenkins jenkins 16388 Jul 1 20:44 CHANGELOG.md [2024-07-01T20:55:03.992Z] -rw-rw-r-- 1 jenkins jenkins 1474 Jul 1 20:44 Dockerfile [2024-07-01T20:55:03.992Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 1 20:44 GOVERNANCE.md [2024-07-01T20:55:03.992Z] -rw-rw-r-- 1 jenkins jenkins 658 Jul 1 20:44 Jenkinsfile [2024-07-01T20:55:03.992Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 1 20:44 LICENSE [2024-07-01T20:55:03.992Z] -rw-rw-r-- 1 jenkins jenkins 1942 Jul 1 20:44 Makefile [2024-07-01T20:55:03.992Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 1 20:44 OWNERS.md [2024-07-01T20:55:03.992Z] -rw-rw-r-- 1 jenkins jenkins 4463 Jul 1 20:44 README.md [2024-07-01T20:55:03.992Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 20:41 VERSION [2024-07-01T20:55:03.992Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 20:44 bin [2024-07-01T20:55:03.992Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:44 cmd [2024-07-01T20:55:03.992Z] -rw-r--r-- 1 jenkins jenkins 24601 Jul 1 20:53 coverage.out [2024-07-01T20:55:03.992Z] -rw-rw-r-- 1 jenkins jenkins 7241 Jul 1 20:44 go.mod [2024-07-01T20:55:03.992Z] -rw-rw-r-- 1 jenkins jenkins 102291 Jul 1 20:44 go.sum [2024-07-01T20:55:03.992Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:44 internal [2024-07-01T20:55:03.992Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 20:44 simulator [2024-07-01T20:55:03.992Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 1 20:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T20:55:04.456Z] + 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=9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 --label arch=arm64 --label version=0.0.0 . [2024-07-01T20:55:05.047Z] Sending build context to Docker daemon 9.074MB [2024-07-01T20:55:05.047Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-07-01T20:55:05.047Z] Step 2/23 : FROM ${BASE} AS builder [2024-07-01T20:55:05.047Z] ---> fca1d8931c2c [2024-07-01T20:55:05.047Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-07-01T20:55:05.317Z] ---> Running in 3e4bf1736c73 [2024-07-01T20:55:05.586Z] Removing intermediate container 3e4bf1736c73 [2024-07-01T20:55:05.586Z] ---> b1855441732b [2024-07-01T20:55:05.586Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-01T20:55:05.855Z] ---> Running in 8812ee8b03ee [2024-07-01T20:55:06.124Z] Removing intermediate container 8812ee8b03ee [2024-07-01T20:55:06.124Z] ---> 9cf2534bface [2024-07-01T20:55:06.124Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-07-01T20:55:06.394Z] ---> Running in dfb9d5da48bc [2024-07-01T20:55:07.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-01T20:55:07.960Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-01T20:55:09.397Z] OK: 272 MiB in 60 packages [2024-07-01T20:55:10.836Z] Removing intermediate container dfb9d5da48bc [2024-07-01T20:55:10.836Z] ---> 7c9d352fb762 [2024-07-01T20:55:10.836Z] Step 6/23 : WORKDIR /device-modbus-go [2024-07-01T20:55:10.836Z] ---> Running in eb6d2d7e00eb [2024-07-01T20:55:11.111Z] Removing intermediate container eb6d2d7e00eb [2024-07-01T20:55:11.111Z] ---> b15f01e2695b [2024-07-01T20:55:11.111Z] Step 7/23 : COPY go.mod vendor* ./ [2024-07-01T20:55:12.086Z] ---> e6ff1d3d9a87 [2024-07-01T20:55:12.086Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-01T20:55:12.086Z] ---> Running in 92f8b7941514 [2024-07-01T20:55:14.704Z] Removing intermediate container 92f8b7941514 [2024-07-01T20:55:14.704Z] ---> 2eb8aa4b7981 [2024-07-01T20:55:14.704Z] Step 9/23 : COPY . . [2024-07-01T20:55:16.136Z] ---> a0899e9ddfab [2024-07-01T20:55:16.136Z] Step 10/23 : RUN ${MAKE} [2024-07-01T20:55:16.413Z] ---> Running in 04c4bf305d7d [2024-07-01T20:55:17.393Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.18" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-07-01T21:00:09.489Z] Removing intermediate container 04c4bf305d7d [2024-07-01T21:00:09.489Z] ---> f60d59341b61 [2024-07-01T21:00:09.489Z] Step 11/23 : FROM alpine:3.18 [2024-07-01T21:00:09.489Z] 3.18: Pulling from library/alpine [2024-07-01T21:00:09.489Z] 5c905c7ebe2f: Pulling fs layer [2024-07-01T21:00:09.489Z] 5c905c7ebe2f: Verifying Checksum [2024-07-01T21:00:09.489Z] 5c905c7ebe2f: Download complete [2024-07-01T21:00:09.489Z] 5c905c7ebe2f: Pull complete [2024-07-01T21:00:09.489Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-01T21:00:09.489Z] Status: Downloaded newer image for alpine:3.18 [2024-07-01T21:00:09.489Z] ---> dec292d02e07 [2024-07-01T21:00:09.489Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-07-01T21:00:09.489Z] ---> Running in 17f62609dde1 [2024-07-01T21:00:09.489Z] Removing intermediate container 17f62609dde1 [2024-07-01T21:00:09.489Z] ---> 91fdf6bc0476 [2024-07-01T21:00:09.489Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-07-01T21:00:09.489Z] ---> Running in 2fe42e391fc5 [2024-07-01T21:00:09.489Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-01T21:00:09.489Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-01T21:00:09.489Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-01T21:00:09.489Z] Executing busybox-1.36.1-r7.trigger [2024-07-01T21:00:09.489Z] OK: 8 MiB in 16 packages [2024-07-01T21:00:09.489Z] Removing intermediate container 2fe42e391fc5 [2024-07-01T21:00:09.489Z] ---> 288a371d7f87 [2024-07-01T21:00:09.489Z] Step 14/23 : RUN apk --no-cache upgrade [2024-07-01T21:00:09.489Z] ---> Running in 005201e49baa [2024-07-01T21:00:09.489Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-01T21:00:09.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-01T21:00:09.490Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-01T21:00:09.490Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-01T21:00:09.490Z] OK: 8 MiB in 16 packages [2024-07-01T21:00:09.490Z] Removing intermediate container 005201e49baa [2024-07-01T21:00:09.490Z] ---> a5f57c153677 [2024-07-01T21:00:09.490Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-07-01T21:00:10.918Z] ---> f776bac3cdc5 [2024-07-01T21:00:10.918Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-07-01T21:00:11.525Z] ---> 093d71376c35 [2024-07-01T21:00:11.525Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-07-01T21:00:12.502Z] ---> 0b0b1b92fbd5 [2024-07-01T21:00:12.502Z] Step 18/23 : EXPOSE 59901 [2024-07-01T21:00:12.784Z] ---> Running in 8f584a5d9bf9 [2024-07-01T21:00:13.057Z] Removing intermediate container 8f584a5d9bf9 [2024-07-01T21:00:13.057Z] ---> 797469182677 [2024-07-01T21:00:13.057Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-07-01T21:00:13.328Z] ---> Running in 6b23a8d0744a [2024-07-01T21:00:13.606Z] Removing intermediate container 6b23a8d0744a [2024-07-01T21:00:13.606Z] ---> 36fd84abd1fb [2024-07-01T21:00:13.606Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-01T21:00:13.878Z] ---> Running in c4f0bdfa0933 [2024-07-01T21:00:14.148Z] Removing intermediate container c4f0bdfa0933 [2024-07-01T21:00:14.148Z] ---> 230f92b335ca [2024-07-01T21:00:14.148Z] Step 21/23 : LABEL arch=arm64 [2024-07-01T21:00:14.419Z] ---> Running in 6dbe488d227c [2024-07-01T21:00:14.690Z] Removing intermediate container 6dbe488d227c [2024-07-01T21:00:14.690Z] ---> 26ab4d52e86c [2024-07-01T21:00:14.690Z] Step 22/23 : LABEL git_sha=9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 [2024-07-01T21:00:14.690Z] ---> Running in 61ce48a5e7da [2024-07-01T21:00:15.279Z] Removing intermediate container 61ce48a5e7da [2024-07-01T21:00:15.279Z] ---> 6f0d674a52e6 [2024-07-01T21:00:15.279Z] Step 23/23 : LABEL version=0.0.0 [2024-07-01T21:00:15.279Z] ---> Running in 84cbdc047d0b [2024-07-01T21:00:15.550Z] Removing intermediate container 84cbdc047d0b [2024-07-01T21:00:15.550Z] ---> 4d5863c426a6 [2024-07-01T21:00:15.550Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-01T21:00:15.550Z] Successfully built 4d5863c426a6 [2024-07-01T21:00:15.820Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T21:00:16.802Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-01T21:00:16.802Z] [2024-07-01T21:00:16.802Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T21:00:17.251Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-01T21:00:17.521Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-01T21:00:17.521Z] 8998bd30e6a1: Pulling fs layer [2024-07-01T21:00:17.521Z] 04944245beec: Pulling fs layer [2024-07-01T21:00:17.521Z] 699f458cf7ca: Pulling fs layer [2024-07-01T21:00:17.521Z] 765212b225bb: Pulling fs layer [2024-07-01T21:00:17.521Z] f23df028b6ca: Pulling fs layer [2024-07-01T21:00:17.521Z] d65c8cfc05b1: Pulling fs layer [2024-07-01T21:00:17.521Z] 2437ff75d9bd: Pulling fs layer [2024-07-01T21:00:17.521Z] 765212b225bb: Waiting [2024-07-01T21:00:17.521Z] f23df028b6ca: Waiting [2024-07-01T21:00:17.521Z] d65c8cfc05b1: Waiting [2024-07-01T21:00:17.521Z] 2437ff75d9bd: Waiting [2024-07-01T21:00:17.521Z] 04944245beec: Verifying Checksum [2024-07-01T21:00:17.521Z] 04944245beec: Download complete [2024-07-01T21:00:17.521Z] 765212b225bb: Verifying Checksum [2024-07-01T21:00:17.521Z] 765212b225bb: Download complete [2024-07-01T21:00:17.793Z] f23df028b6ca: Verifying Checksum [2024-07-01T21:00:17.793Z] f23df028b6ca: Download complete [2024-07-01T21:00:17.793Z] d65c8cfc05b1: Verifying Checksum [2024-07-01T21:00:17.793Z] d65c8cfc05b1: Download complete [2024-07-01T21:00:17.793Z] 699f458cf7ca: Verifying Checksum [2024-07-01T21:00:17.793Z] 699f458cf7ca: Download complete [2024-07-01T21:00:18.388Z] 8998bd30e6a1: Verifying Checksum [2024-07-01T21:00:18.388Z] 8998bd30e6a1: Download complete [2024-07-01T21:00:20.990Z] 2437ff75d9bd: Verifying Checksum [2024-07-01T21:00:23.637Z] 8998bd30e6a1: Pull complete [2024-07-01T21:00:23.911Z] 04944245beec: Pull complete [2024-07-01T21:00:25.880Z] 699f458cf7ca: Pull complete [2024-07-01T21:00:25.880Z] 765212b225bb: Pull complete [2024-07-01T21:00:26.849Z] f23df028b6ca: Pull complete [2024-07-01T21:00:27.120Z] d65c8cfc05b1: Pull complete [2024-07-01T21:00:45.374Z] 2437ff75d9bd: Pull complete [2024-07-01T21:00:45.374Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-01T21:00:45.374Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-01T21:00:45.374Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-01T21:00:45.801Z] prd-ubuntu20.04-docker-arm64-4c-16g-4720 does not seem to be running inside a container [2024-07-01T21:00:45.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-01T21:00:49.536Z] $ docker top d492162a3576f3cb0e350c3e9b04910d7868b0c6e49ddce312fc120dd382b168 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-01T21:00:50.640Z] ---> job-cost.sh [2024-07-01T21:00:50.640Z] lf-activate-venv: SKIPPING [2024-07-01T21:00:50.640Z] INFO: No Stack... [2024-07-01T21:00:51.236Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-01T21:00:51.855Z] INFO: Archiving Costs [Pipeline] sh [2024-07-01T21:00:52.585Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2024-07-01T21:00:52.585Z] + cut -d, -f6 [Pipeline] lock [2024-07-01T21:00:52.666Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-556-1-stack-cost] [2024-07-01T21:00:52.672Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-556-1-stack-cost] did not exist. Created. [2024-07-01T21:00:52.679Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-556-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-01T21:00:53.470Z] /w/workspace/device-modbus-go/1@tmp/durable-536c5735/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-01T21:00:54.201Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-01T21:00:54.246Z] Warning: overwriting stash ‘stack-cost’ [2024-07-01T21:00:54.310Z] Stashed 1 file(s) [Pipeline] } [2024-07-01T21:00:54.331Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-556-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-01T21:00:54.419Z] $ docker stop --time=1 d492162a3576f3cb0e350c3e9b04910d7868b0c6e49ddce312fc120dd382b168 [2024-07-01T21:00:56.098Z] $ docker rm -f --volumes d492162a3576f3cb0e350c3e9b04910d7868b0c6e49ddce312fc120dd382b168 [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 [2024-07-01T21:00:57.330Z] provisioning config files... [2024-07-01T21:00:57.338Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-556@tmp/config7003187766868807847tmp [Pipeline] { [Pipeline] sh [2024-07-01T21:00:57.701Z] + set +x [2024-07-01T21:00:57.701Z] + bash -s -- [2024-07-01T21:00:57.701Z] + curl -s https://codecov.io/bash [2024-07-01T21:00:57.701Z] [2024-07-01T21:00:57.701Z] _____ _ [2024-07-01T21:00:57.701Z] / ____| | | [2024-07-01T21:00:57.701Z] | | ___ __| | ___ ___ _____ __ [2024-07-01T21:00:57.701Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-01T21:00:57.701Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-01T21:00:57.701Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-01T21:00:57.701Z] Bash-1.0.6 [2024-07-01T21:00:57.701Z] [2024-07-01T21:00:57.701Z] [2024-07-01T21:00:57.701Z] ==> git version 2.25.1 found [2024-07-01T21:00:57.701Z] ==> 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 [2024-07-01T21:00:57.701Z] Release-Date: 2020-01-08 [2024-07-01T21:00:57.701Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-07-01T21:00:57.701Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-01T21:00:57.701Z] ==> Jenkins CI detected. [2024-07-01T21:00:57.701Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-556 [2024-07-01T21:00:57.701Z] project root: . [2024-07-01T21:00:57.701Z] --> token set from env [2024-07-01T21:00:57.701Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-01T21:00:57.701Z] ==> Running gcov in . (disable via -X gcov) [2024-07-01T21:00:57.701Z] ==> Python coveragepy not found [2024-07-01T21:00:57.701Z] ==> Searching for coverage reports in: [2024-07-01T21:00:57.701Z] + . [2024-07-01T21:00:57.701Z] -> Found 1 reports [2024-07-01T21:00:57.701Z] ==> Detecting git/mercurial file structure [2024-07-01T21:00:57.701Z] ==> Reading reports [2024-07-01T21:00:57.701Z] + ./coverage.out bytes=24601 [2024-07-01T21:00:57.701Z] ==> Appending adjustments [2024-07-01T21:00:57.701Z] https://docs.codecov.io/docs/fixing-reports [2024-07-01T21:00:57.961Z] + Found adjustments [2024-07-01T21:00:57.961Z] ==> Gzipping contents [2024-07-01T21:00:57.961Z] 4.0K /tmp/codecov.DTOXIS.gz [2024-07-01T21:00:57.961Z] ==> Uploading reports [2024-07-01T21:00:57.961Z] url: https://codecov.io [2024-07-01T21:00:57.961Z] query: branch=PR-556&commit=9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-556%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=556&job=&cmd_args= [2024-07-01T21:00:57.961Z] -> Pinging Codecov [2024-07-01T21:00:57.961Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-556&commit=9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-556%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=556&job=&cmd_args= [2024-07-01T21:00:57.961Z] -> Uploading to [2024-07-01T21:00:57.961Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-01/55DBCA73C666E3227836607328DD7E49/9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0/68eb42e8-e877-4f48-84d5-5dd9247fc78b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240701%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240701T210057Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4ae7546c4411961f746e1bc4c2a17f82fcad5612b307ff0f2fd45f75306069d3 [2024-07-01T21:00:57.961Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-01T21:00:57.961Z] Dload Upload Total Spent Left Speed [2024-07-01T21:00:58.221Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 16636 --:--:-- --:--:-- --:--:-- 16636 [2024-07-01T21:00:58.221Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 [Pipeline] } [2024-07-01T21:00:58.251Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-07-01T21:01:00.619Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-556/archives ] [2024-07-01T21:01:00.619Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-556/archives [2024-07-01T21:01:00.619Z] total 16 [2024-07-01T21:01:00.619Z] drwxr-xr-x 3 root root 4096 Jul 1 20:45 . [2024-07-01T21:01:00.619Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 1 20:45 .. [2024-07-01T21:01:00.619Z] drwxr-xr-x 2 root root 4096 Jul 1 20:45 cost [2024-07-01T21:01:00.619Z] -rw-r--r-- 1 root root 88 Jul 1 20:45 cost.csv [2024-07-01T21:01:00.619Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-556/archives [2024-07-01T21:01:00.619Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-556/archives [2024-07-01T21:01:00.619Z] total 16 [2024-07-01T21:01:00.619Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 20:45 . [2024-07-01T21:01:00.619Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 1 20:45 .. [2024-07-01T21:01:00.619Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 1 20:45 cost [2024-07-01T21:01:00.619Z] -rw-r--r-- 1 jenkins jenkins 88 Jul 1 20:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-01T21:01:00.957Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-01T21:01:01.871Z] ---> package-listing.sh [2024-07-01T21:01:01.871Z] ++ facter osfamily [2024-07-01T21:01:01.871Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-01T21:01:02.129Z] + OS_FAMILY=debian [2024-07-01T21:01:02.129Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-556 [2024-07-01T21:01:02.129Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-01T21:01:02.129Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-01T21:01:02.129Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-01T21:01:02.129Z] + PACKAGES=/tmp/packages_start.txt [2024-07-01T21:01:02.129Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-556 ']' [2024-07-01T21:01:02.129Z] + PACKAGES=/tmp/packages_end.txt [2024-07-01T21:01:02.129Z] + case "${OS_FAMILY}" in [2024-07-01T21:01:02.129Z] + dpkg -l [2024-07-01T21:01:02.129Z] + grep '^ii' [2024-07-01T21:01:02.129Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-01T21:01:02.129Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-01T21:01:02.129Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-01T21:01:02.129Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-556 ']' [2024-07-01T21:01:02.129Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-556/archives/ [2024-07-01T21:01:02.129Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-556/archives/ [Pipeline] echo [2024-07-01T21:01:02.171Z] 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-556/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-01T21:01:02.473Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T21:01:03.136Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-01T21:01:03.136Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-01T21:01:03.301Z] prd-ubuntu20.04-docker-8c-8g-4710 does not seem to be running inside a container [2024-07-01T21:01:03.314Z] $ 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-556/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-556 -v /w/workspace/xfoundry_device-modbus-go_PR-556:/w/workspace/xfoundry_device-modbus-go_PR-556:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-556@tmp:/w/workspace/xfoundry_device-modbus-go_PR-556@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-01T21:01:04.833Z] $ docker top a2fe0c5b366e7578d3ca568f109a27e50be9870c4f49c11ef61a4b0be43946d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-01T21:01:05.258Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-01T21:01:05.579Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-01T21:01:05.897Z] + ls /var/log/sa-host [2024-07-01T21:01:05.897Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-01T21:01:06.068Z] provisioning config files... [2024-07-01T21:01:06.078Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-556@tmp/config17370075606309538754tmp [Pipeline] { [Pipeline] echo [2024-07-01T21:01:06.219Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-01T21:01:06.552Z] ---> create-netrc.sh [Pipeline] } [2024-07-01T21:01:06.603Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-01T21:01:07.035Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-01T21:01:07.080Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-01T21:01:07.413Z] ---> sudo-logs.sh [2024-07-01T21:01:07.413Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-01T21:01:07.527Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-01T21:01:07.855Z] ---> job-cost.sh [2024-07-01T21:01:07.855Z] lf-activate-venv: SKIPPING [2024-07-01T21:01:07.855Z] DEBUG: total: 0.2199999988079071 [2024-07-01T21:01:07.855Z] INFO: Retrieving Stack Cost... [2024-07-01T21:01:08.424Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-01T21:01:08.683Z] INFO: Archiving Costs [Pipeline] echo [2024-07-01T21:01:08.728Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-01T21:01:09.063Z] ---> logs-deploy.sh [2024-07-01T21:01:09.063Z] lf-activate-venv: SKIPPING [2024-07-01T21:01:09.063Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-556/1 [2024-07-01T21:01:09.063Z] INFO: archiving workspace using pattern(s): [2024-07-01T21:01:10.022Z] Archives upload complete. [2024-07-01T21:01:10.022Z] INFO: archiving logs to Nexus