Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 82ff0da3d76fda56b8be828932abbd4e3fc098e3 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-ssh13079004768771471866.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh11818130348331623184.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh2434845730690795080.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh525282975811187468.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-ssh18056057063356762040.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4761 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 Avoid second fetch Checking out Revision 82ff0da3d76fda56b8be828932abbd4e3fc098e3 (main) > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 82ff0da3d76fda56b8be828932abbd4e3fc098e3 # timeout=10 Commit message: "Merge pull request #434 from weichou1229/bump-sdk" > git rev-list --no-walk d976059f8bfb405a00b06a9502768812e8b859e1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-21T07:19:35.105Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-21T07:19:35.142Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-21T07:19:35.156Z] ========================================================= [2023-03-21T07:19:35.156Z] EdgeX Global Pipelines Version Info [2023-03-21T07:19:35.156Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-21T07:19:35.867Z] ------------------- [2023-03-21T07:19:35.867Z] stable info: [2023-03-21T07:19:35.867Z] ------------------- [2023-03-21T07:19:35.867Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-21T07:19:35.867Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-21T07:19:35.867Z] Message: update stable to v1.0.245 [2023-03-21T07:19:36.436Z] ------------------- [2023-03-21T07:19:36.436Z] experimental info: [2023-03-21T07:19:36.436Z] ------------------- [2023-03-21T07:19:36.436Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-21T07:19:36.436Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-21T07:19:36.436Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-21T07:19:36.591Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-03-21T07:19:36.601Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-03-21T07:19:36.612Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-21T07:19:36.623Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-21T07:19:36.636Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-21T07:19:36.646Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-21T07:19:36.657Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-21T07:19:36.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-21T07:19:36.686Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-21T07:19:36.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-21T07:19:36.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-21T07:19:36.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-03-21T07:19:36.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-21T07:19:36.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-21T07:19:36.756Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T07:19:36.768Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T07:19:36.779Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T07:19:36.791Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T07:19:36.802Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-21T07:19:36.817Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-21T07:19:36.830Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-21T07:19:36.841Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-21T07:19:36.856Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-21T07:19:36.873Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-21T07:19:36.883Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-21T07:19:36.896Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-21T07:19:36.907Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-21T07:19:36.918Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-21T07:19:36.931Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-21T07:19:36.942Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-21T07:19:36.956Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 82ff0da3d76fda56b8be828932abbd4e3fc098e3 [Pipeline] echo [2023-03-21T07:19:36.970Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 82ff0da [Pipeline] echo [2023-03-21T07:19:36.980Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T07:19:37.023Z] provisioning config files... [2023-03-21T07:19:37.036Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14632929737831166054tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T07:19:37.335Z] ---> docker-login.sh [2023-03-21T07:19:37.335Z] nexus3.edgexfoundry.org:10001 [2023-03-21T07:19:37.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:19:37.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:19:37.594Z] Configure a credential helper to remove this warning. See [2023-03-21T07:19:37.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:19:37.594Z] [2023-03-21T07:19:37.594Z] Login Succeeded [2023-03-21T07:19:37.594Z] nexus3.edgexfoundry.org:10002 [2023-03-21T07:19:37.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:19:37.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:19:37.855Z] Configure a credential helper to remove this warning. See [2023-03-21T07:19:37.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:19:37.855Z] [2023-03-21T07:19:37.855Z] Login Succeeded [2023-03-21T07:19:37.855Z] nexus3.edgexfoundry.org:10003 [2023-03-21T07:19:37.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:19:37.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:19:37.855Z] Configure a credential helper to remove this warning. See [2023-03-21T07:19:37.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:19:37.855Z] [2023-03-21T07:19:37.855Z] Login Succeeded [2023-03-21T07:19:37.855Z] nexus3.edgexfoundry.org:10004 [2023-03-21T07:19:38.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:19:38.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:19:38.115Z] Configure a credential helper to remove this warning. See [2023-03-21T07:19:38.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:19:38.115Z] [2023-03-21T07:19:38.115Z] Login Succeeded [2023-03-21T07:19:38.115Z] docker.io [2023-03-21T07:19:38.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:19:38.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:19:38.376Z] Configure a credential helper to remove this warning. See [2023-03-21T07:19:38.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:19:38.376Z] [2023-03-21T07:19:38.376Z] Login Succeeded [2023-03-21T07:19:38.376Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T07:19:38.384Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-21T07:19:38.743Z] + git rev-list -1 --merges 82ff0da3d76fda56b8be828932abbd4e3fc098e3~1..82ff0da3d76fda56b8be828932abbd4e3fc098e3 [Pipeline] echo [2023-03-21T07:19:38.784Z] -----------> git rev-list -1 --merges 82ff0da3d76fda56b8be828932abbd4e3fc098e3~1..82ff0da3d76fda56b8be828932abbd4e3fc098e3 82ff0da3d76fda56b8be828932abbd4e3fc098e3 [2023-03-21T07:19:38.784Z] 82ff0da3d76fda56b8be828932abbd4e3fc098e3 [false] [Pipeline] sh [2023-03-21T07:19:39.066Z] + git log --format=format:%s -1 82ff0da3d76fda56b8be828932abbd4e3fc098e3 [Pipeline] echo [2023-03-21T07:19:39.079Z] ========================================================= [2023-03-21T07:19:39.079Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-21T07:19:39.079Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T07:19:39.411Z] + git log --format=format:%s -1 82ff0da3d76fda56b8be828932abbd4e3fc098e3 [Pipeline] echo [2023-03-21T07:19:39.441Z] [semverPrep] GIT_COMMIT: 82ff0da3d76fda56b8be828932abbd4e3fc098e3, Commit Message: Merge pull request #434 from weichou1229/bump-sdk [Pipeline] echo [2023-03-21T07:19:39.449Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-21T07:19:39.815Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T07:19:39.815Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-21T07:19:39.815Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-21T07:19:39.815Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-21T07:19:39.815Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-21T07:19:39.815Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-21T07:19:39.815Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:19:40.239Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T07:19:40.239Z] [2023-03-21T07:19:40.239Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:19:40.535Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T07:19:40.535Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-21T07:19:40.535Z] b85a868b505f: Pulling fs layer [2023-03-21T07:19:40.535Z] e2be974225ed: Pulling fs layer [2023-03-21T07:19:40.535Z] 339a4e72a1f5: Pulling fs layer [2023-03-21T07:19:40.535Z] 988bab9f4d93: Pulling fs layer [2023-03-21T07:19:40.535Z] 1469e6f7b9e6: Pulling fs layer [2023-03-21T07:19:40.535Z] eaf3925da568: Pulling fs layer [2023-03-21T07:19:40.535Z] bab4dde63d76: Pulling fs layer [2023-03-21T07:19:40.535Z] bde34c3a00c8: Pulling fs layer [2023-03-21T07:19:40.535Z] b352a97aabf1: Pulling fs layer [2023-03-21T07:19:40.535Z] 4872d77fe225: Pulling fs layer [2023-03-21T07:19:40.535Z] 988bab9f4d93: Waiting [2023-03-21T07:19:40.535Z] 1469e6f7b9e6: Waiting [2023-03-21T07:19:40.535Z] bab4dde63d76: Waiting [2023-03-21T07:19:40.535Z] bde34c3a00c8: Waiting [2023-03-21T07:19:40.535Z] b352a97aabf1: Waiting [2023-03-21T07:19:40.535Z] 5851b861e8e6: Pulling fs layer [2023-03-21T07:19:40.535Z] 4872d77fe225: Waiting [2023-03-21T07:19:40.535Z] 5851b861e8e6: Waiting [2023-03-21T07:19:40.535Z] e2be974225ed: Verifying Checksum [2023-03-21T07:19:40.535Z] e2be974225ed: Download complete [2023-03-21T07:19:40.535Z] 988bab9f4d93: Verifying Checksum [2023-03-21T07:19:40.535Z] 988bab9f4d93: Download complete [2023-03-21T07:19:40.795Z] 1469e6f7b9e6: Verifying Checksum [2023-03-21T07:19:40.795Z] 1469e6f7b9e6: Download complete [2023-03-21T07:19:40.795Z] eaf3925da568: Download complete [2023-03-21T07:19:40.795Z] 339a4e72a1f5: Verifying Checksum [2023-03-21T07:19:40.795Z] 339a4e72a1f5: Download complete [2023-03-21T07:19:40.795Z] bde34c3a00c8: Download complete [2023-03-21T07:19:40.795Z] b352a97aabf1: Download complete [2023-03-21T07:19:40.795Z] 4872d77fe225: Verifying Checksum [2023-03-21T07:19:40.795Z] 4872d77fe225: Download complete [2023-03-21T07:19:40.795Z] 5851b861e8e6: Verifying Checksum [2023-03-21T07:19:40.795Z] 5851b861e8e6: Download complete [2023-03-21T07:19:40.795Z] b85a868b505f: Verifying Checksum [2023-03-21T07:19:40.795Z] b85a868b505f: Download complete [2023-03-21T07:19:41.364Z] bab4dde63d76: Verifying Checksum [2023-03-21T07:19:41.364Z] bab4dde63d76: Download complete [2023-03-21T07:19:42.302Z] b85a868b505f: Pull complete [2023-03-21T07:19:42.302Z] e2be974225ed: Pull complete [2023-03-21T07:19:42.560Z] 339a4e72a1f5: Pull complete [2023-03-21T07:19:42.819Z] 988bab9f4d93: Pull complete [2023-03-21T07:19:43.078Z] 1469e6f7b9e6: Pull complete [2023-03-21T07:19:43.078Z] eaf3925da568: Pull complete [2023-03-21T07:19:44.982Z] bab4dde63d76: Pull complete [2023-03-21T07:19:44.982Z] bde34c3a00c8: Pull complete [2023-03-21T07:19:44.982Z] b352a97aabf1: Pull complete [2023-03-21T07:19:44.982Z] 4872d77fe225: Pull complete [2023-03-21T07:19:44.982Z] 5851b861e8e6: Pull complete [2023-03-21T07:19:44.982Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-21T07:19:44.982Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T07:19:44.982Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T07:19:45.080Z] prd-ubuntu20.04-docker-8c-8g-4761 does not seem to be running inside a container [2023-03-21T07:19:45.107Z] $ 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-03-21T07:19:47.761Z] $ docker top fee877e36cb789459fe77fca152f2bb182c1acf50fb12e9e99dd67f7f650a81e -eo pid,comm [2023-03-21T07:19:47.835Z] 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-03-21T07:19:47.835Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T07:19:47.871Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T07:19:47.871Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T07:19:48.000Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T07:19:48.001Z] $ docker exec fee877e36cb789459fe77fca152f2bb182c1acf50fb12e9e99dd67f7f650a81e ssh-agent [2023-03-21T07:19:48.099Z] SSH_AUTH_SOCK=/tmp/ssh-E0KkdghGZ9DW/agent.32 [2023-03-21T07:19:48.099Z] SSH_AGENT_PID=38 [2023-03-21T07:19:48.106Z] Running ssh-add (command line suppressed) [2023-03-21T07:19:48.201Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10320461155764326439.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10320461155764326439.key) [2023-03-21T07:19:48.214Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T07:19:48.501Z] + git tag --points-at HEAD [Pipeline] } [2023-03-21T07:19:48.521Z] $ docker exec --env ******** --env ******** fee877e36cb789459fe77fca152f2bb182c1acf50fb12e9e99dd67f7f650a81e ssh-agent -k [2023-03-21T07:19:48.609Z] unset SSH_AUTH_SOCK; [2023-03-21T07:19:48.610Z] unset SSH_AGENT_PID; [2023-03-21T07:19:48.610Z] echo Agent pid 38 killed; [2023-03-21T07:19:48.618Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-21T07:19:48.640Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T07:19:48.640Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T07:19:48.756Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T07:19:48.757Z] $ docker exec fee877e36cb789459fe77fca152f2bb182c1acf50fb12e9e99dd67f7f650a81e ssh-agent [2023-03-21T07:19:48.863Z] SSH_AUTH_SOCK=/tmp/ssh-suKJXpn2epTy/agent.70 [2023-03-21T07:19:48.863Z] SSH_AGENT_PID=76 [2023-03-21T07:19:48.868Z] Running ssh-add (command line suppressed) [2023-03-21T07:19:48.963Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17601555386284108653.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17601555386284108653.key) [2023-03-21T07:19:48.980Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T07:19:49.270Z] + git semver init [2023-03-21T07:19:49.529Z] 2023-03-21 07:19:49,472 [run_init] DEBUG init version:0.0.0 force:False [2023-03-21T07:19:49.529Z] 2023-03-21 07:19:49,473 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-03-21T07:19:49.529Z] 2023-03-21 07:19:49,474 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-03-21T07:19:49.529Z] 2023-03-21 07:19:49,474 [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-03-21T07:19:50.467Z] 2023-03-21 07:19:50,235 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-03-21T07:19:50.467Z] 2023-03-21 07:19:50,236 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-03-21T07:19:50.467Z] 2023-03-21 07:19:50,236 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-21T07:19:50.467Z] 2023-03-21 07:19:50,236 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-21T07:19:50.467Z] 3.0.0-dev.20 [Pipeline] } [2023-03-21T07:19:50.476Z] $ docker exec --env ******** --env ******** fee877e36cb789459fe77fca152f2bb182c1acf50fb12e9e99dd67f7f650a81e ssh-agent -k [2023-03-21T07:19:50.559Z] unset SSH_AUTH_SOCK; [2023-03-21T07:19:50.559Z] unset SSH_AGENT_PID; [2023-03-21T07:19:50.559Z] echo Agent pid 76 killed; [2023-03-21T07:19:50.574Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T07:19:50.870Z] + git semver [Pipeline] } [2023-03-21T07:19:51.141Z] $ docker stop --time=1 fee877e36cb789459fe77fca152f2bb182c1acf50fb12e9e99dd67f7f650a81e [2023-03-21T07:19:52.480Z] $ docker rm -f --volumes fee877e36cb789459fe77fca152f2bb182c1acf50fb12e9e99dd67f7f650a81e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T07:19:52.817Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-21T07:19:53.065Z] Stashed 1 file(s) [Pipeline] echo [2023-03-21T07:19:53.067Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.20 [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-03-21T07:19:53.217Z] provisioning config files... [2023-03-21T07:19:53.227Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5659579617403886565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T07:19:53.517Z] ---> docker-login.sh [2023-03-21T07:19:53.517Z] nexus3.edgexfoundry.org:10001 [2023-03-21T07:19:53.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:19:53.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:19:53.517Z] Configure a credential helper to remove this warning. See [2023-03-21T07:19:53.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:19:53.517Z] [2023-03-21T07:19:53.517Z] Login Succeeded [2023-03-21T07:19:53.517Z] nexus3.edgexfoundry.org:10002 [2023-03-21T07:19:53.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:19:53.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:19:53.517Z] Configure a credential helper to remove this warning. See [2023-03-21T07:19:53.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:19:53.517Z] [2023-03-21T07:19:53.517Z] Login Succeeded [2023-03-21T07:19:53.517Z] nexus3.edgexfoundry.org:10003 [2023-03-21T07:19:53.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:19:53.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:19:53.776Z] Configure a credential helper to remove this warning. See [2023-03-21T07:19:53.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:19:53.776Z] [2023-03-21T07:19:53.776Z] Login Succeeded [2023-03-21T07:19:53.776Z] nexus3.edgexfoundry.org:10004 [2023-03-21T07:19:53.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:19:53.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:19:53.776Z] Configure a credential helper to remove this warning. See [2023-03-21T07:19:53.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:19:53.776Z] [2023-03-21T07:19:53.776Z] Login Succeeded [2023-03-21T07:19:53.776Z] docker.io [2023-03-21T07:19:54.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:19:54.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:19:54.034Z] Configure a credential helper to remove this warning. See [2023-03-21T07:19:54.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:19:54.034Z] [2023-03-21T07:19:54.034Z] Login Succeeded [2023-03-21T07:19:54.034Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T07:19:54.040Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T07:19:54.089Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T07:19:54.104Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T07:19:54.113Z] ========================================================= [2023-03-21T07:19:54.113Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-21T07:19:54.113Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:19:54.425Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T07:19:54.425Z] Sending build context to Docker daemon 6.363MB [2023-03-21T07:19:54.425Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T07:19:54.425Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-21T07:19:54.425Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-21T07:19:54.425Z] 63b65145d645: Pulling fs layer [2023-03-21T07:19:54.425Z] a2d21d5440eb: Pulling fs layer [2023-03-21T07:19:54.425Z] 935e6c44a52c: Pulling fs layer [2023-03-21T07:19:54.425Z] 94cc34f8dd06: Pulling fs layer [2023-03-21T07:19:54.425Z] 30dea6a524f1: Pulling fs layer [2023-03-21T07:19:54.425Z] a2aff8979fd8: Pulling fs layer [2023-03-21T07:19:54.425Z] 6808be2612f2: Pulling fs layer [2023-03-21T07:19:54.425Z] f25807f1079a: Pulling fs layer [2023-03-21T07:19:54.425Z] 94cc34f8dd06: Waiting [2023-03-21T07:19:54.425Z] 30dea6a524f1: Waiting [2023-03-21T07:19:54.425Z] a2aff8979fd8: Waiting [2023-03-21T07:19:54.425Z] 6808be2612f2: Waiting [2023-03-21T07:19:54.425Z] f25807f1079a: Waiting [2023-03-21T07:19:54.686Z] a2d21d5440eb: Download complete [2023-03-21T07:19:54.686Z] 94cc34f8dd06: Verifying Checksum [2023-03-21T07:19:54.686Z] 94cc34f8dd06: Download complete [2023-03-21T07:19:54.686Z] 30dea6a524f1: Verifying Checksum [2023-03-21T07:19:54.686Z] 30dea6a524f1: Download complete [2023-03-21T07:19:54.686Z] 63b65145d645: Verifying Checksum [2023-03-21T07:19:54.686Z] 63b65145d645: Download complete [2023-03-21T07:19:54.686Z] a2aff8979fd8: Verifying Checksum [2023-03-21T07:19:54.686Z] a2aff8979fd8: Download complete [2023-03-21T07:19:54.686Z] 63b65145d645: Pull complete [2023-03-21T07:19:54.952Z] a2d21d5440eb: Pull complete [2023-03-21T07:19:55.560Z] f25807f1079a: Verifying Checksum [2023-03-21T07:19:55.560Z] f25807f1079a: Download complete [2023-03-21T07:19:55.560Z] 935e6c44a52c: Verifying Checksum [2023-03-21T07:19:55.560Z] 935e6c44a52c: Download complete [2023-03-21T07:19:55.817Z] 6808be2612f2: Verifying Checksum [2023-03-21T07:19:55.817Z] 6808be2612f2: Download complete [2023-03-21T07:19:59.100Z] 935e6c44a52c: Pull complete [2023-03-21T07:19:59.100Z] 94cc34f8dd06: Pull complete [2023-03-21T07:19:59.100Z] 30dea6a524f1: Pull complete [2023-03-21T07:19:59.100Z] a2aff8979fd8: Pull complete [2023-03-21T07:20:01.628Z] 6808be2612f2: Pull complete [2023-03-21T07:20:02.207Z] f25807f1079a: Pull complete [2023-03-21T07:20:02.207Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-21T07:20:02.207Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-21T07:20:02.207Z] ---> 3b553350e43f [2023-03-21T07:20:02.207Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-21T07:20:08.176Z] Still waiting to schedule task [2023-03-21T07:20:08.177Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4756’ [2023-03-21T07:20:12.250Z] ---> Running in 4a4a7b998fdc [2023-03-21T07:20:12.250Z] Removing intermediate container 4a4a7b998fdc [2023-03-21T07:20:12.250Z] ---> c5bf05f391a6 [2023-03-21T07:20:12.250Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T07:20:12.250Z] ---> Running in 44d4a62a6fc7 [2023-03-21T07:20:12.250Z] Removing intermediate container 44d4a62a6fc7 [2023-03-21T07:20:12.250Z] ---> 40a6e3fc1e5e [2023-03-21T07:20:12.250Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-21T07:20:12.250Z] ---> Running in 6ec14ab2e89a [2023-03-21T07:20:12.250Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T07:20:12.508Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T07:20:12.766Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-03-21T07:20:12.766Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-03-21T07:20:12.766Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-03-21T07:20:12.766Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-03-21T07:20:12.766Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-03-21T07:20:12.766Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-03-21T07:20:12.766Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-03-21T07:20:12.766Z] (8/8) Installing openssh (9.1_p1-r2) [2023-03-21T07:20:12.766Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T07:20:12.766Z] OK: 270 MiB in 61 packages [2023-03-21T07:20:13.335Z] Removing intermediate container 6ec14ab2e89a [2023-03-21T07:20:13.335Z] ---> ffe8d02aca86 [2023-03-21T07:20:13.335Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-21T07:20:13.335Z] ---> Running in 541ad287cb76 [2023-03-21T07:20:13.595Z] Removing intermediate container 541ad287cb76 [2023-03-21T07:20:13.595Z] ---> 9d73f6ea7dd0 [2023-03-21T07:20:13.595Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-21T07:20:13.595Z] ---> 168c5d2143d8 [2023-03-21T07:20:13.595Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T07:20:13.855Z] ---> Running in df5b86258be5 [2023-03-21T07:21:11.187Z] Removing intermediate container df5b86258be5 [2023-03-21T07:21:11.187Z] ---> 0e38c1bc1c97 [2023-03-21T07:21:11.187Z] Step 9/10 : COPY . . [2023-03-21T07:21:11.187Z] ---> 737c9ff9cd0e [2023-03-21T07:21:11.187Z] Step 10/10 : RUN ${MAKE} [2023-03-21T07:21:11.187Z] ---> Running in d121f33dcea0 [2023-03-21T07:21:11.187Z] noop [2023-03-21T07:21:11.187Z] Removing intermediate container d121f33dcea0 [2023-03-21T07:21:11.187Z] ---> 2f41d2fa5474 [2023-03-21T07:21:11.187Z] Successfully built 2f41d2fa5474 [2023-03-21T07:21:11.187Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:21:11.508Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T07:21:11.508Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T07:21:11.578Z] prd-ubuntu20.04-docker-8c-8g-4761 does not seem to be running inside a container [2023-03-21T07:21:11.608Z] $ 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-03-21T07:21:11.954Z] $ docker top 975dcca92102805a77e542d7678883a84f138e5d5e2f50a20c3d8e70f5b4c132 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T07:21:12.298Z] + go version [2023-03-21T07:21:12.298Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-21T07:21:12.309Z] $ docker stop --time=1 975dcca92102805a77e542d7678883a84f138e5d5e2f50a20c3d8e70f5b4c132 [2023-03-21T07:21:13.603Z] $ docker rm -f --volumes 975dcca92102805a77e542d7678883a84f138e5d5e2f50a20c3d8e70f5b4c132 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:21:13.977Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T07:21:13.977Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T07:21:14.055Z] prd-ubuntu20.04-docker-8c-8g-4761 does not seem to be running inside a container [2023-03-21T07:21:14.089Z] $ 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-03-21T07:21:14.449Z] $ docker top 1be1f6e08e74010895fb625e9f51cb59b7a0c4459c893d0411c333394bde2e30 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T07:21:14.812Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-21T07:21:15.111Z] + make test [2023-03-21T07:21:15.111Z] go test ./... -coverprofile=coverage.out [2023-03-21T07:21:20.379Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-21T07:21:30.342Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-03-21T07:21:30.342Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 48.0% of statements [2023-03-21T07:21:35.663Z] go vet ./... [2023-03-21T07:21:38.944Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T07:21:38.944Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T07:21:38.944Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T07:21:38.955Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T07:21:38.970Z] $ docker stop --time=1 1be1f6e08e74010895fb625e9f51cb59b7a0c4459c893d0411c333394bde2e30 [2023-03-21T07:21:43.871Z] $ docker rm -f --volumes 1be1f6e08e74010895fb625e9f51cb59b7a0c4459c893d0411c333394bde2e30 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T07:21:44.364Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T07:21:44.430Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-21T07:21:44.829Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T07:21:45.109Z] + ls -al . [2023-03-21T07:21:45.109Z] total 180 [2023-03-21T07:21:45.109Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 07:21 . [2023-03-21T07:21:45.109Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 07:19 .. [2023-03-21T07:21:45.109Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 07:19 .dockerignore [2023-03-21T07:21:45.109Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 07:19 .git [2023-03-21T07:21:45.109Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:19 .github [2023-03-21T07:21:45.109Z] -rw-rw-r-- 1 jenkins jenkins 331 Mar 21 07:19 .gitignore [2023-03-21T07:21:45.109Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 07:19 .golangci.yml [2023-03-21T07:21:45.109Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 07:19 .semver [2023-03-21T07:21:45.109Z] -rw-rw-r-- 1 jenkins jenkins 10236 Mar 21 07:19 Attribution.txt [2023-03-21T07:21:45.109Z] -rw-rw-r-- 1 jenkins jenkins 11576 Mar 21 07:19 CHANGELOG.md [2023-03-21T07:21:45.109Z] -rw-rw-r-- 1 jenkins jenkins 1365 Mar 21 07:19 Dockerfile [2023-03-21T07:21:45.109Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 07:19 GOVERNANCE.md [2023-03-21T07:21:45.109Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 07:19 Jenkinsfile [2023-03-21T07:21:45.109Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 07:19 LICENSE [2023-03-21T07:21:45.109Z] -rw-rw-r-- 1 jenkins jenkins 1705 Mar 21 07:19 Makefile [2023-03-21T07:21:45.109Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 07:19 OWNERS.md [2023-03-21T07:21:45.109Z] -rw-rw-r-- 1 jenkins jenkins 4061 Mar 21 07:19 README.md [2023-03-21T07:21:45.109Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 07:19 VERSION [2023-03-21T07:21:45.109Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 07:19 bin [2023-03-21T07:21:45.109Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:19 cmd [2023-03-21T07:21:45.109Z] -rw-r--r-- 1 jenkins jenkins 23736 Mar 21 07:21 coverage.out [2023-03-21T07:21:45.109Z] -rw-rw-r-- 1 jenkins jenkins 3497 Mar 21 07:19 go.mod [2023-03-21T07:21:45.109Z] -rw-rw-r-- 1 jenkins jenkins 31641 Mar 21 07:19 go.sum [2023-03-21T07:21:45.109Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:19 internal [2023-03-21T07:21:45.109Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 07:19 simulator [2023-03-21T07:21:45.109Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 07:19 snap [2023-03-21T07:21:45.109Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 21 07:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:21:45.494Z] + 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=82ff0da3d76fda56b8be828932abbd4e3fc098e3 --label arch=amd64 --label version=3.0.0-dev.20 . [2023-03-21T07:21:45.494Z] Sending build context to Docker daemon 6.387MB [2023-03-21T07:21:45.494Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T07:21:45.494Z] Step 2/22 : FROM ${BASE} AS builder [2023-03-21T07:21:45.494Z] ---> 2f41d2fa5474 [2023-03-21T07:21:45.494Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-03-21T07:21:46.090Z] ---> Running in dd73fdaa1ee2 [2023-03-21T07:21:46.090Z] Removing intermediate container dd73fdaa1ee2 [2023-03-21T07:21:46.090Z] ---> b26194d4d9d5 [2023-03-21T07:21:46.090Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T07:21:46.090Z] ---> Running in 538b8dc3418b [2023-03-21T07:21:46.090Z] Removing intermediate container 538b8dc3418b [2023-03-21T07:21:46.090Z] ---> 6bddb5429cba [2023-03-21T07:21:46.090Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-03-21T07:21:46.090Z] ---> Running in c3fc6b91f531 [2023-03-21T07:21:46.361Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T07:21:46.618Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T07:21:46.874Z] OK: 270 MiB in 61 packages [2023-03-21T07:21:47.134Z] Removing intermediate container c3fc6b91f531 [2023-03-21T07:21:47.134Z] ---> 0330f6d23f3f [2023-03-21T07:21:47.134Z] Step 6/22 : WORKDIR /device-modbus-go [2023-03-21T07:21:47.134Z] ---> Running in 8c0381a3d2d8 [2023-03-21T07:21:47.392Z] Removing intermediate container 8c0381a3d2d8 [2023-03-21T07:21:47.392Z] ---> a80a3d7375bf [2023-03-21T07:21:47.392Z] Step 7/22 : COPY go.mod vendor* ./ [2023-03-21T07:21:47.392Z] ---> 5ee335d53fa5 [2023-03-21T07:21:47.392Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T07:21:47.651Z] ---> Running in d9143eec10e7 [2023-03-21T07:21:48.670Z] Removing intermediate container d9143eec10e7 [2023-03-21T07:21:48.670Z] ---> 5bd8a541696f [2023-03-21T07:21:48.670Z] Step 9/22 : COPY . . [2023-03-21T07:21:48.928Z] ---> 7c5ed6c60716 [2023-03-21T07:21:48.928Z] Step 10/22 : RUN ${MAKE} [2023-03-21T07:21:48.928Z] ---> Running in 89d838dc7f81 [2023-03-21T07:21:49.184Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.20" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-03-21T07:22:11.126Z] Removing intermediate container 89d838dc7f81 [2023-03-21T07:22:11.126Z] ---> fe4d4461b336 [2023-03-21T07:22:11.126Z] Step 11/22 : FROM alpine:3.17 [2023-03-21T07:22:11.126Z] 3.17: Pulling from library/alpine [2023-03-21T07:22:11.126Z] 63b65145d645: Already exists [2023-03-21T07:22:11.126Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T07:22:11.126Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T07:22:11.126Z] ---> b2aa39c304c2 [2023-03-21T07:22:11.126Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-03-21T07:22:11.126Z] ---> Running in 71b9f98d06dd [2023-03-21T07:22:11.126Z] Removing intermediate container 71b9f98d06dd [2023-03-21T07:22:11.126Z] ---> d6b77462b256 [2023-03-21T07:22:11.126Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-03-21T07:22:11.126Z] ---> Running in 919b6710eea3 [2023-03-21T07:22:11.126Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T07:22:11.126Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T07:22:11.126Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-21T07:22:11.126Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T07:22:11.126Z] OK: 7 MiB in 16 packages [2023-03-21T07:22:11.126Z] Removing intermediate container 919b6710eea3 [2023-03-21T07:22:11.126Z] ---> 4354a9b6e3b3 [2023-03-21T07:22:11.126Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-03-21T07:22:12.063Z] ---> 05ba28a0c83a [2023-03-21T07:22:12.063Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-03-21T07:22:12.325Z] ---> 67f429b383d9 [2023-03-21T07:22:12.325Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-03-21T07:22:12.325Z] ---> 93164526bdd5 [2023-03-21T07:22:12.325Z] Step 17/22 : EXPOSE 59901 [2023-03-21T07:22:12.584Z] ---> Running in 7a60b8f64f60 [2023-03-21T07:22:12.584Z] Removing intermediate container 7a60b8f64f60 [2023-03-21T07:22:12.584Z] ---> 14e22f8a541f [2023-03-21T07:22:12.584Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-03-21T07:22:12.584Z] ---> Running in 2c070864e347 [2023-03-21T07:22:12.584Z] Removing intermediate container 2c070864e347 [2023-03-21T07:22:12.584Z] ---> 2d3c4fd03864 [2023-03-21T07:22:12.584Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-21T07:22:12.584Z] ---> Running in 8354de46285e [2023-03-21T07:22:12.843Z] Removing intermediate container 8354de46285e [2023-03-21T07:22:12.843Z] ---> 70965b75a2f2 [2023-03-21T07:22:12.843Z] Step 20/22 : LABEL arch=amd64 [2023-03-21T07:22:12.843Z] ---> Running in f26975d3f66e [2023-03-21T07:22:12.843Z] Removing intermediate container f26975d3f66e [2023-03-21T07:22:12.843Z] ---> 454904ad0f07 [2023-03-21T07:22:12.843Z] Step 21/22 : LABEL git_sha=82ff0da3d76fda56b8be828932abbd4e3fc098e3 [2023-03-21T07:22:12.843Z] ---> Running in 79e5f11b9193 [2023-03-21T07:22:12.843Z] Removing intermediate container 79e5f11b9193 [2023-03-21T07:22:12.843Z] ---> 66d6f5b9cc3c [2023-03-21T07:22:12.843Z] Step 22/22 : LABEL version=3.0.0-dev.20 [2023-03-21T07:22:12.843Z] ---> Running in 94bf2dbef100 [2023-03-21T07:22:13.101Z] Removing intermediate container 94bf2dbef100 [2023-03-21T07:22:13.102Z] ---> 3f2e8d65b625 [2023-03-21T07:22:13.102Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T07:22:13.102Z] Successfully built 3f2e8d65b625 [2023-03-21T07:22:13.102Z] 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-03-21T07:22:13.199Z] provisioning config files... [2023-03-21T07:22:13.208Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12031008676452783578tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T07:22:13.506Z] ---> docker-login.sh [2023-03-21T07:22:13.506Z] nexus3.edgexfoundry.org:10001 [2023-03-21T07:22:13.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:22:13.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:22:13.506Z] Configure a credential helper to remove this warning. See [2023-03-21T07:22:13.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:22:13.506Z] [2023-03-21T07:22:13.506Z] Login Succeeded [2023-03-21T07:22:13.506Z] nexus3.edgexfoundry.org:10002 [2023-03-21T07:22:13.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:22:13.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:22:13.506Z] Configure a credential helper to remove this warning. See [2023-03-21T07:22:13.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:22:13.506Z] [2023-03-21T07:22:13.506Z] Login Succeeded [2023-03-21T07:22:13.506Z] nexus3.edgexfoundry.org:10003 [2023-03-21T07:22:13.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:22:13.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:22:13.764Z] Configure a credential helper to remove this warning. See [2023-03-21T07:22:13.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:22:13.764Z] [2023-03-21T07:22:13.764Z] Login Succeeded [2023-03-21T07:22:13.764Z] nexus3.edgexfoundry.org:10004 [2023-03-21T07:22:13.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:22:13.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:22:13.764Z] Configure a credential helper to remove this warning. See [2023-03-21T07:22:13.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:22:13.764Z] [2023-03-21T07:22:13.764Z] Login Succeeded [2023-03-21T07:22:13.764Z] docker.io [2023-03-21T07:22:13.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:22:14.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:22:14.022Z] Configure a credential helper to remove this warning. See [2023-03-21T07:22:14.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:22:14.022Z] [2023-03-21T07:22:14.022Z] Login Succeeded [2023-03-21T07:22:14.022Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T07:22:14.028Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-21T07:22:14.057Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T07:22:14.078Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-03-21T07:22:14.078Z] 82ff0da3d76fda56b8be828932abbd4e3fc098e3 [2023-03-21T07:22:14.078Z] latest [2023-03-21T07:22:14.078Z] 3.0.0-dev.20 [2023-03-21T07:22:14.078Z] 82ff0da3d76fda56b8be828932abbd4e3fc098e3-3.0.0-dev.20 [2023-03-21T07:22:14.078Z] main [2023-03-21T07:22:14.078Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:22:14.378Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:82ff0da3d76fda56b8be828932abbd4e3fc098e3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:22:14.686Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:82ff0da3d76fda56b8be828932abbd4e3fc098e3 [2023-03-21T07:22:14.686Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-21T07:22:14.686Z] c7e18171c7c1: Preparing [2023-03-21T07:22:14.686Z] 218488468d64: Preparing [2023-03-21T07:22:14.686Z] 1aabf5f5eae0: Preparing [2023-03-21T07:22:14.686Z] 63d5a06d40d6: Preparing [2023-03-21T07:22:14.686Z] 7cd52847ad77: Preparing [2023-03-21T07:22:14.686Z] 7cd52847ad77: Layer already exists [2023-03-21T07:22:14.686Z] 63d5a06d40d6: Pushed [2023-03-21T07:22:14.686Z] 218488468d64: Pushed [2023-03-21T07:22:14.686Z] c7e18171c7c1: Pushed [2023-03-21T07:22:17.221Z] 1aabf5f5eae0: Pushed [2023-03-21T07:22:17.479Z] 82ff0da3d76fda56b8be828932abbd4e3fc098e3: digest: sha256:224046af7c3e92155856f97e3213d5c27cdb8baf53f6bd569e30d3b9773e4dbf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:22:17.787Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:22:18.093Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-03-21T07:22:18.093Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-21T07:22:18.093Z] c7e18171c7c1: Preparing [2023-03-21T07:22:18.093Z] 218488468d64: Preparing [2023-03-21T07:22:18.093Z] 1aabf5f5eae0: Preparing [2023-03-21T07:22:18.093Z] 63d5a06d40d6: Preparing [2023-03-21T07:22:18.093Z] 7cd52847ad77: Preparing [2023-03-21T07:22:18.093Z] 1aabf5f5eae0: Layer already exists [2023-03-21T07:22:18.093Z] 218488468d64: Layer already exists [2023-03-21T07:22:18.093Z] 7cd52847ad77: Layer already exists [2023-03-21T07:22:18.093Z] c7e18171c7c1: Layer already exists [2023-03-21T07:22:18.093Z] 63d5a06d40d6: Layer already exists [2023-03-21T07:22:18.093Z] latest: digest: sha256:224046af7c3e92155856f97e3213d5c27cdb8baf53f6bd569e30d3b9773e4dbf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:22:18.407Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:22:18.713Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.20 [2023-03-21T07:22:18.713Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-21T07:22:18.713Z] c7e18171c7c1: Preparing [2023-03-21T07:22:18.713Z] 218488468d64: Preparing [2023-03-21T07:22:18.713Z] 1aabf5f5eae0: Preparing [2023-03-21T07:22:18.713Z] 63d5a06d40d6: Preparing [2023-03-21T07:22:18.713Z] 7cd52847ad77: Preparing [2023-03-21T07:22:18.713Z] 7cd52847ad77: Layer already exists [2023-03-21T07:22:18.713Z] 63d5a06d40d6: Layer already exists [2023-03-21T07:22:18.713Z] 218488468d64: Layer already exists [2023-03-21T07:22:18.713Z] 1aabf5f5eae0: Layer already exists [2023-03-21T07:22:18.713Z] c7e18171c7c1: Layer already exists [2023-03-21T07:22:18.713Z] 3.0.0-dev.20: digest: sha256:224046af7c3e92155856f97e3213d5c27cdb8baf53f6bd569e30d3b9773e4dbf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:22:19.021Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:82ff0da3d76fda56b8be828932abbd4e3fc098e3-3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:22:19.319Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:82ff0da3d76fda56b8be828932abbd4e3fc098e3-3.0.0-dev.20 [2023-03-21T07:22:19.320Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-21T07:22:19.320Z] c7e18171c7c1: Preparing [2023-03-21T07:22:19.320Z] 218488468d64: Preparing [2023-03-21T07:22:19.320Z] 1aabf5f5eae0: Preparing [2023-03-21T07:22:19.320Z] 63d5a06d40d6: Preparing [2023-03-21T07:22:19.320Z] 7cd52847ad77: Preparing [2023-03-21T07:22:19.320Z] 218488468d64: Layer already exists [2023-03-21T07:22:19.320Z] 1aabf5f5eae0: Layer already exists [2023-03-21T07:22:19.320Z] c7e18171c7c1: Layer already exists [2023-03-21T07:22:19.320Z] 63d5a06d40d6: Layer already exists [2023-03-21T07:22:19.320Z] 7cd52847ad77: Layer already exists [2023-03-21T07:22:19.320Z] 82ff0da3d76fda56b8be828932abbd4e3fc098e3-3.0.0-dev.20: digest: sha256:224046af7c3e92155856f97e3213d5c27cdb8baf53f6bd569e30d3b9773e4dbf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:22:19.636Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:22:19.946Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-03-21T07:22:19.946Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-21T07:22:19.946Z] c7e18171c7c1: Preparing [2023-03-21T07:22:19.946Z] 218488468d64: Preparing [2023-03-21T07:22:19.946Z] 1aabf5f5eae0: Preparing [2023-03-21T07:22:19.946Z] 63d5a06d40d6: Preparing [2023-03-21T07:22:19.946Z] 7cd52847ad77: Preparing [2023-03-21T07:22:19.946Z] 7cd52847ad77: Layer already exists [2023-03-21T07:22:19.946Z] 218488468d64: Layer already exists [2023-03-21T07:22:19.946Z] 1aabf5f5eae0: Layer already exists [2023-03-21T07:22:19.946Z] c7e18171c7c1: Layer already exists [2023-03-21T07:22:19.946Z] 63d5a06d40d6: Layer already exists [2023-03-21T07:22:19.946Z] main: digest: sha256:224046af7c3e92155856f97e3213d5c27cdb8baf53f6bd569e30d3b9773e4dbf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-21T07:22:19.995Z] ===================================================== [Pipeline] echo [2023-03-21T07:22:20.003Z] taggedImages: [2023-03-21T07:22:20.003Z] - nexus3.edgexfoundry.org:10004/device-modbus:82ff0da3d76fda56b8be828932abbd4e3fc098e3 [2023-03-21T07:22:20.003Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-03-21T07:22:20.003Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.20 [2023-03-21T07:22:20.003Z] - nexus3.edgexfoundry.org:10004/device-modbus:82ff0da3d76fda56b8be828932abbd4e3fc098e3-3.0.0-dev.20 [2023-03-21T07:22:20.003Z] - 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-03-21T07:22:20.381Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T07:22:20.382Z] [2023-03-21T07:22:20.382Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:22:20.682Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T07:22:20.682Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-21T07:22:20.682Z] 5eb5b503b376: Pulling fs layer [2023-03-21T07:22:20.682Z] 5c69ac0246d0: Pulling fs layer [2023-03-21T07:22:20.682Z] ec43610c2a17: Pulling fs layer [2023-03-21T07:22:20.682Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-21T07:22:20.682Z] 33b1e0a273af: Pulling fs layer [2023-03-21T07:22:20.682Z] 5d3b04190fa2: Pulling fs layer [2023-03-21T07:22:20.682Z] 2f39f015ded8: Pulling fs layer [2023-03-21T07:22:20.682Z] 33b1e0a273af: Waiting [2023-03-21T07:22:20.682Z] 5d3b04190fa2: Waiting [2023-03-21T07:22:20.682Z] 3a2ae6a8a46f: Waiting [2023-03-21T07:22:20.682Z] 2f39f015ded8: Waiting [2023-03-21T07:22:20.682Z] 5c69ac0246d0: Download complete [2023-03-21T07:22:20.682Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-21T07:22:20.682Z] 3a2ae6a8a46f: Download complete [2023-03-21T07:22:20.941Z] ec43610c2a17: Verifying Checksum [2023-03-21T07:22:20.941Z] ec43610c2a17: Download complete [2023-03-21T07:22:20.941Z] 33b1e0a273af: Verifying Checksum [2023-03-21T07:22:20.941Z] 33b1e0a273af: Download complete [2023-03-21T07:22:20.941Z] 5d3b04190fa2: Download complete [2023-03-21T07:22:20.941Z] 5eb5b503b376: Verifying Checksum [2023-03-21T07:22:20.941Z] 5eb5b503b376: Download complete [2023-03-21T07:22:21.506Z] 2f39f015ded8: Download complete [2023-03-21T07:22:22.071Z] 5eb5b503b376: Pull complete [2023-03-21T07:22:22.330Z] 5c69ac0246d0: Pull complete [2023-03-21T07:22:22.588Z] ec43610c2a17: Pull complete [2023-03-21T07:22:22.847Z] 3a2ae6a8a46f: Pull complete [2023-03-21T07:22:23.104Z] 33b1e0a273af: Pull complete [2023-03-21T07:22:23.104Z] 5d3b04190fa2: Pull complete [2023-03-21T07:22:27.291Z] 2f39f015ded8: Pull complete [2023-03-21T07:22:27.291Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-21T07:22:27.291Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T07:22:27.291Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T07:22:27.367Z] prd-ubuntu20.04-docker-8c-8g-4761 does not seem to be running inside a container [2023-03-21T07:22:27.398Z] $ 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-03-21T07:22:33.719Z] $ docker top 8c96eb7c4bc48040a2e348f324b3a7b4f48921500a683511107b7ea4212d1901 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T07:22:34.085Z] ---> job-cost.sh [2023-03-21T07:22:34.085Z] lf-activate-venv: SKIPPING [2023-03-21T07:22:34.085Z] INFO: No Stack... [2023-03-21T07:22:34.343Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T07:22:34.601Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T07:22:35.122Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-03-21T07:22:35.122Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T07:22:35.136Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-86-stack-cost] [2023-03-21T07:22:35.145Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-86-stack-cost] did not exist. Created. [2023-03-21T07:22:35.145Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-86-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T07:22:35.445Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-21T07:22:35.474Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T07:22:35.481Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-86-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T07:22:35.497Z] $ docker stop --time=1 8c96eb7c4bc48040a2e348f324b3a7b4f48921500a683511107b7ea4212d1901 [2023-03-21T07:22:36.651Z] $ docker rm -f --volumes 8c96eb7c4bc48040a2e348f324b3a7b4f48921500a683511107b7ea4212d1901 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-21T07:22:39.881Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4764 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-03-21T07:22:39.891Z] Running in /w/workspace/device-modbus-go/86 [Pipeline] { [Pipeline] checkout [2023-03-21T07:22:39.927Z] Selected Git installation does not exist. Using Default [2023-03-21T07:22:39.927Z] The recommended git tool is: NONE [2023-03-21T07:22:45.896Z] using credential edgex-jenkins-ssh [2023-03-21T07:22:45.918Z] Cloning the remote Git repository [2023-03-21T07:22:45.970Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-03-21T07:22:46.082Z] > git init /w/workspace/device-modbus-go/86 # timeout=10 [2023-03-21T07:22:46.257Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-03-21T07:22:46.258Z] > git --version # timeout=10 [2023-03-21T07:22:46.279Z] > git --version # 'git version 2.25.1' [2023-03-21T07:22:46.282Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T07:22:46.449Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T07:22:48.767Z] Avoid second fetch [2023-03-21T07:22:48.767Z] Checking out Revision 82ff0da3d76fda56b8be828932abbd4e3fc098e3 (main) [2023-03-21T07:22:47.623Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-03-21T07:22:47.655Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T07:22:48.788Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T07:22:48.863Z] > git checkout -f 82ff0da3d76fda56b8be828932abbd4e3fc098e3 # timeout=10 [2023-03-21T07:22:49.455Z] Commit message: "Merge pull request #434 from weichou1229/bump-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T07:23:00.582Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-21T07:23:00.582Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T07:23:00.582Z] Dload Upload Total Spent Left Speed [2023-03-21T07:23:00.582Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 72039 0 --:--:-- --:--:-- --:--:-- 72448 [Pipeline] sh [2023-03-21T07:23:01.233Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-21T07:23:01.577Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-21T07:23:01.577Z] + sudo tee /etc/docker/daemon.new [2023-03-21T07:23:01.577Z] { [2023-03-21T07:23:01.577Z] "registry-mirrors": [ [2023-03-21T07:23:01.577Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-21T07:23:01.577Z] ], [2023-03-21T07:23:01.577Z] "bip": "10.250.0.254/24", [2023-03-21T07:23:01.577Z] "hosts": [ [2023-03-21T07:23:01.577Z] "tcp://0.0.0.0:5555", [2023-03-21T07:23:01.577Z] "unix:///var/run/docker.sock" [2023-03-21T07:23:01.577Z] ], [2023-03-21T07:23:01.577Z] "mtu": 1458, [2023-03-21T07:23:01.577Z] "selinux-enabled": true, [2023-03-21T07:23:01.577Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-21T07:23:01.577Z] } [Pipeline] sh [2023-03-21T07:23:01.917Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-21T07:23:02.246Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T07:23:24.390Z] provisioning config files... [2023-03-21T07:23:24.425Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/86@tmp/config4613166402852826992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T07:23:24.868Z] ---> docker-login.sh [2023-03-21T07:23:24.868Z] nexus3.edgexfoundry.org:10001 [2023-03-21T07:23:25.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:23:25.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:23:25.462Z] Configure a credential helper to remove this warning. See [2023-03-21T07:23:25.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:23:25.462Z] [2023-03-21T07:23:25.462Z] Login Succeeded [2023-03-21T07:23:25.462Z] nexus3.edgexfoundry.org:10002 [2023-03-21T07:23:25.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:23:26.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:23:26.007Z] Configure a credential helper to remove this warning. See [2023-03-21T07:23:26.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:23:26.007Z] [2023-03-21T07:23:26.007Z] Login Succeeded [2023-03-21T07:23:26.007Z] nexus3.edgexfoundry.org:10003 [2023-03-21T07:23:26.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:23:26.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:23:26.278Z] Configure a credential helper to remove this warning. See [2023-03-21T07:23:26.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:23:26.278Z] [2023-03-21T07:23:26.278Z] Login Succeeded [2023-03-21T07:23:26.278Z] nexus3.edgexfoundry.org:10004 [2023-03-21T07:23:26.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:23:26.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:23:26.824Z] Configure a credential helper to remove this warning. See [2023-03-21T07:23:26.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:23:26.824Z] [2023-03-21T07:23:26.824Z] Login Succeeded [2023-03-21T07:23:26.824Z] docker.io [2023-03-21T07:23:27.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:23:27.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:23:27.365Z] Configure a credential helper to remove this warning. See [2023-03-21T07:23:27.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:23:27.365Z] [2023-03-21T07:23:27.365Z] Login Succeeded [2023-03-21T07:23:27.365Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T07:23:27.381Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T07:23:27.702Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T07:23:27.713Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T07:23:27.724Z] ========================================================= [2023-03-21T07:23:27.724Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-21T07:23:27.724Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:23:28.084Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T07:23:28.356Z] Sending build context to Docker daemon 3.324MB [2023-03-21T07:23:28.356Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T07:23:28.356Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-21T07:23:28.630Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-21T07:23:28.630Z] af6eaf76a39c: Pulling fs layer [2023-03-21T07:23:28.630Z] 55522c791124: Pulling fs layer [2023-03-21T07:23:28.630Z] ce5c4a1c91eb: Pulling fs layer [2023-03-21T07:23:28.630Z] 169dfbe0d373: Pulling fs layer [2023-03-21T07:23:28.630Z] e1ff8fa3b103: Pulling fs layer [2023-03-21T07:23:28.630Z] 52ebb69f0ebf: Pulling fs layer [2023-03-21T07:23:28.630Z] 5abe8eddf0d5: Pulling fs layer [2023-03-21T07:23:28.630Z] e1ff8fa3b103: Waiting [2023-03-21T07:23:28.630Z] 52ebb69f0ebf: Waiting [2023-03-21T07:23:28.630Z] 169dfbe0d373: Waiting [2023-03-21T07:23:28.630Z] 5abe8eddf0d5: Waiting [2023-03-21T07:23:28.630Z] 55522c791124: Verifying Checksum [2023-03-21T07:23:28.630Z] 55522c791124: Download complete [2023-03-21T07:23:28.630Z] 169dfbe0d373: Verifying Checksum [2023-03-21T07:23:28.630Z] 169dfbe0d373: Download complete [2023-03-21T07:23:28.630Z] e1ff8fa3b103: Verifying Checksum [2023-03-21T07:23:28.630Z] e1ff8fa3b103: Download complete [2023-03-21T07:23:28.915Z] af6eaf76a39c: Verifying Checksum [2023-03-21T07:23:28.915Z] af6eaf76a39c: Download complete [2023-03-21T07:23:29.899Z] af6eaf76a39c: Pull complete [2023-03-21T07:23:30.171Z] 5abe8eddf0d5: Verifying Checksum [2023-03-21T07:23:30.171Z] 5abe8eddf0d5: Download complete [2023-03-21T07:23:30.443Z] 55522c791124: Pull complete [2023-03-21T07:23:31.421Z] ce5c4a1c91eb: Verifying Checksum [2023-03-21T07:23:31.421Z] ce5c4a1c91eb: Download complete [2023-03-21T07:23:31.695Z] 52ebb69f0ebf: Verifying Checksum [2023-03-21T07:23:31.695Z] 52ebb69f0ebf: Download complete [2023-03-21T07:23:44.035Z] ce5c4a1c91eb: Pull complete [2023-03-21T07:23:44.035Z] 169dfbe0d373: Pull complete [2023-03-21T07:23:44.035Z] e1ff8fa3b103: Pull complete [2023-03-21T07:23:50.921Z] 52ebb69f0ebf: Pull complete [2023-03-21T07:23:52.368Z] 5abe8eddf0d5: Pull complete [2023-03-21T07:23:52.368Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-21T07:23:52.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-21T07:23:52.368Z] ---> 6cb57ee374ae [2023-03-21T07:23:52.368Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-21T07:23:54.323Z] ---> Running in 2f4de0331f40 [2023-03-21T07:23:54.323Z] Removing intermediate container 2f4de0331f40 [2023-03-21T07:23:54.323Z] ---> 69007530b865 [2023-03-21T07:23:54.323Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T07:23:54.323Z] ---> Running in f4a36b8f397b [2023-03-21T07:23:54.908Z] Removing intermediate container f4a36b8f397b [2023-03-21T07:23:54.908Z] ---> fecaf9c1645f [2023-03-21T07:23:54.908Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-21T07:23:54.908Z] ---> Running in 674fe3366b4d [2023-03-21T07:23:55.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T07:23:56.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T07:23:58.244Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-03-21T07:23:58.244Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-03-21T07:23:58.244Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-03-21T07:23:58.244Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-03-21T07:23:58.244Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-03-21T07:23:58.244Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-03-21T07:23:58.244Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-03-21T07:23:58.244Z] (8/8) Installing openssh (9.1_p1-r2) [2023-03-21T07:23:58.244Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T07:23:58.244Z] OK: 270 MiB in 61 packages [2023-03-21T07:23:59.216Z] Removing intermediate container 674fe3366b4d [2023-03-21T07:23:59.216Z] ---> b8077ec1f5a6 [2023-03-21T07:23:59.216Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-21T07:23:59.216Z] ---> Running in 50c158ab664c [2023-03-21T07:23:59.800Z] Removing intermediate container 50c158ab664c [2023-03-21T07:23:59.800Z] ---> 32d7b72415ac [2023-03-21T07:23:59.800Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-21T07:24:00.067Z] ---> a82b51ff13db [2023-03-21T07:24:00.067Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T07:24:00.067Z] ---> Running in 133086ae97e8 [2023-03-21T07:25:07.939Z] Removing intermediate container 133086ae97e8 [2023-03-21T07:25:07.939Z] ---> ac42520c8f8c [2023-03-21T07:25:07.939Z] Step 9/10 : COPY . . [2023-03-21T07:25:07.939Z] ---> f41b6ce369b9 [2023-03-21T07:25:07.939Z] Step 10/10 : RUN ${MAKE} [2023-03-21T07:25:07.939Z] ---> Running in 638ade4b4fb6 [2023-03-21T07:25:07.939Z] noop [2023-03-21T07:25:07.939Z] Removing intermediate container 638ade4b4fb6 [2023-03-21T07:25:07.939Z] ---> dd847d6d93b0 [2023-03-21T07:25:07.939Z] Successfully built dd847d6d93b0 [2023-03-21T07:25:07.939Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:25:08.302Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T07:25:08.302Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T07:25:08.529Z] prd-ubuntu20.04-docker-arm64-4c-16g-4764 does not seem to be running inside a container [2023-03-21T07:25:08.606Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/86 -v /w/workspace/device-modbus-go/86:/w/workspace/device-modbus-go/86:rw,z -v /w/workspace/device-modbus-go/86@tmp:/w/workspace/device-modbus-go/86@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T07:25:09.848Z] $ docker top 84065bd720e55298e434dbead4b6077e46893bf1c5f49d3909429d8c0e254041 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T07:25:10.698Z] + go version [2023-03-21T07:25:10.698Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-21T07:25:10.712Z] $ docker stop --time=1 84065bd720e55298e434dbead4b6077e46893bf1c5f49d3909429d8c0e254041 [2023-03-21T07:25:12.368Z] $ docker rm -f --volumes 84065bd720e55298e434dbead4b6077e46893bf1c5f49d3909429d8c0e254041 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:25:12.910Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T07:25:12.910Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T07:25:13.096Z] prd-ubuntu20.04-docker-arm64-4c-16g-4764 does not seem to be running inside a container [2023-03-21T07:25:13.162Z] $ 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/86 -v /w/workspace/device-modbus-go/86:/w/workspace/device-modbus-go/86:rw,z -v /w/workspace/device-modbus-go/86@tmp:/w/workspace/device-modbus-go/86@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T07:25:14.313Z] $ docker top 338b1ec42e61fde0669b0d9a98a53af314b1f849205689fe23b4b413ddd4699c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T07:25:15.153Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/86 [Pipeline] fileExists [Pipeline] sh [2023-03-21T07:25:15.803Z] + make test [2023-03-21T07:25:15.803Z] go test ./... -coverprofile=coverage.out [2023-03-21T07:25:54.698Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-21T07:28:01.393Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-03-21T07:28:01.393Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.074s coverage: 48.0% of statements [2023-03-21T07:28:01.393Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-21T07:28:01.393Z] go vet ./... [2023-03-21T07:28:28.103Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T07:28:28.103Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T07:28:28.103Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T07:28:28.119Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T07:28:28.121Z] $ docker stop --time=1 338b1ec42e61fde0669b0d9a98a53af314b1f849205689fe23b4b413ddd4699c [2023-03-21T07:28:29.984Z] $ docker rm -f --volumes 338b1ec42e61fde0669b0d9a98a53af314b1f849205689fe23b4b413ddd4699c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T07:28:31.210Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T07:28:31.237Z] Warning: overwriting stash ‘coverage-report’ [2023-03-21T07:28:31.786Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T07:28:32.188Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T07:28:32.514Z] + ls -al . [2023-03-21T07:28:32.514Z] total 176 [2023-03-21T07:28:32.514Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 07:25 . [2023-03-21T07:28:32.514Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 07:22 .. [2023-03-21T07:28:32.514Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 07:22 .dockerignore [2023-03-21T07:28:32.514Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 07:22 .git [2023-03-21T07:28:32.514Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:22 .github [2023-03-21T07:28:32.514Z] -rw-rw-r-- 1 jenkins jenkins 331 Mar 21 07:22 .gitignore [2023-03-21T07:28:32.514Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 07:22 .golangci.yml [2023-03-21T07:28:32.514Z] -rw-rw-r-- 1 jenkins jenkins 10236 Mar 21 07:22 Attribution.txt [2023-03-21T07:28:32.514Z] -rw-rw-r-- 1 jenkins jenkins 11576 Mar 21 07:22 CHANGELOG.md [2023-03-21T07:28:32.514Z] -rw-rw-r-- 1 jenkins jenkins 1365 Mar 21 07:22 Dockerfile [2023-03-21T07:28:32.514Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 07:22 GOVERNANCE.md [2023-03-21T07:28:32.514Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 07:22 Jenkinsfile [2023-03-21T07:28:32.514Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 07:22 LICENSE [2023-03-21T07:28:32.514Z] -rw-rw-r-- 1 jenkins jenkins 1705 Mar 21 07:22 Makefile [2023-03-21T07:28:32.514Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 07:22 OWNERS.md [2023-03-21T07:28:32.514Z] -rw-rw-r-- 1 jenkins jenkins 4061 Mar 21 07:22 README.md [2023-03-21T07:28:32.514Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 07:19 VERSION [2023-03-21T07:28:32.514Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 07:22 bin [2023-03-21T07:28:32.514Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:22 cmd [2023-03-21T07:28:32.514Z] -rw-r--r-- 1 jenkins jenkins 23736 Mar 21 07:27 coverage.out [2023-03-21T07:28:32.514Z] -rw-rw-r-- 1 jenkins jenkins 3497 Mar 21 07:22 go.mod [2023-03-21T07:28:32.514Z] -rw-rw-r-- 1 jenkins jenkins 31641 Mar 21 07:22 go.sum [2023-03-21T07:28:32.514Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:22 internal [2023-03-21T07:28:32.514Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 07:22 simulator [2023-03-21T07:28:32.514Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 07:22 snap [2023-03-21T07:28:32.514Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 21 07:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:28:32.858Z] + 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=82ff0da3d76fda56b8be828932abbd4e3fc098e3 --label arch=arm64 --label version=3.0.0-dev.20 . [2023-03-21T07:28:33.125Z] Sending build context to Docker daemon 3.348MB [2023-03-21T07:28:33.125Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T07:28:33.125Z] Step 2/22 : FROM ${BASE} AS builder [2023-03-21T07:28:33.125Z] ---> dd847d6d93b0 [2023-03-21T07:28:33.125Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-03-21T07:28:33.396Z] ---> Running in 69559361919b [2023-03-21T07:28:33.665Z] Removing intermediate container 69559361919b [2023-03-21T07:28:33.665Z] ---> e625ca3e8999 [2023-03-21T07:28:33.665Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T07:28:33.665Z] ---> Running in c732e798b331 [2023-03-21T07:28:33.934Z] Removing intermediate container c732e798b331 [2023-03-21T07:28:33.934Z] ---> 43fc3230d592 [2023-03-21T07:28:33.934Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-03-21T07:28:34.202Z] ---> Running in a37e60284d63 [2023-03-21T07:28:35.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T07:28:36.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T07:28:37.097Z] OK: 270 MiB in 61 packages [2023-03-21T07:28:40.445Z] Removing intermediate container a37e60284d63 [2023-03-21T07:28:40.445Z] ---> cbf9afb83e44 [2023-03-21T07:28:40.445Z] Step 6/22 : WORKDIR /device-modbus-go [2023-03-21T07:28:40.445Z] ---> Running in c1e646818c61 [2023-03-21T07:28:40.712Z] Removing intermediate container c1e646818c61 [2023-03-21T07:28:40.712Z] ---> f6e31cd0edd8 [2023-03-21T07:28:40.712Z] Step 7/22 : COPY go.mod vendor* ./ [2023-03-21T07:28:41.304Z] ---> 4a73fcca4584 [2023-03-21T07:28:41.304Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T07:28:41.304Z] ---> Running in a18e3d25161c [2023-03-21T07:28:44.656Z] Removing intermediate container a18e3d25161c [2023-03-21T07:28:44.656Z] ---> 4fee6f8d5479 [2023-03-21T07:28:44.656Z] Step 9/22 : COPY . . [2023-03-21T07:28:45.243Z] ---> d68d87570c7a [2023-03-21T07:28:45.243Z] Step 10/22 : RUN ${MAKE} [2023-03-21T07:28:45.243Z] ---> Running in 801a935bb16f [2023-03-21T07:28:46.211Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.20" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-03-21T07:31:07.950Z] Removing intermediate container 801a935bb16f [2023-03-21T07:31:07.950Z] ---> 24f817d5723b [2023-03-21T07:31:07.950Z] Step 11/22 : FROM alpine:3.17 [2023-03-21T07:31:07.950Z] 3.17: Pulling from library/alpine [2023-03-21T07:31:07.950Z] af6eaf76a39c: Already exists [2023-03-21T07:31:07.950Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T07:31:07.950Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T07:31:07.950Z] ---> d74e625d9115 [2023-03-21T07:31:07.950Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-03-21T07:31:07.950Z] ---> Running in a09b94eeb3d3 [2023-03-21T07:31:07.950Z] Removing intermediate container a09b94eeb3d3 [2023-03-21T07:31:07.950Z] ---> 211d0f4e1f48 [2023-03-21T07:31:07.950Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-03-21T07:31:07.950Z] ---> Running in 713e6945a2ad [2023-03-21T07:31:07.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T07:31:07.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T07:31:09.382Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-21T07:31:09.382Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T07:31:09.382Z] OK: 8 MiB in 16 packages [2023-03-21T07:31:10.354Z] Removing intermediate container 713e6945a2ad [2023-03-21T07:31:10.354Z] ---> ce0970bd0dc5 [2023-03-21T07:31:10.354Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-03-21T07:31:11.770Z] ---> 48e46418f9d9 [2023-03-21T07:31:11.770Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-03-21T07:31:12.038Z] ---> b98732a7e2da [2023-03-21T07:31:12.038Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-03-21T07:31:12.622Z] ---> 76ec9e1cae3d [2023-03-21T07:31:12.622Z] Step 17/22 : EXPOSE 59901 [2023-03-21T07:31:12.622Z] ---> Running in baf8358388c4 [2023-03-21T07:31:12.890Z] Removing intermediate container baf8358388c4 [2023-03-21T07:31:12.890Z] ---> e4050f90e0c9 [2023-03-21T07:31:12.890Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-03-21T07:31:13.156Z] ---> Running in d7f22a32f13b [2023-03-21T07:31:13.423Z] Removing intermediate container d7f22a32f13b [2023-03-21T07:31:13.423Z] ---> 725bdc7cce1d [2023-03-21T07:31:13.423Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-21T07:31:13.423Z] ---> Running in 98a2f38110cc [2023-03-21T07:31:13.691Z] Removing intermediate container 98a2f38110cc [2023-03-21T07:31:13.691Z] ---> bfec94674d95 [2023-03-21T07:31:13.691Z] Step 20/22 : LABEL arch=arm64 [2023-03-21T07:31:13.691Z] ---> Running in a2725f25bdb2 [2023-03-21T07:31:13.957Z] Removing intermediate container a2725f25bdb2 [2023-03-21T07:31:13.957Z] ---> c094a297b255 [2023-03-21T07:31:13.957Z] Step 21/22 : LABEL git_sha=82ff0da3d76fda56b8be828932abbd4e3fc098e3 [2023-03-21T07:31:13.957Z] ---> Running in 319288ff81dd [2023-03-21T07:31:14.227Z] Removing intermediate container 319288ff81dd [2023-03-21T07:31:14.227Z] ---> e00445e6bf3d [2023-03-21T07:31:14.227Z] Step 22/22 : LABEL version=3.0.0-dev.20 [2023-03-21T07:31:14.501Z] ---> Running in 718381c8cd60 [2023-03-21T07:31:14.770Z] Removing intermediate container 718381c8cd60 [2023-03-21T07:31:14.770Z] ---> ca8bcb990f47 [2023-03-21T07:31:14.770Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T07:31:14.770Z] Successfully built ca8bcb990f47 [2023-03-21T07:31:14.770Z] 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-03-21T07:31:14.878Z] provisioning config files... [2023-03-21T07:31:14.893Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/86@tmp/config425332952159054344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T07:31:15.244Z] ---> docker-login.sh [2023-03-21T07:31:15.244Z] nexus3.edgexfoundry.org:10001 [2023-03-21T07:31:15.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:31:15.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:31:15.509Z] Configure a credential helper to remove this warning. See [2023-03-21T07:31:15.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:31:15.509Z] [2023-03-21T07:31:15.509Z] Login Succeeded [2023-03-21T07:31:15.509Z] nexus3.edgexfoundry.org:10002 [2023-03-21T07:31:15.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:31:15.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:31:15.776Z] Configure a credential helper to remove this warning. See [2023-03-21T07:31:15.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:31:15.776Z] [2023-03-21T07:31:15.776Z] Login Succeeded [2023-03-21T07:31:15.776Z] nexus3.edgexfoundry.org:10003 [2023-03-21T07:31:16.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:31:16.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:31:16.307Z] Configure a credential helper to remove this warning. See [2023-03-21T07:31:16.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:31:16.307Z] [2023-03-21T07:31:16.307Z] Login Succeeded [2023-03-21T07:31:16.307Z] nexus3.edgexfoundry.org:10004 [2023-03-21T07:31:16.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:31:16.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:31:16.573Z] Configure a credential helper to remove this warning. See [2023-03-21T07:31:16.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:31:16.573Z] [2023-03-21T07:31:16.573Z] Login Succeeded [2023-03-21T07:31:16.573Z] docker.io [2023-03-21T07:31:16.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:31:17.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:31:17.103Z] Configure a credential helper to remove this warning. See [2023-03-21T07:31:17.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:31:17.103Z] [2023-03-21T07:31:17.103Z] Login Succeeded [2023-03-21T07:31:17.103Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T07:31:17.115Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-21T07:31:17.141Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T07:31:17.155Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-03-21T07:31:17.155Z] 82ff0da3d76fda56b8be828932abbd4e3fc098e3 [2023-03-21T07:31:17.155Z] latest [2023-03-21T07:31:17.155Z] 3.0.0-dev.20 [2023-03-21T07:31:17.155Z] 82ff0da3d76fda56b8be828932abbd4e3fc098e3-3.0.0-dev.20 [2023-03-21T07:31:17.155Z] main [2023-03-21T07:31:17.155Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:31:17.488Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:82ff0da3d76fda56b8be828932abbd4e3fc098e3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:31:17.822Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:82ff0da3d76fda56b8be828932abbd4e3fc098e3 [2023-03-21T07:31:17.822Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-21T07:31:17.822Z] 1895e5f3edbf: Preparing [2023-03-21T07:31:17.822Z] 061488ab47f8: Preparing [2023-03-21T07:31:17.822Z] 7878bbbb0e5a: Preparing [2023-03-21T07:31:17.822Z] 1ec4b2feb319: Preparing [2023-03-21T07:31:17.822Z] edf70074bd40: Preparing [2023-03-21T07:31:17.822Z] edf70074bd40: Layer already exists [2023-03-21T07:31:18.091Z] 1ec4b2feb319: Pushed [2023-03-21T07:31:18.091Z] 061488ab47f8: Pushed [2023-03-21T07:31:18.091Z] 1895e5f3edbf: Pushed [2023-03-21T07:31:23.433Z] 7878bbbb0e5a: Pushed [2023-03-21T07:31:23.433Z] 82ff0da3d76fda56b8be828932abbd4e3fc098e3: digest: sha256:f65fb91edbcd49937010588b7659eacd16df70ab8b989d3749f91960d50e4cbf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:31:23.791Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:31:24.127Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-03-21T07:31:24.127Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-21T07:31:24.127Z] 1895e5f3edbf: Preparing [2023-03-21T07:31:24.127Z] 061488ab47f8: Preparing [2023-03-21T07:31:24.127Z] 7878bbbb0e5a: Preparing [2023-03-21T07:31:24.127Z] 1ec4b2feb319: Preparing [2023-03-21T07:31:24.127Z] edf70074bd40: Preparing [2023-03-21T07:31:24.127Z] edf70074bd40: Layer already exists [2023-03-21T07:31:24.127Z] 1895e5f3edbf: Layer already exists [2023-03-21T07:31:24.127Z] 7878bbbb0e5a: Layer already exists [2023-03-21T07:31:24.127Z] 061488ab47f8: Layer already exists [2023-03-21T07:31:24.127Z] 1ec4b2feb319: Layer already exists [2023-03-21T07:31:24.127Z] latest: digest: sha256:f65fb91edbcd49937010588b7659eacd16df70ab8b989d3749f91960d50e4cbf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:31:24.742Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:31:25.078Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.20 [2023-03-21T07:31:25.078Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-21T07:31:25.078Z] 1895e5f3edbf: Preparing [2023-03-21T07:31:25.078Z] 061488ab47f8: Preparing [2023-03-21T07:31:25.078Z] 7878bbbb0e5a: Preparing [2023-03-21T07:31:25.078Z] 1ec4b2feb319: Preparing [2023-03-21T07:31:25.078Z] edf70074bd40: Preparing [2023-03-21T07:31:25.078Z] edf70074bd40: Layer already exists [2023-03-21T07:31:25.078Z] 1895e5f3edbf: Layer already exists [2023-03-21T07:31:25.078Z] 7878bbbb0e5a: Layer already exists [2023-03-21T07:31:25.078Z] 061488ab47f8: Layer already exists [2023-03-21T07:31:25.078Z] 1ec4b2feb319: Layer already exists [2023-03-21T07:31:25.078Z] 3.0.0-dev.20: digest: sha256:f65fb91edbcd49937010588b7659eacd16df70ab8b989d3749f91960d50e4cbf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:31:25.694Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:82ff0da3d76fda56b8be828932abbd4e3fc098e3-3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:31:26.034Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:82ff0da3d76fda56b8be828932abbd4e3fc098e3-3.0.0-dev.20 [2023-03-21T07:31:26.034Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-21T07:31:26.034Z] 1895e5f3edbf: Preparing [2023-03-21T07:31:26.034Z] 061488ab47f8: Preparing [2023-03-21T07:31:26.034Z] 7878bbbb0e5a: Preparing [2023-03-21T07:31:26.034Z] 1ec4b2feb319: Preparing [2023-03-21T07:31:26.034Z] edf70074bd40: Preparing [2023-03-21T07:31:26.034Z] 1ec4b2feb319: Layer already exists [2023-03-21T07:31:26.034Z] 1895e5f3edbf: Layer already exists [2023-03-21T07:31:26.034Z] 7878bbbb0e5a: Layer already exists [2023-03-21T07:31:26.034Z] edf70074bd40: Layer already exists [2023-03-21T07:31:26.034Z] 061488ab47f8: Layer already exists [2023-03-21T07:31:26.034Z] 82ff0da3d76fda56b8be828932abbd4e3fc098e3-3.0.0-dev.20: digest: sha256:f65fb91edbcd49937010588b7659eacd16df70ab8b989d3749f91960d50e4cbf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:31:26.380Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:31:26.721Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-03-21T07:31:26.722Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-21T07:31:26.722Z] 1895e5f3edbf: Preparing [2023-03-21T07:31:26.722Z] 061488ab47f8: Preparing [2023-03-21T07:31:26.722Z] 7878bbbb0e5a: Preparing [2023-03-21T07:31:26.722Z] 1ec4b2feb319: Preparing [2023-03-21T07:31:26.722Z] edf70074bd40: Preparing [2023-03-21T07:31:26.722Z] edf70074bd40: Layer already exists [2023-03-21T07:31:26.722Z] 1895e5f3edbf: Layer already exists [2023-03-21T07:31:26.722Z] 7878bbbb0e5a: Layer already exists [2023-03-21T07:31:26.722Z] 061488ab47f8: Layer already exists [2023-03-21T07:31:26.722Z] 1ec4b2feb319: Layer already exists [2023-03-21T07:31:26.722Z] main: digest: sha256:f65fb91edbcd49937010588b7659eacd16df70ab8b989d3749f91960d50e4cbf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-21T07:31:27.043Z] ===================================================== [Pipeline] echo [2023-03-21T07:31:27.051Z] taggedImages: [2023-03-21T07:31:27.051Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:82ff0da3d76fda56b8be828932abbd4e3fc098e3 [2023-03-21T07:31:27.051Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-03-21T07:31:27.051Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.20 [2023-03-21T07:31:27.051Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:82ff0da3d76fda56b8be828932abbd4e3fc098e3-3.0.0-dev.20 [2023-03-21T07:31:27.051Z] - 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-03-21T07:31:27.401Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T07:31:27.401Z] [2023-03-21T07:31:27.401Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:31:27.730Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T07:31:27.730Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-21T07:31:27.730Z] 8998bd30e6a1: Pulling fs layer [2023-03-21T07:31:27.730Z] 04944245beec: Pulling fs layer [2023-03-21T07:31:27.730Z] 699f458cf7ca: Pulling fs layer [2023-03-21T07:31:27.730Z] 765212b225bb: Pulling fs layer [2023-03-21T07:31:27.730Z] f23df028b6ca: Pulling fs layer [2023-03-21T07:31:27.730Z] d65c8cfc05b1: Pulling fs layer [2023-03-21T07:31:27.730Z] 2437ff75d9bd: Pulling fs layer [2023-03-21T07:31:27.730Z] 765212b225bb: Waiting [2023-03-21T07:31:27.730Z] f23df028b6ca: Waiting [2023-03-21T07:31:27.730Z] d65c8cfc05b1: Waiting [2023-03-21T07:31:27.730Z] 2437ff75d9bd: Waiting [2023-03-21T07:31:27.997Z] 04944245beec: Verifying Checksum [2023-03-21T07:31:27.997Z] 04944245beec: Download complete [2023-03-21T07:31:27.997Z] 765212b225bb: Verifying Checksum [2023-03-21T07:31:27.997Z] 765212b225bb: Download complete [2023-03-21T07:31:27.997Z] f23df028b6ca: Verifying Checksum [2023-03-21T07:31:27.997Z] f23df028b6ca: Download complete [2023-03-21T07:31:27.997Z] d65c8cfc05b1: Verifying Checksum [2023-03-21T07:31:27.997Z] d65c8cfc05b1: Download complete [2023-03-21T07:31:28.267Z] 699f458cf7ca: Verifying Checksum [2023-03-21T07:31:28.267Z] 699f458cf7ca: Download complete [2023-03-21T07:31:28.535Z] 8998bd30e6a1: Verifying Checksum [2023-03-21T07:31:28.535Z] 8998bd30e6a1: Download complete [2023-03-21T07:31:31.119Z] 2437ff75d9bd: Verifying Checksum [2023-03-21T07:31:31.119Z] 2437ff75d9bd: Download complete [2023-03-21T07:31:32.078Z] 8998bd30e6a1: Pull complete [2023-03-21T07:31:32.663Z] 04944245beec: Pull complete [2023-03-21T07:31:34.085Z] 699f458cf7ca: Pull complete [2023-03-21T07:31:34.352Z] 765212b225bb: Pull complete [2023-03-21T07:31:34.940Z] f23df028b6ca: Pull complete [2023-03-21T07:31:35.209Z] d65c8cfc05b1: Pull complete [2023-03-21T07:31:50.209Z] 2437ff75d9bd: Pull complete [2023-03-21T07:31:50.209Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-21T07:31:50.209Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T07:31:50.209Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T07:31:50.419Z] prd-ubuntu20.04-docker-arm64-4c-16g-4764 does not seem to be running inside a container [2023-03-21T07:31:50.486Z] $ 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/86 -v /w/workspace/device-modbus-go/86:/w/workspace/device-modbus-go/86:rw,z -v /w/workspace/device-modbus-go/86@tmp:/w/workspace/device-modbus-go/86@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-21T07:31:53.174Z] $ docker top 86a2a233090c412c028a09caa1c5662d5bdb04bc0b2048cf5307c4f81502b6cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T07:31:54.034Z] ---> job-cost.sh [2023-03-21T07:31:54.034Z] lf-activate-venv: SKIPPING [2023-03-21T07:31:54.034Z] INFO: No Stack... [2023-03-21T07:31:54.302Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-21T07:31:55.263Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T07:31:55.902Z] + cut -d, -f6 [2023-03-21T07:31:55.902Z] + cat /w/workspace/device-modbus-go/86/archives/cost.csv [Pipeline] lock [2023-03-21T07:31:55.940Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-86-stack-cost] [2023-03-21T07:31:55.948Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-86-stack-cost] did not exist. Created. [2023-03-21T07:31:55.948Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-86-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T07:31:56.604Z] /w/workspace/device-modbus-go/86@tmp/durable-f1a0deb6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-21T07:31:57.257Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-21T07:31:57.278Z] Warning: overwriting stash ‘stack-cost’ [2023-03-21T07:31:57.328Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T07:31:57.337Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-86-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T07:31:57.345Z] $ docker stop --time=1 86a2a233090c412c028a09caa1c5662d5bdb04bc0b2048cf5307c4f81502b6cc [2023-03-21T07:31:58.888Z] $ docker rm -f --volumes 86a2a233090c412c028a09caa1c5662d5bdb04bc0b2048cf5307c4f81502b6cc [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-03-21T07:31:59.300Z] provisioning config files... [2023-03-21T07:31:59.308Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5665103138801124347tmp [Pipeline] { [Pipeline] sh [2023-03-21T07:31:59.602Z] + set +x [2023-03-21T07:31:59.602Z] + curl -s https://codecov.io/bash [2023-03-21T07:31:59.602Z] + bash -s -- [2023-03-21T07:31:59.602Z] [2023-03-21T07:31:59.602Z] _____ _ [2023-03-21T07:31:59.602Z] / ____| | | [2023-03-21T07:31:59.602Z] | | ___ __| | ___ ___ _____ __ [2023-03-21T07:31:59.602Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-21T07:31:59.602Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-21T07:31:59.602Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-21T07:31:59.602Z] Bash-1.0.6 [2023-03-21T07:31:59.602Z] [2023-03-21T07:31:59.602Z] [2023-03-21T07:31:59.602Z] ==> git version 2.25.1 found [2023-03-21T07:31:59.602Z] ==> 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-03-21T07:31:59.602Z] Release-Date: 2020-01-08 [2023-03-21T07:31:59.602Z] 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-03-21T07:31:59.602Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-21T07:31:59.602Z] ==> Jenkins CI detected. [2023-03-21T07:31:59.602Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-03-21T07:31:59.602Z] project root: . [2023-03-21T07:31:59.602Z] --> token set from env [2023-03-21T07:31:59.603Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-21T07:31:59.603Z] ==> Running gcov in . (disable via -X gcov) [2023-03-21T07:31:59.603Z] ==> Python coveragepy not found [2023-03-21T07:31:59.603Z] ==> Searching for coverage reports in: [2023-03-21T07:31:59.603Z] + . [2023-03-21T07:31:59.603Z] -> Found 1 reports [2023-03-21T07:31:59.603Z] ==> Detecting git/mercurial file structure [2023-03-21T07:31:59.603Z] ==> Reading reports [2023-03-21T07:31:59.862Z] + ./coverage.out bytes=23736 [2023-03-21T07:31:59.862Z] ==> Appending adjustments [2023-03-21T07:31:59.862Z] https://docs.codecov.io/docs/fixing-reports [2023-03-21T07:31:59.862Z] + Found adjustments [2023-03-21T07:31:59.862Z] ==> Gzipping contents [2023-03-21T07:31:59.862Z] 4.0K /tmp/codecov.9W7rnS.gz [2023-03-21T07:31:59.862Z] ==> Uploading reports [2023-03-21T07:31:59.862Z] url: https://codecov.io [2023-03-21T07:31:59.862Z] query: branch=main&commit=82ff0da3d76fda56b8be828932abbd4e3fc098e3&build=86&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F86%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-21T07:31:59.862Z] -> Pinging Codecov [2023-03-21T07:31:59.862Z] 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=82ff0da3d76fda56b8be828932abbd4e3fc098e3&build=86&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F86%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-21T07:32:00.121Z] -> Uploading to [2023-03-21T07:32:00.121Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-21/55DBCA73C666E3227836607328DD7E49/82ff0da3d76fda56b8be828932abbd4e3fc098e3/0fbf8958-cbe6-4bd5-8b60-e1f926f120d6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T073159Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ee9f9ba6346ffbb5a7ab053bddf0bcf8de0cc5298c8bb380c41348f566eaae21 [2023-03-21T07:32:00.121Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T07:32:00.121Z] Dload Upload Total Spent Left Speed [2023-03-21T07:32:00.380Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3909 0 0 100 3909 0 18614 --:--:-- --:--:-- --:--:-- 18614 100 3909 0 0 100 3909 0 12816 --:--:-- --:--:-- --:--:-- 12774 [2023-03-21T07:32:00.380Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/82ff0da3d76fda56b8be828932abbd4e3fc098e3 [Pipeline] } [2023-03-21T07:32:00.388Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-21T07:32:00.599Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-21T07:32:00.608Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:32:00.936Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-21T07:32:00.936Z] [2023-03-21T07:32:00.936Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:32:01.248Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-21T07:32:01.514Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-21T07:32:01.514Z] df9b9388f04a: Pulling fs layer [2023-03-21T07:32:01.514Z] 52dc419b0ee2: Pulling fs layer [2023-03-21T07:32:01.514Z] 25bc292e5bac: Pulling fs layer [2023-03-21T07:32:01.514Z] 114826534d7a: Pulling fs layer [2023-03-21T07:32:01.514Z] 4657fd5d0bcf: Pulling fs layer [2023-03-21T07:32:01.514Z] 114826534d7a: Waiting [2023-03-21T07:32:01.514Z] 6ad1cebc031e: Pulling fs layer [2023-03-21T07:32:01.514Z] 8a3aa393b2d8: Pulling fs layer [2023-03-21T07:32:01.514Z] 4657fd5d0bcf: Waiting [2023-03-21T07:32:01.514Z] 6ad1cebc031e: Waiting [2023-03-21T07:32:01.514Z] 25bc292e5bac: Download complete [2023-03-21T07:32:01.514Z] 52dc419b0ee2: Download complete [2023-03-21T07:32:01.774Z] 4657fd5d0bcf: Verifying Checksum [2023-03-21T07:32:01.774Z] 4657fd5d0bcf: Download complete [2023-03-21T07:32:01.774Z] df9b9388f04a: Download complete [2023-03-21T07:32:02.038Z] 6ad1cebc031e: Download complete [2023-03-21T07:32:02.038Z] df9b9388f04a: Pull complete [2023-03-21T07:32:02.607Z] 114826534d7a: Verifying Checksum [2023-03-21T07:32:02.607Z] 114826534d7a: Download complete [2023-03-21T07:32:02.607Z] 52dc419b0ee2: Pull complete [2023-03-21T07:32:02.865Z] 8a3aa393b2d8: Verifying Checksum [2023-03-21T07:32:02.865Z] 8a3aa393b2d8: Download complete [2023-03-21T07:32:03.438Z] 25bc292e5bac: Pull complete [2023-03-21T07:32:07.746Z] 114826534d7a: Pull complete [2023-03-21T07:32:07.746Z] 4657fd5d0bcf: Pull complete [2023-03-21T07:32:08.311Z] 6ad1cebc031e: Pull complete [2023-03-21T07:32:11.625Z] 8a3aa393b2d8: Pull complete [2023-03-21T07:32:11.892Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-21T07:32:11.892Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-21T07:32:11.892Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T07:32:11.981Z] prd-ubuntu20.04-docker-8c-8g-4761 does not seem to be running inside a container [2023-03-21T07:32:12.016Z] $ 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-03-21T07:32:21.454Z] $ docker top bc476f4f5191a37df3b529a064a8a5fbaa84ffad166adf373b9ecfb61630d97f -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-21T07:32:21.527Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-03-21T07:32:21.811Z] + set -o pipefail [2023-03-21T07:32:21.811Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-03-21T07:32:27.080Z] [2023-03-21T07:32:27.080Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-03-21T07:32:27.080Z] [2023-03-21T07:32:27.080Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/4f0a7254-48e2-45eb-8b55-99e822aa7d0c [2023-03-21T07:32:27.080Z] [2023-03-21T07:32:27.080Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-03-21T07:32:27.080Z] [2023-03-21T07:32:27.080Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-03-21T07:32:27.080Z] [2023-03-21T07:32:27.080Z] [2023-03-21T07:32:27.080Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-03-21T07:32:27.081Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-03-21T07:32:27.081Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-03-21T07:32:27.199Z] $ docker stop --time=1 bc476f4f5191a37df3b529a064a8a5fbaa84ffad166adf373b9ecfb61630d97f [2023-03-21T07:32:33.792Z] $ docker rm -f --volumes bc476f4f5191a37df3b529a064a8a5fbaa84ffad166adf373b9ecfb61630d97f [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-03-21T07:32:34.571Z] + git log --format=format:%s -1 82ff0da3d76fda56b8be828932abbd4e3fc098e3 [Pipeline] sh [2023-03-21T07:32:34.867Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T07:32:34.867Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:32:35.169Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T07:32:35.169Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T07:32:35.235Z] prd-ubuntu20.04-docker-8c-8g-4761 does not seem to be running inside a container [2023-03-21T07:32:35.265Z] $ 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-03-21T07:32:35.752Z] $ docker top a1854e4cae0ca1f2e62e41bd09dde7ea0e4c157e31f50115fa1da2410e196896 -eo pid,comm [2023-03-21T07:32:35.805Z] 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-03-21T07:32:35.805Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T07:32:35.847Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T07:32:35.847Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T07:32:35.970Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T07:32:35.969Z] $ docker exec a1854e4cae0ca1f2e62e41bd09dde7ea0e4c157e31f50115fa1da2410e196896 ssh-agent [2023-03-21T07:32:36.084Z] SSH_AUTH_SOCK=/tmp/ssh-RCeZzoKBCm80/agent.32 [2023-03-21T07:32:36.084Z] SSH_AGENT_PID=38 [2023-03-21T07:32:36.090Z] Running ssh-add (command line suppressed) [2023-03-21T07:32:36.185Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5475659587431510184.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5475659587431510184.key) [2023-03-21T07:32:36.200Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T07:32:36.489Z] + git semver tag [2023-03-21T07:32:36.748Z] 2023-03-21 07:32:36,663 [run_tag] DEBUG tag force:False [2023-03-21T07:32:36.749Z] 2023-03-21 07:32:36,663 [check_head_tag] DEBUG check head tag [2023-03-21T07:32:36.749Z] 2023-03-21 07:32:36,664 [execute] INFO git cat-file --batch-check [2023-03-21T07:32:36.749Z] 2023-03-21 07:32:36,664 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-03-21T07:32:36.749Z] 2023-03-21 07:32:36,667 [execute] INFO git cat-file --batch [2023-03-21T07:32:36.749Z] 2023-03-21 07:32:36,667 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-03-21T07:32:36.749Z] 2023-03-21 07:32:36,689 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-21T07:32:36.749Z] 2023-03-21 07:32:36,689 [execute] INFO git tag -a v3.0.0-dev.20 -m v3.0.0-dev.20 [2023-03-21T07:32:36.749Z] 2023-03-21 07:32:36,689 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.20', '-m', 'v3.0.0-dev.20'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-21T07:32:36.749Z] 2023-03-21 07:32:36,694 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-21T07:32:36.749Z] 3.0.0-dev.20 [Pipeline] } [2023-03-21T07:32:36.756Z] $ docker exec --env ******** --env ******** a1854e4cae0ca1f2e62e41bd09dde7ea0e4c157e31f50115fa1da2410e196896 ssh-agent -k [2023-03-21T07:32:36.845Z] unset SSH_AUTH_SOCK; [2023-03-21T07:32:36.845Z] unset SSH_AGENT_PID; [2023-03-21T07:32:36.845Z] echo Agent pid 38 killed; [2023-03-21T07:32:36.860Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T07:32:37.167Z] + git semver [Pipeline] } [2023-03-21T07:32:37.439Z] $ docker stop --time=1 a1854e4cae0ca1f2e62e41bd09dde7ea0e4c157e31f50115fa1da2410e196896 [2023-03-21T07:32:38.734Z] $ docker rm -f --volumes a1854e4cae0ca1f2e62e41bd09dde7ea0e4c157e31f50115fa1da2410e196896 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:32:39.152Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-21T07:32:39.153Z] [2023-03-21T07:32:39.153Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:32:39.452Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-21T07:32:39.452Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-03-21T07:32:39.452Z] ab5ef0e58194: Pulling fs layer [2023-03-21T07:32:39.452Z] 9712f1f96733: Pulling fs layer [2023-03-21T07:32:39.452Z] 63f879dbbcfc: Pulling fs layer [2023-03-21T07:32:39.452Z] 0d9ebad4ef96: Pulling fs layer [2023-03-21T07:32:39.452Z] e9a5061849ea: Pulling fs layer [2023-03-21T07:32:39.452Z] 0d9ebad4ef96: Waiting [2023-03-21T07:32:39.452Z] d747dcd14b5f: Pulling fs layer [2023-03-21T07:32:39.452Z] e9a5061849ea: Waiting [2023-03-21T07:32:39.452Z] 2de7ff778b66: Pulling fs layer [2023-03-21T07:32:39.452Z] d747dcd14b5f: Waiting [2023-03-21T07:32:39.452Z] 9712f1f96733: Verifying Checksum [2023-03-21T07:32:39.452Z] 9712f1f96733: Download complete [2023-03-21T07:32:40.040Z] 63f879dbbcfc: Verifying Checksum [2023-03-21T07:32:40.040Z] 63f879dbbcfc: Download complete [2023-03-21T07:32:40.300Z] e9a5061849ea: Verifying Checksum [2023-03-21T07:32:40.300Z] e9a5061849ea: Download complete [2023-03-21T07:32:40.300Z] d747dcd14b5f: Download complete [2023-03-21T07:32:40.300Z] 0d9ebad4ef96: Verifying Checksum [2023-03-21T07:32:40.300Z] ab5ef0e58194: Verifying Checksum [2023-03-21T07:32:40.300Z] ab5ef0e58194: Download complete [2023-03-21T07:32:40.300Z] 2de7ff778b66: Verifying Checksum [2023-03-21T07:32:40.300Z] 2de7ff778b66: Download complete [2023-03-21T07:32:43.589Z] ab5ef0e58194: Pull complete [2023-03-21T07:32:43.589Z] 9712f1f96733: Pull complete [2023-03-21T07:32:44.159Z] 63f879dbbcfc: Pull complete [2023-03-21T07:32:48.370Z] 0d9ebad4ef96: Pull complete [2023-03-21T07:32:48.370Z] e9a5061849ea: Pull complete [2023-03-21T07:32:48.370Z] d747dcd14b5f: Pull complete [2023-03-21T07:32:49.747Z] 2de7ff778b66: Pull complete [2023-03-21T07:32:49.747Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-03-21T07:32:49.747Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-21T07:32:49.747Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T07:32:49.831Z] prd-ubuntu20.04-docker-8c-8g-4761 does not seem to be running inside a container [2023-03-21T07:32:49.859Z] $ 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-03-21T07:32:58.541Z] $ docker top a6390840cc941b0e474978a6a9aa22d932dc4a211be8b089da0a5aae3a999e1b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-03-21T07:32:58.617Z] provisioning config files... [2023-03-21T07:32:58.625Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4945094774684135959tmp [2023-03-21T07:32:58.634Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config366606154870437761tmp [2023-03-21T07:32:58.643Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3938810665184501594tmp [Pipeline] { [Pipeline] echo [2023-03-21T07:32:58.655Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T07:32:58.934Z] ---> sigul-configuration.sh [2023-03-21T07:32:58.934Z] gpg: directory `/root/.gnupg' created [2023-03-21T07:32:58.934Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-03-21T07:32:58.934Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-03-21T07:32:58.934Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-03-21T07:32:58.934Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-03-21T07:32:58.934Z] gpg: CAST5 encrypted data [2023-03-21T07:32:58.934Z] gpg: encrypted with 1 passphrase [2023-03-21T07:32:58.934Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-03-21T07:32:59.222Z] + mkdir /home/jenkins [2023-03-21T07:32:59.222Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-03-21T07:32:59.503Z] + 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-03-21T07:32:59.512Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T07:32:59.801Z] ---> sigul-install.sh [2023-03-21T07:32:59.801Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-03-21T07:33:00.085Z] + git tag --list [2023-03-21T07:33:00.085Z] 0.7.1 [2023-03-21T07:33:00.085Z] v1.0.0 [2023-03-21T07:33:00.085Z] v1.1.0 [2023-03-21T07:33:00.085Z] v1.1.1 [2023-03-21T07:33:00.085Z] v1.2.2 [2023-03-21T07:33:00.085Z] v1.3.0 [2023-03-21T07:33:00.085Z] v1.3.1 [2023-03-21T07:33:00.085Z] v2.0.0 [2023-03-21T07:33:00.085Z] v2.1.0 [2023-03-21T07:33:00.085Z] v2.1.1 [2023-03-21T07:33:00.085Z] v2.1.1-dev.1 [2023-03-21T07:33:00.085Z] v2.1.1-dev.2 [2023-03-21T07:33:00.085Z] v2.1.1-dev.3 [2023-03-21T07:33:00.085Z] v2.2.0 [2023-03-21T07:33:00.085Z] v2.2.1-dev.1 [2023-03-21T07:33:00.085Z] v2.2.1-dev.2 [2023-03-21T07:33:00.085Z] v2.2.1-dev.3 [2023-03-21T07:33:00.085Z] v2.2.1-dev.4 [2023-03-21T07:33:00.085Z] v2.2.1-dev.5 [2023-03-21T07:33:00.085Z] v2.2.1-dev.6 [2023-03-21T07:33:00.085Z] v2.2.1-dev.7 [2023-03-21T07:33:00.085Z] v2.3.0 [2023-03-21T07:33:00.085Z] v2.3.0-dev.10 [2023-03-21T07:33:00.085Z] v2.3.0-dev.11 [2023-03-21T07:33:00.085Z] v2.3.0-dev.12 [2023-03-21T07:33:00.085Z] v2.3.0-dev.13 [2023-03-21T07:33:00.085Z] v2.3.0-dev.14 [2023-03-21T07:33:00.085Z] v2.3.0-dev.15 [2023-03-21T07:33:00.085Z] v2.3.0-dev.16 [2023-03-21T07:33:00.085Z] v2.3.0-dev.17 [2023-03-21T07:33:00.085Z] v2.3.0-dev.18 [2023-03-21T07:33:00.085Z] v2.3.0-dev.19 [2023-03-21T07:33:00.085Z] v2.3.0-dev.20 [2023-03-21T07:33:00.085Z] v2.3.0-dev.21 [2023-03-21T07:33:00.085Z] v2.3.0-dev.22 [2023-03-21T07:33:00.085Z] v2.3.0-dev.23 [2023-03-21T07:33:00.085Z] v2.3.0-dev.24 [2023-03-21T07:33:00.085Z] v2.3.0-dev.25 [2023-03-21T07:33:00.085Z] v2.3.0-dev.7 [2023-03-21T07:33:00.085Z] v2.3.0-dev.8 [2023-03-21T07:33:00.085Z] v2.3.0-dev.9 [2023-03-21T07:33:00.085Z] v3.0.0-dev.1 [2023-03-21T07:33:00.085Z] v3.0.0-dev.10 [2023-03-21T07:33:00.085Z] v3.0.0-dev.11 [2023-03-21T07:33:00.085Z] v3.0.0-dev.12 [2023-03-21T07:33:00.085Z] v3.0.0-dev.13 [2023-03-21T07:33:00.085Z] v3.0.0-dev.14 [2023-03-21T07:33:00.085Z] v3.0.0-dev.15 [2023-03-21T07:33:00.085Z] v3.0.0-dev.16 [2023-03-21T07:33:00.085Z] v3.0.0-dev.17 [2023-03-21T07:33:00.085Z] v3.0.0-dev.18 [2023-03-21T07:33:00.085Z] v3.0.0-dev.19 [2023-03-21T07:33:00.085Z] v3.0.0-dev.2 [2023-03-21T07:33:00.085Z] v3.0.0-dev.20 [2023-03-21T07:33:00.085Z] v3.0.0-dev.3 [2023-03-21T07:33:00.085Z] v3.0.0-dev.4 [2023-03-21T07:33:00.085Z] v3.0.0-dev.5 [2023-03-21T07:33:00.085Z] v3.0.0-dev.6 [2023-03-21T07:33:00.085Z] v3.0.0-dev.7 [2023-03-21T07:33:00.085Z] v3.0.0-dev.8 [2023-03-21T07:33:00.085Z] v3.0.0-dev.9 [Pipeline] sh [2023-03-21T07:33:00.370Z] + lftools sign git-tag v3.0.0-dev.20 [2023-03-21T07:33:00.937Z] Signing Git tag with Sigul... [2023-03-21T07:33:00.937Z] Signing v3.0.0-dev.20 [Pipeline] echo [2023-03-21T07:33:01.206Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T07:33:01.488Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-03-21T07:33:01.496Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-03-21T07:33:01.508Z] $ docker stop --time=1 a6390840cc941b0e474978a6a9aa22d932dc4a211be8b089da0a5aae3a999e1b [2023-03-21T07:33:02.975Z] $ docker rm -f --volumes a6390840cc941b0e474978a6a9aa22d932dc4a211be8b089da0a5aae3a999e1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-03-21T07:33:03.393Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T07:33:03.393Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:33:03.694Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T07:33:03.694Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T07:33:03.761Z] prd-ubuntu20.04-docker-8c-8g-4761 does not seem to be running inside a container [2023-03-21T07:33:03.790Z] $ 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-03-21T07:33:04.166Z] $ docker top 147463c7d4043b2c080c5e4ce2ff418de7599ee6869e060766fe999dc6f80c39 -eo pid,comm [2023-03-21T07:33:04.224Z] 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-03-21T07:33:04.224Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T07:33:04.261Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T07:33:04.261Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T07:33:04.375Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T07:33:04.374Z] $ docker exec 147463c7d4043b2c080c5e4ce2ff418de7599ee6869e060766fe999dc6f80c39 ssh-agent [2023-03-21T07:33:04.502Z] SSH_AUTH_SOCK=/tmp/ssh-JLrF9GgYYtfy/agent.32 [2023-03-21T07:33:04.502Z] SSH_AGENT_PID=38 [2023-03-21T07:33:04.509Z] Running ssh-add (command line suppressed) [2023-03-21T07:33:04.605Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4433953619887733846.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4433953619887733846.key) [2023-03-21T07:33:04.622Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T07:33:04.905Z] + git semver bump pre [2023-03-21T07:33:05.164Z] 2023-03-21 07:33:05,155 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-21T07:33:05.164Z] 2023-03-21 07:33:05,156 [bump_version] DEBUG bumping version:3.0.0-dev.20 on axis:pre with prefix:dev [2023-03-21T07:33:05.164Z] 2023-03-21 07:33:05,156 [bump_version] DEBUG bumped version:3.0.0-dev.21 [2023-03-21T07:33:05.164Z] 2023-03-21 07:33:05,156 [write_version] DEBUG write version:3.0.0-dev.21 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-03-21T07:33:05.164Z] 2023-03-21 07:33:05,156 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-21T07:33:05.164Z] 2023-03-21 07:33:05,156 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-21T07:33:05.423Z] 2023-03-21 07:33:05,160 [execute] INFO git cat-file --batch-check [2023-03-21T07:33:05.423Z] 2023-03-21 07:33:05,160 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T07:33:05.423Z] 2023-03-21 07:33:05,166 [execute] INFO git cat-file --batch [2023-03-21T07:33:05.423Z] 2023-03-21 07:33:05,167 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T07:33:05.423Z] 2023-03-21 07:33:05,170 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-21T07:33:05.423Z] 3.0.0-dev.21 [Pipeline] } [2023-03-21T07:33:05.428Z] $ docker exec --env ******** --env ******** 147463c7d4043b2c080c5e4ce2ff418de7599ee6869e060766fe999dc6f80c39 ssh-agent -k [2023-03-21T07:33:05.542Z] unset SSH_AUTH_SOCK; [2023-03-21T07:33:05.542Z] unset SSH_AGENT_PID; [2023-03-21T07:33:05.542Z] echo Agent pid 38 killed; [2023-03-21T07:33:05.559Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T07:33:05.865Z] + git semver [Pipeline] } [2023-03-21T07:33:06.129Z] $ docker stop --time=1 147463c7d4043b2c080c5e4ce2ff418de7599ee6869e060766fe999dc6f80c39 [2023-03-21T07:33:07.448Z] $ docker rm -f --volumes 147463c7d4043b2c080c5e4ce2ff418de7599ee6869e060766fe999dc6f80c39 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T07:33:07.803Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T07:33:07.803Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:33:08.100Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T07:33:08.100Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T07:33:08.165Z] prd-ubuntu20.04-docker-8c-8g-4761 does not seem to be running inside a container [2023-03-21T07:33:08.193Z] $ 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-03-21T07:33:08.589Z] $ docker top 209c4d107fb694b0a71b8a14aec3f36772dc6418a0f780543e40d5a02ecdb1fb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T07:33:08.686Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T07:33:08.686Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T07:33:08.805Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T07:33:08.804Z] $ docker exec 209c4d107fb694b0a71b8a14aec3f36772dc6418a0f780543e40d5a02ecdb1fb ssh-agent [2023-03-21T07:33:08.924Z] SSH_AUTH_SOCK=/tmp/ssh-LJs1byCt5uEC/agent.32 [2023-03-21T07:33:08.924Z] SSH_AGENT_PID=39 [2023-03-21T07:33:08.956Z] Running ssh-add (command line suppressed) [2023-03-21T07:33:09.066Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4540634590980337424.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4540634590980337424.key) [2023-03-21T07:33:09.094Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T07:33:09.445Z] + git semver push [2023-03-21T07:33:09.707Z] 2023-03-21 07:33:09,594 [run_push] DEBUG push [2023-03-21T07:33:09.707Z] 2023-03-21 07:33:09,594 [execute] INFO git cat-file --batch-check [2023-03-21T07:33:09.707Z] 2023-03-21 07:33:09,595 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T07:33:09.707Z] 2023-03-21 07:33:09,598 [execute] INFO git rev-list 7afab5f47fd7099263b75bbb3e2d73dfcd1c76b5 -- [2023-03-21T07:33:09.707Z] 2023-03-21 07:33:09,598 [execute] DEBUG Popen(['git', 'rev-list', '7afab5f47fd7099263b75bbb3e2d73dfcd1c76b5', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-21T07:33:09.707Z] 2023-03-21 07:33:09,605 [execute] INFO git fetch -v origin [2023-03-21T07:33:09.707Z] 2023-03-21 07:33:09,606 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-03-21T07:33:10.291Z] 2023-03-21 07:33:10,090 [run_push] DEBUG no remote changes detected [2023-03-21T07:33:10.291Z] 2023-03-21 07:33:10,091 [execute] INFO git push origin semver [2023-03-21T07:33:10.291Z] 2023-03-21 07:33:10,091 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-21T07:33:11.230Z] 2023-03-21 07:33:10,948 [run_push] DEBUG push all version tags [2023-03-21T07:33:11.230Z] 2023-03-21 07:33:10,949 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-03-21T07:33:11.230Z] 2023-03-21 07:33:10,949 [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-03-21T07:33:11.797Z] 2023-03-21 07:33:11,702 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-21T07:33:11.797Z] 3.0.0-dev.21 [Pipeline] } [2023-03-21T07:33:11.802Z] $ docker exec --env ******** --env ******** 209c4d107fb694b0a71b8a14aec3f36772dc6418a0f780543e40d5a02ecdb1fb ssh-agent -k [2023-03-21T07:33:11.895Z] unset SSH_AUTH_SOCK; [2023-03-21T07:33:11.895Z] unset SSH_AGENT_PID; [2023-03-21T07:33:11.895Z] echo Agent pid 39 killed; [2023-03-21T07:33:11.913Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T07:33:12.213Z] + git semver [Pipeline] } [2023-03-21T07:33:12.479Z] $ docker stop --time=1 209c4d107fb694b0a71b8a14aec3f36772dc6418a0f780543e40d5a02ecdb1fb [2023-03-21T07:33:13.766Z] $ docker rm -f --volumes 209c4d107fb694b0a71b8a14aec3f36772dc6418a0f780543e40d5a02ecdb1fb [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-03-21T07:33:14.276Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-03-21T07:33:14.276Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-03-21T07:33:14.276Z] total 16 [2023-03-21T07:33:14.276Z] drwxr-xr-x 3 root root 4096 Mar 21 07:22 . [2023-03-21T07:33:14.276Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 07:32 .. [2023-03-21T07:33:14.276Z] drwxr-xr-x 2 root root 4096 Mar 21 07:22 cost [2023-03-21T07:33:14.276Z] -rw-r--r-- 1 root root 87 Mar 21 07:22 cost.csv [2023-03-21T07:33:14.276Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-03-21T07:33:14.276Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-03-21T07:33:14.276Z] total 16 [2023-03-21T07:33:14.276Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 07:22 . [2023-03-21T07:33:14.276Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 07:32 .. [2023-03-21T07:33:14.276Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 07:22 cost [2023-03-21T07:33:14.276Z] -rw-r--r-- 1 jenkins jenkins 87 Mar 21 07:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-21T07:33:14.565Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T07:33:15.421Z] ---> package-listing.sh [2023-03-21T07:33:15.422Z] ++ facter osfamily [2023-03-21T07:33:15.422Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-21T07:33:15.680Z] + OS_FAMILY=debian [2023-03-21T07:33:15.680Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-03-21T07:33:15.680Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-21T07:33:15.680Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-21T07:33:15.680Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-21T07:33:15.680Z] + PACKAGES=/tmp/packages_start.txt [2023-03-21T07:33:15.680Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-03-21T07:33:15.680Z] + PACKAGES=/tmp/packages_end.txt [2023-03-21T07:33:15.680Z] + case "${OS_FAMILY}" in [2023-03-21T07:33:15.680Z] + dpkg -l [2023-03-21T07:33:15.680Z] + grep '^ii' [2023-03-21T07:33:15.680Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-21T07:33:15.680Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-21T07:33:15.680Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-21T07:33:15.680Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-03-21T07:33:15.680Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-03-21T07:33:15.680Z] + 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-03-21T07:33:15.689Z] 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-03-21T07:33:15.964Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:33:16.522Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T07:33:16.522Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T07:33:16.593Z] prd-ubuntu20.04-docker-8c-8g-4761 does not seem to be running inside a container [2023-03-21T07:33:16.613Z] $ 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-03-21T07:33:16.864Z] $ docker top a71a7a28d5c04013fc392176219e092931749dc19305a65a94bc5bcecf3a03bd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T07:33:17.203Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-21T07:33:17.484Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-21T07:33:17.767Z] + ls /var/log/sa-host [2023-03-21T07:33:17.767Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T07:33:17.827Z] provisioning config files... [2023-03-21T07:33:17.835Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17897514292220740735tmp [Pipeline] { [Pipeline] echo [2023-03-21T07:33:17.848Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T07:33:18.125Z] ---> create-netrc.sh [Pipeline] } [2023-03-21T07:33:18.131Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-21T07:33:18.447Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-21T07:33:18.455Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T07:33:18.737Z] ---> sudo-logs.sh [2023-03-21T07:33:18.737Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-21T07:33:18.761Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T07:33:19.039Z] ---> job-cost.sh [2023-03-21T07:33:19.039Z] lf-activate-venv: SKIPPING [2023-03-21T07:33:19.039Z] DEBUG: total: 0.2199999988079071 [2023-03-21T07:33:19.039Z] INFO: Retrieving Stack Cost... [2023-03-21T07:33:19.296Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T07:33:19.861Z] INFO: Archiving Costs [Pipeline] echo [2023-03-21T07:33:19.869Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T07:33:20.148Z] ---> logs-deploy.sh [2023-03-21T07:33:20.148Z] lf-activate-venv: SKIPPING [2023-03-21T07:33:20.148Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/86 [2023-03-21T07:33:20.148Z] INFO: archiving workspace using pattern(s): [2023-03-21T07:33:21.082Z] Archives upload complete. [2023-03-21T07:33:21.082Z] INFO: archiving logs to Nexus