Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 55987cd457f5f1a930ff560b78c1acf5044fc241 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-ssh6748054515792271903.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7383431199619036208.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/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-ssh11665979767616705308.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17039710304357556527.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-ssh11880594377159733636.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 ‘prd-ubuntu20.04-docker-8c-8g-8405’ Running on prd-ubuntu20.04-docker-8c-8g-8408 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 55987cd457f5f1a930ff560b78c1acf5044fc241 (main) Commit message: "Merge pull request #452 from weichou1229/interface-change" > 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 55987cd457f5f1a930ff560b78c1acf5044fc241 # timeout=10 > git rev-list --no-walk 7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-13T07:04:35.809Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-13T07:04:35.873Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-13T07:04:35.888Z] ========================================================= [2023-04-13T07:04:35.888Z] EdgeX Global Pipelines Version Info [2023-04-13T07:04:35.888Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:04:36.599Z] ------------------- [2023-04-13T07:04:36.599Z] stable info: [2023-04-13T07:04:36.599Z] ------------------- [2023-04-13T07:04:36.599Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-13T07:04:36.599Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-13T07:04:36.599Z] Message: update stable to v1.0.248 [2023-04-13T07:04:37.169Z] ------------------- [2023-04-13T07:04:37.169Z] experimental info: [2023-04-13T07:04:37.169Z] ------------------- [2023-04-13T07:04:37.169Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-13T07:04:37.169Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-13T07:04:37.169Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-13T07:04:37.331Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-04-13T07:04:37.341Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-04-13T07:04:37.352Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-13T07:04:37.364Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-13T07:04:37.377Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-13T07:04:37.389Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-13T07:04:37.400Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-13T07:04:37.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-13T07:04:37.425Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-13T07:04:37.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-13T07:04:37.450Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-13T07:04:37.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-04-13T07:04:37.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-13T07:04:37.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-13T07:04:37.496Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-13T07:04:37.513Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-13T07:04:37.528Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-13T07:04:37.542Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-13T07:04:37.554Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-13T07:04:37.565Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-13T07:04:37.576Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-13T07:04:37.589Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-13T07:04:37.600Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-13T07:04:37.613Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-13T07:04:37.626Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-13T07:04:37.638Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-13T07:04:37.649Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-13T07:04:37.664Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-04-13T07:04:37.678Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-04-13T07:04:37.689Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-04-13T07:04:37.700Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 55987cd457f5f1a930ff560b78c1acf5044fc241 [Pipeline] echo [2023-04-13T07:04:37.712Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 55987cd [Pipeline] echo [2023-04-13T07:04:37.723Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T07:04:37.770Z] provisioning config files... [2023-04-13T07:04:37.783Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14900998717600046835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:04:38.095Z] ---> docker-login.sh [2023-04-13T07:04:38.095Z] nexus3.edgexfoundry.org:10001 [2023-04-13T07:04:38.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:04:38.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:04:38.356Z] Configure a credential helper to remove this warning. See [2023-04-13T07:04:38.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:04:38.356Z] [2023-04-13T07:04:38.356Z] Login Succeeded [2023-04-13T07:04:38.356Z] nexus3.edgexfoundry.org:10002 [2023-04-13T07:04:38.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:04:38.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:04:38.616Z] Configure a credential helper to remove this warning. See [2023-04-13T07:04:38.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:04:38.616Z] [2023-04-13T07:04:38.616Z] Login Succeeded [2023-04-13T07:04:38.616Z] nexus3.edgexfoundry.org:10003 [2023-04-13T07:04:38.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:04:38.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:04:38.616Z] Configure a credential helper to remove this warning. See [2023-04-13T07:04:38.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:04:38.616Z] [2023-04-13T07:04:38.616Z] Login Succeeded [2023-04-13T07:04:38.616Z] nexus3.edgexfoundry.org:10004 [2023-04-13T07:04:38.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:04:38.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:04:38.616Z] Configure a credential helper to remove this warning. See [2023-04-13T07:04:38.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:04:38.616Z] [2023-04-13T07:04:38.616Z] Login Succeeded [2023-04-13T07:04:38.616Z] docker.io [2023-04-13T07:04:38.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:04:39.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:04:39.137Z] Configure a credential helper to remove this warning. See [2023-04-13T07:04:39.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:04:39.137Z] [2023-04-13T07:04:39.137Z] Login Succeeded [2023-04-13T07:04:39.137Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T07:04:39.145Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-13T07:04:39.509Z] + git rev-list -1 --merges 55987cd457f5f1a930ff560b78c1acf5044fc241~1..55987cd457f5f1a930ff560b78c1acf5044fc241 [Pipeline] echo [2023-04-13T07:04:39.555Z] -----------> git rev-list -1 --merges 55987cd457f5f1a930ff560b78c1acf5044fc241~1..55987cd457f5f1a930ff560b78c1acf5044fc241 55987cd457f5f1a930ff560b78c1acf5044fc241 [2023-04-13T07:04:39.555Z] 55987cd457f5f1a930ff560b78c1acf5044fc241 [false] [Pipeline] sh [2023-04-13T07:04:39.841Z] + git log --format=format:%s -1 55987cd457f5f1a930ff560b78c1acf5044fc241 [Pipeline] echo [2023-04-13T07:04:39.858Z] ========================================================= [2023-04-13T07:04:39.858Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-13T07:04:39.858Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-13T07:04:40.196Z] + git log --format=format:%s -1 55987cd457f5f1a930ff560b78c1acf5044fc241 [Pipeline] echo [2023-04-13T07:04:40.209Z] [semverPrep] GIT_COMMIT: 55987cd457f5f1a930ff560b78c1acf5044fc241, Commit Message: Merge pull request #452 from weichou1229/interface-change [Pipeline] echo [2023-04-13T07:04:40.218Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-13T07:04:40.564Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-13T07:04:40.564Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-13T07:04:40.564Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-13T07:04:40.564Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-13T07:04:40.564Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-13T07:04:40.564Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-13T07:04:40.564Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:04:40.918Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T07:04:40.918Z] [2023-04-13T07:04:40.918Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:04:41.222Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T07:04:41.222Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-13T07:04:41.222Z] b85a868b505f: Pulling fs layer [2023-04-13T07:04:41.222Z] e2be974225ed: Pulling fs layer [2023-04-13T07:04:41.222Z] 339a4e72a1f5: Pulling fs layer [2023-04-13T07:04:41.222Z] 988bab9f4d93: Pulling fs layer [2023-04-13T07:04:41.222Z] 1469e6f7b9e6: Pulling fs layer [2023-04-13T07:04:41.222Z] eaf3925da568: Pulling fs layer [2023-04-13T07:04:41.222Z] bab4dde63d76: Pulling fs layer [2023-04-13T07:04:41.222Z] bde34c3a00c8: Pulling fs layer [2023-04-13T07:04:41.222Z] b352a97aabf1: Pulling fs layer [2023-04-13T07:04:41.222Z] 4872d77fe225: Pulling fs layer [2023-04-13T07:04:41.222Z] 5851b861e8e6: Pulling fs layer [2023-04-13T07:04:41.222Z] bab4dde63d76: Waiting [2023-04-13T07:04:41.222Z] bde34c3a00c8: Waiting [2023-04-13T07:04:41.222Z] b352a97aabf1: Waiting [2023-04-13T07:04:41.222Z] 4872d77fe225: Waiting [2023-04-13T07:04:41.222Z] 5851b861e8e6: Waiting [2023-04-13T07:04:41.222Z] eaf3925da568: Waiting [2023-04-13T07:04:41.222Z] e2be974225ed: Verifying Checksum [2023-04-13T07:04:41.222Z] e2be974225ed: Download complete [2023-04-13T07:04:41.222Z] 988bab9f4d93: Download complete [2023-04-13T07:04:41.222Z] 1469e6f7b9e6: Verifying Checksum [2023-04-13T07:04:41.222Z] 1469e6f7b9e6: Download complete [2023-04-13T07:04:41.222Z] 339a4e72a1f5: Verifying Checksum [2023-04-13T07:04:41.222Z] 339a4e72a1f5: Download complete [2023-04-13T07:04:41.222Z] eaf3925da568: Verifying Checksum [2023-04-13T07:04:41.222Z] eaf3925da568: Download complete [2023-04-13T07:04:41.482Z] bde34c3a00c8: Verifying Checksum [2023-04-13T07:04:41.482Z] bde34c3a00c8: Download complete [2023-04-13T07:04:41.482Z] b352a97aabf1: Verifying Checksum [2023-04-13T07:04:41.482Z] b352a97aabf1: Download complete [2023-04-13T07:04:41.482Z] 4872d77fe225: Download complete [2023-04-13T07:04:41.482Z] 5851b861e8e6: Verifying Checksum [2023-04-13T07:04:41.482Z] 5851b861e8e6: Download complete [2023-04-13T07:04:41.482Z] b85a868b505f: Verifying Checksum [2023-04-13T07:04:41.482Z] b85a868b505f: Download complete [2023-04-13T07:04:41.741Z] bab4dde63d76: Verifying Checksum [2023-04-13T07:04:41.741Z] bab4dde63d76: Download complete [2023-04-13T07:04:42.687Z] b85a868b505f: Pull complete [2023-04-13T07:04:42.687Z] e2be974225ed: Pull complete [2023-04-13T07:04:43.262Z] 339a4e72a1f5: Pull complete [2023-04-13T07:04:43.262Z] 988bab9f4d93: Pull complete [2023-04-13T07:04:43.522Z] 1469e6f7b9e6: Pull complete [2023-04-13T07:04:43.783Z] eaf3925da568: Pull complete [2023-04-13T07:04:45.686Z] bab4dde63d76: Pull complete [2023-04-13T07:04:45.686Z] bde34c3a00c8: Pull complete [2023-04-13T07:04:45.686Z] b352a97aabf1: Pull complete [2023-04-13T07:04:45.686Z] 4872d77fe225: Pull complete [2023-04-13T07:04:45.686Z] 5851b861e8e6: Pull complete [2023-04-13T07:04:45.686Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-13T07:04:45.686Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T07:04:45.686Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:04:45.775Z] prd-ubuntu20.04-docker-8c-8g-8408 does not seem to be running inside a container [2023-04-13T07:04:45.785Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-13T07:04:47.071Z] $ docker top f443a28344847d2877eae8e8097105909daa1e9602e6d41bb1a329e879450ec4 -eo pid,comm [2023-04-13T07:04:47.139Z] 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-04-13T07:04:47.139Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-13T07:04:47.178Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T07:04:47.178Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T07:04:47.296Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T07:04:47.280Z] $ docker exec f443a28344847d2877eae8e8097105909daa1e9602e6d41bb1a329e879450ec4 ssh-agent [2023-04-13T07:04:47.402Z] SSH_AUTH_SOCK=/tmp/ssh-0ZZ7sikGPNQg/agent.32 [2023-04-13T07:04:47.402Z] SSH_AGENT_PID=38 [2023-04-13T07:04:47.408Z] Running ssh-add (command line suppressed) [2023-04-13T07:04:47.491Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15581773102163550045.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15581773102163550045.key) [2023-04-13T07:04:47.525Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T07:04:47.812Z] + git tag --points-at HEAD [Pipeline] } [2023-04-13T07:04:47.811Z] $ docker exec --env ******** --env ******** f443a28344847d2877eae8e8097105909daa1e9602e6d41bb1a329e879450ec4 ssh-agent -k [2023-04-13T07:04:47.905Z] unset SSH_AUTH_SOCK; [2023-04-13T07:04:47.906Z] unset SSH_AGENT_PID; [2023-04-13T07:04:47.906Z] echo Agent pid 38 killed; [2023-04-13T07:04:47.934Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-13T07:04:47.955Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T07:04:47.955Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T07:04:48.060Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T07:04:48.044Z] $ docker exec f443a28344847d2877eae8e8097105909daa1e9602e6d41bb1a329e879450ec4 ssh-agent [2023-04-13T07:04:48.181Z] SSH_AUTH_SOCK=/tmp/ssh-wcNQx5mShddH/agent.71 [2023-04-13T07:04:48.181Z] SSH_AGENT_PID=77 [2023-04-13T07:04:48.186Z] Running ssh-add (command line suppressed) [2023-04-13T07:04:48.268Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5061059400281503959.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5061059400281503959.key) [2023-04-13T07:04:48.300Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T07:04:48.590Z] + git semver init [2023-04-13T07:04:48.851Z] 2023-04-13 07:04:48,768 [run_init] DEBUG init version:0.0.0 force:False [2023-04-13T07:04:48.851Z] 2023-04-13 07:04:48,769 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-04-13T07:04:48.851Z] 2023-04-13 07:04:48,770 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-04-13T07:04:48.851Z] 2023-04-13 07:04:48,770 [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-04-13T07:04:49.788Z] 2023-04-13 07:04:49,533 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-04-13T07:04:49.788Z] 2023-04-13 07:04:49,534 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-04-13T07:04:49.788Z] 2023-04-13 07:04:49,534 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-13T07:04:49.788Z] 2023-04-13 07:04:49,534 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-13T07:04:49.788Z] 3.0.0-dev.26 [Pipeline] } [2023-04-13T07:04:49.781Z] $ docker exec --env ******** --env ******** f443a28344847d2877eae8e8097105909daa1e9602e6d41bb1a329e879450ec4 ssh-agent -k [2023-04-13T07:04:49.875Z] unset SSH_AUTH_SOCK; [2023-04-13T07:04:49.877Z] unset SSH_AGENT_PID; [2023-04-13T07:04:49.877Z] echo Agent pid 77 killed; [2023-04-13T07:04:49.905Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-13T07:04:50.212Z] + git semver [Pipeline] } [2023-04-13T07:04:50.469Z] $ docker stop --time=1 f443a28344847d2877eae8e8097105909daa1e9602e6d41bb1a329e879450ec4 [2023-04-13T07:04:51.818Z] $ docker rm -f --volumes f443a28344847d2877eae8e8097105909daa1e9602e6d41bb1a329e879450ec4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T07:04:52.168Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-13T07:04:52.363Z] Stashed 1 file(s) [Pipeline] echo [2023-04-13T07:04:52.365Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.26 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T07:04:52.519Z] provisioning config files... [2023-04-13T07:04:52.528Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7068672547762901107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:04:52.818Z] ---> docker-login.sh [2023-04-13T07:04:52.818Z] nexus3.edgexfoundry.org:10001 [2023-04-13T07:04:52.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:04:52.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:04:52.818Z] Configure a credential helper to remove this warning. See [2023-04-13T07:04:52.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:04:52.818Z] [2023-04-13T07:04:52.818Z] Login Succeeded [2023-04-13T07:04:52.818Z] nexus3.edgexfoundry.org:10002 [2023-04-13T07:04:52.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:04:52.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:04:52.818Z] Configure a credential helper to remove this warning. See [2023-04-13T07:04:52.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:04:52.818Z] [2023-04-13T07:04:52.818Z] Login Succeeded [2023-04-13T07:04:52.818Z] nexus3.edgexfoundry.org:10003 [2023-04-13T07:04:53.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:04:53.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:04:53.083Z] Configure a credential helper to remove this warning. See [2023-04-13T07:04:53.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:04:53.083Z] [2023-04-13T07:04:53.083Z] Login Succeeded [2023-04-13T07:04:53.083Z] nexus3.edgexfoundry.org:10004 [2023-04-13T07:04:53.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:04:53.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:04:53.083Z] Configure a credential helper to remove this warning. See [2023-04-13T07:04:53.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:04:53.083Z] [2023-04-13T07:04:53.083Z] Login Succeeded [2023-04-13T07:04:53.083Z] docker.io [2023-04-13T07:04:53.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:04:53.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:04:53.343Z] Configure a credential helper to remove this warning. See [2023-04-13T07:04:53.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:04:53.343Z] [2023-04-13T07:04:53.343Z] Login Succeeded [2023-04-13T07:04:53.343Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T07:04:53.350Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-13T07:04:53.406Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T07:04:53.416Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T07:04:53.422Z] ========================================================= [2023-04-13T07:04:53.422Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-13T07:04:53.422Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:04:53.722Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-13T07:04:53.722Z] Sending build context to Docker daemon 6.417MB [2023-04-13T07:04:53.722Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T07:04:53.722Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-13T07:04:53.722Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-13T07:04:53.722Z] 63b65145d645: Pulling fs layer [2023-04-13T07:04:53.722Z] a2d21d5440eb: Pulling fs layer [2023-04-13T07:04:53.722Z] 935e6c44a52c: Pulling fs layer [2023-04-13T07:04:53.722Z] 94cc34f8dd06: Pulling fs layer [2023-04-13T07:04:53.722Z] 30dea6a524f1: Pulling fs layer [2023-04-13T07:04:53.722Z] a2aff8979fd8: Pulling fs layer [2023-04-13T07:04:53.722Z] 6808be2612f2: Pulling fs layer [2023-04-13T07:04:53.722Z] f25807f1079a: Pulling fs layer [2023-04-13T07:04:53.722Z] 94cc34f8dd06: Waiting [2023-04-13T07:04:53.722Z] 30dea6a524f1: Waiting [2023-04-13T07:04:53.722Z] 6808be2612f2: Waiting [2023-04-13T07:04:53.722Z] a2aff8979fd8: Waiting [2023-04-13T07:04:53.722Z] f25807f1079a: Waiting [2023-04-13T07:04:53.722Z] a2d21d5440eb: Download complete [2023-04-13T07:04:53.722Z] 94cc34f8dd06: Verifying Checksum [2023-04-13T07:04:53.722Z] 94cc34f8dd06: Download complete [2023-04-13T07:04:53.722Z] 30dea6a524f1: Download complete [2023-04-13T07:04:53.722Z] 63b65145d645: Verifying Checksum [2023-04-13T07:04:53.722Z] 63b65145d645: Download complete [2023-04-13T07:04:53.986Z] a2aff8979fd8: Verifying Checksum [2023-04-13T07:04:53.986Z] a2aff8979fd8: Download complete [2023-04-13T07:04:53.986Z] 63b65145d645: Pull complete [2023-04-13T07:04:54.247Z] a2d21d5440eb: Pull complete [2023-04-13T07:04:54.247Z] f25807f1079a: Verifying Checksum [2023-04-13T07:04:54.247Z] f25807f1079a: Download complete [2023-04-13T07:04:54.505Z] 935e6c44a52c: Verifying Checksum [2023-04-13T07:04:54.505Z] 935e6c44a52c: Download complete [2023-04-13T07:04:54.505Z] 6808be2612f2: Verifying Checksum [2023-04-13T07:04:54.505Z] 6808be2612f2: Download complete [2023-04-13T07:04:57.787Z] 935e6c44a52c: Pull complete [2023-04-13T07:04:57.787Z] 94cc34f8dd06: Pull complete [2023-04-13T07:04:57.787Z] 30dea6a524f1: Pull complete [2023-04-13T07:04:57.787Z] a2aff8979fd8: Pull complete [2023-04-13T07:05:00.315Z] 6808be2612f2: Pull complete [2023-04-13T07:05:00.575Z] f25807f1079a: Pull complete [2023-04-13T07:05:00.575Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-13T07:05:00.575Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-13T07:05:00.575Z] ---> 3b553350e43f [2023-04-13T07:05:00.575Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-04-13T07:05:02.482Z] ---> Running in 085f68d5d779 [2023-04-13T07:05:02.482Z] Removing intermediate container 085f68d5d779 [2023-04-13T07:05:02.482Z] ---> 97682293aace [2023-04-13T07:05:02.482Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T07:05:02.482Z] ---> Running in 0d922a105fc1 [2023-04-13T07:05:02.482Z] Removing intermediate container 0d922a105fc1 [2023-04-13T07:05:02.482Z] ---> 2137c0e4616b [2023-04-13T07:05:02.482Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-04-13T07:05:02.482Z] ---> Running in 75d9829d15af [2023-04-13T07:05:02.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-13T07:05:02.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-13T07:05:03.000Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-04-13T07:05:03.000Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-04-13T07:05:03.000Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-04-13T07:05:03.000Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-04-13T07:05:03.000Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-04-13T07:05:03.000Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-04-13T07:05:03.000Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-04-13T07:05:03.000Z] (8/8) Installing openssh (9.1_p1-r2) [2023-04-13T07:05:03.000Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T07:05:03.000Z] OK: 270 MiB in 61 packages [2023-04-13T07:05:03.565Z] Removing intermediate container 75d9829d15af [2023-04-13T07:05:03.565Z] ---> 5a11f4c06fb6 [2023-04-13T07:05:03.565Z] Step 6/10 : WORKDIR /device-modbus-go [2023-04-13T07:05:03.565Z] ---> Running in 6cc6cd2fae36 [2023-04-13T07:05:03.565Z] Removing intermediate container 6cc6cd2fae36 [2023-04-13T07:05:03.565Z] ---> b08b455170bc [2023-04-13T07:05:03.565Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-13T07:05:03.823Z] ---> fb41946d8a5d [2023-04-13T07:05:03.823Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T07:05:03.823Z] ---> Running in 418fba1778db [2023-04-13T07:05:07.473Z] Still waiting to schedule task [2023-04-13T07:05:07.473Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8406’ [2023-04-13T07:05:25.780Z] Removing intermediate container 418fba1778db [2023-04-13T07:05:25.780Z] ---> 29c5972d93a7 [2023-04-13T07:05:25.780Z] Step 9/10 : COPY . . [2023-04-13T07:05:25.780Z] ---> 89969afcc676 [2023-04-13T07:05:25.780Z] Step 10/10 : RUN ${MAKE} [2023-04-13T07:05:25.780Z] ---> Running in 4819e407b121 [2023-04-13T07:05:25.780Z] noop [2023-04-13T07:05:25.780Z] Removing intermediate container 4819e407b121 [2023-04-13T07:05:25.780Z] ---> 3c2a9cb3afb1 [2023-04-13T07:05:25.780Z] Successfully built 3c2a9cb3afb1 [2023-04-13T07:05:25.780Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:05:26.093Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-13T07:05:26.094Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:05:26.162Z] prd-ubuntu20.04-docker-8c-8g-8408 does not seem to be running inside a container [2023-04-13T07:05:26.190Z] $ 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 ******** ci-base-image-x86_64 cat [2023-04-13T07:05:26.549Z] $ docker top a85ab6619937cc0a98bf98da4b6300b44705cdb3bc0817bc70f3148fffdf02a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T07:05:26.882Z] + go version [2023-04-13T07:05:26.882Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-13T07:05:26.893Z] $ docker stop --time=1 a85ab6619937cc0a98bf98da4b6300b44705cdb3bc0817bc70f3148fffdf02a0 [2023-04-13T07:05:28.171Z] $ docker rm -f --volumes a85ab6619937cc0a98bf98da4b6300b44705cdb3bc0817bc70f3148fffdf02a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:05:28.570Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-13T07:05:28.570Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:05:28.636Z] prd-ubuntu20.04-docker-8c-8g-8408 does not seem to be running inside a container [2023-04-13T07:05:28.661Z] $ 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 ******** ci-base-image-x86_64 cat [2023-04-13T07:05:28.990Z] $ docker top c5882b2b5a6969e285f8202c861f9da36390803013451d3fba9bb68b3e141f3d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T07:05:29.334Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-04-13T07:05:29.628Z] + make test [2023-04-13T07:05:29.628Z] go test ./... -coverprofile=coverage.out [2023-04-13T07:05:34.892Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-04-13T07:05:44.871Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-04-13T07:05:44.871Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 47.5% of statements [2023-04-13T07:05:49.045Z] go vet ./... [2023-04-13T07:05:52.327Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-13T07:05:52.327Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-13T07:05:52.327Z] ./bin/test-attribution-txt.sh [2023-04-13T07:05:52.327Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-13T07:05:52.338Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-13T07:05:52.353Z] $ docker stop --time=1 c5882b2b5a6969e285f8202c861f9da36390803013451d3fba9bb68b3e141f3d [2023-04-13T07:05:54.726Z] $ docker rm -f --volumes c5882b2b5a6969e285f8202c861f9da36390803013451d3fba9bb68b3e141f3d [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T07:05:55.172Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-13T07:05:55.225Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-13T07:05:55.640Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-13T07:05:55.926Z] + ls -al . [2023-04-13T07:05:55.926Z] total 180 [2023-04-13T07:05:55.926Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 07:05 . [2023-04-13T07:05:55.926Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:04 .. [2023-04-13T07:05:55.926Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 07:04 .dockerignore [2023-04-13T07:05:55.926Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 07:04 .git [2023-04-13T07:05:55.926Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:04 .github [2023-04-13T07:05:55.926Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 13 07:04 .gitignore [2023-04-13T07:05:55.926Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 07:04 .golangci.yml [2023-04-13T07:05:55.926Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 07:04 .semver [2023-04-13T07:05:55.926Z] -rw-rw-r-- 1 jenkins jenkins 10004 Apr 13 07:04 Attribution.txt [2023-04-13T07:05:55.926Z] -rw-rw-r-- 1 jenkins jenkins 11576 Apr 13 07:04 CHANGELOG.md [2023-04-13T07:05:55.926Z] -rw-rw-r-- 1 jenkins jenkins 1365 Apr 13 07:04 Dockerfile [2023-04-13T07:05:55.926Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 07:04 GOVERNANCE.md [2023-04-13T07:05:55.926Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 07:04 Jenkinsfile [2023-04-13T07:05:55.926Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 07:04 LICENSE [2023-04-13T07:05:55.926Z] -rw-rw-r-- 1 jenkins jenkins 1705 Apr 13 07:04 Makefile [2023-04-13T07:05:55.926Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 13 07:04 OWNERS.md [2023-04-13T07:05:55.926Z] -rw-rw-r-- 1 jenkins jenkins 4045 Apr 13 07:04 README.md [2023-04-13T07:05:55.926Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 07:04 VERSION [2023-04-13T07:05:55.926Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:04 bin [2023-04-13T07:05:55.926Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:04 cmd [2023-04-13T07:05:55.926Z] -rw-r--r-- 1 jenkins jenkins 24076 Apr 13 07:05 coverage.out [2023-04-13T07:05:55.926Z] -rw-rw-r-- 1 jenkins jenkins 3453 Apr 13 07:04 go.mod [2023-04-13T07:05:55.926Z] -rw-rw-r-- 1 jenkins jenkins 31895 Apr 13 07:04 go.sum [2023-04-13T07:05:55.926Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:04 internal [2023-04-13T07:05:55.926Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:04 simulator [2023-04-13T07:05:55.926Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:04 snap [2023-04-13T07:05:55.926Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 13 07:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:05:56.227Z] + 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=55987cd457f5f1a930ff560b78c1acf5044fc241 --label arch=amd64 --label version=3.0.0-dev.26 . [2023-04-13T07:05:56.227Z] Sending build context to Docker daemon 6.442MB [2023-04-13T07:05:56.227Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T07:05:56.227Z] Step 2/22 : FROM ${BASE} AS builder [2023-04-13T07:05:56.227Z] ---> 3c2a9cb3afb1 [2023-04-13T07:05:56.227Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-04-13T07:05:56.227Z] ---> Running in 796fb2492be2 [2023-04-13T07:05:56.485Z] Removing intermediate container 796fb2492be2 [2023-04-13T07:05:56.485Z] ---> 97160fa84aa7 [2023-04-13T07:05:56.485Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T07:05:56.485Z] ---> Running in 90151f2f8530 [2023-04-13T07:05:56.485Z] Removing intermediate container 90151f2f8530 [2023-04-13T07:05:56.485Z] ---> 5fb51ae3b0a0 [2023-04-13T07:05:56.486Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-04-13T07:05:56.486Z] ---> Running in 14971cffee09 [2023-04-13T07:05:56.743Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-13T07:05:57.001Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-13T07:05:57.260Z] OK: 270 MiB in 61 packages [2023-04-13T07:05:57.518Z] Removing intermediate container 14971cffee09 [2023-04-13T07:05:57.518Z] ---> 3c7d6086ae89 [2023-04-13T07:05:57.518Z] Step 6/22 : WORKDIR /device-modbus-go [2023-04-13T07:05:57.518Z] ---> Running in 371096e3a9bd [2023-04-13T07:05:57.776Z] Removing intermediate container 371096e3a9bd [2023-04-13T07:05:57.776Z] ---> 4237e7c927d8 [2023-04-13T07:05:57.776Z] Step 7/22 : COPY go.mod vendor* ./ [2023-04-13T07:05:57.776Z] ---> 1b2541ee6fc5 [2023-04-13T07:05:57.776Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T07:05:57.776Z] ---> Running in 30a4b42bfc06 [2023-04-13T07:05:58.714Z] Removing intermediate container 30a4b42bfc06 [2023-04-13T07:05:58.714Z] ---> 588c0f6c2910 [2023-04-13T07:05:58.714Z] Step 9/22 : COPY . . [2023-04-13T07:05:58.974Z] ---> 3008694cc4ba [2023-04-13T07:05:58.974Z] Step 10/22 : RUN ${MAKE} [2023-04-13T07:05:58.974Z] ---> Running in a8ba183b0a39 [2023-04-13T07:05:59.232Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.26" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-04-13T07:06:17.317Z] Removing intermediate container a8ba183b0a39 [2023-04-13T07:06:17.317Z] ---> 6871b1976f26 [2023-04-13T07:06:17.317Z] Step 11/22 : FROM alpine:3.17 [2023-04-13T07:06:17.317Z] 3.17: Pulling from library/alpine [2023-04-13T07:06:17.317Z] f56be85fc22e: Pulling fs layer [2023-04-13T07:06:17.317Z] f56be85fc22e: Verifying Checksum [2023-04-13T07:06:17.317Z] f56be85fc22e: Download complete [2023-04-13T07:06:17.317Z] f56be85fc22e: Pull complete [2023-04-13T07:06:17.317Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-13T07:06:17.317Z] Status: Downloaded newer image for alpine:3.17 [2023-04-13T07:06:17.317Z] ---> 9ed4aefc74f6 [2023-04-13T07:06:17.317Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-04-13T07:06:17.317Z] ---> Running in 2bcbdd583838 [2023-04-13T07:06:17.317Z] Removing intermediate container 2bcbdd583838 [2023-04-13T07:06:17.317Z] ---> 043d166b4fcf [2023-04-13T07:06:17.317Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-04-13T07:06:17.317Z] ---> Running in fb05d6d4cf81 [2023-04-13T07:06:17.317Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-13T07:06:17.317Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-13T07:06:17.576Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-13T07:06:17.576Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T07:06:17.576Z] OK: 7 MiB in 16 packages [2023-04-13T07:06:17.834Z] Removing intermediate container fb05d6d4cf81 [2023-04-13T07:06:17.834Z] ---> 52b15d4cf56d [2023-04-13T07:06:17.834Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-04-13T07:06:18.422Z] ---> f60ce682a554 [2023-04-13T07:06:18.422Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-04-13T07:06:18.681Z] ---> 08e45613744b [2023-04-13T07:06:18.681Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-04-13T07:06:18.681Z] ---> 35a30bef9f37 [2023-04-13T07:06:18.681Z] Step 17/22 : EXPOSE 59901 [2023-04-13T07:06:18.681Z] ---> Running in db4f07fb4abf [2023-04-13T07:06:18.940Z] Removing intermediate container db4f07fb4abf [2023-04-13T07:06:18.940Z] ---> 089742973a68 [2023-04-13T07:06:18.940Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-04-13T07:06:18.940Z] ---> Running in 47f295833e4f [2023-04-13T07:06:18.940Z] Removing intermediate container 47f295833e4f [2023-04-13T07:06:18.940Z] ---> cae53204c6de [2023-04-13T07:06:18.940Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-13T07:06:18.940Z] ---> Running in 9db189f86fac [2023-04-13T07:06:18.940Z] Removing intermediate container 9db189f86fac [2023-04-13T07:06:18.940Z] ---> cf5595c1778e [2023-04-13T07:06:18.940Z] Step 20/22 : LABEL arch=amd64 [2023-04-13T07:06:19.199Z] ---> Running in dde09fb883eb [2023-04-13T07:06:19.199Z] Removing intermediate container dde09fb883eb [2023-04-13T07:06:19.199Z] ---> 49100f7ac66c [2023-04-13T07:06:19.199Z] Step 21/22 : LABEL git_sha=55987cd457f5f1a930ff560b78c1acf5044fc241 [2023-04-13T07:06:19.199Z] ---> Running in 768e5da4b968 [2023-04-13T07:06:19.199Z] Removing intermediate container 768e5da4b968 [2023-04-13T07:06:19.199Z] ---> 211286923b32 [2023-04-13T07:06:19.199Z] Step 22/22 : LABEL version=3.0.0-dev.26 [2023-04-13T07:06:19.199Z] ---> Running in 43aa087388fd [2023-04-13T07:06:19.457Z] Removing intermediate container 43aa087388fd [2023-04-13T07:06:19.457Z] ---> 01e99139b18b [2023-04-13T07:06:19.457Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-13T07:06:19.457Z] Successfully built 01e99139b18b [2023-04-13T07:06:19.457Z] 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-04-13T07:06:19.561Z] provisioning config files... [2023-04-13T07:06:19.570Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1077906854473373769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:06:19.943Z] ---> docker-login.sh [2023-04-13T07:06:19.943Z] nexus3.edgexfoundry.org:10001 [2023-04-13T07:06:19.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:06:19.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:06:19.943Z] Configure a credential helper to remove this warning. See [2023-04-13T07:06:19.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:06:19.943Z] [2023-04-13T07:06:19.943Z] Login Succeeded [2023-04-13T07:06:19.943Z] nexus3.edgexfoundry.org:10002 [2023-04-13T07:06:19.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:06:19.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:06:19.943Z] Configure a credential helper to remove this warning. See [2023-04-13T07:06:19.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:06:19.943Z] [2023-04-13T07:06:19.943Z] Login Succeeded [2023-04-13T07:06:19.943Z] nexus3.edgexfoundry.org:10003 [2023-04-13T07:06:20.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:06:20.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:06:20.221Z] Configure a credential helper to remove this warning. See [2023-04-13T07:06:20.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:06:20.221Z] [2023-04-13T07:06:20.221Z] Login Succeeded [2023-04-13T07:06:20.221Z] nexus3.edgexfoundry.org:10004 [2023-04-13T07:06:20.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:06:20.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:06:20.221Z] Configure a credential helper to remove this warning. See [2023-04-13T07:06:20.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:06:20.221Z] [2023-04-13T07:06:20.221Z] Login Succeeded [2023-04-13T07:06:20.221Z] docker.io [2023-04-13T07:06:20.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:06:20.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:06:20.488Z] Configure a credential helper to remove this warning. See [2023-04-13T07:06:20.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:06:20.488Z] [2023-04-13T07:06:20.488Z] Login Succeeded [2023-04-13T07:06:20.488Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T07:06:20.503Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-13T07:06:20.529Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T07:06:20.548Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-04-13T07:06:20.548Z] 55987cd457f5f1a930ff560b78c1acf5044fc241 [2023-04-13T07:06:20.548Z] latest [2023-04-13T07:06:20.548Z] 3.0.0-dev.26 [2023-04-13T07:06:20.548Z] 55987cd457f5f1a930ff560b78c1acf5044fc241-3.0.0-dev.26 [2023-04-13T07:06:20.548Z] main [2023-04-13T07:06:20.548Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:06:20.878Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:55987cd457f5f1a930ff560b78c1acf5044fc241 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:06:21.180Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:55987cd457f5f1a930ff560b78c1acf5044fc241 [2023-04-13T07:06:21.180Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-04-13T07:06:21.180Z] b116cabbca4a: Preparing [2023-04-13T07:06:21.180Z] beea873c6c86: Preparing [2023-04-13T07:06:21.180Z] b46c60eb8fcd: Preparing [2023-04-13T07:06:21.180Z] 3930285abec7: Preparing [2023-04-13T07:06:21.180Z] f1417ff83b31: Preparing [2023-04-13T07:06:21.180Z] f1417ff83b31: Layer already exists [2023-04-13T07:06:21.180Z] b116cabbca4a: Pushed [2023-04-13T07:06:21.180Z] 3930285abec7: Pushed [2023-04-13T07:06:21.180Z] beea873c6c86: Pushed [2023-04-13T07:06:24.461Z] b46c60eb8fcd: Pushed [2023-04-13T07:06:24.461Z] 55987cd457f5f1a930ff560b78c1acf5044fc241: digest: sha256:78443e7627fe4c942fa9714c3de9f8a566a72acf78ab59debe8cd21925c89a0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:06:24.770Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:06:25.076Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-04-13T07:06:25.076Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-04-13T07:06:25.076Z] b116cabbca4a: Preparing [2023-04-13T07:06:25.076Z] beea873c6c86: Preparing [2023-04-13T07:06:25.076Z] b46c60eb8fcd: Preparing [2023-04-13T07:06:25.076Z] 3930285abec7: Preparing [2023-04-13T07:06:25.076Z] f1417ff83b31: Preparing [2023-04-13T07:06:25.076Z] f1417ff83b31: Layer already exists [2023-04-13T07:06:25.076Z] b46c60eb8fcd: Layer already exists [2023-04-13T07:06:25.076Z] beea873c6c86: Layer already exists [2023-04-13T07:06:25.076Z] b116cabbca4a: Layer already exists [2023-04-13T07:06:25.076Z] 3930285abec7: Layer already exists [2023-04-13T07:06:25.076Z] latest: digest: sha256:78443e7627fe4c942fa9714c3de9f8a566a72acf78ab59debe8cd21925c89a0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:06:25.377Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:06:25.675Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.26 [2023-04-13T07:06:25.675Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-04-13T07:06:25.675Z] b116cabbca4a: Preparing [2023-04-13T07:06:25.675Z] beea873c6c86: Preparing [2023-04-13T07:06:25.675Z] b46c60eb8fcd: Preparing [2023-04-13T07:06:25.675Z] 3930285abec7: Preparing [2023-04-13T07:06:25.675Z] f1417ff83b31: Preparing [2023-04-13T07:06:25.675Z] beea873c6c86: Layer already exists [2023-04-13T07:06:25.675Z] f1417ff83b31: Layer already exists [2023-04-13T07:06:25.675Z] b116cabbca4a: Layer already exists [2023-04-13T07:06:25.675Z] 3930285abec7: Layer already exists [2023-04-13T07:06:25.675Z] b46c60eb8fcd: Layer already exists [2023-04-13T07:06:25.675Z] 3.0.0-dev.26: digest: sha256:78443e7627fe4c942fa9714c3de9f8a566a72acf78ab59debe8cd21925c89a0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:06:25.979Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:55987cd457f5f1a930ff560b78c1acf5044fc241-3.0.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:06:26.276Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:55987cd457f5f1a930ff560b78c1acf5044fc241-3.0.0-dev.26 [2023-04-13T07:06:26.276Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-04-13T07:06:26.276Z] b116cabbca4a: Preparing [2023-04-13T07:06:26.276Z] beea873c6c86: Preparing [2023-04-13T07:06:26.276Z] b46c60eb8fcd: Preparing [2023-04-13T07:06:26.276Z] 3930285abec7: Preparing [2023-04-13T07:06:26.276Z] f1417ff83b31: Preparing [2023-04-13T07:06:26.276Z] f1417ff83b31: Layer already exists [2023-04-13T07:06:26.276Z] b116cabbca4a: Layer already exists [2023-04-13T07:06:26.276Z] 3930285abec7: Layer already exists [2023-04-13T07:06:26.276Z] b46c60eb8fcd: Layer already exists [2023-04-13T07:06:26.276Z] beea873c6c86: Layer already exists [2023-04-13T07:06:26.276Z] 55987cd457f5f1a930ff560b78c1acf5044fc241-3.0.0-dev.26: digest: sha256:78443e7627fe4c942fa9714c3de9f8a566a72acf78ab59debe8cd21925c89a0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:06:26.590Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:06:26.891Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-04-13T07:06:26.891Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-04-13T07:06:26.891Z] b116cabbca4a: Preparing [2023-04-13T07:06:26.891Z] beea873c6c86: Preparing [2023-04-13T07:06:26.891Z] b46c60eb8fcd: Preparing [2023-04-13T07:06:26.891Z] 3930285abec7: Preparing [2023-04-13T07:06:26.891Z] f1417ff83b31: Preparing [2023-04-13T07:06:26.891Z] f1417ff83b31: Layer already exists [2023-04-13T07:06:26.891Z] b116cabbca4a: Layer already exists [2023-04-13T07:06:26.891Z] beea873c6c86: Layer already exists [2023-04-13T07:06:26.891Z] 3930285abec7: Layer already exists [2023-04-13T07:06:26.891Z] b46c60eb8fcd: Layer already exists [2023-04-13T07:06:26.891Z] main: digest: sha256:78443e7627fe4c942fa9714c3de9f8a566a72acf78ab59debe8cd21925c89a0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-13T07:06:26.926Z] ===================================================== [Pipeline] echo [2023-04-13T07:06:26.931Z] taggedImages: [2023-04-13T07:06:26.931Z] - nexus3.edgexfoundry.org:10004/device-modbus:55987cd457f5f1a930ff560b78c1acf5044fc241 [2023-04-13T07:06:26.931Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-04-13T07:06:26.931Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.26 [2023-04-13T07:06:26.931Z] - nexus3.edgexfoundry.org:10004/device-modbus:55987cd457f5f1a930ff560b78c1acf5044fc241-3.0.0-dev.26 [2023-04-13T07:06:26.931Z] - 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-04-13T07:06:27.279Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T07:06:27.279Z] [2023-04-13T07:06:27.279Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:06:27.581Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T07:06:27.581Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-13T07:06:27.581Z] 5eb5b503b376: Pulling fs layer [2023-04-13T07:06:27.581Z] 5c69ac0246d0: Pulling fs layer [2023-04-13T07:06:27.581Z] ec43610c2a17: Pulling fs layer [2023-04-13T07:06:27.581Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-13T07:06:27.581Z] 33b1e0a273af: Pulling fs layer [2023-04-13T07:06:27.581Z] 5d3b04190fa2: Pulling fs layer [2023-04-13T07:06:27.581Z] 2f39f015ded8: Pulling fs layer [2023-04-13T07:06:27.581Z] 3a2ae6a8a46f: Waiting [2023-04-13T07:06:27.581Z] 33b1e0a273af: Waiting [2023-04-13T07:06:27.581Z] 5d3b04190fa2: Waiting [2023-04-13T07:06:27.581Z] 2f39f015ded8: Waiting [2023-04-13T07:06:27.581Z] 5c69ac0246d0: Verifying Checksum [2023-04-13T07:06:27.581Z] 5c69ac0246d0: Download complete [2023-04-13T07:06:27.581Z] 3a2ae6a8a46f: Download complete [2023-04-13T07:06:27.581Z] 33b1e0a273af: Verifying Checksum [2023-04-13T07:06:27.581Z] 33b1e0a273af: Download complete [2023-04-13T07:06:27.581Z] ec43610c2a17: Verifying Checksum [2023-04-13T07:06:27.581Z] ec43610c2a17: Download complete [2023-04-13T07:06:27.581Z] 5d3b04190fa2: Verifying Checksum [2023-04-13T07:06:27.581Z] 5d3b04190fa2: Download complete [2023-04-13T07:06:27.840Z] 5eb5b503b376: Verifying Checksum [2023-04-13T07:06:27.840Z] 5eb5b503b376: Download complete [2023-04-13T07:06:28.405Z] 2f39f015ded8: Download complete [2023-04-13T07:06:28.971Z] 5eb5b503b376: Pull complete [2023-04-13T07:06:28.971Z] 5c69ac0246d0: Pull complete [2023-04-13T07:06:29.536Z] ec43610c2a17: Pull complete [2023-04-13T07:06:29.536Z] 3a2ae6a8a46f: Pull complete [2023-04-13T07:06:29.793Z] 33b1e0a273af: Pull complete [2023-04-13T07:06:29.793Z] 5d3b04190fa2: Pull complete [2023-04-13T07:06:33.978Z] 2f39f015ded8: Pull complete [2023-04-13T07:06:33.978Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-13T07:06:33.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T07:06:33.978Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:06:34.065Z] prd-ubuntu20.04-docker-8c-8g-8408 does not seem to be running inside a container [2023-04-13T07:06:34.096Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-13T07:06:36.052Z] $ docker top bad766db8e207432f9d91b6965592036076274703cabb53bb207d7240b1446ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:06:36.418Z] ---> job-cost.sh [2023-04-13T07:06:36.418Z] lf-activate-venv: SKIPPING [2023-04-13T07:06:36.418Z] INFO: No Stack... [2023-04-13T07:06:36.677Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-13T07:06:36.936Z] INFO: Archiving Costs [Pipeline] sh [2023-04-13T07:06:37.224Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-04-13T07:06:37.224Z] + cut -d, -f6 [Pipeline] lock [2023-04-13T07:06:37.237Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-92-stack-cost] [2023-04-13T07:06:37.250Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-92-stack-cost] did not exist. Created. [2023-04-13T07:06:37.250Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-92-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-13T07:06:37.557Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-13T07:06:37.577Z] Stashed 1 file(s) [Pipeline] } [2023-04-13T07:06:37.583Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-92-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-13T07:06:37.601Z] $ docker stop --time=1 bad766db8e207432f9d91b6965592036076274703cabb53bb207d7240b1446ec [2023-04-13T07:06:38.756Z] $ docker rm -f --volumes bad766db8e207432f9d91b6965592036076274703cabb53bb207d7240b1446ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-13T07:07:39.873Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8411 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-04-13T07:07:39.885Z] Running in /w/workspace/device-modbus-go/92 [Pipeline] { [Pipeline] checkout [2023-04-13T07:07:39.913Z] Selected Git installation does not exist. Using Default [2023-04-13T07:07:39.913Z] The recommended git tool is: NONE [2023-04-13T07:07:45.628Z] using credential edgex-jenkins-ssh [2023-04-13T07:07:45.642Z] Cloning the remote Git repository [2023-04-13T07:07:45.688Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-04-13T07:07:45.788Z] > git init /w/workspace/device-modbus-go/92 # timeout=10 [2023-04-13T07:07:45.950Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-04-13T07:07:45.951Z] > git --version # timeout=10 [2023-04-13T07:07:45.973Z] > git --version # 'git version 2.25.1' [2023-04-13T07:07:45.976Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-13T07:07:46.153Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-13T07:07:47.316Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-04-13T07:07:47.347Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-13T07:07:48.289Z] Avoid second fetch [2023-04-13T07:07:48.290Z] Checking out Revision 55987cd457f5f1a930ff560b78c1acf5044fc241 (main) [2023-04-13T07:07:48.308Z] > git config core.sparsecheckout # timeout=10 [2023-04-13T07:07:48.383Z] > git checkout -f 55987cd457f5f1a930ff560b78c1acf5044fc241 # timeout=10 [2023-04-13T07:07:48.827Z] Commit message: "Merge pull request #452 from weichou1229/interface-change" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-13T07:07:49.709Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-13T07:07:49.709Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-13T07:07:49.709Z] Dload Upload Total Spent Left Speed [2023-04-13T07:07:49.709Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh [2023-04-13T07:07:50.344Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-13T07:07:50.675Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-13T07:07:50.675Z] + sudo tee /etc/docker/daemon.new [2023-04-13T07:07:50.675Z] { [2023-04-13T07:07:50.675Z] "registry-mirrors": [ [2023-04-13T07:07:50.675Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-13T07:07:50.675Z] ], [2023-04-13T07:07:50.675Z] "bip": "10.250.0.254/24", [2023-04-13T07:07:50.675Z] "hosts": [ [2023-04-13T07:07:50.675Z] "tcp://0.0.0.0:5555", [2023-04-13T07:07:50.675Z] "unix:///var/run/docker.sock" [2023-04-13T07:07:50.675Z] ], [2023-04-13T07:07:50.675Z] "mtu": 1458, [2023-04-13T07:07:50.675Z] "selinux-enabled": true, [2023-04-13T07:07:50.675Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-13T07:07:50.675Z] } [Pipeline] sh [2023-04-13T07:07:51.022Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-13T07:07:51.369Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T07:08:09.698Z] provisioning config files... [2023-04-13T07:08:09.734Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/92@tmp/config8402763793134358952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:08:10.107Z] ---> docker-login.sh [2023-04-13T07:08:10.107Z] nexus3.edgexfoundry.org:10001 [2023-04-13T07:08:10.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:08:10.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:08:10.705Z] Configure a credential helper to remove this warning. See [2023-04-13T07:08:10.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:08:10.705Z] [2023-04-13T07:08:10.705Z] Login Succeeded [2023-04-13T07:08:10.705Z] nexus3.edgexfoundry.org:10002 [2023-04-13T07:08:10.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:08:11.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:08:11.254Z] Configure a credential helper to remove this warning. See [2023-04-13T07:08:11.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:08:11.254Z] [2023-04-13T07:08:11.254Z] Login Succeeded [2023-04-13T07:08:11.254Z] nexus3.edgexfoundry.org:10003 [2023-04-13T07:08:11.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:08:11.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:08:11.528Z] Configure a credential helper to remove this warning. See [2023-04-13T07:08:11.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:08:11.528Z] [2023-04-13T07:08:11.528Z] Login Succeeded [2023-04-13T07:08:11.528Z] nexus3.edgexfoundry.org:10004 [2023-04-13T07:08:11.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:08:12.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:08:12.075Z] Configure a credential helper to remove this warning. See [2023-04-13T07:08:12.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:08:12.075Z] [2023-04-13T07:08:12.075Z] Login Succeeded [2023-04-13T07:08:12.075Z] docker.io [2023-04-13T07:08:12.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:08:12.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:08:12.619Z] Configure a credential helper to remove this warning. See [2023-04-13T07:08:12.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:08:12.619Z] [2023-04-13T07:08:12.619Z] Login Succeeded [2023-04-13T07:08:12.619Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T07:08:12.634Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-13T07:08:12.947Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T07:08:12.962Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T07:08:12.973Z] ========================================================= [2023-04-13T07:08:12.973Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-13T07:08:12.973Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:08:13.342Z] + 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-04-13T07:08:13.617Z] Sending build context to Docker daemon 3.353MB [2023-04-13T07:08:13.617Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T07:08:13.617Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-13T07:08:13.893Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-13T07:08:13.893Z] af6eaf76a39c: Pulling fs layer [2023-04-13T07:08:13.893Z] 55522c791124: Pulling fs layer [2023-04-13T07:08:13.893Z] ce5c4a1c91eb: Pulling fs layer [2023-04-13T07:08:13.893Z] 169dfbe0d373: Pulling fs layer [2023-04-13T07:08:13.893Z] e1ff8fa3b103: Pulling fs layer [2023-04-13T07:08:13.893Z] 52ebb69f0ebf: Pulling fs layer [2023-04-13T07:08:13.893Z] 5abe8eddf0d5: Pulling fs layer [2023-04-13T07:08:13.893Z] 169dfbe0d373: Waiting [2023-04-13T07:08:13.893Z] e1ff8fa3b103: Waiting [2023-04-13T07:08:13.893Z] 52ebb69f0ebf: Waiting [2023-04-13T07:08:13.893Z] 5abe8eddf0d5: Waiting [2023-04-13T07:08:13.893Z] 55522c791124: Verifying Checksum [2023-04-13T07:08:13.893Z] 55522c791124: Download complete [2023-04-13T07:08:13.893Z] 169dfbe0d373: Verifying Checksum [2023-04-13T07:08:13.893Z] 169dfbe0d373: Download complete [2023-04-13T07:08:13.893Z] e1ff8fa3b103: Verifying Checksum [2023-04-13T07:08:13.893Z] e1ff8fa3b103: Download complete [2023-04-13T07:08:14.171Z] af6eaf76a39c: Verifying Checksum [2023-04-13T07:08:14.171Z] af6eaf76a39c: Download complete [2023-04-13T07:08:15.166Z] af6eaf76a39c: Pull complete [2023-04-13T07:08:15.166Z] 5abe8eddf0d5: Verifying Checksum [2023-04-13T07:08:15.166Z] 5abe8eddf0d5: Download complete [2023-04-13T07:08:16.629Z] 55522c791124: Pull complete [2023-04-13T07:08:16.900Z] ce5c4a1c91eb: Verifying Checksum [2023-04-13T07:08:16.900Z] ce5c4a1c91eb: Download complete [2023-04-13T07:08:16.900Z] 52ebb69f0ebf: Verifying Checksum [2023-04-13T07:08:16.900Z] 52ebb69f0ebf: Download complete [2023-04-13T07:08:29.291Z] ce5c4a1c91eb: Pull complete [2023-04-13T07:08:29.291Z] 169dfbe0d373: Pull complete [2023-04-13T07:08:29.291Z] e1ff8fa3b103: Pull complete [2023-04-13T07:08:35.976Z] 52ebb69f0ebf: Pull complete [2023-04-13T07:08:37.942Z] 5abe8eddf0d5: Pull complete [2023-04-13T07:08:37.942Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-13T07:08:37.942Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-13T07:08:37.942Z] ---> 6cb57ee374ae [2023-04-13T07:08:37.942Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-04-13T07:08:39.940Z] ---> Running in b1df7c4257e4 [2023-04-13T07:08:40.226Z] Removing intermediate container b1df7c4257e4 [2023-04-13T07:08:40.226Z] ---> f91a324c58e2 [2023-04-13T07:08:40.226Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T07:08:40.505Z] ---> Running in 57652a621aca [2023-04-13T07:08:40.781Z] Removing intermediate container 57652a621aca [2023-04-13T07:08:40.781Z] ---> 7be67d8281fd [2023-04-13T07:08:40.781Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-04-13T07:08:41.079Z] ---> Running in bbd09c202ac5 [2023-04-13T07:08:42.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-13T07:08:43.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-13T07:08:44.537Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-04-13T07:08:44.537Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-04-13T07:08:44.537Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-04-13T07:08:44.537Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-04-13T07:08:44.537Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-04-13T07:08:44.537Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-04-13T07:08:44.537Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-04-13T07:08:44.537Z] (8/8) Installing openssh (9.1_p1-r2) [2023-04-13T07:08:44.537Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T07:08:44.537Z] OK: 270 MiB in 61 packages [2023-04-13T07:08:45.993Z] Removing intermediate container bbd09c202ac5 [2023-04-13T07:08:45.993Z] ---> 23f85e68be10 [2023-04-13T07:08:45.993Z] Step 6/10 : WORKDIR /device-modbus-go [2023-04-13T07:08:45.993Z] ---> Running in e56830a4e243 [2023-04-13T07:08:46.268Z] Removing intermediate container e56830a4e243 [2023-04-13T07:08:46.268Z] ---> 5ca0ac163195 [2023-04-13T07:08:46.268Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-13T07:08:46.866Z] ---> 6c0358f3abc6 [2023-04-13T07:08:46.867Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T07:08:47.139Z] ---> Running in 84c02c0e1189 [2023-04-13T07:09:55.094Z] Removing intermediate container 84c02c0e1189 [2023-04-13T07:09:55.094Z] ---> c4981aa5af3d [2023-04-13T07:09:55.094Z] Step 9/10 : COPY . . [2023-04-13T07:09:55.094Z] ---> fe71acde315c [2023-04-13T07:09:55.094Z] Step 10/10 : RUN ${MAKE} [2023-04-13T07:09:55.094Z] ---> Running in e0baea738c1b [2023-04-13T07:09:55.094Z] noop [2023-04-13T07:09:55.094Z] Removing intermediate container e0baea738c1b [2023-04-13T07:09:55.094Z] ---> e786996bc425 [2023-04-13T07:09:55.094Z] Successfully built e786996bc425 [2023-04-13T07:09:55.094Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:09:55.456Z] + docker inspect -f . ci-base-image-arm64 [2023-04-13T07:09:55.456Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:09:55.703Z] prd-ubuntu20.04-docker-arm64-4c-16g-8411 does not seem to be running inside a container [2023-04-13T07:09:55.792Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/92 -v /w/workspace/device-modbus-go/92:/w/workspace/device-modbus-go/92:rw,z -v /w/workspace/device-modbus-go/92@tmp:/w/workspace/device-modbus-go/92@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-04-13T07:09:57.129Z] $ docker top 3a393bfe35062f4808aacfff54e8ccbad939cd395117907a964ef728b4c323c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T07:09:57.991Z] + go version [2023-04-13T07:09:57.991Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-13T07:09:58.019Z] $ docker stop --time=1 3a393bfe35062f4808aacfff54e8ccbad939cd395117907a964ef728b4c323c9 [2023-04-13T07:09:59.684Z] $ docker rm -f --volumes 3a393bfe35062f4808aacfff54e8ccbad939cd395117907a964ef728b4c323c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:10:00.238Z] + docker inspect -f . ci-base-image-arm64 [2023-04-13T07:10:00.238Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:10:00.444Z] prd-ubuntu20.04-docker-arm64-4c-16g-8411 does not seem to be running inside a container [2023-04-13T07:10:00.529Z] $ 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/92 -v /w/workspace/device-modbus-go/92:/w/workspace/device-modbus-go/92:rw,z -v /w/workspace/device-modbus-go/92@tmp:/w/workspace/device-modbus-go/92@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-04-13T07:10:01.850Z] $ docker top ae3f0ad2a181cf659ddbaefb628d7839f0cc56f529f54f0aefdbf94cd34de019 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T07:10:02.689Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/92 [Pipeline] fileExists [Pipeline] sh [2023-04-13T07:10:03.023Z] + make test [2023-04-13T07:10:03.295Z] go test ./... -coverprofile=coverage.out [2023-04-13T07:10:42.209Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-04-13T07:12:48.884Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-04-13T07:12:48.884Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.075s coverage: 47.5% of statements [2023-04-13T07:12:48.884Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-13T07:12:48.884Z] go vet ./... [2023-04-13T07:13:27.804Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-13T07:13:27.804Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-13T07:13:27.804Z] ./bin/test-attribution-txt.sh [2023-04-13T07:13:27.804Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-13T07:13:27.822Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-13T07:13:27.841Z] $ docker stop --time=1 ae3f0ad2a181cf659ddbaefb628d7839f0cc56f529f54f0aefdbf94cd34de019 [2023-04-13T07:13:29.739Z] $ docker rm -f --volumes ae3f0ad2a181cf659ddbaefb628d7839f0cc56f529f54f0aefdbf94cd34de019 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T07:13:30.931Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-13T07:13:30.955Z] Warning: overwriting stash ‘coverage-report’ [2023-04-13T07:13:31.549Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-13T07:13:31.960Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-13T07:13:32.291Z] + ls -al . [2023-04-13T07:13:32.291Z] total 176 [2023-04-13T07:13:32.291Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 07:10 . [2023-04-13T07:13:32.291Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:07 .. [2023-04-13T07:13:32.291Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 07:07 .dockerignore [2023-04-13T07:13:32.291Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 07:07 .git [2023-04-13T07:13:32.291Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:07 .github [2023-04-13T07:13:32.291Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 13 07:07 .gitignore [2023-04-13T07:13:32.291Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 07:07 .golangci.yml [2023-04-13T07:13:32.291Z] -rw-rw-r-- 1 jenkins jenkins 10004 Apr 13 07:07 Attribution.txt [2023-04-13T07:13:32.291Z] -rw-rw-r-- 1 jenkins jenkins 11576 Apr 13 07:07 CHANGELOG.md [2023-04-13T07:13:32.291Z] -rw-rw-r-- 1 jenkins jenkins 1365 Apr 13 07:07 Dockerfile [2023-04-13T07:13:32.291Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 07:07 GOVERNANCE.md [2023-04-13T07:13:32.291Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 07:07 Jenkinsfile [2023-04-13T07:13:32.291Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 07:07 LICENSE [2023-04-13T07:13:32.291Z] -rw-rw-r-- 1 jenkins jenkins 1705 Apr 13 07:07 Makefile [2023-04-13T07:13:32.291Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 13 07:07 OWNERS.md [2023-04-13T07:13:32.291Z] -rw-rw-r-- 1 jenkins jenkins 4045 Apr 13 07:07 README.md [2023-04-13T07:13:32.291Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 07:04 VERSION [2023-04-13T07:13:32.291Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:07 bin [2023-04-13T07:13:32.291Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:07 cmd [2023-04-13T07:13:32.291Z] -rw-r--r-- 1 jenkins jenkins 24076 Apr 13 07:12 coverage.out [2023-04-13T07:13:32.291Z] -rw-rw-r-- 1 jenkins jenkins 3453 Apr 13 07:07 go.mod [2023-04-13T07:13:32.291Z] -rw-rw-r-- 1 jenkins jenkins 31895 Apr 13 07:07 go.sum [2023-04-13T07:13:32.291Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:07 internal [2023-04-13T07:13:32.291Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:07 simulator [2023-04-13T07:13:32.291Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:07 snap [2023-04-13T07:13:32.291Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 13 07:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:13:32.648Z] + 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=55987cd457f5f1a930ff560b78c1acf5044fc241 --label arch=arm64 --label version=3.0.0-dev.26 . [2023-04-13T07:13:32.924Z] Sending build context to Docker daemon 3.378MB [2023-04-13T07:13:32.924Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T07:13:32.924Z] Step 2/22 : FROM ${BASE} AS builder [2023-04-13T07:13:32.924Z] ---> e786996bc425 [2023-04-13T07:13:32.924Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-04-13T07:13:33.193Z] ---> Running in 229c3c665ccc [2023-04-13T07:13:33.463Z] Removing intermediate container 229c3c665ccc [2023-04-13T07:13:33.463Z] ---> 68ca6dc69cde [2023-04-13T07:13:33.463Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T07:13:33.463Z] ---> Running in 8e6c9a514791 [2023-04-13T07:13:34.047Z] Removing intermediate container 8e6c9a514791 [2023-04-13T07:13:34.047Z] ---> a0071961f4a9 [2023-04-13T07:13:34.047Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-04-13T07:13:34.047Z] ---> Running in 727d347b41b0 [2023-04-13T07:13:35.015Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-13T07:13:35.603Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-13T07:13:37.019Z] OK: 270 MiB in 61 packages [2023-04-13T07:13:37.606Z] Removing intermediate container 727d347b41b0 [2023-04-13T07:13:37.606Z] ---> 9e84d6cbe8a4 [2023-04-13T07:13:37.606Z] Step 6/22 : WORKDIR /device-modbus-go [2023-04-13T07:13:37.877Z] ---> Running in e72a0d740435 [2023-04-13T07:13:38.145Z] Removing intermediate container e72a0d740435 [2023-04-13T07:13:38.145Z] ---> 2c36c64bd571 [2023-04-13T07:13:38.145Z] Step 7/22 : COPY go.mod vendor* ./ [2023-04-13T07:13:38.732Z] ---> 31c5a41faba5 [2023-04-13T07:13:38.732Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T07:13:38.732Z] ---> Running in 44266f187c36 [2023-04-13T07:13:41.324Z] Removing intermediate container 44266f187c36 [2023-04-13T07:13:41.324Z] ---> 98d7b911372d [2023-04-13T07:13:41.324Z] Step 9/22 : COPY . . [2023-04-13T07:13:42.287Z] ---> 49a48af4e2df [2023-04-13T07:13:42.287Z] Step 10/22 : RUN ${MAKE} [2023-04-13T07:13:42.556Z] ---> Running in c4e916ce4fa7 [2023-04-13T07:13:43.526Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.26" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-04-13T07:16:20.322Z] Removing intermediate container c4e916ce4fa7 [2023-04-13T07:16:20.322Z] ---> 76d59ee8fd8d [2023-04-13T07:16:20.322Z] Step 11/22 : FROM alpine:3.17 [2023-04-13T07:16:20.322Z] 3.17: Pulling from library/alpine [2023-04-13T07:16:20.322Z] c41833b44d91: Pulling fs layer [2023-04-13T07:16:20.322Z] c41833b44d91: Verifying Checksum [2023-04-13T07:16:20.322Z] c41833b44d91: Download complete [2023-04-13T07:16:20.322Z] c41833b44d91: Pull complete [2023-04-13T07:16:20.322Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-13T07:16:20.322Z] Status: Downloaded newer image for alpine:3.17 [2023-04-13T07:16:20.322Z] ---> 51e60588ff2c [2023-04-13T07:16:20.322Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-04-13T07:16:20.322Z] ---> Running in 6b767f287f1d [2023-04-13T07:16:20.322Z] Removing intermediate container 6b767f287f1d [2023-04-13T07:16:20.322Z] ---> fbf6ba8277e5 [2023-04-13T07:16:20.322Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-04-13T07:16:20.322Z] ---> Running in 8f0e3bead996 [2023-04-13T07:16:20.322Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-13T07:16:20.322Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-13T07:16:20.322Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-13T07:16:20.322Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T07:16:20.322Z] OK: 8 MiB in 16 packages [2023-04-13T07:16:21.287Z] Removing intermediate container 8f0e3bead996 [2023-04-13T07:16:21.287Z] ---> 354563b64c72 [2023-04-13T07:16:21.287Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-04-13T07:16:22.700Z] ---> e6201b6fdab6 [2023-04-13T07:16:22.700Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-04-13T07:16:23.288Z] ---> 54a83f6cac8b [2023-04-13T07:16:23.288Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-04-13T07:16:23.873Z] ---> d8366b3a2eee [2023-04-13T07:16:23.873Z] Step 17/22 : EXPOSE 59901 [2023-04-13T07:16:23.873Z] ---> Running in 2944fbc5219e [2023-04-13T07:16:24.457Z] Removing intermediate container 2944fbc5219e [2023-04-13T07:16:24.457Z] ---> 3aba4145da3a [2023-04-13T07:16:24.457Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-04-13T07:16:24.457Z] ---> Running in c5f846143794 [2023-04-13T07:16:24.724Z] Removing intermediate container c5f846143794 [2023-04-13T07:16:24.724Z] ---> 27d99cd3ae80 [2023-04-13T07:16:24.724Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-13T07:16:24.724Z] ---> Running in 47e0d2cb5e97 [2023-04-13T07:16:25.310Z] Removing intermediate container 47e0d2cb5e97 [2023-04-13T07:16:25.310Z] ---> f3795216671c [2023-04-13T07:16:25.310Z] Step 20/22 : LABEL arch=arm64 [2023-04-13T07:16:25.310Z] ---> Running in 8e8e142d71da [2023-04-13T07:16:25.577Z] Removing intermediate container 8e8e142d71da [2023-04-13T07:16:25.577Z] ---> 110b535e5cab [2023-04-13T07:16:25.577Z] Step 21/22 : LABEL git_sha=55987cd457f5f1a930ff560b78c1acf5044fc241 [2023-04-13T07:16:25.577Z] ---> Running in 2d9f403b7268 [2023-04-13T07:16:26.163Z] Removing intermediate container 2d9f403b7268 [2023-04-13T07:16:26.163Z] ---> ae648558fe5d [2023-04-13T07:16:26.163Z] Step 22/22 : LABEL version=3.0.0-dev.26 [2023-04-13T07:16:26.163Z] ---> Running in 5f2f27ac3530 [2023-04-13T07:16:26.430Z] Removing intermediate container 5f2f27ac3530 [2023-04-13T07:16:26.430Z] ---> 89e092222b8f [2023-04-13T07:16:26.430Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-13T07:16:26.430Z] Successfully built 89e092222b8f [2023-04-13T07:16:26.430Z] 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-04-13T07:16:26.550Z] provisioning config files... [2023-04-13T07:16:26.566Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/92@tmp/config17053151522241398281tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:16:26.919Z] ---> docker-login.sh [2023-04-13T07:16:26.919Z] nexus3.edgexfoundry.org:10001 [2023-04-13T07:16:27.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:16:27.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:16:27.186Z] Configure a credential helper to remove this warning. See [2023-04-13T07:16:27.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:16:27.186Z] [2023-04-13T07:16:27.186Z] Login Succeeded [2023-04-13T07:16:27.186Z] nexus3.edgexfoundry.org:10002 [2023-04-13T07:16:27.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:16:27.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:16:27.721Z] Configure a credential helper to remove this warning. See [2023-04-13T07:16:27.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:16:27.721Z] [2023-04-13T07:16:27.721Z] Login Succeeded [2023-04-13T07:16:27.721Z] nexus3.edgexfoundry.org:10003 [2023-04-13T07:16:27.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:16:27.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:16:27.990Z] Configure a credential helper to remove this warning. See [2023-04-13T07:16:27.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:16:27.990Z] [2023-04-13T07:16:27.990Z] Login Succeeded [2023-04-13T07:16:27.990Z] nexus3.edgexfoundry.org:10004 [2023-04-13T07:16:28.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:16:28.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:16:28.522Z] Configure a credential helper to remove this warning. See [2023-04-13T07:16:28.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:16:28.522Z] [2023-04-13T07:16:28.522Z] Login Succeeded [2023-04-13T07:16:28.522Z] docker.io [2023-04-13T07:16:28.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:16:28.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:16:28.788Z] Configure a credential helper to remove this warning. See [2023-04-13T07:16:28.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:16:28.788Z] [2023-04-13T07:16:28.788Z] Login Succeeded [2023-04-13T07:16:29.055Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T07:16:29.069Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-13T07:16:29.094Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T07:16:29.110Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-04-13T07:16:29.110Z] 55987cd457f5f1a930ff560b78c1acf5044fc241 [2023-04-13T07:16:29.110Z] latest [2023-04-13T07:16:29.110Z] 3.0.0-dev.26 [2023-04-13T07:16:29.110Z] 55987cd457f5f1a930ff560b78c1acf5044fc241-3.0.0-dev.26 [2023-04-13T07:16:29.110Z] main [2023-04-13T07:16:29.110Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:16:29.457Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:55987cd457f5f1a930ff560b78c1acf5044fc241 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:16:29.801Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:55987cd457f5f1a930ff560b78c1acf5044fc241 [2023-04-13T07:16:29.801Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-04-13T07:16:29.801Z] b041f294a7ee: Preparing [2023-04-13T07:16:29.801Z] 0574d6205940: Preparing [2023-04-13T07:16:29.801Z] 55243936b5cb: Preparing [2023-04-13T07:16:29.801Z] 437fb7b90f40: Preparing [2023-04-13T07:16:29.801Z] 26cbea5cba74: Preparing [2023-04-13T07:16:30.068Z] 26cbea5cba74: Layer already exists [2023-04-13T07:16:30.068Z] 437fb7b90f40: Pushed [2023-04-13T07:16:30.068Z] b041f294a7ee: Pushed [2023-04-13T07:16:30.068Z] 0574d6205940: Pushed [2023-04-13T07:16:36.733Z] 55243936b5cb: Pushed [2023-04-13T07:16:36.733Z] 55987cd457f5f1a930ff560b78c1acf5044fc241: digest: sha256:055983f5a5c2f9e30b5bb6993f31652f7bffb74d82e7c240859dca13292aecc8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:16:37.083Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:16:37.433Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-04-13T07:16:37.433Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-04-13T07:16:37.433Z] b041f294a7ee: Preparing [2023-04-13T07:16:37.433Z] 0574d6205940: Preparing [2023-04-13T07:16:37.433Z] 55243936b5cb: Preparing [2023-04-13T07:16:37.433Z] 437fb7b90f40: Preparing [2023-04-13T07:16:37.433Z] 26cbea5cba74: Preparing [2023-04-13T07:16:37.433Z] b041f294a7ee: Layer already exists [2023-04-13T07:16:37.433Z] 55243936b5cb: Layer already exists [2023-04-13T07:16:37.433Z] 437fb7b90f40: Layer already exists [2023-04-13T07:16:37.433Z] 26cbea5cba74: Layer already exists [2023-04-13T07:16:37.433Z] 0574d6205940: Layer already exists [2023-04-13T07:16:37.433Z] latest: digest: sha256:055983f5a5c2f9e30b5bb6993f31652f7bffb74d82e7c240859dca13292aecc8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:16:38.057Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:16:38.411Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.26 [2023-04-13T07:16:38.411Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-04-13T07:16:38.411Z] b041f294a7ee: Preparing [2023-04-13T07:16:38.411Z] 0574d6205940: Preparing [2023-04-13T07:16:38.411Z] 55243936b5cb: Preparing [2023-04-13T07:16:38.411Z] 437fb7b90f40: Preparing [2023-04-13T07:16:38.411Z] 26cbea5cba74: Preparing [2023-04-13T07:16:38.411Z] 437fb7b90f40: Layer already exists [2023-04-13T07:16:38.411Z] 55243936b5cb: Layer already exists [2023-04-13T07:16:38.411Z] 26cbea5cba74: Layer already exists [2023-04-13T07:16:38.411Z] 0574d6205940: Layer already exists [2023-04-13T07:16:38.411Z] b041f294a7ee: Layer already exists [2023-04-13T07:16:38.411Z] 3.0.0-dev.26: digest: sha256:055983f5a5c2f9e30b5bb6993f31652f7bffb74d82e7c240859dca13292aecc8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:16:39.033Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:55987cd457f5f1a930ff560b78c1acf5044fc241-3.0.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:16:39.377Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:55987cd457f5f1a930ff560b78c1acf5044fc241-3.0.0-dev.26 [2023-04-13T07:16:39.377Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-04-13T07:16:39.377Z] b041f294a7ee: Preparing [2023-04-13T07:16:39.377Z] 0574d6205940: Preparing [2023-04-13T07:16:39.377Z] 55243936b5cb: Preparing [2023-04-13T07:16:39.377Z] 437fb7b90f40: Preparing [2023-04-13T07:16:39.377Z] 26cbea5cba74: Preparing [2023-04-13T07:16:39.377Z] 55243936b5cb: Layer already exists [2023-04-13T07:16:39.377Z] b041f294a7ee: Layer already exists [2023-04-13T07:16:39.377Z] 26cbea5cba74: Layer already exists [2023-04-13T07:16:39.377Z] 0574d6205940: Layer already exists [2023-04-13T07:16:39.377Z] 437fb7b90f40: Layer already exists [2023-04-13T07:16:39.377Z] 55987cd457f5f1a930ff560b78c1acf5044fc241-3.0.0-dev.26: digest: sha256:055983f5a5c2f9e30b5bb6993f31652f7bffb74d82e7c240859dca13292aecc8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:16:40.002Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:16:40.361Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-04-13T07:16:40.362Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-04-13T07:16:40.362Z] b041f294a7ee: Preparing [2023-04-13T07:16:40.362Z] 0574d6205940: Preparing [2023-04-13T07:16:40.362Z] 55243936b5cb: Preparing [2023-04-13T07:16:40.362Z] 437fb7b90f40: Preparing [2023-04-13T07:16:40.362Z] 26cbea5cba74: Preparing [2023-04-13T07:16:40.362Z] 26cbea5cba74: Layer already exists [2023-04-13T07:16:40.362Z] 0574d6205940: Layer already exists [2023-04-13T07:16:40.362Z] b041f294a7ee: Layer already exists [2023-04-13T07:16:40.362Z] 437fb7b90f40: Layer already exists [2023-04-13T07:16:40.362Z] 55243936b5cb: Layer already exists [2023-04-13T07:16:40.630Z] main: digest: sha256:055983f5a5c2f9e30b5bb6993f31652f7bffb74d82e7c240859dca13292aecc8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-13T07:16:40.672Z] ===================================================== [Pipeline] echo [2023-04-13T07:16:40.678Z] taggedImages: [2023-04-13T07:16:40.678Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:55987cd457f5f1a930ff560b78c1acf5044fc241 [2023-04-13T07:16:40.678Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-04-13T07:16:40.678Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.26 [2023-04-13T07:16:40.678Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:55987cd457f5f1a930ff560b78c1acf5044fc241-3.0.0-dev.26 [2023-04-13T07:16:40.678Z] - 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-04-13T07:16:41.048Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-13T07:16:41.049Z] [2023-04-13T07:16:41.049Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:16:41.393Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-13T07:16:41.393Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-13T07:16:41.393Z] 8998bd30e6a1: Pulling fs layer [2023-04-13T07:16:41.393Z] 04944245beec: Pulling fs layer [2023-04-13T07:16:41.393Z] 699f458cf7ca: Pulling fs layer [2023-04-13T07:16:41.393Z] 765212b225bb: Pulling fs layer [2023-04-13T07:16:41.393Z] f23df028b6ca: Pulling fs layer [2023-04-13T07:16:41.393Z] d65c8cfc05b1: Pulling fs layer [2023-04-13T07:16:41.393Z] 2437ff75d9bd: Pulling fs layer [2023-04-13T07:16:41.393Z] f23df028b6ca: Waiting [2023-04-13T07:16:41.393Z] 765212b225bb: Waiting [2023-04-13T07:16:41.393Z] d65c8cfc05b1: Waiting [2023-04-13T07:16:41.393Z] 2437ff75d9bd: Waiting [2023-04-13T07:16:41.663Z] 04944245beec: Verifying Checksum [2023-04-13T07:16:41.663Z] 765212b225bb: Verifying Checksum [2023-04-13T07:16:41.663Z] 765212b225bb: Download complete [2023-04-13T07:16:41.663Z] f23df028b6ca: Download complete [2023-04-13T07:16:41.663Z] d65c8cfc05b1: Verifying Checksum [2023-04-13T07:16:41.663Z] d65c8cfc05b1: Download complete [2023-04-13T07:16:41.943Z] 699f458cf7ca: Verifying Checksum [2023-04-13T07:16:41.943Z] 699f458cf7ca: Download complete [2023-04-13T07:16:42.214Z] 8998bd30e6a1: Download complete [2023-04-13T07:16:44.803Z] 2437ff75d9bd: Verifying Checksum [2023-04-13T07:16:44.803Z] 2437ff75d9bd: Download complete [2023-04-13T07:16:46.213Z] 8998bd30e6a1: Pull complete [2023-04-13T07:16:46.803Z] 04944245beec: Pull complete [2023-04-13T07:16:48.220Z] 699f458cf7ca: Pull complete [2023-04-13T07:16:48.487Z] 765212b225bb: Pull complete [2023-04-13T07:16:49.458Z] f23df028b6ca: Pull complete [2023-04-13T07:16:49.458Z] d65c8cfc05b1: Pull complete [2023-04-13T07:17:07.705Z] 2437ff75d9bd: Pull complete [2023-04-13T07:17:07.705Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-13T07:17:07.705Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-13T07:17:07.705Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:17:07.994Z] prd-ubuntu20.04-docker-arm64-4c-16g-8411 does not seem to be running inside a container [2023-04-13T07:17:08.098Z] $ 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/92 -v /w/workspace/device-modbus-go/92:/w/workspace/device-modbus-go/92:rw,z -v /w/workspace/device-modbus-go/92@tmp:/w/workspace/device-modbus-go/92@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-04-13T07:17:10.817Z] $ docker top ec9e33d40d688d1a09403738adfa967a7a8825fc152e6188b0f98e90f902ec81 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:17:11.710Z] ---> job-cost.sh [2023-04-13T07:17:11.710Z] lf-activate-venv: SKIPPING [2023-04-13T07:17:11.710Z] INFO: No Stack... [2023-04-13T07:17:12.301Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-13T07:17:13.290Z] INFO: Archiving Costs [Pipeline] sh [2023-04-13T07:17:13.954Z] + cat /w/workspace/device-modbus-go/92/archives/cost.csv [2023-04-13T07:17:13.954Z] + cut -d, -f6 [Pipeline] lock [2023-04-13T07:17:14.026Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-92-stack-cost] [2023-04-13T07:17:14.033Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-92-stack-cost] did not exist. Created. [2023-04-13T07:17:14.033Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-92-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-13T07:17:14.698Z] /w/workspace/device-modbus-go/92@tmp/durable-7ab90935/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-13T07:17:15.364Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-13T07:17:15.388Z] Warning: overwriting stash ‘stack-cost’ [2023-04-13T07:17:15.442Z] Stashed 1 file(s) [Pipeline] } [2023-04-13T07:17:15.448Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-92-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-13T07:17:15.471Z] $ docker stop --time=1 ec9e33d40d688d1a09403738adfa967a7a8825fc152e6188b0f98e90f902ec81 [2023-04-13T07:17:17.020Z] $ docker rm -f --volumes ec9e33d40d688d1a09403738adfa967a7a8825fc152e6188b0f98e90f902ec81 [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-04-13T07:17:17.430Z] provisioning config files... [2023-04-13T07:17:17.436Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14350977809014766031tmp [Pipeline] { [Pipeline] sh [2023-04-13T07:17:17.728Z] + set +x [2023-04-13T07:17:17.728Z] + curl -s https://codecov.io/bash [2023-04-13T07:17:17.728Z] + bash -s -- [2023-04-13T07:17:17.728Z] [2023-04-13T07:17:17.728Z] _____ _ [2023-04-13T07:17:17.728Z] / ____| | | [2023-04-13T07:17:17.728Z] | | ___ __| | ___ ___ _____ __ [2023-04-13T07:17:17.728Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-13T07:17:17.728Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-13T07:17:17.728Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-13T07:17:17.728Z] Bash-1.0.6 [2023-04-13T07:17:17.728Z] [2023-04-13T07:17:17.728Z] [2023-04-13T07:17:17.728Z] ==> git version 2.25.1 found [2023-04-13T07:17:17.728Z] ==> 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-04-13T07:17:17.728Z] Release-Date: 2020-01-08 [2023-04-13T07:17:17.728Z] 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-04-13T07:17:17.729Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-13T07:17:17.729Z] ==> Jenkins CI detected. [2023-04-13T07:17:17.729Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-04-13T07:17:17.729Z] project root: . [2023-04-13T07:17:17.729Z] --> token set from env [2023-04-13T07:17:17.729Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-13T07:17:17.729Z] ==> Running gcov in . (disable via -X gcov) [2023-04-13T07:17:17.729Z] ==> Python coveragepy not found [2023-04-13T07:17:17.729Z] ==> Searching for coverage reports in: [2023-04-13T07:17:17.729Z] + . [2023-04-13T07:17:17.729Z] -> Found 1 reports [2023-04-13T07:17:17.729Z] ==> Detecting git/mercurial file structure [2023-04-13T07:17:17.729Z] ==> Reading reports [2023-04-13T07:17:17.988Z] + ./coverage.out bytes=24076 [2023-04-13T07:17:17.988Z] ==> Appending adjustments [2023-04-13T07:17:17.988Z] https://docs.codecov.io/docs/fixing-reports [2023-04-13T07:17:17.988Z] + Found adjustments [2023-04-13T07:17:17.988Z] ==> Gzipping contents [2023-04-13T07:17:17.988Z] 4.0K /tmp/codecov.9D8ng1.gz [2023-04-13T07:17:17.988Z] ==> Uploading reports [2023-04-13T07:17:17.988Z] url: https://codecov.io [2023-04-13T07:17:17.988Z] query: branch=main&commit=55987cd457f5f1a930ff560b78c1acf5044fc241&build=92&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F92%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-13T07:17:17.988Z] -> Pinging Codecov [2023-04-13T07:17:17.988Z] 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=55987cd457f5f1a930ff560b78c1acf5044fc241&build=92&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F92%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-13T07:17:17.988Z] -> Uploading to [2023-04-13T07:17:17.988Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-13/55DBCA73C666E3227836607328DD7E49/55987cd457f5f1a930ff560b78c1acf5044fc241/ef1d5c68-de40-487e-bc71-4a401290be4f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230413T071717Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1200916774cb646229ce602b9efc995d2fccd420f0cffc3479890dd85b8c6c25 [2023-04-13T07:17:18.247Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-13T07:17:18.247Z] Dload Upload Total Spent Left Speed [2023-04-13T07:17:18.247Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3917 0 0 100 3917 0 15858 --:--:-- --:--:-- --:--:-- 15858 [2023-04-13T07:17:18.247Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/55987cd457f5f1a930ff560b78c1acf5044fc241 [Pipeline] } [2023-04-13T07:17:18.254Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-04-13T07:17:18.462Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-04-13T07:17:18.474Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:17:18.776Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-13T07:17:18.776Z] [2023-04-13T07:17:18.776Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:17:19.070Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-13T07:17:19.070Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-04-13T07:17:19.070Z] df9b9388f04a: Pulling fs layer [2023-04-13T07:17:19.070Z] 52dc419b0ee2: Pulling fs layer [2023-04-13T07:17:19.070Z] 25bc292e5bac: Pulling fs layer [2023-04-13T07:17:19.070Z] 114826534d7a: Pulling fs layer [2023-04-13T07:17:19.070Z] 4657fd5d0bcf: Pulling fs layer [2023-04-13T07:17:19.070Z] 6ad1cebc031e: Pulling fs layer [2023-04-13T07:17:19.070Z] 8a3aa393b2d8: Pulling fs layer [2023-04-13T07:17:19.070Z] 4657fd5d0bcf: Waiting [2023-04-13T07:17:19.070Z] 6ad1cebc031e: Waiting [2023-04-13T07:17:19.070Z] 8a3aa393b2d8: Waiting [2023-04-13T07:17:19.070Z] 114826534d7a: Waiting [2023-04-13T07:17:19.070Z] 25bc292e5bac: Download complete [2023-04-13T07:17:19.070Z] 52dc419b0ee2: Verifying Checksum [2023-04-13T07:17:19.070Z] 52dc419b0ee2: Download complete [2023-04-13T07:17:19.070Z] 4657fd5d0bcf: Download complete [2023-04-13T07:17:19.070Z] df9b9388f04a: Verifying Checksum [2023-04-13T07:17:19.070Z] df9b9388f04a: Download complete [2023-04-13T07:17:19.070Z] 6ad1cebc031e: Verifying Checksum [2023-04-13T07:17:19.070Z] 6ad1cebc031e: Download complete [2023-04-13T07:17:19.328Z] df9b9388f04a: Pull complete [2023-04-13T07:17:19.328Z] 52dc419b0ee2: Pull complete [2023-04-13T07:17:19.328Z] 25bc292e5bac: Pull complete [2023-04-13T07:17:19.896Z] 114826534d7a: Verifying Checksum [2023-04-13T07:17:19.896Z] 114826534d7a: Download complete [2023-04-13T07:17:19.896Z] 8a3aa393b2d8: Verifying Checksum [2023-04-13T07:17:19.896Z] 8a3aa393b2d8: Download complete [2023-04-13T07:17:23.178Z] 114826534d7a: Pull complete [2023-04-13T07:17:23.178Z] 4657fd5d0bcf: Pull complete [2023-04-13T07:17:23.178Z] 6ad1cebc031e: Pull complete [2023-04-13T07:17:25.707Z] 8a3aa393b2d8: Pull complete [2023-04-13T07:17:25.707Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-04-13T07:17:25.707Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-13T07:17:25.707Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:17:25.787Z] prd-ubuntu20.04-docker-8c-8g-8408 does not seem to be running inside a container [2023-04-13T07:17:25.828Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-04-13T07:17:27.894Z] $ docker top 80274d67cfdacb3391eb11adc73ade18430b20b4ad3dd92817bb2d562d9e3847 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-04-13T07:17:27.949Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-04-13T07:17:28.226Z] + set -o pipefail [2023-04-13T07:17:28.226Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-04-13T07:17:34.789Z] [2023-04-13T07:17:34.789Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-04-13T07:17:34.789Z] [2023-04-13T07:17:34.789Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/6ce1504c-5de4-46ea-a6f7-e486f1ef4767 [2023-04-13T07:17:34.789Z] [2023-04-13T07:17:34.789Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-04-13T07:17:34.789Z] [2023-04-13T07:17:34.789Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-04-13T07:17:34.789Z] [2023-04-13T07:17:34.789Z] [2023-04-13T07:17:34.789Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-04-13T07:17:34.789Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-04-13T07:17:34.789Z] More details here: https://snyk.co/ue1NS [2023-04-13T07:17:34.789Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-04-13T07:17:34.789Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-04-13T07:17:34.811Z] $ docker stop --time=1 80274d67cfdacb3391eb11adc73ade18430b20b4ad3dd92817bb2d562d9e3847 [2023-04-13T07:17:37.015Z] $ docker rm -f --volumes 80274d67cfdacb3391eb11adc73ade18430b20b4ad3dd92817bb2d562d9e3847 [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-04-13T07:17:37.717Z] + git log --format=format:%s -1 55987cd457f5f1a930ff560b78c1acf5044fc241 [Pipeline] sh [2023-04-13T07:17:38.008Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-13T07:17:38.008Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:17:38.304Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T07:17:38.305Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:17:38.370Z] prd-ubuntu20.04-docker-8c-8g-8408 does not seem to be running inside a container [2023-04-13T07:17:38.415Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-13T07:17:38.851Z] $ docker top 46e458c92a84531d055ed5b6f17ac8466146b0a4783bcb9e5f9ed627de559d6e -eo pid,comm [2023-04-13T07:17:38.894Z] 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-04-13T07:17:38.894Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-13T07:17:38.934Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T07:17:38.934Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T07:17:39.049Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T07:17:39.063Z] $ docker exec 46e458c92a84531d055ed5b6f17ac8466146b0a4783bcb9e5f9ed627de559d6e ssh-agent [2023-04-13T07:17:39.161Z] SSH_AUTH_SOCK=/tmp/ssh-35PQwvyO6Fri/agent.32 [2023-04-13T07:17:39.161Z] SSH_AGENT_PID=39 [2023-04-13T07:17:39.166Z] Running ssh-add (command line suppressed) [2023-04-13T07:17:39.273Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15407740180839184825.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15407740180839184825.key) [2023-04-13T07:17:39.274Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T07:17:39.558Z] + git semver tag [2023-04-13T07:17:39.817Z] 2023-04-13 07:17:39,731 [run_tag] DEBUG tag force:False [2023-04-13T07:17:39.817Z] 2023-04-13 07:17:39,731 [check_head_tag] DEBUG check head tag [2023-04-13T07:17:39.817Z] 2023-04-13 07:17:39,733 [execute] INFO git cat-file --batch-check [2023-04-13T07:17:39.817Z] 2023-04-13 07:17:39,733 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-04-13T07:17:39.817Z] 2023-04-13 07:17:39,737 [execute] INFO git cat-file --batch [2023-04-13T07:17:39.817Z] 2023-04-13 07:17:39,738 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-04-13T07:17:39.817Z] 2023-04-13 07:17:39,759 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-13T07:17:39.817Z] 2023-04-13 07:17:39,759 [execute] INFO git tag -a v3.0.0-dev.26 -m v3.0.0-dev.26 [2023-04-13T07:17:39.817Z] 2023-04-13 07:17:39,759 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.26', '-m', 'v3.0.0-dev.26'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-04-13T07:17:39.817Z] 2023-04-13 07:17:39,764 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-13T07:17:39.817Z] 3.0.0-dev.26 [Pipeline] } [2023-04-13T07:17:39.837Z] $ docker exec --env ******** --env ******** 46e458c92a84531d055ed5b6f17ac8466146b0a4783bcb9e5f9ed627de559d6e ssh-agent -k [2023-04-13T07:17:39.935Z] unset SSH_AUTH_SOCK; [2023-04-13T07:17:39.935Z] unset SSH_AGENT_PID; [2023-04-13T07:17:39.935Z] echo Agent pid 39 killed; [2023-04-13T07:17:39.931Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-13T07:17:40.238Z] + git semver [Pipeline] } [2023-04-13T07:17:40.518Z] $ docker stop --time=1 46e458c92a84531d055ed5b6f17ac8466146b0a4783bcb9e5f9ed627de559d6e [2023-04-13T07:17:41.826Z] $ docker rm -f --volumes 46e458c92a84531d055ed5b6f17ac8466146b0a4783bcb9e5f9ed627de559d6e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:17:42.204Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-13T07:17:42.204Z] [2023-04-13T07:17:42.204Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:17:42.506Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-13T07:17:42.506Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-04-13T07:17:42.506Z] ab5ef0e58194: Pulling fs layer [2023-04-13T07:17:42.506Z] 9712f1f96733: Pulling fs layer [2023-04-13T07:17:42.506Z] 63f879dbbcfc: Pulling fs layer [2023-04-13T07:17:42.506Z] 0d9ebad4ef96: Pulling fs layer [2023-04-13T07:17:42.506Z] e9a5061849ea: Pulling fs layer [2023-04-13T07:17:42.506Z] d747dcd14b5f: Pulling fs layer [2023-04-13T07:17:42.506Z] 2de7ff778b66: Pulling fs layer [2023-04-13T07:17:42.506Z] 0d9ebad4ef96: Waiting [2023-04-13T07:17:42.506Z] e9a5061849ea: Waiting [2023-04-13T07:17:42.506Z] d747dcd14b5f: Waiting [2023-04-13T07:17:42.506Z] 2de7ff778b66: Waiting [2023-04-13T07:17:42.506Z] 9712f1f96733: Download complete [2023-04-13T07:17:42.765Z] 63f879dbbcfc: Verifying Checksum [2023-04-13T07:17:42.765Z] 63f879dbbcfc: Download complete [2023-04-13T07:17:43.022Z] e9a5061849ea: Verifying Checksum [2023-04-13T07:17:43.022Z] e9a5061849ea: Download complete [2023-04-13T07:17:43.022Z] d747dcd14b5f: Verifying Checksum [2023-04-13T07:17:43.022Z] d747dcd14b5f: Download complete [2023-04-13T07:17:43.022Z] ab5ef0e58194: Verifying Checksum [2023-04-13T07:17:43.022Z] ab5ef0e58194: Download complete [2023-04-13T07:17:43.022Z] 0d9ebad4ef96: Verifying Checksum [2023-04-13T07:17:43.022Z] 0d9ebad4ef96: Download complete [2023-04-13T07:17:43.022Z] 2de7ff778b66: Verifying Checksum [2023-04-13T07:17:43.022Z] 2de7ff778b66: Download complete [2023-04-13T07:17:45.548Z] ab5ef0e58194: Pull complete [2023-04-13T07:17:45.805Z] 9712f1f96733: Pull complete [2023-04-13T07:17:46.370Z] 63f879dbbcfc: Pull complete [2023-04-13T07:17:50.556Z] 0d9ebad4ef96: Pull complete [2023-04-13T07:17:50.556Z] e9a5061849ea: Pull complete [2023-04-13T07:17:50.556Z] d747dcd14b5f: Pull complete [2023-04-13T07:17:51.122Z] 2de7ff778b66: Pull complete [2023-04-13T07:17:51.122Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-04-13T07:17:51.122Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-13T07:17:51.122Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:17:51.196Z] prd-ubuntu20.04-docker-8c-8g-8408 does not seem to be running inside a container [2023-04-13T07:17:51.237Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-04-13T07:17:53.553Z] $ docker top 6ab20a7b9da4bd4d20c2329479b74f060377e3df741ab738036a6eb3685a23bf -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-04-13T07:17:53.608Z] provisioning config files... [2023-04-13T07:17:53.614Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18088968128364116097tmp [2023-04-13T07:17:53.622Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13045589666372828401tmp [2023-04-13T07:17:53.631Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4583540390763227888tmp [Pipeline] { [Pipeline] echo [2023-04-13T07:17:53.645Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:17:53.924Z] ---> sigul-configuration.sh [2023-04-13T07:17:53.924Z] gpg: directory `/root/.gnupg' created [2023-04-13T07:17:53.924Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-04-13T07:17:53.924Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-04-13T07:17:53.924Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-04-13T07:17:53.924Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-04-13T07:17:53.924Z] gpg: CAST5 encrypted data [2023-04-13T07:17:53.924Z] gpg: encrypted with 1 passphrase [2023-04-13T07:17:53.924Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-04-13T07:17:54.211Z] + mkdir /home/jenkins [2023-04-13T07:17:54.211Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-04-13T07:17:54.496Z] + 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-04-13T07:17:54.504Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:17:54.786Z] ---> sigul-install.sh [2023-04-13T07:17:54.786Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-04-13T07:17:55.069Z] + git tag --list [2023-04-13T07:17:55.069Z] 0.7.1 [2023-04-13T07:17:55.069Z] v1.0.0 [2023-04-13T07:17:55.069Z] v1.1.0 [2023-04-13T07:17:55.069Z] v1.1.1 [2023-04-13T07:17:55.069Z] v1.2.2 [2023-04-13T07:17:55.069Z] v1.3.0 [2023-04-13T07:17:55.069Z] v1.3.1 [2023-04-13T07:17:55.069Z] v2.0.0 [2023-04-13T07:17:55.069Z] v2.1.0 [2023-04-13T07:17:55.069Z] v2.1.1 [2023-04-13T07:17:55.069Z] v2.1.1-dev.1 [2023-04-13T07:17:55.069Z] v2.1.1-dev.2 [2023-04-13T07:17:55.069Z] v2.1.1-dev.3 [2023-04-13T07:17:55.069Z] v2.2.0 [2023-04-13T07:17:55.069Z] v2.2.1-dev.1 [2023-04-13T07:17:55.069Z] v2.2.1-dev.2 [2023-04-13T07:17:55.069Z] v2.2.1-dev.3 [2023-04-13T07:17:55.069Z] v2.2.1-dev.4 [2023-04-13T07:17:55.069Z] v2.2.1-dev.5 [2023-04-13T07:17:55.069Z] v2.2.1-dev.6 [2023-04-13T07:17:55.069Z] v2.2.1-dev.7 [2023-04-13T07:17:55.069Z] v2.3.0 [2023-04-13T07:17:55.069Z] v2.3.0-dev.10 [2023-04-13T07:17:55.069Z] v2.3.0-dev.11 [2023-04-13T07:17:55.069Z] v2.3.0-dev.12 [2023-04-13T07:17:55.069Z] v2.3.0-dev.13 [2023-04-13T07:17:55.069Z] v2.3.0-dev.14 [2023-04-13T07:17:55.069Z] v2.3.0-dev.15 [2023-04-13T07:17:55.069Z] v2.3.0-dev.16 [2023-04-13T07:17:55.069Z] v2.3.0-dev.17 [2023-04-13T07:17:55.069Z] v2.3.0-dev.18 [2023-04-13T07:17:55.069Z] v2.3.0-dev.19 [2023-04-13T07:17:55.069Z] v2.3.0-dev.20 [2023-04-13T07:17:55.069Z] v2.3.0-dev.21 [2023-04-13T07:17:55.069Z] v2.3.0-dev.22 [2023-04-13T07:17:55.069Z] v2.3.0-dev.23 [2023-04-13T07:17:55.069Z] v2.3.0-dev.24 [2023-04-13T07:17:55.069Z] v2.3.0-dev.25 [2023-04-13T07:17:55.069Z] v2.3.0-dev.7 [2023-04-13T07:17:55.069Z] v2.3.0-dev.8 [2023-04-13T07:17:55.069Z] v2.3.0-dev.9 [2023-04-13T07:17:55.069Z] v3.0.0-dev.1 [2023-04-13T07:17:55.069Z] v3.0.0-dev.10 [2023-04-13T07:17:55.069Z] v3.0.0-dev.11 [2023-04-13T07:17:55.069Z] v3.0.0-dev.12 [2023-04-13T07:17:55.069Z] v3.0.0-dev.13 [2023-04-13T07:17:55.069Z] v3.0.0-dev.14 [2023-04-13T07:17:55.069Z] v3.0.0-dev.15 [2023-04-13T07:17:55.069Z] v3.0.0-dev.16 [2023-04-13T07:17:55.069Z] v3.0.0-dev.17 [2023-04-13T07:17:55.069Z] v3.0.0-dev.18 [2023-04-13T07:17:55.069Z] v3.0.0-dev.19 [2023-04-13T07:17:55.069Z] v3.0.0-dev.2 [2023-04-13T07:17:55.069Z] v3.0.0-dev.20 [2023-04-13T07:17:55.069Z] v3.0.0-dev.21 [2023-04-13T07:17:55.069Z] v3.0.0-dev.22 [2023-04-13T07:17:55.069Z] v3.0.0-dev.23 [2023-04-13T07:17:55.069Z] v3.0.0-dev.24 [2023-04-13T07:17:55.069Z] v3.0.0-dev.25 [2023-04-13T07:17:55.069Z] v3.0.0-dev.26 [2023-04-13T07:17:55.069Z] v3.0.0-dev.3 [2023-04-13T07:17:55.069Z] v3.0.0-dev.4 [2023-04-13T07:17:55.069Z] v3.0.0-dev.5 [2023-04-13T07:17:55.069Z] v3.0.0-dev.6 [2023-04-13T07:17:55.069Z] v3.0.0-dev.7 [2023-04-13T07:17:55.069Z] v3.0.0-dev.8 [2023-04-13T07:17:55.069Z] v3.0.0-dev.9 [Pipeline] sh [2023-04-13T07:17:55.356Z] + lftools sign git-tag v3.0.0-dev.26 [2023-04-13T07:17:55.923Z] Signing Git tag with Sigul... [2023-04-13T07:17:55.923Z] Signing v3.0.0-dev.26 [Pipeline] echo [2023-04-13T07:17:56.190Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:17:56.475Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-04-13T07:17:56.482Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-04-13T07:17:56.513Z] $ docker stop --time=1 6ab20a7b9da4bd4d20c2329479b74f060377e3df741ab738036a6eb3685a23bf [2023-04-13T07:17:57.818Z] $ docker rm -f --volumes 6ab20a7b9da4bd4d20c2329479b74f060377e3df741ab738036a6eb3685a23bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-04-13T07:17:58.213Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-13T07:17:58.214Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:17:58.508Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T07:17:58.509Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:17:58.577Z] prd-ubuntu20.04-docker-8c-8g-8408 does not seem to be running inside a container [2023-04-13T07:17:58.619Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-13T07:17:58.965Z] $ docker top 89e6b19aa25f2362d38b3c8a708b4df65cc2905ccecf3a03e20ce7d3ba382a26 -eo pid,comm [2023-04-13T07:17:59.001Z] 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-04-13T07:17:59.001Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-13T07:17:59.046Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T07:17:59.047Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T07:17:59.153Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T07:17:59.167Z] $ docker exec 89e6b19aa25f2362d38b3c8a708b4df65cc2905ccecf3a03e20ce7d3ba382a26 ssh-agent [2023-04-13T07:17:59.274Z] SSH_AUTH_SOCK=/tmp/ssh-S5fr3KtulLOy/agent.33 [2023-04-13T07:17:59.274Z] SSH_AGENT_PID=39 [2023-04-13T07:17:59.279Z] Running ssh-add (command line suppressed) [2023-04-13T07:17:59.390Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11033772043769655276.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11033772043769655276.key) [2023-04-13T07:17:59.390Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T07:17:59.673Z] + git semver bump pre [2023-04-13T07:17:59.932Z] 2023-04-13 07:17:59,847 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-13T07:17:59.932Z] 2023-04-13 07:17:59,847 [bump_version] DEBUG bumping version:3.0.0-dev.26 on axis:pre with prefix:dev [2023-04-13T07:17:59.932Z] 2023-04-13 07:17:59,847 [bump_version] DEBUG bumped version:3.0.0-dev.27 [2023-04-13T07:17:59.932Z] 2023-04-13 07:17:59,847 [write_version] DEBUG write version:3.0.0-dev.27 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-04-13T07:17:59.932Z] 2023-04-13 07:17:59,848 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-13T07:17:59.932Z] 2023-04-13 07:17:59,848 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-13T07:17:59.932Z] 2023-04-13 07:17:59,850 [execute] INFO git cat-file --batch-check [2023-04-13T07:17:59.932Z] 2023-04-13 07:17:59,850 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-13T07:17:59.932Z] 2023-04-13 07:17:59,855 [execute] INFO git cat-file --batch [2023-04-13T07:17:59.932Z] 2023-04-13 07:17:59,856 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-13T07:17:59.932Z] 2023-04-13 07:17:59,859 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-13T07:17:59.932Z] 3.0.0-dev.27 [Pipeline] } [2023-04-13T07:17:59.952Z] $ docker exec --env ******** --env ******** 89e6b19aa25f2362d38b3c8a708b4df65cc2905ccecf3a03e20ce7d3ba382a26 ssh-agent -k [2023-04-13T07:18:00.053Z] unset SSH_AUTH_SOCK; [2023-04-13T07:18:00.053Z] unset SSH_AGENT_PID; [2023-04-13T07:18:00.053Z] echo Agent pid 39 killed; [2023-04-13T07:18:00.052Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-13T07:18:00.351Z] + git semver [Pipeline] } [2023-04-13T07:18:00.634Z] $ docker stop --time=1 89e6b19aa25f2362d38b3c8a708b4df65cc2905ccecf3a03e20ce7d3ba382a26 [2023-04-13T07:18:01.909Z] $ docker rm -f --volumes 89e6b19aa25f2362d38b3c8a708b4df65cc2905ccecf3a03e20ce7d3ba382a26 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T07:18:02.228Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-13T07:18:02.228Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:18:02.522Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T07:18:02.522Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:18:02.590Z] prd-ubuntu20.04-docker-8c-8g-8408 does not seem to be running inside a container [2023-04-13T07:18:02.632Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-13T07:18:02.958Z] $ docker top fc502bf1718cfcadb0b11a986b14f1531c505d0274a7328ef0e7c453f9567794 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-13T07:18:03.031Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T07:18:03.031Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T07:18:03.138Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T07:18:03.152Z] $ docker exec fc502bf1718cfcadb0b11a986b14f1531c505d0274a7328ef0e7c453f9567794 ssh-agent [2023-04-13T07:18:03.240Z] SSH_AUTH_SOCK=/tmp/ssh-vPRyrOkxheJq/agent.32 [2023-04-13T07:18:03.240Z] SSH_AGENT_PID=38 [2023-04-13T07:18:03.245Z] Running ssh-add (command line suppressed) [2023-04-13T07:18:03.355Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6087686801774953384.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6087686801774953384.key) [2023-04-13T07:18:03.356Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T07:18:03.637Z] + git semver push [2023-04-13T07:18:03.895Z] 2023-04-13 07:18:03,820 [run_push] DEBUG push [2023-04-13T07:18:03.895Z] 2023-04-13 07:18:03,821 [execute] INFO git cat-file --batch-check [2023-04-13T07:18:03.895Z] 2023-04-13 07:18:03,821 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-13T07:18:03.895Z] 2023-04-13 07:18:03,825 [execute] INFO git rev-list b5c80d909bfbec9d26265b15ff0174c3df9269a5 -- [2023-04-13T07:18:03.895Z] 2023-04-13 07:18:03,825 [execute] DEBUG Popen(['git', 'rev-list', 'b5c80d909bfbec9d26265b15ff0174c3df9269a5', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-13T07:18:03.895Z] 2023-04-13 07:18:03,834 [execute] INFO git fetch -v origin [2023-04-13T07:18:03.895Z] 2023-04-13 07:18:03,834 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-04-13T07:18:04.462Z] 2023-04-13 07:18:04,334 [run_push] DEBUG no remote changes detected [2023-04-13T07:18:04.462Z] 2023-04-13 07:18:04,334 [execute] INFO git push origin semver [2023-04-13T07:18:04.462Z] 2023-04-13 07:18:04,335 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-13T07:18:05.395Z] 2023-04-13 07:18:05,073 [run_push] DEBUG push all version tags [2023-04-13T07:18:05.395Z] 2023-04-13 07:18:05,073 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-04-13T07:18:05.395Z] 2023-04-13 07:18:05,074 [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-04-13T07:18:05.964Z] 2023-04-13 07:18:05,889 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-13T07:18:05.964Z] 3.0.0-dev.27 [Pipeline] } [2023-04-13T07:18:05.985Z] $ docker exec --env ******** --env ******** fc502bf1718cfcadb0b11a986b14f1531c505d0274a7328ef0e7c453f9567794 ssh-agent -k [2023-04-13T07:18:06.088Z] unset SSH_AUTH_SOCK; [2023-04-13T07:18:06.088Z] unset SSH_AGENT_PID; [2023-04-13T07:18:06.088Z] echo Agent pid 38 killed; [2023-04-13T07:18:06.087Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-13T07:18:06.383Z] + git semver [Pipeline] } [2023-04-13T07:18:06.666Z] $ docker stop --time=1 fc502bf1718cfcadb0b11a986b14f1531c505d0274a7328ef0e7c453f9567794 [2023-04-13T07:18:07.942Z] $ docker rm -f --volumes fc502bf1718cfcadb0b11a986b14f1531c505d0274a7328ef0e7c453f9567794 [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-04-13T07:18:08.487Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-04-13T07:18:08.487Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-04-13T07:18:08.487Z] total 16 [2023-04-13T07:18:08.487Z] drwxr-xr-x 3 root root 4096 Apr 13 07:06 . [2023-04-13T07:18:08.487Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 07:17 .. [2023-04-13T07:18:08.487Z] drwxr-xr-x 2 root root 4096 Apr 13 07:06 cost [2023-04-13T07:18:08.487Z] -rw-r--r-- 1 root root 87 Apr 13 07:06 cost.csv [2023-04-13T07:18:08.487Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-04-13T07:18:08.487Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-04-13T07:18:08.487Z] total 16 [2023-04-13T07:18:08.487Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 07:06 . [2023-04-13T07:18:08.487Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 07:17 .. [2023-04-13T07:18:08.487Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 07:06 cost [2023-04-13T07:18:08.487Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 13 07:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:18:08.812Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:18:09.747Z] ---> package-listing.sh [2023-04-13T07:18:09.747Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-13T07:18:09.747Z] ++ facter osfamily [2023-04-13T07:18:09.747Z] + OS_FAMILY=debian [2023-04-13T07:18:09.747Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-04-13T07:18:09.747Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-13T07:18:09.747Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-13T07:18:09.747Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-13T07:18:09.747Z] + PACKAGES=/tmp/packages_start.txt [2023-04-13T07:18:09.747Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-04-13T07:18:09.747Z] + PACKAGES=/tmp/packages_end.txt [2023-04-13T07:18:09.747Z] + case "${OS_FAMILY}" in [2023-04-13T07:18:09.747Z] + dpkg -l [2023-04-13T07:18:09.747Z] + grep '^ii' [2023-04-13T07:18:10.008Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-13T07:18:10.008Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-13T07:18:10.008Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-13T07:18:10.008Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-04-13T07:18:10.008Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-04-13T07:18:10.008Z] + 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-04-13T07:18:10.018Z] 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-04-13T07:18:10.292Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:18:10.848Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T07:18:10.848Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:18:10.916Z] prd-ubuntu20.04-docker-8c-8g-8408 does not seem to be running inside a container [2023-04-13T07:18:10.954Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-13T07:18:11.169Z] $ docker top a3cac17d02508812e8ca5a21cb4171c0964d1e4f6c464aa0ad8744c620299988 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T07:18:11.496Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-13T07:18:11.778Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-13T07:18:12.064Z] + ls /var/log/sa-host [2023-04-13T07:18:12.064Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T07:18:12.129Z] provisioning config files... [2023-04-13T07:18:12.138Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13620047428782303791tmp [Pipeline] { [Pipeline] echo [2023-04-13T07:18:12.151Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:18:12.429Z] ---> create-netrc.sh [Pipeline] } [2023-04-13T07:18:12.437Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:18:12.750Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-13T07:18:12.759Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:18:13.040Z] ---> sudo-logs.sh [2023-04-13T07:18:13.040Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-13T07:18:13.070Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:18:13.354Z] ---> job-cost.sh [2023-04-13T07:18:13.354Z] lf-activate-venv: SKIPPING [2023-04-13T07:18:13.354Z] DEBUG: total: 0.2199999988079071 [2023-04-13T07:18:13.354Z] INFO: Retrieving Stack Cost... [2023-04-13T07:18:13.612Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-13T07:18:14.181Z] INFO: Archiving Costs [Pipeline] echo [2023-04-13T07:18:14.193Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:18:14.476Z] ---> logs-deploy.sh [2023-04-13T07:18:14.477Z] lf-activate-venv: SKIPPING [2023-04-13T07:18:14.477Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/92 [2023-04-13T07:18:14.477Z] INFO: archiving workspace using pattern(s): [2023-04-13T07:18:15.413Z] Archives upload complete. [2023-04-13T07:18:15.413Z] INFO: archiving logs to Nexus