Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e3fb6b6c893123b5784ccc2dd10ff9f0848293eb 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-ssh8138988434855970520.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-ssh3270930017753479996.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-ssh17728733200982454117.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-ssh13882516589368465777.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-ssh16862172041256038970.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 Running on prd-ubuntu20.04-docker-8c-8g-6708 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision e3fb6b6c893123b5784ccc2dd10ff9f0848293eb (main) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e3fb6b6c893123b5784ccc2dd10ff9f0848293eb # timeout=10 Commit message: "Merge pull request #417 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.34" > git rev-list --no-walk c3aad7bd2c33aca71f49ec3c385ee682c91bb904 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-20T06:10:21.562Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-20T06:10:21.626Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-20T06:10:21.642Z] ========================================================= [2023-02-20T06:10:21.642Z] EdgeX Global Pipelines Version Info [2023-02-20T06:10:21.642Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:10:22.385Z] ------------------- [2023-02-20T06:10:22.385Z] stable info: [2023-02-20T06:10:22.385Z] ------------------- [2023-02-20T06:10:22.385Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-20T06:10:22.385Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-20T06:10:22.385Z] Message: update stable to v1.0.244 [2023-02-20T06:10:22.955Z] ------------------- [2023-02-20T06:10:22.955Z] experimental info: [2023-02-20T06:10:22.955Z] ------------------- [2023-02-20T06:10:22.955Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-20T06:10:22.955Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-20T06:10:22.955Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-20T06:10:23.130Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-02-20T06:10:23.141Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-02-20T06:10:23.160Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-20T06:10:23.177Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-20T06:10:23.186Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-20T06:10:23.200Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-20T06:10:23.215Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-20T06:10:23.234Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-20T06:10:23.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-20T06:10:23.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-20T06:10:23.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-20T06:10:23.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-02-20T06:10:23.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-20T06:10:23.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-20T06:10:23.324Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-20T06:10:23.335Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-20T06:10:23.346Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-20T06:10:23.357Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-20T06:10:23.369Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-20T06:10:23.383Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-20T06:10:23.395Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-20T06:10:23.409Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-20T06:10:23.420Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-20T06:10:23.432Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-20T06:10:23.446Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-20T06:10:23.457Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-20T06:10:23.469Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-20T06:10:23.481Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-02-20T06:10:23.499Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-02-20T06:10:23.517Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-02-20T06:10:23.535Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [Pipeline] echo [2023-02-20T06:10:23.555Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e3fb6b6 [Pipeline] echo [2023-02-20T06:10:23.572Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-20T06:10:23.616Z] provisioning config files... [2023-02-20T06:10:23.628Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13133698272858452396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:10:23.931Z] ---> docker-login.sh [2023-02-20T06:10:23.931Z] nexus3.edgexfoundry.org:10001 [2023-02-20T06:10:24.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:10:24.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:10:24.193Z] Configure a credential helper to remove this warning. See [2023-02-20T06:10:24.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:10:24.193Z] [2023-02-20T06:10:24.193Z] Login Succeeded [2023-02-20T06:10:24.193Z] nexus3.edgexfoundry.org:10002 [2023-02-20T06:10:24.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:10:24.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:10:24.453Z] Configure a credential helper to remove this warning. See [2023-02-20T06:10:24.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:10:24.453Z] [2023-02-20T06:10:24.453Z] Login Succeeded [2023-02-20T06:10:24.453Z] nexus3.edgexfoundry.org:10003 [2023-02-20T06:10:24.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:10:24.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:10:24.453Z] Configure a credential helper to remove this warning. See [2023-02-20T06:10:24.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:10:24.453Z] [2023-02-20T06:10:24.453Z] Login Succeeded [2023-02-20T06:10:24.453Z] nexus3.edgexfoundry.org:10004 [2023-02-20T06:10:24.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:10:24.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:10:24.712Z] Configure a credential helper to remove this warning. See [2023-02-20T06:10:24.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:10:24.712Z] [2023-02-20T06:10:24.712Z] Login Succeeded [2023-02-20T06:10:24.712Z] docker.io [2023-02-20T06:10:24.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:10:24.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:10:24.972Z] Configure a credential helper to remove this warning. See [2023-02-20T06:10:24.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:10:24.972Z] [2023-02-20T06:10:24.972Z] Login Succeeded [2023-02-20T06:10:24.972Z] ---> docker-login.sh ends [Pipeline] } [2023-02-20T06:10:24.980Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-20T06:10:25.353Z] + git rev-list -1 --merges e3fb6b6c893123b5784ccc2dd10ff9f0848293eb~1..e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [Pipeline] echo [2023-02-20T06:10:25.373Z] -----------> git rev-list -1 --merges e3fb6b6c893123b5784ccc2dd10ff9f0848293eb~1..e3fb6b6c893123b5784ccc2dd10ff9f0848293eb e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [2023-02-20T06:10:25.373Z] e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [false] [Pipeline] sh [2023-02-20T06:10:25.659Z] + git log --format=format:%s -1 e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [Pipeline] echo [2023-02-20T06:10:25.676Z] ========================================================= [2023-02-20T06:10:25.676Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-20T06:10:25.676Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-20T06:10:26.015Z] + git log --format=format:%s -1 e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [Pipeline] echo [2023-02-20T06:10:26.026Z] [semverPrep] GIT_COMMIT: e3fb6b6c893123b5784ccc2dd10ff9f0848293eb, Commit Message: Merge pull request #417 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.34 [Pipeline] echo [2023-02-20T06:10:26.036Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-20T06:10:26.403Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-20T06:10:26.403Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-20T06:10:26.403Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-20T06:10:26.403Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-20T06:10:26.403Z] + + sudoecho tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a [2023-02-20T06:10:26.403Z] /etc/ssh/ssh_known_hosts [2023-02-20T06:10:26.403Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:10:26.801Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T06:10:26.801Z] [2023-02-20T06:10:26.801Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:10:27.097Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T06:10:27.363Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-20T06:10:27.363Z] b85a868b505f: Pulling fs layer [2023-02-20T06:10:27.363Z] e2be974225ed: Pulling fs layer [2023-02-20T06:10:27.363Z] 339a4e72a1f5: Pulling fs layer [2023-02-20T06:10:27.363Z] 988bab9f4d93: Pulling fs layer [2023-02-20T06:10:27.363Z] 1469e6f7b9e6: Pulling fs layer [2023-02-20T06:10:27.363Z] eaf3925da568: Pulling fs layer [2023-02-20T06:10:27.363Z] bab4dde63d76: Pulling fs layer [2023-02-20T06:10:27.363Z] bde34c3a00c8: Pulling fs layer [2023-02-20T06:10:27.363Z] 1469e6f7b9e6: Waiting [2023-02-20T06:10:27.363Z] 988bab9f4d93: Waiting [2023-02-20T06:10:27.363Z] eaf3925da568: Waiting [2023-02-20T06:10:27.363Z] bab4dde63d76: Waiting [2023-02-20T06:10:27.363Z] bde34c3a00c8: Waiting [2023-02-20T06:10:27.363Z] b352a97aabf1: Pulling fs layer [2023-02-20T06:10:27.363Z] 4872d77fe225: Pulling fs layer [2023-02-20T06:10:27.363Z] b352a97aabf1: Waiting [2023-02-20T06:10:27.363Z] 5851b861e8e6: Pulling fs layer [2023-02-20T06:10:27.363Z] 5851b861e8e6: Waiting [2023-02-20T06:10:27.363Z] e2be974225ed: Verifying Checksum [2023-02-20T06:10:27.363Z] e2be974225ed: Download complete [2023-02-20T06:10:27.363Z] 988bab9f4d93: Download complete [2023-02-20T06:10:27.624Z] 1469e6f7b9e6: Verifying Checksum [2023-02-20T06:10:27.624Z] 1469e6f7b9e6: Download complete [2023-02-20T06:10:27.624Z] eaf3925da568: Verifying Checksum [2023-02-20T06:10:27.624Z] eaf3925da568: Download complete [2023-02-20T06:10:27.624Z] 339a4e72a1f5: Verifying Checksum [2023-02-20T06:10:27.624Z] 339a4e72a1f5: Download complete [2023-02-20T06:10:27.624Z] bde34c3a00c8: Download complete [2023-02-20T06:10:27.624Z] b352a97aabf1: Verifying Checksum [2023-02-20T06:10:27.624Z] b352a97aabf1: Download complete [2023-02-20T06:10:27.624Z] 4872d77fe225: Download complete [2023-02-20T06:10:27.624Z] 5851b861e8e6: Download complete [2023-02-20T06:10:27.624Z] b85a868b505f: Verifying Checksum [2023-02-20T06:10:27.624Z] b85a868b505f: Download complete [2023-02-20T06:10:27.883Z] bab4dde63d76: Verifying Checksum [2023-02-20T06:10:29.261Z] b85a868b505f: Pull complete [2023-02-20T06:10:29.830Z] e2be974225ed: Pull complete [2023-02-20T06:10:30.767Z] 339a4e72a1f5: Pull complete [2023-02-20T06:10:31.024Z] 988bab9f4d93: Pull complete [2023-02-20T06:10:31.963Z] 1469e6f7b9e6: Pull complete [2023-02-20T06:10:31.963Z] eaf3925da568: Pull complete [2023-02-20T06:10:34.494Z] bab4dde63d76: Pull complete [2023-02-20T06:10:35.066Z] bde34c3a00c8: Pull complete [2023-02-20T06:10:35.637Z] b352a97aabf1: Pull complete [2023-02-20T06:10:35.897Z] 4872d77fe225: Pull complete [2023-02-20T06:10:36.481Z] 5851b861e8e6: Pull complete [2023-02-20T06:10:36.741Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-20T06:10:37.003Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T06:10:37.003Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:10:37.122Z] prd-ubuntu20.04-docker-8c-8g-6708 does not seem to be running inside a container [2023-02-20T06:10:37.157Z] $ 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-02-20T06:10:45.532Z] $ docker top b9551d40c916a128ebe68b4838f7322c17b8d666b619312754ed485d876a352d -eo pid,comm [2023-02-20T06:10:45.613Z] 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-02-20T06:10:45.613Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-20T06:10:45.652Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-20T06:10:45.652Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-20T06:10:45.794Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-20T06:10:45.796Z] $ docker exec b9551d40c916a128ebe68b4838f7322c17b8d666b619312754ed485d876a352d ssh-agent [2023-02-20T06:10:46.006Z] SSH_AUTH_SOCK=/tmp/ssh-dsDR9O8dXeAB/agent.14 [2023-02-20T06:10:46.006Z] SSH_AGENT_PID=20 [2023-02-20T06:10:46.012Z] Running ssh-add (command line suppressed) [2023-02-20T06:10:46.115Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11442379466729524564.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11442379466729524564.key) [2023-02-20T06:10:46.128Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-20T06:10:46.416Z] + git tag --points-at HEAD [Pipeline] } [2023-02-20T06:10:46.431Z] $ docker exec --env ******** --env ******** b9551d40c916a128ebe68b4838f7322c17b8d666b619312754ed485d876a352d ssh-agent -k [2023-02-20T06:10:46.534Z] unset SSH_AUTH_SOCK; [2023-02-20T06:10:46.535Z] unset SSH_AGENT_PID; [2023-02-20T06:10:46.535Z] echo Agent pid 20 killed; [2023-02-20T06:10:46.546Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-20T06:10:46.574Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-20T06:10:46.574Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-20T06:10:46.678Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-20T06:10:46.680Z] $ docker exec b9551d40c916a128ebe68b4838f7322c17b8d666b619312754ed485d876a352d ssh-agent [2023-02-20T06:10:46.845Z] SSH_AUTH_SOCK=/tmp/ssh-pMhYGh9ouu01/agent.52 [2023-02-20T06:10:46.845Z] SSH_AGENT_PID=58 [2023-02-20T06:10:46.850Z] Running ssh-add (command line suppressed) [2023-02-20T06:10:46.958Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2954229637900174484.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2954229637900174484.key) [2023-02-20T06:10:46.972Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-20T06:10:47.257Z] + git semver init [2023-02-20T06:10:47.516Z] 2023-02-20 06:10:47,462 [run_init] DEBUG init version:0.0.0 force:False [2023-02-20T06:10:47.516Z] 2023-02-20 06:10:47,464 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-02-20T06:10:47.516Z] 2023-02-20 06:10:47,465 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-02-20T06:10:47.516Z] 2023-02-20 06:10:47,465 [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-02-20T06:10:48.903Z] 2023-02-20 06:10:48,560 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-02-20T06:10:48.903Z] 2023-02-20 06:10:48,561 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-02-20T06:10:48.903Z] 2023-02-20 06:10:48,561 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-20T06:10:48.903Z] 2023-02-20 06:10:48,561 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-20T06:10:48.903Z] 3.0.0-dev.13 [Pipeline] } [2023-02-20T06:10:48.911Z] $ docker exec --env ******** --env ******** b9551d40c916a128ebe68b4838f7322c17b8d666b619312754ed485d876a352d ssh-agent -k [2023-02-20T06:10:49.021Z] unset SSH_AUTH_SOCK; [2023-02-20T06:10:49.022Z] unset SSH_AGENT_PID; [2023-02-20T06:10:49.022Z] echo Agent pid 58 killed; [2023-02-20T06:10:49.032Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-20T06:10:49.353Z] + git semver [Pipeline] } [2023-02-20T06:10:49.629Z] $ docker stop --time=1 b9551d40c916a128ebe68b4838f7322c17b8d666b619312754ed485d876a352d [2023-02-20T06:10:51.258Z] $ docker rm -f --volumes b9551d40c916a128ebe68b4838f7322c17b8d666b619312754ed485d876a352d [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-20T06:10:51.596Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-20T06:10:51.870Z] Stashed 1 file(s) [Pipeline] echo [2023-02-20T06:10:51.873Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.13 [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-02-20T06:10:52.012Z] provisioning config files... [2023-02-20T06:10:52.041Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3501266477765695768tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:10:52.289Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6713 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-02-20T06:10:52.300Z] Running in /w/workspace/device-modbus-go/79 [Pipeline] { [Pipeline] checkout [2023-02-20T06:10:52.330Z] Selected Git installation does not exist. Using Default [2023-02-20T06:10:52.330Z] The recommended git tool is: NONE [2023-02-20T06:10:52.339Z] ---> docker-login.sh [2023-02-20T06:10:52.339Z] nexus3.edgexfoundry.org:10001 [2023-02-20T06:10:52.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:10:52.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:10:52.339Z] Configure a credential helper to remove this warning. See [2023-02-20T06:10:52.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:10:52.339Z] [2023-02-20T06:10:52.339Z] Login Succeeded [2023-02-20T06:10:52.339Z] nexus3.edgexfoundry.org:10002 [2023-02-20T06:10:52.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:10:52.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:10:52.603Z] Configure a credential helper to remove this warning. See [2023-02-20T06:10:52.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:10:52.603Z] [2023-02-20T06:10:52.603Z] Login Succeeded [2023-02-20T06:10:52.603Z] nexus3.edgexfoundry.org:10003 [2023-02-20T06:10:52.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:10:52.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:10:52.603Z] Configure a credential helper to remove this warning. See [2023-02-20T06:10:52.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:10:52.603Z] [2023-02-20T06:10:52.603Z] Login Succeeded [2023-02-20T06:10:52.603Z] nexus3.edgexfoundry.org:10004 [2023-02-20T06:10:52.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:10:52.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:10:52.863Z] Configure a credential helper to remove this warning. See [2023-02-20T06:10:52.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:10:52.863Z] [2023-02-20T06:10:52.863Z] Login Succeeded [2023-02-20T06:10:52.863Z] docker.io [2023-02-20T06:10:52.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:10:53.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:10:53.137Z] Configure a credential helper to remove this warning. See [2023-02-20T06:10:53.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:10:53.137Z] [2023-02-20T06:10:53.137Z] Login Succeeded [2023-02-20T06:10:53.137Z] ---> docker-login.sh ends [Pipeline] } [2023-02-20T06:10:53.144Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-20T06:10:53.202Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T06:10:53.214Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T06:10:53.223Z] ========================================================= [2023-02-20T06:10:53.224Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-20T06:10:53.224Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:10:53.551Z] + 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-02-20T06:10:53.551Z] Sending build context to Docker daemon 6.383MB [2023-02-20T06:10:53.551Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T06:10:53.551Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-20T06:10:53.813Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-20T06:10:53.813Z] 213ec9aee27d: Pulling fs layer [2023-02-20T06:10:53.813Z] 4583459ba037: Pulling fs layer [2023-02-20T06:10:53.813Z] 93c1e223e6f2: Pulling fs layer [2023-02-20T06:10:53.813Z] 53926ce57604: Pulling fs layer [2023-02-20T06:10:53.813Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-20T06:10:53.813Z] 22ff95d597cd: Pulling fs layer [2023-02-20T06:10:53.813Z] 12d6caf4c0d1: Pulling fs layer [2023-02-20T06:10:53.813Z] 53926ce57604: Waiting [2023-02-20T06:10:53.813Z] 21b2b0c7a3f4: Waiting [2023-02-20T06:10:53.813Z] 22ff95d597cd: Waiting [2023-02-20T06:10:53.813Z] 96b7cbca73a9: Pulling fs layer [2023-02-20T06:10:53.813Z] a7acece74701: Pulling fs layer [2023-02-20T06:10:53.813Z] 12d6caf4c0d1: Waiting [2023-02-20T06:10:53.813Z] 96b7cbca73a9: Waiting [2023-02-20T06:10:53.813Z] a7acece74701: Waiting [2023-02-20T06:10:53.813Z] 93c1e223e6f2: Verifying Checksum [2023-02-20T06:10:53.813Z] 93c1e223e6f2: Download complete [2023-02-20T06:10:53.813Z] 4583459ba037: Verifying Checksum [2023-02-20T06:10:53.813Z] 4583459ba037: Download complete [2023-02-20T06:10:53.813Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-20T06:10:53.813Z] 21b2b0c7a3f4: Download complete [2023-02-20T06:10:53.813Z] 22ff95d597cd: Download complete [2023-02-20T06:10:53.813Z] 213ec9aee27d: Verifying Checksum [2023-02-20T06:10:53.813Z] 213ec9aee27d: Download complete [2023-02-20T06:10:54.078Z] 12d6caf4c0d1: Verifying Checksum [2023-02-20T06:10:54.078Z] 12d6caf4c0d1: Download complete [2023-02-20T06:10:54.078Z] 213ec9aee27d: Pull complete [2023-02-20T06:10:54.341Z] a7acece74701: Verifying Checksum [2023-02-20T06:10:54.341Z] a7acece74701: Download complete [2023-02-20T06:10:54.911Z] 96b7cbca73a9: Verifying Checksum [2023-02-20T06:10:54.911Z] 96b7cbca73a9: Download complete [2023-02-20T06:10:54.911Z] 4583459ba037: Pull complete [2023-02-20T06:10:54.911Z] 53926ce57604: Verifying Checksum [2023-02-20T06:10:54.911Z] 53926ce57604: Download complete [2023-02-20T06:10:55.170Z] 93c1e223e6f2: Pull complete [2023-02-20T06:10:57.335Z] using credential edgex-jenkins-ssh [2023-02-20T06:10:57.360Z] Cloning the remote Git repository [2023-02-20T06:10:57.422Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-02-20T06:10:57.507Z] > git init /w/workspace/device-modbus-go/79 # timeout=10 [2023-02-20T06:10:57.664Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-02-20T06:10:57.665Z] > git --version # timeout=10 [2023-02-20T06:10:57.689Z] > git --version # 'git version 2.25.1' [2023-02-20T06:10:57.691Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-20T06:10:57.751Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-20T06:10:58.969Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-02-20T06:10:58.988Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-20T06:10:59.794Z] Avoid second fetch [2023-02-20T06:10:59.794Z] Checking out Revision e3fb6b6c893123b5784ccc2dd10ff9f0848293eb (main) [2023-02-20T06:11:00.315Z] Commit message: "Merge pull request #417 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.34" [2023-02-20T06:11:00.443Z] 53926ce57604: Pull complete [2023-02-20T06:11:00.443Z] 21b2b0c7a3f4: Pull complete [2023-02-20T06:11:00.443Z] 22ff95d597cd: Pull complete [2023-02-20T06:11:00.443Z] 12d6caf4c0d1: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-20T06:10:59.826Z] > git config core.sparsecheckout # timeout=10 [2023-02-20T06:10:59.844Z] > git checkout -f e3fb6b6c893123b5784ccc2dd10ff9f0848293eb # timeout=10 [2023-02-20T06:11:01.130Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-20T06:11:01.130Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-20T06:11:01.130Z] Dload Upload Total Spent Left Speed [2023-02-20T06:11:01.130Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 88548 [Pipeline] sh [2023-02-20T06:11:01.714Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-20T06:11:02.053Z] + sudo tee /etc/docker/daemon.new [2023-02-20T06:11:02.053Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-20T06:11:02.053Z] { [2023-02-20T06:11:02.053Z] "registry-mirrors": [ [2023-02-20T06:11:02.053Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-20T06:11:02.053Z] ], [2023-02-20T06:11:02.053Z] "bip": "10.250.0.254/24", [2023-02-20T06:11:02.053Z] "hosts": [ [2023-02-20T06:11:02.053Z] "tcp://0.0.0.0:5555", [2023-02-20T06:11:02.053Z] "unix:///var/run/docker.sock" [2023-02-20T06:11:02.053Z] ], [2023-02-20T06:11:02.053Z] "mtu": 1458, [2023-02-20T06:11:02.053Z] "selinux-enabled": true, [2023-02-20T06:11:02.053Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-20T06:11:02.053Z] } [Pipeline] sh [2023-02-20T06:11:02.342Z] 96b7cbca73a9: Pull complete [2023-02-20T06:11:02.398Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-20T06:11:02.732Z] + sudo service docker restart [2023-02-20T06:11:03.281Z] a7acece74701: Pull complete [2023-02-20T06:11:03.281Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-20T06:11:03.281Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-20T06:11:03.281Z] ---> db6d94c90886 [2023-02-20T06:11:03.281Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-02-20T06:11:07.475Z] ---> Running in 6f435b46e923 [2023-02-20T06:11:07.475Z] Removing intermediate container 6f435b46e923 [2023-02-20T06:11:07.475Z] ---> 531e2aab6f0b [2023-02-20T06:11:07.475Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-20T06:11:07.475Z] ---> Running in b8ff0954084d [2023-02-20T06:11:07.475Z] Removing intermediate container b8ff0954084d [2023-02-20T06:11:07.475Z] ---> e118e5e6d386 [2023-02-20T06:11:07.475Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-02-20T06:11:07.475Z] ---> Running in d93c09196380 [2023-02-20T06:11:07.475Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-20T06:11:07.475Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-20T06:11:07.734Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-02-20T06:11:07.734Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-02-20T06:11:07.734Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-02-20T06:11:07.734Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-02-20T06:11:07.734Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-02-20T06:11:07.734Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-02-20T06:11:07.734Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-02-20T06:11:07.734Z] (8/8) Installing openssh (9.0_p1-r2) [2023-02-20T06:11:07.734Z] Executing busybox-1.35.0-r17.trigger [2023-02-20T06:11:07.734Z] OK: 217 MiB in 59 packages [2023-02-20T06:11:08.301Z] Removing intermediate container d93c09196380 [2023-02-20T06:11:08.301Z] ---> a323a6e2f695 [2023-02-20T06:11:08.301Z] Step 6/10 : WORKDIR /device-modbus-go [2023-02-20T06:11:08.301Z] ---> Running in 9461d5bce0d6 [2023-02-20T06:11:08.301Z] Removing intermediate container 9461d5bce0d6 [2023-02-20T06:11:08.301Z] ---> 5670335c241d [2023-02-20T06:11:08.301Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-20T06:11:08.560Z] ---> c009c0956d70 [2023-02-20T06:11:08.560Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T06:11:08.560Z] ---> Running in 5f5b0ef087e8 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-20T06:11:21.008Z] provisioning config files... [2023-02-20T06:11:21.035Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/79@tmp/config16088295481878177212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:11:21.399Z] ---> docker-login.sh [2023-02-20T06:11:21.399Z] nexus3.edgexfoundry.org:10001 [2023-02-20T06:11:21.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:11:21.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:11:21.987Z] Configure a credential helper to remove this warning. See [2023-02-20T06:11:21.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:11:21.987Z] [2023-02-20T06:11:21.987Z] Login Succeeded [2023-02-20T06:11:21.988Z] nexus3.edgexfoundry.org:10002 [2023-02-20T06:11:22.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:11:22.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:11:22.531Z] Configure a credential helper to remove this warning. See [2023-02-20T06:11:22.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:11:22.531Z] [2023-02-20T06:11:22.531Z] Login Succeeded [2023-02-20T06:11:22.531Z] nexus3.edgexfoundry.org:10003 [2023-02-20T06:11:22.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:11:22.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:11:22.800Z] Configure a credential helper to remove this warning. See [2023-02-20T06:11:22.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:11:22.800Z] [2023-02-20T06:11:22.800Z] Login Succeeded [2023-02-20T06:11:22.800Z] nexus3.edgexfoundry.org:10004 [2023-02-20T06:11:23.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:11:23.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:11:23.072Z] Configure a credential helper to remove this warning. See [2023-02-20T06:11:23.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:11:23.072Z] [2023-02-20T06:11:23.072Z] Login Succeeded [2023-02-20T06:11:23.072Z] docker.io [2023-02-20T06:11:23.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:11:23.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:11:23.614Z] Configure a credential helper to remove this warning. See [2023-02-20T06:11:23.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:11:23.614Z] [2023-02-20T06:11:23.614Z] Login Succeeded [2023-02-20T06:11:23.614Z] ---> docker-login.sh ends [Pipeline] } [2023-02-20T06:11:23.628Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-20T06:11:23.885Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T06:11:23.902Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T06:11:23.917Z] ========================================================= [2023-02-20T06:11:23.917Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-20T06:11:23.917Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:11:24.267Z] + 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-02-20T06:11:24.536Z] Sending build context to Docker daemon 3.326MB [2023-02-20T06:11:24.536Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T06:11:24.536Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-20T06:11:24.809Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-20T06:11:24.809Z] 9b18e9b68314: Pulling fs layer [2023-02-20T06:11:24.809Z] 35d82f9e3411: Pulling fs layer [2023-02-20T06:11:24.809Z] e16973657156: Pulling fs layer [2023-02-20T06:11:24.809Z] fc693d55d65f: Pulling fs layer [2023-02-20T06:11:24.809Z] 7e9fc2657dce: Pulling fs layer [2023-02-20T06:11:24.809Z] dda99020689f: Pulling fs layer [2023-02-20T06:11:24.809Z] db1c61fa0a46: Pulling fs layer [2023-02-20T06:11:24.809Z] 891c053d2c06: Pulling fs layer [2023-02-20T06:11:24.809Z] fc693d55d65f: Waiting [2023-02-20T06:11:24.809Z] dda99020689f: Waiting [2023-02-20T06:11:24.809Z] db1c61fa0a46: Waiting [2023-02-20T06:11:24.809Z] 7e9fc2657dce: Waiting [2023-02-20T06:11:24.809Z] e16973657156: Download complete [2023-02-20T06:11:24.809Z] 35d82f9e3411: Verifying Checksum [2023-02-20T06:11:24.809Z] 35d82f9e3411: Download complete [2023-02-20T06:11:24.809Z] 7e9fc2657dce: Verifying Checksum [2023-02-20T06:11:24.809Z] 7e9fc2657dce: Download complete [2023-02-20T06:11:24.809Z] dda99020689f: Download complete [2023-02-20T06:11:24.809Z] 9b18e9b68314: Download complete [2023-02-20T06:11:25.780Z] 9b18e9b68314: Pull complete [2023-02-20T06:11:25.780Z] 891c053d2c06: Verifying Checksum [2023-02-20T06:11:25.780Z] 891c053d2c06: Download complete [2023-02-20T06:11:26.384Z] 35d82f9e3411: Pull complete [2023-02-20T06:11:26.663Z] e16973657156: Pull complete [2023-02-20T06:11:27.257Z] db1c61fa0a46: Download complete [2023-02-20T06:11:27.845Z] fc693d55d65f: Verifying Checksum [2023-02-20T06:11:27.845Z] fc693d55d65f: Download complete [2023-02-20T06:11:40.202Z] fc693d55d65f: Pull complete [2023-02-20T06:11:40.202Z] 7e9fc2657dce: Pull complete [2023-02-20T06:11:40.202Z] dda99020689f: Pull complete [2023-02-20T06:11:46.877Z] db1c61fa0a46: Pull complete [2023-02-20T06:11:48.314Z] 891c053d2c06: Pull complete [2023-02-20T06:11:48.314Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-20T06:11:48.314Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-20T06:11:48.314Z] ---> f96f9c87975a [2023-02-20T06:11:48.314Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-02-20T06:11:50.266Z] ---> Running in 4f4640e20e6a [2023-02-20T06:11:50.538Z] Removing intermediate container 4f4640e20e6a [2023-02-20T06:11:50.538Z] ---> 551b6e3931d8 [2023-02-20T06:11:50.538Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-20T06:11:50.538Z] ---> Running in 54bee1e1baa2 [2023-02-20T06:11:50.825Z] Removing intermediate container 54bee1e1baa2 [2023-02-20T06:11:50.825Z] ---> 4cb0f786eb54 [2023-02-20T06:11:50.825Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-02-20T06:11:50.825Z] ---> Running in 462f9be74ea8 [2023-02-20T06:11:52.240Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-20T06:11:52.240Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-20T06:11:53.204Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-02-20T06:11:53.204Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-02-20T06:11:53.204Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-02-20T06:11:53.204Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-02-20T06:11:53.204Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-02-20T06:11:53.204Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-02-20T06:11:53.204Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-02-20T06:11:53.204Z] (8/8) Installing openssh (9.0_p1-r2) [2023-02-20T06:11:53.204Z] Executing busybox-1.35.0-r17.trigger [2023-02-20T06:11:53.473Z] OK: 228 MiB in 59 packages [2023-02-20T06:11:54.438Z] Removing intermediate container 462f9be74ea8 [2023-02-20T06:11:54.438Z] ---> 03c93fc54d7d [2023-02-20T06:11:54.438Z] Step 6/10 : WORKDIR /device-modbus-go [2023-02-20T06:11:54.438Z] ---> Running in b77ed3de48ec [2023-02-20T06:11:54.707Z] Removing intermediate container b77ed3de48ec [2023-02-20T06:11:54.707Z] ---> fba37242556f [2023-02-20T06:11:54.707Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-20T06:11:55.294Z] ---> 2505e3deb209 [2023-02-20T06:11:55.294Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T06:11:55.294Z] ---> Running in 5b7f0e6f1136 [2023-02-20T06:11:55.356Z] Removing intermediate container 5f5b0ef087e8 [2023-02-20T06:11:55.356Z] ---> 60c01301de54 [2023-02-20T06:11:55.356Z] Step 9/10 : COPY . . [2023-02-20T06:11:55.356Z] ---> 8b52a8f8c648 [2023-02-20T06:11:55.356Z] Step 10/10 : RUN ${MAKE} [2023-02-20T06:11:55.356Z] ---> Running in 4f9d80216942 [2023-02-20T06:11:55.356Z] noop [2023-02-20T06:11:55.356Z] Removing intermediate container 4f9d80216942 [2023-02-20T06:11:55.356Z] ---> 90141a922fb0 [2023-02-20T06:11:55.356Z] Successfully built 90141a922fb0 [2023-02-20T06:11:55.356Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:11:55.670Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-20T06:11:55.670Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:11:55.744Z] prd-ubuntu20.04-docker-8c-8g-6708 does not seem to be running inside a container [2023-02-20T06:11:55.770Z] $ 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-02-20T06:11:56.136Z] $ docker top 67adaefacd445901a8b0437fc3f1f223f50166ae826cc432e387d68df73cc38c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T06:11:56.481Z] + go version [2023-02-20T06:11:56.481Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-20T06:11:56.490Z] $ docker stop --time=1 67adaefacd445901a8b0437fc3f1f223f50166ae826cc432e387d68df73cc38c [2023-02-20T06:11:57.773Z] $ docker rm -f --volumes 67adaefacd445901a8b0437fc3f1f223f50166ae826cc432e387d68df73cc38c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:11:58.179Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-20T06:11:58.179Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:11:58.254Z] prd-ubuntu20.04-docker-8c-8g-6708 does not seem to be running inside a container [2023-02-20T06:11:58.279Z] $ 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-02-20T06:11:58.616Z] $ docker top 70599a060266fd0d8cbe7fdc51cb457aecc77339f420a52683727f5f04558cd6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T06:11:58.967Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-02-20T06:11:59.262Z] + make test [2023-02-20T06:11:59.263Z] go test ./... -coverprofile=coverage.out [2023-02-20T06:11:59.519Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-02-20T06:12:09.621Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-02-20T06:12:09.621Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.024s coverage: 47.7% of statements [2023-02-20T06:12:17.752Z] 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-02-20T06:12:17.752Z] go vet ./... [2023-02-20T06:12:20.280Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-20T06:12:20.280Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-20T06:12:20.280Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-20T06:12:20.296Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-20T06:12:20.308Z] $ docker stop --time=1 70599a060266fd0d8cbe7fdc51cb457aecc77339f420a52683727f5f04558cd6 [2023-02-20T06:12:23.845Z] $ docker rm -f --volumes 70599a060266fd0d8cbe7fdc51cb457aecc77339f420a52683727f5f04558cd6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-20T06:12:24.362Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-20T06:12:24.428Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-20T06:12:24.848Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-20T06:12:25.137Z] + ls -al . [2023-02-20T06:12:25.137Z] total 184 [2023-02-20T06:12:25.137Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 20 06:11 . [2023-02-20T06:12:25.137Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 06:10 .. [2023-02-20T06:12:25.137Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 20 06:10 .dockerignore [2023-02-20T06:12:25.137Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 06:12 .git [2023-02-20T06:12:25.137Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 06:10 .github [2023-02-20T06:12:25.137Z] -rw-rw-r-- 1 jenkins jenkins 331 Feb 20 06:10 .gitignore [2023-02-20T06:12:25.137Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 20 06:10 .golangci.yml [2023-02-20T06:12:25.137Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 06:10 .semver [2023-02-20T06:12:25.137Z] -rw-rw-r-- 1 jenkins jenkins 10236 Feb 20 06:10 Attribution.txt [2023-02-20T06:12:25.137Z] -rw-rw-r-- 1 jenkins jenkins 11576 Feb 20 06:10 CHANGELOG.md [2023-02-20T06:12:25.137Z] -rw-rw-r-- 1 jenkins jenkins 1365 Feb 20 06:10 Dockerfile [2023-02-20T06:12:25.137Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 06:10 GOVERNANCE.md [2023-02-20T06:12:25.137Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 20 06:10 Jenkinsfile [2023-02-20T06:12:25.137Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 06:10 LICENSE [2023-02-20T06:12:25.137Z] -rw-rw-r-- 1 jenkins jenkins 1670 Feb 20 06:10 Makefile [2023-02-20T06:12:25.137Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 20 06:10 OWNERS.md [2023-02-20T06:12:25.137Z] -rw-rw-r-- 1 jenkins jenkins 4061 Feb 20 06:10 README.md [2023-02-20T06:12:25.137Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 20 06:10 VERSION [2023-02-20T06:12:25.137Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 06:10 bin [2023-02-20T06:12:25.137Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 06:10 cmd [2023-02-20T06:12:25.137Z] -rw-r--r-- 1 jenkins jenkins 23241 Feb 20 06:12 coverage.out [2023-02-20T06:12:25.137Z] -rw-rw-r-- 1 jenkins jenkins 3496 Feb 20 06:10 go.mod [2023-02-20T06:12:25.137Z] -rw-rw-r-- 1 jenkins jenkins 33621 Feb 20 06:10 go.sum [2023-02-20T06:12:25.137Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 06:10 internal [2023-02-20T06:12:25.137Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 06:10 simulator [2023-02-20T06:12:25.137Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 06:10 snap [2023-02-20T06:12:25.137Z] -rw-rw-r-- 1 jenkins jenkins 229 Feb 20 06:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:12:25.481Z] + 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=e3fb6b6c893123b5784ccc2dd10ff9f0848293eb --label arch=amd64 --label version=3.0.0-dev.13 . [2023-02-20T06:12:25.481Z] Sending build context to Docker daemon 6.407MB [2023-02-20T06:12:25.481Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T06:12:25.481Z] Step 2/22 : FROM ${BASE} AS builder [2023-02-20T06:12:25.481Z] ---> 90141a922fb0 [2023-02-20T06:12:25.481Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-02-20T06:12:26.048Z] ---> Running in 06bd50e43c0e [2023-02-20T06:12:26.306Z] Removing intermediate container 06bd50e43c0e [2023-02-20T06:12:26.306Z] ---> f0630e8185f4 [2023-02-20T06:12:26.306Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-20T06:12:26.565Z] ---> Running in a8c1c0b3ee32 [2023-02-20T06:12:26.829Z] Removing intermediate container a8c1c0b3ee32 [2023-02-20T06:12:26.829Z] ---> bab037d38666 [2023-02-20T06:12:26.829Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-02-20T06:12:27.088Z] ---> Running in 3378ac327aa0 [2023-02-20T06:12:27.655Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-20T06:12:27.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-20T06:12:28.173Z] OK: 217 MiB in 59 packages [2023-02-20T06:12:30.086Z] Removing intermediate container 3378ac327aa0 [2023-02-20T06:12:30.086Z] ---> 86018410299e [2023-02-20T06:12:30.086Z] Step 6/22 : WORKDIR /device-modbus-go [2023-02-20T06:12:30.086Z] ---> Running in 79ac3fba9992 [2023-02-20T06:12:30.345Z] Removing intermediate container 79ac3fba9992 [2023-02-20T06:12:30.345Z] ---> ce2b2140bc06 [2023-02-20T06:12:30.345Z] Step 7/22 : COPY go.mod vendor* ./ [2023-02-20T06:12:30.914Z] ---> e11e62fc26a1 [2023-02-20T06:12:30.914Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T06:12:31.483Z] ---> Running in 9442aaff54e2 [2023-02-20T06:12:33.386Z] Removing intermediate container 9442aaff54e2 [2023-02-20T06:12:33.386Z] ---> 937e05f89dd1 [2023-02-20T06:12:33.386Z] Step 9/22 : COPY . . [2023-02-20T06:12:34.322Z] ---> 9e18f86503ca [2023-02-20T06:12:34.322Z] Step 10/22 : RUN ${MAKE} [2023-02-20T06:12:34.581Z] ---> Running in 643a24831aea [2023-02-20T06:12:35.517Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.13" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-02-20T06:13:02.070Z] Removing intermediate container 643a24831aea [2023-02-20T06:13:02.070Z] ---> 20dd15c33f2d [2023-02-20T06:13:02.070Z] Step 11/22 : FROM alpine:3.14 [2023-02-20T06:13:02.070Z] 3.14: Pulling from library/alpine [2023-02-20T06:13:02.070Z] d261077062b2: Pulling fs layer [2023-02-20T06:13:02.070Z] d261077062b2: Verifying Checksum [2023-02-20T06:13:02.070Z] d261077062b2: Download complete [2023-02-20T06:13:02.070Z] d261077062b2: Pull complete [2023-02-20T06:13:02.070Z] Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 [2023-02-20T06:13:02.070Z] Status: Downloaded newer image for alpine:3.14 [2023-02-20T06:13:02.070Z] ---> 6dff1269bc79 [2023-02-20T06:13:02.070Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-02-20T06:13:02.070Z] ---> Running in 49e91611847b [2023-02-20T06:13:02.638Z] Removing intermediate container 49e91611847b [2023-02-20T06:13:02.638Z] ---> ad2fac74555d [2023-02-20T06:13:02.638Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-02-20T06:13:03.207Z] ---> Running in 40f8b1021712 [2023-02-20T06:13:03.333Z] Removing intermediate container 5b7f0e6f1136 [2023-02-20T06:13:03.334Z] ---> 0480b3395475 [2023-02-20T06:13:03.334Z] Step 9/10 : COPY . . [2023-02-20T06:13:03.334Z] ---> a41882bac970 [2023-02-20T06:13:03.334Z] Step 10/10 : RUN ${MAKE} [2023-02-20T06:13:03.334Z] ---> Running in f5f7442a1021 [2023-02-20T06:13:03.334Z] noop [2023-02-20T06:13:03.334Z] Removing intermediate container f5f7442a1021 [2023-02-20T06:13:03.334Z] ---> 7d7ef37b6df9 [2023-02-20T06:13:03.334Z] Successfully built 7d7ef37b6df9 [2023-02-20T06:13:03.334Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:13:03.689Z] + docker inspect -f . ci-base-image-arm64 [2023-02-20T06:13:03.689Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:13:03.775Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-02-20T06:13:03.775Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-02-20T06:13:03.877Z] prd-ubuntu20.04-docker-arm64-4c-16g-6713 does not seem to be running inside a container [2023-02-20T06:13:03.950Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/79 -v /w/workspace/device-modbus-go/79:/w/workspace/device-modbus-go/79:rw,z -v /w/workspace/device-modbus-go/79@tmp:/w/workspace/device-modbus-go/79@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-20T06:13:04.032Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-20T06:13:04.032Z] Executing busybox-1.33.1-r8.trigger [2023-02-20T06:13:04.032Z] OK: 6 MiB in 15 packages [2023-02-20T06:13:05.241Z] $ docker top 2d35918c9df3bcad032d639a7738eabbf2eedf73dd9ccdbc7500b8012ed1be25 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T06:13:05.952Z] Removing intermediate container 40f8b1021712 [2023-02-20T06:13:05.952Z] ---> d529d5d936ca [2023-02-20T06:13:05.952Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-02-20T06:13:06.064Z] + go version [2023-02-20T06:13:06.064Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-20T06:13:06.096Z] $ docker stop --time=1 2d35918c9df3bcad032d639a7738eabbf2eedf73dd9ccdbc7500b8012ed1be25 [2023-02-20T06:13:07.329Z] ---> 3db80b133684 [2023-02-20T06:13:07.329Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-02-20T06:13:07.749Z] $ docker rm -f --volumes 2d35918c9df3bcad032d639a7738eabbf2eedf73dd9ccdbc7500b8012ed1be25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:13:08.276Z] ---> a86b9f14c511 [2023-02-20T06:13:08.276Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-02-20T06:13:08.289Z] + docker inspect -f . ci-base-image-arm64 [2023-02-20T06:13:08.289Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:13:08.468Z] prd-ubuntu20.04-docker-arm64-4c-16g-6713 does not seem to be running inside a container [2023-02-20T06:13:08.548Z] $ 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/79 -v /w/workspace/device-modbus-go/79:/w/workspace/device-modbus-go/79:rw,z -v /w/workspace/device-modbus-go/79@tmp:/w/workspace/device-modbus-go/79@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-20T06:13:08.848Z] ---> a913b2575540 [2023-02-20T06:13:08.848Z] Step 17/22 : EXPOSE 59901 [2023-02-20T06:13:09.422Z] ---> Running in 770326cd6c44 [2023-02-20T06:13:09.682Z] $ docker top 8838dc7497cbacd7c3c10e8469009308390cffe2289b299f8e7fe36207ba62f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T06:13:09.989Z] Removing intermediate container 770326cd6c44 [2023-02-20T06:13:09.990Z] ---> 58a103bf349a [2023-02-20T06:13:09.990Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-02-20T06:13:10.163Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/79 [Pipeline] fileExists [Pipeline] sh [2023-02-20T06:13:10.495Z] + make test [2023-02-20T06:13:10.495Z] go test ./... -coverprofile=coverage.out [2023-02-20T06:13:10.557Z] ---> Running in 7857b319df20 [2023-02-20T06:13:11.125Z] Removing intermediate container 7857b319df20 [2023-02-20T06:13:11.125Z] ---> 454ef399b4fb [2023-02-20T06:13:11.125Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-20T06:13:11.694Z] ---> Running in 47ec414a5488 [2023-02-20T06:13:12.263Z] Removing intermediate container 47ec414a5488 [2023-02-20T06:13:12.263Z] ---> 0aed43866f91 [2023-02-20T06:13:12.263Z] Step 20/22 : LABEL arch=amd64 [2023-02-20T06:13:12.441Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-02-20T06:13:12.522Z] ---> Running in d03ed33d1099 [2023-02-20T06:13:13.089Z] Removing intermediate container d03ed33d1099 [2023-02-20T06:13:13.089Z] ---> eb955d4e2cdb [2023-02-20T06:13:13.089Z] Step 21/22 : LABEL git_sha=e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [2023-02-20T06:13:13.349Z] ---> Running in 7957a3ab028e [2023-02-20T06:13:13.916Z] Removing intermediate container 7957a3ab028e [2023-02-20T06:13:13.916Z] ---> 60a8ed9dcdc8 [2023-02-20T06:13:13.916Z] Step 22/22 : LABEL version=3.0.0-dev.13 [2023-02-20T06:13:14.482Z] ---> Running in c6fe7104706a [2023-02-20T06:13:15.052Z] Removing intermediate container c6fe7104706a [2023-02-20T06:13:15.052Z] ---> 3e65c0cc4d95 [2023-02-20T06:13:15.052Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-20T06:13:15.052Z] Successfully built 3e65c0cc4d95 [2023-02-20T06:13:15.310Z] 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-02-20T06:13:15.393Z] provisioning config files... [2023-02-20T06:13:15.400Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12950644204002184998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:13:15.699Z] ---> docker-login.sh [2023-02-20T06:13:15.699Z] nexus3.edgexfoundry.org:10001 [2023-02-20T06:13:15.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:13:17.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:13:17.078Z] Configure a credential helper to remove this warning. See [2023-02-20T06:13:17.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:13:17.078Z] [2023-02-20T06:13:17.078Z] Login Succeeded [2023-02-20T06:13:17.078Z] nexus3.edgexfoundry.org:10002 [2023-02-20T06:13:17.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:13:17.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:13:17.078Z] Configure a credential helper to remove this warning. See [2023-02-20T06:13:17.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:13:17.078Z] [2023-02-20T06:13:17.078Z] Login Succeeded [2023-02-20T06:13:17.078Z] nexus3.edgexfoundry.org:10003 [2023-02-20T06:13:17.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:13:17.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:13:17.078Z] Configure a credential helper to remove this warning. See [2023-02-20T06:13:17.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:13:17.078Z] [2023-02-20T06:13:17.078Z] Login Succeeded [2023-02-20T06:13:17.078Z] nexus3.edgexfoundry.org:10004 [2023-02-20T06:13:17.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:13:17.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:13:17.353Z] Configure a credential helper to remove this warning. See [2023-02-20T06:13:17.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:13:17.353Z] [2023-02-20T06:13:17.353Z] Login Succeeded [2023-02-20T06:13:17.353Z] docker.io [2023-02-20T06:13:17.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:13:17.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:13:17.612Z] Configure a credential helper to remove this warning. See [2023-02-20T06:13:17.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:13:17.612Z] [2023-02-20T06:13:17.612Z] Login Succeeded [2023-02-20T06:13:17.612Z] ---> docker-login.sh ends [Pipeline] } [2023-02-20T06:13:17.620Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-20T06:13:17.645Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T06:13:17.664Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-02-20T06:13:17.664Z] e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [2023-02-20T06:13:17.664Z] latest [2023-02-20T06:13:17.664Z] 3.0.0-dev.13 [2023-02-20T06:13:17.664Z] e3fb6b6c893123b5784ccc2dd10ff9f0848293eb-3.0.0-dev.13 [2023-02-20T06:13:17.664Z] main [2023-02-20T06:13:17.664Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:13:17.979Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:13:18.291Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [2023-02-20T06:13:18.291Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-20T06:13:18.291Z] 3f76f8d2d5e1: Preparing [2023-02-20T06:13:18.291Z] 9cf82bfd61a9: Preparing [2023-02-20T06:13:18.291Z] cda3e2a4fafd: Preparing [2023-02-20T06:13:18.291Z] 315b9b9dc776: Preparing [2023-02-20T06:13:18.291Z] 625523cb9cce: Preparing [2023-02-20T06:13:18.291Z] 625523cb9cce: Layer already exists [2023-02-20T06:13:18.291Z] 3f76f8d2d5e1: Pushed [2023-02-20T06:13:18.291Z] 315b9b9dc776: Pushed [2023-02-20T06:13:18.291Z] 9cf82bfd61a9: Pushed [2023-02-20T06:13:20.825Z] cda3e2a4fafd: Pushed [2023-02-20T06:13:21.085Z] e3fb6b6c893123b5784ccc2dd10ff9f0848293eb: digest: sha256:1f12bf5685ae36ddda300747e9301ae6fb2f6a6399842be1540a8c0282774d0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:13:21.409Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:13:21.721Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-02-20T06:13:21.721Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-20T06:13:21.721Z] 3f76f8d2d5e1: Preparing [2023-02-20T06:13:21.721Z] 9cf82bfd61a9: Preparing [2023-02-20T06:13:21.721Z] cda3e2a4fafd: Preparing [2023-02-20T06:13:21.721Z] 315b9b9dc776: Preparing [2023-02-20T06:13:21.721Z] 625523cb9cce: Preparing [2023-02-20T06:13:21.721Z] 315b9b9dc776: Layer already exists [2023-02-20T06:13:21.721Z] 3f76f8d2d5e1: Layer already exists [2023-02-20T06:13:21.721Z] cda3e2a4fafd: Layer already exists [2023-02-20T06:13:21.721Z] 625523cb9cce: Layer already exists [2023-02-20T06:13:21.721Z] 9cf82bfd61a9: Layer already exists [2023-02-20T06:13:21.721Z] latest: digest: sha256:1f12bf5685ae36ddda300747e9301ae6fb2f6a6399842be1540a8c0282774d0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:13:22.034Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:13:22.338Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.13 [2023-02-20T06:13:22.339Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-20T06:13:22.339Z] 3f76f8d2d5e1: Preparing [2023-02-20T06:13:22.339Z] 9cf82bfd61a9: Preparing [2023-02-20T06:13:22.339Z] cda3e2a4fafd: Preparing [2023-02-20T06:13:22.339Z] 315b9b9dc776: Preparing [2023-02-20T06:13:22.339Z] 625523cb9cce: Preparing [2023-02-20T06:13:22.339Z] 625523cb9cce: Layer already exists [2023-02-20T06:13:22.339Z] 315b9b9dc776: Layer already exists [2023-02-20T06:13:22.339Z] 9cf82bfd61a9: Layer already exists [2023-02-20T06:13:22.339Z] 3f76f8d2d5e1: Layer already exists [2023-02-20T06:13:22.339Z] cda3e2a4fafd: Layer already exists [2023-02-20T06:13:22.339Z] 3.0.0-dev.13: digest: sha256:1f12bf5685ae36ddda300747e9301ae6fb2f6a6399842be1540a8c0282774d0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:13:22.663Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e3fb6b6c893123b5784ccc2dd10ff9f0848293eb-3.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:13:22.968Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:e3fb6b6c893123b5784ccc2dd10ff9f0848293eb-3.0.0-dev.13 [2023-02-20T06:13:22.968Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-20T06:13:22.968Z] 3f76f8d2d5e1: Preparing [2023-02-20T06:13:22.968Z] 9cf82bfd61a9: Preparing [2023-02-20T06:13:22.968Z] cda3e2a4fafd: Preparing [2023-02-20T06:13:22.968Z] 315b9b9dc776: Preparing [2023-02-20T06:13:22.968Z] 625523cb9cce: Preparing [2023-02-20T06:13:22.968Z] 625523cb9cce: Layer already exists [2023-02-20T06:13:22.968Z] 9cf82bfd61a9: Layer already exists [2023-02-20T06:13:22.968Z] 3f76f8d2d5e1: Layer already exists [2023-02-20T06:13:22.968Z] 315b9b9dc776: Layer already exists [2023-02-20T06:13:22.968Z] cda3e2a4fafd: Layer already exists [2023-02-20T06:13:22.968Z] e3fb6b6c893123b5784ccc2dd10ff9f0848293eb-3.0.0-dev.13: digest: sha256:1f12bf5685ae36ddda300747e9301ae6fb2f6a6399842be1540a8c0282774d0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:13:23.297Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:13:23.613Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-02-20T06:13:23.613Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-20T06:13:23.613Z] 3f76f8d2d5e1: Preparing [2023-02-20T06:13:23.613Z] 9cf82bfd61a9: Preparing [2023-02-20T06:13:23.613Z] cda3e2a4fafd: Preparing [2023-02-20T06:13:23.613Z] 315b9b9dc776: Preparing [2023-02-20T06:13:23.613Z] 625523cb9cce: Preparing [2023-02-20T06:13:23.613Z] 3f76f8d2d5e1: Layer already exists [2023-02-20T06:13:23.613Z] 9cf82bfd61a9: Layer already exists [2023-02-20T06:13:23.613Z] cda3e2a4fafd: Layer already exists [2023-02-20T06:13:23.613Z] 315b9b9dc776: Layer already exists [2023-02-20T06:13:23.613Z] 625523cb9cce: Layer already exists [2023-02-20T06:13:23.613Z] main: digest: sha256:1f12bf5685ae36ddda300747e9301ae6fb2f6a6399842be1540a8c0282774d0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-20T06:13:23.650Z] ===================================================== [Pipeline] echo [2023-02-20T06:13:23.656Z] taggedImages: [2023-02-20T06:13:23.656Z] - nexus3.edgexfoundry.org:10004/device-modbus:e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [2023-02-20T06:13:23.656Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-02-20T06:13:23.656Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.13 [2023-02-20T06:13:23.656Z] - nexus3.edgexfoundry.org:10004/device-modbus:e3fb6b6c893123b5784ccc2dd10ff9f0848293eb-3.0.0-dev.13 [2023-02-20T06:13:23.656Z] - 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-02-20T06:13:24.018Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T06:13:24.018Z] [2023-02-20T06:13:24.018Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:13:24.325Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T06:13:24.590Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-20T06:13:24.590Z] 5eb5b503b376: Pulling fs layer [2023-02-20T06:13:24.590Z] 5c69ac0246d0: Pulling fs layer [2023-02-20T06:13:24.590Z] ec43610c2a17: Pulling fs layer [2023-02-20T06:13:24.590Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-20T06:13:24.590Z] 33b1e0a273af: Pulling fs layer [2023-02-20T06:13:24.590Z] 5d3b04190fa2: Pulling fs layer [2023-02-20T06:13:24.590Z] 2f39f015ded8: Pulling fs layer [2023-02-20T06:13:24.590Z] 33b1e0a273af: Waiting [2023-02-20T06:13:24.590Z] 5d3b04190fa2: Waiting [2023-02-20T06:13:24.590Z] 2f39f015ded8: Waiting [2023-02-20T06:13:24.590Z] 3a2ae6a8a46f: Waiting [2023-02-20T06:13:24.590Z] 5c69ac0246d0: Download complete [2023-02-20T06:13:24.590Z] 3a2ae6a8a46f: Download complete [2023-02-20T06:13:24.849Z] 33b1e0a273af: Verifying Checksum [2023-02-20T06:13:24.849Z] 33b1e0a273af: Download complete [2023-02-20T06:13:24.849Z] 5d3b04190fa2: Verifying Checksum [2023-02-20T06:13:24.849Z] 5d3b04190fa2: Download complete [2023-02-20T06:13:24.850Z] ec43610c2a17: Verifying Checksum [2023-02-20T06:13:24.850Z] ec43610c2a17: Download complete [2023-02-20T06:13:24.850Z] 5eb5b503b376: Verifying Checksum [2023-02-20T06:13:24.850Z] 5eb5b503b376: Download complete [2023-02-20T06:13:25.785Z] 2f39f015ded8: Download complete [2023-02-20T06:13:26.353Z] 5eb5b503b376: Pull complete [2023-02-20T06:13:26.962Z] 5c69ac0246d0: Pull complete [2023-02-20T06:13:27.897Z] ec43610c2a17: Pull complete [2023-02-20T06:13:28.463Z] 3a2ae6a8a46f: Pull complete [2023-02-20T06:13:29.401Z] 33b1e0a273af: Pull complete [2023-02-20T06:13:29.659Z] 5d3b04190fa2: Pull complete [2023-02-20T06:13:34.924Z] 2f39f015ded8: Pull complete [2023-02-20T06:13:34.924Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-20T06:13:34.924Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T06:13:35.184Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:13:35.272Z] prd-ubuntu20.04-docker-8c-8g-6708 does not seem to be running inside a container [2023-02-20T06:13:35.303Z] $ 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-02-20T06:13:43.702Z] $ docker top 50c6a0b11fe4c1529d8b59ae8eaa18f63899ae75223b20e3422662a872aeee30 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:13:44.110Z] ---> job-cost.sh [2023-02-20T06:13:44.110Z] lf-activate-venv: SKIPPING [2023-02-20T06:13:44.110Z] INFO: No Stack... [2023-02-20T06:13:44.676Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-20T06:13:44.936Z] INFO: Archiving Costs [Pipeline] sh [2023-02-20T06:13:45.228Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-02-20T06:13:45.229Z] + cut -d, -f6 [Pipeline] lock [2023-02-20T06:13:45.243Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-79-stack-cost] [2023-02-20T06:13:45.251Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-79-stack-cost] did not exist. Created. [2023-02-20T06:13:45.251Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-79-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-20T06:13:45.546Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-20T06:13:45.581Z] Stashed 1 file(s) [Pipeline] } [2023-02-20T06:13:45.588Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-79-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-20T06:13:45.601Z] $ docker stop --time=1 50c6a0b11fe4c1529d8b59ae8eaa18f63899ae75223b20e3422662a872aeee30 [2023-02-20T06:13:47.556Z] $ docker rm -f --volumes 50c6a0b11fe4c1529d8b59ae8eaa18f63899ae75223b20e3422662a872aeee30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-20T06:14:34.058Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-02-20T06:14:34.058Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.059s coverage: 47.7% of statements [2023-02-20T06:14:34.058Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-20T06:14:34.058Z] go vet ./... [2023-02-20T06:14:52.283Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-20T06:14:52.283Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-20T06:14:52.283Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-20T06:14:52.302Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-20T06:14:52.328Z] $ docker stop --time=1 8838dc7497cbacd7c3c10e8469009308390cffe2289b299f8e7fe36207ba62f1 [2023-02-20T06:14:54.062Z] $ docker rm -f --volumes 8838dc7497cbacd7c3c10e8469009308390cffe2289b299f8e7fe36207ba62f1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-20T06:14:54.944Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-20T06:14:54.967Z] Warning: overwriting stash ‘coverage-report’ [2023-02-20T06:14:55.433Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-20T06:14:55.806Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-20T06:14:56.120Z] + ls -al . [2023-02-20T06:14:56.120Z] total 180 [2023-02-20T06:14:56.120Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 20 06:13 . [2023-02-20T06:14:56.120Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 06:10 .. [2023-02-20T06:14:56.120Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 20 06:10 .dockerignore [2023-02-20T06:14:56.120Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 06:10 .git [2023-02-20T06:14:56.120Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 06:10 .github [2023-02-20T06:14:56.120Z] -rw-rw-r-- 1 jenkins jenkins 331 Feb 20 06:10 .gitignore [2023-02-20T06:14:56.120Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 20 06:10 .golangci.yml [2023-02-20T06:14:56.120Z] -rw-rw-r-- 1 jenkins jenkins 10236 Feb 20 06:10 Attribution.txt [2023-02-20T06:14:56.120Z] -rw-rw-r-- 1 jenkins jenkins 11576 Feb 20 06:10 CHANGELOG.md [2023-02-20T06:14:56.120Z] -rw-rw-r-- 1 jenkins jenkins 1365 Feb 20 06:10 Dockerfile [2023-02-20T06:14:56.120Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 06:10 GOVERNANCE.md [2023-02-20T06:14:56.120Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 20 06:10 Jenkinsfile [2023-02-20T06:14:56.120Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 06:10 LICENSE [2023-02-20T06:14:56.120Z] -rw-rw-r-- 1 jenkins jenkins 1670 Feb 20 06:10 Makefile [2023-02-20T06:14:56.120Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 20 06:10 OWNERS.md [2023-02-20T06:14:56.120Z] -rw-rw-r-- 1 jenkins jenkins 4061 Feb 20 06:10 README.md [2023-02-20T06:14:56.120Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 20 06:10 VERSION [2023-02-20T06:14:56.120Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 06:10 bin [2023-02-20T06:14:56.120Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 06:10 cmd [2023-02-20T06:14:56.120Z] -rw-r--r-- 1 jenkins jenkins 23241 Feb 20 06:14 coverage.out [2023-02-20T06:14:56.120Z] -rw-rw-r-- 1 jenkins jenkins 3496 Feb 20 06:10 go.mod [2023-02-20T06:14:56.120Z] -rw-rw-r-- 1 jenkins jenkins 33621 Feb 20 06:10 go.sum [2023-02-20T06:14:56.120Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 06:10 internal [2023-02-20T06:14:56.120Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 06:10 simulator [2023-02-20T06:14:56.120Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 06:10 snap [2023-02-20T06:14:56.120Z] -rw-rw-r-- 1 jenkins jenkins 229 Feb 20 06:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:14:56.460Z] + 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=e3fb6b6c893123b5784ccc2dd10ff9f0848293eb --label arch=arm64 --label version=3.0.0-dev.13 . [2023-02-20T06:14:56.727Z] Sending build context to Docker daemon 3.35MB [2023-02-20T06:14:56.727Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T06:14:56.727Z] Step 2/22 : FROM ${BASE} AS builder [2023-02-20T06:14:56.727Z] ---> 7d7ef37b6df9 [2023-02-20T06:14:56.727Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-02-20T06:14:56.994Z] ---> Running in 4ead37d79c55 [2023-02-20T06:14:57.262Z] Removing intermediate container 4ead37d79c55 [2023-02-20T06:14:57.262Z] ---> d62ecb3af17b [2023-02-20T06:14:57.262Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-20T06:14:57.262Z] ---> Running in 99329a019601 [2023-02-20T06:14:57.529Z] Removing intermediate container 99329a019601 [2023-02-20T06:14:57.529Z] ---> a7b44fdba218 [2023-02-20T06:14:57.529Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-02-20T06:14:57.529Z] ---> Running in 83212cf022b5 [2023-02-20T06:14:58.492Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-20T06:14:58.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-20T06:14:59.717Z] OK: 228 MiB in 59 packages [2023-02-20T06:15:00.681Z] Removing intermediate container 83212cf022b5 [2023-02-20T06:15:00.681Z] ---> e59cdf8346ad [2023-02-20T06:15:00.681Z] Step 6/22 : WORKDIR /device-modbus-go [2023-02-20T06:15:00.681Z] ---> Running in a5014e37281c [2023-02-20T06:15:00.951Z] Removing intermediate container a5014e37281c [2023-02-20T06:15:00.951Z] ---> ac6e93feac53 [2023-02-20T06:15:00.951Z] Step 7/22 : COPY go.mod vendor* ./ [2023-02-20T06:15:01.539Z] ---> b8c4c1ad22ac [2023-02-20T06:15:01.539Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T06:15:01.539Z] ---> Running in 2b09b3758bd2 [2023-02-20T06:15:04.121Z] Removing intermediate container 2b09b3758bd2 [2023-02-20T06:15:04.121Z] ---> 92b4bc6d44e1 [2023-02-20T06:15:04.121Z] Step 9/22 : COPY . . [2023-02-20T06:15:04.707Z] ---> 629b6fce57fa [2023-02-20T06:15:04.707Z] Step 10/22 : RUN ${MAKE} [2023-02-20T06:15:04.707Z] ---> Running in 1f62c7e25f10 [2023-02-20T06:15:05.669Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.13" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-02-20T06:16:57.340Z] Removing intermediate container 1f62c7e25f10 [2023-02-20T06:16:57.340Z] ---> e736c7aab412 [2023-02-20T06:16:57.340Z] Step 11/22 : FROM alpine:3.14 [2023-02-20T06:16:57.606Z] 3.14: Pulling from library/alpine [2023-02-20T06:16:57.606Z] 6f0e733d82e2: Pulling fs layer [2023-02-20T06:16:57.873Z] 6f0e733d82e2: Verifying Checksum [2023-02-20T06:16:57.873Z] 6f0e733d82e2: Download complete [2023-02-20T06:16:58.140Z] 6f0e733d82e2: Pull complete [2023-02-20T06:16:58.407Z] Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 [2023-02-20T06:16:58.407Z] Status: Downloaded newer image for alpine:3.14 [2023-02-20T06:16:58.407Z] ---> bf97f6347a60 [2023-02-20T06:16:58.407Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-02-20T06:16:58.407Z] ---> Running in aba93fd09ef4 [2023-02-20T06:16:58.675Z] Removing intermediate container aba93fd09ef4 [2023-02-20T06:16:58.675Z] ---> 935dc52c5cb2 [2023-02-20T06:16:58.675Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-02-20T06:16:58.675Z] ---> Running in 316d22c93a3c [2023-02-20T06:16:59.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-02-20T06:16:59.902Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-02-20T06:17:00.861Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-20T06:17:00.861Z] Executing busybox-1.33.1-r8.trigger [2023-02-20T06:17:00.861Z] OK: 6 MiB in 15 packages [2023-02-20T06:17:01.821Z] Removing intermediate container 316d22c93a3c [2023-02-20T06:17:01.821Z] ---> e1c0281387e9 [2023-02-20T06:17:01.821Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-02-20T06:17:04.405Z] ---> 16576e1aa575 [2023-02-20T06:17:04.405Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-02-20T06:17:04.991Z] ---> d9179d68bc7f [2023-02-20T06:17:04.991Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-02-20T06:17:05.574Z] ---> 3970a14d1fb3 [2023-02-20T06:17:05.574Z] Step 17/22 : EXPOSE 59901 [2023-02-20T06:17:05.574Z] ---> Running in e73e4b13c80a [2023-02-20T06:17:05.842Z] Removing intermediate container e73e4b13c80a [2023-02-20T06:17:05.842Z] ---> 653fd1620919 [2023-02-20T06:17:05.842Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-02-20T06:17:05.842Z] ---> Running in 99ce4cc58d96 [2023-02-20T06:17:06.109Z] Removing intermediate container 99ce4cc58d96 [2023-02-20T06:17:06.109Z] ---> dbcb5df3454e [2023-02-20T06:17:06.109Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-20T06:17:06.109Z] ---> Running in d356c4da015f [2023-02-20T06:17:06.379Z] Removing intermediate container d356c4da015f [2023-02-20T06:17:06.379Z] ---> 2b1bac3013c7 [2023-02-20T06:17:06.379Z] Step 20/22 : LABEL arch=arm64 [2023-02-20T06:17:06.646Z] ---> Running in 1703063f8eb1 [2023-02-20T06:17:06.913Z] Removing intermediate container 1703063f8eb1 [2023-02-20T06:17:06.913Z] ---> bbc6de874cd1 [2023-02-20T06:17:06.913Z] Step 21/22 : LABEL git_sha=e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [2023-02-20T06:17:06.913Z] ---> Running in 7d916a56fea9 [2023-02-20T06:17:07.181Z] Removing intermediate container 7d916a56fea9 [2023-02-20T06:17:07.181Z] ---> 7ff388d86b23 [2023-02-20T06:17:07.181Z] Step 22/22 : LABEL version=3.0.0-dev.13 [2023-02-20T06:17:07.181Z] ---> Running in 98919afc6d93 [2023-02-20T06:17:07.448Z] Removing intermediate container 98919afc6d93 [2023-02-20T06:17:07.448Z] ---> 7290cb14b005 [2023-02-20T06:17:07.448Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-20T06:17:07.448Z] Successfully built 7290cb14b005 [2023-02-20T06:17:07.448Z] 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-02-20T06:17:07.565Z] provisioning config files... [2023-02-20T06:17:07.578Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/79@tmp/config1226108245563042093tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:17:07.915Z] ---> docker-login.sh [2023-02-20T06:17:07.915Z] nexus3.edgexfoundry.org:10001 [2023-02-20T06:17:07.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:17:08.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:17:08.183Z] Configure a credential helper to remove this warning. See [2023-02-20T06:17:08.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:17:08.183Z] [2023-02-20T06:17:08.183Z] Login Succeeded [2023-02-20T06:17:08.183Z] nexus3.edgexfoundry.org:10002 [2023-02-20T06:17:08.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:17:08.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:17:08.452Z] Configure a credential helper to remove this warning. See [2023-02-20T06:17:08.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:17:08.452Z] [2023-02-20T06:17:08.452Z] Login Succeeded [2023-02-20T06:17:08.452Z] nexus3.edgexfoundry.org:10003 [2023-02-20T06:17:08.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:17:08.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:17:08.719Z] Configure a credential helper to remove this warning. See [2023-02-20T06:17:08.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:17:08.719Z] [2023-02-20T06:17:08.719Z] Login Succeeded [2023-02-20T06:17:08.987Z] nexus3.edgexfoundry.org:10004 [2023-02-20T06:17:08.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:17:09.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:17:09.256Z] Configure a credential helper to remove this warning. See [2023-02-20T06:17:09.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:17:09.256Z] [2023-02-20T06:17:09.256Z] Login Succeeded [2023-02-20T06:17:09.256Z] docker.io [2023-02-20T06:17:09.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:17:09.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:17:09.788Z] Configure a credential helper to remove this warning. See [2023-02-20T06:17:09.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:17:09.788Z] [2023-02-20T06:17:09.788Z] Login Succeeded [2023-02-20T06:17:09.788Z] ---> docker-login.sh ends [Pipeline] } [2023-02-20T06:17:09.800Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-20T06:17:09.823Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T06:17:09.838Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-02-20T06:17:09.838Z] e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [2023-02-20T06:17:09.838Z] latest [2023-02-20T06:17:09.838Z] 3.0.0-dev.13 [2023-02-20T06:17:09.838Z] e3fb6b6c893123b5784ccc2dd10ff9f0848293eb-3.0.0-dev.13 [2023-02-20T06:17:09.838Z] main [2023-02-20T06:17:09.838Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:17:10.168Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:17:10.508Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [2023-02-20T06:17:10.508Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-20T06:17:10.508Z] d64b449455e2: Preparing [2023-02-20T06:17:10.508Z] 43b7d0d9766e: Preparing [2023-02-20T06:17:10.508Z] d442b7c5a58b: Preparing [2023-02-20T06:17:10.508Z] bd82e16896ae: Preparing [2023-02-20T06:17:10.508Z] c39af2d4cb8d: Preparing [2023-02-20T06:17:10.508Z] c39af2d4cb8d: Layer already exists [2023-02-20T06:17:10.775Z] d64b449455e2: Pushed [2023-02-20T06:17:10.775Z] 43b7d0d9766e: Pushed [2023-02-20T06:17:10.775Z] bd82e16896ae: Pushed [2023-02-20T06:17:16.113Z] d442b7c5a58b: Pushed [2023-02-20T06:17:16.113Z] e3fb6b6c893123b5784ccc2dd10ff9f0848293eb: digest: sha256:b4c7cb6fb75168e2643c1a5ad97abfa61f95673ec85211e8321c9d10d6c265e7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:17:16.466Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:17:16.818Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-02-20T06:17:16.818Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-20T06:17:16.818Z] d64b449455e2: Preparing [2023-02-20T06:17:16.818Z] 43b7d0d9766e: Preparing [2023-02-20T06:17:16.818Z] d442b7c5a58b: Preparing [2023-02-20T06:17:16.818Z] bd82e16896ae: Preparing [2023-02-20T06:17:16.818Z] c39af2d4cb8d: Preparing [2023-02-20T06:17:16.818Z] d442b7c5a58b: Layer already exists [2023-02-20T06:17:16.818Z] c39af2d4cb8d: Layer already exists [2023-02-20T06:17:16.818Z] 43b7d0d9766e: Layer already exists [2023-02-20T06:17:16.818Z] bd82e16896ae: Layer already exists [2023-02-20T06:17:16.818Z] d64b449455e2: Layer already exists [2023-02-20T06:17:16.818Z] latest: digest: sha256:b4c7cb6fb75168e2643c1a5ad97abfa61f95673ec85211e8321c9d10d6c265e7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:17:17.170Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:17:17.508Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.13 [2023-02-20T06:17:17.509Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-20T06:17:17.509Z] d64b449455e2: Preparing [2023-02-20T06:17:17.509Z] 43b7d0d9766e: Preparing [2023-02-20T06:17:17.509Z] d442b7c5a58b: Preparing [2023-02-20T06:17:17.509Z] bd82e16896ae: Preparing [2023-02-20T06:17:17.509Z] c39af2d4cb8d: Preparing [2023-02-20T06:17:17.509Z] c39af2d4cb8d: Layer already exists [2023-02-20T06:17:17.509Z] 43b7d0d9766e: Layer already exists [2023-02-20T06:17:17.509Z] d442b7c5a58b: Layer already exists [2023-02-20T06:17:17.509Z] d64b449455e2: Layer already exists [2023-02-20T06:17:17.509Z] bd82e16896ae: Layer already exists [2023-02-20T06:17:17.509Z] 3.0.0-dev.13: digest: sha256:b4c7cb6fb75168e2643c1a5ad97abfa61f95673ec85211e8321c9d10d6c265e7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:17:17.849Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e3fb6b6c893123b5784ccc2dd10ff9f0848293eb-3.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:17:18.243Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e3fb6b6c893123b5784ccc2dd10ff9f0848293eb-3.0.0-dev.13 [2023-02-20T06:17:18.243Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-20T06:17:18.243Z] d64b449455e2: Preparing [2023-02-20T06:17:18.243Z] 43b7d0d9766e: Preparing [2023-02-20T06:17:18.243Z] d442b7c5a58b: Preparing [2023-02-20T06:17:18.243Z] bd82e16896ae: Preparing [2023-02-20T06:17:18.243Z] c39af2d4cb8d: Preparing [2023-02-20T06:17:18.243Z] bd82e16896ae: Layer already exists [2023-02-20T06:17:18.243Z] d64b449455e2: Layer already exists [2023-02-20T06:17:18.243Z] c39af2d4cb8d: Layer already exists [2023-02-20T06:17:18.243Z] d442b7c5a58b: Layer already exists [2023-02-20T06:17:18.243Z] 43b7d0d9766e: Layer already exists [2023-02-20T06:17:18.513Z] e3fb6b6c893123b5784ccc2dd10ff9f0848293eb-3.0.0-dev.13: digest: sha256:b4c7cb6fb75168e2643c1a5ad97abfa61f95673ec85211e8321c9d10d6c265e7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:17:18.869Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:17:19.236Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-02-20T06:17:19.236Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-20T06:17:19.236Z] d64b449455e2: Preparing [2023-02-20T06:17:19.236Z] 43b7d0d9766e: Preparing [2023-02-20T06:17:19.236Z] d442b7c5a58b: Preparing [2023-02-20T06:17:19.236Z] bd82e16896ae: Preparing [2023-02-20T06:17:19.236Z] c39af2d4cb8d: Preparing [2023-02-20T06:17:19.236Z] d64b449455e2: Layer already exists [2023-02-20T06:17:19.236Z] bd82e16896ae: Layer already exists [2023-02-20T06:17:19.236Z] c39af2d4cb8d: Layer already exists [2023-02-20T06:17:19.236Z] d442b7c5a58b: Layer already exists [2023-02-20T06:17:19.236Z] 43b7d0d9766e: Layer already exists [2023-02-20T06:17:19.509Z] main: digest: sha256:b4c7cb6fb75168e2643c1a5ad97abfa61f95673ec85211e8321c9d10d6c265e7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-20T06:17:19.554Z] ===================================================== [Pipeline] echo [2023-02-20T06:17:19.560Z] taggedImages: [2023-02-20T06:17:19.560Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [2023-02-20T06:17:19.560Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-02-20T06:17:19.560Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.13 [2023-02-20T06:17:19.560Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e3fb6b6c893123b5784ccc2dd10ff9f0848293eb-3.0.0-dev.13 [2023-02-20T06:17:19.560Z] - 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-02-20T06:17:19.935Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-20T06:17:19.935Z] [2023-02-20T06:17:19.935Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:17:20.286Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-20T06:17:20.286Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-20T06:17:20.286Z] 8998bd30e6a1: Pulling fs layer [2023-02-20T06:17:20.286Z] 04944245beec: Pulling fs layer [2023-02-20T06:17:20.286Z] 699f458cf7ca: Pulling fs layer [2023-02-20T06:17:20.286Z] 765212b225bb: Pulling fs layer [2023-02-20T06:17:20.286Z] f23df028b6ca: Pulling fs layer [2023-02-20T06:17:20.286Z] d65c8cfc05b1: Pulling fs layer [2023-02-20T06:17:20.286Z] 2437ff75d9bd: Pulling fs layer [2023-02-20T06:17:20.286Z] d65c8cfc05b1: Waiting [2023-02-20T06:17:20.286Z] f23df028b6ca: Waiting [2023-02-20T06:17:20.286Z] 765212b225bb: Waiting [2023-02-20T06:17:20.286Z] 2437ff75d9bd: Waiting [2023-02-20T06:17:20.554Z] 04944245beec: Verifying Checksum [2023-02-20T06:17:20.554Z] 04944245beec: Download complete [2023-02-20T06:17:20.554Z] 765212b225bb: Verifying Checksum [2023-02-20T06:17:20.554Z] 765212b225bb: Download complete [2023-02-20T06:17:20.554Z] f23df028b6ca: Verifying Checksum [2023-02-20T06:17:20.554Z] f23df028b6ca: Download complete [2023-02-20T06:17:20.554Z] d65c8cfc05b1: Verifying Checksum [2023-02-20T06:17:20.554Z] d65c8cfc05b1: Download complete [2023-02-20T06:17:20.554Z] 699f458cf7ca: Verifying Checksum [2023-02-20T06:17:20.554Z] 699f458cf7ca: Download complete [2023-02-20T06:17:21.144Z] 8998bd30e6a1: Verifying Checksum [2023-02-20T06:17:21.144Z] 8998bd30e6a1: Download complete [2023-02-20T06:17:23.087Z] 2437ff75d9bd: Verifying Checksum [2023-02-20T06:17:23.087Z] 2437ff75d9bd: Download complete [2023-02-20T06:17:25.036Z] 8998bd30e6a1: Pull complete [2023-02-20T06:17:25.619Z] 04944245beec: Pull complete [2023-02-20T06:17:27.027Z] 699f458cf7ca: Pull complete [2023-02-20T06:17:27.027Z] 765212b225bb: Pull complete [2023-02-20T06:17:29.607Z] f23df028b6ca: Pull complete [2023-02-20T06:17:29.607Z] d65c8cfc05b1: Pull complete [2023-02-20T06:17:44.602Z] 2437ff75d9bd: Pull complete [2023-02-20T06:17:44.602Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-20T06:17:44.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-20T06:17:44.602Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:17:44.791Z] prd-ubuntu20.04-docker-arm64-4c-16g-6713 does not seem to be running inside a container [2023-02-20T06:17:44.872Z] $ 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/79 -v /w/workspace/device-modbus-go/79:/w/workspace/device-modbus-go/79:rw,z -v /w/workspace/device-modbus-go/79@tmp:/w/workspace/device-modbus-go/79@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-20T06:17:47.264Z] $ docker top c02e8577da4869f74cd5f980830417c7585c5661b1296e3443d6ab514862a27e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:17:48.087Z] ---> job-cost.sh [2023-02-20T06:17:48.087Z] lf-activate-venv: SKIPPING [2023-02-20T06:17:48.087Z] INFO: No Stack... [2023-02-20T06:17:48.353Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-20T06:17:49.312Z] INFO: Archiving Costs [Pipeline] sh [2023-02-20T06:17:49.638Z] + cat /w/workspace/device-modbus-go/79/archives/cost.csv [2023-02-20T06:17:49.638Z] + cut -d, -f6 [Pipeline] lock [2023-02-20T06:17:49.973Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-79-stack-cost] [2023-02-20T06:17:49.979Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-79-stack-cost] did not exist. Created. [2023-02-20T06:17:49.979Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-79-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-20T06:17:50.332Z] /w/workspace/device-modbus-go/79@tmp/durable-f2f90433/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-20T06:17:50.988Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-20T06:17:51.005Z] Warning: overwriting stash ‘stack-cost’ [2023-02-20T06:17:51.053Z] Stashed 1 file(s) [Pipeline] } [2023-02-20T06:17:51.063Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-79-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-20T06:17:51.104Z] $ docker stop --time=1 c02e8577da4869f74cd5f980830417c7585c5661b1296e3443d6ab514862a27e [2023-02-20T06:17:52.579Z] $ docker rm -f --volumes c02e8577da4869f74cd5f980830417c7585c5661b1296e3443d6ab514862a27e [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-02-20T06:17:52.956Z] provisioning config files... [2023-02-20T06:17:52.964Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16628904420847217050tmp [Pipeline] { [Pipeline] sh [2023-02-20T06:17:53.252Z] + set +x [2023-02-20T06:17:53.252Z] + curl -s https://codecov.io/bash [2023-02-20T06:17:53.252Z] + bash -s -- [2023-02-20T06:17:53.252Z] [2023-02-20T06:17:53.252Z] _____ _ [2023-02-20T06:17:53.252Z] / ____| | | [2023-02-20T06:17:53.252Z] | | ___ __| | ___ ___ _____ __ [2023-02-20T06:17:53.252Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-20T06:17:53.252Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-20T06:17:53.252Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-20T06:17:53.252Z] Bash-1.0.6 [2023-02-20T06:17:53.252Z] [2023-02-20T06:17:53.252Z] [2023-02-20T06:17:53.252Z] ==> git version 2.25.1 found [2023-02-20T06:17:53.252Z] ==> 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-02-20T06:17:53.252Z] Release-Date: 2020-01-08 [2023-02-20T06:17:53.252Z] 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-02-20T06:17:53.252Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-20T06:17:53.252Z] ==> Jenkins CI detected. [2023-02-20T06:17:53.252Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-02-20T06:17:53.252Z] project root: . [2023-02-20T06:17:53.253Z] --> token set from env [2023-02-20T06:17:53.253Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-20T06:17:53.253Z] ==> Running gcov in . (disable via -X gcov) [2023-02-20T06:17:53.253Z] ==> Python coveragepy not found [2023-02-20T06:17:53.253Z] ==> Searching for coverage reports in: [2023-02-20T06:17:53.253Z] + . [2023-02-20T06:17:53.253Z] -> Found 1 reports [2023-02-20T06:17:53.253Z] ==> Detecting git/mercurial file structure [2023-02-20T06:17:53.253Z] ==> Reading reports [2023-02-20T06:17:53.511Z] + ./coverage.out bytes=23241 [2023-02-20T06:17:53.511Z] ==> Appending adjustments [2023-02-20T06:17:53.511Z] https://docs.codecov.io/docs/fixing-reports [2023-02-20T06:17:53.511Z] + Found adjustments [2023-02-20T06:17:53.511Z] ==> Gzipping contents [2023-02-20T06:17:53.511Z] 4.0K /tmp/codecov.cTac3t.gz [2023-02-20T06:17:53.511Z] ==> Uploading reports [2023-02-20T06:17:53.511Z] url: https://codecov.io [2023-02-20T06:17:53.511Z] query: branch=main&commit=e3fb6b6c893123b5784ccc2dd10ff9f0848293eb&build=79&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F79%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-20T06:17:53.511Z] -> Pinging Codecov [2023-02-20T06:17:53.511Z] 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=e3fb6b6c893123b5784ccc2dd10ff9f0848293eb&build=79&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F79%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-20T06:17:53.771Z] -> Uploading to [2023-02-20T06:17:53.771Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-20/55DBCA73C666E3227836607328DD7E49/e3fb6b6c893123b5784ccc2dd10ff9f0848293eb/8de6822d-2feb-4a9d-9c02-aa45ba90e278.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230220%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230220T061753Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ea2f62622d058b8348a4060df40bded0313b64401e1a0aac7ea2a56fd4b72d5d [2023-02-20T06:17:53.771Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-20T06:17:53.771Z] Dload Upload Total Spent Left Speed [2023-02-20T06:17:54.106Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3899 0 0 100 3899 0 15054 --:--:-- --:--:-- --:--:-- 15054 [2023-02-20T06:17:54.106Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [Pipeline] } [2023-02-20T06:17:54.113Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-02-20T06:17:54.368Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-02-20T06:17:54.384Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:17:54.694Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-20T06:17:54.694Z] [2023-02-20T06:17:54.694Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:17:54.998Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-20T06:17:55.263Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-02-20T06:17:55.263Z] df9b9388f04a: Pulling fs layer [2023-02-20T06:17:55.263Z] 52dc419b0ee2: Pulling fs layer [2023-02-20T06:17:55.263Z] 25bc292e5bac: Pulling fs layer [2023-02-20T06:17:55.263Z] 114826534d7a: Pulling fs layer [2023-02-20T06:17:55.263Z] 4657fd5d0bcf: Pulling fs layer [2023-02-20T06:17:55.263Z] 6ad1cebc031e: Pulling fs layer [2023-02-20T06:17:55.263Z] 8a3aa393b2d8: Pulling fs layer [2023-02-20T06:17:55.263Z] 4657fd5d0bcf: Waiting [2023-02-20T06:17:55.263Z] 6ad1cebc031e: Waiting [2023-02-20T06:17:55.263Z] 8a3aa393b2d8: Waiting [2023-02-20T06:17:55.263Z] 114826534d7a: Waiting [2023-02-20T06:17:55.263Z] 25bc292e5bac: Download complete [2023-02-20T06:17:55.263Z] 52dc419b0ee2: Verifying Checksum [2023-02-20T06:17:55.263Z] 52dc419b0ee2: Download complete [2023-02-20T06:17:55.263Z] 4657fd5d0bcf: Verifying Checksum [2023-02-20T06:17:55.263Z] 4657fd5d0bcf: Download complete [2023-02-20T06:17:55.263Z] df9b9388f04a: Verifying Checksum [2023-02-20T06:17:55.263Z] df9b9388f04a: Download complete [2023-02-20T06:17:55.526Z] df9b9388f04a: Pull complete [2023-02-20T06:17:55.526Z] 6ad1cebc031e: Verifying Checksum [2023-02-20T06:17:55.526Z] 6ad1cebc031e: Download complete [2023-02-20T06:17:56.100Z] 52dc419b0ee2: Pull complete [2023-02-20T06:17:56.100Z] 114826534d7a: Verifying Checksum [2023-02-20T06:17:56.100Z] 114826534d7a: Download complete [2023-02-20T06:17:56.359Z] 8a3aa393b2d8: Verifying Checksum [2023-02-20T06:17:56.359Z] 8a3aa393b2d8: Download complete [2023-02-20T06:17:56.618Z] 25bc292e5bac: Pull complete [2023-02-20T06:18:00.841Z] 114826534d7a: Pull complete [2023-02-20T06:18:00.841Z] 4657fd5d0bcf: Pull complete [2023-02-20T06:18:00.841Z] 6ad1cebc031e: Pull complete [2023-02-20T06:18:05.050Z] 8a3aa393b2d8: Pull complete [2023-02-20T06:18:05.050Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-02-20T06:18:05.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-20T06:18:05.050Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:18:05.129Z] prd-ubuntu20.04-docker-8c-8g-6708 does not seem to be running inside a container [2023-02-20T06:18:05.160Z] $ 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-02-20T06:18:07.715Z] $ docker top 019ab9b3ba1b4bfdb2e0cfb29796e9a7fafe652dadfdd5ccd2d73d310dc2fd3e -eo pid,comm [Pipeline] { [Pipeline] echo [2023-02-20T06:18:07.786Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-02-20T06:18:08.063Z] + set -o pipefail [2023-02-20T06:18:08.064Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-02-20T06:18:12.245Z] [2023-02-20T06:18:12.245Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-02-20T06:18:12.245Z] [2023-02-20T06:18:12.245Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/d0ce2b20-cc38-4ca3-abdb-85399d2e8fa2 [2023-02-20T06:18:12.245Z] [2023-02-20T06:18:12.245Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-02-20T06:18:12.245Z] [2023-02-20T06:18:12.245Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-02-20T06:18:12.245Z] [2023-02-20T06:18:12.245Z] [2023-02-20T06:18:12.245Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-02-20T06:18:12.245Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-02-20T06:18:12.245Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-02-20T06:18:12.253Z] $ docker stop --time=1 019ab9b3ba1b4bfdb2e0cfb29796e9a7fafe652dadfdd5ccd2d73d310dc2fd3e [2023-02-20T06:18:15.258Z] $ docker rm -f --volumes 019ab9b3ba1b4bfdb2e0cfb29796e9a7fafe652dadfdd5ccd2d73d310dc2fd3e [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-02-20T06:18:15.986Z] + git log --format=format:%s -1 e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [Pipeline] sh [2023-02-20T06:18:16.280Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-20T06:18:16.280Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:18:16.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T06:18:16.579Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:18:16.653Z] prd-ubuntu20.04-docker-8c-8g-6708 does not seem to be running inside a container [2023-02-20T06:18:16.681Z] $ 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-02-20T06:18:17.163Z] $ docker top 749e17ece398902e4c479f07740e5703e74073c364bce5bda9aad7cd52e2ff1e -eo pid,comm [2023-02-20T06:18:17.211Z] 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-02-20T06:18:17.211Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-20T06:18:17.255Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-20T06:18:17.255Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-20T06:18:17.364Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-20T06:18:17.365Z] $ docker exec 749e17ece398902e4c479f07740e5703e74073c364bce5bda9aad7cd52e2ff1e ssh-agent [2023-02-20T06:18:17.481Z] SSH_AUTH_SOCK=/tmp/ssh-mPQNN2WSsqC2/agent.32 [2023-02-20T06:18:17.481Z] SSH_AGENT_PID=38 [2023-02-20T06:18:17.486Z] Running ssh-add (command line suppressed) [2023-02-20T06:18:17.586Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5494141751689996830.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5494141751689996830.key) [2023-02-20T06:18:17.601Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-20T06:18:17.889Z] + git semver tag [2023-02-20T06:18:18.148Z] 2023-02-20 06:18:18,082 [run_tag] DEBUG tag force:False [2023-02-20T06:18:18.148Z] 2023-02-20 06:18:18,082 [check_head_tag] DEBUG check head tag [2023-02-20T06:18:18.148Z] 2023-02-20 06:18:18,083 [execute] INFO git cat-file --batch-check [2023-02-20T06:18:18.148Z] 2023-02-20 06:18:18,084 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-02-20T06:18:18.148Z] 2023-02-20 06:18:18,088 [execute] INFO git cat-file --batch [2023-02-20T06:18:18.148Z] 2023-02-20 06:18:18,088 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-02-20T06:18:18.148Z] 2023-02-20 06:18:18,109 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-20T06:18:18.148Z] 2023-02-20 06:18:18,109 [execute] INFO git tag -a v3.0.0-dev.13 -m v3.0.0-dev.13 [2023-02-20T06:18:18.148Z] 2023-02-20 06:18:18,109 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.13', '-m', 'v3.0.0-dev.13'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-02-20T06:18:18.148Z] 2023-02-20 06:18:18,115 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-20T06:18:18.148Z] 3.0.0-dev.13 [Pipeline] } [2023-02-20T06:18:18.157Z] $ docker exec --env ******** --env ******** 749e17ece398902e4c479f07740e5703e74073c364bce5bda9aad7cd52e2ff1e ssh-agent -k [2023-02-20T06:18:18.256Z] unset SSH_AUTH_SOCK; [2023-02-20T06:18:18.257Z] unset SSH_AGENT_PID; [2023-02-20T06:18:18.257Z] echo Agent pid 38 killed; [2023-02-20T06:18:18.266Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-20T06:18:18.564Z] + git semver [Pipeline] } [2023-02-20T06:18:18.834Z] $ docker stop --time=1 749e17ece398902e4c479f07740e5703e74073c364bce5bda9aad7cd52e2ff1e [2023-02-20T06:18:20.117Z] $ docker rm -f --volumes 749e17ece398902e4c479f07740e5703e74073c364bce5bda9aad7cd52e2ff1e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:18:20.507Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-20T06:18:20.507Z] [2023-02-20T06:18:20.507Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:18:20.807Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-20T06:18:21.071Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-02-20T06:18:21.072Z] ab5ef0e58194: Pulling fs layer [2023-02-20T06:18:21.072Z] 9712f1f96733: Pulling fs layer [2023-02-20T06:18:21.072Z] 63f879dbbcfc: Pulling fs layer [2023-02-20T06:18:21.072Z] 0d9ebad4ef96: Pulling fs layer [2023-02-20T06:18:21.072Z] e9a5061849ea: Pulling fs layer [2023-02-20T06:18:21.072Z] d747dcd14b5f: Pulling fs layer [2023-02-20T06:18:21.072Z] 2de7ff778b66: Pulling fs layer [2023-02-20T06:18:21.072Z] 0d9ebad4ef96: Waiting [2023-02-20T06:18:21.072Z] e9a5061849ea: Waiting [2023-02-20T06:18:21.072Z] d747dcd14b5f: Waiting [2023-02-20T06:18:21.072Z] 2de7ff778b66: Waiting [2023-02-20T06:18:21.072Z] 9712f1f96733: Download complete [2023-02-20T06:18:21.658Z] 63f879dbbcfc: Verifying Checksum [2023-02-20T06:18:21.658Z] 63f879dbbcfc: Download complete [2023-02-20T06:18:21.658Z] e9a5061849ea: Verifying Checksum [2023-02-20T06:18:21.658Z] e9a5061849ea: Download complete [2023-02-20T06:18:21.658Z] d747dcd14b5f: Download complete [2023-02-20T06:18:21.658Z] 0d9ebad4ef96: Verifying Checksum [2023-02-20T06:18:21.658Z] 0d9ebad4ef96: Download complete [2023-02-20T06:18:21.658Z] ab5ef0e58194: Verifying Checksum [2023-02-20T06:18:21.658Z] ab5ef0e58194: Download complete [2023-02-20T06:18:21.916Z] 2de7ff778b66: Verifying Checksum [2023-02-20T06:18:21.916Z] 2de7ff778b66: Download complete [2023-02-20T06:18:25.200Z] ab5ef0e58194: Pull complete [2023-02-20T06:18:25.200Z] 9712f1f96733: Pull complete [2023-02-20T06:18:25.788Z] 63f879dbbcfc: Pull complete [2023-02-20T06:18:29.973Z] 0d9ebad4ef96: Pull complete [2023-02-20T06:18:30.539Z] e9a5061849ea: Pull complete [2023-02-20T06:18:30.539Z] d747dcd14b5f: Pull complete [2023-02-20T06:18:31.921Z] 2de7ff778b66: Pull complete [2023-02-20T06:18:31.921Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-02-20T06:18:31.921Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-20T06:18:31.921Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:18:32.005Z] prd-ubuntu20.04-docker-8c-8g-6708 does not seem to be running inside a container [2023-02-20T06:18:32.035Z] $ 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-02-20T06:18:37.153Z] $ docker top 9c373ea46994f5587a6f191bf4abd39bca601d2f47a6ddeabfe7aaaa27877e02 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-02-20T06:18:37.229Z] provisioning config files... [2023-02-20T06:18:37.236Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18332893874285657568tmp [2023-02-20T06:18:37.246Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6296883853302293767tmp [2023-02-20T06:18:37.255Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4586785221065746517tmp [Pipeline] { [Pipeline] echo [2023-02-20T06:18:37.271Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:18:37.552Z] ---> sigul-configuration.sh [2023-02-20T06:18:37.553Z] gpg: directory `/root/.gnupg' created [2023-02-20T06:18:37.553Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-02-20T06:18:37.553Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-02-20T06:18:37.553Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-02-20T06:18:37.553Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-02-20T06:18:37.553Z] gpg: CAST5 encrypted data [2023-02-20T06:18:37.553Z] gpg: encrypted with 1 passphrase [2023-02-20T06:18:37.553Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-02-20T06:18:37.844Z] + mkdir /home/jenkins [2023-02-20T06:18:37.844Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-02-20T06:18:38.131Z] + 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-02-20T06:18:38.141Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:18:38.425Z] ---> sigul-install.sh [2023-02-20T06:18:38.426Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-02-20T06:18:38.712Z] + git tag --list [2023-02-20T06:18:38.712Z] 0.7.1 [2023-02-20T06:18:38.712Z] v1.0.0 [2023-02-20T06:18:38.712Z] v1.1.0 [2023-02-20T06:18:38.712Z] v1.1.1 [2023-02-20T06:18:38.712Z] v1.2.2 [2023-02-20T06:18:38.712Z] v1.3.0 [2023-02-20T06:18:38.712Z] v1.3.1 [2023-02-20T06:18:38.712Z] v2.0.0 [2023-02-20T06:18:38.712Z] v2.1.0 [2023-02-20T06:18:38.712Z] v2.1.1 [2023-02-20T06:18:38.712Z] v2.1.1-dev.1 [2023-02-20T06:18:38.712Z] v2.1.1-dev.2 [2023-02-20T06:18:38.712Z] v2.1.1-dev.3 [2023-02-20T06:18:38.712Z] v2.2.0 [2023-02-20T06:18:38.712Z] v2.2.1-dev.1 [2023-02-20T06:18:38.712Z] v2.2.1-dev.2 [2023-02-20T06:18:38.712Z] v2.2.1-dev.3 [2023-02-20T06:18:38.712Z] v2.2.1-dev.4 [2023-02-20T06:18:38.712Z] v2.2.1-dev.5 [2023-02-20T06:18:38.712Z] v2.2.1-dev.6 [2023-02-20T06:18:38.712Z] v2.2.1-dev.7 [2023-02-20T06:18:38.712Z] v2.3.0 [2023-02-20T06:18:38.712Z] v2.3.0-dev.10 [2023-02-20T06:18:38.712Z] v2.3.0-dev.11 [2023-02-20T06:18:38.712Z] v2.3.0-dev.12 [2023-02-20T06:18:38.712Z] v2.3.0-dev.13 [2023-02-20T06:18:38.712Z] v2.3.0-dev.14 [2023-02-20T06:18:38.712Z] v2.3.0-dev.15 [2023-02-20T06:18:38.712Z] v2.3.0-dev.16 [2023-02-20T06:18:38.712Z] v2.3.0-dev.17 [2023-02-20T06:18:38.712Z] v2.3.0-dev.18 [2023-02-20T06:18:38.712Z] v2.3.0-dev.19 [2023-02-20T06:18:38.712Z] v2.3.0-dev.20 [2023-02-20T06:18:38.712Z] v2.3.0-dev.21 [2023-02-20T06:18:38.712Z] v2.3.0-dev.22 [2023-02-20T06:18:38.712Z] v2.3.0-dev.23 [2023-02-20T06:18:38.712Z] v2.3.0-dev.24 [2023-02-20T06:18:38.712Z] v2.3.0-dev.25 [2023-02-20T06:18:38.712Z] v2.3.0-dev.7 [2023-02-20T06:18:38.712Z] v2.3.0-dev.8 [2023-02-20T06:18:38.712Z] v2.3.0-dev.9 [2023-02-20T06:18:38.712Z] v3.0.0-dev.1 [2023-02-20T06:18:38.712Z] v3.0.0-dev.10 [2023-02-20T06:18:38.712Z] v3.0.0-dev.11 [2023-02-20T06:18:38.712Z] v3.0.0-dev.12 [2023-02-20T06:18:38.712Z] v3.0.0-dev.13 [2023-02-20T06:18:38.712Z] v3.0.0-dev.2 [2023-02-20T06:18:38.712Z] v3.0.0-dev.3 [2023-02-20T06:18:38.712Z] v3.0.0-dev.4 [2023-02-20T06:18:38.712Z] v3.0.0-dev.5 [2023-02-20T06:18:38.712Z] v3.0.0-dev.6 [2023-02-20T06:18:38.712Z] v3.0.0-dev.7 [2023-02-20T06:18:38.712Z] v3.0.0-dev.8 [2023-02-20T06:18:38.712Z] v3.0.0-dev.9 [Pipeline] sh [2023-02-20T06:18:38.998Z] + lftools sign git-tag v3.0.0-dev.13 [2023-02-20T06:18:39.566Z] Signing Git tag with Sigul... [2023-02-20T06:18:39.566Z] Signing v3.0.0-dev.13 [Pipeline] echo [2023-02-20T06:18:40.142Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:18:40.427Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-02-20T06:18:40.435Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-02-20T06:18:40.452Z] $ docker stop --time=1 9c373ea46994f5587a6f191bf4abd39bca601d2f47a6ddeabfe7aaaa27877e02 [2023-02-20T06:18:41.767Z] $ docker rm -f --volumes 9c373ea46994f5587a6f191bf4abd39bca601d2f47a6ddeabfe7aaaa27877e02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-02-20T06:18:42.176Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-20T06:18:42.176Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:18:42.473Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T06:18:42.473Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:18:42.539Z] prd-ubuntu20.04-docker-8c-8g-6708 does not seem to be running inside a container [2023-02-20T06:18:42.569Z] $ 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-02-20T06:18:43.022Z] $ docker top 8c7fea4087ad964c6d7aaefd437efd702cd0a3d51068ccb997a10aebedf6816d -eo pid,comm [2023-02-20T06:18:43.071Z] 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-02-20T06:18:43.071Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-20T06:18:43.107Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-20T06:18:43.107Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-20T06:18:43.225Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-20T06:18:43.226Z] $ docker exec 8c7fea4087ad964c6d7aaefd437efd702cd0a3d51068ccb997a10aebedf6816d ssh-agent [2023-02-20T06:18:43.374Z] SSH_AUTH_SOCK=/tmp/ssh-DWgEmeTavL4X/agent.32 [2023-02-20T06:18:43.374Z] SSH_AGENT_PID=38 [2023-02-20T06:18:43.389Z] Running ssh-add (command line suppressed) [2023-02-20T06:18:43.502Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17095804386546700989.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17095804386546700989.key) [2023-02-20T06:18:43.525Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-20T06:18:43.850Z] + git semver bump pre [2023-02-20T06:18:44.132Z] 2023-02-20 06:18:44,015 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-20T06:18:44.132Z] 2023-02-20 06:18:44,015 [bump_version] DEBUG bumping version:3.0.0-dev.13 on axis:pre with prefix:dev [2023-02-20T06:18:44.132Z] 2023-02-20 06:18:44,015 [bump_version] DEBUG bumped version:3.0.0-dev.14 [2023-02-20T06:18:44.132Z] 2023-02-20 06:18:44,015 [write_version] DEBUG write version:3.0.0-dev.14 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-02-20T06:18:44.132Z] 2023-02-20 06:18:44,015 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-20T06:18:44.132Z] 2023-02-20 06:18:44,015 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-20T06:18:44.132Z] 2023-02-20 06:18:44,017 [execute] INFO git cat-file --batch-check [2023-02-20T06:18:44.132Z] 2023-02-20 06:18:44,017 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-20T06:18:44.132Z] 2023-02-20 06:18:44,023 [execute] INFO git cat-file --batch [2023-02-20T06:18:44.132Z] 2023-02-20 06:18:44,023 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-20T06:18:44.132Z] 2023-02-20 06:18:44,029 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-20T06:18:44.132Z] 3.0.0-dev.14 [Pipeline] } [2023-02-20T06:18:44.149Z] $ docker exec --env ******** --env ******** 8c7fea4087ad964c6d7aaefd437efd702cd0a3d51068ccb997a10aebedf6816d ssh-agent -k [2023-02-20T06:18:44.256Z] unset SSH_AUTH_SOCK; [2023-02-20T06:18:44.256Z] unset SSH_AGENT_PID; [2023-02-20T06:18:44.256Z] echo Agent pid 38 killed; [2023-02-20T06:18:44.268Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-20T06:18:44.602Z] + git semver [Pipeline] } [2023-02-20T06:18:44.870Z] $ docker stop --time=1 8c7fea4087ad964c6d7aaefd437efd702cd0a3d51068ccb997a10aebedf6816d [2023-02-20T06:18:46.167Z] $ docker rm -f --volumes 8c7fea4087ad964c6d7aaefd437efd702cd0a3d51068ccb997a10aebedf6816d [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-20T06:18:46.508Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-20T06:18:46.508Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:18:46.837Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T06:18:46.837Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:18:46.908Z] prd-ubuntu20.04-docker-8c-8g-6708 does not seem to be running inside a container [2023-02-20T06:18:46.936Z] $ 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-02-20T06:18:47.290Z] $ docker top 185bc161e081d1780f4c75a9a87c3704efb215ec8f911832ea6d8bc7e47f26b3 -eo pid,comm [2023-02-20T06:18:47.341Z] 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-02-20T06:18:47.341Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-20T06:18:47.383Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-20T06:18:47.383Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-20T06:18:47.497Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-20T06:18:47.498Z] $ docker exec 185bc161e081d1780f4c75a9a87c3704efb215ec8f911832ea6d8bc7e47f26b3 ssh-agent [2023-02-20T06:18:47.621Z] SSH_AUTH_SOCK=/tmp/ssh-s1nk735Efmr0/agent.15 [2023-02-20T06:18:47.621Z] SSH_AGENT_PID=22 [2023-02-20T06:18:47.626Z] Running ssh-add (command line suppressed) [2023-02-20T06:18:47.741Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1008920832819613049.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1008920832819613049.key) [2023-02-20T06:18:47.758Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-20T06:18:48.049Z] + git semver push [2023-02-20T06:18:48.309Z] 2023-02-20 06:18:48,246 [run_push] DEBUG push [2023-02-20T06:18:48.309Z] 2023-02-20 06:18:48,247 [execute] INFO git cat-file --batch-check [2023-02-20T06:18:48.309Z] 2023-02-20 06:18:48,247 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-20T06:18:48.309Z] 2023-02-20 06:18:48,252 [execute] INFO git rev-list dff220bcb20a3425bdc467c9f71a124c5fcc9f60 -- [2023-02-20T06:18:48.309Z] 2023-02-20 06:18:48,253 [execute] DEBUG Popen(['git', 'rev-list', 'dff220bcb20a3425bdc467c9f71a124c5fcc9f60', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-20T06:18:48.309Z] 2023-02-20 06:18:48,260 [execute] INFO git fetch -v origin [2023-02-20T06:18:48.309Z] 2023-02-20 06:18:48,261 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-02-20T06:18:48.877Z] 2023-02-20 06:18:48,852 [run_push] DEBUG no remote changes detected [2023-02-20T06:18:48.877Z] 2023-02-20 06:18:48,852 [execute] INFO git push origin semver [2023-02-20T06:18:48.877Z] 2023-02-20 06:18:48,853 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-20T06:18:49.814Z] 2023-02-20 06:18:49,682 [run_push] DEBUG push all version tags [2023-02-20T06:18:49.814Z] 2023-02-20 06:18:49,683 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-02-20T06:18:49.814Z] 2023-02-20 06:18:49,683 [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-02-20T06:18:50.753Z] 2023-02-20 06:18:50,479 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-20T06:18:50.753Z] 3.0.0-dev.14 [Pipeline] } [2023-02-20T06:18:50.761Z] $ docker exec --env ******** --env ******** 185bc161e081d1780f4c75a9a87c3704efb215ec8f911832ea6d8bc7e47f26b3 ssh-agent -k [2023-02-20T06:18:50.863Z] unset SSH_AUTH_SOCK; [2023-02-20T06:18:50.864Z] unset SSH_AGENT_PID; [2023-02-20T06:18:50.865Z] echo Agent pid 22 killed; [2023-02-20T06:18:50.875Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-20T06:18:51.195Z] + git semver [Pipeline] } [2023-02-20T06:18:51.465Z] $ docker stop --time=1 185bc161e081d1780f4c75a9a87c3704efb215ec8f911832ea6d8bc7e47f26b3 [2023-02-20T06:18:53.989Z] $ docker rm -f --volumes 185bc161e081d1780f4c75a9a87c3704efb215ec8f911832ea6d8bc7e47f26b3 [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-02-20T06:18:54.632Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-02-20T06:18:54.632Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-02-20T06:18:54.632Z] total 16 [2023-02-20T06:18:54.632Z] drwxr-xr-x 3 root root 4096 Feb 20 06:13 . [2023-02-20T06:18:54.632Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 20 06:18 .. [2023-02-20T06:18:54.632Z] drwxr-xr-x 2 root root 4096 Feb 20 06:13 cost [2023-02-20T06:18:54.632Z] -rw-r--r-- 1 root root 87 Feb 20 06:13 cost.csv [2023-02-20T06:18:54.632Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-02-20T06:18:54.632Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-02-20T06:18:54.632Z] total 16 [2023-02-20T06:18:54.632Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 06:13 . [2023-02-20T06:18:54.632Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 20 06:18 .. [2023-02-20T06:18:54.632Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 20 06:13 cost [2023-02-20T06:18:54.632Z] -rw-r--r-- 1 jenkins jenkins 87 Feb 20 06:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:18:54.940Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:18:55.803Z] ---> package-listing.sh [2023-02-20T06:18:55.803Z] ++ facter osfamily [2023-02-20T06:18:55.803Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-20T06:18:56.063Z] + OS_FAMILY=debian [2023-02-20T06:18:56.063Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-02-20T06:18:56.063Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-20T06:18:56.063Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-20T06:18:56.063Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-20T06:18:56.063Z] + PACKAGES=/tmp/packages_start.txt [2023-02-20T06:18:56.063Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-02-20T06:18:56.063Z] + PACKAGES=/tmp/packages_end.txt [2023-02-20T06:18:56.063Z] + case "${OS_FAMILY}" in [2023-02-20T06:18:56.063Z] + dpkg -l [2023-02-20T06:18:56.063Z] + grep '^ii' [2023-02-20T06:18:56.063Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-20T06:18:56.063Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-20T06:18:56.063Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-20T06:18:56.063Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-02-20T06:18:56.063Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-02-20T06:18:56.063Z] + 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-02-20T06:18:56.074Z] 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-02-20T06:18:56.394Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:18:56.957Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T06:18:56.957Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:18:57.035Z] prd-ubuntu20.04-docker-8c-8g-6708 does not seem to be running inside a container [2023-02-20T06:18:57.067Z] $ 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-02-20T06:18:57.823Z] $ docker top 50802879d2071badba3efca1e15c01aae9272b516c536f1c8ba8f59f3066926a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T06:18:58.182Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-20T06:18:58.466Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-20T06:18:58.752Z] + ls /var/log/sa-host [2023-02-20T06:18:58.752Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-20T06:18:58.819Z] provisioning config files... [2023-02-20T06:18:58.826Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12670555653697241619tmp [Pipeline] { [Pipeline] echo [2023-02-20T06:18:58.838Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:18:59.119Z] ---> create-netrc.sh [Pipeline] } [2023-02-20T06:18:59.125Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:18:59.446Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-20T06:18:59.454Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:18:59.738Z] ---> sudo-logs.sh [2023-02-20T06:18:59.738Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-20T06:18:59.765Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:19:00.046Z] ---> job-cost.sh [2023-02-20T06:19:00.047Z] lf-activate-venv: SKIPPING [2023-02-20T06:19:00.047Z] DEBUG: total: 0.2199999988079071 [2023-02-20T06:19:00.047Z] INFO: Retrieving Stack Cost... [2023-02-20T06:19:00.614Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-20T06:19:00.872Z] INFO: Archiving Costs [Pipeline] echo [2023-02-20T06:19:00.883Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:19:01.160Z] ---> logs-deploy.sh [2023-02-20T06:19:01.160Z] lf-activate-venv: SKIPPING [2023-02-20T06:19:01.160Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/79 [2023-02-20T06:19:01.160Z] INFO: archiving workspace using pattern(s): [2023-02-20T06:19:02.095Z] Archives upload complete. [2023-02-20T06:19:02.353Z] INFO: archiving logs to Nexus