Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 016774ad856346449abec6a76f039c0b34c03e63 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-ssh2567839333293457057.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-ssh2656015412966045217.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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh305005724034784210.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-ssh13983789039219749302.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11895899988997643467.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 ‘prd-centos7-blackbox-4c-2g-4589’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-4546’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-4802’ is offline Running on prd-ubuntu20.04-docker-8c-8g-4803 in /w/workspace/gexfoundry_device-modbus-go_main [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/gexfoundry_device-modbus-go_main # 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 Avoid second fetch Checking out Revision 016774ad856346449abec6a76f039c0b34c03e63 (main) Commit message: "Merge pull request #557 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.19" > 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 core.sparsecheckout # timeout=10 > git checkout -f 016774ad856346449abec6a76f039c0b34c03e63 # timeout=10 > git rev-list --no-walk f7c28725686cbfd62f6225fd09367d5909216c89 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-02T09:08:25.558Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-02T09:08:25.626Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-02T09:08:25.653Z] ========================================================= [2024-07-02T09:08:25.653Z] EdgeX Global Pipelines Version Info [2024-07-02T09:08:25.653Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-02T09:08:26.404Z] ------------------- [2024-07-02T09:08:26.404Z] stable info: [2024-07-02T09:08:26.404Z] ------------------- [2024-07-02T09:08:26.404Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-02T09:08:26.404Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-02T09:08:26.404Z] Message: update stable to v1.0.260 [2024-07-02T09:08:26.975Z] ------------------- [2024-07-02T09:08:26.975Z] experimental info: [2024-07-02T09:08:26.975Z] ------------------- [2024-07-02T09:08:26.975Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-02T09:08:26.975Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-02T09:08:26.975Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-02T09:08:27.057Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-07-02T09:08:27.075Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-07-02T09:08:27.094Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-02T09:08:27.114Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-02T09:08:27.137Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-02T09:08:27.157Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-02T09:08:27.174Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-02T09:08:27.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-02T09:08:27.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-02T09:08:27.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-02T09:08:27.259Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-02T09:08:27.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-07-02T09:08:27.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-02T09:08:27.322Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-02T09:08:27.340Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-02T09:08:27.360Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-02T09:08:27.382Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-02T09:08:27.399Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-02T09:08:27.423Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-02T09:08:27.446Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-02T09:08:27.469Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-02T09:08:27.493Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-02T09:08:27.510Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-02T09:08:27.528Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-02T09:08:27.549Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-02T09:08:27.571Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-02T09:08:27.589Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-02T09:08:27.612Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-07-02T09:08:27.634Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-07-02T09:08:27.654Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-07-02T09:08:27.685Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 016774ad856346449abec6a76f039c0b34c03e63 [Pipeline] echo [2024-07-02T09:08:27.707Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 016774a [Pipeline] echo [2024-07-02T09:08:27.732Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-02T09:08:27.799Z] provisioning config files... [2024-07-02T09:08:27.813Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13066112645545093364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-02T09:08:28.143Z] ---> ****-login.sh [2024-07-02T09:08:28.143Z] nexus3.edgexfoundry.org:10001 [2024-07-02T09:08:28.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T09:08:28.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T09:08:28.403Z] Configure a credential helper to remove this warning. See [2024-07-02T09:08:28.403Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T09:08:28.403Z] [2024-07-02T09:08:28.403Z] Login Succeeded [2024-07-02T09:08:28.403Z] nexus3.edgexfoundry.org:10002 [2024-07-02T09:08:28.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T09:08:28.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T09:08:28.403Z] Configure a credential helper to remove this warning. See [2024-07-02T09:08:28.403Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T09:08:28.403Z] [2024-07-02T09:08:28.403Z] Login Succeeded [2024-07-02T09:08:28.403Z] nexus3.edgexfoundry.org:10003 [2024-07-02T09:08:28.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T09:08:28.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T09:08:28.662Z] Configure a credential helper to remove this warning. See [2024-07-02T09:08:28.662Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T09:08:28.662Z] [2024-07-02T09:08:28.662Z] Login Succeeded [2024-07-02T09:08:28.662Z] nexus3.edgexfoundry.org:10004 [2024-07-02T09:08:28.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T09:08:28.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T09:08:28.662Z] Configure a credential helper to remove this warning. See [2024-07-02T09:08:28.662Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T09:08:28.662Z] [2024-07-02T09:08:28.662Z] Login Succeeded [2024-07-02T09:08:28.662Z] ****.io [2024-07-02T09:08:28.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T09:08:28.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T09:08:28.921Z] Configure a credential helper to remove this warning. See [2024-07-02T09:08:28.921Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T09:08:28.921Z] [2024-07-02T09:08:28.921Z] Login Succeeded [2024-07-02T09:08:28.921Z] ---> ****-login.sh ends [Pipeline] } [2024-07-02T09:08:28.929Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-02T09:08:29.332Z] + git rev-list -1 --merges 016774ad856346449abec6a76f039c0b34c03e63~1..016774ad856346449abec6a76f039c0b34c03e63 [Pipeline] echo [2024-07-02T09:08:29.362Z] -----------> git rev-list -1 --merges 016774ad856346449abec6a76f039c0b34c03e63~1..016774ad856346449abec6a76f039c0b34c03e63 016774ad856346449abec6a76f039c0b34c03e63 [2024-07-02T09:08:29.362Z] 016774ad856346449abec6a76f039c0b34c03e63 [false] [Pipeline] sh [2024-07-02T09:08:29.653Z] + git log --format=format:%s -1 016774ad856346449abec6a76f039c0b34c03e63 [Pipeline] echo [2024-07-02T09:08:29.668Z] ========================================================= [2024-07-02T09:08:29.668Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-02T09:08:29.668Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-02T09:08:30.002Z] + git log --format=format:%s -1 016774ad856346449abec6a76f039c0b34c03e63 [Pipeline] echo [2024-07-02T09:08:30.013Z] [semverPrep] GIT_COMMIT: 016774ad856346449abec6a76f039c0b34c03e63, Commit Message: Merge pull request #557 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.19 [Pipeline] echo [2024-07-02T09:08:30.026Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-02T09:08:30.382Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-02T09:08:30.382Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-02T09:08:30.382Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-02T09:08:30.382Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-02T09:08:30.382Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-02T09:08:30.382Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-02T09:08:30.382Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:08:30.735Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-02T09:08:30.735Z] [2024-07-02T09:08:30.735Z] 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-02T09:08:31.044Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-02T09:08:31.045Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-02T09:08:31.045Z] b85a868b505f: Pulling fs layer [2024-07-02T09:08:31.045Z] e2be974225ed: Pulling fs layer [2024-07-02T09:08:31.045Z] 339a4e72a1f5: Pulling fs layer [2024-07-02T09:08:31.045Z] 988bab9f4d93: Pulling fs layer [2024-07-02T09:08:31.045Z] 1469e6f7b9e6: Pulling fs layer [2024-07-02T09:08:31.045Z] eaf3925da568: Pulling fs layer [2024-07-02T09:08:31.045Z] bab4dde63d76: Pulling fs layer [2024-07-02T09:08:31.045Z] bde34c3a00c8: Pulling fs layer [2024-07-02T09:08:31.045Z] b352a97aabf1: Pulling fs layer [2024-07-02T09:08:31.045Z] 4872d77fe225: Pulling fs layer [2024-07-02T09:08:31.045Z] 5851b861e8e6: Pulling fs layer [2024-07-02T09:08:31.045Z] eaf3925da568: Waiting [2024-07-02T09:08:31.045Z] bab4dde63d76: Waiting [2024-07-02T09:08:31.045Z] bde34c3a00c8: Waiting [2024-07-02T09:08:31.045Z] b352a97aabf1: Waiting [2024-07-02T09:08:31.045Z] 4872d77fe225: Waiting [2024-07-02T09:08:31.045Z] 5851b861e8e6: Waiting [2024-07-02T09:08:31.045Z] 988bab9f4d93: Waiting [2024-07-02T09:08:31.045Z] e2be974225ed: Verifying Checksum [2024-07-02T09:08:31.045Z] e2be974225ed: Download complete [2024-07-02T09:08:31.045Z] 988bab9f4d93: Verifying Checksum [2024-07-02T09:08:31.045Z] 988bab9f4d93: Download complete [2024-07-02T09:08:31.045Z] 1469e6f7b9e6: Verifying Checksum [2024-07-02T09:08:31.045Z] 1469e6f7b9e6: Download complete [2024-07-02T09:08:31.305Z] eaf3925da568: Download complete [2024-07-02T09:08:31.305Z] 339a4e72a1f5: Download complete [2024-07-02T09:08:31.305Z] bde34c3a00c8: Download complete [2024-07-02T09:08:31.305Z] b352a97aabf1: Download complete [2024-07-02T09:08:31.305Z] 4872d77fe225: Download complete [2024-07-02T09:08:31.305Z] 5851b861e8e6: Download complete [2024-07-02T09:08:31.305Z] b85a868b505f: Verifying Checksum [2024-07-02T09:08:31.305Z] b85a868b505f: Download complete [2024-07-02T09:08:31.565Z] bab4dde63d76: Verifying Checksum [2024-07-02T09:08:31.565Z] bab4dde63d76: Download complete [2024-07-02T09:08:32.508Z] b85a868b505f: Pull complete [2024-07-02T09:08:32.773Z] e2be974225ed: Pull complete [2024-07-02T09:08:33.344Z] 339a4e72a1f5: Pull complete [2024-07-02T09:08:33.344Z] 988bab9f4d93: Pull complete [2024-07-02T09:08:33.605Z] 1469e6f7b9e6: Pull complete [2024-07-02T09:08:33.605Z] eaf3925da568: Pull complete [2024-07-02T09:08:35.514Z] bab4dde63d76: Pull complete [2024-07-02T09:08:35.514Z] bde34c3a00c8: Pull complete [2024-07-02T09:08:35.514Z] b352a97aabf1: Pull complete [2024-07-02T09:08:35.774Z] 4872d77fe225: Pull complete [2024-07-02T09:08:35.774Z] 5851b861e8e6: Pull complete [2024-07-02T09:08:35.775Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-02T09:08:35.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-02T09:08:35.775Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T09:08:35.924Z] prd-ubuntu20.04-docker-8c-8g-4803 does not seem to be running inside a container [2024-07-02T09:08:35.974Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-02T09:08:38.992Z] $ docker top 9943b3663615c588c0772f9e8aeb555c981c2d08844507c1ffc6d62375089832 -eo pid,comm [2024-07-02T09:08:39.058Z] 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-02T09:08:39.058Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-02T09:08:39.117Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-02T09:08:39.117Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-02T09:08:39.222Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-02T09:08:39.223Z] $ docker exec 9943b3663615c588c0772f9e8aeb555c981c2d08844507c1ffc6d62375089832 ssh-agent [2024-07-02T09:08:39.347Z] SSH_AUTH_SOCK=/tmp/ssh-sVk5zUVKF0Ls/agent.33 [2024-07-02T09:08:39.347Z] SSH_AGENT_PID=39 [2024-07-02T09:08:39.354Z] Running ssh-add (command line suppressed) [2024-07-02T09:08:39.455Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8459289522681683172.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8459289522681683172.key) [2024-07-02T09:08:39.471Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-02T09:08:39.765Z] + git tag --points-at HEAD [Pipeline] } [2024-07-02T09:08:39.775Z] $ docker exec --env ******** --env ******** 9943b3663615c588c0772f9e8aeb555c981c2d08844507c1ffc6d62375089832 ssh-agent -k [2024-07-02T09:08:39.873Z] unset SSH_AUTH_SOCK; [2024-07-02T09:08:39.874Z] unset SSH_AGENT_PID; [2024-07-02T09:08:39.874Z] echo Agent pid 39 killed; [2024-07-02T09:08:39.885Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-02T09:08:39.925Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-02T09:08:39.925Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-02T09:08:40.033Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-02T09:08:40.034Z] $ docker exec 9943b3663615c588c0772f9e8aeb555c981c2d08844507c1ffc6d62375089832 ssh-agent [2024-07-02T09:08:40.142Z] SSH_AUTH_SOCK=/tmp/ssh-rmvk7fTDev0U/agent.73 [2024-07-02T09:08:40.142Z] SSH_AGENT_PID=79 [2024-07-02T09:08:40.146Z] Running ssh-add (command line suppressed) [2024-07-02T09:08:40.246Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11026160811059673300.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11026160811059673300.key) [2024-07-02T09:08:40.260Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-02T09:08:40.571Z] + git semver init [2024-07-02T09:08:40.831Z] 2024-07-02 09:08:40,760 [run_init] DEBUG init version:0.0.0 force:False [2024-07-02T09:08:40.831Z] 2024-07-02 09:08:40,761 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2024-07-02T09:08:40.831Z] 2024-07-02 09:08:40,761 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2024-07-02T09:08:40.831Z] 2024-07-02 09:08:40,761 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2024-07-02T09:08:41.777Z] 2024-07-02 09:08:41,759 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2024-07-02T09:08:41.777Z] 2024-07-02 09:08:41,759 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2024-07-02T09:08:41.777Z] 2024-07-02 09:08:41,759 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-07-02T09:08:41.777Z] 2024-07-02 09:08:41,760 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-07-02T09:08:41.777Z] 3.2.0-dev.15 [Pipeline] } [2024-07-02T09:08:42.046Z] $ docker exec --env ******** --env ******** 9943b3663615c588c0772f9e8aeb555c981c2d08844507c1ffc6d62375089832 ssh-agent -k [2024-07-02T09:08:42.160Z] unset SSH_AUTH_SOCK; [2024-07-02T09:08:42.160Z] unset SSH_AGENT_PID; [2024-07-02T09:08:42.161Z] echo Agent pid 79 killed; [2024-07-02T09:08:42.171Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-02T09:08:42.491Z] + git semver [Pipeline] } [2024-07-02T09:08:42.761Z] $ docker stop --time=1 9943b3663615c588c0772f9e8aeb555c981c2d08844507c1ffc6d62375089832 [2024-07-02T09:08:44.058Z] $ docker rm -f --volumes 9943b3663615c588c0772f9e8aeb555c981c2d08844507c1ffc6d62375089832 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-02T09:08:44.399Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-02T09:08:44.642Z] Stashed 1 file(s) [Pipeline] echo [2024-07-02T09:08:44.645Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.15 [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-02T09:08:44.808Z] provisioning config files... [2024-07-02T09:08:44.819Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13699348391388431617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-02T09:08:45.121Z] ---> ****-login.sh [2024-07-02T09:08:45.121Z] nexus3.edgexfoundry.org:10001 [2024-07-02T09:08:45.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T09:08:45.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T09:08:45.121Z] Configure a credential helper to remove this warning. See [2024-07-02T09:08:45.121Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T09:08:45.121Z] [2024-07-02T09:08:45.121Z] Login Succeeded [2024-07-02T09:08:45.121Z] nexus3.edgexfoundry.org:10002 [2024-07-02T09:08:45.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T09:08:45.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T09:08:45.121Z] Configure a credential helper to remove this warning. See [2024-07-02T09:08:45.121Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T09:08:45.121Z] [2024-07-02T09:08:45.121Z] Login Succeeded [2024-07-02T09:08:45.121Z] nexus3.edgexfoundry.org:10003 [2024-07-02T09:08:45.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T09:08:45.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T09:08:45.382Z] Configure a credential helper to remove this warning. See [2024-07-02T09:08:45.382Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T09:08:45.382Z] [2024-07-02T09:08:45.382Z] Login Succeeded [2024-07-02T09:08:45.382Z] nexus3.edgexfoundry.org:10004 [2024-07-02T09:08:45.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T09:08:45.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T09:08:45.382Z] Configure a credential helper to remove this warning. See [2024-07-02T09:08:45.382Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T09:08:45.382Z] [2024-07-02T09:08:45.382Z] Login Succeeded [2024-07-02T09:08:45.382Z] ****.io [2024-07-02T09:08:45.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T09:08:45.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T09:08:45.643Z] Configure a credential helper to remove this warning. See [2024-07-02T09:08:45.643Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T09:08:45.643Z] [2024-07-02T09:08:45.643Z] Login Succeeded [2024-07-02T09:08:45.643Z] ---> ****-login.sh ends [Pipeline] } [2024-07-02T09:08:45.649Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-02T09:08:45.731Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-02T09:08:45.745Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-02T09:08:45.757Z] ========================================================= [2024-07-02T09:08:45.757Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-02T09:08:45.757Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:08:46.089Z] + 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-02T09:08:46.089Z] Sending build context to Docker daemon 17.83MB [2024-07-02T09:08:46.089Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-02T09:08:46.089Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-02T09:08:46.349Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-02T09:08:46.349Z] 619be1103602: Pulling fs layer [2024-07-02T09:08:46.349Z] 7862e08f4a3e: Pulling fs layer [2024-07-02T09:08:46.349Z] 5df492c9dc93: Pulling fs layer [2024-07-02T09:08:46.349Z] 7629e6793208: Pulling fs layer [2024-07-02T09:08:46.349Z] 4f4fb700ef54: Pulling fs layer [2024-07-02T09:08:46.349Z] fb5054dd5b73: Pulling fs layer [2024-07-02T09:08:46.349Z] eeca6798cff9: Pulling fs layer [2024-07-02T09:08:46.349Z] aa269ceb94a6: Pulling fs layer [2024-07-02T09:08:46.349Z] ada007ff1a6a: Pulling fs layer [2024-07-02T09:08:46.349Z] eeca6798cff9: Waiting [2024-07-02T09:08:46.349Z] aa269ceb94a6: Waiting [2024-07-02T09:08:46.349Z] ada007ff1a6a: Waiting [2024-07-02T09:08:46.349Z] fb5054dd5b73: Waiting [2024-07-02T09:08:46.349Z] 4f4fb700ef54: Waiting [2024-07-02T09:08:46.349Z] 7862e08f4a3e: Verifying Checksum [2024-07-02T09:08:46.349Z] 7862e08f4a3e: Download complete [2024-07-02T09:08:46.349Z] 7629e6793208: Verifying Checksum [2024-07-02T09:08:46.349Z] 7629e6793208: Download complete [2024-07-02T09:08:46.349Z] 4f4fb700ef54: Verifying Checksum [2024-07-02T09:08:46.349Z] 4f4fb700ef54: Download complete [2024-07-02T09:08:46.349Z] 619be1103602: Verifying Checksum [2024-07-02T09:08:46.349Z] 619be1103602: Download complete [2024-07-02T09:08:46.349Z] fb5054dd5b73: Verifying Checksum [2024-07-02T09:08:46.349Z] fb5054dd5b73: Download complete [2024-07-02T09:08:46.349Z] eeca6798cff9: Verifying Checksum [2024-07-02T09:08:46.349Z] eeca6798cff9: Download complete [2024-07-02T09:08:46.349Z] 619be1103602: Pull complete [2024-07-02T09:08:46.609Z] ada007ff1a6a: Verifying Checksum [2024-07-02T09:08:46.609Z] ada007ff1a6a: Download complete [2024-07-02T09:08:46.609Z] 7862e08f4a3e: Pull complete [2024-07-02T09:08:46.868Z] 5df492c9dc93: Verifying Checksum [2024-07-02T09:08:46.868Z] 5df492c9dc93: Download complete [2024-07-02T09:08:47.126Z] aa269ceb94a6: Download complete [2024-07-02T09:08:50.413Z] 5df492c9dc93: Pull complete [2024-07-02T09:08:50.413Z] 7629e6793208: Pull complete [2024-07-02T09:08:50.413Z] 4f4fb700ef54: Pull complete [2024-07-02T09:08:50.413Z] fb5054dd5b73: Pull complete [2024-07-02T09:08:50.413Z] eeca6798cff9: Pull complete [2024-07-02T09:08:52.948Z] aa269ceb94a6: Pull complete [2024-07-02T09:08:53.516Z] ada007ff1a6a: Pull complete [2024-07-02T09:08:53.516Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-02T09:08:53.516Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-02T09:08:53.516Z] ---> f489d0715acc [2024-07-02T09:08:53.516Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-07-02T09:08:59.764Z] Still waiting to schedule task [2024-07-02T09:08:59.765Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4798’ [2024-07-02T09:09:00.201Z] ---> Running in 786aa48138ad [2024-07-02T09:09:00.201Z] Removing intermediate container 786aa48138ad [2024-07-02T09:09:00.201Z] ---> 072a6cf393b9 [2024-07-02T09:09:00.201Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-02T09:09:00.201Z] ---> Running in 2509b0b6f3c5 [2024-07-02T09:09:00.201Z] Removing intermediate container 2509b0b6f3c5 [2024-07-02T09:09:00.201Z] ---> ee2a26e119f5 [2024-07-02T09:09:00.201Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-07-02T09:09:00.201Z] ---> Running in 09fe006a7bfc [2024-07-02T09:09:00.201Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-02T09:09:00.201Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-02T09:09:00.201Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-07-02T09:09:00.201Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-07-02T09:09:00.201Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-07-02T09:09:00.201Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-07-02T09:09:00.201Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-07-02T09:09:00.201Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-07-02T09:09:00.201Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-07-02T09:09:00.461Z] (8/8) Installing openssh (9.3_p2-r1) [2024-07-02T09:09:00.461Z] Executing busybox-1.36.1-r5.trigger [2024-07-02T09:09:00.461Z] OK: 270 MiB in 60 packages [2024-07-02T09:09:01.030Z] Removing intermediate container 09fe006a7bfc [2024-07-02T09:09:01.030Z] ---> 82dfe8e6729a [2024-07-02T09:09:01.030Z] Step 6/10 : WORKDIR /device-modbus-go [2024-07-02T09:09:01.030Z] ---> Running in f198851d68fb [2024-07-02T09:09:01.030Z] Removing intermediate container f198851d68fb [2024-07-02T09:09:01.030Z] ---> 73aeee428efa [2024-07-02T09:09:01.030Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-02T09:09:01.030Z] ---> 11b22daa578c [2024-07-02T09:09:01.030Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-02T09:09:01.290Z] ---> Running in 39c1e327c7dc [2024-07-02T09:09:48.017Z] Removing intermediate container 39c1e327c7dc [2024-07-02T09:09:48.017Z] ---> 67833c94ff3f [2024-07-02T09:09:48.017Z] Step 9/10 : COPY . . [2024-07-02T09:09:48.017Z] ---> af97bbb41840 [2024-07-02T09:09:48.017Z] Step 10/10 : RUN ${MAKE} [2024-07-02T09:09:48.017Z] ---> Running in f9d86f84e53a [2024-07-02T09:09:48.017Z] noop [2024-07-02T09:09:48.276Z] Removing intermediate container f9d86f84e53a [2024-07-02T09:09:48.276Z] ---> 0a54ab81240d [2024-07-02T09:09:48.276Z] Successfully built 0a54ab81240d [2024-07-02T09:09:48.276Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:09:48.595Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-02T09:09:48.595Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T09:09:48.670Z] prd-ubuntu20.04-docker-8c-8g-4803 does not seem to be running inside a container [2024-07-02T09:09:48.702Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** ci-base-image-x86_64 cat [2024-07-02T09:09:49.047Z] $ docker top 0961b050b1ea012fca8c6fe54146b6ae9841ffed8152f3a5b7afca3f6f97a006 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T09:09:49.394Z] + go version [2024-07-02T09:09:49.394Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-02T09:09:49.402Z] $ docker stop --time=1 0961b050b1ea012fca8c6fe54146b6ae9841ffed8152f3a5b7afca3f6f97a006 [2024-07-02T09:09:50.686Z] $ docker rm -f --volumes 0961b050b1ea012fca8c6fe54146b6ae9841ffed8152f3a5b7afca3f6f97a006 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:09:51.128Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-02T09:09:51.128Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T09:09:51.209Z] prd-ubuntu20.04-docker-8c-8g-4803 does not seem to be running inside a container [2024-07-02T09:09:51.238Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** ci-base-image-x86_64 cat [2024-07-02T09:09:51.590Z] $ docker top 223a9bd485891e13a8a1e9aa335cc210c98b677b122afd86a7ae0f2e8247d8aa -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T09:09:51.925Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2024-07-02T09:09:52.222Z] + make test [2024-07-02T09:09:52.222Z] go test ./... -coverprofile=coverage.out [2024-07-02T09:09:53.601Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-07-02T09:10:11.691Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-07-02T09:10:11.691Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.9% of statements [2024-07-02T09:10:21.655Z] go vet ./... [2024-07-02T09:10:28.217Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-02T09:10:28.217Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-02T09:10:28.217Z] ./bin/test-attribution-txt.sh [2024-07-02T09:10:28.217Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-02T09:10:28.217Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-02T09:10:28.218Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-02T09:10:28.218Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-02T09:10:28.218Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-02T09:10:28.218Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-02T09:10:28.218Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-02T09:10:28.218Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-02T09:10:28.218Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-02T09:10:28.218Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-02T09:10:28.218Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-02T09:10:28.218Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-02T09:10:28.218Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-02T09:10:28.218Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-02T09:10:28.218Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-02T09:10:28.235Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-02T09:10:28.255Z] $ docker stop --time=1 223a9bd485891e13a8a1e9aa335cc210c98b677b122afd86a7ae0f2e8247d8aa [2024-07-02T09:10:31.293Z] $ docker rm -f --volumes 223a9bd485891e13a8a1e9aa335cc210c98b677b122afd86a7ae0f2e8247d8aa [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-02T09:10:31.853Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-02T09:10:31.908Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-02T09:10:32.452Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-02T09:10:32.735Z] + ls -al . [2024-07-02T09:10:32.735Z] total 264 [2024-07-02T09:10:32.735Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 2 09:09 . [2024-07-02T09:10:32.735Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 09:08 .. [2024-07-02T09:10:32.735Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 2 09:08 .dockerignore [2024-07-02T09:10:32.735Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 09:10 .git [2024-07-02T09:10:32.735Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 09:08 .github [2024-07-02T09:10:32.735Z] -rw-rw-r-- 1 jenkins jenkins 266 Jul 2 09:08 .gitignore [2024-07-02T09:10:32.735Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 2 09:08 .golangci.yml [2024-07-02T09:10:32.735Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 2 09:08 .semver [2024-07-02T09:10:32.735Z] -rw-rw-r-- 1 jenkins jenkins 11101 Jul 2 09:08 Attribution.txt [2024-07-02T09:10:32.735Z] -rw-rw-r-- 1 jenkins jenkins 16388 Jul 2 09:08 CHANGELOG.md [2024-07-02T09:10:32.735Z] -rw-rw-r-- 1 jenkins jenkins 1474 Jul 2 09:08 Dockerfile [2024-07-02T09:10:32.735Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 2 09:08 GOVERNANCE.md [2024-07-02T09:10:32.735Z] -rw-rw-r-- 1 jenkins jenkins 658 Jul 2 09:08 Jenkinsfile [2024-07-02T09:10:32.735Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 2 09:08 LICENSE [2024-07-02T09:10:32.735Z] -rw-rw-r-- 1 jenkins jenkins 1942 Jul 2 09:08 Makefile [2024-07-02T09:10:32.735Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 2 09:08 OWNERS.md [2024-07-02T09:10:32.735Z] -rw-rw-r-- 1 jenkins jenkins 4463 Jul 2 09:08 README.md [2024-07-02T09:10:32.735Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 2 09:08 VERSION [2024-07-02T09:10:32.735Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 09:08 bin [2024-07-02T09:10:32.735Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 09:08 cmd [2024-07-02T09:10:32.735Z] -rw-r--r-- 1 jenkins jenkins 24601 Jul 2 09:10 coverage.out [2024-07-02T09:10:32.735Z] -rw-rw-r-- 1 jenkins jenkins 7241 Jul 2 09:08 go.mod [2024-07-02T09:10:32.735Z] -rw-rw-r-- 1 jenkins jenkins 102291 Jul 2 09:08 go.sum [2024-07-02T09:10:32.735Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 09:08 internal [2024-07-02T09:10:32.735Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 09:08 simulator [2024-07-02T09:10:32.735Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 2 09:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:10:33.048Z] + 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=016774ad856346449abec6a76f039c0b34c03e63 --label arch=amd64 --label version=3.2.0-dev.15 . [2024-07-02T09:10:33.048Z] Sending build context to Docker daemon 17.85MB [2024-07-02T09:10:33.048Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-07-02T09:10:33.048Z] Step 2/23 : FROM ${BASE} AS builder [2024-07-02T09:10:33.048Z] ---> 0a54ab81240d [2024-07-02T09:10:33.048Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-07-02T09:10:33.308Z] ---> Running in 6ba3af27d7ac [2024-07-02T09:10:33.308Z] Removing intermediate container 6ba3af27d7ac [2024-07-02T09:10:33.308Z] ---> f18bf3220baf [2024-07-02T09:10:33.308Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-02T09:10:33.308Z] ---> Running in 981595dc92f2 [2024-07-02T09:10:33.569Z] Removing intermediate container 981595dc92f2 [2024-07-02T09:10:33.569Z] ---> d43fee73536e [2024-07-02T09:10:33.569Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-07-02T09:10:33.569Z] ---> Running in 62feaf31b51a [2024-07-02T09:10:33.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-02T09:10:34.088Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-02T09:10:34.347Z] OK: 270 MiB in 60 packages [2024-07-02T09:10:34.607Z] Removing intermediate container 62feaf31b51a [2024-07-02T09:10:34.607Z] ---> 44424a001f7f [2024-07-02T09:10:34.607Z] Step 6/23 : WORKDIR /device-modbus-go [2024-07-02T09:10:34.607Z] ---> Running in c5d14ea8335c [2024-07-02T09:10:34.607Z] Removing intermediate container c5d14ea8335c [2024-07-02T09:10:34.607Z] ---> 0380eaa7b097 [2024-07-02T09:10:34.607Z] Step 7/23 : COPY go.mod vendor* ./ [2024-07-02T09:10:34.867Z] ---> c9256adc077a [2024-07-02T09:10:34.867Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-02T09:10:34.867Z] ---> Running in 5f7eb7de2603 [2024-07-02T09:10:35.434Z] Removing intermediate container 5f7eb7de2603 [2024-07-02T09:10:35.434Z] ---> b80b562bb5e5 [2024-07-02T09:10:35.434Z] Step 9/23 : COPY . . [2024-07-02T09:10:36.002Z] ---> 27b02e2a642a [2024-07-02T09:10:36.002Z] Step 10/23 : RUN ${MAKE} [2024-07-02T09:10:36.002Z] ---> Running in ba2ce66e693e [2024-07-02T09:10:36.260Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.15 -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-02T09:11:02.810Z] Removing intermediate container ba2ce66e693e [2024-07-02T09:11:02.810Z] ---> 951e130558e7 [2024-07-02T09:11:02.810Z] Step 11/23 : FROM alpine:3.18 [2024-07-02T09:11:02.810Z] 3.18: Pulling from library/alpine [2024-07-02T09:11:02.810Z] 73baa7ef167e: Pulling fs layer [2024-07-02T09:11:02.810Z] 73baa7ef167e: Verifying Checksum [2024-07-02T09:11:02.810Z] 73baa7ef167e: Download complete [2024-07-02T09:11:02.810Z] 73baa7ef167e: Pull complete [2024-07-02T09:11:02.810Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-02T09:11:02.810Z] Status: Downloaded newer image for alpine:3.18 [2024-07-02T09:11:02.810Z] ---> 8fd7cac70a4a [2024-07-02T09:11:02.810Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-07-02T09:11:02.810Z] ---> Running in efc74fad8019 [2024-07-02T09:11:02.810Z] Removing intermediate container efc74fad8019 [2024-07-02T09:11:02.810Z] ---> b14e318ed2b3 [2024-07-02T09:11:02.810Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-07-02T09:11:02.810Z] ---> Running in 5b3e30d12bfe [2024-07-02T09:11:02.810Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-02T09:11:02.810Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-02T09:11:03.070Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-02T09:11:03.070Z] Executing busybox-1.36.1-r7.trigger [2024-07-02T09:11:03.070Z] OK: 7 MiB in 16 packages [2024-07-02T09:11:03.637Z] Removing intermediate container 5b3e30d12bfe [2024-07-02T09:11:03.637Z] ---> 464936930595 [2024-07-02T09:11:03.637Z] Step 14/23 : RUN apk --no-cache upgrade [2024-07-02T09:11:03.637Z] ---> Running in e0c6cfddc350 [2024-07-02T09:11:03.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-02T09:11:03.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-02T09:11:04.154Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-02T09:11:04.154Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-02T09:11:04.154Z] OK: 7 MiB in 16 packages [2024-07-02T09:11:04.724Z] Removing intermediate container e0c6cfddc350 [2024-07-02T09:11:04.724Z] ---> 96a182b3558c [2024-07-02T09:11:04.724Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-07-02T09:11:06.148Z] ---> 5846732214a3 [2024-07-02T09:11:06.148Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-07-02T09:11:06.148Z] ---> b1e3c3e9a24f [2024-07-02T09:11:06.148Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-07-02T09:11:06.406Z] ---> ed1c87eb6696 [2024-07-02T09:11:06.406Z] Step 18/23 : EXPOSE 59901 [2024-07-02T09:11:06.406Z] ---> Running in a962241d870e [2024-07-02T09:11:06.406Z] Removing intermediate container a962241d870e [2024-07-02T09:11:06.406Z] ---> 4d911392d828 [2024-07-02T09:11:06.406Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-07-02T09:11:06.406Z] ---> Running in 7ae455987373 [2024-07-02T09:11:06.665Z] Removing intermediate container 7ae455987373 [2024-07-02T09:11:06.665Z] ---> 6f34972ed3b1 [2024-07-02T09:11:06.665Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-02T09:11:06.665Z] ---> Running in f735918ede2c [2024-07-02T09:11:06.665Z] Removing intermediate container f735918ede2c [2024-07-02T09:11:06.665Z] ---> 303167a96dfc [2024-07-02T09:11:06.665Z] Step 21/23 : LABEL arch=amd64 [2024-07-02T09:11:06.665Z] ---> Running in 1edc3b83f341 [2024-07-02T09:11:06.665Z] Removing intermediate container 1edc3b83f341 [2024-07-02T09:11:06.665Z] ---> 324447943f40 [2024-07-02T09:11:06.665Z] Step 22/23 : LABEL git_sha=016774ad856346449abec6a76f039c0b34c03e63 [2024-07-02T09:11:06.923Z] ---> Running in be98c1b9b5b1 [2024-07-02T09:11:06.923Z] Removing intermediate container be98c1b9b5b1 [2024-07-02T09:11:06.923Z] ---> 034b86eaf226 [2024-07-02T09:11:06.923Z] Step 23/23 : LABEL version=3.2.0-dev.15 [2024-07-02T09:11:06.923Z] ---> Running in dcf6523afdf6 [2024-07-02T09:11:06.923Z] Removing intermediate container dcf6523afdf6 [2024-07-02T09:11:06.923Z] ---> dbb75c3ea206 [2024-07-02T09:11:06.923Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-02T09:11:06.923Z] Successfully built dbb75c3ea206 [2024-07-02T09:11:06.923Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-02T09:11:07.045Z] provisioning config files... [2024-07-02T09:11:07.054Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10134307668169468611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-02T09:11:07.354Z] ---> ****-login.sh [2024-07-02T09:11:07.354Z] nexus3.edgexfoundry.org:10001 [2024-07-02T09:11:07.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T09:11:07.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T09:11:07.354Z] Configure a credential helper to remove this warning. See [2024-07-02T09:11:07.354Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T09:11:07.354Z] [2024-07-02T09:11:07.354Z] Login Succeeded [2024-07-02T09:11:07.354Z] nexus3.edgexfoundry.org:10002 [2024-07-02T09:11:07.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T09:11:07.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T09:11:07.355Z] Configure a credential helper to remove this warning. See [2024-07-02T09:11:07.355Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T09:11:07.355Z] [2024-07-02T09:11:07.355Z] Login Succeeded [2024-07-02T09:11:07.355Z] nexus3.edgexfoundry.org:10003 [2024-07-02T09:11:07.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T09:11:07.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T09:11:07.613Z] Configure a credential helper to remove this warning. See [2024-07-02T09:11:07.613Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T09:11:07.613Z] [2024-07-02T09:11:07.613Z] Login Succeeded [2024-07-02T09:11:07.613Z] nexus3.edgexfoundry.org:10004 [2024-07-02T09:11:07.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T09:11:07.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T09:11:07.613Z] Configure a credential helper to remove this warning. See [2024-07-02T09:11:07.613Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T09:11:07.613Z] [2024-07-02T09:11:07.613Z] Login Succeeded [2024-07-02T09:11:07.613Z] ****.io [2024-07-02T09:11:07.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T09:11:07.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T09:11:07.872Z] Configure a credential helper to remove this warning. See [2024-07-02T09:11:07.872Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T09:11:07.872Z] [2024-07-02T09:11:07.872Z] Login Succeeded [2024-07-02T09:11:07.872Z] ---> ****-login.sh ends [Pipeline] } [2024-07-02T09:11:07.879Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-07-02T09:11:07.925Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-02T09:11:07.951Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2024-07-02T09:11:07.951Z] 016774ad856346449abec6a76f039c0b34c03e63 [2024-07-02T09:11:07.951Z] latest [2024-07-02T09:11:07.951Z] 3.2.0-dev.15 [2024-07-02T09:11:07.951Z] 016774ad856346449abec6a76f039c0b34c03e63-3.2.0-dev.15 [2024-07-02T09:11:07.951Z] main [2024-07-02T09:11:07.951Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:11:08.301Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:016774ad856346449abec6a76f039c0b34c03e63 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:11:08.623Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:016774ad856346449abec6a76f039c0b34c03e63 [2024-07-02T09:11:08.623Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2024-07-02T09:11:08.623Z] 8fdbd10c14c8: Preparing [2024-07-02T09:11:08.623Z] 78fa373dc03a: Preparing [2024-07-02T09:11:08.623Z] 3b326b2c6803: Preparing [2024-07-02T09:11:08.623Z] bfa4b2c09b0a: Preparing [2024-07-02T09:11:08.623Z] 9b545aa4b39c: Preparing [2024-07-02T09:11:08.623Z] 63ec0bd56cf3: Preparing [2024-07-02T09:11:08.623Z] 63ec0bd56cf3: Waiting [2024-07-02T09:11:08.623Z] 8fdbd10c14c8: Pushed [2024-07-02T09:11:08.623Z] 78fa373dc03a: Pushed [2024-07-02T09:11:08.623Z] 9b545aa4b39c: Pushed [2024-07-02T09:11:09.192Z] 63ec0bd56cf3: Layer already exists [2024-07-02T09:11:09.192Z] bfa4b2c09b0a: Pushed [2024-07-02T09:11:11.727Z] 3b326b2c6803: Pushed [2024-07-02T09:11:11.727Z] 016774ad856346449abec6a76f039c0b34c03e63: digest: sha256:79d26ca561a04ec5447166224660b7a5bd010a5bb125a9a7343e3efe73bfdee5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:11:12.044Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:11:12.362Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2024-07-02T09:11:12.362Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2024-07-02T09:11:12.362Z] 8fdbd10c14c8: Preparing [2024-07-02T09:11:12.362Z] 78fa373dc03a: Preparing [2024-07-02T09:11:12.362Z] 3b326b2c6803: Preparing [2024-07-02T09:11:12.362Z] bfa4b2c09b0a: Preparing [2024-07-02T09:11:12.362Z] 9b545aa4b39c: Preparing [2024-07-02T09:11:12.362Z] 63ec0bd56cf3: Preparing [2024-07-02T09:11:12.362Z] 9b545aa4b39c: Layer already exists [2024-07-02T09:11:12.362Z] 8fdbd10c14c8: Layer already exists [2024-07-02T09:11:12.362Z] 3b326b2c6803: Layer already exists [2024-07-02T09:11:12.362Z] 78fa373dc03a: Layer already exists [2024-07-02T09:11:12.362Z] bfa4b2c09b0a: Layer already exists [2024-07-02T09:11:12.362Z] 63ec0bd56cf3: Layer already exists [2024-07-02T09:11:12.362Z] latest: digest: sha256:79d26ca561a04ec5447166224660b7a5bd010a5bb125a9a7343e3efe73bfdee5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:11:12.678Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:11:13.004Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.15 [2024-07-02T09:11:13.004Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2024-07-02T09:11:13.004Z] 8fdbd10c14c8: Preparing [2024-07-02T09:11:13.004Z] 78fa373dc03a: Preparing [2024-07-02T09:11:13.004Z] 3b326b2c6803: Preparing [2024-07-02T09:11:13.004Z] bfa4b2c09b0a: Preparing [2024-07-02T09:11:13.004Z] 9b545aa4b39c: Preparing [2024-07-02T09:11:13.004Z] 63ec0bd56cf3: Preparing [2024-07-02T09:11:13.004Z] 63ec0bd56cf3: Waiting [2024-07-02T09:11:13.004Z] bfa4b2c09b0a: Layer already exists [2024-07-02T09:11:13.004Z] 78fa373dc03a: Layer already exists [2024-07-02T09:11:13.004Z] 3b326b2c6803: Layer already exists [2024-07-02T09:11:13.004Z] 8fdbd10c14c8: Layer already exists [2024-07-02T09:11:13.004Z] 9b545aa4b39c: Layer already exists [2024-07-02T09:11:13.004Z] 63ec0bd56cf3: Layer already exists [2024-07-02T09:11:13.004Z] 3.2.0-dev.15: digest: sha256:79d26ca561a04ec5447166224660b7a5bd010a5bb125a9a7343e3efe73bfdee5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:11:13.342Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:016774ad856346449abec6a76f039c0b34c03e63-3.2.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:11:13.668Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:016774ad856346449abec6a76f039c0b34c03e63-3.2.0-dev.15 [2024-07-02T09:11:13.668Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2024-07-02T09:11:13.668Z] 8fdbd10c14c8: Preparing [2024-07-02T09:11:13.668Z] 78fa373dc03a: Preparing [2024-07-02T09:11:13.668Z] 3b326b2c6803: Preparing [2024-07-02T09:11:13.668Z] bfa4b2c09b0a: Preparing [2024-07-02T09:11:13.668Z] 9b545aa4b39c: Preparing [2024-07-02T09:11:13.668Z] 63ec0bd56cf3: Preparing [2024-07-02T09:11:13.668Z] 63ec0bd56cf3: Waiting [2024-07-02T09:11:13.668Z] 9b545aa4b39c: Layer already exists [2024-07-02T09:11:13.668Z] 8fdbd10c14c8: Layer already exists [2024-07-02T09:11:13.668Z] bfa4b2c09b0a: Layer already exists [2024-07-02T09:11:13.668Z] 3b326b2c6803: Layer already exists [2024-07-02T09:11:13.668Z] 78fa373dc03a: Layer already exists [2024-07-02T09:11:13.668Z] 63ec0bd56cf3: Layer already exists [2024-07-02T09:11:13.668Z] 016774ad856346449abec6a76f039c0b34c03e63-3.2.0-dev.15: digest: sha256:79d26ca561a04ec5447166224660b7a5bd010a5bb125a9a7343e3efe73bfdee5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:11:13.996Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:11:14.316Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2024-07-02T09:11:14.317Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2024-07-02T09:11:14.317Z] 8fdbd10c14c8: Preparing [2024-07-02T09:11:14.317Z] 78fa373dc03a: Preparing [2024-07-02T09:11:14.317Z] 3b326b2c6803: Preparing [2024-07-02T09:11:14.317Z] bfa4b2c09b0a: Preparing [2024-07-02T09:11:14.317Z] 9b545aa4b39c: Preparing [2024-07-02T09:11:14.317Z] 63ec0bd56cf3: Preparing [2024-07-02T09:11:14.317Z] 63ec0bd56cf3: Waiting [2024-07-02T09:11:14.317Z] bfa4b2c09b0a: Layer already exists [2024-07-02T09:11:14.317Z] 3b326b2c6803: Layer already exists [2024-07-02T09:11:14.317Z] 78fa373dc03a: Layer already exists [2024-07-02T09:11:14.317Z] 8fdbd10c14c8: Layer already exists [2024-07-02T09:11:14.317Z] 9b545aa4b39c: Layer already exists [2024-07-02T09:11:14.317Z] 63ec0bd56cf3: Layer already exists [2024-07-02T09:11:14.317Z] main: digest: sha256:79d26ca561a04ec5447166224660b7a5bd010a5bb125a9a7343e3efe73bfdee5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-07-02T09:11:14.403Z] ===================================================== [Pipeline] echo [2024-07-02T09:11:14.422Z] taggedImages: [2024-07-02T09:11:14.422Z] - nexus3.edgexfoundry.org:10004/device-modbus:016774ad856346449abec6a76f039c0b34c03e63 [2024-07-02T09:11:14.422Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2024-07-02T09:11:14.422Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.15 [2024-07-02T09:11:14.422Z] - nexus3.edgexfoundry.org:10004/device-modbus:016774ad856346449abec6a76f039c0b34c03e63-3.2.0-dev.15 [2024-07-02T09:11:14.422Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [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-02T09:11:14.859Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-02T09:11:14.859Z] [2024-07-02T09:11:14.859Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:11:15.162Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-02T09:11:15.162Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-02T09:11:15.162Z] 5eb5b503b376: Pulling fs layer [2024-07-02T09:11:15.162Z] 5c69ac0246d0: Pulling fs layer [2024-07-02T09:11:15.162Z] ec43610c2a17: Pulling fs layer [2024-07-02T09:11:15.162Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-02T09:11:15.162Z] 33b1e0a273af: Pulling fs layer [2024-07-02T09:11:15.162Z] 5d3b04190fa2: Pulling fs layer [2024-07-02T09:11:15.162Z] 2f39f015ded8: Pulling fs layer [2024-07-02T09:11:15.162Z] 5d3b04190fa2: Waiting [2024-07-02T09:11:15.162Z] 3a2ae6a8a46f: Waiting [2024-07-02T09:11:15.162Z] 2f39f015ded8: Waiting [2024-07-02T09:11:15.162Z] 33b1e0a273af: Waiting [2024-07-02T09:11:15.162Z] 5c69ac0246d0: Verifying Checksum [2024-07-02T09:11:15.162Z] 5c69ac0246d0: Download complete [2024-07-02T09:11:15.162Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-02T09:11:15.162Z] 3a2ae6a8a46f: Download complete [2024-07-02T09:11:15.162Z] 33b1e0a273af: Verifying Checksum [2024-07-02T09:11:15.162Z] 33b1e0a273af: Download complete [2024-07-02T09:11:15.162Z] 5d3b04190fa2: Verifying Checksum [2024-07-02T09:11:15.162Z] 5d3b04190fa2: Download complete [2024-07-02T09:11:15.162Z] ec43610c2a17: Verifying Checksum [2024-07-02T09:11:15.162Z] ec43610c2a17: Download complete [2024-07-02T09:11:15.426Z] 5eb5b503b376: Verifying Checksum [2024-07-02T09:11:15.426Z] 5eb5b503b376: Download complete [2024-07-02T09:11:15.998Z] 2f39f015ded8: Download complete [2024-07-02T09:11:16.563Z] 5eb5b503b376: Pull complete [2024-07-02T09:11:16.821Z] 5c69ac0246d0: Pull complete [2024-07-02T09:11:17.080Z] ec43610c2a17: Pull complete [2024-07-02T09:11:17.341Z] 3a2ae6a8a46f: Pull complete [2024-07-02T09:11:17.341Z] 33b1e0a273af: Pull complete [2024-07-02T09:11:17.600Z] 5d3b04190fa2: Pull complete [2024-07-02T09:11:21.783Z] 2f39f015ded8: Pull complete [2024-07-02T09:11:21.783Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-02T09:11:21.783Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-02T09:11:21.783Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T09:11:21.880Z] prd-ubuntu20.04-docker-8c-8g-4803 does not seem to be running inside a container [2024-07-02T09:11:21.907Z] $ 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/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-02T09:11:23.121Z] $ docker top f1dfa939430e97e159fdebfc81c29b551543335524b91c6f6c494ac3a573fdde -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-02T09:11:23.507Z] ---> job-cost.sh [2024-07-02T09:11:23.508Z] lf-activate-venv: SKIPPING [2024-07-02T09:11:23.508Z] INFO: No Stack... [2024-07-02T09:11:23.767Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-02T09:11:24.026Z] INFO: Archiving Costs [Pipeline] sh [2024-07-02T09:11:24.318Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2024-07-02T09:11:24.318Z] + cut -d, -f6 [Pipeline] lock [2024-07-02T09:11:24.332Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-154-stack-cost] [2024-07-02T09:11:24.342Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-154-stack-cost] did not exist. Created. [2024-07-02T09:11:24.351Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-154-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-02T09:11:24.663Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-02T09:11:24.701Z] Stashed 1 file(s) [Pipeline] } [2024-07-02T09:11:24.709Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-154-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-02T09:11:24.733Z] $ docker stop --time=1 f1dfa939430e97e159fdebfc81c29b551543335524b91c6f6c494ac3a573fdde [2024-07-02T09:11:25.871Z] $ docker rm -f --volumes f1dfa939430e97e159fdebfc81c29b551543335524b91c6f6c494ac3a573fdde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-02T09:12:16.243Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4805 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2024-07-02T09:12:16.260Z] Running in /w/workspace/device-modbus-go/154 [Pipeline] { [Pipeline] checkout [2024-07-02T09:12:16.305Z] The recommended git tool is: git [2024-07-02T09:12:23.948Z] using credential edgex-jenkins-ssh [2024-07-02T09:12:23.972Z] Cloning the remote Git repository [2024-07-02T09:12:24.018Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-07-02T09:12:24.150Z] > git init /w/workspace/device-modbus-go/154 # timeout=10 [2024-07-02T09:12:24.402Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-07-02T09:12:24.403Z] > git --version # timeout=10 [2024-07-02T09:12:24.447Z] > git --version # 'git version 2.25.1' [2024-07-02T09:12:24.450Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-02T09:12:24.674Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-02T09:12:26.950Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-07-02T09:12:26.984Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-02T09:12:27.945Z] Avoid second fetch [2024-07-02T09:12:27.945Z] Checking out Revision 016774ad856346449abec6a76f039c0b34c03e63 (main) [2024-07-02T09:12:27.958Z] > git config core.sparsecheckout # timeout=10 [2024-07-02T09:12:28.021Z] > git checkout -f 016774ad856346449abec6a76f039c0b34c03e63 # timeout=10 [2024-07-02T09:12:28.573Z] Commit message: "Merge pull request #557 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.19" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-02T09:12:33.288Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-02T09:12:33.288Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-02T09:12:33.288Z] Dload Upload Total Spent Left Speed [2024-07-02T09:12:33.288Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 202k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh [2024-07-02T09:12:33.629Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-02T09:12:33.962Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2024-07-02T09:12:33.962Z] /etc/docker/daemon.new [2024-07-02T09:12:33.962Z] { [2024-07-02T09:12:33.962Z] "registry-mirrors": [ [2024-07-02T09:12:33.962Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-02T09:12:33.962Z] ], [2024-07-02T09:12:33.962Z] "bip": "10.250.0.254/24", [2024-07-02T09:12:33.962Z] "hosts": [ [2024-07-02T09:12:33.962Z] "tcp://0.0.0.0:5555", [2024-07-02T09:12:33.962Z] "unix:///var/run/docker.sock" [2024-07-02T09:12:33.962Z] ], [2024-07-02T09:12:33.962Z] "mtu": 1458, [2024-07-02T09:12:33.962Z] "selinux-enabled": true, [2024-07-02T09:12:33.962Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-02T09:12:33.962Z] } [Pipeline] sh [2024-07-02T09:12:34.311Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-02T09:12:34.639Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-02T09:12:52.922Z] provisioning config files... [2024-07-02T09:12:52.948Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/154@tmp/config5470824924853697686tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-02T09:12:53.407Z] ---> ****-login.sh [2024-07-02T09:12:53.407Z] nexus3.edgexfoundry.org:10001 [2024-07-02T09:12:53.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T09:12:54.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T09:12:54.267Z] Configure a credential helper to remove this warning. See [2024-07-02T09:12:54.267Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T09:12:54.267Z] [2024-07-02T09:12:54.267Z] Login Succeeded [2024-07-02T09:12:54.267Z] nexus3.edgexfoundry.org:10002 [2024-07-02T09:12:54.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T09:12:54.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T09:12:54.540Z] Configure a credential helper to remove this warning. See [2024-07-02T09:12:54.540Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T09:12:54.540Z] [2024-07-02T09:12:54.540Z] Login Succeeded [2024-07-02T09:12:54.540Z] nexus3.edgexfoundry.org:10003 [2024-07-02T09:12:54.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T09:12:54.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T09:12:54.808Z] Configure a credential helper to remove this warning. See [2024-07-02T09:12:54.808Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T09:12:54.808Z] [2024-07-02T09:12:54.808Z] Login Succeeded [2024-07-02T09:12:55.078Z] nexus3.edgexfoundry.org:10004 [2024-07-02T09:12:55.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T09:12:55.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T09:12:55.347Z] Configure a credential helper to remove this warning. See [2024-07-02T09:12:55.347Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T09:12:55.347Z] [2024-07-02T09:12:55.347Z] Login Succeeded [2024-07-02T09:12:55.347Z] ****.io [2024-07-02T09:12:55.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T09:12:55.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T09:12:55.885Z] Configure a credential helper to remove this warning. See [2024-07-02T09:12:55.885Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T09:12:55.885Z] [2024-07-02T09:12:55.885Z] Login Succeeded [2024-07-02T09:12:55.885Z] ---> ****-login.sh ends [Pipeline] } [2024-07-02T09:12:55.898Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-02T09:12:56.270Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-02T09:12:56.291Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-02T09:12:56.386Z] ========================================================= [2024-07-02T09:12:56.386Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-02T09:12:56.386Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:12:56.878Z] + 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-02T09:12:57.150Z] Sending build context to Docker daemon 9.041MB [2024-07-02T09:12:57.150Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-02T09:12:57.150Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-02T09:12:57.425Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-02T09:12:57.425Z] c6b39de5b339: Pulling fs layer [2024-07-02T09:12:57.425Z] a69c41024577: Pulling fs layer [2024-07-02T09:12:57.425Z] d6de4b400683: Pulling fs layer [2024-07-02T09:12:57.425Z] 35cb2a7552d0: Pulling fs layer [2024-07-02T09:12:57.425Z] 4f4fb700ef54: Pulling fs layer [2024-07-02T09:12:57.425Z] 464afbd9ba4c: Pulling fs layer [2024-07-02T09:12:57.425Z] 00f215d4a9da: Pulling fs layer [2024-07-02T09:12:57.425Z] d496ad576159: Pulling fs layer [2024-07-02T09:12:57.425Z] 464afbd9ba4c: Waiting [2024-07-02T09:12:57.425Z] 35cb2a7552d0: Waiting [2024-07-02T09:12:57.425Z] 00f215d4a9da: Waiting [2024-07-02T09:12:57.425Z] d496ad576159: Waiting [2024-07-02T09:12:57.425Z] 4f4fb700ef54: Waiting [2024-07-02T09:12:57.425Z] a69c41024577: Verifying Checksum [2024-07-02T09:12:57.425Z] a69c41024577: Download complete [2024-07-02T09:12:57.425Z] 35cb2a7552d0: Verifying Checksum [2024-07-02T09:12:57.425Z] 35cb2a7552d0: Download complete [2024-07-02T09:12:57.699Z] 4f4fb700ef54: Verifying Checksum [2024-07-02T09:12:57.699Z] 4f4fb700ef54: Download complete [2024-07-02T09:12:57.699Z] 464afbd9ba4c: Verifying Checksum [2024-07-02T09:12:57.699Z] 464afbd9ba4c: Download complete [2024-07-02T09:12:57.699Z] c6b39de5b339: Download complete [2024-07-02T09:12:58.293Z] d496ad576159: Verifying Checksum [2024-07-02T09:12:58.293Z] d496ad576159: Download complete [2024-07-02T09:12:58.566Z] c6b39de5b339: Pull complete [2024-07-02T09:12:59.540Z] a69c41024577: Pull complete [2024-07-02T09:12:59.540Z] d6de4b400683: Verifying Checksum [2024-07-02T09:12:59.540Z] d6de4b400683: Download complete [2024-07-02T09:13:00.508Z] 00f215d4a9da: Verifying Checksum [2024-07-02T09:13:00.508Z] 00f215d4a9da: Download complete [2024-07-02T09:13:12.826Z] d6de4b400683: Pull complete [2024-07-02T09:13:12.826Z] 35cb2a7552d0: Pull complete [2024-07-02T09:13:12.826Z] 4f4fb700ef54: Pull complete [2024-07-02T09:13:12.826Z] 464afbd9ba4c: Pull complete [2024-07-02T09:13:21.034Z] 00f215d4a9da: Pull complete [2024-07-02T09:13:22.458Z] d496ad576159: Pull complete [2024-07-02T09:13:22.458Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-02T09:13:22.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-02T09:13:22.458Z] ---> f246e2811388 [2024-07-02T09:13:22.458Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-07-02T09:13:23.449Z] ---> Running in 15b308fa30df [2024-07-02T09:13:23.725Z] Removing intermediate container 15b308fa30df [2024-07-02T09:13:23.725Z] ---> 9365c62bba4b [2024-07-02T09:13:23.725Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-02T09:13:23.997Z] ---> Running in 6fe18c267462 [2024-07-02T09:13:24.266Z] Removing intermediate container 6fe18c267462 [2024-07-02T09:13:24.266Z] ---> 2748c28bc8c1 [2024-07-02T09:13:24.266Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-07-02T09:13:24.266Z] ---> Running in 53465e6b1c6c [2024-07-02T09:13:25.231Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-02T09:13:25.814Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-02T09:13:26.772Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-07-02T09:13:26.772Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-07-02T09:13:26.772Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-07-02T09:13:26.772Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-07-02T09:13:27.043Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-07-02T09:13:27.043Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-07-02T09:13:27.043Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-07-02T09:13:27.043Z] (8/8) Installing openssh (9.3_p2-r1) [2024-07-02T09:13:27.043Z] Executing busybox-1.36.1-r5.trigger [2024-07-02T09:13:27.043Z] OK: 272 MiB in 60 packages [2024-07-02T09:13:28.457Z] Removing intermediate container 53465e6b1c6c [2024-07-02T09:13:28.457Z] ---> 2c456c644ac3 [2024-07-02T09:13:28.457Z] Step 6/10 : WORKDIR /device-modbus-go [2024-07-02T09:13:28.457Z] ---> Running in 437506ddec62 [2024-07-02T09:13:29.423Z] Removing intermediate container 437506ddec62 [2024-07-02T09:13:29.423Z] ---> db43b2a0fd8f [2024-07-02T09:13:29.423Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-02T09:13:30.019Z] ---> fa19ddaa4c3f [2024-07-02T09:13:30.019Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-02T09:13:30.019Z] ---> Running in 871e2cd59cbe [2024-07-02T09:15:36.746Z] Removing intermediate container 871e2cd59cbe [2024-07-02T09:15:36.746Z] ---> ca56b31f5aa1 [2024-07-02T09:15:36.746Z] Step 9/10 : COPY . . [2024-07-02T09:15:37.710Z] ---> 6c7f688bd12f [2024-07-02T09:15:37.710Z] Step 10/10 : RUN ${MAKE} [2024-07-02T09:15:37.710Z] ---> Running in a4ea358df90f [2024-07-02T09:15:38.679Z] noop [2024-07-02T09:15:39.648Z] Removing intermediate container a4ea358df90f [2024-07-02T09:15:39.648Z] ---> 7f52bfcb1150 [2024-07-02T09:15:39.648Z] Successfully built 7f52bfcb1150 [2024-07-02T09:15:39.648Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:15:40.026Z] + docker inspect -f . ci-base-image-arm64 [2024-07-02T09:15:40.026Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T09:15:40.285Z] prd-ubuntu20.04-docker-arm64-4c-16g-4805 does not seem to be running inside a container [2024-07-02T09:15:40.373Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/154 -v /w/workspace/device-modbus-go/154:/w/workspace/device-modbus-go/154:rw,z -v /w/workspace/device-modbus-go/154@tmp:/w/workspace/device-modbus-go/154@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 ******** ci-base-image-arm64 cat [2024-07-02T09:15:41.788Z] $ docker top 7874e3ae0d46997f9e0904511f2a63eb5c8357e86a0f362dcbdb4cf723023d7f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T09:15:42.683Z] + go version [2024-07-02T09:15:42.683Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-02T09:15:42.698Z] $ docker stop --time=1 7874e3ae0d46997f9e0904511f2a63eb5c8357e86a0f362dcbdb4cf723023d7f [2024-07-02T09:15:44.381Z] $ docker rm -f --volumes 7874e3ae0d46997f9e0904511f2a63eb5c8357e86a0f362dcbdb4cf723023d7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:15:44.987Z] + docker inspect -f . ci-base-image-arm64 [2024-07-02T09:15:44.987Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T09:15:45.201Z] prd-ubuntu20.04-docker-arm64-4c-16g-4805 does not seem to be running inside a container [2024-07-02T09:15:45.396Z] $ 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/154 -v /w/workspace/device-modbus-go/154:/w/workspace/device-modbus-go/154:rw,z -v /w/workspace/device-modbus-go/154@tmp:/w/workspace/device-modbus-go/154@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 ******** ci-base-image-arm64 cat [2024-07-02T09:15:46.735Z] $ docker top 13bec60853ff7a2d492af934d9ba8948e2d46cdcbe9afb72f57bc54d733c49c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T09:15:47.630Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/154 [Pipeline] fileExists [Pipeline] sh [2024-07-02T09:15:48.290Z] + make test [2024-07-02T09:15:48.290Z] go test ./... -coverprofile=coverage.out [2024-07-02T09:15:54.946Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-07-02T09:19:32.028Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-07-02T09:19:35.398Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.059s coverage: 47.9% of statements [2024-07-02T09:19:35.995Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-02T09:19:35.995Z] go vet ./... [2024-07-02T09:20:22.825Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-02T09:20:22.825Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-02T09:20:22.825Z] ./bin/test-attribution-txt.sh [2024-07-02T09:20:22.825Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-02T09:20:22.825Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-02T09:20:22.826Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-02T09:20:22.843Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-02T09:20:22.855Z] $ docker stop --time=1 13bec60853ff7a2d492af934d9ba8948e2d46cdcbe9afb72f57bc54d733c49c5 [2024-07-02T09:20:24.755Z] $ docker rm -f --volumes 13bec60853ff7a2d492af934d9ba8948e2d46cdcbe9afb72f57bc54d733c49c5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-02T09:20:26.281Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-02T09:20:26.307Z] Warning: overwriting stash ‘coverage-report’ [2024-07-02T09:20:26.800Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-02T09:20:27.213Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-02T09:20:27.550Z] + ls -al . [2024-07-02T09:20:27.550Z] total 260 [2024-07-02T09:20:27.550Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 09:15 . [2024-07-02T09:20:27.550Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 09:12 .. [2024-07-02T09:20:27.550Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 2 09:12 .dockerignore [2024-07-02T09:20:27.550Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 09:12 .git [2024-07-02T09:20:27.550Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 09:12 .github [2024-07-02T09:20:27.550Z] -rw-rw-r-- 1 jenkins jenkins 266 Jul 2 09:12 .gitignore [2024-07-02T09:20:27.550Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 2 09:12 .golangci.yml [2024-07-02T09:20:27.550Z] -rw-rw-r-- 1 jenkins jenkins 11101 Jul 2 09:12 Attribution.txt [2024-07-02T09:20:27.550Z] -rw-rw-r-- 1 jenkins jenkins 16388 Jul 2 09:12 CHANGELOG.md [2024-07-02T09:20:27.550Z] -rw-rw-r-- 1 jenkins jenkins 1474 Jul 2 09:12 Dockerfile [2024-07-02T09:20:27.550Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 2 09:12 GOVERNANCE.md [2024-07-02T09:20:27.550Z] -rw-rw-r-- 1 jenkins jenkins 658 Jul 2 09:12 Jenkinsfile [2024-07-02T09:20:27.550Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 2 09:12 LICENSE [2024-07-02T09:20:27.550Z] -rw-rw-r-- 1 jenkins jenkins 1942 Jul 2 09:12 Makefile [2024-07-02T09:20:27.550Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 2 09:12 OWNERS.md [2024-07-02T09:20:27.550Z] -rw-rw-r-- 1 jenkins jenkins 4463 Jul 2 09:12 README.md [2024-07-02T09:20:27.550Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 2 09:08 VERSION [2024-07-02T09:20:27.550Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 09:12 bin [2024-07-02T09:20:27.550Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 09:12 cmd [2024-07-02T09:20:27.550Z] -rw-r--r-- 1 jenkins jenkins 24601 Jul 2 09:19 coverage.out [2024-07-02T09:20:27.550Z] -rw-rw-r-- 1 jenkins jenkins 7241 Jul 2 09:12 go.mod [2024-07-02T09:20:27.550Z] -rw-rw-r-- 1 jenkins jenkins 102291 Jul 2 09:12 go.sum [2024-07-02T09:20:27.550Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 09:12 internal [2024-07-02T09:20:27.550Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 09:12 simulator [2024-07-02T09:20:27.550Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 2 09:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:20:27.890Z] + 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=016774ad856346449abec6a76f039c0b34c03e63 --label arch=arm64 --label version=3.2.0-dev.15 . [2024-07-02T09:20:28.155Z] Sending build context to Docker daemon 9.066MB [2024-07-02T09:20:28.421Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-07-02T09:20:28.421Z] Step 2/23 : FROM ${BASE} AS builder [2024-07-02T09:20:28.421Z] ---> 7f52bfcb1150 [2024-07-02T09:20:28.421Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-07-02T09:20:28.421Z] ---> Running in 1f17562440a0 [2024-07-02T09:20:28.695Z] Removing intermediate container 1f17562440a0 [2024-07-02T09:20:28.695Z] ---> 6ca34fe396c3 [2024-07-02T09:20:28.695Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-02T09:20:28.960Z] ---> Running in 91b5406339cb [2024-07-02T09:20:29.234Z] Removing intermediate container 91b5406339cb [2024-07-02T09:20:29.234Z] ---> 74d38893a25e [2024-07-02T09:20:29.234Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-07-02T09:20:29.234Z] ---> Running in d5dfbe07f367 [2024-07-02T09:20:30.643Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-02T09:20:30.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-02T09:20:31.869Z] OK: 272 MiB in 60 packages [2024-07-02T09:20:32.832Z] Removing intermediate container d5dfbe07f367 [2024-07-02T09:20:32.832Z] ---> b268edea3e66 [2024-07-02T09:20:32.832Z] Step 6/23 : WORKDIR /device-modbus-go [2024-07-02T09:20:33.101Z] ---> Running in 16b98d9decbd [2024-07-02T09:20:33.370Z] Removing intermediate container 16b98d9decbd [2024-07-02T09:20:33.370Z] ---> c167f429c8dd [2024-07-02T09:20:33.370Z] Step 7/23 : COPY go.mod vendor* ./ [2024-07-02T09:20:33.966Z] ---> 1f8e8b2b4280 [2024-07-02T09:20:33.966Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-02T09:20:33.966Z] ---> Running in d15c36ea38e0 [2024-07-02T09:20:36.559Z] Removing intermediate container d15c36ea38e0 [2024-07-02T09:20:36.559Z] ---> 121eee6e4b44 [2024-07-02T09:20:36.559Z] Step 9/23 : COPY . . [2024-07-02T09:20:37.525Z] ---> f0362c527166 [2024-07-02T09:20:37.525Z] Step 10/23 : RUN ${MAKE} [2024-07-02T09:20:37.525Z] ---> Running in ce24bc832d3f [2024-07-02T09:20:38.488Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.15 -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-02T09:24:15.270Z] Removing intermediate container ce24bc832d3f [2024-07-02T09:24:15.271Z] ---> 9ef2a2b9b54c [2024-07-02T09:24:15.271Z] Step 11/23 : FROM alpine:3.18 [2024-07-02T09:24:15.271Z] 3.18: Pulling from library/alpine [2024-07-02T09:24:15.271Z] 5c905c7ebe2f: Pulling fs layer [2024-07-02T09:24:15.271Z] 5c905c7ebe2f: Verifying Checksum [2024-07-02T09:24:15.271Z] 5c905c7ebe2f: Download complete [2024-07-02T09:24:15.271Z] 5c905c7ebe2f: Pull complete [2024-07-02T09:24:15.271Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-02T09:24:15.271Z] Status: Downloaded newer image for alpine:3.18 [2024-07-02T09:24:15.271Z] ---> dec292d02e07 [2024-07-02T09:24:15.271Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-07-02T09:24:15.271Z] ---> Running in 9dffcdb41881 [2024-07-02T09:24:15.271Z] Removing intermediate container 9dffcdb41881 [2024-07-02T09:24:15.271Z] ---> 2d3bf2c16bf0 [2024-07-02T09:24:15.271Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-07-02T09:24:15.271Z] ---> Running in 859f20e37f79 [2024-07-02T09:24:15.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-02T09:24:15.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-02T09:24:16.226Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-02T09:24:16.494Z] Executing busybox-1.36.1-r7.trigger [2024-07-02T09:24:16.494Z] OK: 8 MiB in 16 packages [2024-07-02T09:24:17.450Z] Removing intermediate container 859f20e37f79 [2024-07-02T09:24:17.450Z] ---> dac06fd623b4 [2024-07-02T09:24:17.450Z] Step 14/23 : RUN apk --no-cache upgrade [2024-07-02T09:24:17.450Z] ---> Running in fa2e1c6c2ba9 [2024-07-02T09:24:18.405Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-02T09:24:18.985Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-02T09:24:19.941Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-02T09:24:19.941Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-02T09:24:19.941Z] OK: 8 MiB in 16 packages [2024-07-02T09:24:20.904Z] Removing intermediate container fa2e1c6c2ba9 [2024-07-02T09:24:20.904Z] ---> b38356e1e6dc [2024-07-02T09:24:20.904Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-07-02T09:24:22.850Z] ---> 7a0996c43edc [2024-07-02T09:24:22.850Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-07-02T09:24:23.118Z] ---> 76e8da973f85 [2024-07-02T09:24:23.118Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-07-02T09:24:23.702Z] ---> a32b30698f73 [2024-07-02T09:24:23.702Z] Step 18/23 : EXPOSE 59901 [2024-07-02T09:24:23.702Z] ---> Running in 8121e400a86d [2024-07-02T09:24:23.971Z] Removing intermediate container 8121e400a86d [2024-07-02T09:24:23.971Z] ---> 9907e5f2c1b1 [2024-07-02T09:24:23.971Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-07-02T09:24:24.240Z] ---> Running in b8142220dbfb [2024-07-02T09:24:24.507Z] Removing intermediate container b8142220dbfb [2024-07-02T09:24:24.507Z] ---> ac93f087361a [2024-07-02T09:24:24.507Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-02T09:24:25.104Z] ---> Running in 69ecbdf487d7 [2024-07-02T09:24:25.370Z] Removing intermediate container 69ecbdf487d7 [2024-07-02T09:24:25.370Z] ---> 615279d6c0f7 [2024-07-02T09:24:25.370Z] Step 21/23 : LABEL arch=arm64 [2024-07-02T09:24:25.370Z] ---> Running in b9542b266bf7 [2024-07-02T09:24:25.634Z] Removing intermediate container b9542b266bf7 [2024-07-02T09:24:25.634Z] ---> d6f4e2136260 [2024-07-02T09:24:25.634Z] Step 22/23 : LABEL git_sha=016774ad856346449abec6a76f039c0b34c03e63 [2024-07-02T09:24:25.898Z] ---> Running in f0fca624bce6 [2024-07-02T09:24:26.163Z] Removing intermediate container f0fca624bce6 [2024-07-02T09:24:26.163Z] ---> 0828e886da2c [2024-07-02T09:24:26.163Z] Step 23/23 : LABEL version=3.2.0-dev.15 [2024-07-02T09:24:26.163Z] ---> Running in 80974ecac2cf [2024-07-02T09:24:26.428Z] Removing intermediate container 80974ecac2cf [2024-07-02T09:24:26.428Z] ---> 21755b712bf5 [2024-07-02T09:24:26.428Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-02T09:24:26.428Z] Successfully built 21755b712bf5 [2024-07-02T09:24:26.428Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-02T09:24:26.830Z] provisioning config files... [2024-07-02T09:24:26.845Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/154@tmp/config16816457978407631688tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-02T09:24:27.189Z] ---> ****-login.sh [2024-07-02T09:24:27.189Z] nexus3.edgexfoundry.org:10001 [2024-07-02T09:24:27.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T09:24:27.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T09:24:27.457Z] Configure a credential helper to remove this warning. See [2024-07-02T09:24:27.457Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T09:24:27.457Z] [2024-07-02T09:24:27.457Z] Login Succeeded [2024-07-02T09:24:27.457Z] nexus3.edgexfoundry.org:10002 [2024-07-02T09:24:27.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T09:24:27.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T09:24:27.726Z] Configure a credential helper to remove this warning. See [2024-07-02T09:24:27.726Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T09:24:27.726Z] [2024-07-02T09:24:27.726Z] Login Succeeded [2024-07-02T09:24:27.726Z] nexus3.edgexfoundry.org:10003 [2024-07-02T09:24:27.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T09:24:28.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T09:24:28.261Z] Configure a credential helper to remove this warning. See [2024-07-02T09:24:28.261Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T09:24:28.261Z] [2024-07-02T09:24:28.261Z] Login Succeeded [2024-07-02T09:24:28.261Z] nexus3.edgexfoundry.org:10004 [2024-07-02T09:24:28.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T09:24:28.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T09:24:28.529Z] Configure a credential helper to remove this warning. See [2024-07-02T09:24:28.529Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T09:24:28.529Z] [2024-07-02T09:24:28.529Z] Login Succeeded [2024-07-02T09:24:28.529Z] ****.io [2024-07-02T09:24:28.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T09:24:29.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T09:24:29.060Z] Configure a credential helper to remove this warning. See [2024-07-02T09:24:29.060Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T09:24:29.060Z] [2024-07-02T09:24:29.060Z] Login Succeeded [2024-07-02T09:24:29.060Z] ---> ****-login.sh ends [Pipeline] } [2024-07-02T09:24:29.072Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-07-02T09:24:29.127Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-02T09:24:29.158Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2024-07-02T09:24:29.158Z] 016774ad856346449abec6a76f039c0b34c03e63 [2024-07-02T09:24:29.158Z] latest [2024-07-02T09:24:29.158Z] 3.2.0-dev.15 [2024-07-02T09:24:29.158Z] 016774ad856346449abec6a76f039c0b34c03e63-3.2.0-dev.15 [2024-07-02T09:24:29.158Z] main [2024-07-02T09:24:29.158Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:24:29.531Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:016774ad856346449abec6a76f039c0b34c03e63 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:24:29.872Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:016774ad856346449abec6a76f039c0b34c03e63 [2024-07-02T09:24:29.872Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2024-07-02T09:24:29.872Z] 5f9078a27cfd: Preparing [2024-07-02T09:24:29.872Z] 2d1005baef94: Preparing [2024-07-02T09:24:29.872Z] c82ea177ec55: Preparing [2024-07-02T09:24:29.872Z] b0ab0cec44e6: Preparing [2024-07-02T09:24:29.872Z] 198d231b7889: Preparing [2024-07-02T09:24:29.872Z] da707bb00cb8: Preparing [2024-07-02T09:24:29.872Z] da707bb00cb8: Waiting [2024-07-02T09:24:30.150Z] 2d1005baef94: Pushed [2024-07-02T09:24:30.150Z] 5f9078a27cfd: Pushed [2024-07-02T09:24:30.150Z] 198d231b7889: Pushed [2024-07-02T09:24:30.150Z] da707bb00cb8: Layer already exists [2024-07-02T09:24:31.554Z] b0ab0cec44e6: Pushed [2024-07-02T09:24:38.203Z] c82ea177ec55: Pushed [2024-07-02T09:24:38.203Z] 016774ad856346449abec6a76f039c0b34c03e63: digest: sha256:4f71b0c35de444e9441c44996639e3c1b40c84bab4809539023f83e721d1afa6 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:24:38.569Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:24:38.922Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2024-07-02T09:24:38.922Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2024-07-02T09:24:38.922Z] 5f9078a27cfd: Preparing [2024-07-02T09:24:38.922Z] 2d1005baef94: Preparing [2024-07-02T09:24:38.922Z] c82ea177ec55: Preparing [2024-07-02T09:24:38.922Z] b0ab0cec44e6: Preparing [2024-07-02T09:24:38.922Z] 198d231b7889: Preparing [2024-07-02T09:24:38.922Z] da707bb00cb8: Preparing [2024-07-02T09:24:38.922Z] da707bb00cb8: Waiting [2024-07-02T09:24:38.922Z] 198d231b7889: Layer already exists [2024-07-02T09:24:38.922Z] c82ea177ec55: Layer already exists [2024-07-02T09:24:38.922Z] b0ab0cec44e6: Layer already exists [2024-07-02T09:24:38.922Z] 5f9078a27cfd: Layer already exists [2024-07-02T09:24:38.922Z] 2d1005baef94: Layer already exists [2024-07-02T09:24:38.922Z] da707bb00cb8: Layer already exists [2024-07-02T09:24:39.189Z] latest: digest: sha256:4f71b0c35de444e9441c44996639e3c1b40c84bab4809539023f83e721d1afa6 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:24:39.551Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:24:39.905Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.15 [2024-07-02T09:24:39.906Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2024-07-02T09:24:39.906Z] 5f9078a27cfd: Preparing [2024-07-02T09:24:39.906Z] 2d1005baef94: Preparing [2024-07-02T09:24:39.906Z] c82ea177ec55: Preparing [2024-07-02T09:24:39.906Z] b0ab0cec44e6: Preparing [2024-07-02T09:24:39.906Z] 198d231b7889: Preparing [2024-07-02T09:24:39.906Z] da707bb00cb8: Preparing [2024-07-02T09:24:39.906Z] da707bb00cb8: Waiting [2024-07-02T09:24:39.906Z] 2d1005baef94: Layer already exists [2024-07-02T09:24:39.906Z] c82ea177ec55: Layer already exists [2024-07-02T09:24:39.906Z] 198d231b7889: Layer already exists [2024-07-02T09:24:39.906Z] b0ab0cec44e6: Layer already exists [2024-07-02T09:24:39.906Z] 5f9078a27cfd: Layer already exists [2024-07-02T09:24:39.906Z] da707bb00cb8: Layer already exists [2024-07-02T09:24:40.213Z] 3.2.0-dev.15: digest: sha256:4f71b0c35de444e9441c44996639e3c1b40c84bab4809539023f83e721d1afa6 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:24:40.570Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:016774ad856346449abec6a76f039c0b34c03e63-3.2.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:24:40.928Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:016774ad856346449abec6a76f039c0b34c03e63-3.2.0-dev.15 [2024-07-02T09:24:40.928Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2024-07-02T09:24:40.928Z] 5f9078a27cfd: Preparing [2024-07-02T09:24:40.928Z] 2d1005baef94: Preparing [2024-07-02T09:24:40.928Z] c82ea177ec55: Preparing [2024-07-02T09:24:40.928Z] b0ab0cec44e6: Preparing [2024-07-02T09:24:40.928Z] 198d231b7889: Preparing [2024-07-02T09:24:40.928Z] da707bb00cb8: Preparing [2024-07-02T09:24:40.928Z] da707bb00cb8: Waiting [2024-07-02T09:24:40.928Z] 2d1005baef94: Layer already exists [2024-07-02T09:24:40.928Z] c82ea177ec55: Layer already exists [2024-07-02T09:24:40.928Z] 5f9078a27cfd: Layer already exists [2024-07-02T09:24:40.928Z] 198d231b7889: Layer already exists [2024-07-02T09:24:40.928Z] b0ab0cec44e6: Layer already exists [2024-07-02T09:24:40.928Z] da707bb00cb8: Layer already exists [2024-07-02T09:24:40.928Z] 016774ad856346449abec6a76f039c0b34c03e63-3.2.0-dev.15: digest: sha256:4f71b0c35de444e9441c44996639e3c1b40c84bab4809539023f83e721d1afa6 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:24:41.284Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:24:41.640Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2024-07-02T09:24:41.640Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2024-07-02T09:24:41.640Z] 5f9078a27cfd: Preparing [2024-07-02T09:24:41.640Z] 2d1005baef94: Preparing [2024-07-02T09:24:41.640Z] c82ea177ec55: Preparing [2024-07-02T09:24:41.640Z] b0ab0cec44e6: Preparing [2024-07-02T09:24:41.640Z] 198d231b7889: Preparing [2024-07-02T09:24:41.640Z] da707bb00cb8: Preparing [2024-07-02T09:24:41.640Z] da707bb00cb8: Waiting [2024-07-02T09:24:41.640Z] b0ab0cec44e6: Layer already exists [2024-07-02T09:24:41.640Z] 2d1005baef94: Layer already exists [2024-07-02T09:24:41.640Z] 198d231b7889: Layer already exists [2024-07-02T09:24:41.640Z] 5f9078a27cfd: Layer already exists [2024-07-02T09:24:41.640Z] c82ea177ec55: Layer already exists [2024-07-02T09:24:41.640Z] da707bb00cb8: Layer already exists [2024-07-02T09:24:41.906Z] main: digest: sha256:4f71b0c35de444e9441c44996639e3c1b40c84bab4809539023f83e721d1afa6 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-07-02T09:24:41.990Z] ===================================================== [Pipeline] echo [2024-07-02T09:24:42.002Z] taggedImages: [2024-07-02T09:24:42.002Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:016774ad856346449abec6a76f039c0b34c03e63 [2024-07-02T09:24:42.002Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2024-07-02T09:24:42.002Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.15 [2024-07-02T09:24:42.002Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:016774ad856346449abec6a76f039c0b34c03e63-3.2.0-dev.15 [2024-07-02T09:24:42.002Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:24:42.398Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-02T09:24:42.398Z] [2024-07-02T09:24:42.398Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:24:42.734Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-02T09:24:42.734Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-02T09:24:42.734Z] 8998bd30e6a1: Pulling fs layer [2024-07-02T09:24:42.734Z] 04944245beec: Pulling fs layer [2024-07-02T09:24:42.734Z] 699f458cf7ca: Pulling fs layer [2024-07-02T09:24:42.734Z] 765212b225bb: Pulling fs layer [2024-07-02T09:24:42.734Z] f23df028b6ca: Pulling fs layer [2024-07-02T09:24:42.734Z] d65c8cfc05b1: Pulling fs layer [2024-07-02T09:24:42.734Z] 2437ff75d9bd: Pulling fs layer [2024-07-02T09:24:42.734Z] f23df028b6ca: Waiting [2024-07-02T09:24:42.734Z] d65c8cfc05b1: Waiting [2024-07-02T09:24:42.734Z] 765212b225bb: Waiting [2024-07-02T09:24:42.734Z] 2437ff75d9bd: Waiting [2024-07-02T09:24:43.001Z] 04944245beec: Verifying Checksum [2024-07-02T09:24:43.001Z] 04944245beec: Download complete [2024-07-02T09:24:43.001Z] 765212b225bb: Verifying Checksum [2024-07-02T09:24:43.001Z] 765212b225bb: Download complete [2024-07-02T09:24:43.001Z] f23df028b6ca: Verifying Checksum [2024-07-02T09:24:43.001Z] f23df028b6ca: Download complete [2024-07-02T09:24:43.001Z] d65c8cfc05b1: Verifying Checksum [2024-07-02T09:24:43.001Z] d65c8cfc05b1: Download complete [2024-07-02T09:24:43.268Z] 699f458cf7ca: Verifying Checksum [2024-07-02T09:24:43.268Z] 699f458cf7ca: Download complete [2024-07-02T09:24:43.535Z] 8998bd30e6a1: Verifying Checksum [2024-07-02T09:24:43.535Z] 8998bd30e6a1: Download complete [2024-07-02T09:24:46.113Z] 2437ff75d9bd: Verifying Checksum [2024-07-02T09:24:46.113Z] 2437ff75d9bd: Download complete [2024-07-02T09:24:48.701Z] 8998bd30e6a1: Pull complete [2024-07-02T09:24:48.967Z] 04944245beec: Pull complete [2024-07-02T09:24:50.903Z] 699f458cf7ca: Pull complete [2024-07-02T09:24:50.903Z] 765212b225bb: Pull complete [2024-07-02T09:24:51.860Z] f23df028b6ca: Pull complete [2024-07-02T09:24:51.860Z] d65c8cfc05b1: Pull complete [2024-07-02T09:25:10.058Z] 2437ff75d9bd: Pull complete [2024-07-02T09:25:10.058Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-02T09:25:10.058Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-02T09:25:10.058Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T09:25:10.267Z] prd-ubuntu20.04-docker-arm64-4c-16g-4805 does not seem to be running inside a container [2024-07-02T09:25:10.448Z] $ 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/154 -v /w/workspace/device-modbus-go/154:/w/workspace/device-modbus-go/154:rw,z -v /w/workspace/device-modbus-go/154@tmp:/w/workspace/device-modbus-go/154@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-02T09:25:13.249Z] $ docker top 5d298f258fdcfbda2a2009ee1b8efa1706f2a65f8c5b39ae6c0469ee99306f73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-02T09:25:14.129Z] ---> job-cost.sh [2024-07-02T09:25:14.129Z] lf-activate-venv: SKIPPING [2024-07-02T09:25:14.129Z] INFO: No Stack... [2024-07-02T09:25:14.724Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-02T09:25:15.317Z] INFO: Archiving Costs [Pipeline] sh [2024-07-02T09:25:15.973Z] + cat /w/workspace/device-modbus-go/154/archives/cost.csv [2024-07-02T09:25:15.974Z] + cut -d, -f6 [Pipeline] lock [2024-07-02T09:25:16.033Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-154-stack-cost] [2024-07-02T09:25:16.041Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-154-stack-cost] did not exist. Created. [2024-07-02T09:25:16.059Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-154-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-02T09:25:16.728Z] /w/workspace/device-modbus-go/154@tmp/durable-04f9f05d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-02T09:25:17.375Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-02T09:25:17.403Z] Warning: overwriting stash ‘stack-cost’ [2024-07-02T09:25:17.462Z] Stashed 1 file(s) [Pipeline] } [2024-07-02T09:25:17.470Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-154-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-02T09:25:17.502Z] $ docker stop --time=1 5d298f258fdcfbda2a2009ee1b8efa1706f2a65f8c5b39ae6c0469ee99306f73 [2024-07-02T09:25:19.050Z] $ docker rm -f --volumes 5d298f258fdcfbda2a2009ee1b8efa1706f2a65f8c5b39ae6c0469ee99306f73 [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-02T09:25:19.504Z] provisioning config files... [2024-07-02T09:25:19.513Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12310348944137519549tmp [Pipeline] { [Pipeline] sh [2024-07-02T09:25:19.805Z] + set +x [2024-07-02T09:25:19.806Z] + curl -s https://codecov.io/bash [2024-07-02T09:25:19.806Z] + bash -s -- [2024-07-02T09:25:19.806Z] [2024-07-02T09:25:19.806Z] _____ _ [2024-07-02T09:25:19.806Z] / ____| | | [2024-07-02T09:25:19.806Z] | | ___ __| | ___ ___ _____ __ [2024-07-02T09:25:19.806Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-02T09:25:19.806Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-02T09:25:19.806Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-02T09:25:19.806Z] Bash-1.0.6 [2024-07-02T09:25:19.806Z] [2024-07-02T09:25:19.806Z] [2024-07-02T09:25:19.806Z] ==> git version 2.25.1 found [2024-07-02T09:25:19.806Z] ==> 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-02T09:25:19.806Z] Release-Date: 2020-01-08 [2024-07-02T09:25:19.806Z] 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-02T09:25:19.806Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-02T09:25:19.806Z] ==> Jenkins CI detected. [2024-07-02T09:25:19.806Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2024-07-02T09:25:19.806Z] project root: . [2024-07-02T09:25:19.806Z] --> token set from env [2024-07-02T09:25:19.806Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-02T09:25:20.065Z] ==> Running gcov in . (disable via -X gcov) [2024-07-02T09:25:20.065Z] ==> Python coveragepy not found [2024-07-02T09:25:20.065Z] ==> Searching for coverage reports in: [2024-07-02T09:25:20.065Z] + . [2024-07-02T09:25:20.065Z] -> Found 1 reports [2024-07-02T09:25:20.065Z] ==> Detecting git/mercurial file structure [2024-07-02T09:25:20.065Z] ==> Reading reports [2024-07-02T09:25:20.065Z] + ./coverage.out bytes=24601 [2024-07-02T09:25:20.065Z] ==> Appending adjustments [2024-07-02T09:25:20.065Z] https://docs.codecov.io/docs/fixing-reports [2024-07-02T09:25:20.065Z] + Found adjustments [2024-07-02T09:25:20.065Z] ==> Gzipping contents [2024-07-02T09:25:20.065Z] 4.0K /tmp/codecov.ujA5FH.gz [2024-07-02T09:25:20.065Z] ==> Uploading reports [2024-07-02T09:25:20.065Z] url: https://codecov.io [2024-07-02T09:25:20.065Z] query: branch=main&commit=016774ad856346449abec6a76f039c0b34c03e63&build=154&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F154%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-07-02T09:25:20.065Z] -> Pinging Codecov [2024-07-02T09:25:20.065Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=016774ad856346449abec6a76f039c0b34c03e63&build=154&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F154%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-07-02T09:25:20.325Z] -> Uploading to [2024-07-02T09:25:20.325Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-02/55DBCA73C666E3227836607328DD7E49/016774ad856346449abec6a76f039c0b34c03e63/047626cc-75fa-4f27-a2cf-3e7039e865ce.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240702%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240702T092520Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d2add8b171a48ffa788041e4fea934031ae86d434470e3579ff5d059b5efbe0b [2024-07-02T09:25:20.325Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-02T09:25:20.325Z] Dload Upload Total Spent Left Speed [2024-07-02T09:25:20.325Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 17389 --:--:-- --:--:-- --:--:-- 17389 [2024-07-02T09:25:20.585Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/016774ad856346449abec6a76f039c0b34c03e63 [Pipeline] } [2024-07-02T09:25:20.591Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-07-02T09:25:20.798Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-07-02T09:25:20.818Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:25:21.131Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-02T09:25:21.131Z] [2024-07-02T09:25:21.131Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:25:21.481Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-02T09:25:21.481Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-07-02T09:25:21.481Z] 619be1103602: Already exists [2024-07-02T09:25:21.481Z] f8ea3408117e: Pulling fs layer [2024-07-02T09:25:21.481Z] 91320369b822: Pulling fs layer [2024-07-02T09:25:21.481Z] 0406650e8295: Pulling fs layer [2024-07-02T09:25:21.481Z] 4f4fb700ef54: Pulling fs layer [2024-07-02T09:25:21.481Z] 96d80e3f36e1: Pulling fs layer [2024-07-02T09:25:21.481Z] bcf3aedb951c: Pulling fs layer [2024-07-02T09:25:21.481Z] 4f4fb700ef54: Waiting [2024-07-02T09:25:21.481Z] 96d80e3f36e1: Waiting [2024-07-02T09:25:21.481Z] bcf3aedb951c: Waiting [2024-07-02T09:25:21.481Z] 0406650e8295: Download complete [2024-07-02T09:25:21.481Z] f8ea3408117e: Download complete [2024-07-02T09:25:21.481Z] 4f4fb700ef54: Verifying Checksum [2024-07-02T09:25:21.481Z] 4f4fb700ef54: Download complete [2024-07-02T09:25:21.741Z] f8ea3408117e: Pull complete [2024-07-02T09:25:21.741Z] 96d80e3f36e1: Verifying Checksum [2024-07-02T09:25:21.741Z] 96d80e3f36e1: Download complete [2024-07-02T09:25:21.999Z] 91320369b822: Verifying Checksum [2024-07-02T09:25:21.999Z] 91320369b822: Download complete [2024-07-02T09:25:22.567Z] bcf3aedb951c: Verifying Checksum [2024-07-02T09:25:22.567Z] bcf3aedb951c: Download complete [2024-07-02T09:25:25.095Z] 91320369b822: Pull complete [2024-07-02T09:25:25.095Z] 0406650e8295: Pull complete [2024-07-02T09:25:25.095Z] 4f4fb700ef54: Pull complete [2024-07-02T09:25:25.353Z] 96d80e3f36e1: Pull complete [2024-07-02T09:25:28.708Z] bcf3aedb951c: Pull complete [2024-07-02T09:25:28.972Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-07-02T09:25:28.972Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-02T09:25:28.972Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T09:25:29.108Z] prd-ubuntu20.04-docker-8c-8g-4803 does not seem to be running inside a container [2024-07-02T09:25:29.170Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat [2024-07-02T09:25:35.074Z] $ docker top ac562867bb5cd2581c07681944cedd6f8936c48ed775e3b80a614846d1bbfe78 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T09:25:35.427Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo [2024-07-02T09:25:35.437Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2024-07-02T09:25:35.715Z] + set -o pipefail [2024-07-02T09:25:35.715Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2024-07-02T09:25:43.835Z] [2024-07-02T09:25:43.835Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2024-07-02T09:25:43.835Z] [2024-07-02T09:25:43.835Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/240d64fd-c141-4970-9267-713c2679b372 [2024-07-02T09:25:43.835Z] [2024-07-02T09:25:43.835Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2024-07-02T09:25:43.835Z] [2024-07-02T09:25:43.835Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-07-02T09:25:43.835Z] [2024-07-02T09:25:43.835Z] [2024-07-02T09:25:43.835Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2024-07-02T09:25:43.835Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2024-07-02T09:25:43.841Z] $ docker stop --time=1 ac562867bb5cd2581c07681944cedd6f8936c48ed775e3b80a614846d1bbfe78 [2024-07-02T09:25:51.282Z] $ docker rm -f --volumes ac562867bb5cd2581c07681944cedd6f8936c48ed775e3b80a614846d1bbfe78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-02T09:25:52.151Z] + git log --format=format:%s -1 016774ad856346449abec6a76f039c0b34c03e63 [Pipeline] sh [2024-07-02T09:25:52.442Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-02T09:25:52.442Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:25:52.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-02T09:25:52.747Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T09:25:52.822Z] prd-ubuntu20.04-docker-8c-8g-4803 does not seem to be running inside a container [2024-07-02T09:25:52.844Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-02T09:25:53.807Z] $ docker top 886fc76339751cd0d16929a24026c8507719b363e389754e3a83701a17708ce6 -eo pid,comm [2024-07-02T09:25:53.865Z] 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-02T09:25:53.865Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-02T09:25:54.382Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-02T09:25:54.382Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-02T09:25:54.502Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-02T09:25:54.498Z] $ docker exec 886fc76339751cd0d16929a24026c8507719b363e389754e3a83701a17708ce6 ssh-agent [2024-07-02T09:25:54.611Z] SSH_AUTH_SOCK=/tmp/ssh-PczgRj2BQJax/agent.33 [2024-07-02T09:25:54.611Z] SSH_AGENT_PID=39 [2024-07-02T09:25:54.616Z] Running ssh-add (command line suppressed) [2024-07-02T09:25:54.718Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9485524957284149221.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9485524957284149221.key) [2024-07-02T09:25:54.738Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-02T09:25:55.030Z] + git semver tag [2024-07-02T09:25:55.289Z] 2024-07-02 09:25:55,230 [run_tag] DEBUG tag force:False [2024-07-02T09:25:55.289Z] 2024-07-02 09:25:55,230 [check_head_tag] DEBUG check head tag [2024-07-02T09:25:55.289Z] 2024-07-02 09:25:55,231 [execute] INFO git cat-file --batch-check [2024-07-02T09:25:55.289Z] 2024-07-02 09:25:55,231 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2024-07-02T09:25:55.289Z] 2024-07-02 09:25:55,235 [execute] INFO git cat-file --batch [2024-07-02T09:25:55.289Z] 2024-07-02 09:25:55,236 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2024-07-02T09:25:55.289Z] 2024-07-02 09:25:55,253 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-07-02T09:25:55.289Z] 2024-07-02 09:25:55,254 [execute] INFO git tag -a v3.2.0-dev.15 -m v3.2.0-dev.15 [2024-07-02T09:25:55.289Z] 2024-07-02 09:25:55,254 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.15', '-m', 'v3.2.0-dev.15'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2024-07-02T09:25:55.289Z] 2024-07-02 09:25:55,259 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-07-02T09:25:55.289Z] 3.2.0-dev.15 [Pipeline] } [2024-07-02T09:25:55.291Z] $ docker exec --env ******** --env ******** 886fc76339751cd0d16929a24026c8507719b363e389754e3a83701a17708ce6 ssh-agent -k [2024-07-02T09:25:55.382Z] unset SSH_AUTH_SOCK; [2024-07-02T09:25:55.382Z] unset SSH_AGENT_PID; [2024-07-02T09:25:55.382Z] echo Agent pid 39 killed; [2024-07-02T09:25:55.397Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-02T09:25:55.713Z] + git semver [Pipeline] } [2024-07-02T09:25:55.979Z] $ docker stop --time=1 886fc76339751cd0d16929a24026c8507719b363e389754e3a83701a17708ce6 [2024-07-02T09:25:57.288Z] $ docker rm -f --volumes 886fc76339751cd0d16929a24026c8507719b363e389754e3a83701a17708ce6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:25:57.735Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-02T09:25:57.735Z] [2024-07-02T09:25:57.735Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:25:58.034Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-02T09:25:58.034Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-07-02T09:25:58.034Z] ab5ef0e58194: Pulling fs layer [2024-07-02T09:25:58.034Z] 9712f1f96733: Pulling fs layer [2024-07-02T09:25:58.034Z] 63f879dbbcfc: Pulling fs layer [2024-07-02T09:25:58.034Z] 0d9ebad4ef96: Pulling fs layer [2024-07-02T09:25:58.034Z] e9a5061849ea: Pulling fs layer [2024-07-02T09:25:58.034Z] d747dcd14b5f: Pulling fs layer [2024-07-02T09:25:58.034Z] 2de7ff778b66: Pulling fs layer [2024-07-02T09:25:58.034Z] d747dcd14b5f: Waiting [2024-07-02T09:25:58.034Z] 0d9ebad4ef96: Waiting [2024-07-02T09:25:58.034Z] 2de7ff778b66: Waiting [2024-07-02T09:25:58.034Z] e9a5061849ea: Waiting [2024-07-02T09:25:58.034Z] 9712f1f96733: Verifying Checksum [2024-07-02T09:25:58.034Z] 9712f1f96733: Download complete [2024-07-02T09:25:58.292Z] 63f879dbbcfc: Verifying Checksum [2024-07-02T09:25:58.292Z] 63f879dbbcfc: Download complete [2024-07-02T09:25:58.551Z] e9a5061849ea: Verifying Checksum [2024-07-02T09:25:58.551Z] e9a5061849ea: Download complete [2024-07-02T09:25:58.551Z] d747dcd14b5f: Download complete [2024-07-02T09:25:58.551Z] 0d9ebad4ef96: Verifying Checksum [2024-07-02T09:25:58.551Z] 0d9ebad4ef96: Download complete [2024-07-02T09:25:58.551Z] ab5ef0e58194: Verifying Checksum [2024-07-02T09:25:58.551Z] ab5ef0e58194: Download complete [2024-07-02T09:25:58.551Z] 2de7ff778b66: Verifying Checksum [2024-07-02T09:25:58.551Z] 2de7ff778b66: Download complete [2024-07-02T09:26:01.837Z] ab5ef0e58194: Pull complete [2024-07-02T09:26:01.837Z] 9712f1f96733: Pull complete [2024-07-02T09:26:02.404Z] 63f879dbbcfc: Pull complete [2024-07-02T09:26:06.591Z] 0d9ebad4ef96: Pull complete [2024-07-02T09:26:06.850Z] e9a5061849ea: Pull complete [2024-07-02T09:26:07.109Z] d747dcd14b5f: Pull complete [2024-07-02T09:26:08.053Z] 2de7ff778b66: Pull complete [2024-07-02T09:26:08.053Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-07-02T09:26:08.053Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-02T09:26:08.053Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T09:26:08.152Z] prd-ubuntu20.04-docker-8c-8g-4803 does not seem to be running inside a container [2024-07-02T09:26:08.177Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2024-07-02T09:26:11.644Z] $ docker top b9530afb53b004429b0f931abcf40acd6ea43460baa1e939fc0a46140d59e38e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-07-02T09:26:11.732Z] provisioning config files... [2024-07-02T09:26:11.738Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4154164845923285457tmp [2024-07-02T09:26:11.748Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5988352193566878899tmp [2024-07-02T09:26:11.756Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8960837843100537253tmp [Pipeline] { [Pipeline] echo [2024-07-02T09:26:11.781Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T09:26:12.085Z] ---> sigul-configuration.sh [2024-07-02T09:26:12.085Z] gpg: directory `/root/.gnupg' created [2024-07-02T09:26:12.085Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-07-02T09:26:12.085Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-07-02T09:26:12.085Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-07-02T09:26:12.085Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-07-02T09:26:12.085Z] gpg: CAST5 encrypted data [2024-07-02T09:26:12.085Z] gpg: encrypted with 1 passphrase [2024-07-02T09:26:12.085Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-07-02T09:26:12.383Z] + mkdir /home/jenkins [2024-07-02T09:26:12.383Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-07-02T09:26:12.680Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2024-07-02T09:26:12.697Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T09:26:12.995Z] ---> sigul-install.sh [2024-07-02T09:26:12.996Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-07-02T09:26:13.293Z] + git tag --list [2024-07-02T09:26:13.293Z] 0.7.1 [2024-07-02T09:26:13.293Z] v1.0.0 [2024-07-02T09:26:13.293Z] v1.1.0 [2024-07-02T09:26:13.293Z] v1.1.1 [2024-07-02T09:26:13.293Z] v1.2.2 [2024-07-02T09:26:13.293Z] v1.3.0 [2024-07-02T09:26:13.293Z] v1.3.1 [2024-07-02T09:26:13.293Z] v2.0.0 [2024-07-02T09:26:13.293Z] v2.1.0 [2024-07-02T09:26:13.293Z] v2.1.1 [2024-07-02T09:26:13.293Z] v2.2.0 [2024-07-02T09:26:13.293Z] v2.3.0 [2024-07-02T09:26:13.293Z] v3.0 [2024-07-02T09:26:13.293Z] v3.0.0 [2024-07-02T09:26:13.293Z] v3.1 [2024-07-02T09:26:13.293Z] v3.1.0 [2024-07-02T09:26:13.293Z] v3.1.0-dev.1 [2024-07-02T09:26:13.293Z] v3.1.0-dev.10 [2024-07-02T09:26:13.293Z] v3.1.0-dev.11 [2024-07-02T09:26:13.293Z] v3.1.0-dev.12 [2024-07-02T09:26:13.293Z] v3.1.0-dev.13 [2024-07-02T09:26:13.293Z] v3.1.0-dev.14 [2024-07-02T09:26:13.293Z] v3.1.0-dev.15 [2024-07-02T09:26:13.293Z] v3.1.0-dev.16 [2024-07-02T09:26:13.293Z] v3.1.0-dev.17 [2024-07-02T09:26:13.293Z] v3.1.0-dev.18 [2024-07-02T09:26:13.293Z] v3.1.0-dev.19 [2024-07-02T09:26:13.293Z] v3.1.0-dev.2 [2024-07-02T09:26:13.293Z] v3.1.0-dev.20 [2024-07-02T09:26:13.293Z] v3.1.0-dev.21 [2024-07-02T09:26:13.293Z] v3.1.0-dev.22 [2024-07-02T09:26:13.293Z] v3.1.0-dev.23 [2024-07-02T09:26:13.293Z] v3.1.0-dev.24 [2024-07-02T09:26:13.293Z] v3.1.0-dev.25 [2024-07-02T09:26:13.293Z] v3.1.0-dev.3 [2024-07-02T09:26:13.293Z] v3.1.0-dev.4 [2024-07-02T09:26:13.293Z] v3.1.0-dev.5 [2024-07-02T09:26:13.293Z] v3.1.0-dev.6 [2024-07-02T09:26:13.293Z] v3.1.0-dev.7 [2024-07-02T09:26:13.293Z] v3.1.0-dev.8 [2024-07-02T09:26:13.293Z] v3.1.0-dev.9 [2024-07-02T09:26:13.293Z] v3.1.1 [2024-07-02T09:26:13.293Z] v3.1.1-dev.1 [2024-07-02T09:26:13.293Z] v3.2.0-dev.1 [2024-07-02T09:26:13.293Z] v3.2.0-dev.10 [2024-07-02T09:26:13.293Z] v3.2.0-dev.11 [2024-07-02T09:26:13.293Z] v3.2.0-dev.12 [2024-07-02T09:26:13.293Z] v3.2.0-dev.13 [2024-07-02T09:26:13.293Z] v3.2.0-dev.14 [2024-07-02T09:26:13.293Z] v3.2.0-dev.15 [2024-07-02T09:26:13.293Z] v3.2.0-dev.2 [2024-07-02T09:26:13.293Z] v3.2.0-dev.3 [2024-07-02T09:26:13.293Z] v3.2.0-dev.4 [2024-07-02T09:26:13.293Z] v3.2.0-dev.5 [2024-07-02T09:26:13.293Z] v3.2.0-dev.6 [2024-07-02T09:26:13.293Z] v3.2.0-dev.7 [2024-07-02T09:26:13.293Z] v3.2.0-dev.8 [2024-07-02T09:26:13.293Z] v3.2.0-dev.9 [Pipeline] sh [2024-07-02T09:26:13.590Z] + lftools sign git-tag v3.2.0-dev.15 [2024-07-02T09:26:14.160Z] Signing Git tag with Sigul... [2024-07-02T09:26:14.160Z] Signing v3.2.0-dev.15 [Pipeline] echo [2024-07-02T09:26:14.750Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T09:26:15.053Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-07-02T09:26:15.062Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-07-02T09:26:15.075Z] $ docker stop --time=1 b9530afb53b004429b0f931abcf40acd6ea43460baa1e939fc0a46140d59e38e [2024-07-02T09:26:16.392Z] $ docker rm -f --volumes b9530afb53b004429b0f931abcf40acd6ea43460baa1e939fc0a46140d59e38e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-07-02T09:26:16.836Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-02T09:26:16.836Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:26:17.144Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-02T09:26:17.144Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T09:26:17.238Z] prd-ubuntu20.04-docker-8c-8g-4803 does not seem to be running inside a container [2024-07-02T09:26:17.270Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-02T09:26:17.611Z] $ docker top 5a95fdeeb71799489f624ecb5167568ec1a5965d39f8edcca63ddf6d29f5e83b -eo pid,comm [2024-07-02T09:26:17.670Z] 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-02T09:26:17.670Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-02T09:26:17.725Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-02T09:26:17.725Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-02T09:26:17.844Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-02T09:26:17.840Z] $ docker exec 5a95fdeeb71799489f624ecb5167568ec1a5965d39f8edcca63ddf6d29f5e83b ssh-agent [2024-07-02T09:26:17.959Z] SSH_AUTH_SOCK=/tmp/ssh-DkNLHTKd8ctL/agent.32 [2024-07-02T09:26:17.959Z] SSH_AGENT_PID=38 [2024-07-02T09:26:17.964Z] Running ssh-add (command line suppressed) [2024-07-02T09:26:18.086Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18331222164708313007.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18331222164708313007.key) [2024-07-02T09:26:18.106Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-02T09:26:18.402Z] + git semver bump pre [2024-07-02T09:26:18.662Z] 2024-07-02 09:26:18,573 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-07-02T09:26:18.662Z] 2024-07-02 09:26:18,573 [bump_version] DEBUG bumping version:3.2.0-dev.15 on axis:pre with prefix:dev [2024-07-02T09:26:18.662Z] 2024-07-02 09:26:18,573 [bump_version] DEBUG bumped version:3.2.0-dev.16 [2024-07-02T09:26:18.662Z] 2024-07-02 09:26:18,573 [write_version] DEBUG write version:3.2.0-dev.16 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2024-07-02T09:26:18.662Z] 2024-07-02 09:26:18,574 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-07-02T09:26:18.662Z] 2024-07-02 09:26:18,574 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-07-02T09:26:18.662Z] 2024-07-02 09:26:18,575 [execute] INFO git cat-file --batch-check [2024-07-02T09:26:18.662Z] 2024-07-02 09:26:18,576 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-02T09:26:18.662Z] 2024-07-02 09:26:18,581 [execute] INFO git cat-file --batch [2024-07-02T09:26:18.662Z] 2024-07-02 09:26:18,581 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-02T09:26:18.662Z] 2024-07-02 09:26:18,587 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-07-02T09:26:18.662Z] 3.2.0-dev.16 [Pipeline] } [2024-07-02T09:26:18.666Z] $ docker exec --env ******** --env ******** 5a95fdeeb71799489f624ecb5167568ec1a5965d39f8edcca63ddf6d29f5e83b ssh-agent -k [2024-07-02T09:26:18.767Z] unset SSH_AUTH_SOCK; [2024-07-02T09:26:18.767Z] unset SSH_AGENT_PID; [2024-07-02T09:26:18.767Z] echo Agent pid 38 killed; [2024-07-02T09:26:18.784Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-02T09:26:19.099Z] + git semver [Pipeline] } [2024-07-02T09:26:19.363Z] $ docker stop --time=1 5a95fdeeb71799489f624ecb5167568ec1a5965d39f8edcca63ddf6d29f5e83b [2024-07-02T09:26:21.020Z] $ docker rm -f --volumes 5a95fdeeb71799489f624ecb5167568ec1a5965d39f8edcca63ddf6d29f5e83b [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-02T09:26:21.492Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-02T09:26:21.492Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:26:21.798Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-02T09:26:21.798Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T09:26:21.879Z] prd-ubuntu20.04-docker-8c-8g-4803 does not seem to be running inside a container [2024-07-02T09:26:21.906Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-02T09:26:22.256Z] $ docker top e8a7c73f0038f109d28c46045a531668b525335aa86667046d811b6ce78d5bef -eo pid,comm [2024-07-02T09:26:22.312Z] 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-02T09:26:22.312Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-02T09:26:22.360Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-02T09:26:22.360Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-02T09:26:22.466Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-02T09:26:22.462Z] $ docker exec e8a7c73f0038f109d28c46045a531668b525335aa86667046d811b6ce78d5bef ssh-agent [2024-07-02T09:26:22.587Z] SSH_AUTH_SOCK=/tmp/ssh-SpQMmQAAdnPO/agent.32 [2024-07-02T09:26:22.587Z] SSH_AGENT_PID=38 [2024-07-02T09:26:22.592Z] Running ssh-add (command line suppressed) [2024-07-02T09:26:22.684Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7736703460699336271.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7736703460699336271.key) [2024-07-02T09:26:22.707Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-02T09:26:22.999Z] + git semver push [2024-07-02T09:26:23.258Z] 2024-07-02 09:26:23,200 [run_push] DEBUG push [2024-07-02T09:26:23.258Z] 2024-07-02 09:26:23,200 [execute] INFO git cat-file --batch-check [2024-07-02T09:26:23.258Z] 2024-07-02 09:26:23,201 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-02T09:26:23.258Z] 2024-07-02 09:26:23,205 [execute] INFO git rev-list 93a1487b658f8850f3419b079739b74439b7d735 -- [2024-07-02T09:26:23.258Z] 2024-07-02 09:26:23,205 [execute] DEBUG Popen(['git', 'rev-list', '93a1487b658f8850f3419b079739b74439b7d735', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-07-02T09:26:23.258Z] 2024-07-02 09:26:23,213 [execute] INFO git fetch -v origin [2024-07-02T09:26:23.258Z] 2024-07-02 09:26:23,213 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-07-02T09:26:23.826Z] 2024-07-02 09:26:23,672 [run_push] DEBUG no remote changes detected [2024-07-02T09:26:23.826Z] 2024-07-02 09:26:23,672 [execute] INFO git push origin semver [2024-07-02T09:26:23.826Z] 2024-07-02 09:26:23,673 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-07-02T09:26:24.763Z] 2024-07-02 09:26:24,518 [run_push] DEBUG push all version tags [2024-07-02T09:26:24.763Z] 2024-07-02 09:26:24,519 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-07-02T09:26:24.763Z] 2024-07-02 09:26:24,519 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2024-07-02T09:26:25.332Z] 2024-07-02 09:26:25,155 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-07-02T09:26:25.332Z] 3.2.0-dev.16 [Pipeline] } [2024-07-02T09:26:25.335Z] $ docker exec --env ******** --env ******** e8a7c73f0038f109d28c46045a531668b525335aa86667046d811b6ce78d5bef ssh-agent -k [2024-07-02T09:26:25.429Z] unset SSH_AUTH_SOCK; [2024-07-02T09:26:25.430Z] unset SSH_AGENT_PID; [2024-07-02T09:26:25.430Z] echo Agent pid 38 killed; [2024-07-02T09:26:25.449Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-02T09:26:25.768Z] + git semver [Pipeline] } [2024-07-02T09:26:26.031Z] $ docker stop --time=1 e8a7c73f0038f109d28c46045a531668b525335aa86667046d811b6ce78d5bef [2024-07-02T09:26:27.382Z] $ docker rm -f --volumes e8a7c73f0038f109d28c46045a531668b525335aa86667046d811b6ce78d5bef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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-02T09:26:27.977Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2024-07-02T09:26:27.977Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2024-07-02T09:26:27.977Z] total 16 [2024-07-02T09:26:27.977Z] drwxr-xr-x 3 root root 4096 Jul 2 09:11 . [2024-07-02T09:26:27.977Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 2 09:26 .. [2024-07-02T09:26:27.977Z] drwxr-xr-x 2 root root 4096 Jul 2 09:11 cost [2024-07-02T09:26:27.977Z] -rw-r--r-- 1 root root 88 Jul 2 09:11 cost.csv [2024-07-02T09:26:27.977Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2024-07-02T09:26:27.977Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2024-07-02T09:26:27.977Z] total 16 [2024-07-02T09:26:27.977Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 2 09:11 . [2024-07-02T09:26:27.977Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 2 09:26 .. [2024-07-02T09:26:27.977Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 2 09:11 cost [2024-07-02T09:26:27.977Z] -rw-r--r-- 1 jenkins jenkins 88 Jul 2 09:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-02T09:26:28.267Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T09:26:29.121Z] ---> package-listing.sh [2024-07-02T09:26:29.121Z] ++ facter osfamily [2024-07-02T09:26:29.121Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-02T09:26:29.381Z] + OS_FAMILY=debian [2024-07-02T09:26:29.381Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2024-07-02T09:26:29.381Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-02T09:26:29.381Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-02T09:26:29.381Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-02T09:26:29.381Z] + PACKAGES=/tmp/packages_start.txt [2024-07-02T09:26:29.381Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2024-07-02T09:26:29.381Z] + PACKAGES=/tmp/packages_end.txt [2024-07-02T09:26:29.381Z] + case "${OS_FAMILY}" in [2024-07-02T09:26:29.381Z] + dpkg -l [2024-07-02T09:26:29.381Z] + grep '^ii' [2024-07-02T09:26:29.381Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-02T09:26:29.381Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-02T09:26:29.381Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-02T09:26:29.381Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2024-07-02T09:26:29.381Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2024-07-02T09:26:29.381Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2024-07-02T09:26:29.392Z] 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/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-02T09:26:29.671Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T09:26:30.237Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-02T09:26:30.237Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T09:26:30.323Z] prd-ubuntu20.04-docker-8c-8g-4803 does not seem to be running inside a container [2024-07-02T09:26:30.349Z] $ 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/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-02T09:26:30.603Z] $ docker top dbbf6ec0892c64d759b069651d081272582f7dbc855f404fd1271bff439719e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T09:26:30.963Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-02T09:26:31.249Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-02T09:26:31.533Z] + ls /var/log/sa-host [2024-07-02T09:26:31.533Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-02T09:26:31.606Z] provisioning config files... [2024-07-02T09:26:31.615Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15406360286913578691tmp [Pipeline] { [Pipeline] echo [2024-07-02T09:26:31.631Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T09:26:31.914Z] ---> create-netrc.sh [Pipeline] } [2024-07-02T09:26:31.922Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-02T09:26:32.253Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-02T09:26:32.261Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T09:26:32.546Z] ---> sudo-logs.sh [2024-07-02T09:26:32.546Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-02T09:26:32.575Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T09:26:32.857Z] ---> job-cost.sh [2024-07-02T09:26:32.857Z] lf-activate-venv: SKIPPING [2024-07-02T09:26:32.857Z] DEBUG: total: 0.2199999988079071 [2024-07-02T09:26:32.857Z] INFO: Retrieving Stack Cost... [2024-07-02T09:26:33.115Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-02T09:26:33.375Z] INFO: Archiving Costs [Pipeline] echo [2024-07-02T09:26:33.387Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T09:26:33.669Z] ---> logs-deploy.sh [2024-07-02T09:26:33.669Z] lf-activate-venv: SKIPPING [2024-07-02T09:26:33.669Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/154 [2024-07-02T09:26:33.669Z] INFO: archiving workspace using pattern(s): [2024-07-02T09:26:34.606Z] Archives upload complete. [2024-07-02T09:26:34.864Z] INFO: archiving logs to Nexus [2024-07-02T09:26:35.432Z] ---> uname -a: [2024-07-02T09:26:35.432Z] Linux prd-ubuntu20-04-docker-8c-8g-4803 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2024-07-02T09:26:35.432Z] [2024-07-02T09:26:35.432Z] [2024-07-02T09:26:35.432Z] ---> lscpu: [2024-07-02T09:26:35.432Z] Architecture: x86_64 [2024-07-02T09:26:35.432Z] CPU op-mode(s): 32-bit, 64-bit [2024-07-02T09:26:35.432Z] Byte Order: Little Endian [2024-07-02T09:26:35.432Z] Address sizes: 40 bits physical, 48 bits virtual [2024-07-02T09:26:35.432Z] CPU(s): 8 [2024-07-02T09:26:35.432Z] On-line CPU(s) list: 0-7 [2024-07-02T09:26:35.432Z] Thread(s) per core: 1 [2024-07-02T09:26:35.432Z] Core(s) per socket: 1 [2024-07-02T09:26:35.432Z] Socket(s): 8 [2024-07-02T09:26:35.432Z] NUMA node(s): 1 [2024-07-02T09:26:35.432Z] Vendor ID: AuthenticAMD [2024-07-02T09:26:35.432Z] CPU family: 23 [2024-07-02T09:26:35.432Z] Model: 49 [2024-07-02T09:26:35.432Z] Model name: AMD EPYC-Rome Processor [2024-07-02T09:26:35.432Z] Stepping: 0 [2024-07-02T09:26:35.432Z] CPU MHz: 2799.998 [2024-07-02T09:26:35.432Z] BogoMIPS: 5599.99 [2024-07-02T09:26:35.432Z] Virtualization: AMD-V [2024-07-02T09:26:35.432Z] Hypervisor vendor: KVM [2024-07-02T09:26:35.432Z] Virtualization type: full [2024-07-02T09:26:35.432Z] L1d cache: 256 KiB [2024-07-02T09:26:35.432Z] L1i cache: 256 KiB [2024-07-02T09:26:35.432Z] L2 cache: 4 MiB [2024-07-02T09:26:35.432Z] L3 cache: 128 MiB [2024-07-02T09:26:35.432Z] NUMA node0 CPU(s): 0-7 [2024-07-02T09:26:35.432Z] Vulnerability Itlb multihit: Not affected [2024-07-02T09:26:35.432Z] Vulnerability L1tf: Not affected [2024-07-02T09:26:35.432Z] Vulnerability Mds: Not affected [2024-07-02T09:26:35.432Z] Vulnerability Meltdown: Not affected [2024-07-02T09:26:35.432Z] Vulnerability Mmio stale data: Not affected [2024-07-02T09:26:35.432Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2024-07-02T09:26:35.432Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2024-07-02T09:26:35.432Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2024-07-02T09:26:35.432Z] Vulnerability Srbds: Not affected [2024-07-02T09:26:35.432Z] Vulnerability Tsx async abort: Not affected [2024-07-02T09:26:35.432Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2024-07-02T09:26:35.432Z] [2024-07-02T09:26:35.432Z] [2024-07-02T09:26:35.432Z] ---> nproc: [2024-07-02T09:26:35.432Z] 8 [2024-07-02T09:26:35.432Z] [2024-07-02T09:26:35.432Z] [2024-07-02T09:26:35.432Z] ---> df -h: [2024-07-02T09:26:35.432Z] Filesystem Size Used Avail Use% Mounted on [2024-07-02T09:26:35.432Z] overlay 155G 14G 142G 9% / [2024-07-02T09:26:35.432Z] tmpfs 64M 0 64M 0% /dev [2024-07-02T09:26:35.432Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2024-07-02T09:26:35.432Z] shm 64M 0 64M 0% /dev/shm [2024-07-02T09:26:35.432Z] /dev/vda1 155G 14G 142G 9% /facter-os [2024-07-02T09:26:35.432Z] [2024-07-02T09:26:35.432Z]