Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 60f68763f8e382a62519363eb4c00d8ae3469bcd 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-ssh2698020959236409409.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh5443511980013129656.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh6645399507563012209.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh12040607053073599596.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-ssh2929542213544763425.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-18469 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/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 60f68763f8e382a62519363eb4c00d8ae3469bcd (main) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#490)" > 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 60f68763f8e382a62519363eb4c00d8ae3469bcd # timeout=10 > git rev-list --no-walk 18e5bddd1624945f7f79c46e89df23b543e6953b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-06-12T17:53:36.319Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-06-12T17:53:36.384Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-06-12T17:53:36.406Z] ========================================================= [2023-06-12T17:53:36.406Z] EdgeX Global Pipelines Version Info [2023-06-12T17:53:36.406Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:53:37.110Z] ------------------- [2023-06-12T17:53:37.110Z] stable info: [2023-06-12T17:53:37.110Z] ------------------- [2023-06-12T17:53:37.110Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-06-12T17:53:37.110Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-12T17:53:37.110Z] Message: update stable to v1.0.250 [2023-06-12T17:53:37.681Z] ------------------- [2023-06-12T17:53:37.681Z] experimental info: [2023-06-12T17:53:37.681Z] ------------------- [2023-06-12T17:53:37.681Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-06-12T17:53:37.681Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-12T17:53:37.682Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-06-12T17:53:37.845Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-06-12T17:53:37.854Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-06-12T17:53:37.862Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-06-12T17:53:37.870Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-06-12T17:53:37.878Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-06-12T17:53:37.887Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-06-12T17:53:37.895Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-06-12T17:53:37.904Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-06-12T17:53:37.920Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-06-12T17:53:37.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-06-12T17:53:37.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-06-12T17:53:37.956Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-06-12T17:53:37.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-06-12T17:53:37.984Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-06-12T17:53:38.001Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-06-12T17:53:38.025Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-06-12T17:53:38.042Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-06-12T17:53:38.057Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-06-12T17:53:38.075Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-06-12T17:53:38.091Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-06-12T17:53:38.102Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-06-12T17:53:38.116Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-06-12T17:53:38.132Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-06-12T17:53:38.144Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-06-12T17:53:38.159Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-06-12T17:53:38.171Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-06-12T17:53:38.190Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-06-12T17:53:38.209Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-06-12T17:53:38.228Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-06-12T17:53:38.242Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-06-12T17:53:38.255Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 60f68763f8e382a62519363eb4c00d8ae3469bcd [Pipeline] echo [2023-06-12T17:53:38.271Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 60f6876 [Pipeline] echo [2023-06-12T17:53:38.282Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T17:53:38.332Z] provisioning config files... [2023-06-12T17:53:38.345Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10014214274825829860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:53:38.644Z] ---> docker-login.sh [2023-06-12T17:53:38.644Z] nexus3.edgexfoundry.org:10001 [2023-06-12T17:53:38.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:53:38.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:53:38.903Z] Configure a credential helper to remove this warning. See [2023-06-12T17:53:38.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:53:38.903Z] [2023-06-12T17:53:38.903Z] Login Succeeded [2023-06-12T17:53:38.903Z] nexus3.edgexfoundry.org:10002 [2023-06-12T17:53:38.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:53:38.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:53:38.903Z] Configure a credential helper to remove this warning. See [2023-06-12T17:53:38.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:53:38.903Z] [2023-06-12T17:53:38.903Z] Login Succeeded [2023-06-12T17:53:38.903Z] nexus3.edgexfoundry.org:10003 [2023-06-12T17:53:39.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:53:39.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:53:39.162Z] Configure a credential helper to remove this warning. See [2023-06-12T17:53:39.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:53:39.162Z] [2023-06-12T17:53:39.162Z] Login Succeeded [2023-06-12T17:53:39.162Z] nexus3.edgexfoundry.org:10004 [2023-06-12T17:53:39.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:53:39.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:53:39.162Z] Configure a credential helper to remove this warning. See [2023-06-12T17:53:39.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:53:39.162Z] [2023-06-12T17:53:39.162Z] Login Succeeded [2023-06-12T17:53:39.162Z] docker.io [2023-06-12T17:53:39.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:53:39.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:53:39.422Z] Configure a credential helper to remove this warning. See [2023-06-12T17:53:39.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:53:39.422Z] [2023-06-12T17:53:39.422Z] Login Succeeded [2023-06-12T17:53:39.422Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T17:53:39.430Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-06-12T17:53:39.777Z] + git rev-list -1 --merges 60f68763f8e382a62519363eb4c00d8ae3469bcd~1..60f68763f8e382a62519363eb4c00d8ae3469bcd [Pipeline] echo [2023-06-12T17:53:39.832Z] -----------> git rev-list -1 --merges 60f68763f8e382a62519363eb4c00d8ae3469bcd~1..60f68763f8e382a62519363eb4c00d8ae3469bcd 60f68763f8e382a62519363eb4c00d8ae3469bcd [false] [Pipeline] sh [2023-06-12T17:53:40.121Z] + git log --format=format:%s -1 60f68763f8e382a62519363eb4c00d8ae3469bcd [Pipeline] echo [2023-06-12T17:53:40.136Z] ========================================================= [2023-06-12T17:53:40.136Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-12T17:53:40.136Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-12T17:53:40.460Z] + git log --format=format:%s -1 60f68763f8e382a62519363eb4c00d8ae3469bcd [Pipeline] echo [2023-06-12T17:53:40.478Z] [semverPrep] GIT_COMMIT: 60f68763f8e382a62519363eb4c00d8ae3469bcd, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#490) [Pipeline] echo [2023-06-12T17:53:40.488Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-06-12T17:53:40.839Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-12T17:53:40.839Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-06-12T17:53:40.839Z] + [ -e /tmp/ssh_known_hosts ] [2023-06-12T17:53:40.839Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-06-12T17:53:40.839Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-06-12T17:53:40.839Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-06-12T17:53:40.839Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:53:41.180Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T17:53:41.181Z] [2023-06-12T17:53:41.181Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:53:41.499Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T17:53:41.500Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-06-12T17:53:41.500Z] b85a868b505f: Pulling fs layer [2023-06-12T17:53:41.500Z] e2be974225ed: Pulling fs layer [2023-06-12T17:53:41.500Z] 339a4e72a1f5: Pulling fs layer [2023-06-12T17:53:41.500Z] 988bab9f4d93: Pulling fs layer [2023-06-12T17:53:41.500Z] 1469e6f7b9e6: Pulling fs layer [2023-06-12T17:53:41.500Z] eaf3925da568: Pulling fs layer [2023-06-12T17:53:41.500Z] bab4dde63d76: Pulling fs layer [2023-06-12T17:53:41.500Z] bde34c3a00c8: Pulling fs layer [2023-06-12T17:53:41.500Z] b352a97aabf1: Pulling fs layer [2023-06-12T17:53:41.500Z] 4872d77fe225: Pulling fs layer [2023-06-12T17:53:41.500Z] 5851b861e8e6: Pulling fs layer [2023-06-12T17:53:41.500Z] 988bab9f4d93: Waiting [2023-06-12T17:53:41.500Z] 1469e6f7b9e6: Waiting [2023-06-12T17:53:41.500Z] eaf3925da568: Waiting [2023-06-12T17:53:41.500Z] bab4dde63d76: Waiting [2023-06-12T17:53:41.500Z] bde34c3a00c8: Waiting [2023-06-12T17:53:41.500Z] b352a97aabf1: Waiting [2023-06-12T17:53:41.500Z] 4872d77fe225: Waiting [2023-06-12T17:53:41.500Z] 5851b861e8e6: Waiting [2023-06-12T17:53:41.500Z] e2be974225ed: Download complete [2023-06-12T17:53:41.500Z] 988bab9f4d93: Verifying Checksum [2023-06-12T17:53:41.500Z] 988bab9f4d93: Download complete [2023-06-12T17:53:41.500Z] 1469e6f7b9e6: Verifying Checksum [2023-06-12T17:53:41.500Z] 1469e6f7b9e6: Download complete [2023-06-12T17:53:41.500Z] 339a4e72a1f5: Verifying Checksum [2023-06-12T17:53:41.500Z] 339a4e72a1f5: Download complete [2023-06-12T17:53:41.758Z] eaf3925da568: Verifying Checksum [2023-06-12T17:53:41.758Z] eaf3925da568: Download complete [2023-06-12T17:53:41.758Z] bde34c3a00c8: Verifying Checksum [2023-06-12T17:53:41.758Z] bde34c3a00c8: Download complete [2023-06-12T17:53:41.758Z] b352a97aabf1: Download complete [2023-06-12T17:53:41.758Z] 4872d77fe225: Verifying Checksum [2023-06-12T17:53:41.758Z] 4872d77fe225: Download complete [2023-06-12T17:53:41.758Z] 5851b861e8e6: Verifying Checksum [2023-06-12T17:53:41.758Z] 5851b861e8e6: Download complete [2023-06-12T17:53:41.758Z] b85a868b505f: Verifying Checksum [2023-06-12T17:53:41.758Z] b85a868b505f: Download complete [2023-06-12T17:53:42.018Z] bab4dde63d76: Verifying Checksum [2023-06-12T17:53:42.018Z] bab4dde63d76: Download complete [2023-06-12T17:53:42.957Z] b85a868b505f: Pull complete [2023-06-12T17:53:42.957Z] e2be974225ed: Pull complete [2023-06-12T17:53:43.524Z] 339a4e72a1f5: Pull complete [2023-06-12T17:53:43.524Z] 988bab9f4d93: Pull complete [2023-06-12T17:53:43.787Z] 1469e6f7b9e6: Pull complete [2023-06-12T17:53:43.787Z] eaf3925da568: Pull complete [2023-06-12T17:53:45.692Z] bab4dde63d76: Pull complete [2023-06-12T17:53:45.692Z] bde34c3a00c8: Pull complete [2023-06-12T17:53:45.692Z] b352a97aabf1: Pull complete [2023-06-12T17:53:45.692Z] 4872d77fe225: Pull complete [2023-06-12T17:53:45.692Z] 5851b861e8e6: Pull complete [2023-06-12T17:53:45.692Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-06-12T17:53:45.692Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T17:53:45.692Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:53:45.796Z] prd-ubuntu20.04-docker-8c-8g-18469 does not seem to be running inside a container [2023-06-12T17:53:45.851Z] $ 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 [2023-06-12T17:53:48.049Z] $ docker top 90211646e91e7559c4817c4315fc4a37206c45ee82ed7ad1d21d544173922569 -eo pid,comm [2023-06-12T17:53:48.096Z] 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). [2023-06-12T17:53:48.096Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-12T17:53:48.137Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T17:53:48.137Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T17:53:48.254Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T17:53:48.265Z] $ docker exec 90211646e91e7559c4817c4315fc4a37206c45ee82ed7ad1d21d544173922569 ssh-agent [2023-06-12T17:53:48.354Z] SSH_AUTH_SOCK=/tmp/ssh-JEP0d3bfoX2n/agent.33 [2023-06-12T17:53:48.354Z] SSH_AGENT_PID=39 [2023-06-12T17:53:48.361Z] Running ssh-add (command line suppressed) [2023-06-12T17:53:48.465Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12254236306627785420.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12254236306627785420.key) [2023-06-12T17:53:48.471Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T17:53:48.762Z] + git tag --points-at HEAD [Pipeline] } [2023-06-12T17:53:48.781Z] $ docker exec --env ******** --env ******** 90211646e91e7559c4817c4315fc4a37206c45ee82ed7ad1d21d544173922569 ssh-agent -k [2023-06-12T17:53:48.874Z] unset SSH_AUTH_SOCK; [2023-06-12T17:53:48.875Z] unset SSH_AGENT_PID; [2023-06-12T17:53:48.875Z] echo Agent pid 39 killed; [2023-06-12T17:53:48.878Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-06-12T17:53:48.900Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T17:53:48.900Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T17:53:49.015Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T17:53:49.025Z] $ docker exec 90211646e91e7559c4817c4315fc4a37206c45ee82ed7ad1d21d544173922569 ssh-agent [2023-06-12T17:53:49.120Z] SSH_AUTH_SOCK=/tmp/ssh-kvNV4wnK3Vaw/agent.71 [2023-06-12T17:53:49.120Z] SSH_AGENT_PID=78 [2023-06-12T17:53:49.124Z] Running ssh-add (command line suppressed) [2023-06-12T17:53:49.229Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11307208949079195931.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11307208949079195931.key) [2023-06-12T17:53:49.234Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T17:53:49.520Z] + git semver init [2023-06-12T17:53:49.781Z] 2023-06-12 17:53:49,694 [run_init] DEBUG init version:0.0.0 force:False [2023-06-12T17:53:49.781Z] 2023-06-12 17:53:49,694 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-06-12T17:53:49.781Z] 2023-06-12 17:53:49,695 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-06-12T17:53:49.781Z] 2023-06-12 17:53:49,695 [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) [2023-06-12T17:53:50.722Z] 2023-06-12 17:53:50,495 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-06-12T17:53:50.722Z] 2023-06-12 17:53:50,496 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-06-12T17:53:50.722Z] 2023-06-12 17:53:50,496 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-06-12T17:53:50.722Z] 2023-06-12 17:53:50,496 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-06-12T17:53:50.722Z] 3.1.0-dev.1 [Pipeline] } [2023-06-12T17:53:50.736Z] $ docker exec --env ******** --env ******** 90211646e91e7559c4817c4315fc4a37206c45ee82ed7ad1d21d544173922569 ssh-agent -k [2023-06-12T17:53:50.829Z] unset SSH_AUTH_SOCK; [2023-06-12T17:53:50.830Z] unset SSH_AGENT_PID; [2023-06-12T17:53:50.830Z] echo Agent pid 78 killed; [2023-06-12T17:53:50.836Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-12T17:53:51.139Z] + git semver [Pipeline] } [2023-06-12T17:53:51.417Z] $ docker stop --time=1 90211646e91e7559c4817c4315fc4a37206c45ee82ed7ad1d21d544173922569 [2023-06-12T17:53:52.704Z] $ docker rm -f --volumes 90211646e91e7559c4817c4315fc4a37206c45ee82ed7ad1d21d544173922569 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T17:53:53.037Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-06-12T17:53:53.245Z] Stashed 1 file(s) [Pipeline] echo [2023-06-12T17:53:53.249Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T17:53:53.405Z] provisioning config files... [2023-06-12T17:53:53.415Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4081718672243848833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:53:53.717Z] ---> docker-login.sh [2023-06-12T17:53:53.717Z] nexus3.edgexfoundry.org:10001 [2023-06-12T17:53:53.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:53:53.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:53:53.717Z] Configure a credential helper to remove this warning. See [2023-06-12T17:53:53.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:53:53.717Z] [2023-06-12T17:53:53.717Z] Login Succeeded [2023-06-12T17:53:53.717Z] nexus3.edgexfoundry.org:10002 [2023-06-12T17:53:53.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:53:53.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:53:53.717Z] Configure a credential helper to remove this warning. See [2023-06-12T17:53:53.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:53:53.717Z] [2023-06-12T17:53:53.717Z] Login Succeeded [2023-06-12T17:53:53.717Z] nexus3.edgexfoundry.org:10003 [2023-06-12T17:53:53.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:53:53.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:53:53.976Z] Configure a credential helper to remove this warning. See [2023-06-12T17:53:53.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:53:53.976Z] [2023-06-12T17:53:53.976Z] Login Succeeded [2023-06-12T17:53:53.976Z] nexus3.edgexfoundry.org:10004 [2023-06-12T17:53:53.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:53:53.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:53:53.976Z] Configure a credential helper to remove this warning. See [2023-06-12T17:53:53.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:53:53.976Z] [2023-06-12T17:53:53.976Z] Login Succeeded [2023-06-12T17:53:53.976Z] docker.io [2023-06-12T17:53:53.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:53:54.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:53:54.236Z] Configure a credential helper to remove this warning. See [2023-06-12T17:53:54.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:53:54.236Z] [2023-06-12T17:53:54.236Z] Login Succeeded [2023-06-12T17:53:54.236Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T17:53:54.243Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-12T17:53:54.300Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T17:53:54.311Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T17:53:54.317Z] ========================================================= [2023-06-12T17:53:54.317Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-06-12T17:53:54.317Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:53:54.615Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-06-12T17:53:54.615Z] Sending build context to Docker daemon 6.395MB [2023-06-12T17:53:54.615Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T17:53:54.615Z] Step 2/10 : FROM ${BASE} AS builder [2023-06-12T17:53:54.615Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-06-12T17:53:54.615Z] f56be85fc22e: Pulling fs layer [2023-06-12T17:53:54.615Z] 85791d961cd3: Pulling fs layer [2023-06-12T17:53:54.615Z] d694b5ae8c79: Pulling fs layer [2023-06-12T17:53:54.615Z] 9f32a84ed3da: Pulling fs layer [2023-06-12T17:53:54.615Z] 4d19c01a9841: Pulling fs layer [2023-06-12T17:53:54.615Z] 9325e15d5711: Pulling fs layer [2023-06-12T17:53:54.615Z] 556b6ee489ea: Pulling fs layer [2023-06-12T17:53:54.615Z] c5a4b2cf53e6: Pulling fs layer [2023-06-12T17:53:54.615Z] 9f32a84ed3da: Waiting [2023-06-12T17:53:54.615Z] 4d19c01a9841: Waiting [2023-06-12T17:53:54.615Z] 9325e15d5711: Waiting [2023-06-12T17:53:54.615Z] c5a4b2cf53e6: Waiting [2023-06-12T17:53:54.615Z] 85791d961cd3: Verifying Checksum [2023-06-12T17:53:54.615Z] 85791d961cd3: Download complete [2023-06-12T17:53:54.615Z] 9f32a84ed3da: Download complete [2023-06-12T17:53:54.873Z] 4d19c01a9841: Verifying Checksum [2023-06-12T17:53:54.873Z] 4d19c01a9841: Download complete [2023-06-12T17:53:54.873Z] f56be85fc22e: Verifying Checksum [2023-06-12T17:53:54.873Z] f56be85fc22e: Download complete [2023-06-12T17:53:54.873Z] 9325e15d5711: Verifying Checksum [2023-06-12T17:53:54.873Z] 9325e15d5711: Download complete [2023-06-12T17:53:54.873Z] f56be85fc22e: Pull complete [2023-06-12T17:53:55.135Z] 85791d961cd3: Pull complete [2023-06-12T17:53:55.394Z] c5a4b2cf53e6: Verifying Checksum [2023-06-12T17:53:55.394Z] c5a4b2cf53e6: Download complete [2023-06-12T17:53:55.653Z] d694b5ae8c79: Download complete [2023-06-12T17:53:55.912Z] 556b6ee489ea: Download complete [2023-06-12T17:53:58.444Z] d694b5ae8c79: Pull complete [2023-06-12T17:53:58.444Z] 9f32a84ed3da: Pull complete [2023-06-12T17:53:58.704Z] 4d19c01a9841: Pull complete [2023-06-12T17:53:58.704Z] 9325e15d5711: Pull complete [2023-06-12T17:54:01.235Z] 556b6ee489ea: Pull complete [2023-06-12T17:54:01.802Z] c5a4b2cf53e6: Pull complete [2023-06-12T17:54:01.802Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-06-12T17:54:01.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-12T17:54:01.802Z] ---> c4be618373d6 [2023-06-12T17:54:01.802Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-06-12T17:54:05.186Z] ---> Running in 9f25d8a26818 [2023-06-12T17:54:05.444Z] Removing intermediate container 9f25d8a26818 [2023-06-12T17:54:05.444Z] ---> 26de913abea1 [2023-06-12T17:54:05.444Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-12T17:54:05.444Z] ---> Running in 11aa479149b6 [2023-06-12T17:54:05.444Z] Removing intermediate container 11aa479149b6 [2023-06-12T17:54:05.444Z] ---> 4ffb9a2a1cd0 [2023-06-12T17:54:05.444Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-06-12T17:54:05.444Z] ---> Running in 80c1a7ac85d9 [2023-06-12T17:54:05.703Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-12T17:54:05.963Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-12T17:54:05.963Z] (1/8) Installing openssh-keygen (9.1_p1-r3) [2023-06-12T17:54:05.963Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-06-12T17:54:05.963Z] (3/8) Installing openssh-client-common (9.1_p1-r3) [2023-06-12T17:54:06.222Z] (4/8) Installing openssh-client-default (9.1_p1-r3) [2023-06-12T17:54:06.222Z] (5/8) Installing openssh-sftp-server (9.1_p1-r3) [2023-06-12T17:54:06.222Z] (6/8) Installing openssh-server-common (9.1_p1-r3) [2023-06-12T17:54:06.222Z] (7/8) Installing openssh-server (9.1_p1-r3) [2023-06-12T17:54:06.222Z] (8/8) Installing openssh (9.1_p1-r3) [2023-06-12T17:54:06.222Z] Executing busybox-1.35.0-r29.trigger [2023-06-12T17:54:06.222Z] OK: 270 MiB in 61 packages [2023-06-12T17:54:06.788Z] Removing intermediate container 80c1a7ac85d9 [2023-06-12T17:54:06.788Z] ---> 21c29722277e [2023-06-12T17:54:06.788Z] Step 6/10 : WORKDIR /device-modbus-go [2023-06-12T17:54:06.788Z] ---> Running in 02d470e8a0fe [2023-06-12T17:54:06.788Z] Removing intermediate container 02d470e8a0fe [2023-06-12T17:54:06.788Z] ---> 0c446d87f741 [2023-06-12T17:54:06.788Z] Step 7/10 : COPY go.mod vendor* ./ [2023-06-12T17:54:06.788Z] ---> bd4ce827bfc2 [2023-06-12T17:54:06.788Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T17:54:06.788Z] ---> Running in 3a93c4cc1f3e [2023-06-12T17:54:08.359Z] Still waiting to schedule task [2023-06-12T17:54:08.359Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-06-12T17:54:33.329Z] Removing intermediate container 3a93c4cc1f3e [2023-06-12T17:54:33.329Z] ---> afc425aa483a [2023-06-12T17:54:33.329Z] Step 9/10 : COPY . . [2023-06-12T17:54:33.329Z] ---> 6810defaf233 [2023-06-12T17:54:33.329Z] Step 10/10 : RUN ${MAKE} [2023-06-12T17:54:33.329Z] ---> Running in ec7eb1a40b9f [2023-06-12T17:54:33.329Z] noop [2023-06-12T17:54:33.329Z] Removing intermediate container ec7eb1a40b9f [2023-06-12T17:54:33.329Z] ---> 1d4dd89b9453 [2023-06-12T17:54:33.329Z] Successfully built 1d4dd89b9453 [2023-06-12T17:54:33.329Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:54:33.636Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-12T17:54:33.636Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:54:33.702Z] prd-ubuntu20.04-docker-8c-8g-18469 does not seem to be running inside a container [2023-06-12T17:54:33.730Z] $ 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 [2023-06-12T17:54:34.070Z] $ docker top 4081a9d9883f77e02e17742f3bf18e19b48506e65ba2edf66347fc0704974785 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T17:54:34.406Z] + go version [2023-06-12T17:54:34.406Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-06-12T17:54:34.418Z] $ docker stop --time=1 4081a9d9883f77e02e17742f3bf18e19b48506e65ba2edf66347fc0704974785 [2023-06-12T17:54:35.687Z] $ docker rm -f --volumes 4081a9d9883f77e02e17742f3bf18e19b48506e65ba2edf66347fc0704974785 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:54:36.075Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-12T17:54:36.075Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:54:36.146Z] prd-ubuntu20.04-docker-8c-8g-18469 does not seem to be running inside a container [2023-06-12T17:54:36.178Z] $ 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 [2023-06-12T17:54:36.481Z] $ docker top ccf0b3c389692668fe7905493cf4eaf1ac2b5047c2aa5bc0545c06d31771dea2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T17:54:36.828Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-06-12T17:54:37.121Z] + make test [2023-06-12T17:54:37.121Z] go test ./... -coverprofile=coverage.out [2023-06-12T17:54:42.385Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-06-12T17:54:52.350Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-06-12T17:54:52.350Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.4% of statements [2023-06-12T17:54:58.901Z] go vet ./... [2023-06-12T17:55:03.085Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-12T17:55:03.085Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-12T17:55:03.085Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-06-12T17:55:03.097Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-12T17:55:03.115Z] $ docker stop --time=1 ccf0b3c389692668fe7905493cf4eaf1ac2b5047c2aa5bc0545c06d31771dea2 [2023-06-12T17:55:06.523Z] $ docker rm -f --volumes ccf0b3c389692668fe7905493cf4eaf1ac2b5047c2aa5bc0545c06d31771dea2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T17:55:06.973Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-12T17:55:07.021Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-06-12T17:55:07.440Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-12T17:55:07.728Z] + ls -al . [2023-06-12T17:55:07.728Z] total 188 [2023-06-12T17:55:07.728Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 12 17:54 . [2023-06-12T17:55:07.728Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:53 .. [2023-06-12T17:55:07.728Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 12 17:53 .dockerignore [2023-06-12T17:55:07.728Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 17:53 .git [2023-06-12T17:55:07.728Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:53 .github [2023-06-12T17:55:07.728Z] -rw-rw-r-- 1 jenkins jenkins 331 Jun 12 17:53 .gitignore [2023-06-12T17:55:07.728Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 12 17:53 .golangci.yml [2023-06-12T17:55:07.728Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 17:53 .semver [2023-06-12T17:55:07.728Z] -rw-rw-r-- 1 jenkins jenkins 10132 Jun 12 17:53 Attribution.txt [2023-06-12T17:55:07.728Z] -rw-rw-r-- 1 jenkins jenkins 14764 Jun 12 17:53 CHANGELOG.md [2023-06-12T17:55:07.728Z] -rw-rw-r-- 1 jenkins jenkins 1365 Jun 12 17:53 Dockerfile [2023-06-12T17:55:07.728Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 17:53 GOVERNANCE.md [2023-06-12T17:55:07.728Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 12 17:53 Jenkinsfile [2023-06-12T17:55:07.728Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 17:53 LICENSE [2023-06-12T17:55:07.728Z] -rw-rw-r-- 1 jenkins jenkins 1705 Jun 12 17:53 Makefile [2023-06-12T17:55:07.728Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 12 17:53 OWNERS.md [2023-06-12T17:55:07.728Z] -rw-rw-r-- 1 jenkins jenkins 4578 Jun 12 17:53 README.md [2023-06-12T17:55:07.728Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 17:53 VERSION [2023-06-12T17:55:07.728Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:53 bin [2023-06-12T17:55:07.728Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:53 cmd [2023-06-12T17:55:07.728Z] -rw-r--r-- 1 jenkins jenkins 24160 Jun 12 17:54 coverage.out [2023-06-12T17:55:07.728Z] -rw-rw-r-- 1 jenkins jenkins 3405 Jun 12 17:53 go.mod [2023-06-12T17:55:07.728Z] -rw-rw-r-- 1 jenkins jenkins 31664 Jun 12 17:53 go.sum [2023-06-12T17:55:07.728Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:53 internal [2023-06-12T17:55:07.728Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:53 simulator [2023-06-12T17:55:07.728Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:53 snap [2023-06-12T17:55:07.728Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 12 17:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:55:08.124Z] + 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=60f68763f8e382a62519363eb4c00d8ae3469bcd --label arch=amd64 --label version=3.1.0-dev.1 . [2023-06-12T17:55:08.124Z] Sending build context to Docker daemon 6.42MB [2023-06-12T17:55:08.124Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T17:55:08.124Z] Step 2/22 : FROM ${BASE} AS builder [2023-06-12T17:55:08.124Z] ---> 1d4dd89b9453 [2023-06-12T17:55:08.124Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-06-12T17:55:08.124Z] ---> Running in 3bcf4300490a [2023-06-12T17:55:08.417Z] Removing intermediate container 3bcf4300490a [2023-06-12T17:55:08.417Z] ---> 36f5693538b2 [2023-06-12T17:55:08.417Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-12T17:55:08.417Z] ---> Running in deeb908a2491 [2023-06-12T17:55:08.417Z] Removing intermediate container deeb908a2491 [2023-06-12T17:55:08.417Z] ---> 9066405cb950 [2023-06-12T17:55:08.417Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-06-12T17:55:08.417Z] ---> Running in a354eeff9341 [2023-06-12T17:55:08.714Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-12T17:55:08.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-12T17:55:09.255Z] OK: 270 MiB in 61 packages [2023-06-12T17:55:09.514Z] Removing intermediate container a354eeff9341 [2023-06-12T17:55:09.514Z] ---> 5e2db543530e [2023-06-12T17:55:09.514Z] Step 6/22 : WORKDIR /device-modbus-go [2023-06-12T17:55:09.514Z] ---> Running in 489d6a1d2f05 [2023-06-12T17:55:09.514Z] Removing intermediate container 489d6a1d2f05 [2023-06-12T17:55:09.514Z] ---> 6fb6bdac4d43 [2023-06-12T17:55:09.514Z] Step 7/22 : COPY go.mod vendor* ./ [2023-06-12T17:55:09.773Z] ---> f9b8cda0a05d [2023-06-12T17:55:09.773Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T17:55:09.773Z] ---> Running in b9b50b009b73 [2023-06-12T17:55:10.722Z] Removing intermediate container b9b50b009b73 [2023-06-12T17:55:10.722Z] ---> e1c8176c8213 [2023-06-12T17:55:10.722Z] Step 9/22 : COPY . . [2023-06-12T17:55:10.982Z] ---> 5d12565c90ea [2023-06-12T17:55:10.982Z] Step 10/22 : RUN ${MAKE} [2023-06-12T17:55:10.982Z] ---> Running in 5bc5732754c9 [2023-06-12T17:55:11.241Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.1" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-06-12T17:55:33.334Z] Removing intermediate container 5bc5732754c9 [2023-06-12T17:55:33.334Z] ---> 6d7987088052 [2023-06-12T17:55:33.334Z] Step 11/22 : FROM alpine:3.17 [2023-06-12T17:55:33.334Z] 3.17: Pulling from library/alpine [2023-06-12T17:55:33.334Z] f56be85fc22e: Already exists [2023-06-12T17:55:33.334Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-06-12T17:55:33.334Z] Status: Downloaded newer image for alpine:3.17 [2023-06-12T17:55:33.334Z] ---> 9ed4aefc74f6 [2023-06-12T17:55:33.334Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-06-12T17:55:33.334Z] ---> Running in 14749f82bde5 [2023-06-12T17:55:33.334Z] Removing intermediate container 14749f82bde5 [2023-06-12T17:55:33.334Z] ---> 9fb575c922fe [2023-06-12T17:55:33.334Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-06-12T17:55:33.334Z] ---> Running in 70b1eb553b20 [2023-06-12T17:55:33.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-12T17:55:33.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-12T17:55:33.335Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-06-12T17:55:33.335Z] Executing busybox-1.35.0-r29.trigger [2023-06-12T17:55:33.335Z] OK: 7 MiB in 16 packages [2023-06-12T17:55:33.335Z] Removing intermediate container 70b1eb553b20 [2023-06-12T17:55:33.335Z] ---> 5239fc1cb99f [2023-06-12T17:55:33.335Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-06-12T17:55:33.335Z] ---> b90a71361c7e [2023-06-12T17:55:33.335Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-06-12T17:55:33.335Z] ---> e17ebbcacbb2 [2023-06-12T17:55:33.335Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-06-12T17:55:33.335Z] ---> f4eb1a2f2465 [2023-06-12T17:55:33.335Z] Step 17/22 : EXPOSE 59901 [2023-06-12T17:55:33.335Z] ---> Running in 8bef91507106 [2023-06-12T17:55:33.335Z] Removing intermediate container 8bef91507106 [2023-06-12T17:55:33.335Z] ---> 4acb3f922f79 [2023-06-12T17:55:33.335Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-06-12T17:55:33.335Z] ---> Running in e39924bcb251 [2023-06-12T17:55:33.335Z] Removing intermediate container e39924bcb251 [2023-06-12T17:55:33.335Z] ---> 069563c50f6a [2023-06-12T17:55:33.335Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-06-12T17:55:33.335Z] ---> Running in 19c657201282 [2023-06-12T17:55:33.593Z] Removing intermediate container 19c657201282 [2023-06-12T17:55:33.593Z] ---> 44680f4cba41 [2023-06-12T17:55:33.593Z] Step 20/22 : LABEL arch=amd64 [2023-06-12T17:55:33.593Z] ---> Running in 6ec18f9bdf42 [2023-06-12T17:55:33.593Z] Removing intermediate container 6ec18f9bdf42 [2023-06-12T17:55:33.593Z] ---> 2584a7bab7ac [2023-06-12T17:55:33.593Z] Step 21/22 : LABEL git_sha=60f68763f8e382a62519363eb4c00d8ae3469bcd [2023-06-12T17:55:33.593Z] ---> Running in 15a39399b5d0 [2023-06-12T17:55:33.593Z] Removing intermediate container 15a39399b5d0 [2023-06-12T17:55:33.593Z] ---> e83f00750545 [2023-06-12T17:55:33.593Z] Step 22/22 : LABEL version=3.1.0-dev.1 [2023-06-12T17:55:33.593Z] ---> Running in 05f584daa661 [2023-06-12T17:55:33.851Z] Removing intermediate container 05f584daa661 [2023-06-12T17:55:33.851Z] ---> 50f2e5ca8dab [2023-06-12T17:55:33.851Z] [Warning] One or more build-args [ARCH] were not consumed [2023-06-12T17:55:33.851Z] Successfully built 50f2e5ca8dab [2023-06-12T17:55:33.851Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T17:55:33.953Z] provisioning config files... [2023-06-12T17:55:33.964Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17960993174644970248tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:55:34.264Z] ---> docker-login.sh [2023-06-12T17:55:34.264Z] nexus3.edgexfoundry.org:10001 [2023-06-12T17:55:34.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:55:34.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:55:34.264Z] Configure a credential helper to remove this warning. See [2023-06-12T17:55:34.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:55:34.264Z] [2023-06-12T17:55:34.264Z] Login Succeeded [2023-06-12T17:55:34.264Z] nexus3.edgexfoundry.org:10002 [2023-06-12T17:55:34.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:55:34.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:55:34.264Z] Configure a credential helper to remove this warning. See [2023-06-12T17:55:34.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:55:34.264Z] [2023-06-12T17:55:34.264Z] Login Succeeded [2023-06-12T17:55:34.264Z] nexus3.edgexfoundry.org:10003 [2023-06-12T17:55:34.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:55:34.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:55:34.521Z] Configure a credential helper to remove this warning. See [2023-06-12T17:55:34.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:55:34.521Z] [2023-06-12T17:55:34.521Z] Login Succeeded [2023-06-12T17:55:34.521Z] nexus3.edgexfoundry.org:10004 [2023-06-12T17:55:34.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:55:34.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:55:34.521Z] Configure a credential helper to remove this warning. See [2023-06-12T17:55:34.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:55:34.521Z] [2023-06-12T17:55:34.521Z] Login Succeeded [2023-06-12T17:55:34.521Z] docker.io [2023-06-12T17:55:34.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:55:34.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:55:34.779Z] Configure a credential helper to remove this warning. See [2023-06-12T17:55:34.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:55:34.779Z] [2023-06-12T17:55:34.779Z] Login Succeeded [2023-06-12T17:55:34.779Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T17:55:34.785Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-06-12T17:55:34.810Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T17:55:34.832Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-06-12T17:55:34.832Z] 60f68763f8e382a62519363eb4c00d8ae3469bcd [2023-06-12T17:55:34.832Z] latest [2023-06-12T17:55:34.832Z] 3.1.0-dev.1 [2023-06-12T17:55:34.832Z] 60f68763f8e382a62519363eb4c00d8ae3469bcd-3.1.0-dev.1 [2023-06-12T17:55:34.832Z] main [2023-06-12T17:55:34.832Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:55:35.152Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:60f68763f8e382a62519363eb4c00d8ae3469bcd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:55:35.465Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:60f68763f8e382a62519363eb4c00d8ae3469bcd [2023-06-12T17:55:35.465Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-06-12T17:55:35.465Z] e3f403d6d90f: Preparing [2023-06-12T17:55:35.465Z] 74a83fe90a78: Preparing [2023-06-12T17:55:35.465Z] 0e7f7eb076e7: Preparing [2023-06-12T17:55:35.465Z] d853fe5aa687: Preparing [2023-06-12T17:55:35.465Z] f1417ff83b31: Preparing [2023-06-12T17:55:35.465Z] f1417ff83b31: Layer already exists [2023-06-12T17:55:35.465Z] 74a83fe90a78: Pushed [2023-06-12T17:55:35.465Z] d853fe5aa687: Pushed [2023-06-12T17:55:35.465Z] e3f403d6d90f: Pushed [2023-06-12T17:55:38.760Z] 0e7f7eb076e7: Pushed [2023-06-12T17:55:38.761Z] 60f68763f8e382a62519363eb4c00d8ae3469bcd: digest: sha256:ba77151059164fa6f933ea2002727654f7db2ad71422bfbcf44c60d366d084ce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:55:39.076Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:55:39.396Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-06-12T17:55:39.396Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-06-12T17:55:39.396Z] e3f403d6d90f: Preparing [2023-06-12T17:55:39.396Z] 74a83fe90a78: Preparing [2023-06-12T17:55:39.396Z] 0e7f7eb076e7: Preparing [2023-06-12T17:55:39.396Z] d853fe5aa687: Preparing [2023-06-12T17:55:39.396Z] f1417ff83b31: Preparing [2023-06-12T17:55:39.396Z] e3f403d6d90f: Layer already exists [2023-06-12T17:55:39.396Z] f1417ff83b31: Layer already exists [2023-06-12T17:55:39.396Z] 0e7f7eb076e7: Layer already exists [2023-06-12T17:55:39.396Z] 74a83fe90a78: Layer already exists [2023-06-12T17:55:39.396Z] d853fe5aa687: Layer already exists [2023-06-12T17:55:39.396Z] latest: digest: sha256:ba77151059164fa6f933ea2002727654f7db2ad71422bfbcf44c60d366d084ce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:55:39.713Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:55:40.022Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.1 [2023-06-12T17:55:40.022Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-06-12T17:55:40.022Z] e3f403d6d90f: Preparing [2023-06-12T17:55:40.022Z] 74a83fe90a78: Preparing [2023-06-12T17:55:40.022Z] 0e7f7eb076e7: Preparing [2023-06-12T17:55:40.022Z] d853fe5aa687: Preparing [2023-06-12T17:55:40.022Z] f1417ff83b31: Preparing [2023-06-12T17:55:40.022Z] e3f403d6d90f: Layer already exists [2023-06-12T17:55:40.022Z] 74a83fe90a78: Layer already exists [2023-06-12T17:55:40.022Z] 0e7f7eb076e7: Layer already exists [2023-06-12T17:55:40.022Z] f1417ff83b31: Layer already exists [2023-06-12T17:55:40.022Z] d853fe5aa687: Layer already exists [2023-06-12T17:55:40.022Z] 3.1.0-dev.1: digest: sha256:ba77151059164fa6f933ea2002727654f7db2ad71422bfbcf44c60d366d084ce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:55:40.334Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:60f68763f8e382a62519363eb4c00d8ae3469bcd-3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:55:40.636Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:60f68763f8e382a62519363eb4c00d8ae3469bcd-3.1.0-dev.1 [2023-06-12T17:55:40.636Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-06-12T17:55:40.636Z] e3f403d6d90f: Preparing [2023-06-12T17:55:40.636Z] 74a83fe90a78: Preparing [2023-06-12T17:55:40.636Z] 0e7f7eb076e7: Preparing [2023-06-12T17:55:40.636Z] d853fe5aa687: Preparing [2023-06-12T17:55:40.636Z] f1417ff83b31: Preparing [2023-06-12T17:55:40.636Z] 0e7f7eb076e7: Layer already exists [2023-06-12T17:55:40.636Z] 74a83fe90a78: Layer already exists [2023-06-12T17:55:40.636Z] d853fe5aa687: Layer already exists [2023-06-12T17:55:40.636Z] e3f403d6d90f: Layer already exists [2023-06-12T17:55:40.636Z] f1417ff83b31: Layer already exists [2023-06-12T17:55:40.636Z] 60f68763f8e382a62519363eb4c00d8ae3469bcd-3.1.0-dev.1: digest: sha256:ba77151059164fa6f933ea2002727654f7db2ad71422bfbcf44c60d366d084ce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:55:40.962Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:55:41.274Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-06-12T17:55:41.275Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-06-12T17:55:41.275Z] e3f403d6d90f: Preparing [2023-06-12T17:55:41.275Z] 74a83fe90a78: Preparing [2023-06-12T17:55:41.275Z] 0e7f7eb076e7: Preparing [2023-06-12T17:55:41.275Z] d853fe5aa687: Preparing [2023-06-12T17:55:41.275Z] f1417ff83b31: Preparing [2023-06-12T17:55:41.275Z] e3f403d6d90f: Layer already exists [2023-06-12T17:55:41.275Z] 0e7f7eb076e7: Layer already exists [2023-06-12T17:55:41.275Z] f1417ff83b31: Layer already exists [2023-06-12T17:55:41.275Z] 74a83fe90a78: Layer already exists [2023-06-12T17:55:41.275Z] d853fe5aa687: Layer already exists [2023-06-12T17:55:41.275Z] main: digest: sha256:ba77151059164fa6f933ea2002727654f7db2ad71422bfbcf44c60d366d084ce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-06-12T17:55:41.312Z] ===================================================== [Pipeline] echo [2023-06-12T17:55:41.322Z] taggedImages: [2023-06-12T17:55:41.322Z] - nexus3.edgexfoundry.org:10004/device-modbus:60f68763f8e382a62519363eb4c00d8ae3469bcd [2023-06-12T17:55:41.322Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-06-12T17:55:41.322Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.1 [2023-06-12T17:55:41.322Z] - nexus3.edgexfoundry.org:10004/device-modbus:60f68763f8e382a62519363eb4c00d8ae3469bcd-3.1.0-dev.1 [2023-06-12T17:55:41.322Z] - 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:55:41.670Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T17:55:41.670Z] [2023-06-12T17:55:41.670Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:55:41.968Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T17:55:41.968Z] latest: Pulling from edgex-lftools-log-publisher [2023-06-12T17:55:41.968Z] 5eb5b503b376: Pulling fs layer [2023-06-12T17:55:41.968Z] 5c69ac0246d0: Pulling fs layer [2023-06-12T17:55:41.968Z] ec43610c2a17: Pulling fs layer [2023-06-12T17:55:41.968Z] 3a2ae6a8a46f: Pulling fs layer [2023-06-12T17:55:41.968Z] 33b1e0a273af: Pulling fs layer [2023-06-12T17:55:41.968Z] 5d3b04190fa2: Pulling fs layer [2023-06-12T17:55:41.968Z] 2f39f015ded8: Pulling fs layer [2023-06-12T17:55:41.968Z] 33b1e0a273af: Waiting [2023-06-12T17:55:41.968Z] 5d3b04190fa2: Waiting [2023-06-12T17:55:41.968Z] 3a2ae6a8a46f: Waiting [2023-06-12T17:55:41.968Z] 2f39f015ded8: Waiting [2023-06-12T17:55:41.968Z] 5c69ac0246d0: Verifying Checksum [2023-06-12T17:55:41.968Z] 5c69ac0246d0: Download complete [2023-06-12T17:55:41.968Z] 3a2ae6a8a46f: Download complete [2023-06-12T17:55:41.968Z] 33b1e0a273af: Verifying Checksum [2023-06-12T17:55:41.968Z] 33b1e0a273af: Download complete [2023-06-12T17:55:41.968Z] ec43610c2a17: Verifying Checksum [2023-06-12T17:55:41.968Z] ec43610c2a17: Download complete [2023-06-12T17:55:41.968Z] 5d3b04190fa2: Verifying Checksum [2023-06-12T17:55:41.968Z] 5d3b04190fa2: Download complete [2023-06-12T17:55:42.227Z] 5eb5b503b376: Verifying Checksum [2023-06-12T17:55:42.227Z] 5eb5b503b376: Download complete [2023-06-12T17:55:42.793Z] 2f39f015ded8: Download complete [2023-06-12T17:55:43.362Z] 5eb5b503b376: Pull complete [2023-06-12T17:55:43.362Z] 5c69ac0246d0: Pull complete [2023-06-12T17:55:43.929Z] ec43610c2a17: Pull complete [2023-06-12T17:55:43.929Z] 3a2ae6a8a46f: Pull complete [2023-06-12T17:55:44.187Z] 33b1e0a273af: Pull complete [2023-06-12T17:55:44.187Z] 5d3b04190fa2: Pull complete [2023-06-12T17:55:48.372Z] 2f39f015ded8: Pull complete [2023-06-12T17:55:48.372Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-06-12T17:55:48.372Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T17:55:48.372Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:55:48.466Z] prd-ubuntu20.04-docker-8c-8g-18469 does not seem to be running inside a container [2023-06-12T17:55:48.503Z] $ 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 [2023-06-12T17:55:51.874Z] $ docker top 7012da69fd72a1965178ca453748932843714b6bf37469c0121f58ea72adbe72 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:55:52.238Z] ---> job-cost.sh [2023-06-12T17:55:52.238Z] lf-activate-venv: SKIPPING [2023-06-12T17:55:52.238Z] INFO: No Stack... [2023-06-12T17:55:52.497Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-12T17:55:52.757Z] INFO: Archiving Costs [Pipeline] sh [2023-06-12T17:55:53.048Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-06-12T17:55:53.048Z] + cut -d, -f6 [Pipeline] lock [2023-06-12T17:55:53.064Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-114-stack-cost] [2023-06-12T17:55:53.074Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-114-stack-cost] did not exist. Created. [2023-06-12T17:55:53.074Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-114-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-12T17:55:53.380Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-06-12T17:55:53.405Z] Stashed 1 file(s) [Pipeline] } [2023-06-12T17:55:53.440Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-114-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-12T17:55:53.465Z] $ docker stop --time=1 7012da69fd72a1965178ca453748932843714b6bf37469c0121f58ea72adbe72 [2023-06-12T17:55:54.628Z] $ docker rm -f --volumes 7012da69fd72a1965178ca453748932843714b6bf37469c0121f58ea72adbe72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-12T17:57:18.180Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-18474 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-06-12T17:57:18.193Z] Running in /w/workspace/device-modbus-go/114 [Pipeline] { [Pipeline] checkout [2023-06-12T17:57:18.242Z] Selected Git installation does not exist. Using Default [2023-06-12T17:57:18.242Z] The recommended git tool is: NONE [2023-06-12T17:57:25.587Z] using credential edgex-jenkins-ssh [2023-06-12T17:57:25.619Z] Cloning the remote Git repository [2023-06-12T17:57:25.692Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-06-12T17:57:25.836Z] > git init /w/workspace/device-modbus-go/114 # timeout=10 [2023-06-12T17:57:26.022Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-06-12T17:57:26.024Z] > git --version # timeout=10 [2023-06-12T17:57:26.049Z] > git --version # 'git version 2.25.1' [2023-06-12T17:57:26.053Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-12T17:57:26.253Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-12T17:57:27.456Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-06-12T17:57:27.489Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-12T17:57:28.605Z] Avoid second fetch [2023-06-12T17:57:28.605Z] Checking out Revision 60f68763f8e382a62519363eb4c00d8ae3469bcd (main) [2023-06-12T17:57:29.330Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#490)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-12T17:57:28.629Z] > git config core.sparsecheckout # timeout=10 [2023-06-12T17:57:28.711Z] > git checkout -f 60f68763f8e382a62519363eb4c00d8ae3469bcd # timeout=10 [2023-06-12T17:57:30.265Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-06-12T17:57:30.265Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-12T17:57:30.265Z] Dload Upload Total Spent Left Speed [2023-06-12T17:57:30.265Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 177k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh [2023-06-12T17:57:30.880Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-06-12T17:57:31.223Z] + sudo tee /etc/docker/daemon.new [2023-06-12T17:57:31.223Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-06-12T17:57:31.223Z] { [2023-06-12T17:57:31.223Z] "registry-mirrors": [ [2023-06-12T17:57:31.223Z] "https://nexus3.edgexfoundry.org:10001" [2023-06-12T17:57:31.223Z] ], [2023-06-12T17:57:31.223Z] "bip": "10.250.0.254/24", [2023-06-12T17:57:31.223Z] "hosts": [ [2023-06-12T17:57:31.223Z] "tcp://0.0.0.0:5555", [2023-06-12T17:57:31.223Z] "unix:///var/run/docker.sock" [2023-06-12T17:57:31.223Z] ], [2023-06-12T17:57:31.223Z] "mtu": 1458, [2023-06-12T17:57:31.223Z] "selinux-enabled": true, [2023-06-12T17:57:31.223Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-06-12T17:57:31.223Z] } [Pipeline] sh [2023-06-12T17:57:31.572Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-06-12T17:57:31.927Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T17:57:50.241Z] provisioning config files... [2023-06-12T17:57:50.270Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/114@tmp/config2406145058278393646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:57:50.648Z] ---> docker-login.sh [2023-06-12T17:57:50.648Z] nexus3.edgexfoundry.org:10001 [2023-06-12T17:57:51.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:57:51.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:57:51.239Z] Configure a credential helper to remove this warning. See [2023-06-12T17:57:51.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:57:51.240Z] [2023-06-12T17:57:51.240Z] Login Succeeded [2023-06-12T17:57:51.240Z] nexus3.edgexfoundry.org:10002 [2023-06-12T17:57:51.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:57:51.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:57:51.786Z] Configure a credential helper to remove this warning. See [2023-06-12T17:57:51.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:57:51.786Z] [2023-06-12T17:57:51.786Z] Login Succeeded [2023-06-12T17:57:51.786Z] nexus3.edgexfoundry.org:10003 [2023-06-12T17:57:52.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:57:52.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:57:52.058Z] Configure a credential helper to remove this warning. See [2023-06-12T17:57:52.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:57:52.058Z] [2023-06-12T17:57:52.058Z] Login Succeeded [2023-06-12T17:57:52.058Z] nexus3.edgexfoundry.org:10004 [2023-06-12T17:57:52.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:57:52.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:57:52.606Z] Configure a credential helper to remove this warning. See [2023-06-12T17:57:52.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:57:52.606Z] [2023-06-12T17:57:52.606Z] Login Succeeded [2023-06-12T17:57:52.606Z] docker.io [2023-06-12T17:57:52.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:57:53.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:57:53.146Z] Configure a credential helper to remove this warning. See [2023-06-12T17:57:53.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:57:53.146Z] [2023-06-12T17:57:53.146Z] Login Succeeded [2023-06-12T17:57:53.146Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T17:57:53.161Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-12T17:57:53.500Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T17:57:53.514Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T17:57:53.528Z] ========================================================= [2023-06-12T17:57:53.528Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-06-12T17:57:53.528Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:57:53.892Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-06-12T17:57:54.163Z] Sending build context to Docker daemon 3.314MB [2023-06-12T17:57:54.163Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T17:57:54.163Z] Step 2/10 : FROM ${BASE} AS builder [2023-06-12T17:57:54.442Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-06-12T17:57:54.442Z] c41833b44d91: Pulling fs layer [2023-06-12T17:57:54.442Z] ed15518f5707: Pulling fs layer [2023-06-12T17:57:54.442Z] feae8fd75edb: Pulling fs layer [2023-06-12T17:57:54.442Z] 242c74f7c9fa: Pulling fs layer [2023-06-12T17:57:54.442Z] 3cdef696dda3: Pulling fs layer [2023-06-12T17:57:54.442Z] 2ced38df9373: Pulling fs layer [2023-06-12T17:57:54.442Z] 58f1dce35555: Pulling fs layer [2023-06-12T17:57:54.442Z] 3cdef696dda3: Waiting [2023-06-12T17:57:54.442Z] 2ced38df9373: Waiting [2023-06-12T17:57:54.442Z] 58f1dce35555: Waiting [2023-06-12T17:57:54.442Z] 242c74f7c9fa: Waiting [2023-06-12T17:57:54.442Z] ed15518f5707: Verifying Checksum [2023-06-12T17:57:54.442Z] ed15518f5707: Download complete [2023-06-12T17:57:54.442Z] 242c74f7c9fa: Download complete [2023-06-12T17:57:54.442Z] 3cdef696dda3: Verifying Checksum [2023-06-12T17:57:54.442Z] 3cdef696dda3: Download complete [2023-06-12T17:57:54.442Z] c41833b44d91: Verifying Checksum [2023-06-12T17:57:54.442Z] c41833b44d91: Download complete [2023-06-12T17:57:55.894Z] c41833b44d91: Pull complete [2023-06-12T17:57:56.170Z] 58f1dce35555: Verifying Checksum [2023-06-12T17:57:56.170Z] 58f1dce35555: Download complete [2023-06-12T17:57:56.450Z] ed15518f5707: Pull complete [2023-06-12T17:57:57.435Z] feae8fd75edb: Verifying Checksum [2023-06-12T17:57:57.435Z] feae8fd75edb: Download complete [2023-06-12T17:57:57.435Z] 2ced38df9373: Verifying Checksum [2023-06-12T17:57:57.435Z] 2ced38df9373: Download complete [2023-06-12T17:58:09.818Z] feae8fd75edb: Pull complete [2023-06-12T17:58:09.818Z] 242c74f7c9fa: Pull complete [2023-06-12T17:58:09.818Z] 3cdef696dda3: Pull complete [2023-06-12T17:58:15.190Z] 2ced38df9373: Pull complete [2023-06-12T17:58:17.144Z] 58f1dce35555: Pull complete [2023-06-12T17:58:17.144Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-06-12T17:58:17.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-12T17:58:17.144Z] ---> fadd8f120f05 [2023-06-12T17:58:17.144Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-06-12T17:58:19.138Z] ---> Running in f5978d9bad65 [2023-06-12T17:58:19.406Z] Removing intermediate container f5978d9bad65 [2023-06-12T17:58:19.406Z] ---> 08bd961324f6 [2023-06-12T17:58:19.406Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-12T17:58:19.406Z] ---> Running in 2512b36b596d [2023-06-12T17:58:19.675Z] Removing intermediate container 2512b36b596d [2023-06-12T17:58:19.675Z] ---> 069817f483fc [2023-06-12T17:58:19.675Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-06-12T17:58:19.943Z] ---> Running in c0eb1aea1869 [2023-06-12T17:58:20.906Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-12T17:58:21.547Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-12T17:58:22.977Z] (1/8) Installing openssh-keygen (9.1_p1-r3) [2023-06-12T17:58:22.977Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-06-12T17:58:22.977Z] (3/8) Installing openssh-client-common (9.1_p1-r3) [2023-06-12T17:58:22.977Z] (4/8) Installing openssh-client-default (9.1_p1-r3) [2023-06-12T17:58:22.977Z] (5/8) Installing openssh-sftp-server (9.1_p1-r3) [2023-06-12T17:58:22.977Z] (6/8) Installing openssh-server-common (9.1_p1-r3) [2023-06-12T17:58:22.977Z] (7/8) Installing openssh-server (9.1_p1-r3) [2023-06-12T17:58:22.977Z] (8/8) Installing openssh (9.1_p1-r3) [2023-06-12T17:58:22.977Z] Executing busybox-1.35.0-r29.trigger [2023-06-12T17:58:22.977Z] OK: 270 MiB in 61 packages [2023-06-12T17:58:24.390Z] Removing intermediate container c0eb1aea1869 [2023-06-12T17:58:24.390Z] ---> 5c62e9628e71 [2023-06-12T17:58:24.390Z] Step 6/10 : WORKDIR /device-modbus-go [2023-06-12T17:58:24.390Z] ---> Running in 4c79562ac41b [2023-06-12T17:58:24.390Z] Removing intermediate container 4c79562ac41b [2023-06-12T17:58:24.390Z] ---> c416bb3fe7fc [2023-06-12T17:58:24.390Z] Step 7/10 : COPY go.mod vendor* ./ [2023-06-12T17:58:24.979Z] ---> a877462e10ef [2023-06-12T17:58:24.979Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T17:58:25.247Z] ---> Running in 2aabce8b3e99 [2023-06-12T17:59:33.155Z] Removing intermediate container 2aabce8b3e99 [2023-06-12T17:59:33.155Z] ---> f1774777b07b [2023-06-12T17:59:33.155Z] Step 9/10 : COPY . . [2023-06-12T17:59:33.155Z] ---> aa4c793fd946 [2023-06-12T17:59:33.155Z] Step 10/10 : RUN ${MAKE} [2023-06-12T17:59:33.155Z] ---> Running in 4e7b85dbc784 [2023-06-12T17:59:33.155Z] noop [2023-06-12T17:59:33.155Z] Removing intermediate container 4e7b85dbc784 [2023-06-12T17:59:33.155Z] ---> 2dba0863234d [2023-06-12T17:59:33.155Z] Successfully built 2dba0863234d [2023-06-12T17:59:33.155Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:59:33.518Z] + docker inspect -f . ci-base-image-arm64 [2023-06-12T17:59:33.518Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:59:33.748Z] prd-ubuntu20.04-docker-arm64-4c-16g-18474 does not seem to be running inside a container [2023-06-12T17:59:33.830Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/114 -v /w/workspace/device-modbus-go/114:/w/workspace/device-modbus-go/114:rw,z -v /w/workspace/device-modbus-go/114@tmp:/w/workspace/device-modbus-go/114@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-arm64 cat [2023-06-12T17:59:35.136Z] $ docker top 8357901d3e50c089baeba8b8103fd8094593d73fbe197dd96f78024bea36adfc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T17:59:36.006Z] + go version [2023-06-12T17:59:36.007Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-06-12T17:59:36.034Z] $ docker stop --time=1 8357901d3e50c089baeba8b8103fd8094593d73fbe197dd96f78024bea36adfc [2023-06-12T17:59:37.716Z] $ docker rm -f --volumes 8357901d3e50c089baeba8b8103fd8094593d73fbe197dd96f78024bea36adfc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:59:38.251Z] + docker inspect -f . ci-base-image-arm64 [2023-06-12T17:59:38.251Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:59:38.439Z] prd-ubuntu20.04-docker-arm64-4c-16g-18474 does not seem to be running inside a container [2023-06-12T17:59:38.518Z] $ 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/114 -v /w/workspace/device-modbus-go/114:/w/workspace/device-modbus-go/114:rw,z -v /w/workspace/device-modbus-go/114@tmp:/w/workspace/device-modbus-go/114@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-arm64 cat [2023-06-12T17:59:39.782Z] $ docker top f877305e64f0405fa6217fd079488cb353533d5b4656c222ec3c40c37797f5cb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T17:59:40.625Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/114 [Pipeline] fileExists [Pipeline] sh [2023-06-12T17:59:41.287Z] + make test [2023-06-12T17:59:41.287Z] go test ./... -coverprofile=coverage.out [2023-06-12T18:00:20.189Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-06-12T18:02:57.364Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-06-12T18:02:57.364Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.075s coverage: 47.4% of statements [2023-06-12T18:02:57.364Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-06-12T18:02:57.364Z] go vet ./... [2023-06-12T18:03:24.094Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-12T18:03:24.094Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-12T18:03:24.094Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-06-12T18:03:24.112Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-12T18:03:24.131Z] $ docker stop --time=1 f877305e64f0405fa6217fd079488cb353533d5b4656c222ec3c40c37797f5cb [2023-06-12T18:03:25.992Z] $ docker rm -f --volumes f877305e64f0405fa6217fd079488cb353533d5b4656c222ec3c40c37797f5cb [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T18:03:27.202Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-12T18:03:27.811Z] Warning: overwriting stash ‘coverage-report’ [2023-06-12T18:03:28.311Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-12T18:03:28.696Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-12T18:03:29.017Z] + ls -al . [2023-06-12T18:03:29.017Z] total 184 [2023-06-12T18:03:29.017Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 12 17:59 . [2023-06-12T18:03:29.017Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:57 .. [2023-06-12T18:03:29.017Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 12 17:57 .dockerignore [2023-06-12T18:03:29.017Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 17:57 .git [2023-06-12T18:03:29.017Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:57 .github [2023-06-12T18:03:29.017Z] -rw-rw-r-- 1 jenkins jenkins 331 Jun 12 17:57 .gitignore [2023-06-12T18:03:29.017Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 12 17:57 .golangci.yml [2023-06-12T18:03:29.017Z] -rw-rw-r-- 1 jenkins jenkins 10132 Jun 12 17:57 Attribution.txt [2023-06-12T18:03:29.017Z] -rw-rw-r-- 1 jenkins jenkins 14764 Jun 12 17:57 CHANGELOG.md [2023-06-12T18:03:29.017Z] -rw-rw-r-- 1 jenkins jenkins 1365 Jun 12 17:57 Dockerfile [2023-06-12T18:03:29.017Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 17:57 GOVERNANCE.md [2023-06-12T18:03:29.017Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 12 17:57 Jenkinsfile [2023-06-12T18:03:29.017Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 17:57 LICENSE [2023-06-12T18:03:29.017Z] -rw-rw-r-- 1 jenkins jenkins 1705 Jun 12 17:57 Makefile [2023-06-12T18:03:29.017Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 12 17:57 OWNERS.md [2023-06-12T18:03:29.017Z] -rw-rw-r-- 1 jenkins jenkins 4578 Jun 12 17:57 README.md [2023-06-12T18:03:29.017Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 17:53 VERSION [2023-06-12T18:03:29.017Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:57 bin [2023-06-12T18:03:29.017Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:57 cmd [2023-06-12T18:03:29.017Z] -rw-r--r-- 1 jenkins jenkins 24160 Jun 12 18:02 coverage.out [2023-06-12T18:03:29.017Z] -rw-rw-r-- 1 jenkins jenkins 3405 Jun 12 17:57 go.mod [2023-06-12T18:03:29.017Z] -rw-rw-r-- 1 jenkins jenkins 31664 Jun 12 17:57 go.sum [2023-06-12T18:03:29.017Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:57 internal [2023-06-12T18:03:29.017Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:57 simulator [2023-06-12T18:03:29.017Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:57 snap [2023-06-12T18:03:29.017Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 12 17:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:03:29.355Z] + 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=60f68763f8e382a62519363eb4c00d8ae3469bcd --label arch=arm64 --label version=3.1.0-dev.1 . [2023-06-12T18:03:29.622Z] Sending build context to Docker daemon 3.339MB [2023-06-12T18:03:29.622Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T18:03:29.622Z] Step 2/22 : FROM ${BASE} AS builder [2023-06-12T18:03:29.622Z] ---> 2dba0863234d [2023-06-12T18:03:29.622Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-06-12T18:03:29.890Z] ---> Running in 76cf160b6dc5 [2023-06-12T18:03:30.158Z] Removing intermediate container 76cf160b6dc5 [2023-06-12T18:03:30.158Z] ---> d80f280c5b93 [2023-06-12T18:03:30.158Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-12T18:03:30.158Z] ---> Running in dab2a85ada53 [2023-06-12T18:03:30.428Z] Removing intermediate container dab2a85ada53 [2023-06-12T18:03:30.428Z] ---> becffdc56b33 [2023-06-12T18:03:30.428Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-06-12T18:03:30.700Z] ---> Running in 6f1d962f2173 [2023-06-12T18:03:31.663Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-12T18:03:32.249Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-12T18:03:33.665Z] OK: 270 MiB in 61 packages [2023-06-12T18:03:37.029Z] Removing intermediate container 6f1d962f2173 [2023-06-12T18:03:37.029Z] ---> 3b092c3f33cc [2023-06-12T18:03:37.029Z] Step 6/22 : WORKDIR /device-modbus-go [2023-06-12T18:03:37.029Z] ---> Running in 587de5ccc62a [2023-06-12T18:03:37.029Z] Removing intermediate container 587de5ccc62a [2023-06-12T18:03:37.029Z] ---> 3308d2b219f3 [2023-06-12T18:03:37.029Z] Step 7/22 : COPY go.mod vendor* ./ [2023-06-12T18:03:37.298Z] ---> 6bb90f77cc8d [2023-06-12T18:03:37.298Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T18:03:37.565Z] ---> Running in 018db979d7a1 [2023-06-12T18:03:40.170Z] Removing intermediate container 018db979d7a1 [2023-06-12T18:03:40.170Z] ---> 4d0d037da01d [2023-06-12T18:03:40.170Z] Step 9/22 : COPY . . [2023-06-12T18:03:41.163Z] ---> 460d0eb02eae [2023-06-12T18:03:41.163Z] Step 10/22 : RUN ${MAKE} [2023-06-12T18:03:41.438Z] ---> Running in c8606ca68d8e [2023-06-12T18:03:44.039Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.1" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-06-12T18:06:20.898Z] Removing intermediate container c8606ca68d8e [2023-06-12T18:06:20.898Z] ---> d9d6ddb3be06 [2023-06-12T18:06:20.898Z] Step 11/22 : FROM alpine:3.17 [2023-06-12T18:06:20.898Z] 3.17: Pulling from library/alpine [2023-06-12T18:06:20.898Z] c41833b44d91: Already exists [2023-06-12T18:06:20.898Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-06-12T18:06:20.898Z] Status: Downloaded newer image for alpine:3.17 [2023-06-12T18:06:20.898Z] ---> 51e60588ff2c [2023-06-12T18:06:20.898Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-06-12T18:06:20.898Z] ---> Running in 29491c7a44db [2023-06-12T18:06:20.898Z] Removing intermediate container 29491c7a44db [2023-06-12T18:06:20.898Z] ---> 638d8b111000 [2023-06-12T18:06:20.898Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-06-12T18:06:20.898Z] ---> Running in 3cddfb509587 [2023-06-12T18:06:20.898Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-12T18:06:20.898Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-12T18:06:20.898Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-06-12T18:06:20.898Z] Executing busybox-1.35.0-r29.trigger [2023-06-12T18:06:20.898Z] OK: 8 MiB in 16 packages [2023-06-12T18:06:20.898Z] Removing intermediate container 3cddfb509587 [2023-06-12T18:06:20.898Z] ---> 7e7cb9125bb7 [2023-06-12T18:06:20.898Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-06-12T18:06:20.898Z] ---> 5f35613c9780 [2023-06-12T18:06:20.898Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-06-12T18:06:21.166Z] ---> e16801165200 [2023-06-12T18:06:21.166Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-06-12T18:06:21.752Z] ---> 9a04367d2995 [2023-06-12T18:06:21.752Z] Step 17/22 : EXPOSE 59901 [2023-06-12T18:06:21.752Z] ---> Running in 191601a5fe45 [2023-06-12T18:06:22.020Z] Removing intermediate container 191601a5fe45 [2023-06-12T18:06:22.020Z] ---> cc71fb527823 [2023-06-12T18:06:22.020Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-06-12T18:06:22.020Z] ---> Running in 852add2fe4d4 [2023-06-12T18:06:22.610Z] Removing intermediate container 852add2fe4d4 [2023-06-12T18:06:22.610Z] ---> bcdd51da0796 [2023-06-12T18:06:22.610Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-06-12T18:06:22.610Z] ---> Running in a532a89025a4 [2023-06-12T18:06:22.880Z] Removing intermediate container a532a89025a4 [2023-06-12T18:06:22.880Z] ---> 87427edd0e7c [2023-06-12T18:06:22.880Z] Step 20/22 : LABEL arch=arm64 [2023-06-12T18:06:22.880Z] ---> Running in 4a5a3279bf05 [2023-06-12T18:06:23.150Z] Removing intermediate container 4a5a3279bf05 [2023-06-12T18:06:23.150Z] ---> e0f3637a9260 [2023-06-12T18:06:23.150Z] Step 21/22 : LABEL git_sha=60f68763f8e382a62519363eb4c00d8ae3469bcd [2023-06-12T18:06:23.424Z] ---> Running in eb1bf7dc5297 [2023-06-12T18:06:23.692Z] Removing intermediate container eb1bf7dc5297 [2023-06-12T18:06:23.692Z] ---> 14fd15888c0b [2023-06-12T18:06:23.692Z] Step 22/22 : LABEL version=3.1.0-dev.1 [2023-06-12T18:06:23.692Z] ---> Running in dc1d4923f852 [2023-06-12T18:06:23.961Z] Removing intermediate container dc1d4923f852 [2023-06-12T18:06:23.961Z] ---> 9925da5fd3a1 [2023-06-12T18:06:23.961Z] [Warning] One or more build-args [ARCH] were not consumed [2023-06-12T18:06:23.961Z] Successfully built 9925da5fd3a1 [2023-06-12T18:06:23.961Z] 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 [2023-06-12T18:06:24.095Z] provisioning config files... [2023-06-12T18:06:24.110Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/114@tmp/config2652198238249036388tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:06:24.446Z] ---> docker-login.sh [2023-06-12T18:06:24.446Z] nexus3.edgexfoundry.org:10001 [2023-06-12T18:06:24.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:06:24.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:06:24.713Z] Configure a credential helper to remove this warning. See [2023-06-12T18:06:24.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:06:24.713Z] [2023-06-12T18:06:24.713Z] Login Succeeded [2023-06-12T18:06:24.713Z] nexus3.edgexfoundry.org:10002 [2023-06-12T18:06:24.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:06:24.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:06:24.990Z] Configure a credential helper to remove this warning. See [2023-06-12T18:06:24.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:06:24.990Z] [2023-06-12T18:06:24.990Z] Login Succeeded [2023-06-12T18:06:24.990Z] nexus3.edgexfoundry.org:10003 [2023-06-12T18:06:25.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:06:25.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:06:25.524Z] Configure a credential helper to remove this warning. See [2023-06-12T18:06:25.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:06:25.524Z] [2023-06-12T18:06:25.524Z] Login Succeeded [2023-06-12T18:06:25.524Z] nexus3.edgexfoundry.org:10004 [2023-06-12T18:06:25.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:06:25.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:06:25.792Z] Configure a credential helper to remove this warning. See [2023-06-12T18:06:25.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:06:25.792Z] [2023-06-12T18:06:25.792Z] Login Succeeded [2023-06-12T18:06:25.792Z] docker.io [2023-06-12T18:06:26.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:06:26.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:06:26.330Z] Configure a credential helper to remove this warning. See [2023-06-12T18:06:26.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:06:26.330Z] [2023-06-12T18:06:26.330Z] Login Succeeded [2023-06-12T18:06:26.330Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T18:06:26.343Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-06-12T18:06:26.380Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T18:06:26.407Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-06-12T18:06:26.407Z] 60f68763f8e382a62519363eb4c00d8ae3469bcd [2023-06-12T18:06:26.407Z] latest [2023-06-12T18:06:26.407Z] 3.1.0-dev.1 [2023-06-12T18:06:26.407Z] 60f68763f8e382a62519363eb4c00d8ae3469bcd-3.1.0-dev.1 [2023-06-12T18:06:26.407Z] main [2023-06-12T18:06:26.407Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:06:26.825Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:60f68763f8e382a62519363eb4c00d8ae3469bcd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:06:27.272Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:60f68763f8e382a62519363eb4c00d8ae3469bcd [2023-06-12T18:06:27.272Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-06-12T18:06:27.272Z] 10cbc240b64d: Preparing [2023-06-12T18:06:27.272Z] 9ac938b3bbfb: Preparing [2023-06-12T18:06:27.272Z] 5f916d5b29ac: Preparing [2023-06-12T18:06:27.272Z] 32423fcf5577: Preparing [2023-06-12T18:06:27.272Z] 26cbea5cba74: Preparing [2023-06-12T18:06:27.272Z] 26cbea5cba74: Layer already exists [2023-06-12T18:06:27.557Z] 10cbc240b64d: Pushed [2023-06-12T18:06:27.557Z] 9ac938b3bbfb: Pushed [2023-06-12T18:06:27.557Z] 32423fcf5577: Pushed [2023-06-12T18:06:32.969Z] 5f916d5b29ac: Pushed [2023-06-12T18:06:33.238Z] 60f68763f8e382a62519363eb4c00d8ae3469bcd: digest: sha256:9d4ae10331dd61ef99e8be359c71bc1786dfae40e210131d1d240150555adf2b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:06:33.654Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:06:34.002Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-06-12T18:06:34.002Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-06-12T18:06:34.002Z] 10cbc240b64d: Preparing [2023-06-12T18:06:34.002Z] 9ac938b3bbfb: Preparing [2023-06-12T18:06:34.002Z] 5f916d5b29ac: Preparing [2023-06-12T18:06:34.002Z] 32423fcf5577: Preparing [2023-06-12T18:06:34.002Z] 26cbea5cba74: Preparing [2023-06-12T18:06:34.002Z] 10cbc240b64d: Layer already exists [2023-06-12T18:06:34.002Z] 26cbea5cba74: Layer already exists [2023-06-12T18:06:34.002Z] 32423fcf5577: Layer already exists [2023-06-12T18:06:34.002Z] 9ac938b3bbfb: Layer already exists [2023-06-12T18:06:34.002Z] 5f916d5b29ac: Layer already exists [2023-06-12T18:06:34.273Z] latest: digest: sha256:9d4ae10331dd61ef99e8be359c71bc1786dfae40e210131d1d240150555adf2b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:06:34.621Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:06:34.971Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.1 [2023-06-12T18:06:34.971Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-06-12T18:06:34.971Z] 10cbc240b64d: Preparing [2023-06-12T18:06:34.971Z] 9ac938b3bbfb: Preparing [2023-06-12T18:06:34.971Z] 5f916d5b29ac: Preparing [2023-06-12T18:06:34.971Z] 32423fcf5577: Preparing [2023-06-12T18:06:34.971Z] 26cbea5cba74: Preparing [2023-06-12T18:06:34.971Z] 5f916d5b29ac: Layer already exists [2023-06-12T18:06:34.971Z] 26cbea5cba74: Layer already exists [2023-06-12T18:06:34.971Z] 10cbc240b64d: Layer already exists [2023-06-12T18:06:34.971Z] 32423fcf5577: Layer already exists [2023-06-12T18:06:34.971Z] 9ac938b3bbfb: Layer already exists [2023-06-12T18:06:34.971Z] 3.1.0-dev.1: digest: sha256:9d4ae10331dd61ef99e8be359c71bc1786dfae40e210131d1d240150555adf2b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:06:35.590Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:60f68763f8e382a62519363eb4c00d8ae3469bcd-3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:06:35.934Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:60f68763f8e382a62519363eb4c00d8ae3469bcd-3.1.0-dev.1 [2023-06-12T18:06:35.934Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-06-12T18:06:35.934Z] 10cbc240b64d: Preparing [2023-06-12T18:06:35.934Z] 9ac938b3bbfb: Preparing [2023-06-12T18:06:35.934Z] 5f916d5b29ac: Preparing [2023-06-12T18:06:35.934Z] 32423fcf5577: Preparing [2023-06-12T18:06:35.934Z] 26cbea5cba74: Preparing [2023-06-12T18:06:35.934Z] 5f916d5b29ac: Layer already exists [2023-06-12T18:06:35.934Z] 32423fcf5577: Layer already exists [2023-06-12T18:06:35.934Z] 10cbc240b64d: Layer already exists [2023-06-12T18:06:35.934Z] 9ac938b3bbfb: Layer already exists [2023-06-12T18:06:35.934Z] 26cbea5cba74: Layer already exists [2023-06-12T18:06:35.934Z] 60f68763f8e382a62519363eb4c00d8ae3469bcd-3.1.0-dev.1: digest: sha256:9d4ae10331dd61ef99e8be359c71bc1786dfae40e210131d1d240150555adf2b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:06:36.283Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:06:36.632Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-06-12T18:06:36.632Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-06-12T18:06:36.632Z] 10cbc240b64d: Preparing [2023-06-12T18:06:36.632Z] 9ac938b3bbfb: Preparing [2023-06-12T18:06:36.632Z] 5f916d5b29ac: Preparing [2023-06-12T18:06:36.632Z] 32423fcf5577: Preparing [2023-06-12T18:06:36.632Z] 26cbea5cba74: Preparing [2023-06-12T18:06:36.632Z] 26cbea5cba74: Layer already exists [2023-06-12T18:06:36.632Z] 10cbc240b64d: Layer already exists [2023-06-12T18:06:36.632Z] 9ac938b3bbfb: Layer already exists [2023-06-12T18:06:36.632Z] 5f916d5b29ac: Layer already exists [2023-06-12T18:06:36.632Z] 32423fcf5577: Layer already exists [2023-06-12T18:06:36.632Z] main: digest: sha256:9d4ae10331dd61ef99e8be359c71bc1786dfae40e210131d1d240150555adf2b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-06-12T18:06:36.961Z] ===================================================== [Pipeline] echo [2023-06-12T18:06:36.976Z] taggedImages: [2023-06-12T18:06:36.976Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:60f68763f8e382a62519363eb4c00d8ae3469bcd [2023-06-12T18:06:36.976Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-06-12T18:06:36.976Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.1 [2023-06-12T18:06:36.976Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:60f68763f8e382a62519363eb4c00d8ae3469bcd-3.1.0-dev.1 [2023-06-12T18:06:36.976Z] - 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 [2023-06-12T18:06:37.353Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-12T18:06:37.353Z] [2023-06-12T18:06:37.353Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:06:37.698Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-12T18:06:37.698Z] arm64: Pulling from edgex-lftools-log-publisher [2023-06-12T18:06:37.698Z] 8998bd30e6a1: Pulling fs layer [2023-06-12T18:06:37.698Z] 04944245beec: Pulling fs layer [2023-06-12T18:06:37.698Z] 699f458cf7ca: Pulling fs layer [2023-06-12T18:06:37.698Z] 765212b225bb: Pulling fs layer [2023-06-12T18:06:37.698Z] f23df028b6ca: Pulling fs layer [2023-06-12T18:06:37.698Z] d65c8cfc05b1: Pulling fs layer [2023-06-12T18:06:37.698Z] 2437ff75d9bd: Pulling fs layer [2023-06-12T18:06:37.698Z] d65c8cfc05b1: Waiting [2023-06-12T18:06:37.698Z] 765212b225bb: Waiting [2023-06-12T18:06:37.698Z] f23df028b6ca: Waiting [2023-06-12T18:06:37.698Z] 2437ff75d9bd: Waiting [2023-06-12T18:06:37.968Z] 04944245beec: Verifying Checksum [2023-06-12T18:06:37.968Z] 04944245beec: Download complete [2023-06-12T18:06:37.968Z] 765212b225bb: Verifying Checksum [2023-06-12T18:06:37.968Z] 765212b225bb: Download complete [2023-06-12T18:06:37.968Z] f23df028b6ca: Download complete [2023-06-12T18:06:37.968Z] d65c8cfc05b1: Verifying Checksum [2023-06-12T18:06:37.968Z] d65c8cfc05b1: Download complete [2023-06-12T18:06:38.238Z] 699f458cf7ca: Verifying Checksum [2023-06-12T18:06:38.238Z] 699f458cf7ca: Download complete [2023-06-12T18:06:38.507Z] 8998bd30e6a1: Verifying Checksum [2023-06-12T18:06:38.507Z] 8998bd30e6a1: Download complete [2023-06-12T18:06:41.101Z] 2437ff75d9bd: Verifying Checksum [2023-06-12T18:06:41.101Z] 2437ff75d9bd: Download complete [2023-06-12T18:06:43.044Z] 8998bd30e6a1: Pull complete [2023-06-12T18:06:43.312Z] 04944245beec: Pull complete [2023-06-12T18:06:44.719Z] 699f458cf7ca: Pull complete [2023-06-12T18:06:44.719Z] 765212b225bb: Pull complete [2023-06-12T18:06:45.692Z] f23df028b6ca: Pull complete [2023-06-12T18:06:45.692Z] d65c8cfc05b1: Pull complete [2023-06-12T18:07:00.711Z] 2437ff75d9bd: Pull complete [2023-06-12T18:07:00.711Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-06-12T18:07:00.711Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-12T18:07:00.711Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:07:00.911Z] prd-ubuntu20.04-docker-arm64-4c-16g-18474 does not seem to be running inside a container [2023-06-12T18:07:00.987Z] $ 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/114 -v /w/workspace/device-modbus-go/114:/w/workspace/device-modbus-go/114:rw,z -v /w/workspace/device-modbus-go/114@tmp:/w/workspace/device-modbus-go/114@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:arm64 cat [2023-06-12T18:07:03.832Z] $ docker top be6b604a133b4d0dc882a23d4bacc552026c0bda5a798395f6708e13de9af738 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:07:04.670Z] ---> job-cost.sh [2023-06-12T18:07:04.670Z] lf-activate-venv: SKIPPING [2023-06-12T18:07:04.670Z] INFO: No Stack... [2023-06-12T18:07:05.251Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-06-12T18:07:05.834Z] INFO: Archiving Costs [Pipeline] sh [2023-06-12T18:07:06.740Z] + cat /w/workspace/device-modbus-go/114/archives/cost.csv [2023-06-12T18:07:06.740Z] + cut -d, -f6 [Pipeline] lock [2023-06-12T18:07:06.807Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-114-stack-cost] [2023-06-12T18:07:06.818Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-114-stack-cost] did not exist. Created. [2023-06-12T18:07:06.818Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-114-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-12T18:07:07.475Z] /w/workspace/device-modbus-go/114@tmp/durable-aae00233/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-06-12T18:07:08.130Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-06-12T18:07:08.144Z] Warning: overwriting stash ‘stack-cost’ [2023-06-12T18:07:08.197Z] Stashed 1 file(s) [Pipeline] } [2023-06-12T18:07:08.206Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-114-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-12T18:07:08.234Z] $ docker stop --time=1 be6b604a133b4d0dc882a23d4bacc552026c0bda5a798395f6708e13de9af738 [2023-06-12T18:07:09.728Z] $ docker rm -f --volumes be6b604a133b4d0dc882a23d4bacc552026c0bda5a798395f6708e13de9af738 [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 [2023-06-12T18:07:10.141Z] provisioning config files... [2023-06-12T18:07:10.148Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1863007433710041137tmp [Pipeline] { [Pipeline] sh [2023-06-12T18:07:10.445Z] + set +x [2023-06-12T18:07:10.445Z] + curl -s https://codecov.io/bash [2023-06-12T18:07:10.445Z] + bash -s -- [2023-06-12T18:07:10.445Z] [2023-06-12T18:07:10.445Z] _____ _ [2023-06-12T18:07:10.445Z] / ____| | | [2023-06-12T18:07:10.445Z] | | ___ __| | ___ ___ _____ __ [2023-06-12T18:07:10.445Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-06-12T18:07:10.445Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-06-12T18:07:10.445Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-06-12T18:07:10.445Z] Bash-1.0.6 [2023-06-12T18:07:10.445Z] [2023-06-12T18:07:10.445Z] [2023-06-12T18:07:10.445Z] ==> git version 2.25.1 found [2023-06-12T18:07:10.445Z] ==> 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 [2023-06-12T18:07:10.445Z] Release-Date: 2020-01-08 [2023-06-12T18:07:10.445Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-06-12T18:07:10.445Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-06-12T18:07:10.445Z] ==> Jenkins CI detected. [2023-06-12T18:07:10.445Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-06-12T18:07:10.445Z] project root: . [2023-06-12T18:07:10.445Z] --> token set from env [2023-06-12T18:07:10.445Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-06-12T18:07:10.445Z] ==> Running gcov in . (disable via -X gcov) [2023-06-12T18:07:10.445Z] ==> Python coveragepy not found [2023-06-12T18:07:10.445Z] ==> Searching for coverage reports in: [2023-06-12T18:07:10.445Z] + . [2023-06-12T18:07:10.445Z] -> Found 1 reports [2023-06-12T18:07:10.445Z] ==> Detecting git/mercurial file structure [2023-06-12T18:07:10.445Z] ==> Reading reports [2023-06-12T18:07:10.445Z] + ./coverage.out bytes=24160 [2023-06-12T18:07:10.445Z] ==> Appending adjustments [2023-06-12T18:07:10.445Z] https://docs.codecov.io/docs/fixing-reports [2023-06-12T18:07:10.704Z] + Found adjustments [2023-06-12T18:07:10.704Z] ==> Gzipping contents [2023-06-12T18:07:10.704Z] 4.0K /tmp/codecov.pZnH9T.gz [2023-06-12T18:07:10.704Z] ==> Uploading reports [2023-06-12T18:07:10.704Z] url: https://codecov.io [2023-06-12T18:07:10.704Z] query: branch=main&commit=60f68763f8e382a62519363eb4c00d8ae3469bcd&build=114&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F114%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-06-12T18:07:10.704Z] -> Pinging Codecov [2023-06-12T18:07:10.704Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=main&commit=60f68763f8e382a62519363eb4c00d8ae3469bcd&build=114&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F114%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-06-12T18:07:10.704Z] -> Uploading to [2023-06-12T18:07:10.704Z] https://storage.googleapis.com/codecov/v4/raw/2023-06-12/55DBCA73C666E3227836607328DD7E49/60f68763f8e382a62519363eb4c00d8ae3469bcd/536b0689-5456-4217-b76a-76c58298174c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230612%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230612T180710Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e4cf6be287a8c3ec724e01b11caae958bff4e3a7057ced95e6c96b0ac1de61f2 [2023-06-12T18:07:10.704Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-12T18:07:10.704Z] Dload Upload Total Spent Left Speed [2023-06-12T18:07:10.964Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 21679 --:--:-- --:--:-- --:--:-- 21679 [2023-06-12T18:07:10.964Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/60f68763f8e382a62519363eb4c00d8ae3469bcd [Pipeline] } [2023-06-12T18:07:10.970Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-06-12T18:07:11.119Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-06-12T18:07:11.128Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:07:11.424Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-06-12T18:07:11.424Z] [2023-06-12T18:07:11.424Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:07:11.734Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-06-12T18:07:11.734Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-06-12T18:07:11.734Z] df9b9388f04a: Pulling fs layer [2023-06-12T18:07:11.734Z] 52dc419b0ee2: Pulling fs layer [2023-06-12T18:07:11.734Z] 25bc292e5bac: Pulling fs layer [2023-06-12T18:07:11.734Z] 114826534d7a: Pulling fs layer [2023-06-12T18:07:11.734Z] 4657fd5d0bcf: Pulling fs layer [2023-06-12T18:07:11.734Z] 6ad1cebc031e: Pulling fs layer [2023-06-12T18:07:11.734Z] 8a3aa393b2d8: Pulling fs layer [2023-06-12T18:07:11.734Z] 114826534d7a: Waiting [2023-06-12T18:07:11.734Z] 4657fd5d0bcf: Waiting [2023-06-12T18:07:11.734Z] 6ad1cebc031e: Waiting [2023-06-12T18:07:11.734Z] 8a3aa393b2d8: Waiting [2023-06-12T18:07:11.734Z] 25bc292e5bac: Verifying Checksum [2023-06-12T18:07:11.734Z] 25bc292e5bac: Download complete [2023-06-12T18:07:11.734Z] 52dc419b0ee2: Verifying Checksum [2023-06-12T18:07:11.734Z] 52dc419b0ee2: Download complete [2023-06-12T18:07:11.734Z] 4657fd5d0bcf: Download complete [2023-06-12T18:07:11.734Z] df9b9388f04a: Download complete [2023-06-12T18:07:11.993Z] df9b9388f04a: Pull complete [2023-06-12T18:07:11.994Z] 6ad1cebc031e: Verifying Checksum [2023-06-12T18:07:11.994Z] 6ad1cebc031e: Download complete [2023-06-12T18:07:11.994Z] 52dc419b0ee2: Pull complete [2023-06-12T18:07:11.994Z] 25bc292e5bac: Pull complete [2023-06-12T18:07:12.566Z] 114826534d7a: Verifying Checksum [2023-06-12T18:07:12.566Z] 114826534d7a: Download complete [2023-06-12T18:07:12.566Z] 8a3aa393b2d8: Download complete [2023-06-12T18:07:15.844Z] 114826534d7a: Pull complete [2023-06-12T18:07:16.101Z] 4657fd5d0bcf: Pull complete [2023-06-12T18:07:16.359Z] 6ad1cebc031e: Pull complete [2023-06-12T18:07:19.636Z] 8a3aa393b2d8: Pull complete [2023-06-12T18:07:19.636Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-06-12T18:07:19.636Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-06-12T18:07:19.636Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:07:19.717Z] prd-ubuntu20.04-docker-8c-8g-18469 does not seem to be running inside a container [2023-06-12T18:07:19.755Z] $ 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:1.410.4 cat [2023-06-12T18:07:22.705Z] $ docker top 1e84b3728549afba5a80ce0801b9222ee704e4443a19f071fb9d22f5d43450ae -eo pid,comm [Pipeline] { [Pipeline] echo [2023-06-12T18:07:22.758Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-06-12T18:07:23.034Z] + set -o pipefail [2023-06-12T18:07:23.034Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-06-12T18:07:27.221Z] [2023-06-12T18:07:27.221Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-06-12T18:07:27.221Z] [2023-06-12T18:07:27.221Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/c3ebd80e-0263-4a31-b7c3-710f975ff6ba [2023-06-12T18:07:27.221Z] [2023-06-12T18:07:27.221Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-06-12T18:07:27.221Z] [2023-06-12T18:07:27.221Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-06-12T18:07:27.221Z] [2023-06-12T18:07:27.221Z] [2023-06-12T18:07:27.221Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-06-12T18:07:27.221Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-06-12T18:07:27.221Z] More details here: https://snyk.co/ue1NS [2023-06-12T18:07:27.221Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-06-12T18:07:27.221Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-06-12T18:07:27.237Z] $ docker stop --time=1 1e84b3728549afba5a80ce0801b9222ee704e4443a19f071fb9d22f5d43450ae [2023-06-12T18:07:30.512Z] $ docker rm -f --volumes 1e84b3728549afba5a80ce0801b9222ee704e4443a19f071fb9d22f5d43450ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-12T18:07:31.223Z] + git log --format=format:%s -1 60f68763f8e382a62519363eb4c00d8ae3469bcd [Pipeline] sh [2023-06-12T18:07:31.512Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-12T18:07:31.512Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:07:31.814Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T18:07:31.814Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:07:31.896Z] prd-ubuntu20.04-docker-8c-8g-18469 does not seem to be running inside a container [2023-06-12T18:07:31.924Z] $ 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 [2023-06-12T18:07:32.319Z] $ docker top 5a5a121209725d511a8b4cec939f6d10c7ff4766e565c54b16bb8883b12cf713 -eo pid,comm [2023-06-12T18:07:32.367Z] 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). [2023-06-12T18:07:32.367Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-12T18:07:32.409Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T18:07:32.409Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T18:07:32.518Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T18:07:32.524Z] $ docker exec 5a5a121209725d511a8b4cec939f6d10c7ff4766e565c54b16bb8883b12cf713 ssh-agent [2023-06-12T18:07:32.620Z] SSH_AUTH_SOCK=/tmp/ssh-2yGlGsBeYP3Z/agent.32 [2023-06-12T18:07:32.620Z] SSH_AGENT_PID=38 [2023-06-12T18:07:32.624Z] Running ssh-add (command line suppressed) [2023-06-12T18:07:32.739Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5662431060276102281.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5662431060276102281.key) [2023-06-12T18:07:32.749Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T18:07:33.037Z] + git semver tag [2023-06-12T18:07:33.295Z] 2023-06-12 18:07:33,221 [run_tag] DEBUG tag force:False [2023-06-12T18:07:33.295Z] 2023-06-12 18:07:33,221 [check_head_tag] DEBUG check head tag [2023-06-12T18:07:33.295Z] 2023-06-12 18:07:33,222 [execute] INFO git cat-file --batch-check [2023-06-12T18:07:33.295Z] 2023-06-12 18:07:33,222 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-06-12T18:07:33.295Z] 2023-06-12 18:07:33,227 [execute] INFO git cat-file --batch [2023-06-12T18:07:33.296Z] 2023-06-12 18:07:33,228 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-06-12T18:07:33.296Z] 2023-06-12 18:07:33,237 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-06-12T18:07:33.296Z] 2023-06-12 18:07:33,238 [execute] INFO git tag -a v3.1.0-dev.1 -m v3.1.0-dev.1 [2023-06-12T18:07:33.296Z] 2023-06-12 18:07:33,238 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.1', '-m', 'v3.1.0-dev.1'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-06-12T18:07:33.296Z] 2023-06-12 18:07:33,243 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-06-12T18:07:33.296Z] 3.1.0-dev.1 [Pipeline] } [2023-06-12T18:07:33.308Z] $ docker exec --env ******** --env ******** 5a5a121209725d511a8b4cec939f6d10c7ff4766e565c54b16bb8883b12cf713 ssh-agent -k [2023-06-12T18:07:33.398Z] unset SSH_AUTH_SOCK; [2023-06-12T18:07:33.398Z] unset SSH_AGENT_PID; [2023-06-12T18:07:33.398Z] echo Agent pid 38 killed; [2023-06-12T18:07:33.406Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-12T18:07:33.707Z] + git semver [Pipeline] } [2023-06-12T18:07:33.982Z] $ docker stop --time=1 5a5a121209725d511a8b4cec939f6d10c7ff4766e565c54b16bb8883b12cf713 [2023-06-12T18:07:35.263Z] $ docker rm -f --volumes 5a5a121209725d511a8b4cec939f6d10c7ff4766e565c54b16bb8883b12cf713 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:07:35.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-06-12T18:07:35.633Z] [2023-06-12T18:07:35.633Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:07:35.933Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-06-12T18:07:35.933Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-06-12T18:07:35.933Z] ab5ef0e58194: Pulling fs layer [2023-06-12T18:07:35.933Z] 9712f1f96733: Pulling fs layer [2023-06-12T18:07:35.933Z] 63f879dbbcfc: Pulling fs layer [2023-06-12T18:07:35.933Z] 0d9ebad4ef96: Pulling fs layer [2023-06-12T18:07:35.933Z] e9a5061849ea: Pulling fs layer [2023-06-12T18:07:35.933Z] d747dcd14b5f: Pulling fs layer [2023-06-12T18:07:35.933Z] 2de7ff778b66: Pulling fs layer [2023-06-12T18:07:35.933Z] 0d9ebad4ef96: Waiting [2023-06-12T18:07:35.933Z] 2de7ff778b66: Waiting [2023-06-12T18:07:35.933Z] d747dcd14b5f: Waiting [2023-06-12T18:07:35.933Z] e9a5061849ea: Waiting [2023-06-12T18:07:35.933Z] 9712f1f96733: Verifying Checksum [2023-06-12T18:07:35.933Z] 9712f1f96733: Download complete [2023-06-12T18:07:36.193Z] 63f879dbbcfc: Verifying Checksum [2023-06-12T18:07:36.193Z] 63f879dbbcfc: Download complete [2023-06-12T18:07:36.452Z] e9a5061849ea: Verifying Checksum [2023-06-12T18:07:36.452Z] e9a5061849ea: Download complete [2023-06-12T18:07:36.452Z] d747dcd14b5f: Verifying Checksum [2023-06-12T18:07:36.452Z] d747dcd14b5f: Download complete [2023-06-12T18:07:36.452Z] ab5ef0e58194: Verifying Checksum [2023-06-12T18:07:36.452Z] ab5ef0e58194: Download complete [2023-06-12T18:07:36.452Z] 0d9ebad4ef96: Verifying Checksum [2023-06-12T18:07:36.452Z] 0d9ebad4ef96: Download complete [2023-06-12T18:07:36.452Z] 2de7ff778b66: Verifying Checksum [2023-06-12T18:07:36.452Z] 2de7ff778b66: Download complete [2023-06-12T18:07:38.983Z] ab5ef0e58194: Pull complete [2023-06-12T18:07:38.983Z] 9712f1f96733: Pull complete [2023-06-12T18:07:39.550Z] 63f879dbbcfc: Pull complete [2023-06-12T18:07:43.735Z] 0d9ebad4ef96: Pull complete [2023-06-12T18:07:43.735Z] e9a5061849ea: Pull complete [2023-06-12T18:07:43.735Z] d747dcd14b5f: Pull complete [2023-06-12T18:07:44.670Z] 2de7ff778b66: Pull complete [2023-06-12T18:07:44.670Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-06-12T18:07:44.670Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-06-12T18:07:44.670Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:07:44.753Z] prd-ubuntu20.04-docker-8c-8g-18469 does not seem to be running inside a container [2023-06-12T18:07:44.786Z] $ 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 [2023-06-12T18:07:48.498Z] $ docker top 451cedef765aa60f96644d169fb9d2940290659ed5fceed7e022cffe92aa9a28 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-06-12T18:07:48.576Z] provisioning config files... [2023-06-12T18:07:48.582Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11968615108156860324tmp [2023-06-12T18:07:48.591Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13120116185936231161tmp [2023-06-12T18:07:48.601Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3042616562842537348tmp [Pipeline] { [Pipeline] echo [2023-06-12T18:07:48.617Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:07:48.898Z] ---> sigul-configuration.sh [2023-06-12T18:07:48.899Z] gpg: directory `/root/.gnupg' created [2023-06-12T18:07:48.899Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-06-12T18:07:48.899Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-06-12T18:07:48.899Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-06-12T18:07:48.899Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-06-12T18:07:48.899Z] gpg: CAST5 encrypted data [2023-06-12T18:07:48.899Z] gpg: encrypted with 1 passphrase [2023-06-12T18:07:48.899Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-06-12T18:07:49.186Z] + mkdir /home/jenkins [2023-06-12T18:07:49.186Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-06-12T18:07:49.472Z] + 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 [2023-06-12T18:07:49.481Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:07:49.767Z] ---> sigul-install.sh [2023-06-12T18:07:49.767Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-06-12T18:07:50.050Z] + git tag --list [2023-06-12T18:07:50.050Z] 0.7.1 [2023-06-12T18:07:50.050Z] v1.0.0 [2023-06-12T18:07:50.050Z] v1.1.0 [2023-06-12T18:07:50.050Z] v1.1.1 [2023-06-12T18:07:50.050Z] v1.2.2 [2023-06-12T18:07:50.050Z] v1.3.0 [2023-06-12T18:07:50.050Z] v1.3.1 [2023-06-12T18:07:50.050Z] v2.0.0 [2023-06-12T18:07:50.050Z] v2.1.0 [2023-06-12T18:07:50.050Z] v2.1.1 [2023-06-12T18:07:50.050Z] v2.2.0 [2023-06-12T18:07:50.051Z] v2.3.0 [2023-06-12T18:07:50.051Z] v3.0 [2023-06-12T18:07:50.051Z] v3.0.0 [2023-06-12T18:07:50.051Z] v3.1.0-dev.1 [Pipeline] sh [2023-06-12T18:07:50.341Z] + lftools sign git-tag v3.1.0-dev.1 [2023-06-12T18:07:50.913Z] Signing Git tag with Sigul... [2023-06-12T18:07:50.913Z] Signing v3.1.0-dev.1 [Pipeline] echo [2023-06-12T18:07:51.180Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:07:51.469Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-06-12T18:07:51.476Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-06-12T18:07:51.498Z] $ docker stop --time=1 451cedef765aa60f96644d169fb9d2940290659ed5fceed7e022cffe92aa9a28 [2023-06-12T18:07:52.823Z] $ docker rm -f --volumes 451cedef765aa60f96644d169fb9d2940290659ed5fceed7e022cffe92aa9a28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-06-12T18:07:53.204Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-12T18:07:53.205Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:07:53.513Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T18:07:53.513Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:07:53.591Z] prd-ubuntu20.04-docker-8c-8g-18469 does not seem to be running inside a container [2023-06-12T18:07:53.625Z] $ 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 [2023-06-12T18:07:54.000Z] $ docker top e83dbde0982a39b02f60ee3fff99eb4401639a56b529fb4e2183e6a1301387a6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-12T18:07:54.092Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T18:07:54.092Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T18:07:54.213Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T18:07:54.219Z] $ docker exec e83dbde0982a39b02f60ee3fff99eb4401639a56b529fb4e2183e6a1301387a6 ssh-agent [2023-06-12T18:07:54.332Z] SSH_AUTH_SOCK=/tmp/ssh-aWSutmwpFb6K/agent.32 [2023-06-12T18:07:54.332Z] SSH_AGENT_PID=38 [2023-06-12T18:07:54.337Z] Running ssh-add (command line suppressed) [2023-06-12T18:07:54.451Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_159047546932436166.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_159047546932436166.key) [2023-06-12T18:07:54.463Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T18:07:54.754Z] + git semver bump pre [2023-06-12T18:07:55.016Z] 2023-06-12 18:07:54,938 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-06-12T18:07:55.016Z] 2023-06-12 18:07:54,939 [bump_version] DEBUG bumping version:3.1.0-dev.1 on axis:pre with prefix:dev [2023-06-12T18:07:55.016Z] 2023-06-12 18:07:54,939 [bump_version] DEBUG bumped version:3.1.0-dev.2 [2023-06-12T18:07:55.016Z] 2023-06-12 18:07:54,939 [write_version] DEBUG write version:3.1.0-dev.2 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-06-12T18:07:55.016Z] 2023-06-12 18:07:54,939 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-06-12T18:07:55.016Z] 2023-06-12 18:07:54,939 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-06-12T18:07:55.016Z] 2023-06-12 18:07:54,941 [execute] INFO git cat-file --batch-check [2023-06-12T18:07:55.016Z] 2023-06-12 18:07:54,941 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-06-12T18:07:55.016Z] 2023-06-12 18:07:54,947 [execute] INFO git cat-file --batch [2023-06-12T18:07:55.016Z] 2023-06-12 18:07:54,947 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-06-12T18:07:55.016Z] 2023-06-12 18:07:54,954 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-06-12T18:07:55.016Z] 3.1.0-dev.2 [Pipeline] } [2023-06-12T18:07:55.037Z] $ docker exec --env ******** --env ******** e83dbde0982a39b02f60ee3fff99eb4401639a56b529fb4e2183e6a1301387a6 ssh-agent -k [2023-06-12T18:07:55.133Z] unset SSH_AUTH_SOCK; [2023-06-12T18:07:55.133Z] unset SSH_AGENT_PID; [2023-06-12T18:07:55.133Z] echo Agent pid 38 killed; [2023-06-12T18:07:55.139Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-12T18:07:55.438Z] + git semver [Pipeline] } [2023-06-12T18:07:55.715Z] $ docker stop --time=1 e83dbde0982a39b02f60ee3fff99eb4401639a56b529fb4e2183e6a1301387a6 [2023-06-12T18:07:56.968Z] $ docker rm -f --volumes e83dbde0982a39b02f60ee3fff99eb4401639a56b529fb4e2183e6a1301387a6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T18:07:57.302Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-12T18:07:57.302Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:07:57.603Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T18:07:57.603Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:07:57.674Z] prd-ubuntu20.04-docker-8c-8g-18469 does not seem to be running inside a container [2023-06-12T18:07:57.708Z] $ 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 [2023-06-12T18:07:58.056Z] $ docker top 3226fa444a0f4a020d99c72c820af1796a6ed601e6d8d5c8487bf7d42fdb7011 -eo pid,comm [2023-06-12T18:07:58.100Z] 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). [2023-06-12T18:07:58.100Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-12T18:07:58.127Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T18:07:58.127Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T18:07:58.245Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T18:07:58.251Z] $ docker exec 3226fa444a0f4a020d99c72c820af1796a6ed601e6d8d5c8487bf7d42fdb7011 ssh-agent [2023-06-12T18:07:58.352Z] SSH_AUTH_SOCK=/tmp/ssh-mo8K8euVgikT/agent.31 [2023-06-12T18:07:58.352Z] SSH_AGENT_PID=37 [2023-06-12T18:07:58.356Z] Running ssh-add (command line suppressed) [2023-06-12T18:07:58.464Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14864746268701875334.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14864746268701875334.key) [2023-06-12T18:07:58.476Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T18:07:58.761Z] + git semver push [2023-06-12T18:07:59.020Z] 2023-06-12 18:07:58,945 [run_push] DEBUG push [2023-06-12T18:07:59.020Z] 2023-06-12 18:07:58,946 [execute] INFO git cat-file --batch-check [2023-06-12T18:07:59.020Z] 2023-06-12 18:07:58,946 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-06-12T18:07:59.020Z] 2023-06-12 18:07:58,950 [execute] INFO git rev-list f5d7c64cf66acb99ee6a445c07b55b7e08134e38 -- [2023-06-12T18:07:59.020Z] 2023-06-12 18:07:58,951 [execute] DEBUG Popen(['git', 'rev-list', 'f5d7c64cf66acb99ee6a445c07b55b7e08134e38', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-06-12T18:07:59.020Z] 2023-06-12 18:07:58,958 [execute] INFO git fetch -v origin [2023-06-12T18:07:59.020Z] 2023-06-12 18:07:58,959 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-06-12T18:07:59.588Z] 2023-06-12 18:07:59,436 [run_push] DEBUG no remote changes detected [2023-06-12T18:07:59.588Z] 2023-06-12 18:07:59,437 [execute] INFO git push origin semver [2023-06-12T18:07:59.588Z] 2023-06-12 18:07:59,437 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-06-12T18:08:00.527Z] 2023-06-12 18:08:00,218 [run_push] DEBUG push all version tags [2023-06-12T18:08:00.527Z] 2023-06-12 18:08:00,219 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-06-12T18:08:00.527Z] 2023-06-12 18:08:00,219 [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) [2023-06-12T18:08:01.096Z] 2023-06-12 18:08:00,946 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-06-12T18:08:01.096Z] 3.1.0-dev.2 [Pipeline] } [2023-06-12T18:08:01.109Z] $ docker exec --env ******** --env ******** 3226fa444a0f4a020d99c72c820af1796a6ed601e6d8d5c8487bf7d42fdb7011 ssh-agent -k [2023-06-12T18:08:01.213Z] unset SSH_AUTH_SOCK; [2023-06-12T18:08:01.213Z] unset SSH_AGENT_PID; [2023-06-12T18:08:01.213Z] echo Agent pid 37 killed; [2023-06-12T18:08:01.224Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-12T18:08:01.529Z] + git semver [Pipeline] } [2023-06-12T18:08:01.802Z] $ docker stop --time=1 3226fa444a0f4a020d99c72c820af1796a6ed601e6d8d5c8487bf7d42fdb7011 [2023-06-12T18:08:03.049Z] $ docker rm -f --volumes 3226fa444a0f4a020d99c72c820af1796a6ed601e6d8d5c8487bf7d42fdb7011 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-06-12T18:08:03.585Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-06-12T18:08:03.585Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-06-12T18:08:03.585Z] total 16 [2023-06-12T18:08:03.585Z] drwxr-xr-x 3 root root 4096 Jun 12 17:55 . [2023-06-12T18:08:03.585Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 12 18:07 .. [2023-06-12T18:08:03.585Z] drwxr-xr-x 2 root root 4096 Jun 12 17:55 cost [2023-06-12T18:08:03.585Z] -rw-r--r-- 1 root root 88 Jun 12 17:55 cost.csv [2023-06-12T18:08:03.585Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-06-12T18:08:03.585Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-06-12T18:08:03.585Z] total 16 [2023-06-12T18:08:03.585Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 17:55 . [2023-06-12T18:08:03.585Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 12 18:07 .. [2023-06-12T18:08:03.585Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 12 17:55 cost [2023-06-12T18:08:03.585Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 12 17:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:08:03.877Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:08:04.739Z] ---> package-listing.sh [2023-06-12T18:08:04.739Z] ++ facter osfamily [2023-06-12T18:08:04.740Z] ++ tr '[:upper:]' '[:lower:]' [2023-06-12T18:08:04.999Z] + OS_FAMILY=debian [2023-06-12T18:08:04.999Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-06-12T18:08:04.999Z] + START_PACKAGES=/tmp/packages_start.txt [2023-06-12T18:08:04.999Z] + END_PACKAGES=/tmp/packages_end.txt [2023-06-12T18:08:04.999Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-06-12T18:08:04.999Z] + PACKAGES=/tmp/packages_start.txt [2023-06-12T18:08:04.999Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-06-12T18:08:04.999Z] + PACKAGES=/tmp/packages_end.txt [2023-06-12T18:08:04.999Z] + case "${OS_FAMILY}" in [2023-06-12T18:08:04.999Z] + dpkg -l [2023-06-12T18:08:04.999Z] + grep '^ii' [2023-06-12T18:08:04.999Z] + '[' -f /tmp/packages_start.txt ']' [2023-06-12T18:08:04.999Z] + '[' -f /tmp/packages_end.txt ']' [2023-06-12T18:08:04.999Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-06-12T18:08:04.999Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-06-12T18:08:04.999Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-06-12T18:08:04.999Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2023-06-12T18:08:05.011Z] 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 [2023-06-12T18:08:05.290Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:08:05.848Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T18:08:05.848Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:08:05.919Z] prd-ubuntu20.04-docker-8c-8g-18469 does not seem to be running inside a container [2023-06-12T18:08:05.951Z] $ 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 [2023-06-12T18:08:06.196Z] $ docker top 75399affee57321cb3a86f22037b99f01783ebd031d7b84c58b2d7185318f416 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T18:08:06.608Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-06-12T18:08:06.927Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-06-12T18:08:07.223Z] + ls /var/log/sa-host [2023-06-12T18:08:07.223Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T18:08:07.293Z] provisioning config files... [2023-06-12T18:08:07.301Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11601828340209299078tmp [Pipeline] { [Pipeline] echo [2023-06-12T18:08:07.316Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:08:07.598Z] ---> create-netrc.sh [Pipeline] } [2023-06-12T18:08:07.606Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:08:07.921Z] ---> python-tools-install.sh [Pipeline] echo [2023-06-12T18:08:07.931Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:08:08.214Z] ---> sudo-logs.sh [2023-06-12T18:08:08.214Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-06-12T18:08:08.246Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:08:08.533Z] ---> job-cost.sh [2023-06-12T18:08:08.533Z] lf-activate-venv: SKIPPING [2023-06-12T18:08:08.533Z] DEBUG: total: 0.2199999988079071 [2023-06-12T18:08:08.533Z] INFO: Retrieving Stack Cost... [2023-06-12T18:08:08.793Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-12T18:08:09.362Z] INFO: Archiving Costs [Pipeline] echo [2023-06-12T18:08:09.375Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:08:09.660Z] ---> logs-deploy.sh [2023-06-12T18:08:09.660Z] lf-activate-venv: SKIPPING [2023-06-12T18:08:09.660Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/114 [2023-06-12T18:08:09.660Z] INFO: archiving workspace using pattern(s): [2023-06-12T18:08:10.602Z] Archives upload complete. [2023-06-12T18:08:10.602Z] INFO: archiving logs to Nexus