Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0+016774ad856346449abec6a76f039c0b34c03e63 (577b05c8e73b727d9be4b7dfd10b5cb949165770) 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-ssh8645051815389979085.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-ssh7536408879349040683.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-556/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-556/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4187911238459762523.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 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-ssh11261607979720523987.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-556/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-556/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5353147817312386172.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4852’ Running on prd-ubuntu20.04-docker-8c-8g-4858 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 > 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 Merging remotes/origin/main commit 016774ad856346449abec6a76f039c0b34c03e63 into PR head commit 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 Merge succeeded, producing 3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 Checking out Revision 3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 (PR-556) > 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 016774ad856346449abec6a76f039c0b34c03e63 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 # timeout=10 Commit message: "Merge commit '016774ad856346449abec6a76f039c0b34c03e63' into HEAD" > git rev-list --no-walk 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-03T00:54:26.682Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-03T00:54:26.767Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-03T00:54:26.794Z] ========================================================= [2024-07-03T00:54:26.794Z] EdgeX Global Pipelines Version Info [2024-07-03T00:54:26.794Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-03T00:54:27.544Z] ------------------- [2024-07-03T00:54:27.544Z] stable info: [2024-07-03T00:54:27.544Z] ------------------- [2024-07-03T00:54:27.544Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-03T00:54:27.544Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-03T00:54:27.544Z] Message: update stable to v1.0.260 [2024-07-03T00:54:28.116Z] ------------------- [2024-07-03T00:54:28.116Z] experimental info: [2024-07-03T00:54:28.116Z] ------------------- [2024-07-03T00:54:28.116Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-03T00:54:28.116Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-03T00:54:28.116Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-03T00:54:28.238Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-07-03T00:54:28.262Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-07-03T00:54:28.284Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-03T00:54:28.308Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-03T00:54:28.333Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-03T00:54:28.355Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-03T00:54:28.378Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-03T00:54:28.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-03T00:54:28.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-03T00:54:28.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-03T00:54:28.481Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-03T00:54:28.503Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-07-03T00:54:28.531Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-03T00:54:28.555Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-03T00:54:28.586Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-03T00:54:28.611Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-03T00:54:28.630Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-03T00:54:28.653Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-03T00:54:28.674Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-03T00:54:28.696Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-03T00:54:28.718Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-03T00:54:28.739Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-03T00:54:28.763Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-03T00:54:28.787Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-03T00:54:28.813Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-03T00:54:28.833Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-03T00:54:28.857Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-03T00:54:28.881Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-556 [Pipeline] echo [2024-07-03T00:54:28.904Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-556 [Pipeline] echo [2024-07-03T00:54:28.931Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-556 [Pipeline] echo [2024-07-03T00:54:28.954Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 [Pipeline] echo [2024-07-03T00:54:28.978Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3f3f71a [Pipeline] echo [2024-07-03T00:54:29.006Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-03T00:54:29.084Z] provisioning config files... [2024-07-03T00:54:29.099Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-556@tmp/config5387932013972980618tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T00:54:29.431Z] ---> ****-login.sh [2024-07-03T00:54:29.431Z] nexus3.edgexfoundry.org:10001 [2024-07-03T00:54:29.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T00:54:29.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T00:54:29.690Z] Configure a credential helper to remove this warning. See [2024-07-03T00:54:29.690Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T00:54:29.690Z] [2024-07-03T00:54:29.690Z] Login Succeeded [2024-07-03T00:54:29.690Z] nexus3.edgexfoundry.org:10002 [2024-07-03T00:54:29.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T00:54:29.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T00:54:29.949Z] Configure a credential helper to remove this warning. See [2024-07-03T00:54:29.949Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T00:54:29.949Z] [2024-07-03T00:54:29.949Z] Login Succeeded [2024-07-03T00:54:29.949Z] nexus3.edgexfoundry.org:10003 [2024-07-03T00:54:29.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T00:54:29.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T00:54:29.949Z] Configure a credential helper to remove this warning. See [2024-07-03T00:54:29.949Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T00:54:29.949Z] [2024-07-03T00:54:29.949Z] Login Succeeded [2024-07-03T00:54:29.949Z] nexus3.edgexfoundry.org:10004 [2024-07-03T00:54:29.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T00:54:30.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T00:54:30.209Z] Configure a credential helper to remove this warning. See [2024-07-03T00:54:30.209Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T00:54:30.209Z] [2024-07-03T00:54:30.209Z] Login Succeeded [2024-07-03T00:54:30.209Z] ****.io [2024-07-03T00:54:30.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T00:54:30.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T00:54:30.469Z] Configure a credential helper to remove this warning. See [2024-07-03T00:54:30.469Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T00:54:30.469Z] [2024-07-03T00:54:30.469Z] Login Succeeded [2024-07-03T00:54:30.469Z] ---> ****-login.sh ends [Pipeline] } [2024-07-03T00:54:30.476Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-03T00:54:30.917Z] + git rev-list -1 --merges 3f3f71a6330a46bc663ac48cf1a533a8e59f6c00~1..3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 [Pipeline] echo [2024-07-03T00:54:30.946Z] -----------> git rev-list -1 --merges 3f3f71a6330a46bc663ac48cf1a533a8e59f6c00~1..3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 [2024-07-03T00:54:30.946Z] 3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 [false] [Pipeline] sh [2024-07-03T00:54:31.246Z] + git log --format=format:%s -1 3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 [Pipeline] echo [2024-07-03T00:54:31.262Z] ========================================================= [2024-07-03T00:54:31.262Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-03T00:54:31.262Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-03T00:54:31.594Z] + git log --format=format:%s -1 3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 [Pipeline] echo [2024-07-03T00:54:31.606Z] [semverPrep] GIT_COMMIT: 3f3f71a6330a46bc663ac48cf1a533a8e59f6c00, Commit Message: Merge commit '016774ad856346449abec6a76f039c0b34c03e63' into HEAD [Pipeline] echo [2024-07-03T00:54:31.621Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-03T00:54:31.999Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-03T00:54:31.999Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-03T00:54:31.999Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-03T00:54:31.999Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-03T00:54:31.999Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-03T00:54:31.999Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-03T00:54:31.999Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T00:54:32.423Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-03T00:54:32.423Z] [2024-07-03T00:54:32.423Z] 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-03T00:54:32.737Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-03T00:54:32.737Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-03T00:54:32.737Z] b85a868b505f: Pulling fs layer [2024-07-03T00:54:32.737Z] e2be974225ed: Pulling fs layer [2024-07-03T00:54:32.737Z] 339a4e72a1f5: Pulling fs layer [2024-07-03T00:54:32.737Z] 988bab9f4d93: Pulling fs layer [2024-07-03T00:54:32.737Z] 1469e6f7b9e6: Pulling fs layer [2024-07-03T00:54:32.737Z] eaf3925da568: Pulling fs layer [2024-07-03T00:54:32.737Z] bab4dde63d76: Pulling fs layer [2024-07-03T00:54:32.737Z] bde34c3a00c8: Pulling fs layer [2024-07-03T00:54:32.737Z] b352a97aabf1: Pulling fs layer [2024-07-03T00:54:32.737Z] 4872d77fe225: Pulling fs layer [2024-07-03T00:54:32.737Z] 5851b861e8e6: Pulling fs layer [2024-07-03T00:54:32.737Z] bde34c3a00c8: Waiting [2024-07-03T00:54:32.737Z] b352a97aabf1: Waiting [2024-07-03T00:54:32.737Z] 5851b861e8e6: Waiting [2024-07-03T00:54:32.737Z] 4872d77fe225: Waiting [2024-07-03T00:54:32.737Z] 1469e6f7b9e6: Waiting [2024-07-03T00:54:32.737Z] 988bab9f4d93: Waiting [2024-07-03T00:54:32.737Z] eaf3925da568: Waiting [2024-07-03T00:54:32.737Z] e2be974225ed: Verifying Checksum [2024-07-03T00:54:32.737Z] e2be974225ed: Download complete [2024-07-03T00:54:32.737Z] 988bab9f4d93: Download complete [2024-07-03T00:54:32.737Z] 1469e6f7b9e6: Verifying Checksum [2024-07-03T00:54:32.737Z] 1469e6f7b9e6: Download complete [2024-07-03T00:54:32.998Z] eaf3925da568: Verifying Checksum [2024-07-03T00:54:32.998Z] eaf3925da568: Download complete [2024-07-03T00:54:32.998Z] 339a4e72a1f5: Verifying Checksum [2024-07-03T00:54:32.998Z] 339a4e72a1f5: Download complete [2024-07-03T00:54:32.998Z] bde34c3a00c8: Verifying Checksum [2024-07-03T00:54:32.998Z] bde34c3a00c8: Download complete [2024-07-03T00:54:32.998Z] b352a97aabf1: Verifying Checksum [2024-07-03T00:54:32.998Z] b352a97aabf1: Download complete [2024-07-03T00:54:32.998Z] 4872d77fe225: Download complete [2024-07-03T00:54:32.998Z] 5851b861e8e6: Verifying Checksum [2024-07-03T00:54:32.998Z] 5851b861e8e6: Download complete [2024-07-03T00:54:32.998Z] b85a868b505f: Verifying Checksum [2024-07-03T00:54:32.998Z] b85a868b505f: Download complete [2024-07-03T00:54:33.265Z] bab4dde63d76: Verifying Checksum [2024-07-03T00:54:33.265Z] bab4dde63d76: Download complete [2024-07-03T00:54:34.202Z] b85a868b505f: Pull complete [2024-07-03T00:54:34.461Z] e2be974225ed: Pull complete [2024-07-03T00:54:35.034Z] 339a4e72a1f5: Pull complete [2024-07-03T00:54:35.034Z] 988bab9f4d93: Pull complete [2024-07-03T00:54:35.295Z] 1469e6f7b9e6: Pull complete [2024-07-03T00:54:35.295Z] eaf3925da568: Pull complete [2024-07-03T00:54:37.204Z] bab4dde63d76: Pull complete [2024-07-03T00:54:37.205Z] bde34c3a00c8: Pull complete [2024-07-03T00:54:37.205Z] b352a97aabf1: Pull complete [2024-07-03T00:54:37.464Z] 4872d77fe225: Pull complete [2024-07-03T00:54:37.464Z] 5851b861e8e6: Pull complete [2024-07-03T00:54:37.464Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-03T00:54:37.464Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-03T00:54:37.464Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T00:54:37.592Z] prd-ubuntu20.04-docker-8c-8g-4858 does not seem to be running inside a container [2024-07-03T00:54:37.617Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-03T00:54:40.727Z] $ docker top caed86d20e69d3ae5bf84c8e0745b7b94b43579a365a5ff2979745c8d3b83554 -eo pid,comm [2024-07-03T00:54:40.784Z] 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-03T00:54:40.784Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-03T00:54:40.846Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-03T00:54:40.846Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-03T00:54:40.981Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-03T00:54:40.983Z] $ docker exec caed86d20e69d3ae5bf84c8e0745b7b94b43579a365a5ff2979745c8d3b83554 ssh-agent [2024-07-03T00:54:41.095Z] SSH_AUTH_SOCK=/tmp/ssh-Qpf30aBFnFCr/agent.32 [2024-07-03T00:54:41.095Z] SSH_AGENT_PID=38 [2024-07-03T00:54:41.101Z] Running ssh-add (command line suppressed) [2024-07-03T00:54:41.200Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-556@tmp/private_key_428120138742265890.key (/w/workspace/xfoundry_device-modbus-go_PR-556@tmp/private_key_428120138742265890.key) [2024-07-03T00:54:41.218Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-03T00:54:41.516Z] + git tag --points-at HEAD [Pipeline] } [2024-07-03T00:54:41.526Z] $ docker exec --env ******** --env ******** caed86d20e69d3ae5bf84c8e0745b7b94b43579a365a5ff2979745c8d3b83554 ssh-agent -k [2024-07-03T00:54:41.624Z] unset SSH_AUTH_SOCK; [2024-07-03T00:54:41.624Z] unset SSH_AGENT_PID; [2024-07-03T00:54:41.624Z] echo Agent pid 38 killed; [2024-07-03T00:54:41.636Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-03T00:54:41.674Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-03T00:54:41.674Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-03T00:54:41.790Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-03T00:54:41.791Z] $ docker exec caed86d20e69d3ae5bf84c8e0745b7b94b43579a365a5ff2979745c8d3b83554 ssh-agent [2024-07-03T00:54:41.888Z] SSH_AUTH_SOCK=/tmp/ssh-lrW0Z4fM3INh/agent.71 [2024-07-03T00:54:41.888Z] SSH_AGENT_PID=77 [2024-07-03T00:54:41.892Z] Running ssh-add (command line suppressed) [2024-07-03T00:54:42.008Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-556@tmp/private_key_17217010149333738788.key (/w/workspace/xfoundry_device-modbus-go_PR-556@tmp/private_key_17217010149333738788.key) [2024-07-03T00:54:42.026Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-03T00:54:42.320Z] + git semver init [2024-07-03T00:54:42.580Z] 2024-07-03 00:54:42,503 [run_init] DEBUG init version:0.0.0 force:False [2024-07-03T00:54:42.580Z] 2024-07-03 00:54:42,503 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-556/.semver [2024-07-03T00:54:42.580Z] 2024-07-03 00:54:42,504 [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-03T00:54:42.580Z] 2024-07-03 00:54:42,504 [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-03T00:54:43.961Z] 2024-07-03 00:54:43,554 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-556/.git/info/exclude [2024-07-03T00:54:43.961Z] 2024-07-03 00:54:43,554 [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-03T00:54:43.961Z] 2024-07-03 00:54:43,554 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-556/.semver/PR-556 [2024-07-03T00:54:43.961Z] 2024-07-03 00:54:43,559 [execute] INFO git cat-file --batch-check [2024-07-03T00:54:43.961Z] 2024-07-03 00:54:43,560 [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-03T00:54:43.961Z] 2024-07-03 00:54:43,567 [execute] INFO git cat-file --batch [2024-07-03T00:54:43.961Z] 2024-07-03 00:54:43,567 [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-03T00:54:43.961Z] 2024-07-03 00:54:43,573 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-556/.semver/PR-556 [2024-07-03T00:54:43.961Z] 0.0.0 [Pipeline] } [2024-07-03T00:54:43.971Z] $ docker exec --env ******** --env ******** caed86d20e69d3ae5bf84c8e0745b7b94b43579a365a5ff2979745c8d3b83554 ssh-agent -k [2024-07-03T00:54:44.065Z] unset SSH_AUTH_SOCK; [2024-07-03T00:54:44.066Z] unset SSH_AGENT_PID; [2024-07-03T00:54:44.066Z] echo Agent pid 77 killed; [2024-07-03T00:54:44.077Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-03T00:54:44.402Z] + git semver [Pipeline] } [2024-07-03T00:54:44.673Z] $ docker stop --time=1 caed86d20e69d3ae5bf84c8e0745b7b94b43579a365a5ff2979745c8d3b83554 [2024-07-03T00:54:45.991Z] $ docker rm -f --volumes caed86d20e69d3ae5bf84c8e0745b7b94b43579a365a5ff2979745c8d3b83554 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-03T00:54:46.331Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-03T00:54:46.569Z] Stashed 1 file(s) [Pipeline] echo [2024-07-03T00:54:46.572Z] [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-03T00:54:46.769Z] provisioning config files... [2024-07-03T00:54:46.779Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-556@tmp/config11149997055628292611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T00:54:47.083Z] ---> ****-login.sh [2024-07-03T00:54:47.083Z] nexus3.edgexfoundry.org:10001 [2024-07-03T00:54:47.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T00:54:47.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T00:54:47.083Z] Configure a credential helper to remove this warning. See [2024-07-03T00:54:47.083Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T00:54:47.083Z] [2024-07-03T00:54:47.083Z] Login Succeeded [2024-07-03T00:54:47.083Z] nexus3.edgexfoundry.org:10002 [2024-07-03T00:54:47.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T00:54:47.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T00:54:47.084Z] Configure a credential helper to remove this warning. See [2024-07-03T00:54:47.084Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T00:54:47.084Z] [2024-07-03T00:54:47.084Z] Login Succeeded [2024-07-03T00:54:47.084Z] nexus3.edgexfoundry.org:10003 [2024-07-03T00:54:47.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T00:54:47.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T00:54:47.342Z] Configure a credential helper to remove this warning. See [2024-07-03T00:54:47.342Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T00:54:47.342Z] [2024-07-03T00:54:47.342Z] Login Succeeded [2024-07-03T00:54:47.342Z] nexus3.edgexfoundry.org:10004 [2024-07-03T00:54:47.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T00:54:47.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T00:54:47.342Z] Configure a credential helper to remove this warning. See [2024-07-03T00:54:47.342Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T00:54:47.342Z] [2024-07-03T00:54:47.342Z] Login Succeeded [2024-07-03T00:54:47.342Z] ****.io [2024-07-03T00:54:47.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T00:54:47.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T00:54:47.602Z] Configure a credential helper to remove this warning. See [2024-07-03T00:54:47.602Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T00:54:47.602Z] [2024-07-03T00:54:47.602Z] Login Succeeded [2024-07-03T00:54:47.602Z] ---> ****-login.sh ends [Pipeline] } [2024-07-03T00:54:47.610Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-03T00:54:47.710Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-03T00:54:47.729Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-03T00:54:47.745Z] ========================================================= [2024-07-03T00:54:47.745Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-03T00:54:47.745Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T00:54:48.076Z] + 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-03T00:54:48.076Z] Sending build context to Docker daemon 17.88MB [2024-07-03T00:54:48.076Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-03T00:54:48.076Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-03T00:54:48.336Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-03T00:54:48.336Z] 619be1103602: Pulling fs layer [2024-07-03T00:54:48.336Z] 7862e08f4a3e: Pulling fs layer [2024-07-03T00:54:48.336Z] 5df492c9dc93: Pulling fs layer [2024-07-03T00:54:48.336Z] 7629e6793208: Pulling fs layer [2024-07-03T00:54:48.336Z] 4f4fb700ef54: Pulling fs layer [2024-07-03T00:54:48.336Z] fb5054dd5b73: Pulling fs layer [2024-07-03T00:54:48.336Z] 7629e6793208: Waiting [2024-07-03T00:54:48.336Z] 4f4fb700ef54: Waiting [2024-07-03T00:54:48.336Z] eeca6798cff9: Pulling fs layer [2024-07-03T00:54:48.336Z] aa269ceb94a6: Pulling fs layer [2024-07-03T00:54:48.336Z] ada007ff1a6a: Pulling fs layer [2024-07-03T00:54:48.336Z] fb5054dd5b73: Waiting [2024-07-03T00:54:48.336Z] eeca6798cff9: Waiting [2024-07-03T00:54:48.336Z] ada007ff1a6a: Waiting [2024-07-03T00:54:48.336Z] 7862e08f4a3e: Verifying Checksum [2024-07-03T00:54:48.336Z] 7862e08f4a3e: Download complete [2024-07-03T00:54:48.336Z] 7629e6793208: Verifying Checksum [2024-07-03T00:54:48.336Z] 7629e6793208: Download complete [2024-07-03T00:54:48.336Z] 4f4fb700ef54: Verifying Checksum [2024-07-03T00:54:48.336Z] 4f4fb700ef54: Download complete [2024-07-03T00:54:48.336Z] fb5054dd5b73: Verifying Checksum [2024-07-03T00:54:48.336Z] fb5054dd5b73: Download complete [2024-07-03T00:54:48.336Z] 619be1103602: Verifying Checksum [2024-07-03T00:54:48.336Z] 619be1103602: Download complete [2024-07-03T00:54:48.336Z] eeca6798cff9: Verifying Checksum [2024-07-03T00:54:48.336Z] eeca6798cff9: Download complete [2024-07-03T00:54:48.596Z] 619be1103602: Pull complete [2024-07-03T00:54:48.596Z] ada007ff1a6a: Verifying Checksum [2024-07-03T00:54:48.596Z] ada007ff1a6a: Download complete [2024-07-03T00:54:48.596Z] 7862e08f4a3e: Pull complete [2024-07-03T00:54:48.596Z] 5df492c9dc93: Verifying Checksum [2024-07-03T00:54:48.596Z] 5df492c9dc93: Download complete [2024-07-03T00:54:49.162Z] aa269ceb94a6: Verifying Checksum [2024-07-03T00:54:49.162Z] aa269ceb94a6: Download complete [2024-07-03T00:54:52.445Z] 5df492c9dc93: Pull complete [2024-07-03T00:54:52.445Z] 7629e6793208: Pull complete [2024-07-03T00:54:52.445Z] 4f4fb700ef54: Pull complete [2024-07-03T00:54:52.445Z] fb5054dd5b73: Pull complete [2024-07-03T00:54:52.445Z] eeca6798cff9: Pull complete [2024-07-03T00:54:54.980Z] aa269ceb94a6: Pull complete [2024-07-03T00:54:55.239Z] ada007ff1a6a: Pull complete [2024-07-03T00:54:55.239Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-03T00:54:55.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-03T00:54:55.239Z] ---> f489d0715acc [2024-07-03T00:54:55.239Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-07-03T00:55:00.571Z] ---> Running in 745dde4f49c3 [2024-07-03T00:55:00.831Z] Removing intermediate container 745dde4f49c3 [2024-07-03T00:55:00.831Z] ---> 80746dcd767f [2024-07-03T00:55:00.831Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-03T00:55:00.831Z] ---> Running in 00e302e2c7e5 [2024-07-03T00:55:00.831Z] Removing intermediate container 00e302e2c7e5 [2024-07-03T00:55:00.831Z] ---> fd69f7706cb0 [2024-07-03T00:55:00.831Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-07-03T00:55:00.831Z] ---> Running in 10bfef2ce6dc [2024-07-03T00:55:01.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-03T00:55:01.716Z] Still waiting to schedule task [2024-07-03T00:55:01.716Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4857’ [2024-07-03T00:55:04.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-03T00:55:04.381Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-07-03T00:55:04.381Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-07-03T00:55:04.381Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-07-03T00:55:04.381Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-07-03T00:55:04.381Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-07-03T00:55:04.381Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-07-03T00:55:04.381Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-07-03T00:55:04.381Z] (8/8) Installing openssh (9.3_p2-r2) [2024-07-03T00:55:04.381Z] Executing busybox-1.36.1-r5.trigger [2024-07-03T00:55:04.381Z] OK: 270 MiB in 60 packages [2024-07-03T00:55:04.639Z] Removing intermediate container 10bfef2ce6dc [2024-07-03T00:55:04.639Z] ---> 861bbb15bac4 [2024-07-03T00:55:04.639Z] Step 6/10 : WORKDIR /device-modbus-go [2024-07-03T00:55:04.899Z] ---> Running in 7bfbed01e688 [2024-07-03T00:55:04.899Z] Removing intermediate container 7bfbed01e688 [2024-07-03T00:55:04.899Z] ---> 1fa2336dc3ba [2024-07-03T00:55:04.899Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-03T00:55:04.899Z] ---> f8a974913943 [2024-07-03T00:55:04.899Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-03T00:55:04.899Z] ---> Running in e0851d433078 [2024-07-03T00:56:15.579Z] Removing intermediate container e0851d433078 [2024-07-03T00:56:15.579Z] ---> a66c7724be5f [2024-07-03T00:56:15.579Z] Step 9/10 : COPY . . [2024-07-03T00:56:15.579Z] ---> a69424d61825 [2024-07-03T00:56:15.579Z] Step 10/10 : RUN ${MAKE} [2024-07-03T00:56:15.579Z] ---> Running in 890fce5caffd [2024-07-03T00:56:15.579Z] noop [2024-07-03T00:56:15.579Z] Removing intermediate container 890fce5caffd [2024-07-03T00:56:15.579Z] ---> 35efd31ef09d [2024-07-03T00:56:15.579Z] Successfully built 35efd31ef09d [2024-07-03T00:56:15.579Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T00:56:15.908Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-03T00:56:15.908Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T00:56:15.994Z] prd-ubuntu20.04-docker-8c-8g-4858 does not seem to be running inside a container [2024-07-03T00:56:16.016Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-03T00:56:16.331Z] $ docker top 4c86e592e60584d066ebae58e2f8285c80eb136d3aa69aa1bf4dcfa9d39c65a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T00:56:16.681Z] + go version [2024-07-03T00:56:16.681Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-03T00:56:16.692Z] $ docker stop --time=1 4c86e592e60584d066ebae58e2f8285c80eb136d3aa69aa1bf4dcfa9d39c65a8 [2024-07-03T00:56:17.919Z] $ docker rm -f --volumes 4c86e592e60584d066ebae58e2f8285c80eb136d3aa69aa1bf4dcfa9d39c65a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T00:56:18.357Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-03T00:56:18.357Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T00:56:18.436Z] prd-ubuntu20.04-docker-8c-8g-4858 does not seem to be running inside a container [2024-07-03T00:56:18.464Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-03T00:56:18.766Z] $ docker top 701a93891f847f6dc24885df75682b80ed98f712109aee68731279ebc9608ce0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T00:56:19.122Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-556 [Pipeline] fileExists [Pipeline] sh [2024-07-03T00:56:19.426Z] + make test [2024-07-03T00:56:19.426Z] go test ./... -coverprofile=coverage.out [2024-07-03T00:56:20.800Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-07-03T00:56:38.867Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-07-03T00:56:38.867Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 47.9% of statements [2024-07-03T00:56:45.431Z] go vet ./... [2024-07-03T00:56:50.690Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-03T00:56:50.690Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-03T00:56:50.690Z] ./bin/test-attribution-txt.sh [2024-07-03T00:56:50.690Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-03T00:56:50.690Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-03T00:56:50.691Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-03T00:56:50.705Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-03T00:56:50.721Z] $ docker stop --time=1 701a93891f847f6dc24885df75682b80ed98f712109aee68731279ebc9608ce0 [2024-07-03T00:56:53.028Z] $ docker rm -f --volumes 701a93891f847f6dc24885df75682b80ed98f712109aee68731279ebc9608ce0 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-03T00:56:53.563Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-03T00:56:53.615Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-03T00:56:54.143Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-03T00:56:54.430Z] + ls -al . [2024-07-03T00:56:54.430Z] total 264 [2024-07-03T00:56:54.430Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 3 00:56 . [2024-07-03T00:56:54.430Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 00:54 .. [2024-07-03T00:56:54.430Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 3 00:54 .dockerignore [2024-07-03T00:56:54.430Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 00:56 .git [2024-07-03T00:56:54.430Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 00:54 .github [2024-07-03T00:56:54.430Z] -rw-rw-r-- 1 jenkins jenkins 266 Jul 3 00:54 .gitignore [2024-07-03T00:56:54.430Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 3 00:54 .golangci.yml [2024-07-03T00:56:54.430Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 00:54 .semver [2024-07-03T00:56:54.430Z] -rw-rw-r-- 1 jenkins jenkins 11101 Jul 3 00:54 Attribution.txt [2024-07-03T00:56:54.430Z] -rw-rw-r-- 1 jenkins jenkins 16388 Jul 3 00:54 CHANGELOG.md [2024-07-03T00:56:54.430Z] -rw-rw-r-- 1 jenkins jenkins 1474 Jul 3 00:54 Dockerfile [2024-07-03T00:56:54.430Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 00:54 GOVERNANCE.md [2024-07-03T00:56:54.430Z] -rw-rw-r-- 1 jenkins jenkins 658 Jul 3 00:54 Jenkinsfile [2024-07-03T00:56:54.430Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 3 00:54 LICENSE [2024-07-03T00:56:54.430Z] -rw-rw-r-- 1 jenkins jenkins 1942 Jul 3 00:54 Makefile [2024-07-03T00:56:54.430Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 3 00:54 OWNERS.md [2024-07-03T00:56:54.430Z] -rw-rw-r-- 1 jenkins jenkins 4463 Jul 3 00:54 README.md [2024-07-03T00:56:54.430Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 3 00:54 VERSION [2024-07-03T00:56:54.430Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 00:54 bin [2024-07-03T00:56:54.430Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 00:54 cmd [2024-07-03T00:56:54.430Z] -rw-r--r-- 1 jenkins jenkins 24601 Jul 3 00:56 coverage.out [2024-07-03T00:56:54.430Z] -rw-rw-r-- 1 jenkins jenkins 7241 Jul 3 00:54 go.mod [2024-07-03T00:56:54.430Z] -rw-rw-r-- 1 jenkins jenkins 102291 Jul 3 00:54 go.sum [2024-07-03T00:56:54.430Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 00:54 internal [2024-07-03T00:56:54.430Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 00:54 simulator [2024-07-03T00:56:54.430Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 3 00:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T00:56:54.776Z] + 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=3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 --label arch=amd64 --label version=0.0.0 . [2024-07-03T00:56:54.777Z] Sending build context to Docker daemon 17.91MB [2024-07-03T00:56:54.777Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-07-03T00:56:54.777Z] Step 2/23 : FROM ${BASE} AS builder [2024-07-03T00:56:54.777Z] ---> 35efd31ef09d [2024-07-03T00:56:54.777Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-07-03T00:56:55.036Z] ---> Running in 8378d6150e51 [2024-07-03T00:56:55.294Z] Removing intermediate container 8378d6150e51 [2024-07-03T00:56:55.294Z] ---> a4d695db8df8 [2024-07-03T00:56:55.294Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-03T00:56:55.294Z] ---> Running in a4091819a05c [2024-07-03T00:56:55.294Z] Removing intermediate container a4091819a05c [2024-07-03T00:56:55.294Z] ---> df2a1739db2d [2024-07-03T00:56:55.294Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-07-03T00:56:55.294Z] ---> Running in a2772519b1ac [2024-07-03T00:56:55.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-03T00:56:55.809Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-03T00:56:56.067Z] OK: 270 MiB in 60 packages [2024-07-03T00:56:56.326Z] Removing intermediate container a2772519b1ac [2024-07-03T00:56:56.326Z] ---> d4b32f088188 [2024-07-03T00:56:56.326Z] Step 6/23 : WORKDIR /device-modbus-go [2024-07-03T00:56:56.326Z] ---> Running in 636371e63e3e [2024-07-03T00:56:56.326Z] Removing intermediate container 636371e63e3e [2024-07-03T00:56:56.326Z] ---> cb81b96b15bf [2024-07-03T00:56:56.326Z] Step 7/23 : COPY go.mod vendor* ./ [2024-07-03T00:56:56.586Z] ---> 152ecd31a86b [2024-07-03T00:56:56.586Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-03T00:56:56.586Z] ---> Running in 78ef33955ecb [2024-07-03T00:56:57.153Z] Removing intermediate container 78ef33955ecb [2024-07-03T00:56:57.153Z] ---> 5b63200fec31 [2024-07-03T00:56:57.153Z] Step 9/23 : COPY . . [2024-07-03T00:56:57.721Z] ---> c1c849dc8b6f [2024-07-03T00:56:57.721Z] Step 10/23 : RUN ${MAKE} [2024-07-03T00:56:57.721Z] ---> Running in 10667fbcb477 [2024-07-03T00:56:57.980Z] 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.19" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-07-03T00:57:30.047Z] Removing intermediate container 10667fbcb477 [2024-07-03T00:57:30.047Z] ---> 7e90ab8acaa3 [2024-07-03T00:57:30.047Z] Step 11/23 : FROM alpine:3.18 [2024-07-03T00:57:30.047Z] 3.18: Pulling from library/alpine [2024-07-03T00:57:30.047Z] 73baa7ef167e: Pulling fs layer [2024-07-03T00:57:30.047Z] 73baa7ef167e: Verifying Checksum [2024-07-03T00:57:30.047Z] 73baa7ef167e: Download complete [2024-07-03T00:57:30.047Z] 73baa7ef167e: Pull complete [2024-07-03T00:57:30.047Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-03T00:57:30.047Z] Status: Downloaded newer image for alpine:3.18 [2024-07-03T00:57:30.047Z] ---> 8fd7cac70a4a [2024-07-03T00:57:30.047Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-07-03T00:57:30.047Z] ---> Running in 74ce9e5fc008 [2024-07-03T00:57:30.047Z] Removing intermediate container 74ce9e5fc008 [2024-07-03T00:57:30.047Z] ---> c36dbc8ffa46 [2024-07-03T00:57:30.047Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-07-03T00:57:30.047Z] ---> Running in fcb136847065 [2024-07-03T00:57:30.047Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-03T00:57:30.047Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-03T00:57:30.047Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-03T00:57:30.047Z] Executing busybox-1.36.1-r7.trigger [2024-07-03T00:57:30.047Z] OK: 7 MiB in 16 packages [2024-07-03T00:57:30.047Z] Removing intermediate container fcb136847065 [2024-07-03T00:57:30.047Z] ---> 9200ff380b31 [2024-07-03T00:57:30.047Z] Step 14/23 : RUN apk --no-cache upgrade [2024-07-03T00:57:30.047Z] ---> Running in 7566a3649cbf [2024-07-03T00:57:30.047Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-03T00:57:30.047Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-03T00:57:30.047Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-03T00:57:30.047Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-03T00:57:30.047Z] OK: 7 MiB in 16 packages [2024-07-03T00:57:30.047Z] Removing intermediate container 7566a3649cbf [2024-07-03T00:57:30.047Z] ---> 867253407d2d [2024-07-03T00:57:30.047Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-07-03T00:57:30.616Z] ---> f67cfb92fdac [2024-07-03T00:57:30.616Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-07-03T00:57:30.616Z] ---> 8f8e3a167fa7 [2024-07-03T00:57:30.616Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-07-03T00:57:30.876Z] ---> 38977d1d9568 [2024-07-03T00:57:30.876Z] Step 18/23 : EXPOSE 59901 [2024-07-03T00:57:30.876Z] ---> Running in d08831ce0296 [2024-07-03T00:57:30.876Z] Removing intermediate container d08831ce0296 [2024-07-03T00:57:30.876Z] ---> 289bf1bdf3d1 [2024-07-03T00:57:30.876Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-07-03T00:57:30.876Z] ---> Running in 0317fd933702 [2024-07-03T00:57:31.136Z] Removing intermediate container 0317fd933702 [2024-07-03T00:57:31.136Z] ---> a5cc6abce91c [2024-07-03T00:57:31.136Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-03T00:57:31.136Z] ---> Running in e5e6aeea2e68 [2024-07-03T00:57:31.136Z] Removing intermediate container e5e6aeea2e68 [2024-07-03T00:57:31.136Z] ---> be694b62a3db [2024-07-03T00:57:31.136Z] Step 21/23 : LABEL arch=amd64 [2024-07-03T00:57:31.136Z] ---> Running in cd9aeb3eb5c3 [2024-07-03T00:57:31.136Z] Removing intermediate container cd9aeb3eb5c3 [2024-07-03T00:57:31.136Z] ---> 06ef87c90116 [2024-07-03T00:57:31.136Z] Step 22/23 : LABEL git_sha=3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 [2024-07-03T00:57:31.136Z] ---> Running in 88e3d9b8b4d4 [2024-07-03T00:57:31.397Z] Removing intermediate container 88e3d9b8b4d4 [2024-07-03T00:57:31.397Z] ---> 00f834fe49cc [2024-07-03T00:57:31.397Z] Step 23/23 : LABEL version=0.0.0 [2024-07-03T00:57:31.397Z] ---> Running in 8987521144e9 [2024-07-03T00:57:31.397Z] Removing intermediate container 8987521144e9 [2024-07-03T00:57:31.397Z] ---> e579225d9612 [2024-07-03T00:57:31.397Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-03T00:57:31.397Z] Successfully built e579225d9612 [2024-07-03T00:57:31.397Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [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-03T00:57:31.922Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-03T00:57:31.922Z] [2024-07-03T00:57:31.922Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T00:57:32.232Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-03T00:57:32.232Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-03T00:57:32.232Z] 5eb5b503b376: Pulling fs layer [2024-07-03T00:57:32.232Z] 5c69ac0246d0: Pulling fs layer [2024-07-03T00:57:32.232Z] ec43610c2a17: Pulling fs layer [2024-07-03T00:57:32.232Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-03T00:57:32.232Z] 33b1e0a273af: Pulling fs layer [2024-07-03T00:57:32.232Z] 5d3b04190fa2: Pulling fs layer [2024-07-03T00:57:32.232Z] 2f39f015ded8: Pulling fs layer [2024-07-03T00:57:32.232Z] 33b1e0a273af: Waiting [2024-07-03T00:57:32.232Z] 5d3b04190fa2: Waiting [2024-07-03T00:57:32.232Z] 2f39f015ded8: Waiting [2024-07-03T00:57:32.232Z] 3a2ae6a8a46f: Waiting [2024-07-03T00:57:32.232Z] 5c69ac0246d0: Verifying Checksum [2024-07-03T00:57:32.232Z] 5c69ac0246d0: Download complete [2024-07-03T00:57:32.232Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-03T00:57:32.232Z] 3a2ae6a8a46f: Download complete [2024-07-03T00:57:32.232Z] 33b1e0a273af: Verifying Checksum [2024-07-03T00:57:32.232Z] 33b1e0a273af: Download complete [2024-07-03T00:57:32.232Z] 5d3b04190fa2: Verifying Checksum [2024-07-03T00:57:32.232Z] 5d3b04190fa2: Download complete [2024-07-03T00:57:32.232Z] ec43610c2a17: Verifying Checksum [2024-07-03T00:57:32.232Z] ec43610c2a17: Download complete [2024-07-03T00:57:32.489Z] 5eb5b503b376: Verifying Checksum [2024-07-03T00:57:32.489Z] 5eb5b503b376: Download complete [2024-07-03T00:57:33.055Z] 2f39f015ded8: Download complete [2024-07-03T00:57:33.620Z] 5eb5b503b376: Pull complete [2024-07-03T00:57:33.620Z] 5c69ac0246d0: Pull complete [2024-07-03T00:57:34.187Z] ec43610c2a17: Pull complete [2024-07-03T00:57:34.187Z] 3a2ae6a8a46f: Pull complete [2024-07-03T00:57:34.444Z] 33b1e0a273af: Pull complete [2024-07-03T00:57:34.444Z] 5d3b04190fa2: Pull complete [2024-07-03T00:57:38.622Z] 2f39f015ded8: Pull complete [2024-07-03T00:57:38.622Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-03T00:57:38.622Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-03T00:57:38.622Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T00:57:38.725Z] prd-ubuntu20.04-docker-8c-8g-4858 does not seem to be running inside a container [2024-07-03T00:57:38.753Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-03T00:57:42.786Z] $ docker top 07a956de5aaef0f4b11e07282d072500ebaccb591fc63b1d0913eab5a79bf3e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T00:57:43.189Z] ---> job-cost.sh [2024-07-03T00:57:43.189Z] lf-activate-venv: SKIPPING [2024-07-03T00:57:43.189Z] INFO: No Stack... [2024-07-03T00:57:43.448Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-03T00:57:43.709Z] INFO: Archiving Costs [Pipeline] sh [2024-07-03T00:57:44.003Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-556/archives/cost.csv [2024-07-03T00:57:44.003Z] + cut -d, -f6 [Pipeline] lock [2024-07-03T00:57:44.019Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-556-2-stack-cost] [2024-07-03T00:57:44.032Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-556-2-stack-cost] did not exist. Created. [2024-07-03T00:57:44.041Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-556-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-03T00:57:44.353Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-03T00:57:44.390Z] Stashed 1 file(s) [Pipeline] } [2024-07-03T00:57:44.400Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-556-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-03T00:57:44.430Z] $ docker stop --time=1 07a956de5aaef0f4b11e07282d072500ebaccb591fc63b1d0913eab5a79bf3e9 [2024-07-03T00:57:45.575Z] $ docker rm -f --volumes 07a956de5aaef0f4b11e07282d072500ebaccb591fc63b1d0913eab5a79bf3e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-03T00:58:49.275Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4859 in /w/workspace/xfoundry_device-modbus-go_PR-556 [Pipeline] { [Pipeline] ws [2024-07-03T00:58:49.295Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2024-07-03T00:58:49.346Z] The recommended git tool is: git [2024-07-03T00:58:58.297Z] using credential edgex-jenkins-ssh [2024-07-03T00:58:58.320Z] Cloning the remote Git repository [2024-07-03T00:58:58.364Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-07-03T00:58:58.468Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2024-07-03T00:58:58.660Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-07-03T00:58:58.661Z] > git --version # timeout=10 [2024-07-03T00:58:58.706Z] > git --version # 'git version 2.25.1' [2024-07-03T00:58:58.715Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-03T00:58:59.020Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-03T00:59:01.371Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-07-03T00:59:01.414Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-03T00:59:03.187Z] Merging remotes/origin/main commit 016774ad856346449abec6a76f039c0b34c03e63 into PR head commit 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 [2024-07-03T00:59:02.544Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-07-03T00:59:02.623Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-07-03T00:59:02.623Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-03T00:59:02.655Z] > 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-03T00:59:03.198Z] > git config core.sparsecheckout # timeout=10 [2024-07-03T00:59:03.663Z] Merge succeeded, producing 4eec31fadddf0e29b487e0487de9bd55af30ffcb [2024-07-03T00:59:03.664Z] Checking out Revision 4eec31fadddf0e29b487e0487de9bd55af30ffcb (PR-556) [2024-07-03T00:59:03.293Z] > git checkout -f 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 # timeout=10 [2024-07-03T00:59:03.421Z] > git remote # timeout=10 [2024-07-03T00:59:03.453Z] > git config --get remote.origin.url # timeout=10 [2024-07-03T00:59:03.477Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-03T00:59:03.503Z] > git merge 016774ad856346449abec6a76f039c0b34c03e63 # timeout=10 [2024-07-03T00:59:03.634Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-03T00:59:03.666Z] > git config core.sparsecheckout # timeout=10 [2024-07-03T00:59:03.691Z] > git checkout -f 4eec31fadddf0e29b487e0487de9bd55af30ffcb # timeout=10 [2024-07-03T00:59:07.463Z] Commit message: "Merge commit '016774ad856346449abec6a76f039c0b34c03e63' into HEAD" [2024-07-03T00:59:07.467Z] > git rev-list --no-walk 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-03T00:59:09.309Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-03T00:59:09.309Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-03T00:59:09.309Z] Dload Upload Total Spent Left Speed [2024-07-03T00:59:09.309Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 81707 0 --:--:-- --:--:-- --:--:-- 81707 [Pipeline] sh [2024-07-03T00:59:09.632Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-03T00:59:09.954Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-03T00:59:09.954Z] + sudo tee /etc/docker/daemon.new [2024-07-03T00:59:09.954Z] { [2024-07-03T00:59:09.954Z] "registry-mirrors": [ [2024-07-03T00:59:09.954Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-03T00:59:09.954Z] ], [2024-07-03T00:59:09.954Z] "bip": "10.250.0.254/24", [2024-07-03T00:59:09.954Z] "hosts": [ [2024-07-03T00:59:09.954Z] "tcp://0.0.0.0:5555", [2024-07-03T00:59:09.954Z] "unix:///var/run/docker.sock" [2024-07-03T00:59:09.954Z] ], [2024-07-03T00:59:09.954Z] "mtu": 1458, [2024-07-03T00:59:09.954Z] "selinux-enabled": true, [2024-07-03T00:59:09.954Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-03T00:59:09.954Z] } [Pipeline] sh [2024-07-03T00:59:10.276Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-03T00:59:10.606Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-03T00:59:28.864Z] provisioning config files... [2024-07-03T00:59:28.886Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config7239950289238047476tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T00:59:29.351Z] ---> ****-login.sh [2024-07-03T00:59:29.351Z] nexus3.edgexfoundry.org:10001 [2024-07-03T00:59:29.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T00:59:30.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T00:59:30.221Z] Configure a credential helper to remove this warning. See [2024-07-03T00:59:30.221Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T00:59:30.221Z] [2024-07-03T00:59:30.221Z] Login Succeeded [2024-07-03T00:59:30.221Z] nexus3.edgexfoundry.org:10002 [2024-07-03T00:59:30.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T00:59:30.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T00:59:30.492Z] Configure a credential helper to remove this warning. See [2024-07-03T00:59:30.492Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T00:59:30.492Z] [2024-07-03T00:59:30.492Z] Login Succeeded [2024-07-03T00:59:30.492Z] nexus3.edgexfoundry.org:10003 [2024-07-03T00:59:30.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T00:59:30.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T00:59:30.760Z] Configure a credential helper to remove this warning. See [2024-07-03T00:59:30.760Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T00:59:30.760Z] [2024-07-03T00:59:30.760Z] Login Succeeded [2024-07-03T00:59:31.035Z] nexus3.edgexfoundry.org:10004 [2024-07-03T00:59:31.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T00:59:31.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T00:59:31.306Z] Configure a credential helper to remove this warning. See [2024-07-03T00:59:31.306Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T00:59:31.306Z] [2024-07-03T00:59:31.306Z] Login Succeeded [2024-07-03T00:59:31.306Z] ****.io [2024-07-03T00:59:31.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T00:59:31.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T00:59:31.852Z] Configure a credential helper to remove this warning. See [2024-07-03T00:59:31.852Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T00:59:31.852Z] [2024-07-03T00:59:31.852Z] Login Succeeded [2024-07-03T00:59:31.852Z] ---> ****-login.sh ends [Pipeline] } [2024-07-03T00:59:31.866Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-03T00:59:32.309Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-03T00:59:32.334Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-03T00:59:32.352Z] ========================================================= [2024-07-03T00:59:32.352Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-03T00:59:32.352Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T00:59:32.715Z] + 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-03T00:59:33.307Z] Sending build context to Docker daemon 9.094MB [2024-07-03T00:59:33.307Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-03T00:59:33.307Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-03T00:59:33.307Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-03T00:59:33.307Z] c6b39de5b339: Pulling fs layer [2024-07-03T00:59:33.307Z] a69c41024577: Pulling fs layer [2024-07-03T00:59:33.307Z] d6de4b400683: Pulling fs layer [2024-07-03T00:59:33.307Z] 35cb2a7552d0: Pulling fs layer [2024-07-03T00:59:33.307Z] 4f4fb700ef54: Pulling fs layer [2024-07-03T00:59:33.307Z] 464afbd9ba4c: Pulling fs layer [2024-07-03T00:59:33.307Z] 00f215d4a9da: Pulling fs layer [2024-07-03T00:59:33.307Z] d496ad576159: Pulling fs layer [2024-07-03T00:59:33.307Z] 35cb2a7552d0: Waiting [2024-07-03T00:59:33.307Z] 4f4fb700ef54: Waiting [2024-07-03T00:59:33.307Z] 464afbd9ba4c: Waiting [2024-07-03T00:59:33.307Z] d496ad576159: Waiting [2024-07-03T00:59:33.307Z] 00f215d4a9da: Waiting [2024-07-03T00:59:33.307Z] a69c41024577: Verifying Checksum [2024-07-03T00:59:33.307Z] a69c41024577: Download complete [2024-07-03T00:59:33.576Z] 35cb2a7552d0: Verifying Checksum [2024-07-03T00:59:33.576Z] 35cb2a7552d0: Download complete [2024-07-03T00:59:33.576Z] c6b39de5b339: Download complete [2024-07-03T00:59:33.576Z] 4f4fb700ef54: Verifying Checksum [2024-07-03T00:59:33.576Z] 4f4fb700ef54: Download complete [2024-07-03T00:59:33.576Z] 464afbd9ba4c: Download complete [2024-07-03T00:59:34.172Z] d496ad576159: Verifying Checksum [2024-07-03T00:59:34.172Z] d496ad576159: Download complete [2024-07-03T00:59:34.442Z] c6b39de5b339: Pull complete [2024-07-03T00:59:35.026Z] a69c41024577: Pull complete [2024-07-03T00:59:35.609Z] d6de4b400683: Verifying Checksum [2024-07-03T00:59:35.609Z] d6de4b400683: Download complete [2024-07-03T00:59:36.573Z] 00f215d4a9da: Verifying Checksum [2024-07-03T00:59:36.573Z] 00f215d4a9da: Download complete [2024-07-03T00:59:48.878Z] d6de4b400683: Pull complete [2024-07-03T00:59:48.878Z] 35cb2a7552d0: Pull complete [2024-07-03T00:59:48.878Z] 4f4fb700ef54: Pull complete [2024-07-03T00:59:49.145Z] 464afbd9ba4c: Pull complete [2024-07-03T00:59:59.328Z] 00f215d4a9da: Pull complete [2024-07-03T01:00:00.292Z] d496ad576159: Pull complete [2024-07-03T01:00:00.292Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-03T01:00:00.292Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-03T01:00:00.292Z] ---> f246e2811388 [2024-07-03T01:00:00.292Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-07-03T01:00:01.260Z] ---> Running in b4d47e214b08 [2024-07-03T01:00:01.536Z] Removing intermediate container b4d47e214b08 [2024-07-03T01:00:01.536Z] ---> 182898ed1d6a [2024-07-03T01:00:01.536Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-03T01:00:01.536Z] ---> Running in 43762a1bcf71 [2024-07-03T01:00:01.807Z] Removing intermediate container 43762a1bcf71 [2024-07-03T01:00:01.807Z] ---> 7dee85928927 [2024-07-03T01:00:01.807Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-07-03T01:00:02.084Z] ---> Running in fc90cc82cfd4 [2024-07-03T01:00:03.052Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-03T01:00:03.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-03T01:00:04.229Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-07-03T01:00:04.229Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-07-03T01:00:04.498Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-07-03T01:00:04.498Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-07-03T01:00:04.498Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-07-03T01:00:04.498Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-07-03T01:00:04.773Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-07-03T01:00:04.773Z] (8/8) Installing openssh (9.3_p2-r2) [2024-07-03T01:00:05.043Z] Executing busybox-1.36.1-r5.trigger [2024-07-03T01:00:05.043Z] OK: 272 MiB in 60 packages [2024-07-03T01:00:06.476Z] Removing intermediate container fc90cc82cfd4 [2024-07-03T01:00:06.476Z] ---> c0f0d95b5f77 [2024-07-03T01:00:06.476Z] Step 6/10 : WORKDIR /device-modbus-go [2024-07-03T01:00:06.476Z] ---> Running in ece98ede66ae [2024-07-03T01:00:07.482Z] Removing intermediate container ece98ede66ae [2024-07-03T01:00:07.482Z] ---> ffa36f17a693 [2024-07-03T01:00:07.482Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-03T01:00:08.092Z] ---> 28bfefcecfe8 [2024-07-03T01:00:08.092Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-03T01:00:08.092Z] ---> Running in d78b16acf4d3 [2024-07-03T01:01:59.834Z] Removing intermediate container d78b16acf4d3 [2024-07-03T01:01:59.834Z] ---> fdf353cf1f92 [2024-07-03T01:01:59.834Z] Step 9/10 : COPY . . [2024-07-03T01:01:59.834Z] ---> 70e3bb31ea0d [2024-07-03T01:01:59.834Z] Step 10/10 : RUN ${MAKE} [2024-07-03T01:01:59.834Z] ---> Running in 7d42f962929e [2024-07-03T01:01:59.834Z] noop [2024-07-03T01:01:59.834Z] Removing intermediate container 7d42f962929e [2024-07-03T01:01:59.834Z] ---> 2974b18d23dd [2024-07-03T01:01:59.834Z] Successfully built 2974b18d23dd [2024-07-03T01:01:59.834Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T01:02:00.221Z] + docker inspect -f . ci-base-image-arm64 [2024-07-03T01:02:00.221Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T01:02:00.420Z] prd-ubuntu20.04-docker-arm64-4c-16g-4859 does not seem to be running inside a container [2024-07-03T01:02:00.487Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-03T01:02:01.705Z] $ docker top 34e0867c07571fcb7aeb71233051a3d49fb15643397faec4cbc5fd71105e3c74 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T01:02:02.551Z] + go version [2024-07-03T01:02:02.551Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-03T01:02:02.567Z] $ docker stop --time=1 34e0867c07571fcb7aeb71233051a3d49fb15643397faec4cbc5fd71105e3c74 [2024-07-03T01:02:04.214Z] $ docker rm -f --volumes 34e0867c07571fcb7aeb71233051a3d49fb15643397faec4cbc5fd71105e3c74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T01:02:04.813Z] + docker inspect -f . ci-base-image-arm64 [2024-07-03T01:02:04.813Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T01:02:05.013Z] prd-ubuntu20.04-docker-arm64-4c-16g-4859 does not seem to be running inside a container [2024-07-03T01:02:05.071Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-03T01:02:06.333Z] $ docker top 7990b37fcb2b1c414b054e6272571448f6fcc38565714e278e3cd7671a9dd2d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T01:02:07.215Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh [2024-07-03T01:02:07.871Z] + make test [2024-07-03T01:02:07.871Z] go test ./... -coverprofile=coverage.out [2024-07-03T01:02:13.212Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-07-03T01:05:34.984Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-07-03T01:05:34.984Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.053s coverage: 47.9% of statements [2024-07-03T01:05:34.984Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-03T01:05:34.984Z] go vet ./... [2024-07-03T01:06:13.933Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-03T01:06:13.933Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-03T01:06:13.933Z] ./bin/test-attribution-txt.sh [2024-07-03T01:06:13.933Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-03T01:06:13.934Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-03T01:06:13.934Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-03T01:06:13.934Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-03T01:06:13.934Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-03T01:06:13.934Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-03T01:06:13.934Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-03T01:06:13.934Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-03T01:06:13.934Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-03T01:06:13.934Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-03T01:06:13.934Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-03T01:06:13.934Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-03T01:06:13.934Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-03T01:06:13.934Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-03T01:06:13.934Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-03T01:06:13.934Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-03T01:06:13.934Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-03T01:06:13.934Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-03T01:06:13.934Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-03T01:06:13.934Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-03T01:06:13.934Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-03T01:06:13.934Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-03T01:06:13.934Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-03T01:06:13.934Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-03T01:06:13.934Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-03T01:06:14.203Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-03T01:06:14.548Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-03T01:06:14.548Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-03T01:06:14.548Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-03T01:06:14.548Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-03T01:06:14.548Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-03T01:06:14.548Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-03T01:06:14.548Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-03T01:06:14.548Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-03T01:06:14.548Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-03T01:06:14.572Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-03T01:06:14.585Z] $ docker stop --time=1 7990b37fcb2b1c414b054e6272571448f6fcc38565714e278e3cd7671a9dd2d5 [2024-07-03T01:06:16.536Z] $ docker rm -f --volumes 7990b37fcb2b1c414b054e6272571448f6fcc38565714e278e3cd7671a9dd2d5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-03T01:06:18.105Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-03T01:06:18.133Z] Warning: overwriting stash ‘coverage-report’ [2024-07-03T01:06:18.616Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-03T01:06:19.021Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-03T01:06:19.337Z] + ls -al . [2024-07-03T01:06:19.337Z] total 260 [2024-07-03T01:06:19.337Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 01:02 . [2024-07-03T01:06:19.337Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 00:58 .. [2024-07-03T01:06:19.337Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 3 00:59 .dockerignore [2024-07-03T01:06:19.337Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 00:59 .git [2024-07-03T01:06:19.337Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 00:59 .github [2024-07-03T01:06:19.337Z] -rw-rw-r-- 1 jenkins jenkins 266 Jul 3 00:59 .gitignore [2024-07-03T01:06:19.337Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 3 00:59 .golangci.yml [2024-07-03T01:06:19.337Z] -rw-rw-r-- 1 jenkins jenkins 11101 Jul 3 00:59 Attribution.txt [2024-07-03T01:06:19.337Z] -rw-rw-r-- 1 jenkins jenkins 16388 Jul 3 00:59 CHANGELOG.md [2024-07-03T01:06:19.337Z] -rw-rw-r-- 1 jenkins jenkins 1474 Jul 3 00:59 Dockerfile [2024-07-03T01:06:19.337Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 00:59 GOVERNANCE.md [2024-07-03T01:06:19.337Z] -rw-rw-r-- 1 jenkins jenkins 658 Jul 3 00:59 Jenkinsfile [2024-07-03T01:06:19.337Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 3 00:59 LICENSE [2024-07-03T01:06:19.337Z] -rw-rw-r-- 1 jenkins jenkins 1942 Jul 3 00:59 Makefile [2024-07-03T01:06:19.337Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 3 00:59 OWNERS.md [2024-07-03T01:06:19.337Z] -rw-rw-r-- 1 jenkins jenkins 4463 Jul 3 00:59 README.md [2024-07-03T01:06:19.337Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 3 00:54 VERSION [2024-07-03T01:06:19.337Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 00:59 bin [2024-07-03T01:06:19.337Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 00:59 cmd [2024-07-03T01:06:19.337Z] -rw-r--r-- 1 jenkins jenkins 24601 Jul 3 01:05 coverage.out [2024-07-03T01:06:19.337Z] -rw-rw-r-- 1 jenkins jenkins 7241 Jul 3 00:59 go.mod [2024-07-03T01:06:19.337Z] -rw-rw-r-- 1 jenkins jenkins 102291 Jul 3 00:59 go.sum [2024-07-03T01:06:19.337Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 00:59 internal [2024-07-03T01:06:19.337Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 00:59 simulator [2024-07-03T01:06:19.337Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 3 00:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T01:06:19.680Z] + 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=4eec31fadddf0e29b487e0487de9bd55af30ffcb --label arch=arm64 --label version=0.0.0 . [2024-07-03T01:06:19.959Z] Sending build context to Docker daemon 9.12MB [2024-07-03T01:06:20.227Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-07-03T01:06:20.227Z] Step 2/23 : FROM ${BASE} AS builder [2024-07-03T01:06:20.227Z] ---> 2974b18d23dd [2024-07-03T01:06:20.227Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-07-03T01:06:20.227Z] ---> Running in 70519c7e9ca2 [2024-07-03T01:06:20.497Z] Removing intermediate container 70519c7e9ca2 [2024-07-03T01:06:20.497Z] ---> 7ff2eef201de [2024-07-03T01:06:20.497Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-03T01:06:20.767Z] ---> Running in 5f3ad716a2be [2024-07-03T01:06:21.042Z] Removing intermediate container 5f3ad716a2be [2024-07-03T01:06:21.042Z] ---> 02b0876cdafa [2024-07-03T01:06:21.042Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-07-03T01:06:21.042Z] ---> Running in dcc7d039e0c4 [2024-07-03T01:06:22.006Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-03T01:06:22.586Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-03T01:06:23.556Z] OK: 272 MiB in 60 packages [2024-07-03T01:06:24.155Z] Removing intermediate container dcc7d039e0c4 [2024-07-03T01:06:24.155Z] ---> e10f847fda90 [2024-07-03T01:06:24.155Z] Step 6/23 : WORKDIR /device-modbus-go [2024-07-03T01:06:24.155Z] ---> Running in b2365f240634 [2024-07-03T01:06:24.434Z] Removing intermediate container b2365f240634 [2024-07-03T01:06:24.434Z] ---> c45adf1354f0 [2024-07-03T01:06:24.434Z] Step 7/23 : COPY go.mod vendor* ./ [2024-07-03T01:06:25.015Z] ---> 35b2a2ab3c65 [2024-07-03T01:06:25.015Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-03T01:06:25.015Z] ---> Running in c86f693d399f [2024-07-03T01:06:27.601Z] Removing intermediate container c86f693d399f [2024-07-03T01:06:27.601Z] ---> b879044d5703 [2024-07-03T01:06:27.601Z] Step 9/23 : COPY . . [2024-07-03T01:06:28.563Z] ---> 2b6e8270b6db [2024-07-03T01:06:28.563Z] Step 10/23 : RUN ${MAKE} [2024-07-03T01:06:28.563Z] ---> Running in 7f59cf94f8b8 [2024-07-03T01:06:29.526Z] 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.19" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-07-03T01:09:51.314Z] Removing intermediate container 7f59cf94f8b8 [2024-07-03T01:09:51.314Z] ---> 99893620aff2 [2024-07-03T01:09:51.314Z] Step 11/23 : FROM alpine:3.18 [2024-07-03T01:09:51.314Z] 3.18: Pulling from library/alpine [2024-07-03T01:09:51.314Z] 5c905c7ebe2f: Pulling fs layer [2024-07-03T01:09:51.314Z] 5c905c7ebe2f: Download complete [2024-07-03T01:09:51.314Z] 5c905c7ebe2f: Pull complete [2024-07-03T01:09:51.314Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-03T01:09:51.314Z] Status: Downloaded newer image for alpine:3.18 [2024-07-03T01:09:51.314Z] ---> dec292d02e07 [2024-07-03T01:09:51.314Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-07-03T01:09:51.314Z] ---> Running in cffd1db7f343 [2024-07-03T01:09:51.314Z] Removing intermediate container cffd1db7f343 [2024-07-03T01:09:51.314Z] ---> cc091b42fe69 [2024-07-03T01:09:51.314Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-07-03T01:09:51.314Z] ---> Running in ca2ec66d901c [2024-07-03T01:09:51.899Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-03T01:09:52.479Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-03T01:09:53.451Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-03T01:09:53.451Z] Executing busybox-1.36.1-r7.trigger [2024-07-03T01:09:53.451Z] OK: 8 MiB in 16 packages [2024-07-03T01:09:54.417Z] Removing intermediate container ca2ec66d901c [2024-07-03T01:09:54.417Z] ---> 8864492dd517 [2024-07-03T01:09:54.417Z] Step 14/23 : RUN apk --no-cache upgrade [2024-07-03T01:09:54.417Z] ---> Running in aff3c51f7d03 [2024-07-03T01:09:55.379Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-03T01:09:55.965Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-03T01:09:56.930Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-03T01:09:56.930Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-03T01:09:56.930Z] OK: 8 MiB in 16 packages [2024-07-03T01:09:57.897Z] Removing intermediate container aff3c51f7d03 [2024-07-03T01:09:57.897Z] ---> 9a4a8695682f [2024-07-03T01:09:57.897Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-07-03T01:09:59.846Z] ---> 7fad3e4f5df9 [2024-07-03T01:09:59.846Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-07-03T01:10:00.119Z] ---> 4f21f28b7fd8 [2024-07-03T01:10:00.119Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-07-03T01:10:00.704Z] ---> 0cac3cc3c622 [2024-07-03T01:10:00.704Z] Step 18/23 : EXPOSE 59901 [2024-07-03T01:10:00.704Z] ---> Running in 535a9580719a [2024-07-03T01:10:00.971Z] Removing intermediate container 535a9580719a [2024-07-03T01:10:00.971Z] ---> a72aa7808576 [2024-07-03T01:10:00.971Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-07-03T01:10:01.239Z] ---> Running in 33a7221b5922 [2024-07-03T01:10:01.507Z] Removing intermediate container 33a7221b5922 [2024-07-03T01:10:01.507Z] ---> 3168312df0e8 [2024-07-03T01:10:01.507Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-03T01:10:01.507Z] ---> Running in 04dfc1f5565e [2024-07-03T01:10:01.776Z] Removing intermediate container 04dfc1f5565e [2024-07-03T01:10:01.777Z] ---> 8b09f1b0365e [2024-07-03T01:10:01.777Z] Step 21/23 : LABEL arch=arm64 [2024-07-03T01:10:02.057Z] ---> Running in 6d48a3b11a98 [2024-07-03T01:10:02.325Z] Removing intermediate container 6d48a3b11a98 [2024-07-03T01:10:02.325Z] ---> 87dca238b316 [2024-07-03T01:10:02.325Z] Step 22/23 : LABEL git_sha=4eec31fadddf0e29b487e0487de9bd55af30ffcb [2024-07-03T01:10:02.325Z] ---> Running in 5a276d4b5bbd [2024-07-03T01:10:02.609Z] Removing intermediate container 5a276d4b5bbd [2024-07-03T01:10:02.609Z] ---> 9814e2b805fe [2024-07-03T01:10:02.609Z] Step 23/23 : LABEL version=0.0.0 [2024-07-03T01:10:02.876Z] ---> Running in 3a8145cef158 [2024-07-03T01:10:03.144Z] Removing intermediate container 3a8145cef158 [2024-07-03T01:10:03.144Z] ---> 3672499b3cec [2024-07-03T01:10:03.144Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-03T01:10:03.144Z] Successfully built 3672499b3cec [2024-07-03T01:10:03.144Z] 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-03T01:10:03.634Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-03T01:10:03.635Z] [2024-07-03T01:10:03.635Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T01:10:03.979Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-03T01:10:03.979Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-03T01:10:03.979Z] 8998bd30e6a1: Pulling fs layer [2024-07-03T01:10:03.979Z] 04944245beec: Pulling fs layer [2024-07-03T01:10:03.979Z] 699f458cf7ca: Pulling fs layer [2024-07-03T01:10:03.979Z] 765212b225bb: Pulling fs layer [2024-07-03T01:10:03.979Z] f23df028b6ca: Pulling fs layer [2024-07-03T01:10:03.979Z] d65c8cfc05b1: Pulling fs layer [2024-07-03T01:10:03.979Z] 2437ff75d9bd: Pulling fs layer [2024-07-03T01:10:03.979Z] d65c8cfc05b1: Waiting [2024-07-03T01:10:03.979Z] 765212b225bb: Waiting [2024-07-03T01:10:03.979Z] f23df028b6ca: Waiting [2024-07-03T01:10:03.979Z] 2437ff75d9bd: Waiting [2024-07-03T01:10:04.248Z] 04944245beec: Verifying Checksum [2024-07-03T01:10:04.248Z] 04944245beec: Download complete [2024-07-03T01:10:04.248Z] 765212b225bb: Verifying Checksum [2024-07-03T01:10:04.248Z] 765212b225bb: Download complete [2024-07-03T01:10:04.248Z] f23df028b6ca: Verifying Checksum [2024-07-03T01:10:04.248Z] f23df028b6ca: Download complete [2024-07-03T01:10:04.248Z] d65c8cfc05b1: Verifying Checksum [2024-07-03T01:10:04.248Z] d65c8cfc05b1: Download complete [2024-07-03T01:10:04.517Z] 699f458cf7ca: Verifying Checksum [2024-07-03T01:10:04.517Z] 699f458cf7ca: Download complete [2024-07-03T01:10:04.788Z] 8998bd30e6a1: Verifying Checksum [2024-07-03T01:10:04.788Z] 8998bd30e6a1: Download complete [2024-07-03T01:10:07.382Z] 2437ff75d9bd: Verifying Checksum [2024-07-03T01:10:07.382Z] 2437ff75d9bd: Download complete [2024-07-03T01:10:09.326Z] 8998bd30e6a1: Pull complete [2024-07-03T01:10:09.908Z] 04944245beec: Pull complete [2024-07-03T01:10:11.317Z] 699f458cf7ca: Pull complete [2024-07-03T01:10:11.584Z] 765212b225bb: Pull complete [2024-07-03T01:10:12.542Z] f23df028b6ca: Pull complete [2024-07-03T01:10:12.809Z] d65c8cfc05b1: Pull complete [2024-07-03T01:10:31.016Z] 2437ff75d9bd: Pull complete [2024-07-03T01:10:31.016Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-03T01:10:31.016Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-03T01:10:31.016Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T01:10:31.238Z] prd-ubuntu20.04-docker-arm64-4c-16g-4859 does not seem to be running inside a container [2024-07-03T01:10:31.297Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-03T01:10:34.042Z] $ docker top 899fd5f364ba6010b5e7050dd485eee4a9903be7db870c98dbe6bed7ecf06001 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T01:10:34.899Z] ---> job-cost.sh [2024-07-03T01:10:34.900Z] lf-activate-venv: SKIPPING [2024-07-03T01:10:34.900Z] INFO: No Stack... [2024-07-03T01:10:35.483Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-03T01:10:36.063Z] INFO: Archiving Costs [Pipeline] sh [2024-07-03T01:10:36.705Z] + + catcut /w/workspace/device-modbus-go/2/archives/cost.csv -d, [2024-07-03T01:10:36.705Z] -f6 [Pipeline] lock [2024-07-03T01:10:36.744Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-556-2-stack-cost] [2024-07-03T01:10:36.753Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-556-2-stack-cost] did not exist. Created. [2024-07-03T01:10:36.762Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-556-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-03T01:10:37.438Z] /w/workspace/device-modbus-go/2@tmp/durable-5f3e5845/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-03T01:10:38.077Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-03T01:10:38.105Z] Warning: overwriting stash ‘stack-cost’ [2024-07-03T01:10:38.160Z] Stashed 1 file(s) [Pipeline] } [2024-07-03T01:10:38.171Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-556-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-03T01:10:38.191Z] $ docker stop --time=1 899fd5f364ba6010b5e7050dd485eee4a9903be7db870c98dbe6bed7ecf06001 [2024-07-03T01:10:39.701Z] $ docker rm -f --volumes 899fd5f364ba6010b5e7050dd485eee4a9903be7db870c98dbe6bed7ecf06001 [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-03T01:10:40.262Z] provisioning config files... [2024-07-03T01:10:40.269Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-556@tmp/config5828913730568775627tmp [Pipeline] { [Pipeline] sh [2024-07-03T01:10:40.566Z] + set +x [2024-07-03T01:10:40.567Z] + curl -s https://codecov.io/bash [2024-07-03T01:10:40.567Z] + bash -s -- [2024-07-03T01:10:40.567Z] [2024-07-03T01:10:40.567Z] _____ _ [2024-07-03T01:10:40.567Z] / ____| | | [2024-07-03T01:10:40.567Z] | | ___ __| | ___ ___ _____ __ [2024-07-03T01:10:40.567Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-03T01:10:40.567Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-03T01:10:40.567Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-03T01:10:40.567Z] Bash-1.0.6 [2024-07-03T01:10:40.567Z] [2024-07-03T01:10:40.567Z] [2024-07-03T01:10:40.567Z] ==> git version 2.25.1 found [2024-07-03T01:10:40.567Z] ==> 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-03T01:10:40.567Z] Release-Date: 2020-01-08 [2024-07-03T01:10:40.567Z] 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-03T01:10:40.567Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-03T01:10:40.567Z] ==> Jenkins CI detected. [2024-07-03T01:10:40.567Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-556 [2024-07-03T01:10:40.567Z] project root: . [2024-07-03T01:10:40.567Z] --> token set from env [2024-07-03T01:10:40.567Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-03T01:10:40.567Z] ==> Running gcov in . (disable via -X gcov) [2024-07-03T01:10:40.567Z] ==> Python coveragepy not found [2024-07-03T01:10:40.567Z] ==> Searching for coverage reports in: [2024-07-03T01:10:40.567Z] + . [2024-07-03T01:10:40.567Z] -> Found 1 reports [2024-07-03T01:10:40.567Z] ==> Detecting git/mercurial file structure [2024-07-03T01:10:40.567Z] ==> Reading reports [2024-07-03T01:10:40.567Z] + ./coverage.out bytes=24601 [2024-07-03T01:10:40.567Z] ==> Appending adjustments [2024-07-03T01:10:40.567Z] https://docs.codecov.io/docs/fixing-reports [2024-07-03T01:10:40.826Z] + Found adjustments [2024-07-03T01:10:40.826Z] ==> Gzipping contents [2024-07-03T01:10:40.826Z] 4.0K /tmp/codecov.bIjSON.gz [2024-07-03T01:10:40.826Z] ==> Uploading reports [2024-07-03T01:10:40.826Z] url: https://codecov.io [2024-07-03T01:10:40.826Z] query: branch=PR-556&commit=3f3f71a6330a46bc663ac48cf1a533a8e59f6c00&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-556%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=556&job=&cmd_args= [2024-07-03T01:10:40.826Z] -> Pinging Codecov [2024-07-03T01:10:40.826Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-556&commit=3f3f71a6330a46bc663ac48cf1a533a8e59f6c00&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-556%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=556&job=&cmd_args= [2024-07-03T01:10:40.826Z] -> Uploading to [2024-07-03T01:10:40.826Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-03/55DBCA73C666E3227836607328DD7E49/3f3f71a6330a46bc663ac48cf1a533a8e59f6c00/d8bc657e-4f71-471b-bf1f-a6f59e6504bb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240703%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240703T011040Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3ba2e38e5d63575e913c48f52bc37e33088b4eb26cd9d94df0ba655025eff3e6 [2024-07-03T01:10:40.826Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-03T01:10:40.826Z] Dload Upload Total Spent Left Speed [2024-07-03T01:10:41.086Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 16929 --:--:-- --:--:-- --:--:-- 16929 [2024-07-03T01:10:41.086Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 [Pipeline] } [2024-07-03T01:10:41.093Z] 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-03T01:10:42.000Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-556/archives ] [2024-07-03T01:10:42.000Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-556/archives [2024-07-03T01:10:42.000Z] total 16 [2024-07-03T01:10:42.000Z] drwxr-xr-x 3 root root 4096 Jul 3 00:57 . [2024-07-03T01:10:42.000Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 3 00:57 .. [2024-07-03T01:10:42.000Z] drwxr-xr-x 2 root root 4096 Jul 3 00:57 cost [2024-07-03T01:10:42.000Z] -rw-r--r-- 1 root root 88 Jul 3 00:57 cost.csv [2024-07-03T01:10:42.000Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-556/archives [2024-07-03T01:10:42.000Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-556/archives [2024-07-03T01:10:42.000Z] total 16 [2024-07-03T01:10:42.000Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 00:57 . [2024-07-03T01:10:42.000Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 3 00:57 .. [2024-07-03T01:10:42.000Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 3 00:57 cost [2024-07-03T01:10:42.000Z] -rw-r--r-- 1 jenkins jenkins 88 Jul 3 00:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-03T01:10:42.295Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T01:10:43.149Z] ---> package-listing.sh [2024-07-03T01:10:43.149Z] ++ facter osfamily [2024-07-03T01:10:43.149Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-03T01:10:43.149Z] + OS_FAMILY=debian [2024-07-03T01:10:43.149Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-556 [2024-07-03T01:10:43.149Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-03T01:10:43.149Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-03T01:10:43.149Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-03T01:10:43.149Z] + PACKAGES=/tmp/packages_start.txt [2024-07-03T01:10:43.149Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-556 ']' [2024-07-03T01:10:43.149Z] + PACKAGES=/tmp/packages_end.txt [2024-07-03T01:10:43.149Z] + case "${OS_FAMILY}" in [2024-07-03T01:10:43.149Z] + dpkg -l [2024-07-03T01:10:43.149Z] + grep '^ii' [2024-07-03T01:10:43.408Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-03T01:10:43.408Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-03T01:10:43.408Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-03T01:10:43.408Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-556 ']' [2024-07-03T01:10:43.408Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-556/archives/ [2024-07-03T01:10:43.408Z] + 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-03T01:10:43.419Z] 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-03T01:10:43.695Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T01:10:44.337Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-03T01:10:44.337Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T01:10:44.433Z] prd-ubuntu20.04-docker-8c-8g-4858 does not seem to be running inside a container [2024-07-03T01:10:44.479Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-03T01:10:44.664Z] $ docker top 8c0cde102cb38d3a6c1ad9dee90775363b1b32530a58d05a208caa4bfc77ba16 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T01:10:45.033Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-03T01:10:45.319Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-03T01:10:45.603Z] + ls /var/log/sa-host [2024-07-03T01:10:45.603Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-03T01:10:45.771Z] provisioning config files... [2024-07-03T01:10:45.779Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-556@tmp/config2099353707695412602tmp [Pipeline] { [Pipeline] echo [2024-07-03T01:10:45.801Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T01:10:46.091Z] ---> create-netrc.sh [Pipeline] } [2024-07-03T01:10:46.099Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-03T01:10:46.449Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-03T01:10:46.458Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T01:10:46.740Z] ---> sudo-logs.sh [2024-07-03T01:10:46.740Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-03T01:10:46.778Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T01:10:47.066Z] ---> job-cost.sh [2024-07-03T01:10:47.066Z] lf-activate-venv: SKIPPING [2024-07-03T01:10:47.066Z] DEBUG: total: 0.2199999988079071 [2024-07-03T01:10:47.066Z] INFO: Retrieving Stack Cost... [2024-07-03T01:10:47.326Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-03T01:10:47.895Z] INFO: Archiving Costs [Pipeline] echo [2024-07-03T01:10:47.908Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T01:10:48.208Z] ---> logs-deploy.sh [2024-07-03T01:10:48.208Z] lf-activate-venv: SKIPPING [2024-07-03T01:10:48.208Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-556/2 [2024-07-03T01:10:48.208Z] INFO: archiving workspace using pattern(s): [2024-07-03T01:10:49.146Z] Archives upload complete. [2024-07-03T01:10:49.406Z] INFO: archiving logs to Nexus