Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 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-ssh15469828707499271275.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh12087730458610094839.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh5122943218245339041.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh13206145570201020813.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-ssh17762848887098582664.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2746 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 > 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 Avoid second fetch Checking out Revision bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 (main) Commit message: "refactor(snap)!: Drop the support for legacy snap env options (#400)" > git config core.sparsecheckout # timeout=10 > git checkout -f bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 # timeout=10 > git rev-list --no-walk 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-17T17:31:06.773Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-17T17:31:06.818Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-17T17:31:06.834Z] ========================================================= [2023-01-17T17:31:06.834Z] EdgeX Global Pipelines Version Info [2023-01-17T17:31:06.834Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:31:07.552Z] ------------------- [2023-01-17T17:31:07.552Z] stable info: [2023-01-17T17:31:07.552Z] ------------------- [2023-01-17T17:31:07.552Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-17T17:31:07.552Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-17T17:31:07.552Z] Message: update stable to v1.0.244 [2023-01-17T17:31:08.123Z] ------------------- [2023-01-17T17:31:08.123Z] experimental info: [2023-01-17T17:31:08.123Z] ------------------- [2023-01-17T17:31:08.124Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-17T17:31:08.124Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-17T17:31:08.124Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-17T17:31:08.324Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-01-17T17:31:08.336Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-01-17T17:31:08.350Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-17T17:31:08.361Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-17T17:31:08.373Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-17T17:31:08.387Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-17T17:31:08.397Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-17T17:31:08.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-17T17:31:08.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-17T17:31:08.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-17T17:31:08.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-17T17:31:08.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-01-17T17:31:08.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-17T17:31:08.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-17T17:31:08.496Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-17T17:31:08.508Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-17T17:31:08.529Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-17T17:31:08.544Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-17T17:31:08.558Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-17T17:31:08.568Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-17T17:31:08.579Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-17T17:31:08.588Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-17T17:31:08.596Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-17T17:31:08.605Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-17T17:31:08.614Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-17T17:31:08.623Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-17T17:31:08.632Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-17T17:31:08.640Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-01-17T17:31:08.650Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-01-17T17:31:08.659Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-01-17T17:31:08.667Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [Pipeline] echo [2023-01-17T17:31:08.676Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bb2f4bd [Pipeline] echo [2023-01-17T17:31:08.685Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T17:31:08.719Z] provisioning config files... [2023-01-17T17:31:08.734Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9429780039124849322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:31:09.037Z] ---> docker-login.sh [2023-01-17T17:31:09.037Z] nexus3.edgexfoundry.org:10001 [2023-01-17T17:31:09.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:31:09.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:31:09.297Z] Configure a credential helper to remove this warning. See [2023-01-17T17:31:09.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:31:09.297Z] [2023-01-17T17:31:09.297Z] Login Succeeded [2023-01-17T17:31:09.297Z] nexus3.edgexfoundry.org:10002 [2023-01-17T17:31:09.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:31:09.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:31:09.297Z] Configure a credential helper to remove this warning. See [2023-01-17T17:31:09.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:31:09.297Z] [2023-01-17T17:31:09.297Z] Login Succeeded [2023-01-17T17:31:09.297Z] nexus3.edgexfoundry.org:10003 [2023-01-17T17:31:09.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:31:09.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:31:09.572Z] Configure a credential helper to remove this warning. See [2023-01-17T17:31:09.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:31:09.572Z] [2023-01-17T17:31:09.572Z] Login Succeeded [2023-01-17T17:31:09.572Z] nexus3.edgexfoundry.org:10004 [2023-01-17T17:31:09.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:31:09.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:31:09.572Z] Configure a credential helper to remove this warning. See [2023-01-17T17:31:09.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:31:09.572Z] [2023-01-17T17:31:09.572Z] Login Succeeded [2023-01-17T17:31:09.572Z] docker.io [2023-01-17T17:31:09.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:31:09.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:31:09.833Z] Configure a credential helper to remove this warning. See [2023-01-17T17:31:09.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:31:09.833Z] [2023-01-17T17:31:09.833Z] Login Succeeded [2023-01-17T17:31:10.092Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T17:31:10.100Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-17T17:31:10.485Z] + git rev-list -1 --merges bb2f4bd64c3941eb86d6cd8a035d25878e21dc53~1..bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [Pipeline] echo [2023-01-17T17:31:10.539Z] -----------> git rev-list -1 --merges bb2f4bd64c3941eb86d6cd8a035d25878e21dc53~1..bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [false] [Pipeline] sh [2023-01-17T17:31:10.834Z] + git log --format=format:%s -1 bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [Pipeline] echo [2023-01-17T17:31:10.861Z] ========================================================= [2023-01-17T17:31:10.861Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-17T17:31:10.861Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-17T17:31:11.192Z] + git log --format=format:%s -1 bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [Pipeline] echo [2023-01-17T17:31:11.202Z] [semverPrep] GIT_COMMIT: bb2f4bd64c3941eb86d6cd8a035d25878e21dc53, Commit Message: refactor(snap)!: Drop the support for legacy snap env options (#400) [Pipeline] echo [2023-01-17T17:31:11.212Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-17T17:31:11.561Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T17:31:11.561Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-17T17:31:11.561Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-17T17:31:11.561Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-17T17:31:11.561Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-17T17:31:11.561Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-17T17:31:11.561Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:31:11.902Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:31:11.902Z] [2023-01-17T17:31:11.902Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:31:12.216Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:31:12.216Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-17T17:31:12.216Z] b85a868b505f: Pulling fs layer [2023-01-17T17:31:12.216Z] e2be974225ed: Pulling fs layer [2023-01-17T17:31:12.216Z] 339a4e72a1f5: Pulling fs layer [2023-01-17T17:31:12.216Z] 988bab9f4d93: Pulling fs layer [2023-01-17T17:31:12.216Z] 1469e6f7b9e6: Pulling fs layer [2023-01-17T17:31:12.216Z] eaf3925da568: Pulling fs layer [2023-01-17T17:31:12.216Z] bab4dde63d76: Pulling fs layer [2023-01-17T17:31:12.216Z] bde34c3a00c8: Pulling fs layer [2023-01-17T17:31:12.216Z] b352a97aabf1: Pulling fs layer [2023-01-17T17:31:12.216Z] 4872d77fe225: Pulling fs layer [2023-01-17T17:31:12.216Z] 5851b861e8e6: Pulling fs layer [2023-01-17T17:31:12.216Z] bab4dde63d76: Waiting [2023-01-17T17:31:12.216Z] bde34c3a00c8: Waiting [2023-01-17T17:31:12.216Z] b352a97aabf1: Waiting [2023-01-17T17:31:12.216Z] 4872d77fe225: Waiting [2023-01-17T17:31:12.216Z] 5851b861e8e6: Waiting [2023-01-17T17:31:12.216Z] 988bab9f4d93: Waiting [2023-01-17T17:31:12.216Z] 1469e6f7b9e6: Waiting [2023-01-17T17:31:12.216Z] eaf3925da568: Waiting [2023-01-17T17:31:12.216Z] e2be974225ed: Download complete [2023-01-17T17:31:12.216Z] 988bab9f4d93: Verifying Checksum [2023-01-17T17:31:12.216Z] 988bab9f4d93: Download complete [2023-01-17T17:31:12.480Z] 1469e6f7b9e6: Verifying Checksum [2023-01-17T17:31:12.481Z] 1469e6f7b9e6: Download complete [2023-01-17T17:31:12.481Z] eaf3925da568: Verifying Checksum [2023-01-17T17:31:12.481Z] eaf3925da568: Download complete [2023-01-17T17:31:12.481Z] 339a4e72a1f5: Verifying Checksum [2023-01-17T17:31:12.481Z] 339a4e72a1f5: Download complete [2023-01-17T17:31:12.481Z] bde34c3a00c8: Verifying Checksum [2023-01-17T17:31:12.481Z] bde34c3a00c8: Download complete [2023-01-17T17:31:12.745Z] b352a97aabf1: Verifying Checksum [2023-01-17T17:31:12.745Z] b352a97aabf1: Download complete [2023-01-17T17:31:12.745Z] 4872d77fe225: Download complete [2023-01-17T17:31:12.745Z] 5851b861e8e6: Verifying Checksum [2023-01-17T17:31:12.745Z] 5851b861e8e6: Download complete [2023-01-17T17:31:12.745Z] b85a868b505f: Verifying Checksum [2023-01-17T17:31:12.745Z] b85a868b505f: Download complete [2023-01-17T17:31:13.007Z] bab4dde63d76: Verifying Checksum [2023-01-17T17:31:13.007Z] bab4dde63d76: Download complete [2023-01-17T17:31:14.421Z] b85a868b505f: Pull complete [2023-01-17T17:31:14.421Z] e2be974225ed: Pull complete [2023-01-17T17:31:14.991Z] 339a4e72a1f5: Pull complete [2023-01-17T17:31:14.991Z] 988bab9f4d93: Pull complete [2023-01-17T17:31:15.251Z] 1469e6f7b9e6: Pull complete [2023-01-17T17:31:15.251Z] eaf3925da568: Pull complete [2023-01-17T17:31:17.801Z] bab4dde63d76: Pull complete [2023-01-17T17:31:17.801Z] bde34c3a00c8: Pull complete [2023-01-17T17:31:17.801Z] b352a97aabf1: Pull complete [2023-01-17T17:31:17.801Z] 4872d77fe225: Pull complete [2023-01-17T17:31:17.801Z] 5851b861e8e6: Pull complete [2023-01-17T17:31:17.801Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-17T17:31:17.801Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:31:17.801Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:31:17.905Z] prd-ubuntu20.04-docker-8c-8g-2746 does not seem to be running inside a container [2023-01-17T17:31:17.948Z] $ 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-01-17T17:31:21.037Z] $ docker top 037096384accc7236b114ae75048aa2cafd7c1b6b05999850b3a48154ad08adf -eo pid,comm [2023-01-17T17:31:21.090Z] 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-01-17T17:31:21.090Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T17:31:21.128Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T17:31:21.128Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T17:31:21.252Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T17:31:21.260Z] $ docker exec 037096384accc7236b114ae75048aa2cafd7c1b6b05999850b3a48154ad08adf ssh-agent [2023-01-17T17:31:21.366Z] SSH_AUTH_SOCK=/tmp/ssh-d1mPpf3Y360p/agent.32 [2023-01-17T17:31:21.366Z] SSH_AGENT_PID=38 [2023-01-17T17:31:21.373Z] Running ssh-add (command line suppressed) [2023-01-17T17:31:21.483Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13936475465992973809.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13936475465992973809.key) [2023-01-17T17:31:21.494Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T17:31:21.782Z] + git tag --points-at HEAD [Pipeline] } [2023-01-17T17:31:21.797Z] $ docker exec --env ******** --env ******** 037096384accc7236b114ae75048aa2cafd7c1b6b05999850b3a48154ad08adf ssh-agent -k [2023-01-17T17:31:21.901Z] unset SSH_AUTH_SOCK; [2023-01-17T17:31:21.902Z] unset SSH_AGENT_PID; [2023-01-17T17:31:21.902Z] echo Agent pid 38 killed; [2023-01-17T17:31:21.909Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-17T17:31:21.937Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T17:31:21.937Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T17:31:22.052Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T17:31:22.059Z] $ docker exec 037096384accc7236b114ae75048aa2cafd7c1b6b05999850b3a48154ad08adf ssh-agent [2023-01-17T17:31:22.174Z] SSH_AUTH_SOCK=/tmp/ssh-PtGqMLEuCRBn/agent.70 [2023-01-17T17:31:22.174Z] SSH_AGENT_PID=76 [2023-01-17T17:31:22.179Z] Running ssh-add (command line suppressed) [2023-01-17T17:31:22.283Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6498000954192926773.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6498000954192926773.key) [2023-01-17T17:31:22.293Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T17:31:22.579Z] + git semver init [2023-01-17T17:31:22.839Z] 2023-01-17 17:31:22,765 [run_init] DEBUG init version:0.0.0 force:False [2023-01-17T17:31:22.839Z] 2023-01-17 17:31:22,766 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-01-17T17:31:22.839Z] 2023-01-17 17:31:22,766 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-01-17T17:31:22.839Z] 2023-01-17 17:31:22,767 [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-01-17T17:31:23.782Z] 2023-01-17 17:31:23,661 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-01-17T17:31:23.782Z] 2023-01-17 17:31:23,662 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-01-17T17:31:23.782Z] 2023-01-17 17:31:23,662 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-17T17:31:23.782Z] 2023-01-17 17:31:23,662 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-17T17:31:23.782Z] 3.0.0-dev.6 [Pipeline] } [2023-01-17T17:31:23.795Z] $ docker exec --env ******** --env ******** 037096384accc7236b114ae75048aa2cafd7c1b6b05999850b3a48154ad08adf ssh-agent -k [2023-01-17T17:31:23.909Z] unset SSH_AUTH_SOCK; [2023-01-17T17:31:23.910Z] unset SSH_AGENT_PID; [2023-01-17T17:31:23.910Z] echo Agent pid 76 killed; [2023-01-17T17:31:23.921Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T17:31:24.221Z] + git semver [Pipeline] } [2023-01-17T17:31:24.499Z] $ docker stop --time=1 037096384accc7236b114ae75048aa2cafd7c1b6b05999850b3a48154ad08adf [2023-01-17T17:31:25.804Z] $ docker rm -f --volumes 037096384accc7236b114ae75048aa2cafd7c1b6b05999850b3a48154ad08adf [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-17T17:31:26.131Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-17T17:31:26.372Z] Stashed 1 file(s) [Pipeline] echo [2023-01-17T17:31:26.375Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.6 [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-01-17T17:31:26.512Z] provisioning config files... [2023-01-17T17:31:26.521Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8479829465120783413tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:31:26.817Z] ---> docker-login.sh [2023-01-17T17:31:26.817Z] nexus3.edgexfoundry.org:10001 [2023-01-17T17:31:26.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:31:26.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:31:26.817Z] Configure a credential helper to remove this warning. See [2023-01-17T17:31:26.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:31:26.817Z] [2023-01-17T17:31:26.817Z] Login Succeeded [2023-01-17T17:31:26.817Z] nexus3.edgexfoundry.org:10002 [2023-01-17T17:31:26.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:31:26.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:31:26.817Z] Configure a credential helper to remove this warning. See [2023-01-17T17:31:26.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:31:26.817Z] [2023-01-17T17:31:26.817Z] Login Succeeded [2023-01-17T17:31:26.817Z] nexus3.edgexfoundry.org:10003 [2023-01-17T17:31:27.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:31:27.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:31:27.077Z] Configure a credential helper to remove this warning. See [2023-01-17T17:31:27.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:31:27.077Z] [2023-01-17T17:31:27.077Z] Login Succeeded [2023-01-17T17:31:27.078Z] nexus3.edgexfoundry.org:10004 [2023-01-17T17:31:27.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:31:27.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:31:27.078Z] Configure a credential helper to remove this warning. See [2023-01-17T17:31:27.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:31:27.078Z] [2023-01-17T17:31:27.078Z] Login Succeeded [2023-01-17T17:31:27.078Z] docker.io [2023-01-17T17:31:27.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:31:27.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:31:27.595Z] Configure a credential helper to remove this warning. See [2023-01-17T17:31:27.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:31:27.595Z] [2023-01-17T17:31:27.595Z] Login Succeeded [2023-01-17T17:31:27.595Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T17:31:27.601Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-17T17:31:27.661Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:31:27.673Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:31:27.680Z] ========================================================= [2023-01-17T17:31:27.680Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-17T17:31:27.680Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:31:27.988Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-17T17:31:27.988Z] Sending build context to Docker daemon 6.326MB [2023-01-17T17:31:27.988Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-17T17:31:27.988Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-17T17:31:27.988Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-17T17:31:27.988Z] 213ec9aee27d: Pulling fs layer [2023-01-17T17:31:27.988Z] 4583459ba037: Pulling fs layer [2023-01-17T17:31:27.988Z] 93c1e223e6f2: Pulling fs layer [2023-01-17T17:31:27.988Z] 53926ce57604: Pulling fs layer [2023-01-17T17:31:27.988Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-17T17:31:27.988Z] 22ff95d597cd: Pulling fs layer [2023-01-17T17:31:27.988Z] 12d6caf4c0d1: Pulling fs layer [2023-01-17T17:31:27.988Z] 96b7cbca73a9: Pulling fs layer [2023-01-17T17:31:27.988Z] a7acece74701: Pulling fs layer [2023-01-17T17:31:27.988Z] 53926ce57604: Waiting [2023-01-17T17:31:27.988Z] 22ff95d597cd: Waiting [2023-01-17T17:31:27.988Z] 12d6caf4c0d1: Waiting [2023-01-17T17:31:27.988Z] 96b7cbca73a9: Waiting [2023-01-17T17:31:27.988Z] 21b2b0c7a3f4: Waiting [2023-01-17T17:31:27.988Z] a7acece74701: Waiting [2023-01-17T17:31:27.988Z] 93c1e223e6f2: Verifying Checksum [2023-01-17T17:31:27.988Z] 93c1e223e6f2: Download complete [2023-01-17T17:31:28.250Z] 4583459ba037: Verifying Checksum [2023-01-17T17:31:28.250Z] 4583459ba037: Download complete [2023-01-17T17:31:28.250Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-17T17:31:28.250Z] 21b2b0c7a3f4: Download complete [2023-01-17T17:31:28.250Z] 22ff95d597cd: Verifying Checksum [2023-01-17T17:31:28.250Z] 22ff95d597cd: Download complete [2023-01-17T17:31:28.250Z] 213ec9aee27d: Verifying Checksum [2023-01-17T17:31:28.250Z] 12d6caf4c0d1: Verifying Checksum [2023-01-17T17:31:28.250Z] 12d6caf4c0d1: Download complete [2023-01-17T17:31:28.250Z] 213ec9aee27d: Pull complete [2023-01-17T17:31:28.519Z] 4583459ba037: Pull complete [2023-01-17T17:31:28.519Z] 93c1e223e6f2: Pull complete [2023-01-17T17:31:29.210Z] a7acece74701: Verifying Checksum [2023-01-17T17:31:29.210Z] a7acece74701: Download complete [2023-01-17T17:31:29.467Z] 53926ce57604: Verifying Checksum [2023-01-17T17:31:29.467Z] 53926ce57604: Download complete [2023-01-17T17:31:29.467Z] 96b7cbca73a9: Verifying Checksum [2023-01-17T17:31:29.467Z] 96b7cbca73a9: Download complete [2023-01-17T17:31:33.656Z] 53926ce57604: Pull complete [2023-01-17T17:31:33.656Z] 21b2b0c7a3f4: Pull complete [2023-01-17T17:31:33.656Z] 22ff95d597cd: Pull complete [2023-01-17T17:31:33.913Z] 12d6caf4c0d1: Pull complete [2023-01-17T17:31:36.443Z] 96b7cbca73a9: Pull complete [2023-01-17T17:31:36.700Z] a7acece74701: Pull complete [2023-01-17T17:31:36.700Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-17T17:31:36.700Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-17T17:31:36.959Z] ---> db6d94c90886 [2023-01-17T17:31:36.959Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-17T17:31:41.474Z] Still waiting to schedule task [2023-01-17T17:31:41.475Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2745’ [2023-01-17T17:31:43.611Z] ---> Running in 94b77294907a [2023-01-17T17:31:43.611Z] Removing intermediate container 94b77294907a [2023-01-17T17:31:43.611Z] ---> 3f4e16c48401 [2023-01-17T17:31:43.611Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-17T17:31:43.611Z] ---> Running in 8501c912aa47 [2023-01-17T17:31:43.611Z] Removing intermediate container 8501c912aa47 [2023-01-17T17:31:43.611Z] ---> bfd8ba36aece [2023-01-17T17:31:43.611Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-01-17T17:31:43.611Z] ---> Running in ad6a77cc3b22 [2023-01-17T17:31:43.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-17T17:31:43.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-17T17:31:43.611Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-17T17:31:43.611Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-17T17:31:43.869Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-17T17:31:43.869Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-17T17:31:43.869Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-17T17:31:43.869Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-17T17:31:43.869Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-17T17:31:43.869Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-17T17:31:43.869Z] Executing busybox-1.35.0-r17.trigger [2023-01-17T17:31:43.869Z] OK: 217 MiB in 59 packages [2023-01-17T17:31:44.442Z] Removing intermediate container ad6a77cc3b22 [2023-01-17T17:31:44.442Z] ---> a01952f6407e [2023-01-17T17:31:44.442Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-17T17:31:44.700Z] ---> Running in ea917b885976 [2023-01-17T17:31:44.700Z] Removing intermediate container ea917b885976 [2023-01-17T17:31:44.700Z] ---> d845f1924e49 [2023-01-17T17:31:44.700Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-17T17:31:44.700Z] ---> 91ab2fac1683 [2023-01-17T17:31:44.700Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-17T17:31:44.700Z] ---> Running in 37f0c5dbf527 [2023-01-17T17:32:16.904Z] Removing intermediate container 37f0c5dbf527 [2023-01-17T17:32:16.904Z] ---> bb7b0b70eff2 [2023-01-17T17:32:16.904Z] Step 9/10 : COPY . . [2023-01-17T17:32:17.471Z] ---> 133126add571 [2023-01-17T17:32:17.471Z] Step 10/10 : RUN ${MAKE} [2023-01-17T17:32:17.471Z] ---> Running in 4023e4bd5310 [2023-01-17T17:32:18.041Z] noop [2023-01-17T17:32:18.302Z] Removing intermediate container 4023e4bd5310 [2023-01-17T17:32:18.302Z] ---> af4c058c670c [2023-01-17T17:32:18.302Z] Successfully built af4c058c670c [2023-01-17T17:32:18.302Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:32:18.633Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-17T17:32:18.633Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:32:18.706Z] prd-ubuntu20.04-docker-8c-8g-2746 does not seem to be running inside a container [2023-01-17T17:32:18.742Z] $ 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-01-17T17:32:19.158Z] $ docker top 574a3436ee56b18fe3dd290252ec698890ecdb512a1a152c4d8cf27ccfdea907 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T17:32:19.516Z] + go version [2023-01-17T17:32:19.516Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-17T17:32:19.532Z] $ docker stop --time=1 574a3436ee56b18fe3dd290252ec698890ecdb512a1a152c4d8cf27ccfdea907 [2023-01-17T17:32:20.934Z] $ docker rm -f --volumes 574a3436ee56b18fe3dd290252ec698890ecdb512a1a152c4d8cf27ccfdea907 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:32:21.335Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-17T17:32:21.335Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:32:21.404Z] prd-ubuntu20.04-docker-8c-8g-2746 does not seem to be running inside a container [2023-01-17T17:32:21.436Z] $ 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-01-17T17:32:21.842Z] $ docker top fd852ee5110efe1e18514ab4719b14cf77f2bc9504e8d90ea4b6290b9c6ce6f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T17:32:22.184Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-01-17T17:32:22.478Z] + make test [2023-01-17T17:32:22.478Z] go test ./... -coverprofile=coverage.out [2023-01-17T17:32:22.747Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-17T17:32:32.749Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-17T17:32:32.749Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.029s coverage: 47.7% of statements [2023-01-17T17:32:40.869Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-17T17:32:40.869Z] go vet ./... [2023-01-17T17:32:44.148Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-17T17:32:44.148Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-17T17:32:44.148Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-17T17:32:44.158Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-17T17:32:44.172Z] $ docker stop --time=1 fd852ee5110efe1e18514ab4719b14cf77f2bc9504e8d90ea4b6290b9c6ce6f5 [2023-01-17T17:32:47.813Z] $ docker rm -f --volumes fd852ee5110efe1e18514ab4719b14cf77f2bc9504e8d90ea4b6290b9c6ce6f5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-17T17:32:48.318Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-17T17:32:48.367Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-17T17:32:48.793Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-17T17:32:49.076Z] + ls -al . [2023-01-17T17:32:49.076Z] total 196 [2023-01-17T17:32:49.076Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 17:32 . [2023-01-17T17:32:49.076Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:31 .. [2023-01-17T17:32:49.076Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 17 17:31 .dockerignore [2023-01-17T17:32:49.076Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 17:32 .git [2023-01-17T17:32:49.076Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:31 .github [2023-01-17T17:32:49.076Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 17 17:31 .gitignore [2023-01-17T17:32:49.076Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 17 17:31 .golangci.yml [2023-01-17T17:32:49.076Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 17:31 .semver [2023-01-17T17:32:49.076Z] -rw-rw-r-- 1 jenkins jenkins 10017 Jan 17 17:31 Attribution.txt [2023-01-17T17:32:49.076Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 17 17:31 CHANGELOG.md [2023-01-17T17:32:49.076Z] -rw-rw-r-- 1 jenkins jenkins 1365 Jan 17 17:31 Dockerfile [2023-01-17T17:32:49.076Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 17:31 GOVERNANCE.md [2023-01-17T17:32:49.076Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 17 17:31 Jenkinsfile [2023-01-17T17:32:49.076Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 17:31 LICENSE [2023-01-17T17:32:49.076Z] -rw-rw-r-- 1 jenkins jenkins 1670 Jan 17 17:31 Makefile [2023-01-17T17:32:49.076Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 17 17:31 OWNERS.md [2023-01-17T17:32:49.076Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 17 17:31 README.md [2023-01-17T17:32:49.076Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 17:31 VERSION [2023-01-17T17:32:49.076Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:31 bin [2023-01-17T17:32:49.076Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:31 cmd [2023-01-17T17:32:49.076Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 17 17:32 coverage.out [2023-01-17T17:32:49.076Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 17 17:31 go.mod [2023-01-17T17:32:49.076Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 17 17:31 go.sum [2023-01-17T17:32:49.076Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:31 internal [2023-01-17T17:32:49.076Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:31 simulator [2023-01-17T17:32:49.076Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:31 snap [2023-01-17T17:32:49.076Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 17 17:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:32:49.380Z] + 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=bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 --label arch=amd64 --label version=3.0.0-dev.6 . [2023-01-17T17:32:49.380Z] Sending build context to Docker daemon 6.35MB [2023-01-17T17:32:49.380Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-17T17:32:49.380Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-17T17:32:49.380Z] ---> af4c058c670c [2023-01-17T17:32:49.380Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-17T17:32:49.638Z] ---> Running in 368b75bfda06 [2023-01-17T17:32:49.638Z] Removing intermediate container 368b75bfda06 [2023-01-17T17:32:49.638Z] ---> fdd59f8c9a7b [2023-01-17T17:32:49.638Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-17T17:32:49.638Z] ---> Running in cdef36c8167d [2023-01-17T17:32:49.638Z] Removing intermediate container cdef36c8167d [2023-01-17T17:32:49.638Z] ---> 09f428524a06 [2023-01-17T17:32:49.638Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-01-17T17:32:49.638Z] ---> Running in 9b9cc9b814e2 [2023-01-17T17:32:49.906Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-17T17:32:50.170Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-17T17:32:50.430Z] OK: 217 MiB in 59 packages [2023-01-17T17:32:51.368Z] Removing intermediate container 9b9cc9b814e2 [2023-01-17T17:32:51.368Z] ---> 1a7087e8f5fb [2023-01-17T17:32:51.368Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-17T17:32:51.628Z] ---> Running in c3459e9bf48b [2023-01-17T17:32:52.194Z] Removing intermediate container c3459e9bf48b [2023-01-17T17:32:52.194Z] ---> d90345e07428 [2023-01-17T17:32:52.194Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-17T17:32:52.761Z] ---> fe0d618f7f2b [2023-01-17T17:32:52.761Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-17T17:32:53.019Z] ---> Running in 00ea4aa78a83 [2023-01-17T17:32:54.929Z] Removing intermediate container 00ea4aa78a83 [2023-01-17T17:32:54.929Z] ---> 1a4f559d52af [2023-01-17T17:32:54.929Z] Step 9/22 : COPY . . [2023-01-17T17:32:54.929Z] ---> 381e1c5b62d9 [2023-01-17T17:32:54.929Z] Step 10/22 : RUN ${MAKE} [2023-01-17T17:32:54.929Z] ---> Running in e294fe25d6e6 [2023-01-17T17:32:55.495Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.6" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-01-17T17:33:22.556Z] Removing intermediate container e294fe25d6e6 [2023-01-17T17:33:22.556Z] ---> a44ecd9f3700 [2023-01-17T17:33:22.556Z] Step 11/22 : FROM alpine:3.14 [2023-01-17T17:33:22.556Z] 3.14: Pulling from library/alpine [2023-01-17T17:33:22.556Z] c7ed990a2339: Pulling fs layer [2023-01-17T17:33:22.556Z] c7ed990a2339: Verifying Checksum [2023-01-17T17:33:22.556Z] c7ed990a2339: Download complete [2023-01-17T17:33:22.556Z] c7ed990a2339: Pull complete [2023-01-17T17:33:22.556Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-17T17:33:22.556Z] Status: Downloaded newer image for alpine:3.14 [2023-01-17T17:33:22.556Z] ---> dd53f409bf0b [2023-01-17T17:33:22.556Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-17T17:33:22.556Z] ---> Running in 43ca3bf51f12 [2023-01-17T17:33:22.556Z] Removing intermediate container 43ca3bf51f12 [2023-01-17T17:33:22.556Z] ---> d7b6f910d0bf [2023-01-17T17:33:22.556Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-01-17T17:33:22.556Z] ---> Running in 5a3e8715090f [2023-01-17T17:33:22.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-01-17T17:33:22.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-01-17T17:33:22.556Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-17T17:33:22.556Z] Executing busybox-1.33.1-r8.trigger [2023-01-17T17:33:22.556Z] OK: 6 MiB in 15 packages [2023-01-17T17:33:22.556Z] Removing intermediate container 5a3e8715090f [2023-01-17T17:33:22.556Z] ---> 9798f30fc228 [2023-01-17T17:33:22.556Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-17T17:33:22.815Z] ---> 1084b42cf2b0 [2023-01-17T17:33:22.815Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-17T17:33:23.074Z] ---> 8073d79feea3 [2023-01-17T17:33:23.074Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-17T17:33:23.074Z] ---> 583fea1d9688 [2023-01-17T17:33:23.074Z] Step 17/22 : EXPOSE 59901 [2023-01-17T17:33:23.074Z] ---> Running in ee352388a615 [2023-01-17T17:33:23.332Z] Removing intermediate container ee352388a615 [2023-01-17T17:33:23.332Z] ---> 86a5da3a7441 [2023-01-17T17:33:23.332Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-17T17:33:23.332Z] ---> Running in 092dcbbd0b65 [2023-01-17T17:33:23.332Z] Removing intermediate container 092dcbbd0b65 [2023-01-17T17:33:23.332Z] ---> 2cc6c4e4fa64 [2023-01-17T17:33:23.332Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-17T17:33:23.332Z] ---> Running in b64fc4cb30a4 [2023-01-17T17:33:23.332Z] Removing intermediate container b64fc4cb30a4 [2023-01-17T17:33:23.332Z] ---> f672faf73880 [2023-01-17T17:33:23.332Z] Step 20/22 : LABEL arch=amd64 [2023-01-17T17:33:23.332Z] ---> Running in 48cf468da026 [2023-01-17T17:33:23.591Z] Removing intermediate container 48cf468da026 [2023-01-17T17:33:23.591Z] ---> b6d327b6446c [2023-01-17T17:33:23.591Z] Step 21/22 : LABEL git_sha=bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [2023-01-17T17:33:23.591Z] ---> Running in edcedd51c133 [2023-01-17T17:33:23.591Z] Removing intermediate container edcedd51c133 [2023-01-17T17:33:23.591Z] ---> 64834196c02c [2023-01-17T17:33:23.591Z] Step 22/22 : LABEL version=3.0.0-dev.6 [2023-01-17T17:33:23.591Z] ---> Running in bd7bcb5d21fd [2023-01-17T17:33:23.850Z] Removing intermediate container bd7bcb5d21fd [2023-01-17T17:33:23.850Z] ---> e8f236d2e739 [2023-01-17T17:33:23.850Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-17T17:33:23.850Z] Successfully built e8f236d2e739 [2023-01-17T17:33:23.850Z] 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-01-17T17:33:23.931Z] provisioning config files... [2023-01-17T17:33:23.939Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7926196377158014141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:33:24.236Z] ---> docker-login.sh [2023-01-17T17:33:24.236Z] nexus3.edgexfoundry.org:10001 [2023-01-17T17:33:24.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:33:24.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:33:24.236Z] Configure a credential helper to remove this warning. See [2023-01-17T17:33:24.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:33:24.236Z] [2023-01-17T17:33:24.236Z] Login Succeeded [2023-01-17T17:33:24.236Z] nexus3.edgexfoundry.org:10002 [2023-01-17T17:33:24.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:33:24.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:33:24.236Z] Configure a credential helper to remove this warning. See [2023-01-17T17:33:24.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:33:24.236Z] [2023-01-17T17:33:24.236Z] Login Succeeded [2023-01-17T17:33:24.236Z] nexus3.edgexfoundry.org:10003 [2023-01-17T17:33:24.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:33:24.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:33:24.494Z] Configure a credential helper to remove this warning. See [2023-01-17T17:33:24.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:33:24.494Z] [2023-01-17T17:33:24.494Z] Login Succeeded [2023-01-17T17:33:24.494Z] nexus3.edgexfoundry.org:10004 [2023-01-17T17:33:24.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:33:24.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:33:24.494Z] Configure a credential helper to remove this warning. See [2023-01-17T17:33:24.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:33:24.494Z] [2023-01-17T17:33:24.494Z] Login Succeeded [2023-01-17T17:33:24.494Z] docker.io [2023-01-17T17:33:24.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:33:24.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:33:24.753Z] Configure a credential helper to remove this warning. See [2023-01-17T17:33:24.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:33:24.753Z] [2023-01-17T17:33:24.753Z] Login Succeeded [2023-01-17T17:33:24.753Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T17:33:24.761Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-17T17:33:24.784Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:33:24.799Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-01-17T17:33:24.799Z] bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [2023-01-17T17:33:24.799Z] latest [2023-01-17T17:33:24.799Z] 3.0.0-dev.6 [2023-01-17T17:33:24.799Z] bb2f4bd64c3941eb86d6cd8a035d25878e21dc53-3.0.0-dev.6 [2023-01-17T17:33:24.799Z] main [2023-01-17T17:33:24.799Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:33:25.104Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:33:25.406Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [2023-01-17T17:33:25.406Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-01-17T17:33:25.406Z] 1c9ea21937a6: Preparing [2023-01-17T17:33:25.406Z] 7ab98050615c: Preparing [2023-01-17T17:33:25.406Z] de1a67f0c7e0: Preparing [2023-01-17T17:33:25.406Z] 2f53b862fa1b: Preparing [2023-01-17T17:33:25.406Z] 63493a9ab2d4: Preparing [2023-01-17T17:33:25.406Z] 63493a9ab2d4: Layer already exists [2023-01-17T17:33:25.406Z] 2f53b862fa1b: Pushed [2023-01-17T17:33:25.406Z] 1c9ea21937a6: Pushed [2023-01-17T17:33:25.406Z] 7ab98050615c: Pushed [2023-01-17T17:33:27.940Z] de1a67f0c7e0: Pushed [2023-01-17T17:33:28.198Z] bb2f4bd64c3941eb86d6cd8a035d25878e21dc53: digest: sha256:9c30032bd5272b05b2c0bbc545a1649b047cc4242bb2e37b247882eb88093f2e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:33:28.511Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:33:28.813Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-01-17T17:33:28.813Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-01-17T17:33:28.813Z] 1c9ea21937a6: Preparing [2023-01-17T17:33:28.813Z] 7ab98050615c: Preparing [2023-01-17T17:33:28.813Z] de1a67f0c7e0: Preparing [2023-01-17T17:33:28.813Z] 2f53b862fa1b: Preparing [2023-01-17T17:33:28.813Z] 63493a9ab2d4: Preparing [2023-01-17T17:33:28.813Z] 7ab98050615c: Layer already exists [2023-01-17T17:33:28.813Z] 1c9ea21937a6: Layer already exists [2023-01-17T17:33:28.813Z] de1a67f0c7e0: Layer already exists [2023-01-17T17:33:28.813Z] 63493a9ab2d4: Layer already exists [2023-01-17T17:33:28.813Z] 2f53b862fa1b: Layer already exists [2023-01-17T17:33:28.813Z] latest: digest: sha256:9c30032bd5272b05b2c0bbc545a1649b047cc4242bb2e37b247882eb88093f2e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:33:29.131Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:33:29.437Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.6 [2023-01-17T17:33:29.437Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-01-17T17:33:29.437Z] 1c9ea21937a6: Preparing [2023-01-17T17:33:29.437Z] 7ab98050615c: Preparing [2023-01-17T17:33:29.437Z] de1a67f0c7e0: Preparing [2023-01-17T17:33:29.437Z] 2f53b862fa1b: Preparing [2023-01-17T17:33:29.437Z] 63493a9ab2d4: Preparing [2023-01-17T17:33:29.697Z] 1c9ea21937a6: Layer already exists [2023-01-17T17:33:29.698Z] de1a67f0c7e0: Layer already exists [2023-01-17T17:33:29.698Z] 63493a9ab2d4: Layer already exists [2023-01-17T17:33:29.698Z] 7ab98050615c: Layer already exists [2023-01-17T17:33:29.698Z] 2f53b862fa1b: Layer already exists [2023-01-17T17:33:29.698Z] 3.0.0-dev.6: digest: sha256:9c30032bd5272b05b2c0bbc545a1649b047cc4242bb2e37b247882eb88093f2e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:33:30.005Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:bb2f4bd64c3941eb86d6cd8a035d25878e21dc53-3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:33:30.311Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:bb2f4bd64c3941eb86d6cd8a035d25878e21dc53-3.0.0-dev.6 [2023-01-17T17:33:30.311Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-01-17T17:33:30.311Z] 1c9ea21937a6: Preparing [2023-01-17T17:33:30.311Z] 7ab98050615c: Preparing [2023-01-17T17:33:30.311Z] de1a67f0c7e0: Preparing [2023-01-17T17:33:30.311Z] 2f53b862fa1b: Preparing [2023-01-17T17:33:30.311Z] 63493a9ab2d4: Preparing [2023-01-17T17:33:30.311Z] 1c9ea21937a6: Layer already exists [2023-01-17T17:33:30.311Z] 63493a9ab2d4: Layer already exists [2023-01-17T17:33:30.311Z] 7ab98050615c: Layer already exists [2023-01-17T17:33:30.311Z] 2f53b862fa1b: Layer already exists [2023-01-17T17:33:30.311Z] de1a67f0c7e0: Layer already exists [2023-01-17T17:33:30.311Z] bb2f4bd64c3941eb86d6cd8a035d25878e21dc53-3.0.0-dev.6: digest: sha256:9c30032bd5272b05b2c0bbc545a1649b047cc4242bb2e37b247882eb88093f2e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:33:30.628Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:33:30.937Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-01-17T17:33:30.937Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-01-17T17:33:30.937Z] 1c9ea21937a6: Preparing [2023-01-17T17:33:30.937Z] 7ab98050615c: Preparing [2023-01-17T17:33:30.937Z] de1a67f0c7e0: Preparing [2023-01-17T17:33:30.937Z] 2f53b862fa1b: Preparing [2023-01-17T17:33:30.937Z] 63493a9ab2d4: Preparing [2023-01-17T17:33:30.937Z] 1c9ea21937a6: Layer already exists [2023-01-17T17:33:30.937Z] 2f53b862fa1b: Layer already exists [2023-01-17T17:33:30.937Z] 7ab98050615c: Layer already exists [2023-01-17T17:33:30.937Z] de1a67f0c7e0: Layer already exists [2023-01-17T17:33:30.937Z] 63493a9ab2d4: Layer already exists [2023-01-17T17:33:30.937Z] main: digest: sha256:9c30032bd5272b05b2c0bbc545a1649b047cc4242bb2e37b247882eb88093f2e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-17T17:33:30.974Z] ===================================================== [Pipeline] echo [2023-01-17T17:33:30.980Z] taggedImages: [2023-01-17T17:33:30.980Z] - nexus3.edgexfoundry.org:10004/device-modbus:bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [2023-01-17T17:33:30.980Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-01-17T17:33:30.980Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.6 [2023-01-17T17:33:30.980Z] - nexus3.edgexfoundry.org:10004/device-modbus:bb2f4bd64c3941eb86d6cd8a035d25878e21dc53-3.0.0-dev.6 [2023-01-17T17:33:30.980Z] - 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-01-17T17:33:31.348Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T17:33:31.348Z] [2023-01-17T17:33:31.348Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:33:31.659Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T17:33:31.659Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-17T17:33:31.659Z] 5eb5b503b376: Pulling fs layer [2023-01-17T17:33:31.659Z] 5c69ac0246d0: Pulling fs layer [2023-01-17T17:33:31.659Z] ec43610c2a17: Pulling fs layer [2023-01-17T17:33:31.659Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-17T17:33:31.659Z] 33b1e0a273af: Pulling fs layer [2023-01-17T17:33:31.659Z] 5d3b04190fa2: Pulling fs layer [2023-01-17T17:33:31.659Z] 2f39f015ded8: Pulling fs layer [2023-01-17T17:33:31.659Z] 33b1e0a273af: Waiting [2023-01-17T17:33:31.659Z] 5d3b04190fa2: Waiting [2023-01-17T17:33:31.659Z] 3a2ae6a8a46f: Waiting [2023-01-17T17:33:31.659Z] 2f39f015ded8: Waiting [2023-01-17T17:33:31.931Z] 5c69ac0246d0: Download complete [2023-01-17T17:33:31.931Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-17T17:33:31.931Z] 3a2ae6a8a46f: Download complete [2023-01-17T17:33:31.931Z] 33b1e0a273af: Verifying Checksum [2023-01-17T17:33:31.931Z] 33b1e0a273af: Download complete [2023-01-17T17:33:31.931Z] 5d3b04190fa2: Verifying Checksum [2023-01-17T17:33:31.931Z] 5d3b04190fa2: Download complete [2023-01-17T17:33:31.931Z] ec43610c2a17: Verifying Checksum [2023-01-17T17:33:31.931Z] ec43610c2a17: Download complete [2023-01-17T17:33:32.192Z] 5eb5b503b376: Verifying Checksum [2023-01-17T17:33:32.192Z] 5eb5b503b376: Download complete [2023-01-17T17:33:32.759Z] 2f39f015ded8: Download complete [2023-01-17T17:33:33.693Z] 5eb5b503b376: Pull complete [2023-01-17T17:33:33.951Z] 5c69ac0246d0: Pull complete [2023-01-17T17:33:34.541Z] ec43610c2a17: Pull complete [2023-01-17T17:33:34.541Z] 3a2ae6a8a46f: Pull complete [2023-01-17T17:33:34.799Z] 33b1e0a273af: Pull complete [2023-01-17T17:33:34.799Z] 5d3b04190fa2: Pull complete [2023-01-17T17:33:38.993Z] 2f39f015ded8: Pull complete [2023-01-17T17:33:38.994Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-17T17:33:38.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T17:33:38.994Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:33:39.099Z] prd-ubuntu20.04-docker-8c-8g-2746 does not seem to be running inside a container [2023-01-17T17:33:39.133Z] $ 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-01-17T17:33:43.907Z] $ docker top 3a08c172a0fbdac40fb66c2071657a66aff206e27755517e08708f07e1c55d0c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:33:44.370Z] ---> job-cost.sh [2023-01-17T17:33:44.371Z] lf-activate-venv: SKIPPING [2023-01-17T17:33:44.371Z] INFO: No Stack... [2023-01-17T17:33:44.628Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-17T17:33:44.886Z] INFO: Archiving Costs [Pipeline] sh [2023-01-17T17:33:45.177Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-01-17T17:33:45.177Z] + cut -d, -f6 [Pipeline] lock [2023-01-17T17:33:45.192Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-72-stack-cost] [2023-01-17T17:33:45.198Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-72-stack-cost] did not exist. Created. [2023-01-17T17:33:45.198Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-72-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-17T17:33:45.499Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-17T17:33:45.528Z] Stashed 1 file(s) [Pipeline] } [2023-01-17T17:33:45.538Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-72-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-17T17:33:45.559Z] $ docker stop --time=1 3a08c172a0fbdac40fb66c2071657a66aff206e27755517e08708f07e1c55d0c [2023-01-17T17:33:46.843Z] $ docker rm -f --volumes 3a08c172a0fbdac40fb66c2071657a66aff206e27755517e08708f07e1c55d0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-17T17:34:25.619Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2751 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-01-17T17:34:25.634Z] Running in /w/workspace/device-modbus-go/72 [Pipeline] { [Pipeline] checkout [2023-01-17T17:34:25.665Z] Selected Git installation does not exist. Using Default [2023-01-17T17:34:25.665Z] The recommended git tool is: NONE [2023-01-17T17:34:31.331Z] using credential edgex-jenkins-ssh [2023-01-17T17:34:31.351Z] Cloning the remote Git repository [2023-01-17T17:34:31.398Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-01-17T17:34:31.472Z] > git init /w/workspace/device-modbus-go/72 # timeout=10 [2023-01-17T17:34:31.622Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-01-17T17:34:31.624Z] > git --version # timeout=10 [2023-01-17T17:34:31.647Z] > git --version # 'git version 2.25.1' [2023-01-17T17:34:31.649Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-17T17:34:31.708Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-17T17:34:32.822Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-01-17T17:34:32.848Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-17T17:34:33.920Z] Avoid second fetch [2023-01-17T17:34:33.920Z] Checking out Revision bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 (main) [2023-01-17T17:34:33.942Z] > git config core.sparsecheckout # timeout=10 [2023-01-17T17:34:33.965Z] > git checkout -f bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 # timeout=10 [2023-01-17T17:34:34.466Z] Commit message: "refactor(snap)!: Drop the support for legacy snap env options (#400)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-17T17:34:35.364Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-17T17:34:35.364Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-17T17:34:35.364Z] Dload Upload Total Spent Left Speed [2023-01-17T17:34:35.364Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-01-17T17:34:35.963Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-17T17:34:36.292Z] + sudo tee /etc/docker/daemon.new [2023-01-17T17:34:36.292Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-17T17:34:36.292Z] { [2023-01-17T17:34:36.292Z] "registry-mirrors": [ [2023-01-17T17:34:36.292Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-17T17:34:36.292Z] ], [2023-01-17T17:34:36.292Z] "bip": "10.250.0.254/24", [2023-01-17T17:34:36.292Z] "hosts": [ [2023-01-17T17:34:36.292Z] "tcp://0.0.0.0:5555", [2023-01-17T17:34:36.292Z] "unix:///var/run/docker.sock" [2023-01-17T17:34:36.292Z] ], [2023-01-17T17:34:36.292Z] "mtu": 1458, [2023-01-17T17:34:36.292Z] "selinux-enabled": true, [2023-01-17T17:34:36.292Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-17T17:34:36.292Z] } [Pipeline] sh [2023-01-17T17:34:36.640Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-17T17:34:37.009Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T17:34:55.303Z] provisioning config files... [2023-01-17T17:34:55.336Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/72@tmp/config5078483854360039620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:34:55.716Z] ---> docker-login.sh [2023-01-17T17:34:55.716Z] nexus3.edgexfoundry.org:10001 [2023-01-17T17:34:56.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:34:56.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:34:56.306Z] Configure a credential helper to remove this warning. See [2023-01-17T17:34:56.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:34:56.306Z] [2023-01-17T17:34:56.306Z] Login Succeeded [2023-01-17T17:34:56.306Z] nexus3.edgexfoundry.org:10002 [2023-01-17T17:34:56.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:34:56.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:34:56.842Z] Configure a credential helper to remove this warning. See [2023-01-17T17:34:56.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:34:56.842Z] [2023-01-17T17:34:56.842Z] Login Succeeded [2023-01-17T17:34:56.842Z] nexus3.edgexfoundry.org:10003 [2023-01-17T17:34:56.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:34:57.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:34:57.111Z] Configure a credential helper to remove this warning. See [2023-01-17T17:34:57.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:34:57.111Z] [2023-01-17T17:34:57.111Z] Login Succeeded [2023-01-17T17:34:57.111Z] nexus3.edgexfoundry.org:10004 [2023-01-17T17:34:57.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:34:57.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:34:57.381Z] Configure a credential helper to remove this warning. See [2023-01-17T17:34:57.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:34:57.381Z] [2023-01-17T17:34:57.381Z] Login Succeeded [2023-01-17T17:34:57.381Z] docker.io [2023-01-17T17:34:57.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:34:57.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:34:57.921Z] Configure a credential helper to remove this warning. See [2023-01-17T17:34:57.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:34:57.921Z] [2023-01-17T17:34:57.921Z] Login Succeeded [2023-01-17T17:34:57.921Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T17:34:57.938Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-17T17:34:58.248Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:34:58.266Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:34:58.281Z] ========================================================= [2023-01-17T17:34:58.281Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-17T17:34:58.281Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:58.654Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-17T17:34:58.927Z] Sending build context to Docker daemon 3.298MB [2023-01-17T17:34:58.927Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-17T17:34:58.927Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-17T17:34:59.198Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-17T17:34:59.198Z] 9b18e9b68314: Pulling fs layer [2023-01-17T17:34:59.198Z] 35d82f9e3411: Pulling fs layer [2023-01-17T17:34:59.198Z] e16973657156: Pulling fs layer [2023-01-17T17:34:59.198Z] fc693d55d65f: Pulling fs layer [2023-01-17T17:34:59.198Z] fc693d55d65f: Waiting [2023-01-17T17:34:59.198Z] 7e9fc2657dce: Pulling fs layer [2023-01-17T17:34:59.198Z] dda99020689f: Pulling fs layer [2023-01-17T17:34:59.198Z] db1c61fa0a46: Pulling fs layer [2023-01-17T17:34:59.198Z] 891c053d2c06: Pulling fs layer [2023-01-17T17:34:59.198Z] 7e9fc2657dce: Waiting [2023-01-17T17:34:59.198Z] db1c61fa0a46: Waiting [2023-01-17T17:34:59.198Z] 891c053d2c06: Waiting [2023-01-17T17:34:59.198Z] dda99020689f: Waiting [2023-01-17T17:34:59.198Z] e16973657156: Verifying Checksum [2023-01-17T17:34:59.198Z] e16973657156: Download complete [2023-01-17T17:34:59.474Z] 35d82f9e3411: Verifying Checksum [2023-01-17T17:34:59.474Z] 35d82f9e3411: Download complete [2023-01-17T17:34:59.474Z] 7e9fc2657dce: Verifying Checksum [2023-01-17T17:34:59.474Z] 7e9fc2657dce: Download complete [2023-01-17T17:34:59.474Z] dda99020689f: Verifying Checksum [2023-01-17T17:34:59.474Z] dda99020689f: Download complete [2023-01-17T17:34:59.474Z] 9b18e9b68314: Verifying Checksum [2023-01-17T17:34:59.474Z] 9b18e9b68314: Download complete [2023-01-17T17:35:00.475Z] 9b18e9b68314: Pull complete [2023-01-17T17:35:00.756Z] 891c053d2c06: Verifying Checksum [2023-01-17T17:35:00.756Z] 891c053d2c06: Download complete [2023-01-17T17:35:01.043Z] 35d82f9e3411: Pull complete [2023-01-17T17:35:01.321Z] e16973657156: Pull complete [2023-01-17T17:35:01.920Z] db1c61fa0a46: Verifying Checksum [2023-01-17T17:35:01.920Z] db1c61fa0a46: Download complete [2023-01-17T17:35:02.521Z] fc693d55d65f: Verifying Checksum [2023-01-17T17:35:02.522Z] fc693d55d65f: Download complete [2023-01-17T17:35:20.814Z] fc693d55d65f: Pull complete [2023-01-17T17:35:20.814Z] 7e9fc2657dce: Pull complete [2023-01-17T17:35:20.814Z] dda99020689f: Pull complete [2023-01-17T17:35:24.175Z] db1c61fa0a46: Pull complete [2023-01-17T17:35:26.797Z] 891c053d2c06: Pull complete [2023-01-17T17:35:26.797Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-17T17:35:26.797Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-17T17:35:26.797Z] ---> f96f9c87975a [2023-01-17T17:35:26.797Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-17T17:35:28.785Z] ---> Running in a9e9b17c1295 [2023-01-17T17:35:29.055Z] Removing intermediate container a9e9b17c1295 [2023-01-17T17:35:29.055Z] ---> dff1569b8a0d [2023-01-17T17:35:29.055Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-17T17:35:29.327Z] ---> Running in aec8b17d8e01 [2023-01-17T17:35:29.754Z] Removing intermediate container aec8b17d8e01 [2023-01-17T17:35:29.754Z] ---> bbd78e9357e1 [2023-01-17T17:35:29.754Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-01-17T17:35:29.754Z] ---> Running in 939dc0260a0d [2023-01-17T17:35:31.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-17T17:35:31.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-17T17:35:32.657Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-17T17:35:32.657Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-17T17:35:32.657Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-17T17:35:32.657Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-17T17:35:32.657Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-17T17:35:32.657Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-17T17:35:32.657Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-17T17:35:32.657Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-17T17:35:32.657Z] Executing busybox-1.35.0-r17.trigger [2023-01-17T17:35:32.657Z] OK: 228 MiB in 59 packages [2023-01-17T17:35:33.618Z] Removing intermediate container 939dc0260a0d [2023-01-17T17:35:33.618Z] ---> df9e434abbcb [2023-01-17T17:35:33.618Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-17T17:35:33.885Z] ---> Running in 4d85f2d4ba1e [2023-01-17T17:35:34.167Z] Removing intermediate container 4d85f2d4ba1e [2023-01-17T17:35:34.167Z] ---> 958b976e2523 [2023-01-17T17:35:34.167Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-17T17:35:34.453Z] ---> 3aba21ce01b3 [2023-01-17T17:35:34.453Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-17T17:35:34.721Z] ---> Running in 84ae44c0b899 [2023-01-17T17:36:42.725Z] Removing intermediate container 84ae44c0b899 [2023-01-17T17:36:42.725Z] ---> fdf8eef0ce7b [2023-01-17T17:36:42.725Z] Step 9/10 : COPY . . [2023-01-17T17:36:42.725Z] ---> a67a27b05878 [2023-01-17T17:36:42.725Z] Step 10/10 : RUN ${MAKE} [2023-01-17T17:36:42.725Z] ---> Running in c5438e5adfb6 [2023-01-17T17:36:42.725Z] noop [2023-01-17T17:36:42.725Z] Removing intermediate container c5438e5adfb6 [2023-01-17T17:36:42.725Z] ---> 5b5a488c4a8f [2023-01-17T17:36:42.725Z] Successfully built 5b5a488c4a8f [2023-01-17T17:36:42.725Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:36:43.081Z] + docker inspect -f . ci-base-image-arm64 [2023-01-17T17:36:43.082Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:36:43.302Z] prd-ubuntu20.04-docker-arm64-4c-16g-2751 does not seem to be running inside a container [2023-01-17T17:36:43.389Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/72 -v /w/workspace/device-modbus-go/72:/w/workspace/device-modbus-go/72:rw,z -v /w/workspace/device-modbus-go/72@tmp:/w/workspace/device-modbus-go/72@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-01-17T17:36:44.709Z] $ docker top 172ce877c273fc918ef5f40bf8e474a042344e6864da678a2453fe520d47ba0f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T17:36:45.552Z] + go version [2023-01-17T17:36:45.552Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-17T17:36:45.576Z] $ docker stop --time=1 172ce877c273fc918ef5f40bf8e474a042344e6864da678a2453fe520d47ba0f [2023-01-17T17:36:47.219Z] $ docker rm -f --volumes 172ce877c273fc918ef5f40bf8e474a042344e6864da678a2453fe520d47ba0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:36:47.788Z] + docker inspect -f . ci-base-image-arm64 [2023-01-17T17:36:47.788Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:36:47.967Z] prd-ubuntu20.04-docker-arm64-4c-16g-2751 does not seem to be running inside a container [2023-01-17T17:36:48.051Z] $ 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/72 -v /w/workspace/device-modbus-go/72:/w/workspace/device-modbus-go/72:rw,z -v /w/workspace/device-modbus-go/72@tmp:/w/workspace/device-modbus-go/72@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-01-17T17:36:49.258Z] $ docker top 05790a0081d991b888c834a45061ce6648cbd8089b2b51ba903408e959abc3ab -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T17:36:50.096Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/72 [Pipeline] fileExists [Pipeline] sh [2023-01-17T17:36:50.765Z] + make test [2023-01-17T17:36:50.765Z] go test ./... -coverprofile=coverage.out [2023-01-17T17:36:52.742Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-17T17:38:29.559Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-17T17:38:29.559Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.071s coverage: 47.7% of statements [2023-01-17T17:38:29.559Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-17T17:38:29.559Z] go vet ./... [2023-01-17T17:39:08.512Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-17T17:39:08.512Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-17T17:39:08.512Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-17T17:39:08.533Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-17T17:39:08.550Z] $ docker stop --time=1 05790a0081d991b888c834a45061ce6648cbd8089b2b51ba903408e959abc3ab [2023-01-17T17:39:10.806Z] $ docker rm -f --volumes 05790a0081d991b888c834a45061ce6648cbd8089b2b51ba903408e959abc3ab [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-17T17:39:11.946Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-17T17:39:11.972Z] Warning: overwriting stash ‘coverage-report’ [2023-01-17T17:39:12.695Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-17T17:39:13.088Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-17T17:39:13.434Z] + ls -al . [2023-01-17T17:39:13.434Z] total 192 [2023-01-17T17:39:13.434Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 17 17:36 . [2023-01-17T17:39:13.434Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:34 .. [2023-01-17T17:39:13.434Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 17 17:34 .dockerignore [2023-01-17T17:39:13.434Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 17:34 .git [2023-01-17T17:39:13.434Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:34 .github [2023-01-17T17:39:13.434Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 17 17:34 .gitignore [2023-01-17T17:39:13.434Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 17 17:34 .golangci.yml [2023-01-17T17:39:13.434Z] -rw-rw-r-- 1 jenkins jenkins 10017 Jan 17 17:34 Attribution.txt [2023-01-17T17:39:13.434Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 17 17:34 CHANGELOG.md [2023-01-17T17:39:13.434Z] -rw-rw-r-- 1 jenkins jenkins 1365 Jan 17 17:34 Dockerfile [2023-01-17T17:39:13.434Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 17:34 GOVERNANCE.md [2023-01-17T17:39:13.434Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 17 17:34 Jenkinsfile [2023-01-17T17:39:13.434Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 17:34 LICENSE [2023-01-17T17:39:13.434Z] -rw-rw-r-- 1 jenkins jenkins 1670 Jan 17 17:34 Makefile [2023-01-17T17:39:13.434Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 17 17:34 OWNERS.md [2023-01-17T17:39:13.434Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 17 17:34 README.md [2023-01-17T17:39:13.434Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 17:31 VERSION [2023-01-17T17:39:13.434Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:34 bin [2023-01-17T17:39:13.434Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:34 cmd [2023-01-17T17:39:13.434Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 17 17:38 coverage.out [2023-01-17T17:39:13.434Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 17 17:34 go.mod [2023-01-17T17:39:13.434Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 17 17:34 go.sum [2023-01-17T17:39:13.434Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:34 internal [2023-01-17T17:39:13.434Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:34 simulator [2023-01-17T17:39:13.434Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:34 snap [2023-01-17T17:39:13.434Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 17 17:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:39:13.802Z] + 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=bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 --label arch=arm64 --label version=3.0.0-dev.6 . [2023-01-17T17:39:14.074Z] Sending build context to Docker daemon 3.322MB [2023-01-17T17:39:14.348Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-17T17:39:14.348Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-17T17:39:14.348Z] ---> 5b5a488c4a8f [2023-01-17T17:39:14.348Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-17T17:39:14.622Z] ---> Running in c77e93e2629e [2023-01-17T17:39:14.905Z] Removing intermediate container c77e93e2629e [2023-01-17T17:39:14.905Z] ---> 6b7af446f867 [2023-01-17T17:39:14.906Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-17T17:39:15.182Z] ---> Running in bb7209632262 [2023-01-17T17:39:15.453Z] Removing intermediate container bb7209632262 [2023-01-17T17:39:15.453Z] ---> 1e5c2a0a4b51 [2023-01-17T17:39:15.453Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-01-17T17:39:15.724Z] ---> Running in 21637be68167 [2023-01-17T17:39:16.701Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-17T17:39:17.296Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-17T17:39:18.719Z] OK: 228 MiB in 59 packages [2023-01-17T17:39:20.678Z] Removing intermediate container 21637be68167 [2023-01-17T17:39:20.678Z] ---> 87e8d75a829e [2023-01-17T17:39:20.678Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-17T17:39:20.958Z] ---> Running in 16ab16cbe650 [2023-01-17T17:39:21.552Z] Removing intermediate container 16ab16cbe650 [2023-01-17T17:39:21.552Z] ---> 600e27d94131 [2023-01-17T17:39:21.552Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-17T17:39:22.157Z] ---> bec1ca4fc387 [2023-01-17T17:39:22.157Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-17T17:39:22.443Z] ---> Running in 257acac8004e [2023-01-17T17:39:25.046Z] Removing intermediate container 257acac8004e [2023-01-17T17:39:25.047Z] ---> 84e3a81b77c4 [2023-01-17T17:39:25.047Z] Step 9/22 : COPY . . [2023-01-17T17:39:26.017Z] ---> 42aa16bcdc7c [2023-01-17T17:39:26.017Z] Step 10/22 : RUN ${MAKE} [2023-01-17T17:39:26.017Z] ---> Running in 4796c90428ab [2023-01-17T17:39:26.986Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.6" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-01-17T17:42:03.825Z] Removing intermediate container 4796c90428ab [2023-01-17T17:42:03.825Z] ---> 16f6e9968a35 [2023-01-17T17:42:03.825Z] Step 11/22 : FROM alpine:3.14 [2023-01-17T17:42:03.825Z] 3.14: Pulling from library/alpine [2023-01-17T17:42:03.825Z] 90cda3b7c325: Pulling fs layer [2023-01-17T17:42:03.825Z] 90cda3b7c325: Verifying Checksum [2023-01-17T17:42:03.825Z] 90cda3b7c325: Download complete [2023-01-17T17:42:03.825Z] 90cda3b7c325: Pull complete [2023-01-17T17:42:03.825Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-17T17:42:03.825Z] Status: Downloaded newer image for alpine:3.14 [2023-01-17T17:42:03.825Z] ---> 275902a1839d [2023-01-17T17:42:03.825Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-17T17:42:04.093Z] ---> Running in 5862834f4b0c [2023-01-17T17:42:04.363Z] Removing intermediate container 5862834f4b0c [2023-01-17T17:42:04.363Z] ---> d2110505e9e0 [2023-01-17T17:42:04.363Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-01-17T17:42:04.363Z] ---> Running in 9d05cda9088b [2023-01-17T17:42:05.866Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-01-17T17:42:05.866Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-01-17T17:42:07.308Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-17T17:42:07.308Z] Executing busybox-1.33.1-r8.trigger [2023-01-17T17:42:07.308Z] OK: 6 MiB in 15 packages [2023-01-17T17:42:08.297Z] Removing intermediate container 9d05cda9088b [2023-01-17T17:42:08.297Z] ---> 16615538c019 [2023-01-17T17:42:08.297Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-17T17:42:09.726Z] ---> 1a8d85751642 [2023-01-17T17:42:09.726Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-17T17:42:10.313Z] ---> 562ebe8b253c [2023-01-17T17:42:10.313Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-17T17:42:10.900Z] ---> f895e8a5d5c9 [2023-01-17T17:42:10.900Z] Step 17/22 : EXPOSE 59901 [2023-01-17T17:42:10.900Z] ---> Running in f4764a51242e [2023-01-17T17:42:11.169Z] Removing intermediate container f4764a51242e [2023-01-17T17:42:11.169Z] ---> 202cad040c29 [2023-01-17T17:42:11.169Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-17T17:42:11.169Z] ---> Running in 834d41b5cadf [2023-01-17T17:42:11.438Z] Removing intermediate container 834d41b5cadf [2023-01-17T17:42:11.438Z] ---> ab832e243844 [2023-01-17T17:42:11.438Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-17T17:42:11.706Z] ---> Running in 77388aa17e13 [2023-01-17T17:42:11.992Z] Removing intermediate container 77388aa17e13 [2023-01-17T17:42:11.992Z] ---> 826abe8cb0ac [2023-01-17T17:42:11.992Z] Step 20/22 : LABEL arch=arm64 [2023-01-17T17:42:11.992Z] ---> Running in cb8d20fab064 [2023-01-17T17:42:12.261Z] Removing intermediate container cb8d20fab064 [2023-01-17T17:42:12.261Z] ---> a46b76715d4f [2023-01-17T17:42:12.261Z] Step 21/22 : LABEL git_sha=bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [2023-01-17T17:42:12.537Z] ---> Running in f3871a0ad4ed [2023-01-17T17:42:12.806Z] Removing intermediate container f3871a0ad4ed [2023-01-17T17:42:12.806Z] ---> d0d0eec6c6ce [2023-01-17T17:42:12.806Z] Step 22/22 : LABEL version=3.0.0-dev.6 [2023-01-17T17:42:12.806Z] ---> Running in 7ff64748f535 [2023-01-17T17:42:13.075Z] Removing intermediate container 7ff64748f535 [2023-01-17T17:42:13.075Z] ---> 2be1d1967300 [2023-01-17T17:42:13.075Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-17T17:42:13.343Z] Successfully built 2be1d1967300 [2023-01-17T17:42:13.343Z] 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-01-17T17:42:13.439Z] provisioning config files... [2023-01-17T17:42:13.456Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/72@tmp/config4320035890159355687tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:42:13.819Z] ---> docker-login.sh [2023-01-17T17:42:13.820Z] nexus3.edgexfoundry.org:10001 [2023-01-17T17:42:14.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:42:14.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:42:14.089Z] Configure a credential helper to remove this warning. See [2023-01-17T17:42:14.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:42:14.089Z] [2023-01-17T17:42:14.089Z] Login Succeeded [2023-01-17T17:42:14.089Z] nexus3.edgexfoundry.org:10002 [2023-01-17T17:42:14.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:42:14.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:42:14.627Z] Configure a credential helper to remove this warning. See [2023-01-17T17:42:14.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:42:14.627Z] [2023-01-17T17:42:14.627Z] Login Succeeded [2023-01-17T17:42:14.627Z] nexus3.edgexfoundry.org:10003 [2023-01-17T17:42:14.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:42:14.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:42:14.895Z] Configure a credential helper to remove this warning. See [2023-01-17T17:42:14.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:42:14.895Z] [2023-01-17T17:42:14.895Z] Login Succeeded [2023-01-17T17:42:14.895Z] nexus3.edgexfoundry.org:10004 [2023-01-17T17:42:15.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:42:15.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:42:15.437Z] Configure a credential helper to remove this warning. See [2023-01-17T17:42:15.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:42:15.437Z] [2023-01-17T17:42:15.437Z] Login Succeeded [2023-01-17T17:42:15.437Z] docker.io [2023-01-17T17:42:15.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:42:15.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:42:15.977Z] Configure a credential helper to remove this warning. See [2023-01-17T17:42:15.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:42:15.977Z] [2023-01-17T17:42:15.977Z] Login Succeeded [2023-01-17T17:42:15.977Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T17:42:15.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-17T17:42:16.019Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:42:16.036Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-01-17T17:42:16.036Z] bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [2023-01-17T17:42:16.036Z] latest [2023-01-17T17:42:16.036Z] 3.0.0-dev.6 [2023-01-17T17:42:16.036Z] bb2f4bd64c3941eb86d6cd8a035d25878e21dc53-3.0.0-dev.6 [2023-01-17T17:42:16.036Z] main [2023-01-17T17:42:16.036Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:42:16.395Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:42:17.353Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [2023-01-17T17:42:17.353Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-01-17T17:42:17.353Z] 69699f24338e: Preparing [2023-01-17T17:42:17.353Z] 90387c3b0a8e: Preparing [2023-01-17T17:42:17.353Z] 56aecb4a0214: Preparing [2023-01-17T17:42:17.353Z] cbc8994a6160: Preparing [2023-01-17T17:42:17.353Z] 28c3ef001483: Preparing [2023-01-17T17:42:17.636Z] 28c3ef001483: Layer already exists [2023-01-17T17:42:17.636Z] 69699f24338e: Pushed [2023-01-17T17:42:17.636Z] 90387c3b0a8e: Pushed [2023-01-17T17:42:17.636Z] cbc8994a6160: Pushed [2023-01-17T17:42:24.318Z] 56aecb4a0214: Pushed [2023-01-17T17:42:24.318Z] bb2f4bd64c3941eb86d6cd8a035d25878e21dc53: digest: sha256:e48c6b33457b1c490373a491e5979c1e5d7d9078f380a0c7a2e77b320daaca97 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:42:24.693Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:42:25.048Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-01-17T17:42:25.048Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-01-17T17:42:25.048Z] 69699f24338e: Preparing [2023-01-17T17:42:25.048Z] 90387c3b0a8e: Preparing [2023-01-17T17:42:25.048Z] 56aecb4a0214: Preparing [2023-01-17T17:42:25.048Z] cbc8994a6160: Preparing [2023-01-17T17:42:25.048Z] 28c3ef001483: Preparing [2023-01-17T17:42:25.048Z] 28c3ef001483: Layer already exists [2023-01-17T17:42:25.048Z] 56aecb4a0214: Layer already exists [2023-01-17T17:42:25.048Z] 69699f24338e: Layer already exists [2023-01-17T17:42:25.048Z] 90387c3b0a8e: Layer already exists [2023-01-17T17:42:25.048Z] cbc8994a6160: Layer already exists [2023-01-17T17:42:25.316Z] latest: digest: sha256:e48c6b33457b1c490373a491e5979c1e5d7d9078f380a0c7a2e77b320daaca97 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:42:25.680Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:42:26.039Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.6 [2023-01-17T17:42:26.039Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-01-17T17:42:26.039Z] 69699f24338e: Preparing [2023-01-17T17:42:26.039Z] 90387c3b0a8e: Preparing [2023-01-17T17:42:26.039Z] 56aecb4a0214: Preparing [2023-01-17T17:42:26.039Z] cbc8994a6160: Preparing [2023-01-17T17:42:26.039Z] 28c3ef001483: Preparing [2023-01-17T17:42:26.039Z] 69699f24338e: Layer already exists [2023-01-17T17:42:26.039Z] 28c3ef001483: Layer already exists [2023-01-17T17:42:26.039Z] 56aecb4a0214: Layer already exists [2023-01-17T17:42:26.039Z] 90387c3b0a8e: Layer already exists [2023-01-17T17:42:26.039Z] cbc8994a6160: Layer already exists [2023-01-17T17:42:26.308Z] 3.0.0-dev.6: digest: sha256:e48c6b33457b1c490373a491e5979c1e5d7d9078f380a0c7a2e77b320daaca97 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:42:26.672Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:bb2f4bd64c3941eb86d6cd8a035d25878e21dc53-3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:42:27.029Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:bb2f4bd64c3941eb86d6cd8a035d25878e21dc53-3.0.0-dev.6 [2023-01-17T17:42:27.029Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-01-17T17:42:27.029Z] 69699f24338e: Preparing [2023-01-17T17:42:27.029Z] 90387c3b0a8e: Preparing [2023-01-17T17:42:27.029Z] 56aecb4a0214: Preparing [2023-01-17T17:42:27.029Z] cbc8994a6160: Preparing [2023-01-17T17:42:27.029Z] 28c3ef001483: Preparing [2023-01-17T17:42:27.029Z] 28c3ef001483: Layer already exists [2023-01-17T17:42:27.029Z] 69699f24338e: Layer already exists [2023-01-17T17:42:27.029Z] 56aecb4a0214: Layer already exists [2023-01-17T17:42:27.029Z] cbc8994a6160: Layer already exists [2023-01-17T17:42:27.029Z] 90387c3b0a8e: Layer already exists [2023-01-17T17:42:27.301Z] bb2f4bd64c3941eb86d6cd8a035d25878e21dc53-3.0.0-dev.6: digest: sha256:e48c6b33457b1c490373a491e5979c1e5d7d9078f380a0c7a2e77b320daaca97 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:42:27.682Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:42:28.049Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-01-17T17:42:28.049Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-01-17T17:42:28.049Z] 69699f24338e: Preparing [2023-01-17T17:42:28.050Z] 90387c3b0a8e: Preparing [2023-01-17T17:42:28.050Z] 56aecb4a0214: Preparing [2023-01-17T17:42:28.050Z] cbc8994a6160: Preparing [2023-01-17T17:42:28.050Z] 28c3ef001483: Preparing [2023-01-17T17:42:28.050Z] 28c3ef001483: Layer already exists [2023-01-17T17:42:28.050Z] 69699f24338e: Layer already exists [2023-01-17T17:42:28.050Z] 90387c3b0a8e: Layer already exists [2023-01-17T17:42:28.050Z] 56aecb4a0214: Layer already exists [2023-01-17T17:42:28.050Z] cbc8994a6160: Layer already exists [2023-01-17T17:42:28.319Z] main: digest: sha256:e48c6b33457b1c490373a491e5979c1e5d7d9078f380a0c7a2e77b320daaca97 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-17T17:42:28.369Z] ===================================================== [Pipeline] echo [2023-01-17T17:42:28.374Z] taggedImages: [2023-01-17T17:42:28.374Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [2023-01-17T17:42:28.374Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-01-17T17:42:28.374Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.6 [2023-01-17T17:42:28.374Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:bb2f4bd64c3941eb86d6cd8a035d25878e21dc53-3.0.0-dev.6 [2023-01-17T17:42:28.374Z] - 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-01-17T17:42:28.756Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-17T17:42:28.756Z] [2023-01-17T17:42:28.756Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:42:29.106Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-17T17:42:29.379Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-17T17:42:29.379Z] 8998bd30e6a1: Pulling fs layer [2023-01-17T17:42:29.379Z] 04944245beec: Pulling fs layer [2023-01-17T17:42:29.379Z] 699f458cf7ca: Pulling fs layer [2023-01-17T17:42:29.379Z] 765212b225bb: Pulling fs layer [2023-01-17T17:42:29.379Z] f23df028b6ca: Pulling fs layer [2023-01-17T17:42:29.379Z] d65c8cfc05b1: Pulling fs layer [2023-01-17T17:42:29.379Z] 2437ff75d9bd: Pulling fs layer [2023-01-17T17:42:29.379Z] f23df028b6ca: Waiting [2023-01-17T17:42:29.379Z] d65c8cfc05b1: Waiting [2023-01-17T17:42:29.379Z] 2437ff75d9bd: Waiting [2023-01-17T17:42:29.379Z] 765212b225bb: Waiting [2023-01-17T17:42:29.379Z] 04944245beec: Verifying Checksum [2023-01-17T17:42:29.379Z] 04944245beec: Download complete [2023-01-17T17:42:29.379Z] 765212b225bb: Verifying Checksum [2023-01-17T17:42:29.379Z] 765212b225bb: Download complete [2023-01-17T17:42:29.379Z] f23df028b6ca: Verifying Checksum [2023-01-17T17:42:29.379Z] f23df028b6ca: Download complete [2023-01-17T17:42:29.379Z] d65c8cfc05b1: Verifying Checksum [2023-01-17T17:42:29.379Z] d65c8cfc05b1: Download complete [2023-01-17T17:42:29.651Z] 699f458cf7ca: Verifying Checksum [2023-01-17T17:42:29.651Z] 699f458cf7ca: Download complete [2023-01-17T17:42:29.926Z] 8998bd30e6a1: Verifying Checksum [2023-01-17T17:42:29.926Z] 8998bd30e6a1: Download complete [2023-01-17T17:42:32.527Z] 2437ff75d9bd: Download complete [2023-01-17T17:42:33.943Z] 8998bd30e6a1: Pull complete [2023-01-17T17:42:34.531Z] 04944245beec: Pull complete [2023-01-17T17:42:35.948Z] 699f458cf7ca: Pull complete [2023-01-17T17:42:36.218Z] 765212b225bb: Pull complete [2023-01-17T17:42:36.812Z] f23df028b6ca: Pull complete [2023-01-17T17:42:37.082Z] d65c8cfc05b1: Pull complete [2023-01-17T17:42:52.101Z] 2437ff75d9bd: Pull complete [2023-01-17T17:42:52.101Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-17T17:42:52.101Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-17T17:42:52.101Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:42:52.327Z] prd-ubuntu20.04-docker-arm64-4c-16g-2751 does not seem to be running inside a container [2023-01-17T17:42:52.407Z] $ 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/72 -v /w/workspace/device-modbus-go/72:/w/workspace/device-modbus-go/72:rw,z -v /w/workspace/device-modbus-go/72@tmp:/w/workspace/device-modbus-go/72@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-01-17T17:42:55.433Z] $ docker top 430aa74170299dd29c98ec5d65146a03f2be844481bb97996344c0d03d01a6ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:42:56.322Z] ---> job-cost.sh [2023-01-17T17:42:56.322Z] lf-activate-venv: SKIPPING [2023-01-17T17:42:56.322Z] INFO: No Stack... [2023-01-17T17:42:56.909Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-17T17:42:57.499Z] INFO: Archiving Costs [Pipeline] sh [2023-01-17T17:42:58.425Z] + cat /w/workspace/device-modbus-go/72/archives/cost.csv [2023-01-17T17:42:58.425Z] + cut -d, -f6 [Pipeline] lock [2023-01-17T17:42:58.472Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-72-stack-cost] [2023-01-17T17:42:58.481Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-72-stack-cost] did not exist. Created. [2023-01-17T17:42:58.481Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-72-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-17T17:42:59.157Z] /w/workspace/device-modbus-go/72@tmp/durable-2cc9e3a1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-17T17:42:59.820Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-17T17:42:59.839Z] Warning: overwriting stash ‘stack-cost’ [2023-01-17T17:42:59.896Z] Stashed 1 file(s) [Pipeline] } [2023-01-17T17:42:59.908Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-72-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-17T17:42:59.931Z] $ docker stop --time=1 430aa74170299dd29c98ec5d65146a03f2be844481bb97996344c0d03d01a6ce [2023-01-17T17:43:01.698Z] $ docker rm -f --volumes 430aa74170299dd29c98ec5d65146a03f2be844481bb97996344c0d03d01a6ce [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-01-17T17:43:02.149Z] provisioning config files... [2023-01-17T17:43:02.157Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13159808861521362358tmp [Pipeline] { [Pipeline] sh [2023-01-17T17:43:02.453Z] + set +x [2023-01-17T17:43:02.454Z] + + curl -sbash https://codecov.io/bash -s [2023-01-17T17:43:02.454Z] -- [2023-01-17T17:43:02.454Z] [2023-01-17T17:43:02.454Z] _____ _ [2023-01-17T17:43:02.454Z] / ____| | | [2023-01-17T17:43:02.454Z] | | ___ __| | ___ ___ _____ __ [2023-01-17T17:43:02.454Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-17T17:43:02.454Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-17T17:43:02.454Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-17T17:43:02.454Z] Bash-1.0.6 [2023-01-17T17:43:02.454Z] [2023-01-17T17:43:02.454Z] [2023-01-17T17:43:02.454Z] ==> git version 2.25.1 found [2023-01-17T17:43:02.454Z] ==> 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-01-17T17:43:02.454Z] Release-Date: 2020-01-08 [2023-01-17T17:43:02.454Z] 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-01-17T17:43:02.454Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-17T17:43:02.454Z] ==> Jenkins CI detected. [2023-01-17T17:43:02.454Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-01-17T17:43:02.454Z] project root: . [2023-01-17T17:43:02.454Z] --> token set from env [2023-01-17T17:43:02.454Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-17T17:43:02.454Z] ==> Running gcov in . (disable via -X gcov) [2023-01-17T17:43:02.454Z] ==> Python coveragepy not found [2023-01-17T17:43:02.454Z] ==> Searching for coverage reports in: [2023-01-17T17:43:02.454Z] + . [2023-01-17T17:43:02.454Z] -> Found 1 reports [2023-01-17T17:43:02.454Z] ==> Detecting git/mercurial file structure [2023-01-17T17:43:02.454Z] ==> Reading reports [2023-01-17T17:43:02.454Z] + ./coverage.out bytes=23241 [2023-01-17T17:43:02.454Z] ==> Appending adjustments [2023-01-17T17:43:02.454Z] https://docs.codecov.io/docs/fixing-reports [2023-01-17T17:43:02.713Z] + Found adjustments [2023-01-17T17:43:02.713Z] ==> Gzipping contents [2023-01-17T17:43:02.713Z] 4.0K /tmp/codecov.Lry6a3.gz [2023-01-17T17:43:02.713Z] ==> Uploading reports [2023-01-17T17:43:02.713Z] url: https://codecov.io [2023-01-17T17:43:02.713Z] query: branch=main&commit=bb2f4bd64c3941eb86d6cd8a035d25878e21dc53&build=72&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F72%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-17T17:43:02.713Z] -> Pinging Codecov [2023-01-17T17:43:02.713Z] 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=bb2f4bd64c3941eb86d6cd8a035d25878e21dc53&build=72&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F72%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-17T17:43:02.971Z] -> Uploading to [2023-01-17T17:43:02.972Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-17/55DBCA73C666E3227836607328DD7E49/bb2f4bd64c3941eb86d6cd8a035d25878e21dc53/8ad9c426-0ddb-4fd1-9196-f3f5119046d2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230117T174302Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f67569c501578b1adf25cb6c23bcfdc8cfd2410c5059efaaf09565c19866b0e8 [2023-01-17T17:43:02.972Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-17T17:43:02.972Z] Dload Upload Total Spent Left Speed [2023-01-17T17:43:03.488Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3907 0 0 100 3907 0 63016 --:--:-- --:--:-- --:--:-- 62015 100 3907 0 0 100 3907 0 12726 --:--:-- --:--:-- --:--:-- 12726 [2023-01-17T17:43:03.488Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [Pipeline] } [2023-01-17T17:43:03.496Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-01-17T17:43:03.597Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-01-17T17:43:03.611Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:03.918Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-17T17:43:03.918Z] [2023-01-17T17:43:03.918Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:04.230Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-17T17:43:04.230Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-01-17T17:43:04.230Z] df9b9388f04a: Pulling fs layer [2023-01-17T17:43:04.230Z] 52dc419b0ee2: Pulling fs layer [2023-01-17T17:43:04.230Z] 25bc292e5bac: Pulling fs layer [2023-01-17T17:43:04.230Z] 114826534d7a: Pulling fs layer [2023-01-17T17:43:04.230Z] 4657fd5d0bcf: Pulling fs layer [2023-01-17T17:43:04.230Z] 6ad1cebc031e: Pulling fs layer [2023-01-17T17:43:04.230Z] 114826534d7a: Waiting [2023-01-17T17:43:04.230Z] 4657fd5d0bcf: Waiting [2023-01-17T17:43:04.230Z] 8a3aa393b2d8: Pulling fs layer [2023-01-17T17:43:04.230Z] 6ad1cebc031e: Waiting [2023-01-17T17:43:04.230Z] 8a3aa393b2d8: Waiting [2023-01-17T17:43:04.230Z] 25bc292e5bac: Verifying Checksum [2023-01-17T17:43:04.230Z] 25bc292e5bac: Download complete [2023-01-17T17:43:04.230Z] 52dc419b0ee2: Verifying Checksum [2023-01-17T17:43:04.230Z] 52dc419b0ee2: Download complete [2023-01-17T17:43:04.230Z] 4657fd5d0bcf: Verifying Checksum [2023-01-17T17:43:04.230Z] 4657fd5d0bcf: Download complete [2023-01-17T17:43:04.230Z] df9b9388f04a: Verifying Checksum [2023-01-17T17:43:04.230Z] df9b9388f04a: Download complete [2023-01-17T17:43:04.492Z] df9b9388f04a: Pull complete [2023-01-17T17:43:04.492Z] 6ad1cebc031e: Verifying Checksum [2023-01-17T17:43:04.492Z] 6ad1cebc031e: Download complete [2023-01-17T17:43:04.492Z] 52dc419b0ee2: Pull complete [2023-01-17T17:43:04.761Z] 25bc292e5bac: Pull complete [2023-01-17T17:43:05.373Z] 114826534d7a: Verifying Checksum [2023-01-17T17:43:05.373Z] 114826534d7a: Download complete [2023-01-17T17:43:05.634Z] 8a3aa393b2d8: Verifying Checksum [2023-01-17T17:43:05.634Z] 8a3aa393b2d8: Download complete [2023-01-17T17:43:08.919Z] 114826534d7a: Pull complete [2023-01-17T17:43:08.919Z] 4657fd5d0bcf: Pull complete [2023-01-17T17:43:09.493Z] 6ad1cebc031e: Pull complete [2023-01-17T17:43:12.060Z] 8a3aa393b2d8: Pull complete [2023-01-17T17:43:12.317Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-01-17T17:43:12.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-17T17:43:12.317Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:43:12.395Z] prd-ubuntu20.04-docker-8c-8g-2746 does not seem to be running inside a container [2023-01-17T17:43:12.436Z] $ 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-01-17T17:43:17.051Z] $ docker top 7006ddce4bbcbdef7610b0051f91c418195ab77250041d6a36158d1df635bc40 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-01-17T17:43:17.115Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-01-17T17:43:17.390Z] + set -o pipefail [2023-01-17T17:43:17.390Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-01-17T17:43:23.956Z] [2023-01-17T17:43:23.956Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-01-17T17:43:23.956Z] [2023-01-17T17:43:23.956Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/a4c93d8e-b209-4106-81b3-759d882fab88 [2023-01-17T17:43:23.956Z] [2023-01-17T17:43:23.956Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-01-17T17:43:23.956Z] [2023-01-17T17:43:23.956Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-01-17T17:43:23.956Z] [2023-01-17T17:43:23.956Z] [2023-01-17T17:43:23.956Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-01-17T17:43:23.956Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-01-17T17:43:23.956Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-01-17T17:43:23.968Z] $ docker stop --time=1 7006ddce4bbcbdef7610b0051f91c418195ab77250041d6a36158d1df635bc40 [2023-01-17T17:43:28.873Z] $ docker rm -f --volumes 7006ddce4bbcbdef7610b0051f91c418195ab77250041d6a36158d1df635bc40 [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-01-17T17:43:29.613Z] + git log --format=format:%s -1 bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [Pipeline] sh [2023-01-17T17:43:29.901Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T17:43:29.901Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:30.198Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:43:30.198Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:43:30.282Z] prd-ubuntu20.04-docker-8c-8g-2746 does not seem to be running inside a container [2023-01-17T17:43:30.320Z] $ 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-01-17T17:43:31.331Z] $ docker top ee81de96f2d97042e230c0502d2194935d1e28d07e88d91bf1fad912d9ce0a6b -eo pid,comm [2023-01-17T17:43:31.394Z] 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-01-17T17:43:31.394Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T17:43:31.426Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T17:43:31.426Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T17:43:31.562Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T17:43:31.567Z] $ docker exec ee81de96f2d97042e230c0502d2194935d1e28d07e88d91bf1fad912d9ce0a6b ssh-agent [2023-01-17T17:43:31.663Z] SSH_AUTH_SOCK=/tmp/ssh-mdMMZCUOf53c/agent.31 [2023-01-17T17:43:31.663Z] SSH_AGENT_PID=37 [2023-01-17T17:43:31.668Z] Running ssh-add (command line suppressed) [2023-01-17T17:43:31.773Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2821707721124222768.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2821707721124222768.key) [2023-01-17T17:43:31.783Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T17:43:32.085Z] + git semver tag [2023-01-17T17:43:32.345Z] 2023-01-17 17:43:32,254 [run_tag] DEBUG tag force:False [2023-01-17T17:43:32.345Z] 2023-01-17 17:43:32,254 [check_head_tag] DEBUG check head tag [2023-01-17T17:43:32.345Z] 2023-01-17 17:43:32,255 [execute] INFO git cat-file --batch-check [2023-01-17T17:43:32.345Z] 2023-01-17 17:43:32,255 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-01-17T17:43:32.345Z] 2023-01-17 17:43:32,262 [execute] INFO git cat-file --batch [2023-01-17T17:43:32.345Z] 2023-01-17 17:43:32,262 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-01-17T17:43:32.345Z] 2023-01-17 17:43:32,290 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-17T17:43:32.345Z] 2023-01-17 17:43:32,290 [execute] INFO git tag -a v3.0.0-dev.6 -m v3.0.0-dev.6 [2023-01-17T17:43:32.345Z] 2023-01-17 17:43:32,290 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.6', '-m', 'v3.0.0-dev.6'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-01-17T17:43:32.345Z] 2023-01-17 17:43:32,295 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-17T17:43:32.345Z] 3.0.0-dev.6 [Pipeline] } [2023-01-17T17:43:32.358Z] $ docker exec --env ******** --env ******** ee81de96f2d97042e230c0502d2194935d1e28d07e88d91bf1fad912d9ce0a6b ssh-agent -k [2023-01-17T17:43:32.473Z] unset SSH_AUTH_SOCK; [2023-01-17T17:43:32.473Z] unset SSH_AGENT_PID; [2023-01-17T17:43:32.473Z] echo Agent pid 37 killed; [2023-01-17T17:43:32.481Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T17:43:32.787Z] + git semver [Pipeline] } [2023-01-17T17:43:33.061Z] $ docker stop --time=1 ee81de96f2d97042e230c0502d2194935d1e28d07e88d91bf1fad912d9ce0a6b [2023-01-17T17:43:34.417Z] $ docker rm -f --volumes ee81de96f2d97042e230c0502d2194935d1e28d07e88d91bf1fad912d9ce0a6b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:34.807Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-17T17:43:34.807Z] [2023-01-17T17:43:34.807Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:35.108Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-17T17:43:35.108Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-01-17T17:43:35.108Z] ab5ef0e58194: Pulling fs layer [2023-01-17T17:43:35.108Z] 9712f1f96733: Pulling fs layer [2023-01-17T17:43:35.108Z] 63f879dbbcfc: Pulling fs layer [2023-01-17T17:43:35.108Z] 0d9ebad4ef96: Pulling fs layer [2023-01-17T17:43:35.108Z] e9a5061849ea: Pulling fs layer [2023-01-17T17:43:35.108Z] d747dcd14b5f: Pulling fs layer [2023-01-17T17:43:35.108Z] 2de7ff778b66: Pulling fs layer [2023-01-17T17:43:35.108Z] d747dcd14b5f: Waiting [2023-01-17T17:43:35.108Z] e9a5061849ea: Waiting [2023-01-17T17:43:35.108Z] 2de7ff778b66: Waiting [2023-01-17T17:43:35.108Z] 0d9ebad4ef96: Waiting [2023-01-17T17:43:35.108Z] 9712f1f96733: Verifying Checksum [2023-01-17T17:43:35.108Z] 9712f1f96733: Download complete [2023-01-17T17:43:36.071Z] 63f879dbbcfc: Verifying Checksum [2023-01-17T17:43:36.071Z] 63f879dbbcfc: Download complete [2023-01-17T17:43:36.333Z] e9a5061849ea: Verifying Checksum [2023-01-17T17:43:36.333Z] e9a5061849ea: Download complete [2023-01-17T17:43:36.333Z] d747dcd14b5f: Verifying Checksum [2023-01-17T17:43:36.333Z] d747dcd14b5f: Download complete [2023-01-17T17:43:36.333Z] 0d9ebad4ef96: Download complete [2023-01-17T17:43:36.593Z] ab5ef0e58194: Verifying Checksum [2023-01-17T17:43:36.593Z] ab5ef0e58194: Download complete [2023-01-17T17:43:36.593Z] 2de7ff778b66: Verifying Checksum [2023-01-17T17:43:36.593Z] 2de7ff778b66: Download complete [2023-01-17T17:43:39.129Z] ab5ef0e58194: Pull complete [2023-01-17T17:43:39.129Z] 9712f1f96733: Pull complete [2023-01-17T17:43:40.061Z] 63f879dbbcfc: Pull complete [2023-01-17T17:43:44.271Z] 0d9ebad4ef96: Pull complete [2023-01-17T17:43:44.271Z] e9a5061849ea: Pull complete [2023-01-17T17:43:44.271Z] d747dcd14b5f: Pull complete [2023-01-17T17:43:44.837Z] 2de7ff778b66: Pull complete [2023-01-17T17:43:44.837Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-01-17T17:43:44.837Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-17T17:43:44.837Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:43:44.921Z] prd-ubuntu20.04-docker-8c-8g-2746 does not seem to be running inside a container [2023-01-17T17:43:44.954Z] $ 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-01-17T17:43:50.901Z] $ docker top 5264d191f9566e01c003cc00fe8e94017e4fab8d2580cafefd868c8296c3f404 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-01-17T17:43:50.969Z] provisioning config files... [2023-01-17T17:43:50.976Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11689636326608159582tmp [2023-01-17T17:43:50.987Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13452890513578853042tmp [2023-01-17T17:43:50.996Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16336268154524949374tmp [Pipeline] { [Pipeline] echo [2023-01-17T17:43:51.012Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:43:51.295Z] ---> sigul-configuration.sh [2023-01-17T17:43:51.295Z] gpg: directory `/root/.gnupg' created [2023-01-17T17:43:51.295Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-01-17T17:43:51.295Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-01-17T17:43:51.295Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-01-17T17:43:51.295Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-01-17T17:43:51.295Z] gpg: CAST5 encrypted data [2023-01-17T17:43:51.295Z] gpg: encrypted with 1 passphrase [2023-01-17T17:43:51.295Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-01-17T17:43:51.590Z] + mkdir /home/jenkins [2023-01-17T17:43:51.591Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-01-17T17:43:51.879Z] + 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-01-17T17:43:51.889Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:43:52.174Z] ---> sigul-install.sh [2023-01-17T17:43:52.175Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-01-17T17:43:52.460Z] + git tag --list [2023-01-17T17:43:52.460Z] 0.7.1 [2023-01-17T17:43:52.460Z] v1.0.0 [2023-01-17T17:43:52.460Z] v1.1.0 [2023-01-17T17:43:52.460Z] v1.1.1 [2023-01-17T17:43:52.460Z] v1.2.2 [2023-01-17T17:43:52.460Z] v1.3.0 [2023-01-17T17:43:52.460Z] v1.3.1 [2023-01-17T17:43:52.460Z] v2.0.0 [2023-01-17T17:43:52.460Z] v2.1.0 [2023-01-17T17:43:52.460Z] v2.1.1 [2023-01-17T17:43:52.460Z] v2.1.1-dev.1 [2023-01-17T17:43:52.460Z] v2.1.1-dev.2 [2023-01-17T17:43:52.460Z] v2.1.1-dev.3 [2023-01-17T17:43:52.460Z] v2.2.0 [2023-01-17T17:43:52.460Z] v2.2.1-dev.1 [2023-01-17T17:43:52.460Z] v2.2.1-dev.2 [2023-01-17T17:43:52.460Z] v2.2.1-dev.3 [2023-01-17T17:43:52.460Z] v2.2.1-dev.4 [2023-01-17T17:43:52.460Z] v2.2.1-dev.5 [2023-01-17T17:43:52.460Z] v2.2.1-dev.6 [2023-01-17T17:43:52.460Z] v2.2.1-dev.7 [2023-01-17T17:43:52.460Z] v2.3.0 [2023-01-17T17:43:52.460Z] v2.3.0-dev.10 [2023-01-17T17:43:52.460Z] v2.3.0-dev.11 [2023-01-17T17:43:52.460Z] v2.3.0-dev.12 [2023-01-17T17:43:52.460Z] v2.3.0-dev.13 [2023-01-17T17:43:52.460Z] v2.3.0-dev.14 [2023-01-17T17:43:52.460Z] v2.3.0-dev.15 [2023-01-17T17:43:52.460Z] v2.3.0-dev.16 [2023-01-17T17:43:52.460Z] v2.3.0-dev.17 [2023-01-17T17:43:52.460Z] v2.3.0-dev.18 [2023-01-17T17:43:52.460Z] v2.3.0-dev.19 [2023-01-17T17:43:52.460Z] v2.3.0-dev.20 [2023-01-17T17:43:52.460Z] v2.3.0-dev.21 [2023-01-17T17:43:52.460Z] v2.3.0-dev.22 [2023-01-17T17:43:52.460Z] v2.3.0-dev.23 [2023-01-17T17:43:52.460Z] v2.3.0-dev.24 [2023-01-17T17:43:52.460Z] v2.3.0-dev.25 [2023-01-17T17:43:52.460Z] v2.3.0-dev.7 [2023-01-17T17:43:52.460Z] v2.3.0-dev.8 [2023-01-17T17:43:52.460Z] v2.3.0-dev.9 [2023-01-17T17:43:52.460Z] v3.0.0-dev.1 [2023-01-17T17:43:52.460Z] v3.0.0-dev.2 [2023-01-17T17:43:52.460Z] v3.0.0-dev.3 [2023-01-17T17:43:52.460Z] v3.0.0-dev.4 [2023-01-17T17:43:52.460Z] v3.0.0-dev.5 [2023-01-17T17:43:52.460Z] v3.0.0-dev.6 [Pipeline] sh [2023-01-17T17:43:52.745Z] + lftools sign git-tag v3.0.0-dev.6 [2023-01-17T17:43:53.312Z] Signing Git tag with Sigul... [2023-01-17T17:43:53.312Z] Signing v3.0.0-dev.6 [Pipeline] echo [2023-01-17T17:43:53.581Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:43:53.866Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-01-17T17:43:53.873Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-01-17T17:43:53.898Z] $ docker stop --time=1 5264d191f9566e01c003cc00fe8e94017e4fab8d2580cafefd868c8296c3f404 [2023-01-17T17:43:55.173Z] $ docker rm -f --volumes 5264d191f9566e01c003cc00fe8e94017e4fab8d2580cafefd868c8296c3f404 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-01-17T17:43:55.587Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T17:43:55.587Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:55.891Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:43:55.891Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:43:55.967Z] prd-ubuntu20.04-docker-8c-8g-2746 does not seem to be running inside a container [2023-01-17T17:43:55.998Z] $ 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-01-17T17:43:56.720Z] $ docker top 2bd6dcc7b7afe51181054975ab1c80d8f9241f3d9e5bf94e65d0a26d8d44f60f -eo pid,comm [2023-01-17T17:43:56.768Z] 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-01-17T17:43:56.768Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T17:43:56.806Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T17:43:56.806Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T17:43:56.911Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T17:43:56.916Z] $ docker exec 2bd6dcc7b7afe51181054975ab1c80d8f9241f3d9e5bf94e65d0a26d8d44f60f ssh-agent [2023-01-17T17:43:57.028Z] SSH_AUTH_SOCK=/tmp/ssh-HtmHsYJZzRde/agent.32 [2023-01-17T17:43:57.028Z] SSH_AGENT_PID=38 [2023-01-17T17:43:57.034Z] Running ssh-add (command line suppressed) [2023-01-17T17:43:57.132Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18317324702533681388.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18317324702533681388.key) [2023-01-17T17:43:57.149Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T17:43:57.442Z] + git semver bump pre [2023-01-17T17:43:57.703Z] 2023-01-17 17:43:57,691 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-17T17:43:57.703Z] 2023-01-17 17:43:57,691 [bump_version] DEBUG bumping version:3.0.0-dev.6 on axis:pre with prefix:dev [2023-01-17T17:43:57.703Z] 2023-01-17 17:43:57,691 [bump_version] DEBUG bumped version:3.0.0-dev.7 [2023-01-17T17:43:57.703Z] 2023-01-17 17:43:57,691 [write_version] DEBUG write version:3.0.0-dev.7 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-01-17T17:43:57.703Z] 2023-01-17 17:43:57,691 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-17T17:43:57.703Z] 2023-01-17 17:43:57,691 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-17T17:43:57.703Z] 2023-01-17 17:43:57,693 [execute] INFO git cat-file --batch-check [2023-01-17T17:43:57.703Z] 2023-01-17 17:43:57,693 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-17T17:43:57.703Z] 2023-01-17 17:43:57,698 [execute] INFO git cat-file --batch [2023-01-17T17:43:57.703Z] 2023-01-17 17:43:57,698 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-17T17:43:57.703Z] 2023-01-17 17:43:57,704 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-17T17:43:57.703Z] 3.0.0-dev.7 [Pipeline] } [2023-01-17T17:43:57.976Z] $ docker exec --env ******** --env ******** 2bd6dcc7b7afe51181054975ab1c80d8f9241f3d9e5bf94e65d0a26d8d44f60f ssh-agent -k [2023-01-17T17:43:58.075Z] unset SSH_AUTH_SOCK; [2023-01-17T17:43:58.075Z] unset SSH_AGENT_PID; [2023-01-17T17:43:58.075Z] echo Agent pid 38 killed; [2023-01-17T17:43:58.084Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T17:43:58.392Z] + git semver [Pipeline] } [2023-01-17T17:43:58.667Z] $ docker stop --time=1 2bd6dcc7b7afe51181054975ab1c80d8f9241f3d9e5bf94e65d0a26d8d44f60f [2023-01-17T17:43:59.949Z] $ docker rm -f --volumes 2bd6dcc7b7afe51181054975ab1c80d8f9241f3d9e5bf94e65d0a26d8d44f60f [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-17T17:44:00.281Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T17:44:00.282Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:44:00.571Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:44:00.571Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:44:00.635Z] prd-ubuntu20.04-docker-8c-8g-2746 does not seem to be running inside a container [2023-01-17T17:44:00.667Z] $ 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-01-17T17:44:01.000Z] $ docker top 1be366c02e597bafb146225c70b520147f450b407cc732d8405fe671e84fd5ce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T17:44:01.077Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T17:44:01.077Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T17:44:01.180Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T17:44:01.184Z] $ docker exec 1be366c02e597bafb146225c70b520147f450b407cc732d8405fe671e84fd5ce ssh-agent [2023-01-17T17:44:01.291Z] SSH_AUTH_SOCK=/tmp/ssh-6OYFU2TP1IWk/agent.33 [2023-01-17T17:44:01.291Z] SSH_AGENT_PID=39 [2023-01-17T17:44:01.295Z] Running ssh-add (command line suppressed) [2023-01-17T17:44:01.396Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8866721108978933832.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8866721108978933832.key) [2023-01-17T17:44:01.408Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T17:44:01.685Z] + git semver push [2023-01-17T17:44:01.943Z] 2023-01-17 17:44:01,879 [run_push] DEBUG push [2023-01-17T17:44:01.943Z] 2023-01-17 17:44:01,879 [execute] INFO git cat-file --batch-check [2023-01-17T17:44:01.943Z] 2023-01-17 17:44:01,880 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-17T17:44:01.943Z] 2023-01-17 17:44:01,883 [execute] INFO git rev-list 8dd12abf9093f18a1a67758743d2a904f1287e70 -- [2023-01-17T17:44:01.944Z] 2023-01-17 17:44:01,883 [execute] DEBUG Popen(['git', 'rev-list', '8dd12abf9093f18a1a67758743d2a904f1287e70', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-17T17:44:01.944Z] 2023-01-17 17:44:01,890 [execute] INFO git fetch -v origin [2023-01-17T17:44:01.944Z] 2023-01-17 17:44:01,890 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-01-17T17:44:02.510Z] 2023-01-17 17:44:02,461 [run_push] DEBUG no remote changes detected [2023-01-17T17:44:02.510Z] 2023-01-17 17:44:02,462 [execute] INFO git push origin semver [2023-01-17T17:44:02.510Z] 2023-01-17 17:44:02,462 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-17T17:44:03.444Z] 2023-01-17 17:44:03,364 [run_push] DEBUG push all version tags [2023-01-17T17:44:03.444Z] 2023-01-17 17:44:03,364 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-01-17T17:44:03.444Z] 2023-01-17 17:44:03,364 [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-01-17T17:44:04.457Z] 2023-01-17 17:44:04,200 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-17T17:44:04.457Z] 3.0.0-dev.7 [Pipeline] } [2023-01-17T17:44:04.486Z] $ docker exec --env ******** --env ******** 1be366c02e597bafb146225c70b520147f450b407cc732d8405fe671e84fd5ce ssh-agent -k [2023-01-17T17:44:04.589Z] unset SSH_AUTH_SOCK; [2023-01-17T17:44:04.589Z] unset SSH_AGENT_PID; [2023-01-17T17:44:04.589Z] echo Agent pid 39 killed; [2023-01-17T17:44:04.599Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T17:44:04.953Z] + git semver [Pipeline] } [2023-01-17T17:44:05.259Z] $ docker stop --time=1 1be366c02e597bafb146225c70b520147f450b407cc732d8405fe671e84fd5ce [2023-01-17T17:44:06.504Z] $ docker rm -f --volumes 1be366c02e597bafb146225c70b520147f450b407cc732d8405fe671e84fd5ce [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-01-17T17:44:07.032Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-01-17T17:44:07.032Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-01-17T17:44:07.032Z] total 16 [2023-01-17T17:44:07.032Z] drwxr-xr-x 3 root root 4096 Jan 17 17:33 . [2023-01-17T17:44:07.032Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 17 17:43 .. [2023-01-17T17:44:07.032Z] drwxr-xr-x 2 root root 4096 Jan 17 17:33 cost [2023-01-17T17:44:07.032Z] -rw-r--r-- 1 root root 87 Jan 17 17:33 cost.csv [2023-01-17T17:44:07.032Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-01-17T17:44:07.032Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-01-17T17:44:07.032Z] total 16 [2023-01-17T17:44:07.032Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 17:33 . [2023-01-17T17:44:07.032Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 17 17:43 .. [2023-01-17T17:44:07.032Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 17 17:33 cost [2023-01-17T17:44:07.032Z] -rw-r--r-- 1 jenkins jenkins 87 Jan 17 17:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:44:07.335Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:44:08.193Z] ---> package-listing.sh [2023-01-17T17:44:08.193Z] ++ facter osfamily [2023-01-17T17:44:08.193Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-17T17:44:08.452Z] + OS_FAMILY=debian [2023-01-17T17:44:08.453Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-01-17T17:44:08.453Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-17T17:44:08.453Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-17T17:44:08.453Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-17T17:44:08.453Z] + PACKAGES=/tmp/packages_start.txt [2023-01-17T17:44:08.453Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-01-17T17:44:08.453Z] + PACKAGES=/tmp/packages_end.txt [2023-01-17T17:44:08.453Z] + case "${OS_FAMILY}" in [2023-01-17T17:44:08.453Z] + dpkg -l [2023-01-17T17:44:08.453Z] + grep '^ii' [2023-01-17T17:44:08.453Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-17T17:44:08.453Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-17T17:44:08.453Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-17T17:44:08.453Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-01-17T17:44:08.453Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-01-17T17:44:08.453Z] + 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-01-17T17:44:08.464Z] 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-01-17T17:44:08.741Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:44:09.320Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T17:44:09.320Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:44:09.386Z] prd-ubuntu20.04-docker-8c-8g-2746 does not seem to be running inside a container [2023-01-17T17:44:09.414Z] $ 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-01-17T17:44:09.639Z] $ docker top a475ce0bd2e29a5045a3b017b818df34ab01f0be5f49114b8fb24dd515daaf3d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T17:44:09.977Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-17T17:44:10.259Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-17T17:44:10.545Z] + ls /var/log/sa-host [2023-01-17T17:44:10.545Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T17:44:10.616Z] provisioning config files... [2023-01-17T17:44:10.622Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7305855376553427219tmp [Pipeline] { [Pipeline] echo [2023-01-17T17:44:10.633Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:44:10.920Z] ---> create-netrc.sh [Pipeline] } [2023-01-17T17:44:10.927Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:44:11.249Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-17T17:44:11.258Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:44:11.540Z] ---> sudo-logs.sh [2023-01-17T17:44:11.540Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-17T17:44:11.572Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:44:11.857Z] ---> job-cost.sh [2023-01-17T17:44:11.857Z] lf-activate-venv: SKIPPING [2023-01-17T17:44:11.857Z] DEBUG: total: 0.2199999988079071 [2023-01-17T17:44:11.857Z] INFO: Retrieving Stack Cost... [2023-01-17T17:44:12.117Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-17T17:44:12.688Z] INFO: Archiving Costs [Pipeline] echo [2023-01-17T17:44:12.702Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:44:12.993Z] ---> logs-deploy.sh [2023-01-17T17:44:12.993Z] lf-activate-venv: SKIPPING [2023-01-17T17:44:12.993Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/72 [2023-01-17T17:44:12.993Z] INFO: archiving workspace using pattern(s): [2023-01-17T17:44:13.929Z] Archives upload complete. [2023-01-17T17:44:14.188Z] INFO: archiving logs to Nexus