Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c3aad7bd2c33aca71f49ec3c385ee682c91bb904 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-ssh8144880438351536140.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-ssh5031595196933080789.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-ssh871282781289344969.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-ssh10552311969719060317.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-ssh4997497682619820569.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6511 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 c3aad7bd2c33aca71f49ec3c385ee682c91bb904 (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 c3aad7bd2c33aca71f49ec3c385ee682c91bb904 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#415)" > git rev-list --no-walk f1793b94bf4ff8773907545100fb172936c87502 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-17T22:10:10.417Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-17T22:10:10.458Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-17T22:10:10.474Z] ========================================================= [2023-02-17T22:10:10.474Z] EdgeX Global Pipelines Version Info [2023-02-17T22:10:10.474Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:10:11.179Z] ------------------- [2023-02-17T22:10:11.179Z] stable info: [2023-02-17T22:10:11.179Z] ------------------- [2023-02-17T22:10:11.179Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-17T22:10:11.179Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T22:10:11.179Z] Message: update stable to v1.0.244 [2023-02-17T22:10:11.747Z] ------------------- [2023-02-17T22:10:11.747Z] experimental info: [2023-02-17T22:10:11.747Z] ------------------- [2023-02-17T22:10:11.747Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-17T22:10:11.747Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T22:10:11.747Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-17T22:10:11.891Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-02-17T22:10:11.900Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-02-17T22:10:11.909Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-17T22:10:11.917Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-17T22:10:11.928Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-17T22:10:11.944Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-17T22:10:11.959Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-17T22:10:11.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-17T22:10:11.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-17T22:10:11.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-17T22:10:12.011Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-17T22:10:12.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-02-17T22:10:12.034Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-17T22:10:12.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-17T22:10:12.061Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T22:10:12.075Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T22:10:12.086Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T22:10:12.097Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T22:10:12.108Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-17T22:10:12.120Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-17T22:10:12.132Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-17T22:10:12.146Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-17T22:10:12.160Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-17T22:10:12.172Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-17T22:10:12.190Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-17T22:10:12.201Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-17T22:10:12.211Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-17T22:10:12.223Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-02-17T22:10:12.235Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-02-17T22:10:12.251Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-02-17T22:10:12.265Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [Pipeline] echo [2023-02-17T22:10:12.277Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c3aad7b [Pipeline] echo [2023-02-17T22:10:12.289Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T22:10:12.332Z] provisioning config files... [2023-02-17T22:10:12.346Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14231212627083019313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:10:12.656Z] ---> docker-login.sh [2023-02-17T22:10:12.656Z] nexus3.edgexfoundry.org:10001 [2023-02-17T22:10:12.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:10:12.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:10:12.917Z] Configure a credential helper to remove this warning. See [2023-02-17T22:10:12.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:10:12.917Z] [2023-02-17T22:10:12.917Z] Login Succeeded [2023-02-17T22:10:12.917Z] nexus3.edgexfoundry.org:10002 [2023-02-17T22:10:12.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:10:13.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:10:13.179Z] Configure a credential helper to remove this warning. See [2023-02-17T22:10:13.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:10:13.179Z] [2023-02-17T22:10:13.179Z] Login Succeeded [2023-02-17T22:10:13.179Z] nexus3.edgexfoundry.org:10003 [2023-02-17T22:10:13.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:10:13.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:10:13.179Z] Configure a credential helper to remove this warning. See [2023-02-17T22:10:13.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:10:13.179Z] [2023-02-17T22:10:13.179Z] Login Succeeded [2023-02-17T22:10:13.179Z] nexus3.edgexfoundry.org:10004 [2023-02-17T22:10:13.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:10:13.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:10:13.439Z] Configure a credential helper to remove this warning. See [2023-02-17T22:10:13.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:10:13.439Z] [2023-02-17T22:10:13.439Z] Login Succeeded [2023-02-17T22:10:13.439Z] docker.io [2023-02-17T22:10:13.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:10:13.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:10:13.699Z] Configure a credential helper to remove this warning. See [2023-02-17T22:10:13.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:10:13.699Z] [2023-02-17T22:10:13.699Z] Login Succeeded [2023-02-17T22:10:13.699Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T22:10:13.707Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-17T22:10:14.076Z] + git rev-list -1 --merges c3aad7bd2c33aca71f49ec3c385ee682c91bb904~1..c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [Pipeline] echo [2023-02-17T22:10:14.122Z] -----------> git rev-list -1 --merges c3aad7bd2c33aca71f49ec3c385ee682c91bb904~1..c3aad7bd2c33aca71f49ec3c385ee682c91bb904 c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [false] [Pipeline] sh [2023-02-17T22:10:14.409Z] + git log --format=format:%s -1 c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [Pipeline] echo [2023-02-17T22:10:14.424Z] ========================================================= [2023-02-17T22:10:14.424Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-17T22:10:14.424Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T22:10:14.757Z] + git log --format=format:%s -1 c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [Pipeline] echo [2023-02-17T22:10:14.768Z] [semverPrep] GIT_COMMIT: c3aad7bd2c33aca71f49ec3c385ee682c91bb904, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#415) [Pipeline] echo [2023-02-17T22:10:14.778Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-17T22:10:15.118Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-17T22:10:15.118Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-17T22:10:15.118Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-17T22:10:15.118Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-17T22:10:15.118Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-17T22:10:15.118Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-17T22:10:15.118Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:10:15.475Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T22:10:15.475Z] [2023-02-17T22:10:15.475Z] 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-17T22:10:15.784Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T22:10:15.784Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-17T22:10:15.784Z] b85a868b505f: Pulling fs layer [2023-02-17T22:10:15.784Z] e2be974225ed: Pulling fs layer [2023-02-17T22:10:15.784Z] 339a4e72a1f5: Pulling fs layer [2023-02-17T22:10:15.784Z] 988bab9f4d93: Pulling fs layer [2023-02-17T22:10:15.784Z] 1469e6f7b9e6: Pulling fs layer [2023-02-17T22:10:15.784Z] eaf3925da568: Pulling fs layer [2023-02-17T22:10:15.784Z] bab4dde63d76: Pulling fs layer [2023-02-17T22:10:15.784Z] bde34c3a00c8: Pulling fs layer [2023-02-17T22:10:15.784Z] 988bab9f4d93: Waiting [2023-02-17T22:10:15.784Z] b352a97aabf1: Pulling fs layer [2023-02-17T22:10:15.784Z] 4872d77fe225: Pulling fs layer [2023-02-17T22:10:15.784Z] 5851b861e8e6: Pulling fs layer [2023-02-17T22:10:15.784Z] bde34c3a00c8: Waiting [2023-02-17T22:10:15.784Z] eaf3925da568: Waiting [2023-02-17T22:10:15.784Z] 1469e6f7b9e6: Waiting [2023-02-17T22:10:15.784Z] b352a97aabf1: Waiting [2023-02-17T22:10:15.784Z] 5851b861e8e6: Waiting [2023-02-17T22:10:15.784Z] 4872d77fe225: Waiting [2023-02-17T22:10:15.784Z] e2be974225ed: Download complete [2023-02-17T22:10:15.784Z] 988bab9f4d93: Verifying Checksum [2023-02-17T22:10:15.784Z] 988bab9f4d93: Download complete [2023-02-17T22:10:16.048Z] 1469e6f7b9e6: Verifying Checksum [2023-02-17T22:10:16.048Z] 1469e6f7b9e6: Download complete [2023-02-17T22:10:16.048Z] 339a4e72a1f5: Verifying Checksum [2023-02-17T22:10:16.048Z] 339a4e72a1f5: Download complete [2023-02-17T22:10:16.048Z] eaf3925da568: Download complete [2023-02-17T22:10:16.048Z] bde34c3a00c8: Verifying Checksum [2023-02-17T22:10:16.048Z] bde34c3a00c8: Download complete [2023-02-17T22:10:16.311Z] b352a97aabf1: Verifying Checksum [2023-02-17T22:10:16.311Z] b352a97aabf1: Download complete [2023-02-17T22:10:16.311Z] 4872d77fe225: Download complete [2023-02-17T22:10:16.311Z] 5851b861e8e6: Verifying Checksum [2023-02-17T22:10:16.311Z] 5851b861e8e6: Download complete [2023-02-17T22:10:16.311Z] b85a868b505f: Verifying Checksum [2023-02-17T22:10:16.311Z] b85a868b505f: Download complete [2023-02-17T22:10:16.570Z] bab4dde63d76: Verifying Checksum [2023-02-17T22:10:16.570Z] bab4dde63d76: Download complete [2023-02-17T22:10:17.950Z] b85a868b505f: Pull complete [2023-02-17T22:10:17.950Z] e2be974225ed: Pull complete [2023-02-17T22:10:18.520Z] 339a4e72a1f5: Pull complete [2023-02-17T22:10:18.520Z] 988bab9f4d93: Pull complete [2023-02-17T22:10:18.789Z] 1469e6f7b9e6: Pull complete [2023-02-17T22:10:18.789Z] eaf3925da568: Pull complete [2023-02-17T22:10:20.699Z] bab4dde63d76: Pull complete [2023-02-17T22:10:20.699Z] bde34c3a00c8: Pull complete [2023-02-17T22:10:20.699Z] b352a97aabf1: Pull complete [2023-02-17T22:10:20.958Z] 4872d77fe225: Pull complete [2023-02-17T22:10:20.958Z] 5851b861e8e6: Pull complete [2023-02-17T22:10:20.958Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-17T22:10:20.958Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T22:10:20.958Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T22:10:21.052Z] prd-ubuntu20.04-docker-8c-8g-6511 does not seem to be running inside a container [2023-02-17T22:10:21.104Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-17T22:10:24.954Z] $ docker top 728bedfa9492479e8ebde84162556d49d7a56aaefa9e1d463e9cb3543dee4351 -eo pid,comm [2023-02-17T22:10:25.004Z] 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-17T22:10:25.004Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-17T22:10:25.043Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T22:10:25.043Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T22:10:25.156Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T22:10:25.160Z] $ docker exec 728bedfa9492479e8ebde84162556d49d7a56aaefa9e1d463e9cb3543dee4351 ssh-agent [2023-02-17T22:10:25.259Z] SSH_AUTH_SOCK=/tmp/ssh-wjc1QhT2BLAa/agent.33 [2023-02-17T22:10:25.259Z] SSH_AGENT_PID=39 [2023-02-17T22:10:25.267Z] Running ssh-add (command line suppressed) [2023-02-17T22:10:25.379Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15596283190521910982.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15596283190521910982.key) [2023-02-17T22:10:25.391Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T22:10:25.679Z] + git tag --points-at HEAD [Pipeline] } [2023-02-17T22:10:25.692Z] $ docker exec --env ******** --env ******** 728bedfa9492479e8ebde84162556d49d7a56aaefa9e1d463e9cb3543dee4351 ssh-agent -k [2023-02-17T22:10:25.792Z] unset SSH_AUTH_SOCK; [2023-02-17T22:10:25.792Z] unset SSH_AGENT_PID; [2023-02-17T22:10:25.792Z] echo Agent pid 39 killed; [2023-02-17T22:10:25.802Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-17T22:10:25.825Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T22:10:25.825Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T22:10:25.943Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T22:10:25.947Z] $ docker exec 728bedfa9492479e8ebde84162556d49d7a56aaefa9e1d463e9cb3543dee4351 ssh-agent [2023-02-17T22:10:26.057Z] SSH_AUTH_SOCK=/tmp/ssh-tA3UgcHpHPjA/agent.71 [2023-02-17T22:10:26.057Z] SSH_AGENT_PID=77 [2023-02-17T22:10:26.061Z] Running ssh-add (command line suppressed) [2023-02-17T22:10:26.177Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1227824056825167915.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1227824056825167915.key) [2023-02-17T22:10:26.193Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T22:10:26.491Z] + git semver init [2023-02-17T22:10:26.749Z] 2023-02-17 22:10:26,682 [run_init] DEBUG init version:0.0.0 force:False [2023-02-17T22:10:26.749Z] 2023-02-17 22:10:26,683 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-02-17T22:10:26.749Z] 2023-02-17 22:10:26,683 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-02-17T22:10:26.749Z] 2023-02-17 22:10:26,683 [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-17T22:10:27.686Z] 2023-02-17 22:10:27,677 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-02-17T22:10:27.686Z] 2023-02-17 22:10:27,678 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-02-17T22:10:27.686Z] 2023-02-17 22:10:27,678 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-17T22:10:27.686Z] 2023-02-17 22:10:27,678 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-17T22:10:27.686Z] 3.0.0-dev.12 [Pipeline] } [2023-02-17T22:10:27.957Z] $ docker exec --env ******** --env ******** 728bedfa9492479e8ebde84162556d49d7a56aaefa9e1d463e9cb3543dee4351 ssh-agent -k [2023-02-17T22:10:28.066Z] unset SSH_AUTH_SOCK; [2023-02-17T22:10:28.066Z] unset SSH_AGENT_PID; [2023-02-17T22:10:28.067Z] echo Agent pid 77 killed; [2023-02-17T22:10:28.073Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-17T22:10:28.383Z] + git semver [Pipeline] } [2023-02-17T22:10:28.660Z] $ docker stop --time=1 728bedfa9492479e8ebde84162556d49d7a56aaefa9e1d463e9cb3543dee4351 [2023-02-17T22:10:30.048Z] $ docker rm -f --volumes 728bedfa9492479e8ebde84162556d49d7a56aaefa9e1d463e9cb3543dee4351 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T22:10:30.387Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-17T22:10:30.602Z] Stashed 1 file(s) [Pipeline] echo [2023-02-17T22:10:30.606Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.12 [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-17T22:10:30.755Z] provisioning config files... [2023-02-17T22:10:30.766Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13536454617502365945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:10:31.062Z] ---> docker-login.sh [2023-02-17T22:10:31.062Z] nexus3.edgexfoundry.org:10001 [2023-02-17T22:10:31.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:10:31.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:10:31.062Z] Configure a credential helper to remove this warning. See [2023-02-17T22:10:31.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:10:31.062Z] [2023-02-17T22:10:31.062Z] Login Succeeded [2023-02-17T22:10:31.062Z] nexus3.edgexfoundry.org:10002 [2023-02-17T22:10:31.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:10:31.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:10:31.062Z] Configure a credential helper to remove this warning. See [2023-02-17T22:10:31.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:10:31.062Z] [2023-02-17T22:10:31.062Z] Login Succeeded [2023-02-17T22:10:31.062Z] nexus3.edgexfoundry.org:10003 [2023-02-17T22:10:31.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:10:31.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:10:31.321Z] Configure a credential helper to remove this warning. See [2023-02-17T22:10:31.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:10:31.321Z] [2023-02-17T22:10:31.321Z] Login Succeeded [2023-02-17T22:10:31.321Z] nexus3.edgexfoundry.org:10004 [2023-02-17T22:10:31.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:10:31.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:10:31.321Z] Configure a credential helper to remove this warning. See [2023-02-17T22:10:31.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:10:31.321Z] [2023-02-17T22:10:31.321Z] Login Succeeded [2023-02-17T22:10:31.321Z] docker.io [2023-02-17T22:10:31.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:10:31.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:10:31.839Z] Configure a credential helper to remove this warning. See [2023-02-17T22:10:31.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:10:31.839Z] [2023-02-17T22:10:31.839Z] Login Succeeded [2023-02-17T22:10:31.839Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T22:10:31.848Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T22:10:31.913Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T22:10:31.926Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T22:10:31.933Z] ========================================================= [2023-02-17T22:10:31.933Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-17T22:10:31.933Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:10:32.244Z] + 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-17T22:10:32.244Z] Sending build context to Docker daemon 6.368MB [2023-02-17T22:10:32.244Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T22:10:32.244Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-17T22:10:32.508Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-17T22:10:32.508Z] 213ec9aee27d: Pulling fs layer [2023-02-17T22:10:32.508Z] 4583459ba037: Pulling fs layer [2023-02-17T22:10:32.508Z] 93c1e223e6f2: Pulling fs layer [2023-02-17T22:10:32.508Z] 53926ce57604: Pulling fs layer [2023-02-17T22:10:32.508Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-17T22:10:32.508Z] 22ff95d597cd: Pulling fs layer [2023-02-17T22:10:32.508Z] 12d6caf4c0d1: Pulling fs layer [2023-02-17T22:10:32.508Z] 96b7cbca73a9: Pulling fs layer [2023-02-17T22:10:32.508Z] a7acece74701: Pulling fs layer [2023-02-17T22:10:32.508Z] 53926ce57604: Waiting [2023-02-17T22:10:32.508Z] 21b2b0c7a3f4: Waiting [2023-02-17T22:10:32.508Z] 22ff95d597cd: Waiting [2023-02-17T22:10:32.508Z] 12d6caf4c0d1: Waiting [2023-02-17T22:10:32.508Z] a7acece74701: Waiting [2023-02-17T22:10:32.508Z] 96b7cbca73a9: Waiting [2023-02-17T22:10:32.508Z] 93c1e223e6f2: Verifying Checksum [2023-02-17T22:10:32.508Z] 93c1e223e6f2: Download complete [2023-02-17T22:10:32.508Z] 4583459ba037: Verifying Checksum [2023-02-17T22:10:32.508Z] 4583459ba037: Download complete [2023-02-17T22:10:32.508Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-17T22:10:32.508Z] 21b2b0c7a3f4: Download complete [2023-02-17T22:10:32.508Z] 22ff95d597cd: Download complete [2023-02-17T22:10:32.508Z] 213ec9aee27d: Verifying Checksum [2023-02-17T22:10:32.508Z] 213ec9aee27d: Download complete [2023-02-17T22:10:32.508Z] 12d6caf4c0d1: Download complete [2023-02-17T22:10:32.776Z] 213ec9aee27d: Pull complete [2023-02-17T22:10:32.776Z] 4583459ba037: Pull complete [2023-02-17T22:10:33.055Z] 93c1e223e6f2: Pull complete [2023-02-17T22:10:33.655Z] a7acece74701: Verifying Checksum [2023-02-17T22:10:33.655Z] a7acece74701: Download complete [2023-02-17T22:10:33.655Z] 53926ce57604: Verifying Checksum [2023-02-17T22:10:33.655Z] 53926ce57604: Download complete [2023-02-17T22:10:33.914Z] 96b7cbca73a9: Verifying Checksum [2023-02-17T22:10:33.914Z] 96b7cbca73a9: Download complete [2023-02-17T22:10:38.105Z] 53926ce57604: Pull complete [2023-02-17T22:10:38.105Z] 21b2b0c7a3f4: Pull complete [2023-02-17T22:10:38.105Z] 22ff95d597cd: Pull complete [2023-02-17T22:10:38.105Z] 12d6caf4c0d1: Pull complete [2023-02-17T22:10:40.013Z] 96b7cbca73a9: Pull complete [2023-02-17T22:10:40.578Z] a7acece74701: Pull complete [2023-02-17T22:10:40.839Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-17T22:10:40.839Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-17T22:10:40.839Z] ---> db6d94c90886 [2023-02-17T22:10:40.839Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-02-17T22:10:45.702Z] Still waiting to schedule task [2023-02-17T22:10:45.703Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-17T22:10:46.164Z] ---> Running in eb507e074939 [2023-02-17T22:10:46.164Z] Removing intermediate container eb507e074939 [2023-02-17T22:10:46.164Z] ---> a413ee010255 [2023-02-17T22:10:46.164Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T22:10:46.164Z] ---> Running in b869907de72b [2023-02-17T22:10:46.431Z] Removing intermediate container b869907de72b [2023-02-17T22:10:46.431Z] ---> c44348d38471 [2023-02-17T22:10:46.431Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-02-17T22:10:46.431Z] ---> Running in 09c49c0e26d2 [2023-02-17T22:10:46.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T22:10:46.952Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T22:10:47.211Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-02-17T22:10:47.211Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-02-17T22:10:47.211Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-02-17T22:10:47.211Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-02-17T22:10:47.211Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-02-17T22:10:47.211Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-02-17T22:10:47.211Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-02-17T22:10:47.211Z] (8/8) Installing openssh (9.0_p1-r2) [2023-02-17T22:10:47.211Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T22:10:47.211Z] OK: 217 MiB in 59 packages [2023-02-17T22:10:47.780Z] Removing intermediate container 09c49c0e26d2 [2023-02-17T22:10:47.780Z] ---> 132b083f3d9a [2023-02-17T22:10:47.780Z] Step 6/10 : WORKDIR /device-modbus-go [2023-02-17T22:10:48.040Z] ---> Running in 4009ae729f2f [2023-02-17T22:10:48.040Z] Removing intermediate container 4009ae729f2f [2023-02-17T22:10:48.040Z] ---> 429cc3a9a7b0 [2023-02-17T22:10:48.040Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-17T22:10:48.040Z] ---> eb4f0b8f455d [2023-02-17T22:10:48.040Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T22:10:48.040Z] ---> Running in 4db135802f5d [2023-02-17T22:11:20.168Z] Removing intermediate container 4db135802f5d [2023-02-17T22:11:20.168Z] ---> fcd6811fc385 [2023-02-17T22:11:20.168Z] Step 9/10 : COPY . . [2023-02-17T22:11:20.168Z] ---> 60eec063f928 [2023-02-17T22:11:20.168Z] Step 10/10 : RUN ${MAKE} [2023-02-17T22:11:20.168Z] ---> Running in 1854d88b8903 [2023-02-17T22:11:20.168Z] noop [2023-02-17T22:11:20.168Z] Removing intermediate container 1854d88b8903 [2023-02-17T22:11:20.168Z] ---> 2779bf268324 [2023-02-17T22:11:20.168Z] Successfully built 2779bf268324 [2023-02-17T22:11:20.168Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:11:20.481Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T22:11:20.481Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T22:11:20.563Z] prd-ubuntu20.04-docker-8c-8g-6511 does not seem to be running inside a container [2023-02-17T22:11:20.599Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-17T22:11:20.965Z] $ docker top d63bb7de4c86cb774bc5668275a1ccd6241c7aae319ddfb7d8a824a16c38e1ef -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T22:11:21.316Z] + go version [2023-02-17T22:11:21.316Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-17T22:11:21.328Z] $ docker stop --time=1 d63bb7de4c86cb774bc5668275a1ccd6241c7aae319ddfb7d8a824a16c38e1ef [2023-02-17T22:11:22.591Z] $ docker rm -f --volumes d63bb7de4c86cb774bc5668275a1ccd6241c7aae319ddfb7d8a824a16c38e1ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:11:22.984Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T22:11:22.984Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T22:11:23.063Z] prd-ubuntu20.04-docker-8c-8g-6511 does not seem to be running inside a container [2023-02-17T22:11:23.100Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-17T22:11:23.549Z] $ docker top a95162c7c85012569c98fc150af9cdf56adc3a063f4406e632c66d021a85e41a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T22:11:23.890Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-02-17T22:11:24.190Z] + make test [2023-02-17T22:11:24.191Z] go test ./... -coverprofile=coverage.out [2023-02-17T22:11:24.450Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-02-17T22:11:34.424Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-02-17T22:11:34.424Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.7% of statements [2023-02-17T22:11:42.568Z] 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-17T22:11:42.568Z] go vet ./... [2023-02-17T22:11:45.852Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T22:11:45.852Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T22:11:45.852Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T22:11:45.865Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T22:11:45.876Z] $ docker stop --time=1 a95162c7c85012569c98fc150af9cdf56adc3a063f4406e632c66d021a85e41a [2023-02-17T22:11:48.342Z] $ docker rm -f --volumes a95162c7c85012569c98fc150af9cdf56adc3a063f4406e632c66d021a85e41a [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T22:11:48.778Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T22:11:48.820Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-17T22:11:49.319Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T22:11:49.608Z] + ls -al . [2023-02-17T22:11:49.608Z] total 184 [2023-02-17T22:11:49.608Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 22:11 . [2023-02-17T22:11:49.608Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 22:10 .. [2023-02-17T22:11:49.608Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 22:10 .dockerignore [2023-02-17T22:11:49.608Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 22:11 .git [2023-02-17T22:11:49.608Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 22:10 .github [2023-02-17T22:11:49.608Z] -rw-rw-r-- 1 jenkins jenkins 331 Feb 17 22:10 .gitignore [2023-02-17T22:11:49.608Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 17 22:10 .golangci.yml [2023-02-17T22:11:49.608Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 22:10 .semver [2023-02-17T22:11:49.608Z] -rw-rw-r-- 1 jenkins jenkins 10236 Feb 17 22:10 Attribution.txt [2023-02-17T22:11:49.608Z] -rw-rw-r-- 1 jenkins jenkins 11576 Feb 17 22:10 CHANGELOG.md [2023-02-17T22:11:49.608Z] -rw-rw-r-- 1 jenkins jenkins 1365 Feb 17 22:10 Dockerfile [2023-02-17T22:11:49.608Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 22:10 GOVERNANCE.md [2023-02-17T22:11:49.608Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 17 22:10 Jenkinsfile [2023-02-17T22:11:49.608Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 17 22:10 LICENSE [2023-02-17T22:11:49.608Z] -rw-rw-r-- 1 jenkins jenkins 1670 Feb 17 22:10 Makefile [2023-02-17T22:11:49.608Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 17 22:10 OWNERS.md [2023-02-17T22:11:49.608Z] -rw-rw-r-- 1 jenkins jenkins 4061 Feb 17 22:10 README.md [2023-02-17T22:11:49.608Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 17 22:10 VERSION [2023-02-17T22:11:49.608Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 22:10 bin [2023-02-17T22:11:49.608Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 22:10 cmd [2023-02-17T22:11:49.608Z] -rw-r--r-- 1 jenkins jenkins 23241 Feb 17 22:11 coverage.out [2023-02-17T22:11:49.608Z] -rw-rw-r-- 1 jenkins jenkins 3496 Feb 17 22:10 go.mod [2023-02-17T22:11:49.608Z] -rw-rw-r-- 1 jenkins jenkins 33621 Feb 17 22:10 go.sum [2023-02-17T22:11:49.608Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 22:10 internal [2023-02-17T22:11:49.608Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 22:10 simulator [2023-02-17T22:11:49.608Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 22:10 snap [2023-02-17T22:11:49.608Z] -rw-rw-r-- 1 jenkins jenkins 229 Feb 17 22:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:11:49.926Z] + 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=c3aad7bd2c33aca71f49ec3c385ee682c91bb904 --label arch=amd64 --label version=3.0.0-dev.12 . [2023-02-17T22:11:49.926Z] Sending build context to Docker daemon 6.392MB [2023-02-17T22:11:49.926Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T22:11:49.926Z] Step 2/22 : FROM ${BASE} AS builder [2023-02-17T22:11:49.926Z] ---> 2779bf268324 [2023-02-17T22:11:49.926Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-02-17T22:11:50.184Z] ---> Running in 9a6b43bfc762 [2023-02-17T22:11:50.184Z] Removing intermediate container 9a6b43bfc762 [2023-02-17T22:11:50.184Z] ---> e9ce93ba9b25 [2023-02-17T22:11:50.184Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T22:11:50.184Z] ---> Running in a56a9051b710 [2023-02-17T22:11:50.184Z] Removing intermediate container a56a9051b710 [2023-02-17T22:11:50.184Z] ---> 96136e92652a [2023-02-17T22:11:50.184Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-02-17T22:11:50.184Z] ---> Running in d7e4ff678264 [2023-02-17T22:11:50.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T22:11:50.700Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T22:11:50.961Z] OK: 217 MiB in 59 packages [2023-02-17T22:11:51.531Z] Removing intermediate container d7e4ff678264 [2023-02-17T22:11:51.531Z] ---> f98844055a7a [2023-02-17T22:11:51.531Z] Step 6/22 : WORKDIR /device-modbus-go [2023-02-17T22:11:51.531Z] ---> Running in 1644c17958dd [2023-02-17T22:11:51.531Z] Removing intermediate container 1644c17958dd [2023-02-17T22:11:51.531Z] ---> 1f797f9a0be5 [2023-02-17T22:11:51.531Z] Step 7/22 : COPY go.mod vendor* ./ [2023-02-17T22:11:51.531Z] ---> 23d2808c6907 [2023-02-17T22:11:51.531Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T22:11:51.531Z] ---> Running in 79feea1d0c3d [2023-02-17T22:11:52.516Z] Removing intermediate container 79feea1d0c3d [2023-02-17T22:11:52.516Z] ---> cd01a3ba7621 [2023-02-17T22:11:52.516Z] Step 9/22 : COPY . . [2023-02-17T22:11:52.880Z] ---> 151aa01fb0a6 [2023-02-17T22:11:52.880Z] Step 10/22 : RUN ${MAKE} [2023-02-17T22:11:53.168Z] ---> Running in 4453b8e0dfd2 [2023-02-17T22:11:53.442Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.12" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-02-17T22:12:15.393Z] Removing intermediate container 4453b8e0dfd2 [2023-02-17T22:12:15.393Z] ---> bb722ca5ea46 [2023-02-17T22:12:15.393Z] Step 11/22 : FROM alpine:3.14 [2023-02-17T22:12:15.393Z] 3.14: Pulling from library/alpine [2023-02-17T22:12:15.393Z] d261077062b2: Pulling fs layer [2023-02-17T22:12:15.393Z] d261077062b2: Verifying Checksum [2023-02-17T22:12:15.393Z] d261077062b2: Download complete [2023-02-17T22:12:15.393Z] d261077062b2: Pull complete [2023-02-17T22:12:15.393Z] Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 [2023-02-17T22:12:15.393Z] Status: Downloaded newer image for alpine:3.14 [2023-02-17T22:12:15.393Z] ---> 6dff1269bc79 [2023-02-17T22:12:15.393Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-02-17T22:12:15.393Z] ---> Running in 9ab6dc4fae3f [2023-02-17T22:12:15.393Z] Removing intermediate container 9ab6dc4fae3f [2023-02-17T22:12:15.393Z] ---> 4e64617d58d1 [2023-02-17T22:12:15.393Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-02-17T22:12:15.393Z] ---> Running in 46c11d29e108 [2023-02-17T22:12:15.393Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-02-17T22:12:15.393Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-02-17T22:12:15.963Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-17T22:12:15.963Z] Executing busybox-1.33.1-r8.trigger [2023-02-17T22:12:15.963Z] OK: 6 MiB in 15 packages [2023-02-17T22:12:16.224Z] Removing intermediate container 46c11d29e108 [2023-02-17T22:12:16.224Z] ---> 7e68e1b762af [2023-02-17T22:12:16.224Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-02-17T22:12:17.168Z] ---> 9e63f7586fe9 [2023-02-17T22:12:17.168Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-02-17T22:12:17.168Z] ---> 34dd44486405 [2023-02-17T22:12:17.168Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-02-17T22:12:17.168Z] ---> aec912372b6d [2023-02-17T22:12:17.168Z] Step 17/22 : EXPOSE 59901 [2023-02-17T22:12:17.168Z] ---> Running in 1ab87bc0d36c [2023-02-17T22:12:17.168Z] Removing intermediate container 1ab87bc0d36c [2023-02-17T22:12:17.168Z] ---> 7b457684c9f4 [2023-02-17T22:12:17.168Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-02-17T22:12:17.427Z] ---> Running in 328cb9c54d4f [2023-02-17T22:12:17.427Z] Removing intermediate container 328cb9c54d4f [2023-02-17T22:12:17.427Z] ---> 725c2109f37e [2023-02-17T22:12:17.427Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-17T22:12:17.427Z] ---> Running in c3b29f5a4260 [2023-02-17T22:12:17.427Z] Removing intermediate container c3b29f5a4260 [2023-02-17T22:12:17.427Z] ---> e3f4136ccfc6 [2023-02-17T22:12:17.427Z] Step 20/22 : LABEL arch=amd64 [2023-02-17T22:12:17.427Z] ---> Running in 853083b5bc41 [2023-02-17T22:12:17.686Z] Removing intermediate container 853083b5bc41 [2023-02-17T22:12:17.686Z] ---> b365c3e7b2ab [2023-02-17T22:12:17.686Z] Step 21/22 : LABEL git_sha=c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [2023-02-17T22:12:17.686Z] ---> Running in 435b7282cd7b [2023-02-17T22:12:17.686Z] Removing intermediate container 435b7282cd7b [2023-02-17T22:12:17.686Z] ---> 4325bed5d98a [2023-02-17T22:12:17.686Z] Step 22/22 : LABEL version=3.0.0-dev.12 [2023-02-17T22:12:17.686Z] ---> Running in 16f2d7abc83f [2023-02-17T22:12:17.686Z] Removing intermediate container 16f2d7abc83f [2023-02-17T22:12:17.686Z] ---> 446dc5e04db1 [2023-02-17T22:12:17.686Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T22:12:17.686Z] Successfully built 446dc5e04db1 [2023-02-17T22:12:17.686Z] 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-17T22:12:17.766Z] provisioning config files... [2023-02-17T22:12:17.773Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12769527752286457787tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:12:18.066Z] ---> docker-login.sh [2023-02-17T22:12:18.066Z] nexus3.edgexfoundry.org:10001 [2023-02-17T22:12:18.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:12:18.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:12:18.066Z] Configure a credential helper to remove this warning. See [2023-02-17T22:12:18.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:12:18.066Z] [2023-02-17T22:12:18.066Z] Login Succeeded [2023-02-17T22:12:18.066Z] nexus3.edgexfoundry.org:10002 [2023-02-17T22:12:18.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:12:18.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:12:18.066Z] Configure a credential helper to remove this warning. See [2023-02-17T22:12:18.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:12:18.066Z] [2023-02-17T22:12:18.066Z] Login Succeeded [2023-02-17T22:12:18.066Z] nexus3.edgexfoundry.org:10003 [2023-02-17T22:12:18.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:12:18.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:12:18.324Z] Configure a credential helper to remove this warning. See [2023-02-17T22:12:18.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:12:18.324Z] [2023-02-17T22:12:18.324Z] Login Succeeded [2023-02-17T22:12:18.324Z] nexus3.edgexfoundry.org:10004 [2023-02-17T22:12:18.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:12:18.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:12:18.324Z] Configure a credential helper to remove this warning. See [2023-02-17T22:12:18.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:12:18.324Z] [2023-02-17T22:12:18.324Z] Login Succeeded [2023-02-17T22:12:18.324Z] docker.io [2023-02-17T22:12:18.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:12:18.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:12:18.848Z] Configure a credential helper to remove this warning. See [2023-02-17T22:12:18.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:12:18.848Z] [2023-02-17T22:12:18.848Z] Login Succeeded [2023-02-17T22:12:18.848Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T22:12:18.855Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-17T22:12:18.892Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T22:12:18.917Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-02-17T22:12:18.917Z] c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [2023-02-17T22:12:18.917Z] latest [2023-02-17T22:12:18.917Z] 3.0.0-dev.12 [2023-02-17T22:12:18.917Z] c3aad7bd2c33aca71f49ec3c385ee682c91bb904-3.0.0-dev.12 [2023-02-17T22:12:18.917Z] main [2023-02-17T22:12:18.917Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:12:19.239Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:12:19.555Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [2023-02-17T22:12:19.555Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-17T22:12:19.555Z] 2f711e5df006: Preparing [2023-02-17T22:12:19.555Z] cf190068ebbe: Preparing [2023-02-17T22:12:19.555Z] 6203bd2387e5: Preparing [2023-02-17T22:12:19.555Z] d47084330780: Preparing [2023-02-17T22:12:19.555Z] 625523cb9cce: Preparing [2023-02-17T22:12:19.555Z] 625523cb9cce: Layer already exists [2023-02-17T22:12:19.555Z] d47084330780: Pushed [2023-02-17T22:12:19.555Z] 2f711e5df006: Pushed [2023-02-17T22:12:19.555Z] cf190068ebbe: Pushed [2023-02-17T22:12:22.091Z] 6203bd2387e5: Pushed [2023-02-17T22:12:22.091Z] c3aad7bd2c33aca71f49ec3c385ee682c91bb904: digest: sha256:6e0a44de42737172b84701de5cacb5eb6399f320f00ebf970819ac7ebd184d29 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:12:22.398Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:12:22.699Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-02-17T22:12:22.699Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-17T22:12:22.699Z] 2f711e5df006: Preparing [2023-02-17T22:12:22.699Z] cf190068ebbe: Preparing [2023-02-17T22:12:22.699Z] 6203bd2387e5: Preparing [2023-02-17T22:12:22.699Z] d47084330780: Preparing [2023-02-17T22:12:22.699Z] 625523cb9cce: Preparing [2023-02-17T22:12:22.699Z] cf190068ebbe: Layer already exists [2023-02-17T22:12:22.699Z] d47084330780: Layer already exists [2023-02-17T22:12:22.699Z] 625523cb9cce: Layer already exists [2023-02-17T22:12:22.699Z] 2f711e5df006: Layer already exists [2023-02-17T22:12:22.699Z] 6203bd2387e5: Layer already exists [2023-02-17T22:12:22.699Z] latest: digest: sha256:6e0a44de42737172b84701de5cacb5eb6399f320f00ebf970819ac7ebd184d29 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:12:23.014Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:12:23.320Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.12 [2023-02-17T22:12:23.320Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-17T22:12:23.320Z] 2f711e5df006: Preparing [2023-02-17T22:12:23.320Z] cf190068ebbe: Preparing [2023-02-17T22:12:23.320Z] 6203bd2387e5: Preparing [2023-02-17T22:12:23.320Z] d47084330780: Preparing [2023-02-17T22:12:23.320Z] 625523cb9cce: Preparing [2023-02-17T22:12:23.320Z] 2f711e5df006: Layer already exists [2023-02-17T22:12:23.320Z] cf190068ebbe: Layer already exists [2023-02-17T22:12:23.320Z] d47084330780: Layer already exists [2023-02-17T22:12:23.320Z] 6203bd2387e5: Layer already exists [2023-02-17T22:12:23.320Z] 625523cb9cce: Layer already exists [2023-02-17T22:12:23.320Z] 3.0.0-dev.12: digest: sha256:6e0a44de42737172b84701de5cacb5eb6399f320f00ebf970819ac7ebd184d29 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:12:23.642Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:c3aad7bd2c33aca71f49ec3c385ee682c91bb904-3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:12:23.952Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:c3aad7bd2c33aca71f49ec3c385ee682c91bb904-3.0.0-dev.12 [2023-02-17T22:12:23.952Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-17T22:12:23.952Z] 2f711e5df006: Preparing [2023-02-17T22:12:23.952Z] cf190068ebbe: Preparing [2023-02-17T22:12:23.952Z] 6203bd2387e5: Preparing [2023-02-17T22:12:23.952Z] d47084330780: Preparing [2023-02-17T22:12:23.952Z] 625523cb9cce: Preparing [2023-02-17T22:12:23.952Z] 6203bd2387e5: Layer already exists [2023-02-17T22:12:23.952Z] cf190068ebbe: Layer already exists [2023-02-17T22:12:23.952Z] 2f711e5df006: Layer already exists [2023-02-17T22:12:23.952Z] d47084330780: Layer already exists [2023-02-17T22:12:23.952Z] 625523cb9cce: Layer already exists [2023-02-17T22:12:23.952Z] c3aad7bd2c33aca71f49ec3c385ee682c91bb904-3.0.0-dev.12: digest: sha256:6e0a44de42737172b84701de5cacb5eb6399f320f00ebf970819ac7ebd184d29 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:12:24.270Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:12:24.574Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-02-17T22:12:24.574Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-17T22:12:24.574Z] 2f711e5df006: Preparing [2023-02-17T22:12:24.574Z] cf190068ebbe: Preparing [2023-02-17T22:12:24.574Z] 6203bd2387e5: Preparing [2023-02-17T22:12:24.574Z] d47084330780: Preparing [2023-02-17T22:12:24.574Z] 625523cb9cce: Preparing [2023-02-17T22:12:24.574Z] 6203bd2387e5: Layer already exists [2023-02-17T22:12:24.574Z] 625523cb9cce: Layer already exists [2023-02-17T22:12:24.574Z] 2f711e5df006: Layer already exists [2023-02-17T22:12:24.574Z] cf190068ebbe: Layer already exists [2023-02-17T22:12:24.574Z] d47084330780: Layer already exists [2023-02-17T22:12:24.574Z] main: digest: sha256:6e0a44de42737172b84701de5cacb5eb6399f320f00ebf970819ac7ebd184d29 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-17T22:12:24.623Z] ===================================================== [Pipeline] echo [2023-02-17T22:12:24.631Z] taggedImages: [2023-02-17T22:12:24.631Z] - nexus3.edgexfoundry.org:10004/device-modbus:c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [2023-02-17T22:12:24.631Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-02-17T22:12:24.631Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.12 [2023-02-17T22:12:24.631Z] - nexus3.edgexfoundry.org:10004/device-modbus:c3aad7bd2c33aca71f49ec3c385ee682c91bb904-3.0.0-dev.12 [2023-02-17T22:12:24.631Z] - 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-17T22:12:25.007Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T22:12:25.007Z] [2023-02-17T22:12:25.007Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:12:25.319Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T22:12:25.319Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-17T22:12:25.319Z] 5eb5b503b376: Pulling fs layer [2023-02-17T22:12:25.319Z] 5c69ac0246d0: Pulling fs layer [2023-02-17T22:12:25.319Z] ec43610c2a17: Pulling fs layer [2023-02-17T22:12:25.319Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-17T22:12:25.319Z] 33b1e0a273af: Pulling fs layer [2023-02-17T22:12:25.319Z] 5d3b04190fa2: Pulling fs layer [2023-02-17T22:12:25.319Z] 2f39f015ded8: Pulling fs layer [2023-02-17T22:12:25.319Z] 33b1e0a273af: Waiting [2023-02-17T22:12:25.319Z] 5d3b04190fa2: Waiting [2023-02-17T22:12:25.319Z] 3a2ae6a8a46f: Waiting [2023-02-17T22:12:25.319Z] 2f39f015ded8: Waiting [2023-02-17T22:12:25.319Z] 5c69ac0246d0: Download complete [2023-02-17T22:12:25.319Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-17T22:12:25.319Z] 3a2ae6a8a46f: Download complete [2023-02-17T22:12:25.580Z] 33b1e0a273af: Verifying Checksum [2023-02-17T22:12:25.580Z] 33b1e0a273af: Download complete [2023-02-17T22:12:25.580Z] 5d3b04190fa2: Download complete [2023-02-17T22:12:25.580Z] ec43610c2a17: Verifying Checksum [2023-02-17T22:12:25.580Z] ec43610c2a17: Download complete [2023-02-17T22:12:25.841Z] 5eb5b503b376: Verifying Checksum [2023-02-17T22:12:25.841Z] 5eb5b503b376: Download complete [2023-02-17T22:12:26.409Z] 2f39f015ded8: Download complete [2023-02-17T22:12:26.975Z] 5eb5b503b376: Pull complete [2023-02-17T22:12:27.234Z] 5c69ac0246d0: Pull complete [2023-02-17T22:12:27.801Z] ec43610c2a17: Pull complete [2023-02-17T22:12:27.801Z] 3a2ae6a8a46f: Pull complete [2023-02-17T22:12:28.059Z] 33b1e0a273af: Pull complete [2023-02-17T22:12:28.059Z] 5d3b04190fa2: Pull complete [2023-02-17T22:12:33.342Z] 2f39f015ded8: Pull complete [2023-02-17T22:12:33.342Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-17T22:12:33.342Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T22:12:33.342Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T22:12:33.418Z] prd-ubuntu20.04-docker-8c-8g-6511 does not seem to be running inside a container [2023-02-17T22:12:33.452Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-17T22:12:36.957Z] $ docker top 868dcac6087194eda16b0bbeab94beb419d89eed52dfa0a0c5814f830487ea0a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:12:37.337Z] ---> job-cost.sh [2023-02-17T22:12:37.337Z] lf-activate-venv: SKIPPING [2023-02-17T22:12:37.337Z] INFO: No Stack... [2023-02-17T22:12:37.596Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T22:12:38.162Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T22:12:38.453Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-02-17T22:12:38.453Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T22:12:38.471Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-78-stack-cost] [2023-02-17T22:12:38.477Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-78-stack-cost] did not exist. Created. [2023-02-17T22:12:38.477Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T22:12:38.772Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-17T22:12:38.806Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T22:12:38.815Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-78-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T22:12:38.832Z] $ docker stop --time=1 868dcac6087194eda16b0bbeab94beb419d89eed52dfa0a0c5814f830487ea0a [2023-02-17T22:12:40.004Z] $ docker rm -f --volumes 868dcac6087194eda16b0bbeab94beb419d89eed52dfa0a0c5814f830487ea0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-17T22:12:57.464Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6514 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-02-17T22:12:57.478Z] Running in /w/workspace/device-modbus-go/78 [Pipeline] { [Pipeline] checkout [2023-02-17T22:12:57.509Z] Selected Git installation does not exist. Using Default [2023-02-17T22:12:57.509Z] The recommended git tool is: NONE [2023-02-17T22:13:03.408Z] using credential edgex-jenkins-ssh [2023-02-17T22:13:03.424Z] Cloning the remote Git repository [2023-02-17T22:13:03.483Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-02-17T22:13:03.575Z] > git init /w/workspace/device-modbus-go/78 # timeout=10 [2023-02-17T22:13:03.782Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-02-17T22:13:03.783Z] > git --version # timeout=10 [2023-02-17T22:13:03.807Z] > git --version # 'git version 2.25.1' [2023-02-17T22:13:03.809Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T22:13:03.880Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T22:13:06.109Z] Avoid second fetch [2023-02-17T22:13:06.110Z] Checking out Revision c3aad7bd2c33aca71f49ec3c385ee682c91bb904 (main) [2023-02-17T22:13:05.130Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-02-17T22:13:05.150Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T22:13:06.131Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T22:13:06.149Z] > git checkout -f c3aad7bd2c33aca71f49ec3c385ee682c91bb904 # timeout=10 [2023-02-17T22:13:06.649Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#415)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T22:13:07.474Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-17T22:13:07.474Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T22:13:07.474Z] Dload Upload Total Spent Left Speed [2023-02-17T22:13:07.474Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2023-02-17T22:13:08.063Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-17T22:13:08.395Z] + sudo tee /etc/docker/daemon.new [2023-02-17T22:13:08.396Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-17T22:13:08.396Z] { [2023-02-17T22:13:08.396Z] "registry-mirrors": [ [2023-02-17T22:13:08.396Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-17T22:13:08.396Z] ], [2023-02-17T22:13:08.396Z] "bip": "10.250.0.254/24", [2023-02-17T22:13:08.396Z] "hosts": [ [2023-02-17T22:13:08.396Z] "tcp://0.0.0.0:5555", [2023-02-17T22:13:08.396Z] "unix:///var/run/docker.sock" [2023-02-17T22:13:08.396Z] ], [2023-02-17T22:13:08.396Z] "mtu": 1458, [2023-02-17T22:13:08.396Z] "selinux-enabled": true, [2023-02-17T22:13:08.396Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-17T22:13:08.396Z] } [Pipeline] sh [2023-02-17T22:13:08.732Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-17T22:13:09.072Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T22:13:27.384Z] provisioning config files... [2023-02-17T22:13:27.409Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/78@tmp/config7561954293793937264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:13:27.765Z] ---> docker-login.sh [2023-02-17T22:13:27.765Z] nexus3.edgexfoundry.org:10001 [2023-02-17T22:13:28.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:13:28.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:13:28.628Z] Configure a credential helper to remove this warning. See [2023-02-17T22:13:28.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:13:28.628Z] [2023-02-17T22:13:28.628Z] Login Succeeded [2023-02-17T22:13:28.628Z] nexus3.edgexfoundry.org:10002 [2023-02-17T22:13:28.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:13:28.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:13:28.897Z] Configure a credential helper to remove this warning. See [2023-02-17T22:13:28.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:13:28.897Z] [2023-02-17T22:13:28.897Z] Login Succeeded [2023-02-17T22:13:28.897Z] nexus3.edgexfoundry.org:10003 [2023-02-17T22:13:29.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:13:29.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:13:29.166Z] Configure a credential helper to remove this warning. See [2023-02-17T22:13:29.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:13:29.166Z] [2023-02-17T22:13:29.166Z] Login Succeeded [2023-02-17T22:13:29.436Z] nexus3.edgexfoundry.org:10004 [2023-02-17T22:13:29.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:13:29.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:13:29.707Z] Configure a credential helper to remove this warning. See [2023-02-17T22:13:29.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:13:29.707Z] [2023-02-17T22:13:29.707Z] Login Succeeded [2023-02-17T22:13:29.707Z] docker.io [2023-02-17T22:13:29.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:13:30.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:13:30.247Z] Configure a credential helper to remove this warning. See [2023-02-17T22:13:30.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:13:30.247Z] [2023-02-17T22:13:30.247Z] Login Succeeded [2023-02-17T22:13:30.247Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T22:13:30.261Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T22:13:30.538Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T22:13:30.556Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T22:13:30.567Z] ========================================================= [2023-02-17T22:13:30.567Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-17T22:13:30.567Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:13:30.931Z] + 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-17T22:13:31.200Z] Sending build context to Docker daemon 3.314MB [2023-02-17T22:13:31.200Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T22:13:31.200Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-17T22:13:31.478Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-17T22:13:31.478Z] 9b18e9b68314: Pulling fs layer [2023-02-17T22:13:31.479Z] 35d82f9e3411: Pulling fs layer [2023-02-17T22:13:31.479Z] e16973657156: Pulling fs layer [2023-02-17T22:13:31.479Z] fc693d55d65f: Pulling fs layer [2023-02-17T22:13:31.479Z] 7e9fc2657dce: Pulling fs layer [2023-02-17T22:13:31.479Z] dda99020689f: Pulling fs layer [2023-02-17T22:13:31.479Z] db1c61fa0a46: Pulling fs layer [2023-02-17T22:13:31.479Z] 891c053d2c06: Pulling fs layer [2023-02-17T22:13:31.479Z] fc693d55d65f: Waiting [2023-02-17T22:13:31.479Z] 7e9fc2657dce: Waiting [2023-02-17T22:13:31.479Z] dda99020689f: Waiting [2023-02-17T22:13:31.479Z] db1c61fa0a46: Waiting [2023-02-17T22:13:31.479Z] 891c053d2c06: Waiting [2023-02-17T22:13:31.479Z] 35d82f9e3411: Verifying Checksum [2023-02-17T22:13:31.479Z] 35d82f9e3411: Download complete [2023-02-17T22:13:31.479Z] 7e9fc2657dce: Verifying Checksum [2023-02-17T22:13:31.479Z] 7e9fc2657dce: Download complete [2023-02-17T22:13:31.479Z] dda99020689f: Download complete [2023-02-17T22:13:31.479Z] 9b18e9b68314: Verifying Checksum [2023-02-17T22:13:32.935Z] 9b18e9b68314: Pull complete [2023-02-17T22:13:32.935Z] 891c053d2c06: Verifying Checksum [2023-02-17T22:13:32.935Z] 891c053d2c06: Download complete [2023-02-17T22:13:33.207Z] 35d82f9e3411: Pull complete [2023-02-17T22:13:33.497Z] e16973657156: Pull complete [2023-02-17T22:13:34.091Z] db1c61fa0a46: Verifying Checksum [2023-02-17T22:13:34.679Z] fc693d55d65f: Verifying Checksum [2023-02-17T22:13:34.679Z] fc693d55d65f: Download complete [2023-02-17T22:13:47.046Z] fc693d55d65f: Pull complete [2023-02-17T22:13:47.046Z] 7e9fc2657dce: Pull complete [2023-02-17T22:13:47.046Z] dda99020689f: Pull complete [2023-02-17T22:13:53.722Z] db1c61fa0a46: Pull complete [2023-02-17T22:13:55.137Z] 891c053d2c06: Pull complete [2023-02-17T22:13:55.137Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-17T22:13:55.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-17T22:13:55.137Z] ---> f96f9c87975a [2023-02-17T22:13:55.137Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-02-17T22:13:57.111Z] ---> Running in 3e735e2ca3cd [2023-02-17T22:13:57.111Z] Removing intermediate container 3e735e2ca3cd [2023-02-17T22:13:57.111Z] ---> db73438fd50b [2023-02-17T22:13:57.111Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T22:13:57.111Z] ---> Running in 1514ceeab912 [2023-02-17T22:13:57.697Z] Removing intermediate container 1514ceeab912 [2023-02-17T22:13:57.697Z] ---> c626cda674fb [2023-02-17T22:13:57.697Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-02-17T22:13:57.697Z] ---> Running in 2ae3ef6205bf [2023-02-17T22:13:59.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T22:13:59.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T22:14:00.081Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-02-17T22:14:00.081Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-02-17T22:14:00.352Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-02-17T22:14:00.352Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-02-17T22:14:00.352Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-02-17T22:14:00.352Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-02-17T22:14:00.352Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-02-17T22:14:00.352Z] (8/8) Installing openssh (9.0_p1-r2) [2023-02-17T22:14:00.352Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T22:14:00.352Z] OK: 228 MiB in 59 packages [2023-02-17T22:14:03.717Z] Removing intermediate container 2ae3ef6205bf [2023-02-17T22:14:03.717Z] ---> 4e5e4d7c48bd [2023-02-17T22:14:03.717Z] Step 6/10 : WORKDIR /device-modbus-go [2023-02-17T22:14:03.717Z] ---> Running in ac99947271d7 [2023-02-17T22:14:04.308Z] Removing intermediate container ac99947271d7 [2023-02-17T22:14:04.308Z] ---> 5ccdb9d3f62c [2023-02-17T22:14:04.308Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-17T22:14:04.578Z] ---> afe1e8f50cc5 [2023-02-17T22:14:04.579Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T22:14:04.879Z] ---> Running in d3c27b565753 [2023-02-17T22:15:12.869Z] Removing intermediate container d3c27b565753 [2023-02-17T22:15:12.869Z] ---> 39a8e749280f [2023-02-17T22:15:12.869Z] Step 9/10 : COPY . . [2023-02-17T22:15:12.869Z] ---> e08497799f44 [2023-02-17T22:15:12.869Z] Step 10/10 : RUN ${MAKE} [2023-02-17T22:15:12.869Z] ---> Running in d76447e26d32 [2023-02-17T22:15:13.847Z] noop [2023-02-17T22:15:14.438Z] Removing intermediate container d76447e26d32 [2023-02-17T22:15:14.438Z] ---> 4011f99ae2e7 [2023-02-17T22:15:14.438Z] Successfully built 4011f99ae2e7 [2023-02-17T22:15:14.438Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:15:14.794Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T22:15:14.794Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T22:15:14.993Z] prd-ubuntu20.04-docker-arm64-4c-16g-6514 does not seem to be running inside a container [2023-02-17T22:15:15.068Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/78 -v /w/workspace/device-modbus-go/78:/w/workspace/device-modbus-go/78:rw,z -v /w/workspace/device-modbus-go/78@tmp:/w/workspace/device-modbus-go/78@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-17T22:15:16.381Z] $ docker top cd4a33dd6c6c7606e5f45801e1b07df7adffd92995e5366455ca996caaaafb95 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T22:15:17.246Z] + go version [2023-02-17T22:15:17.246Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-17T22:15:17.270Z] $ docker stop --time=1 cd4a33dd6c6c7606e5f45801e1b07df7adffd92995e5366455ca996caaaafb95 [2023-02-17T22:15:18.864Z] $ docker rm -f --volumes cd4a33dd6c6c7606e5f45801e1b07df7adffd92995e5366455ca996caaaafb95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:15:19.501Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T22:15:19.501Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T22:15:19.746Z] prd-ubuntu20.04-docker-arm64-4c-16g-6514 does not seem to be running inside a container [2023-02-17T22:15:19.828Z] $ 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/78 -v /w/workspace/device-modbus-go/78:/w/workspace/device-modbus-go/78:rw,z -v /w/workspace/device-modbus-go/78@tmp:/w/workspace/device-modbus-go/78@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-17T22:15:20.973Z] $ docker top 2eab12c13d334e3acc8286efc8ba5136b18778c1ce0e347dc6c83046ffdaf5e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T22:15:21.481Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/78 [Pipeline] fileExists [Pipeline] sh [2023-02-17T22:15:21.856Z] + make test [2023-02-17T22:15:21.857Z] go test ./... -coverprofile=coverage.out [2023-02-17T22:15:23.825Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-02-17T22:16:45.481Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-02-17T22:16:45.482Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.065s coverage: 47.7% of statements [2023-02-17T22:16:45.749Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-17T22:16:45.749Z] go vet ./... [2023-02-17T22:17:12.452Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T22:17:12.452Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T22:17:12.452Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T22:17:12.475Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T22:17:12.491Z] $ docker stop --time=1 2eab12c13d334e3acc8286efc8ba5136b18778c1ce0e347dc6c83046ffdaf5e3 [2023-02-17T22:17:14.328Z] $ docker rm -f --volumes 2eab12c13d334e3acc8286efc8ba5136b18778c1ce0e347dc6c83046ffdaf5e3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T22:17:15.350Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T22:17:15.374Z] Warning: overwriting stash ‘coverage-report’ [2023-02-17T22:17:15.904Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T22:17:16.298Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T22:17:16.630Z] + ls -al . [2023-02-17T22:17:16.630Z] total 180 [2023-02-17T22:17:16.630Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 17 22:15 . [2023-02-17T22:17:16.630Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 22:13 .. [2023-02-17T22:17:16.630Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 22:13 .dockerignore [2023-02-17T22:17:16.630Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 22:13 .git [2023-02-17T22:17:16.630Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 22:13 .github [2023-02-17T22:17:16.630Z] -rw-rw-r-- 1 jenkins jenkins 331 Feb 17 22:13 .gitignore [2023-02-17T22:17:16.630Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 17 22:13 .golangci.yml [2023-02-17T22:17:16.630Z] -rw-rw-r-- 1 jenkins jenkins 10236 Feb 17 22:13 Attribution.txt [2023-02-17T22:17:16.630Z] -rw-rw-r-- 1 jenkins jenkins 11576 Feb 17 22:13 CHANGELOG.md [2023-02-17T22:17:16.630Z] -rw-rw-r-- 1 jenkins jenkins 1365 Feb 17 22:13 Dockerfile [2023-02-17T22:17:16.630Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 22:13 GOVERNANCE.md [2023-02-17T22:17:16.630Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 17 22:13 Jenkinsfile [2023-02-17T22:17:16.630Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 17 22:13 LICENSE [2023-02-17T22:17:16.630Z] -rw-rw-r-- 1 jenkins jenkins 1670 Feb 17 22:13 Makefile [2023-02-17T22:17:16.630Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 17 22:13 OWNERS.md [2023-02-17T22:17:16.630Z] -rw-rw-r-- 1 jenkins jenkins 4061 Feb 17 22:13 README.md [2023-02-17T22:17:16.630Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 17 22:10 VERSION [2023-02-17T22:17:16.630Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 22:13 bin [2023-02-17T22:17:16.630Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 22:13 cmd [2023-02-17T22:17:16.630Z] -rw-r--r-- 1 jenkins jenkins 23241 Feb 17 22:16 coverage.out [2023-02-17T22:17:16.630Z] -rw-rw-r-- 1 jenkins jenkins 3496 Feb 17 22:13 go.mod [2023-02-17T22:17:16.630Z] -rw-rw-r-- 1 jenkins jenkins 33621 Feb 17 22:13 go.sum [2023-02-17T22:17:16.630Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 22:13 internal [2023-02-17T22:17:16.630Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 22:13 simulator [2023-02-17T22:17:16.630Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 22:13 snap [2023-02-17T22:17:16.630Z] -rw-rw-r-- 1 jenkins jenkins 229 Feb 17 22:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:17:16.978Z] + 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=c3aad7bd2c33aca71f49ec3c385ee682c91bb904 --label arch=arm64 --label version=3.0.0-dev.12 . [2023-02-17T22:17:17.257Z] Sending build context to Docker daemon 3.338MB [2023-02-17T22:17:17.257Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T22:17:17.257Z] Step 2/22 : FROM ${BASE} AS builder [2023-02-17T22:17:17.257Z] ---> 4011f99ae2e7 [2023-02-17T22:17:17.257Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-02-17T22:17:17.846Z] ---> Running in 520aa9892c28 [2023-02-17T22:17:18.119Z] Removing intermediate container 520aa9892c28 [2023-02-17T22:17:18.119Z] ---> 4484b82f2a9b [2023-02-17T22:17:18.119Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T22:17:18.393Z] ---> Running in a166e2a189c2 [2023-02-17T22:17:18.664Z] Removing intermediate container a166e2a189c2 [2023-02-17T22:17:18.664Z] ---> 5f5e6364e527 [2023-02-17T22:17:18.664Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-02-17T22:17:18.664Z] ---> Running in d0ae71a941d8 [2023-02-17T22:17:19.631Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T22:17:20.217Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T22:17:21.182Z] OK: 228 MiB in 59 packages [2023-02-17T22:17:22.150Z] Removing intermediate container d0ae71a941d8 [2023-02-17T22:17:22.150Z] ---> ed7a40d32675 [2023-02-17T22:17:22.150Z] Step 6/22 : WORKDIR /device-modbus-go [2023-02-17T22:17:22.150Z] ---> Running in f2d61222f5bc [2023-02-17T22:17:22.420Z] Removing intermediate container f2d61222f5bc [2023-02-17T22:17:22.420Z] ---> 8ed715f00af6 [2023-02-17T22:17:22.420Z] Step 7/22 : COPY go.mod vendor* ./ [2023-02-17T22:17:23.011Z] ---> 5946db9ae3b7 [2023-02-17T22:17:23.011Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T22:17:23.280Z] ---> Running in 23ea2703b5cc [2023-02-17T22:17:25.873Z] Removing intermediate container 23ea2703b5cc [2023-02-17T22:17:25.873Z] ---> 499c6b43ea64 [2023-02-17T22:17:25.873Z] Step 9/22 : COPY . . [2023-02-17T22:17:26.839Z] ---> 510bafffcc72 [2023-02-17T22:17:26.839Z] Step 10/22 : RUN ${MAKE} [2023-02-17T22:17:26.839Z] ---> Running in aba3293eb9de [2023-02-17T22:17:27.800Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.12" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-02-17T22:19:49.528Z] Removing intermediate container aba3293eb9de [2023-02-17T22:19:49.528Z] ---> 8b41b6a8be49 [2023-02-17T22:19:49.528Z] Step 11/22 : FROM alpine:3.14 [2023-02-17T22:19:49.528Z] 3.14: Pulling from library/alpine [2023-02-17T22:19:49.528Z] 6f0e733d82e2: Pulling fs layer [2023-02-17T22:19:49.528Z] 6f0e733d82e2: Download complete [2023-02-17T22:19:49.528Z] 6f0e733d82e2: Pull complete [2023-02-17T22:19:49.528Z] Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 [2023-02-17T22:19:49.528Z] Status: Downloaded newer image for alpine:3.14 [2023-02-17T22:19:49.528Z] ---> bf97f6347a60 [2023-02-17T22:19:49.528Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-02-17T22:19:49.528Z] ---> Running in 78d620277b07 [2023-02-17T22:19:49.528Z] Removing intermediate container 78d620277b07 [2023-02-17T22:19:49.528Z] ---> 5ad5f949ddbb [2023-02-17T22:19:49.528Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-02-17T22:19:49.528Z] ---> Running in 653063b03853 [2023-02-17T22:19:49.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-02-17T22:19:49.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-02-17T22:19:49.528Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-17T22:19:49.528Z] Executing busybox-1.33.1-r8.trigger [2023-02-17T22:19:49.528Z] OK: 6 MiB in 15 packages [2023-02-17T22:19:49.528Z] Removing intermediate container 653063b03853 [2023-02-17T22:19:49.528Z] ---> 3c80578b2543 [2023-02-17T22:19:49.528Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-02-17T22:19:49.528Z] ---> 76d0c9baf411 [2023-02-17T22:19:49.528Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-02-17T22:19:49.528Z] ---> 74f4b458cec6 [2023-02-17T22:19:49.528Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-02-17T22:19:49.796Z] ---> 6384a02766a7 [2023-02-17T22:19:49.796Z] Step 17/22 : EXPOSE 59901 [2023-02-17T22:19:49.796Z] ---> Running in ee9ac01709e5 [2023-02-17T22:19:50.074Z] Removing intermediate container ee9ac01709e5 [2023-02-17T22:19:50.074Z] ---> 919718bb9d75 [2023-02-17T22:19:50.074Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-02-17T22:19:50.340Z] ---> Running in ebf7f0d6c1ea [2023-02-17T22:19:50.609Z] Removing intermediate container ebf7f0d6c1ea [2023-02-17T22:19:50.609Z] ---> 552fd7eab969 [2023-02-17T22:19:50.609Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-17T22:19:50.609Z] ---> Running in 58e55b602015 [2023-02-17T22:19:50.877Z] Removing intermediate container 58e55b602015 [2023-02-17T22:19:50.877Z] ---> 8de438644694 [2023-02-17T22:19:50.877Z] Step 20/22 : LABEL arch=arm64 [2023-02-17T22:19:50.877Z] ---> Running in dc9375b12b86 [2023-02-17T22:19:51.145Z] Removing intermediate container dc9375b12b86 [2023-02-17T22:19:51.145Z] ---> a617aedd0026 [2023-02-17T22:19:51.145Z] Step 21/22 : LABEL git_sha=c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [2023-02-17T22:19:51.414Z] ---> Running in 4ada57d4d1b1 [2023-02-17T22:19:51.682Z] Removing intermediate container 4ada57d4d1b1 [2023-02-17T22:19:51.682Z] ---> 30dc7ec7bcfd [2023-02-17T22:19:51.682Z] Step 22/22 : LABEL version=3.0.0-dev.12 [2023-02-17T22:19:51.682Z] ---> Running in f23d111dfceb [2023-02-17T22:19:51.950Z] Removing intermediate container f23d111dfceb [2023-02-17T22:19:51.950Z] ---> 6c3c91252cd4 [2023-02-17T22:19:51.950Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T22:19:51.950Z] Successfully built 6c3c91252cd4 [2023-02-17T22:19:51.950Z] 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-17T22:19:52.054Z] provisioning config files... [2023-02-17T22:19:52.068Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/78@tmp/config4625827464161746141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:19:52.400Z] ---> docker-login.sh [2023-02-17T22:19:52.400Z] nexus3.edgexfoundry.org:10001 [2023-02-17T22:19:52.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:19:52.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:19:52.668Z] Configure a credential helper to remove this warning. See [2023-02-17T22:19:52.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:19:52.668Z] [2023-02-17T22:19:52.668Z] Login Succeeded [2023-02-17T22:19:52.668Z] nexus3.edgexfoundry.org:10002 [2023-02-17T22:19:52.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:19:52.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:19:52.935Z] Configure a credential helper to remove this warning. See [2023-02-17T22:19:52.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:19:52.935Z] [2023-02-17T22:19:52.935Z] Login Succeeded [2023-02-17T22:19:52.935Z] nexus3.edgexfoundry.org:10003 [2023-02-17T22:19:53.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:19:53.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:19:53.470Z] Configure a credential helper to remove this warning. See [2023-02-17T22:19:53.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:19:53.470Z] [2023-02-17T22:19:53.470Z] Login Succeeded [2023-02-17T22:19:53.470Z] nexus3.edgexfoundry.org:10004 [2023-02-17T22:19:53.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:19:53.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:19:53.742Z] Configure a credential helper to remove this warning. See [2023-02-17T22:19:53.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:19:53.742Z] [2023-02-17T22:19:53.742Z] Login Succeeded [2023-02-17T22:19:53.742Z] docker.io [2023-02-17T22:19:54.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:19:54.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:19:54.276Z] Configure a credential helper to remove this warning. See [2023-02-17T22:19:54.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:19:54.276Z] [2023-02-17T22:19:54.276Z] Login Succeeded [2023-02-17T22:19:54.276Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T22:19:54.291Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-17T22:19:54.328Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T22:19:54.356Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-02-17T22:19:54.356Z] c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [2023-02-17T22:19:54.356Z] latest [2023-02-17T22:19:54.356Z] 3.0.0-dev.12 [2023-02-17T22:19:54.356Z] c3aad7bd2c33aca71f49ec3c385ee682c91bb904-3.0.0-dev.12 [2023-02-17T22:19:54.356Z] main [2023-02-17T22:19:54.356Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:19:54.704Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:19:55.040Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [2023-02-17T22:19:55.040Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-17T22:19:55.040Z] 5124f4aaaf04: Preparing [2023-02-17T22:19:55.040Z] f8bf945bd7ac: Preparing [2023-02-17T22:19:55.040Z] 193028862c87: Preparing [2023-02-17T22:19:55.040Z] 59b6eca3b396: Preparing [2023-02-17T22:19:55.040Z] c39af2d4cb8d: Preparing [2023-02-17T22:19:55.040Z] c39af2d4cb8d: Layer already exists [2023-02-17T22:19:55.307Z] 5124f4aaaf04: Pushed [2023-02-17T22:19:55.307Z] f8bf945bd7ac: Pushed [2023-02-17T22:19:55.307Z] 59b6eca3b396: Pushed [2023-02-17T22:20:00.647Z] 193028862c87: Pushed [2023-02-17T22:20:00.647Z] c3aad7bd2c33aca71f49ec3c385ee682c91bb904: digest: sha256:5a5b2ee0181ffebd3364f1f0d83aa21f9055ed03e14c8e8160336b6550c50d28 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:20:00.986Z] + 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-17T22:20:01.327Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-02-17T22:20:01.328Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-17T22:20:01.328Z] 5124f4aaaf04: Preparing [2023-02-17T22:20:01.328Z] f8bf945bd7ac: Preparing [2023-02-17T22:20:01.328Z] 193028862c87: Preparing [2023-02-17T22:20:01.328Z] 59b6eca3b396: Preparing [2023-02-17T22:20:01.328Z] c39af2d4cb8d: Preparing [2023-02-17T22:20:01.328Z] f8bf945bd7ac: Layer already exists [2023-02-17T22:20:01.328Z] 193028862c87: Layer already exists [2023-02-17T22:20:01.328Z] 59b6eca3b396: Layer already exists [2023-02-17T22:20:01.328Z] c39af2d4cb8d: Layer already exists [2023-02-17T22:20:01.328Z] 5124f4aaaf04: Layer already exists [2023-02-17T22:20:01.328Z] latest: digest: sha256:5a5b2ee0181ffebd3364f1f0d83aa21f9055ed03e14c8e8160336b6550c50d28 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:20:01.673Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:20:02.010Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.12 [2023-02-17T22:20:02.010Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-17T22:20:02.010Z] 5124f4aaaf04: Preparing [2023-02-17T22:20:02.010Z] f8bf945bd7ac: Preparing [2023-02-17T22:20:02.010Z] 193028862c87: Preparing [2023-02-17T22:20:02.010Z] 59b6eca3b396: Preparing [2023-02-17T22:20:02.010Z] c39af2d4cb8d: Preparing [2023-02-17T22:20:02.010Z] 5124f4aaaf04: Layer already exists [2023-02-17T22:20:02.010Z] 59b6eca3b396: Layer already exists [2023-02-17T22:20:02.010Z] f8bf945bd7ac: Layer already exists [2023-02-17T22:20:02.010Z] 193028862c87: Layer already exists [2023-02-17T22:20:02.010Z] c39af2d4cb8d: Layer already exists [2023-02-17T22:20:02.010Z] 3.0.0-dev.12: digest: sha256:5a5b2ee0181ffebd3364f1f0d83aa21f9055ed03e14c8e8160336b6550c50d28 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:20:02.805Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:c3aad7bd2c33aca71f49ec3c385ee682c91bb904-3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:20:03.154Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:c3aad7bd2c33aca71f49ec3c385ee682c91bb904-3.0.0-dev.12 [2023-02-17T22:20:03.154Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-17T22:20:03.154Z] 5124f4aaaf04: Preparing [2023-02-17T22:20:03.154Z] f8bf945bd7ac: Preparing [2023-02-17T22:20:03.154Z] 193028862c87: Preparing [2023-02-17T22:20:03.154Z] 59b6eca3b396: Preparing [2023-02-17T22:20:03.154Z] c39af2d4cb8d: Preparing [2023-02-17T22:20:03.154Z] 59b6eca3b396: Layer already exists [2023-02-17T22:20:03.154Z] c39af2d4cb8d: Layer already exists [2023-02-17T22:20:03.154Z] f8bf945bd7ac: Layer already exists [2023-02-17T22:20:03.154Z] 193028862c87: Layer already exists [2023-02-17T22:20:03.154Z] 5124f4aaaf04: Layer already exists [2023-02-17T22:20:03.154Z] c3aad7bd2c33aca71f49ec3c385ee682c91bb904-3.0.0-dev.12: digest: sha256:5a5b2ee0181ffebd3364f1f0d83aa21f9055ed03e14c8e8160336b6550c50d28 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:20:03.507Z] + 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-17T22:20:03.874Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-02-17T22:20:03.874Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-17T22:20:03.874Z] 5124f4aaaf04: Preparing [2023-02-17T22:20:03.874Z] f8bf945bd7ac: Preparing [2023-02-17T22:20:03.874Z] 193028862c87: Preparing [2023-02-17T22:20:03.874Z] 59b6eca3b396: Preparing [2023-02-17T22:20:03.874Z] c39af2d4cb8d: Preparing [2023-02-17T22:20:03.874Z] 5124f4aaaf04: Layer already exists [2023-02-17T22:20:03.874Z] f8bf945bd7ac: Layer already exists [2023-02-17T22:20:03.874Z] 193028862c87: Layer already exists [2023-02-17T22:20:03.874Z] 59b6eca3b396: Layer already exists [2023-02-17T22:20:03.874Z] c39af2d4cb8d: Layer already exists [2023-02-17T22:20:03.874Z] main: digest: sha256:5a5b2ee0181ffebd3364f1f0d83aa21f9055ed03e14c8e8160336b6550c50d28 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-17T22:20:04.202Z] ===================================================== [Pipeline] echo [2023-02-17T22:20:04.211Z] taggedImages: [2023-02-17T22:20:04.211Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [2023-02-17T22:20:04.211Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-02-17T22:20:04.211Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.12 [2023-02-17T22:20:04.211Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:c3aad7bd2c33aca71f49ec3c385ee682c91bb904-3.0.0-dev.12 [2023-02-17T22:20:04.211Z] - 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-17T22:20:04.573Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T22:20:04.573Z] [2023-02-17T22:20:04.573Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:20:04.908Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T22:20:04.908Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-17T22:20:04.908Z] 8998bd30e6a1: Pulling fs layer [2023-02-17T22:20:04.908Z] 04944245beec: Pulling fs layer [2023-02-17T22:20:04.908Z] 699f458cf7ca: Pulling fs layer [2023-02-17T22:20:04.908Z] 765212b225bb: Pulling fs layer [2023-02-17T22:20:04.908Z] f23df028b6ca: Pulling fs layer [2023-02-17T22:20:04.908Z] d65c8cfc05b1: Pulling fs layer [2023-02-17T22:20:04.908Z] 2437ff75d9bd: Pulling fs layer [2023-02-17T22:20:04.908Z] f23df028b6ca: Waiting [2023-02-17T22:20:04.908Z] d65c8cfc05b1: Waiting [2023-02-17T22:20:04.908Z] 2437ff75d9bd: Waiting [2023-02-17T22:20:04.908Z] 765212b225bb: Waiting [2023-02-17T22:20:06.363Z] 04944245beec: Verifying Checksum [2023-02-17T22:20:06.363Z] 04944245beec: Download complete [2023-02-17T22:20:06.363Z] 699f458cf7ca: Verifying Checksum [2023-02-17T22:20:06.363Z] 699f458cf7ca: Download complete [2023-02-17T22:20:06.363Z] f23df028b6ca: Verifying Checksum [2023-02-17T22:20:06.363Z] f23df028b6ca: Download complete [2023-02-17T22:20:06.363Z] d65c8cfc05b1: Download complete [2023-02-17T22:20:06.637Z] 765212b225bb: Verifying Checksum [2023-02-17T22:20:06.637Z] 765212b225bb: Download complete [2023-02-17T22:20:07.224Z] 8998bd30e6a1: Verifying Checksum [2023-02-17T22:20:07.224Z] 8998bd30e6a1: Download complete [2023-02-17T22:20:08.185Z] 2437ff75d9bd: Verifying Checksum [2023-02-17T22:20:08.185Z] 2437ff75d9bd: Download complete [2023-02-17T22:20:11.533Z] 8998bd30e6a1: Pull complete [2023-02-17T22:20:11.533Z] 04944245beec: Pull complete [2023-02-17T22:20:12.947Z] 699f458cf7ca: Pull complete [2023-02-17T22:20:12.947Z] 765212b225bb: Pull complete [2023-02-17T22:20:13.909Z] f23df028b6ca: Pull complete [2023-02-17T22:20:14.179Z] d65c8cfc05b1: Pull complete [2023-02-17T22:20:29.187Z] 2437ff75d9bd: Pull complete [2023-02-17T22:20:29.187Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-17T22:20:29.187Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T22:20:29.187Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T22:20:29.391Z] prd-ubuntu20.04-docker-arm64-4c-16g-6514 does not seem to be running inside a container [2023-02-17T22:20:29.461Z] $ 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/78 -v /w/workspace/device-modbus-go/78:/w/workspace/device-modbus-go/78:rw,z -v /w/workspace/device-modbus-go/78@tmp:/w/workspace/device-modbus-go/78@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-17T22:20:32.363Z] $ docker top fb3f5fea54ec9fe57d6bdd55dbf09c0b906998b152a41e68ddd7afed825d3e39 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:20:33.229Z] ---> job-cost.sh [2023-02-17T22:20:33.229Z] lf-activate-venv: SKIPPING [2023-02-17T22:20:33.229Z] INFO: No Stack... [2023-02-17T22:20:33.816Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-17T22:20:34.780Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T22:20:35.431Z] + cut -d, -f6 [2023-02-17T22:20:35.431Z] + cat /w/workspace/device-modbus-go/78/archives/cost.csv [Pipeline] lock [2023-02-17T22:20:35.508Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-78-stack-cost] [2023-02-17T22:20:35.517Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-78-stack-cost] did not exist. Created. [2023-02-17T22:20:35.517Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T22:20:36.175Z] /w/workspace/device-modbus-go/78@tmp/durable-e93e744d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-17T22:20:36.836Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-17T22:20:36.860Z] Warning: overwriting stash ‘stack-cost’ [2023-02-17T22:20:36.916Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T22:20:36.922Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-78-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T22:20:36.939Z] $ docker stop --time=1 fb3f5fea54ec9fe57d6bdd55dbf09c0b906998b152a41e68ddd7afed825d3e39 [2023-02-17T22:20:38.484Z] $ docker rm -f --volumes fb3f5fea54ec9fe57d6bdd55dbf09c0b906998b152a41e68ddd7afed825d3e39 [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-17T22:20:38.875Z] provisioning config files... [2023-02-17T22:20:38.882Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config394519513780684295tmp [Pipeline] { [Pipeline] sh [2023-02-17T22:20:39.171Z] + set +x [2023-02-17T22:20:39.171Z] + bash -s --+ [2023-02-17T22:20:39.171Z] curl -s https://codecov.io/bash [2023-02-17T22:20:39.171Z] [2023-02-17T22:20:39.171Z] _____ _ [2023-02-17T22:20:39.171Z] / ____| | | [2023-02-17T22:20:39.171Z] | | ___ __| | ___ ___ _____ __ [2023-02-17T22:20:39.171Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-17T22:20:39.171Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-17T22:20:39.171Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-17T22:20:39.171Z] Bash-1.0.6 [2023-02-17T22:20:39.171Z] [2023-02-17T22:20:39.171Z] [2023-02-17T22:20:39.171Z] ==> git version 2.25.1 found [2023-02-17T22:20:39.171Z] ==> 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-17T22:20:39.171Z] Release-Date: 2020-01-08 [2023-02-17T22:20:39.171Z] 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-17T22:20:39.171Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-17T22:20:39.171Z] ==> Jenkins CI detected. [2023-02-17T22:20:39.171Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-02-17T22:20:39.171Z] project root: . [2023-02-17T22:20:39.171Z] --> token set from env [2023-02-17T22:20:39.171Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-17T22:20:39.171Z] ==> Running gcov in . (disable via -X gcov) [2023-02-17T22:20:39.430Z] ==> Python coveragepy not found [2023-02-17T22:20:39.430Z] ==> Searching for coverage reports in: [2023-02-17T22:20:39.430Z] + . [2023-02-17T22:20:39.430Z] -> Found 1 reports [2023-02-17T22:20:39.430Z] ==> Detecting git/mercurial file structure [2023-02-17T22:20:39.430Z] ==> Reading reports [2023-02-17T22:20:39.430Z] + ./coverage.out bytes=23241 [2023-02-17T22:20:39.430Z] ==> Appending adjustments [2023-02-17T22:20:39.430Z] https://docs.codecov.io/docs/fixing-reports [2023-02-17T22:20:39.430Z] + Found adjustments [2023-02-17T22:20:39.430Z] ==> Gzipping contents [2023-02-17T22:20:39.430Z] 4.0K /tmp/codecov.7Ul6qL.gz [2023-02-17T22:20:39.430Z] ==> Uploading reports [2023-02-17T22:20:39.430Z] url: https://codecov.io [2023-02-17T22:20:39.430Z] query: branch=main&commit=c3aad7bd2c33aca71f49ec3c385ee682c91bb904&build=78&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F78%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-17T22:20:39.430Z] -> Pinging Codecov [2023-02-17T22:20:39.430Z] 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=c3aad7bd2c33aca71f49ec3c385ee682c91bb904&build=78&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F78%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-17T22:20:39.689Z] -> Uploading to [2023-02-17T22:20:39.689Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-17/55DBCA73C666E3227836607328DD7E49/c3aad7bd2c33aca71f49ec3c385ee682c91bb904/67b4453c-9efb-4a5b-8e88-e467a880cbcb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230217T222039Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e73172c5bfa92247cc6983c9c5b1eed29fab5e052fba10d8d317e37449392f58 [2023-02-17T22:20:39.689Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T22:20:39.689Z] Dload Upload Total Spent Left Speed [2023-02-17T22:20:39.948Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3907 0 0 100 3907 0 14969 --:--:-- --:--:-- --:--:-- 14969 [2023-02-17T22:20:39.948Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [Pipeline] } [2023-02-17T22:20:39.956Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-02-17T22:20:40.149Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-02-17T22:20:40.157Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:20:40.446Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-17T22:20:40.446Z] [2023-02-17T22:20:40.446Z] 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-17T22:20:40.745Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-17T22:20:40.746Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-02-17T22:20:40.746Z] df9b9388f04a: Pulling fs layer [2023-02-17T22:20:40.746Z] 52dc419b0ee2: Pulling fs layer [2023-02-17T22:20:40.746Z] 25bc292e5bac: Pulling fs layer [2023-02-17T22:20:40.746Z] 114826534d7a: Pulling fs layer [2023-02-17T22:20:40.746Z] 4657fd5d0bcf: Pulling fs layer [2023-02-17T22:20:40.746Z] 6ad1cebc031e: Pulling fs layer [2023-02-17T22:20:40.746Z] 8a3aa393b2d8: Pulling fs layer [2023-02-17T22:20:40.746Z] 4657fd5d0bcf: Waiting [2023-02-17T22:20:40.746Z] 6ad1cebc031e: Waiting [2023-02-17T22:20:40.746Z] 8a3aa393b2d8: Waiting [2023-02-17T22:20:40.746Z] 114826534d7a: Waiting [2023-02-17T22:20:40.746Z] 25bc292e5bac: Verifying Checksum [2023-02-17T22:20:40.746Z] 25bc292e5bac: Download complete [2023-02-17T22:20:40.746Z] 52dc419b0ee2: Download complete [2023-02-17T22:20:40.746Z] 4657fd5d0bcf: Verifying Checksum [2023-02-17T22:20:40.746Z] 4657fd5d0bcf: Download complete [2023-02-17T22:20:40.746Z] df9b9388f04a: Download complete [2023-02-17T22:20:41.009Z] df9b9388f04a: Pull complete [2023-02-17T22:20:41.009Z] 52dc419b0ee2: Pull complete [2023-02-17T22:20:41.282Z] 6ad1cebc031e: Verifying Checksum [2023-02-17T22:20:41.282Z] 6ad1cebc031e: Download complete [2023-02-17T22:20:41.282Z] 25bc292e5bac: Pull complete [2023-02-17T22:20:42.290Z] 114826534d7a: Verifying Checksum [2023-02-17T22:20:42.290Z] 114826534d7a: Download complete [2023-02-17T22:20:42.290Z] 8a3aa393b2d8: Verifying Checksum [2023-02-17T22:20:42.290Z] 8a3aa393b2d8: Download complete [2023-02-17T22:20:45.573Z] 114826534d7a: Pull complete [2023-02-17T22:20:45.573Z] 4657fd5d0bcf: Pull complete [2023-02-17T22:20:46.137Z] 6ad1cebc031e: Pull complete [2023-02-17T22:20:49.423Z] 8a3aa393b2d8: Pull complete [2023-02-17T22:20:49.424Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-02-17T22:20:49.424Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-17T22:20:49.424Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T22:20:49.502Z] prd-ubuntu20.04-docker-8c-8g-6511 does not seem to be running inside a container [2023-02-17T22:20:49.533Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-02-17T22:20:54.971Z] $ docker top 46f6e3a06235984a090f4d3960c180c8f2d3dc9b778e095a83dc297a0a59c42d -eo pid,comm [Pipeline] { [Pipeline] echo [2023-02-17T22:20:55.033Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-02-17T22:20:55.305Z] + set -o pipefail [2023-02-17T22:20:55.305Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-02-17T22:21:01.887Z] [2023-02-17T22:21:01.887Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-02-17T22:21:01.887Z] [2023-02-17T22:21:01.887Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/2e354702-2d4a-4e36-a0ca-a5a9cdf78d5c [2023-02-17T22:21:01.887Z] [2023-02-17T22:21:01.887Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-02-17T22:21:01.887Z] [2023-02-17T22:21:01.887Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-02-17T22:21:01.887Z] [2023-02-17T22:21:01.887Z] [2023-02-17T22:21:01.887Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-02-17T22:21:01.887Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-02-17T22:21:01.887Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-02-17T22:21:01.899Z] $ docker stop --time=1 46f6e3a06235984a090f4d3960c180c8f2d3dc9b778e095a83dc297a0a59c42d [2023-02-17T22:21:06.173Z] $ docker rm -f --volumes 46f6e3a06235984a090f4d3960c180c8f2d3dc9b778e095a83dc297a0a59c42d [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-17T22:21:06.872Z] + git log --format=format:%s -1 c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [Pipeline] sh [2023-02-17T22:21:07.157Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-17T22:21:07.157Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:21:07.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T22:21:07.460Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T22:21:07.524Z] prd-ubuntu20.04-docker-8c-8g-6511 does not seem to be running inside a container [2023-02-17T22:21:07.553Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-17T22:21:08.087Z] $ docker top cf5c513b85003bea86af3f10f4c37393f0788b0507da8223317e28ce8fa0470e -eo pid,comm [2023-02-17T22:21:08.135Z] 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-17T22:21:08.135Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-17T22:21:08.173Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T22:21:08.173Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T22:21:08.276Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T22:21:08.277Z] $ docker exec cf5c513b85003bea86af3f10f4c37393f0788b0507da8223317e28ce8fa0470e ssh-agent [2023-02-17T22:21:08.372Z] SSH_AUTH_SOCK=/tmp/ssh-GxTRqLJ1dz51/agent.32 [2023-02-17T22:21:08.372Z] SSH_AGENT_PID=38 [2023-02-17T22:21:08.377Z] Running ssh-add (command line suppressed) [2023-02-17T22:21:08.475Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4578704282292040318.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4578704282292040318.key) [2023-02-17T22:21:08.489Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T22:21:08.777Z] + git semver tag [2023-02-17T22:21:09.037Z] 2023-02-17 22:21:08,957 [run_tag] DEBUG tag force:False [2023-02-17T22:21:09.037Z] 2023-02-17 22:21:08,957 [check_head_tag] DEBUG check head tag [2023-02-17T22:21:09.037Z] 2023-02-17 22:21:08,958 [execute] INFO git cat-file --batch-check [2023-02-17T22:21:09.037Z] 2023-02-17 22:21:08,958 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-02-17T22:21:09.037Z] 2023-02-17 22:21:08,962 [execute] INFO git cat-file --batch [2023-02-17T22:21:09.037Z] 2023-02-17 22:21:08,962 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-02-17T22:21:09.037Z] 2023-02-17 22:21:08,981 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-17T22:21:09.037Z] 2023-02-17 22:21:08,981 [execute] INFO git tag -a v3.0.0-dev.12 -m v3.0.0-dev.12 [2023-02-17T22:21:09.037Z] 2023-02-17 22:21:08,981 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.12', '-m', 'v3.0.0-dev.12'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-02-17T22:21:09.037Z] 2023-02-17 22:21:08,986 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-17T22:21:09.037Z] 3.0.0-dev.12 [Pipeline] } [2023-02-17T22:21:09.047Z] $ docker exec --env ******** --env ******** cf5c513b85003bea86af3f10f4c37393f0788b0507da8223317e28ce8fa0470e ssh-agent -k [2023-02-17T22:21:09.152Z] unset SSH_AUTH_SOCK; [2023-02-17T22:21:09.152Z] unset SSH_AGENT_PID; [2023-02-17T22:21:09.152Z] echo Agent pid 38 killed; [2023-02-17T22:21:09.161Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-17T22:21:09.455Z] + git semver [Pipeline] } [2023-02-17T22:21:09.726Z] $ docker stop --time=1 cf5c513b85003bea86af3f10f4c37393f0788b0507da8223317e28ce8fa0470e [2023-02-17T22:21:11.014Z] $ docker rm -f --volumes cf5c513b85003bea86af3f10f4c37393f0788b0507da8223317e28ce8fa0470e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:21:11.398Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-17T22:21:11.398Z] [2023-02-17T22:21:11.398Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:21:11.696Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-17T22:21:11.696Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-02-17T22:21:11.696Z] ab5ef0e58194: Pulling fs layer [2023-02-17T22:21:11.696Z] 9712f1f96733: Pulling fs layer [2023-02-17T22:21:11.696Z] 63f879dbbcfc: Pulling fs layer [2023-02-17T22:21:11.696Z] 0d9ebad4ef96: Pulling fs layer [2023-02-17T22:21:11.696Z] e9a5061849ea: Pulling fs layer [2023-02-17T22:21:11.696Z] d747dcd14b5f: Pulling fs layer [2023-02-17T22:21:11.696Z] 2de7ff778b66: Pulling fs layer [2023-02-17T22:21:11.696Z] e9a5061849ea: Waiting [2023-02-17T22:21:11.696Z] 0d9ebad4ef96: Waiting [2023-02-17T22:21:11.696Z] d747dcd14b5f: Waiting [2023-02-17T22:21:11.696Z] 2de7ff778b66: Waiting [2023-02-17T22:21:11.696Z] 9712f1f96733: Verifying Checksum [2023-02-17T22:21:11.696Z] 9712f1f96733: Download complete [2023-02-17T22:21:12.697Z] 63f879dbbcfc: Verifying Checksum [2023-02-17T22:21:12.697Z] 63f879dbbcfc: Download complete [2023-02-17T22:21:12.697Z] e9a5061849ea: Verifying Checksum [2023-02-17T22:21:12.697Z] e9a5061849ea: Download complete [2023-02-17T22:21:12.697Z] d747dcd14b5f: Verifying Checksum [2023-02-17T22:21:12.697Z] d747dcd14b5f: Download complete [2023-02-17T22:21:12.967Z] ab5ef0e58194: Verifying Checksum [2023-02-17T22:21:12.967Z] ab5ef0e58194: Download complete [2023-02-17T22:21:12.967Z] 0d9ebad4ef96: Verifying Checksum [2023-02-17T22:21:12.967Z] 0d9ebad4ef96: Download complete [2023-02-17T22:21:12.967Z] 2de7ff778b66: Verifying Checksum [2023-02-17T22:21:12.967Z] 2de7ff778b66: Download complete [2023-02-17T22:21:15.491Z] ab5ef0e58194: Pull complete [2023-02-17T22:21:15.750Z] 9712f1f96733: Pull complete [2023-02-17T22:21:16.323Z] 63f879dbbcfc: Pull complete [2023-02-17T22:21:20.519Z] 0d9ebad4ef96: Pull complete [2023-02-17T22:21:20.519Z] e9a5061849ea: Pull complete [2023-02-17T22:21:20.519Z] d747dcd14b5f: Pull complete [2023-02-17T22:21:21.457Z] 2de7ff778b66: Pull complete [2023-02-17T22:21:21.457Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-02-17T22:21:21.457Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-17T22:21:21.457Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T22:21:21.537Z] prd-ubuntu20.04-docker-8c-8g-6511 does not seem to be running inside a container [2023-02-17T22:21:21.574Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-02-17T22:21:31.940Z] $ docker top c1504050451aaca33a7ce336bfcb7710454aae4adc5c07816611843039ef9040 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-02-17T22:21:32.040Z] provisioning config files... [2023-02-17T22:21:32.046Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4470644372827095553tmp [2023-02-17T22:21:32.057Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5775815678070118555tmp [2023-02-17T22:21:32.065Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14139916912670051289tmp [Pipeline] { [Pipeline] echo [2023-02-17T22:21:32.084Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:21:32.372Z] ---> sigul-configuration.sh [2023-02-17T22:21:32.372Z] gpg: directory `/root/.gnupg' created [2023-02-17T22:21:32.372Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-02-17T22:21:32.372Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-02-17T22:21:32.372Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-02-17T22:21:32.372Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-02-17T22:21:32.372Z] gpg: CAST5 encrypted data [2023-02-17T22:21:32.372Z] gpg: encrypted with 1 passphrase [2023-02-17T22:21:32.372Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-02-17T22:21:32.656Z] + mkdir /home/jenkins [2023-02-17T22:21:32.656Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-02-17T22:21:32.939Z] + 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-17T22:21:32.949Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:21:33.236Z] ---> sigul-install.sh [2023-02-17T22:21:33.236Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-02-17T22:21:33.527Z] + git tag --list [2023-02-17T22:21:33.527Z] 0.7.1 [2023-02-17T22:21:33.527Z] v1.0.0 [2023-02-17T22:21:33.527Z] v1.1.0 [2023-02-17T22:21:33.527Z] v1.1.1 [2023-02-17T22:21:33.527Z] v1.2.2 [2023-02-17T22:21:33.527Z] v1.3.0 [2023-02-17T22:21:33.527Z] v1.3.1 [2023-02-17T22:21:33.527Z] v2.0.0 [2023-02-17T22:21:33.527Z] v2.1.0 [2023-02-17T22:21:33.527Z] v2.1.1 [2023-02-17T22:21:33.527Z] v2.1.1-dev.1 [2023-02-17T22:21:33.527Z] v2.1.1-dev.2 [2023-02-17T22:21:33.527Z] v2.1.1-dev.3 [2023-02-17T22:21:33.527Z] v2.2.0 [2023-02-17T22:21:33.527Z] v2.2.1-dev.1 [2023-02-17T22:21:33.527Z] v2.2.1-dev.2 [2023-02-17T22:21:33.527Z] v2.2.1-dev.3 [2023-02-17T22:21:33.527Z] v2.2.1-dev.4 [2023-02-17T22:21:33.527Z] v2.2.1-dev.5 [2023-02-17T22:21:33.528Z] v2.2.1-dev.6 [2023-02-17T22:21:33.528Z] v2.2.1-dev.7 [2023-02-17T22:21:33.528Z] v2.3.0 [2023-02-17T22:21:33.528Z] v2.3.0-dev.10 [2023-02-17T22:21:33.528Z] v2.3.0-dev.11 [2023-02-17T22:21:33.528Z] v2.3.0-dev.12 [2023-02-17T22:21:33.528Z] v2.3.0-dev.13 [2023-02-17T22:21:33.528Z] v2.3.0-dev.14 [2023-02-17T22:21:33.528Z] v2.3.0-dev.15 [2023-02-17T22:21:33.528Z] v2.3.0-dev.16 [2023-02-17T22:21:33.528Z] v2.3.0-dev.17 [2023-02-17T22:21:33.528Z] v2.3.0-dev.18 [2023-02-17T22:21:33.528Z] v2.3.0-dev.19 [2023-02-17T22:21:33.528Z] v2.3.0-dev.20 [2023-02-17T22:21:33.528Z] v2.3.0-dev.21 [2023-02-17T22:21:33.528Z] v2.3.0-dev.22 [2023-02-17T22:21:33.528Z] v2.3.0-dev.23 [2023-02-17T22:21:33.528Z] v2.3.0-dev.24 [2023-02-17T22:21:33.528Z] v2.3.0-dev.25 [2023-02-17T22:21:33.528Z] v2.3.0-dev.7 [2023-02-17T22:21:33.528Z] v2.3.0-dev.8 [2023-02-17T22:21:33.528Z] v2.3.0-dev.9 [2023-02-17T22:21:33.528Z] v3.0.0-dev.1 [2023-02-17T22:21:33.528Z] v3.0.0-dev.10 [2023-02-17T22:21:33.528Z] v3.0.0-dev.11 [2023-02-17T22:21:33.528Z] v3.0.0-dev.12 [2023-02-17T22:21:33.528Z] v3.0.0-dev.2 [2023-02-17T22:21:33.528Z] v3.0.0-dev.3 [2023-02-17T22:21:33.528Z] v3.0.0-dev.4 [2023-02-17T22:21:33.528Z] v3.0.0-dev.5 [2023-02-17T22:21:33.528Z] v3.0.0-dev.6 [2023-02-17T22:21:33.528Z] v3.0.0-dev.7 [2023-02-17T22:21:33.528Z] v3.0.0-dev.8 [2023-02-17T22:21:33.528Z] v3.0.0-dev.9 [Pipeline] sh [2023-02-17T22:21:33.811Z] + lftools sign git-tag v3.0.0-dev.12 [2023-02-17T22:21:34.379Z] Signing Git tag with Sigul... [2023-02-17T22:21:34.379Z] Signing v3.0.0-dev.12 [Pipeline] echo [2023-02-17T22:21:36.924Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:21:37.219Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-02-17T22:21:37.227Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-02-17T22:21:37.246Z] $ docker stop --time=1 c1504050451aaca33a7ce336bfcb7710454aae4adc5c07816611843039ef9040 [2023-02-17T22:21:38.648Z] $ docker rm -f --volumes c1504050451aaca33a7ce336bfcb7710454aae4adc5c07816611843039ef9040 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-02-17T22:21:39.074Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-17T22:21:39.074Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:21:39.373Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T22:21:39.374Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T22:21:39.438Z] prd-ubuntu20.04-docker-8c-8g-6511 does not seem to be running inside a container [2023-02-17T22:21:39.462Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-17T22:21:40.079Z] $ docker top 4f2de6f224f4fad1e165e09426a1df6f6ee57334301f0f0c77f2b9babacaa67b -eo pid,comm [2023-02-17T22:21:40.129Z] 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-17T22:21:40.129Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-17T22:21:40.165Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T22:21:40.165Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T22:21:40.280Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T22:21:40.281Z] $ docker exec 4f2de6f224f4fad1e165e09426a1df6f6ee57334301f0f0c77f2b9babacaa67b ssh-agent [2023-02-17T22:21:40.384Z] SSH_AUTH_SOCK=/tmp/ssh-rsiYMU0H89iH/agent.33 [2023-02-17T22:21:40.384Z] SSH_AGENT_PID=39 [2023-02-17T22:21:40.387Z] Running ssh-add (command line suppressed) [2023-02-17T22:21:40.490Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11926296236647499494.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11926296236647499494.key) [2023-02-17T22:21:40.506Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T22:21:40.793Z] + git semver bump pre [2023-02-17T22:21:41.052Z] 2023-02-17 22:21:40,975 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-17T22:21:41.052Z] 2023-02-17 22:21:40,975 [bump_version] DEBUG bumping version:3.0.0-dev.12 on axis:pre with prefix:dev [2023-02-17T22:21:41.052Z] 2023-02-17 22:21:40,975 [bump_version] DEBUG bumped version:3.0.0-dev.13 [2023-02-17T22:21:41.052Z] 2023-02-17 22:21:40,975 [write_version] DEBUG write version:3.0.0-dev.13 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-02-17T22:21:41.052Z] 2023-02-17 22:21:40,975 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-17T22:21:41.052Z] 2023-02-17 22:21:40,975 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-17T22:21:41.052Z] 2023-02-17 22:21:40,978 [execute] INFO git cat-file --batch-check [2023-02-17T22:21:41.052Z] 2023-02-17 22:21:40,978 [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-17T22:21:41.052Z] 2023-02-17 22:21:40,983 [execute] INFO git cat-file --batch [2023-02-17T22:21:41.052Z] 2023-02-17 22:21:40,983 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T22:21:41.052Z] 2023-02-17 22:21:40,988 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-17T22:21:41.052Z] 3.0.0-dev.13 [Pipeline] } [2023-02-17T22:21:41.060Z] $ docker exec --env ******** --env ******** 4f2de6f224f4fad1e165e09426a1df6f6ee57334301f0f0c77f2b9babacaa67b ssh-agent -k [2023-02-17T22:21:41.146Z] unset SSH_AUTH_SOCK; [2023-02-17T22:21:41.147Z] unset SSH_AGENT_PID; [2023-02-17T22:21:41.147Z] echo Agent pid 39 killed; [2023-02-17T22:21:41.157Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-17T22:21:41.455Z] + git semver [Pipeline] } [2023-02-17T22:21:41.725Z] $ docker stop --time=1 4f2de6f224f4fad1e165e09426a1df6f6ee57334301f0f0c77f2b9babacaa67b [2023-02-17T22:21:43.164Z] $ docker rm -f --volumes 4f2de6f224f4fad1e165e09426a1df6f6ee57334301f0f0c77f2b9babacaa67b [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T22:21:43.592Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-17T22:21:43.593Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:21:43.892Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T22:21:43.892Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T22:21:43.965Z] prd-ubuntu20.04-docker-8c-8g-6511 does not seem to be running inside a container [2023-02-17T22:21:43.993Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-17T22:21:44.327Z] $ docker top e2cee8b6ff1427691d288ca403484de2724b77e2c3b3044ef70027045ae5d192 -eo pid,comm [2023-02-17T22:21:44.373Z] 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-17T22:21:44.374Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-17T22:21:44.408Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T22:21:44.408Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T22:21:44.515Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T22:21:44.517Z] $ docker exec e2cee8b6ff1427691d288ca403484de2724b77e2c3b3044ef70027045ae5d192 ssh-agent [2023-02-17T22:21:44.617Z] SSH_AUTH_SOCK=/tmp/ssh-KLIevHUH3bj9/agent.32 [2023-02-17T22:21:44.617Z] SSH_AGENT_PID=38 [2023-02-17T22:21:44.622Z] Running ssh-add (command line suppressed) [2023-02-17T22:21:44.713Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13956958369214287282.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13956958369214287282.key) [2023-02-17T22:21:44.727Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T22:21:45.012Z] + git semver push [2023-02-17T22:21:45.271Z] 2023-02-17 22:21:45,192 [run_push] DEBUG push [2023-02-17T22:21:45.271Z] 2023-02-17 22:21:45,193 [execute] INFO git cat-file --batch-check [2023-02-17T22:21:45.271Z] 2023-02-17 22:21:45,193 [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-17T22:21:45.271Z] 2023-02-17 22:21:45,197 [execute] INFO git rev-list 13bbfaca773cafe4a2bf37039c69a3e4cc0c2dde -- [2023-02-17T22:21:45.271Z] 2023-02-17 22:21:45,198 [execute] DEBUG Popen(['git', 'rev-list', '13bbfaca773cafe4a2bf37039c69a3e4cc0c2dde', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-17T22:21:45.271Z] 2023-02-17 22:21:45,207 [execute] INFO git fetch -v origin [2023-02-17T22:21:45.271Z] 2023-02-17 22:21:45,208 [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-17T22:21:45.838Z] 2023-02-17 22:21:45,835 [run_push] DEBUG no remote changes detected [2023-02-17T22:21:45.838Z] 2023-02-17 22:21:45,835 [execute] INFO git push origin semver [2023-02-17T22:21:45.838Z] 2023-02-17 22:21:45,836 [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-17T22:21:46.775Z] 2023-02-17 22:21:46,722 [run_push] DEBUG push all version tags [2023-02-17T22:21:46.775Z] 2023-02-17 22:21:46,723 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-02-17T22:21:46.775Z] 2023-02-17 22:21:46,723 [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-17T22:21:47.710Z] 2023-02-17 22:21:47,558 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-17T22:21:47.710Z] 3.0.0-dev.13 [Pipeline] } [2023-02-17T22:21:47.717Z] $ docker exec --env ******** --env ******** e2cee8b6ff1427691d288ca403484de2724b77e2c3b3044ef70027045ae5d192 ssh-agent -k [2023-02-17T22:21:47.815Z] unset SSH_AUTH_SOCK; [2023-02-17T22:21:47.816Z] unset SSH_AGENT_PID; [2023-02-17T22:21:47.816Z] echo Agent pid 38 killed; [2023-02-17T22:21:47.824Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-17T22:21:48.132Z] + git semver [Pipeline] } [2023-02-17T22:21:48.410Z] $ docker stop --time=1 e2cee8b6ff1427691d288ca403484de2724b77e2c3b3044ef70027045ae5d192 [2023-02-17T22:21:49.881Z] $ docker rm -f --volumes e2cee8b6ff1427691d288ca403484de2724b77e2c3b3044ef70027045ae5d192 [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-17T22:21:50.469Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-02-17T22:21:50.469Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-02-17T22:21:50.469Z] total 16 [2023-02-17T22:21:50.469Z] drwxr-xr-x 3 root root 4096 Feb 17 22:12 . [2023-02-17T22:21:50.469Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 17 22:21 .. [2023-02-17T22:21:50.469Z] drwxr-xr-x 2 root root 4096 Feb 17 22:12 cost [2023-02-17T22:21:50.469Z] -rw-r--r-- 1 root root 87 Feb 17 22:12 cost.csv [2023-02-17T22:21:50.469Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-02-17T22:21:50.469Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-02-17T22:21:50.469Z] total 16 [2023-02-17T22:21:50.469Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 22:12 . [2023-02-17T22:21:50.469Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 17 22:21 .. [2023-02-17T22:21:50.469Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 22:12 cost [2023-02-17T22:21:50.469Z] -rw-r--r-- 1 jenkins jenkins 87 Feb 17 22:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:21:50.757Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:21:51.613Z] ---> package-listing.sh [2023-02-17T22:21:51.613Z] ++ facter osfamily [2023-02-17T22:21:51.613Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-17T22:21:51.872Z] + OS_FAMILY=debian [2023-02-17T22:21:51.872Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-02-17T22:21:51.872Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-17T22:21:51.872Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-17T22:21:51.872Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-17T22:21:51.872Z] + PACKAGES=/tmp/packages_start.txt [2023-02-17T22:21:51.872Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-02-17T22:21:51.872Z] + PACKAGES=/tmp/packages_end.txt [2023-02-17T22:21:51.872Z] + case "${OS_FAMILY}" in [2023-02-17T22:21:51.872Z] + dpkg -l [2023-02-17T22:21:51.872Z] + grep '^ii' [2023-02-17T22:21:51.872Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-17T22:21:51.872Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-17T22:21:51.872Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-17T22:21:51.872Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-02-17T22:21:51.872Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-02-17T22:21:51.872Z] + 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-17T22:21:51.883Z] 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-17T22:21:52.158Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:21:52.736Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T22:21:52.736Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T22:21:52.803Z] prd-ubuntu20.04-docker-8c-8g-6511 does not seem to be running inside a container [2023-02-17T22:21:52.835Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-17T22:21:53.414Z] $ docker top 0d72d80df86d331f900beefcbd9628e07ab92641d80c1c33dd094bbb6519d67d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T22:21:53.753Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-17T22:21:54.548Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-17T22:21:54.873Z] + ls /var/log/sa-host [2023-02-17T22:21:54.873Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T22:21:55.048Z] provisioning config files... [2023-02-17T22:21:55.072Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7212989519165777884tmp [Pipeline] { [Pipeline] echo [2023-02-17T22:21:55.096Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:21:55.397Z] ---> create-netrc.sh [Pipeline] } [2023-02-17T22:21:55.405Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:21:55.745Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-17T22:21:55.752Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:21:56.035Z] ---> sudo-logs.sh [2023-02-17T22:21:56.035Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-17T22:21:56.061Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:21:57.318Z] ---> job-cost.sh [2023-02-17T22:21:57.318Z] lf-activate-venv: SKIPPING [2023-02-17T22:21:57.318Z] DEBUG: total: 0.2199999988079071 [2023-02-17T22:21:57.318Z] INFO: Retrieving Stack Cost... [2023-02-17T22:21:58.421Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T22:21:58.988Z] INFO: Archiving Costs [Pipeline] echo [2023-02-17T22:21:59.002Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:21:59.287Z] ---> logs-deploy.sh [2023-02-17T22:21:59.287Z] lf-activate-venv: SKIPPING [2023-02-17T22:21:59.287Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/78 [2023-02-17T22:21:59.287Z] INFO: archiving workspace using pattern(s): [2023-02-17T22:22:00.288Z] Archives upload complete. [2023-02-17T22:22:00.288Z] INFO: archiving logs to Nexus