Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9b66715b8b241736f2c193df6e5011bc294930f2 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-ssh14332350130166282639.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh14161293649967444977.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh7912251904694941323.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh10130627567162635000.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-ssh934111846377424526.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-13855 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9b66715b8b241736f2c193df6e5011bc294930f2 (main) Commit message: "Merge pull request #470 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.82" > 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 9b66715b8b241736f2c193df6e5011bc294930f2 # timeout=10 > git rev-list --no-walk cd73112b4be420f4cc6f08fe0448cd2914f416aa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-05T06:26:29.636Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-05T06:26:29.690Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-05T06:26:29.707Z] ========================================================= [2023-05-05T06:26:29.707Z] EdgeX Global Pipelines Version Info [2023-05-05T06:26:29.707Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:26:30.437Z] ------------------- [2023-05-05T06:26:30.437Z] stable info: [2023-05-05T06:26:30.437Z] ------------------- [2023-05-05T06:26:30.437Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-05T06:26:30.437Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-05T06:26:30.437Z] Message: update stable to v1.0.249 [2023-05-05T06:26:31.007Z] ------------------- [2023-05-05T06:26:31.007Z] experimental info: [2023-05-05T06:26:31.007Z] ------------------- [2023-05-05T06:26:31.008Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-05T06:26:31.008Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-05T06:26:31.008Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-05T06:26:31.175Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-05-05T06:26:31.186Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-05-05T06:26:31.201Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-05T06:26:31.219Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-05T06:26:31.234Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-05T06:26:31.243Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-05T06:26:31.254Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-05T06:26:31.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-05T06:26:31.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-05T06:26:31.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-05T06:26:31.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-05T06:26:31.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-05-05T06:26:31.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-05T06:26:31.351Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-05T06:26:31.362Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-05T06:26:31.378Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-05T06:26:31.406Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-05T06:26:31.425Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-05T06:26:31.444Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-05T06:26:31.454Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-05T06:26:31.468Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-05T06:26:31.491Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-05T06:26:31.508Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-05T06:26:31.520Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-05T06:26:31.533Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-05T06:26:31.544Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-05T06:26:31.555Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-05T06:26:31.569Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-05T06:26:31.584Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-05T06:26:31.601Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-05T06:26:31.617Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b66715b8b241736f2c193df6e5011bc294930f2 [Pipeline] echo [2023-05-05T06:26:31.628Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b66715 [Pipeline] echo [2023-05-05T06:26:31.640Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T06:26:31.692Z] provisioning config files... [2023-05-05T06:26:31.705Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3721181529120430971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:26:32.012Z] ---> docker-login.sh [2023-05-05T06:26:32.012Z] nexus3.edgexfoundry.org:10001 [2023-05-05T06:26:32.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:26:32.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:26:32.275Z] Configure a credential helper to remove this warning. See [2023-05-05T06:26:32.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:26:32.275Z] [2023-05-05T06:26:32.275Z] Login Succeeded [2023-05-05T06:26:32.275Z] nexus3.edgexfoundry.org:10002 [2023-05-05T06:26:32.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:26:32.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:26:32.535Z] Configure a credential helper to remove this warning. See [2023-05-05T06:26:32.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:26:32.535Z] [2023-05-05T06:26:32.535Z] Login Succeeded [2023-05-05T06:26:32.535Z] nexus3.edgexfoundry.org:10003 [2023-05-05T06:26:32.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:26:32.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:26:32.535Z] Configure a credential helper to remove this warning. See [2023-05-05T06:26:32.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:26:32.536Z] [2023-05-05T06:26:32.536Z] Login Succeeded [2023-05-05T06:26:32.536Z] nexus3.edgexfoundry.org:10004 [2023-05-05T06:26:32.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:26:32.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:26:32.795Z] Configure a credential helper to remove this warning. See [2023-05-05T06:26:32.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:26:32.795Z] [2023-05-05T06:26:32.795Z] Login Succeeded [2023-05-05T06:26:32.795Z] docker.io [2023-05-05T06:26:32.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:26:33.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:26:33.053Z] Configure a credential helper to remove this warning. See [2023-05-05T06:26:33.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:26:33.053Z] [2023-05-05T06:26:33.053Z] Login Succeeded [2023-05-05T06:26:33.053Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T06:26:33.060Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-05T06:26:33.432Z] + git rev-list -1 --merges 9b66715b8b241736f2c193df6e5011bc294930f2~1..9b66715b8b241736f2c193df6e5011bc294930f2 [Pipeline] echo [2023-05-05T06:26:33.476Z] -----------> git rev-list -1 --merges 9b66715b8b241736f2c193df6e5011bc294930f2~1..9b66715b8b241736f2c193df6e5011bc294930f2 9b66715b8b241736f2c193df6e5011bc294930f2 [2023-05-05T06:26:33.476Z] 9b66715b8b241736f2c193df6e5011bc294930f2 [false] [Pipeline] sh [2023-05-05T06:26:33.783Z] + git log --format=format:%s -1 9b66715b8b241736f2c193df6e5011bc294930f2 [Pipeline] echo [2023-05-05T06:26:33.820Z] ========================================================= [2023-05-05T06:26:33.820Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-05T06:26:33.820Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-05T06:26:34.142Z] + git log --format=format:%s -1 9b66715b8b241736f2c193df6e5011bc294930f2 [Pipeline] echo [2023-05-05T06:26:34.153Z] [semverPrep] GIT_COMMIT: 9b66715b8b241736f2c193df6e5011bc294930f2, Commit Message: Merge pull request #470 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.82 [Pipeline] echo [2023-05-05T06:26:34.160Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-05T06:26:34.514Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T06:26:34.514Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-05T06:26:34.514Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-05T06:26:34.514Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-05T06:26:34.514Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-05T06:26:34.514Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-05T06:26:34.514Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:26:34.885Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:26:34.885Z] [2023-05-05T06:26:34.885Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:26:35.191Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:26:35.191Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-05T06:26:35.191Z] b85a868b505f: Pulling fs layer [2023-05-05T06:26:35.191Z] e2be974225ed: Pulling fs layer [2023-05-05T06:26:35.191Z] 339a4e72a1f5: Pulling fs layer [2023-05-05T06:26:35.191Z] 988bab9f4d93: Pulling fs layer [2023-05-05T06:26:35.191Z] 1469e6f7b9e6: Pulling fs layer [2023-05-05T06:26:35.191Z] eaf3925da568: Pulling fs layer [2023-05-05T06:26:35.191Z] bab4dde63d76: Pulling fs layer [2023-05-05T06:26:35.191Z] bde34c3a00c8: Pulling fs layer [2023-05-05T06:26:35.191Z] b352a97aabf1: Pulling fs layer [2023-05-05T06:26:35.191Z] 4872d77fe225: Pulling fs layer [2023-05-05T06:26:35.191Z] 5851b861e8e6: Pulling fs layer [2023-05-05T06:26:35.191Z] bab4dde63d76: Waiting [2023-05-05T06:26:35.191Z] bde34c3a00c8: Waiting [2023-05-05T06:26:35.191Z] 5851b861e8e6: Waiting [2023-05-05T06:26:35.191Z] 988bab9f4d93: Waiting [2023-05-05T06:26:35.191Z] eaf3925da568: Waiting [2023-05-05T06:26:35.191Z] 4872d77fe225: Waiting [2023-05-05T06:26:35.191Z] 1469e6f7b9e6: Waiting [2023-05-05T06:26:35.191Z] b352a97aabf1: Waiting [2023-05-05T06:26:35.191Z] e2be974225ed: Download complete [2023-05-05T06:26:35.191Z] 988bab9f4d93: Verifying Checksum [2023-05-05T06:26:35.191Z] 988bab9f4d93: Download complete [2023-05-05T06:26:35.191Z] 1469e6f7b9e6: Verifying Checksum [2023-05-05T06:26:35.191Z] 1469e6f7b9e6: Download complete [2023-05-05T06:26:35.191Z] eaf3925da568: Verifying Checksum [2023-05-05T06:26:35.191Z] eaf3925da568: Download complete [2023-05-05T06:26:35.191Z] 339a4e72a1f5: Verifying Checksum [2023-05-05T06:26:35.191Z] 339a4e72a1f5: Download complete [2023-05-05T06:26:35.453Z] bde34c3a00c8: Download complete [2023-05-05T06:26:35.453Z] b352a97aabf1: Verifying Checksum [2023-05-05T06:26:35.453Z] b352a97aabf1: Download complete [2023-05-05T06:26:35.453Z] 4872d77fe225: Verifying Checksum [2023-05-05T06:26:35.453Z] 4872d77fe225: Download complete [2023-05-05T06:26:35.453Z] 5851b861e8e6: Download complete [2023-05-05T06:26:35.453Z] b85a868b505f: Download complete [2023-05-05T06:26:35.713Z] bab4dde63d76: Verifying Checksum [2023-05-05T06:26:35.713Z] bab4dde63d76: Download complete [2023-05-05T06:26:36.648Z] b85a868b505f: Pull complete [2023-05-05T06:26:36.648Z] e2be974225ed: Pull complete [2023-05-05T06:26:37.214Z] 339a4e72a1f5: Pull complete [2023-05-05T06:26:37.214Z] 988bab9f4d93: Pull complete [2023-05-05T06:26:37.474Z] 1469e6f7b9e6: Pull complete [2023-05-05T06:26:37.734Z] eaf3925da568: Pull complete [2023-05-05T06:26:39.665Z] bab4dde63d76: Pull complete [2023-05-05T06:26:39.665Z] bde34c3a00c8: Pull complete [2023-05-05T06:26:39.665Z] b352a97aabf1: Pull complete [2023-05-05T06:26:39.665Z] 4872d77fe225: Pull complete [2023-05-05T06:26:39.926Z] 5851b861e8e6: Pull complete [2023-05-05T06:26:39.926Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-05T06:26:39.926Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:26:39.926Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:26:40.038Z] prd-ubuntu20.04-docker-8c-8g-13855 does not seem to be running inside a container [2023-05-05T06:26:40.079Z] $ 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-05-05T06:26:42.323Z] $ docker top 82007fa659af952f34e1ea93f53cded74f1bdb3e69ecff4c34b916e6661996d8 -eo pid,comm [2023-05-05T06:26:42.371Z] 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-05-05T06:26:42.371Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T06:26:42.406Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T06:26:42.406Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T06:26:42.525Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T06:26:42.535Z] $ docker exec 82007fa659af952f34e1ea93f53cded74f1bdb3e69ecff4c34b916e6661996d8 ssh-agent [2023-05-05T06:26:42.640Z] SSH_AUTH_SOCK=/tmp/ssh-aJWugWLCoL5l/agent.32 [2023-05-05T06:26:42.640Z] SSH_AGENT_PID=38 [2023-05-05T06:26:42.647Z] Running ssh-add (command line suppressed) [2023-05-05T06:26:42.755Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2345323668881330695.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2345323668881330695.key) [2023-05-05T06:26:42.763Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T06:26:43.050Z] + git tag --points-at HEAD [Pipeline] } [2023-05-05T06:26:43.075Z] $ docker exec --env ******** --env ******** 82007fa659af952f34e1ea93f53cded74f1bdb3e69ecff4c34b916e6661996d8 ssh-agent -k [2023-05-05T06:26:43.175Z] unset SSH_AUTH_SOCK; [2023-05-05T06:26:43.175Z] unset SSH_AGENT_PID; [2023-05-05T06:26:43.177Z] echo Agent pid 38 killed; [2023-05-05T06:26:43.178Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-05T06:26:43.208Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T06:26:43.208Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T06:26:43.326Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T06:26:43.334Z] $ docker exec 82007fa659af952f34e1ea93f53cded74f1bdb3e69ecff4c34b916e6661996d8 ssh-agent [2023-05-05T06:26:43.440Z] SSH_AUTH_SOCK=/tmp/ssh-c4i79YL7cBRx/agent.70 [2023-05-05T06:26:43.440Z] SSH_AGENT_PID=76 [2023-05-05T06:26:43.445Z] Running ssh-add (command line suppressed) [2023-05-05T06:26:43.565Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9316244685120859013.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9316244685120859013.key) [2023-05-05T06:26:43.574Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T06:26:43.859Z] + git semver init [2023-05-05T06:26:44.122Z] 2023-05-05 06:26:44,056 [run_init] DEBUG init version:0.0.0 force:False [2023-05-05T06:26:44.122Z] 2023-05-05 06:26:44,056 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-05-05T06:26:44.122Z] 2023-05-05 06:26:44,057 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-05-05T06:26:44.122Z] 2023-05-05 06:26:44,057 [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-05-05T06:26:45.058Z] 2023-05-05 06:26:44,811 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-05-05T06:26:45.058Z] 2023-05-05 06:26:44,811 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-05-05T06:26:45.058Z] 2023-05-05 06:26:44,811 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-05T06:26:45.058Z] 2023-05-05 06:26:44,812 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-05T06:26:45.058Z] 3.0.0-dev.34 [Pipeline] } [2023-05-05T06:26:45.073Z] $ docker exec --env ******** --env ******** 82007fa659af952f34e1ea93f53cded74f1bdb3e69ecff4c34b916e6661996d8 ssh-agent -k [2023-05-05T06:26:45.171Z] unset SSH_AUTH_SOCK; [2023-05-05T06:26:45.171Z] unset SSH_AGENT_PID; [2023-05-05T06:26:45.171Z] echo Agent pid 76 killed; [2023-05-05T06:26:45.175Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T06:26:45.473Z] + git semver [Pipeline] } [2023-05-05T06:26:45.750Z] $ docker stop --time=1 82007fa659af952f34e1ea93f53cded74f1bdb3e69ecff4c34b916e6661996d8 [2023-05-05T06:26:47.046Z] $ docker rm -f --volumes 82007fa659af952f34e1ea93f53cded74f1bdb3e69ecff4c34b916e6661996d8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T06:26:47.385Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-05T06:26:47.600Z] Stashed 1 file(s) [Pipeline] echo [2023-05-05T06:26:47.603Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.34 [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-05-05T06:26:47.747Z] provisioning config files... [2023-05-05T06:26:47.757Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13569503533280061116tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:26:48.051Z] ---> docker-login.sh [2023-05-05T06:26:48.051Z] nexus3.edgexfoundry.org:10001 [2023-05-05T06:26:48.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:26:48.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:26:48.051Z] Configure a credential helper to remove this warning. See [2023-05-05T06:26:48.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:26:48.051Z] [2023-05-05T06:26:48.051Z] Login Succeeded [2023-05-05T06:26:48.051Z] nexus3.edgexfoundry.org:10002 [2023-05-05T06:26:48.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:26:48.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:26:48.051Z] Configure a credential helper to remove this warning. See [2023-05-05T06:26:48.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:26:48.051Z] [2023-05-05T06:26:48.051Z] Login Succeeded [2023-05-05T06:26:48.051Z] nexus3.edgexfoundry.org:10003 [2023-05-05T06:26:48.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:26:48.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:26:48.317Z] Configure a credential helper to remove this warning. See [2023-05-05T06:26:48.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:26:48.317Z] [2023-05-05T06:26:48.317Z] Login Succeeded [2023-05-05T06:26:48.317Z] nexus3.edgexfoundry.org:10004 [2023-05-05T06:26:48.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:26:48.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:26:48.317Z] Configure a credential helper to remove this warning. See [2023-05-05T06:26:48.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:26:48.317Z] [2023-05-05T06:26:48.317Z] Login Succeeded [2023-05-05T06:26:48.317Z] docker.io [2023-05-05T06:26:48.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:26:48.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:26:48.578Z] Configure a credential helper to remove this warning. See [2023-05-05T06:26:48.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:26:48.578Z] [2023-05-05T06:26:48.578Z] Login Succeeded [2023-05-05T06:26:48.578Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T06:26:48.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-05T06:26:48.645Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:26:48.655Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:26:48.667Z] ========================================================= [2023-05-05T06:26:48.667Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-05T06:26:48.667Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:26:48.993Z] + 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-05-05T06:26:48.993Z] Sending build context to Docker daemon 6.469MB [2023-05-05T06:26:48.993Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T06:26:48.993Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-05T06:26:48.993Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-05T06:26:48.993Z] f56be85fc22e: Pulling fs layer [2023-05-05T06:26:48.993Z] 85791d961cd3: Pulling fs layer [2023-05-05T06:26:48.993Z] d694b5ae8c79: Pulling fs layer [2023-05-05T06:26:48.993Z] 9f32a84ed3da: Pulling fs layer [2023-05-05T06:26:48.993Z] 4d19c01a9841: Pulling fs layer [2023-05-05T06:26:48.993Z] 9325e15d5711: Pulling fs layer [2023-05-05T06:26:48.993Z] 556b6ee489ea: Pulling fs layer [2023-05-05T06:26:48.993Z] c5a4b2cf53e6: Pulling fs layer [2023-05-05T06:26:48.993Z] 9325e15d5711: Waiting [2023-05-05T06:26:48.993Z] 4d19c01a9841: Waiting [2023-05-05T06:26:48.993Z] 556b6ee489ea: Waiting [2023-05-05T06:26:48.993Z] 9f32a84ed3da: Waiting [2023-05-05T06:26:48.993Z] c5a4b2cf53e6: Waiting [2023-05-05T06:26:49.252Z] 85791d961cd3: Download complete [2023-05-05T06:26:49.252Z] 9f32a84ed3da: Verifying Checksum [2023-05-05T06:26:49.252Z] 9f32a84ed3da: Download complete [2023-05-05T06:26:49.252Z] 4d19c01a9841: Verifying Checksum [2023-05-05T06:26:49.252Z] 4d19c01a9841: Download complete [2023-05-05T06:26:49.252Z] f56be85fc22e: Verifying Checksum [2023-05-05T06:26:49.252Z] f56be85fc22e: Download complete [2023-05-05T06:26:49.252Z] 9325e15d5711: Verifying Checksum [2023-05-05T06:26:49.252Z] 9325e15d5711: Download complete [2023-05-05T06:26:49.252Z] f56be85fc22e: Pull complete [2023-05-05T06:26:49.514Z] 85791d961cd3: Pull complete [2023-05-05T06:26:49.774Z] c5a4b2cf53e6: Verifying Checksum [2023-05-05T06:26:49.774Z] c5a4b2cf53e6: Download complete [2023-05-05T06:26:49.774Z] d694b5ae8c79: Download complete [2023-05-05T06:26:50.033Z] 556b6ee489ea: Verifying Checksum [2023-05-05T06:26:50.033Z] 556b6ee489ea: Download complete [2023-05-05T06:26:53.335Z] d694b5ae8c79: Pull complete [2023-05-05T06:26:53.335Z] 9f32a84ed3da: Pull complete [2023-05-05T06:26:53.335Z] 4d19c01a9841: Pull complete [2023-05-05T06:26:53.335Z] 9325e15d5711: Pull complete [2023-05-05T06:26:55.862Z] 556b6ee489ea: Pull complete [2023-05-05T06:26:56.796Z] c5a4b2cf53e6: Pull complete [2023-05-05T06:26:56.796Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-05T06:26:56.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-05T06:26:56.796Z] ---> c4be618373d6 [2023-05-05T06:26:56.796Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-05T06:27:01.010Z] ---> Running in f31bae301b25 [2023-05-05T06:27:01.010Z] Removing intermediate container f31bae301b25 [2023-05-05T06:27:01.010Z] ---> b4b096bb69a6 [2023-05-05T06:27:01.010Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T06:27:01.010Z] ---> Running in cb5e93c3cd78 [2023-05-05T06:27:01.010Z] Removing intermediate container cb5e93c3cd78 [2023-05-05T06:27:01.010Z] ---> f56c2061980a [2023-05-05T06:27:01.010Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-05T06:27:01.010Z] ---> Running in 0e753cbde483 [2023-05-05T06:27:01.010Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T06:27:01.010Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T06:27:01.270Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-05-05T06:27:01.270Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-05T06:27:01.270Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-05-05T06:27:01.270Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-05-05T06:27:01.270Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-05-05T06:27:01.270Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-05-05T06:27:01.270Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-05-05T06:27:01.270Z] (8/8) Installing openssh (9.1_p1-r2) [2023-05-05T06:27:01.270Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T06:27:01.270Z] OK: 270 MiB in 61 packages [2023-05-05T06:27:01.835Z] Removing intermediate container 0e753cbde483 [2023-05-05T06:27:01.835Z] ---> f614328bd93a [2023-05-05T06:27:01.835Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-05T06:27:01.835Z] ---> Running in 0f494ba88c8b [2023-05-05T06:27:01.835Z] Removing intermediate container 0f494ba88c8b [2023-05-05T06:27:01.835Z] ---> d438084f86bc [2023-05-05T06:27:01.835Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-05T06:27:02.093Z] ---> 15d465b456a3 [2023-05-05T06:27:02.093Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T06:27:02.093Z] ---> Running in 7cbd4dd8cb6d [2023-05-05T06:27:02.699Z] Still waiting to schedule task [2023-05-05T06:27:02.699Z] ‘prd-centos7-blackbox-4c-2g-12073’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-05T06:27:02.700Z] ‘prd-centos7-blackbox-4c-2g-12074’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-05T06:27:02.700Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-13856’ is offline [2023-05-05T06:27:28.653Z] Removing intermediate container 7cbd4dd8cb6d [2023-05-05T06:27:28.654Z] ---> b5df1b6f8ae1 [2023-05-05T06:27:28.654Z] Step 9/10 : COPY . . [2023-05-05T06:27:28.654Z] ---> a04e3caf669a [2023-05-05T06:27:28.654Z] Step 10/10 : RUN ${MAKE} [2023-05-05T06:27:28.654Z] ---> Running in be7f0ed7ec48 [2023-05-05T06:27:28.654Z] noop [2023-05-05T06:27:28.654Z] Removing intermediate container be7f0ed7ec48 [2023-05-05T06:27:28.654Z] ---> 05210316c249 [2023-05-05T06:27:28.654Z] Successfully built 05210316c249 [2023-05-05T06:27:28.654Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:27:28.967Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-05T06:27:28.967Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:27:29.040Z] prd-ubuntu20.04-docker-8c-8g-13855 does not seem to be running inside a container [2023-05-05T06:27:29.074Z] $ 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-05-05T06:27:29.406Z] $ docker top 6334baa6e52ea80dfb030e6816b9b77dede5f620a0647ede28c5aa143d61eafb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T06:27:29.736Z] + go version [2023-05-05T06:27:29.736Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-05T06:27:29.750Z] $ docker stop --time=1 6334baa6e52ea80dfb030e6816b9b77dede5f620a0647ede28c5aa143d61eafb [2023-05-05T06:27:31.005Z] $ docker rm -f --volumes 6334baa6e52ea80dfb030e6816b9b77dede5f620a0647ede28c5aa143d61eafb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:27:31.395Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-05T06:27:31.395Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:27:31.464Z] prd-ubuntu20.04-docker-8c-8g-13855 does not seem to be running inside a container [2023-05-05T06:27:31.492Z] $ 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-05-05T06:27:31.786Z] $ docker top 48467d4744649a7452db01d5f3a0f67c7d094f2122c009dfac6a249aa006a317 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T06:27:32.124Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-05T06:27:32.416Z] + make test [2023-05-05T06:27:32.416Z] go test ./... -coverprofile=coverage.out [2023-05-05T06:27:36.599Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-05T06:27:46.557Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-05T06:27:46.557Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.4% of statements [2023-05-05T06:27:51.811Z] go vet ./... [2023-05-05T06:27:54.336Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-05T06:27:54.336Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-05T06:27:54.336Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-05T06:27:54.350Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-05T06:27:54.364Z] $ docker stop --time=1 48467d4744649a7452db01d5f3a0f67c7d094f2122c009dfac6a249aa006a317 [2023-05-05T06:27:57.249Z] $ docker rm -f --volumes 48467d4744649a7452db01d5f3a0f67c7d094f2122c009dfac6a249aa006a317 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T06:27:57.686Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-05T06:27:57.733Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-05T06:27:58.171Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-05T06:27:58.452Z] + ls -al . [2023-05-05T06:27:58.452Z] total 180 [2023-05-05T06:27:58.452Z] drwxrwxr-x 10 jenkins jenkins 4096 May 5 06:27 . [2023-05-05T06:27:58.452Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:26 .. [2023-05-05T06:27:58.452Z] -rw-rw-r-- 1 jenkins jenkins 140 May 5 06:26 .dockerignore [2023-05-05T06:27:58.452Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:26 .git [2023-05-05T06:27:58.452Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:26 .github [2023-05-05T06:27:58.452Z] -rw-rw-r-- 1 jenkins jenkins 331 May 5 06:26 .gitignore [2023-05-05T06:27:58.452Z] -rw-rw-r-- 1 jenkins jenkins 41 May 5 06:26 .golangci.yml [2023-05-05T06:27:58.452Z] drwxr-xr-x 3 jenkins jenkins 4096 May 5 06:26 .semver [2023-05-05T06:27:58.452Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 5 06:26 Attribution.txt [2023-05-05T06:27:58.452Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 5 06:26 CHANGELOG.md [2023-05-05T06:27:58.452Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 5 06:26 Dockerfile [2023-05-05T06:27:58.452Z] -rw-rw-r-- 1 jenkins jenkins 677 May 5 06:26 GOVERNANCE.md [2023-05-05T06:27:58.452Z] -rw-rw-r-- 1 jenkins jenkins 680 May 5 06:26 Jenkinsfile [2023-05-05T06:27:58.452Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 5 06:26 LICENSE [2023-05-05T06:27:58.452Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 5 06:26 Makefile [2023-05-05T06:27:58.452Z] -rw-rw-r-- 1 jenkins jenkins 622 May 5 06:26 OWNERS.md [2023-05-05T06:27:58.452Z] -rw-rw-r-- 1 jenkins jenkins 4045 May 5 06:26 README.md [2023-05-05T06:27:58.452Z] -rw-rw-r-- 1 jenkins jenkins 12 May 5 06:26 VERSION [2023-05-05T06:27:58.452Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:26 bin [2023-05-05T06:27:58.452Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:26 cmd [2023-05-05T06:27:58.452Z] -rw-r--r-- 1 jenkins jenkins 24160 May 5 06:27 coverage.out [2023-05-05T06:27:58.452Z] -rw-rw-r-- 1 jenkins jenkins 3453 May 5 06:26 go.mod [2023-05-05T06:27:58.452Z] -rw-rw-r-- 1 jenkins jenkins 31670 May 5 06:26 go.sum [2023-05-05T06:27:58.452Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:26 internal [2023-05-05T06:27:58.452Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:26 simulator [2023-05-05T06:27:58.452Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:26 snap [2023-05-05T06:27:58.452Z] -rw-rw-r-- 1 jenkins jenkins 229 May 5 06:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:27:58.760Z] + 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=9b66715b8b241736f2c193df6e5011bc294930f2 --label arch=amd64 --label version=3.0.0-dev.34 . [2023-05-05T06:27:58.760Z] Sending build context to Docker daemon 6.494MB [2023-05-05T06:27:58.760Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T06:27:58.760Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-05T06:27:58.760Z] ---> 05210316c249 [2023-05-05T06:27:58.760Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-05T06:27:59.017Z] ---> Running in 9979b46b2755 [2023-05-05T06:27:59.017Z] Removing intermediate container 9979b46b2755 [2023-05-05T06:27:59.017Z] ---> 64087bc3ebf2 [2023-05-05T06:27:59.017Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T06:27:59.017Z] ---> Running in 813f1757f234 [2023-05-05T06:27:59.017Z] Removing intermediate container 813f1757f234 [2023-05-05T06:27:59.017Z] ---> b1ef5db73925 [2023-05-05T06:27:59.017Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-05T06:27:59.017Z] ---> Running in 2d1dde7482bf [2023-05-05T06:27:59.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T06:27:59.535Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T06:27:59.535Z] OK: 270 MiB in 61 packages [2023-05-05T06:28:00.103Z] Removing intermediate container 2d1dde7482bf [2023-05-05T06:28:00.103Z] ---> b447e3c41e22 [2023-05-05T06:28:00.103Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-05T06:28:00.103Z] ---> Running in ab57c90841a1 [2023-05-05T06:28:00.103Z] Removing intermediate container ab57c90841a1 [2023-05-05T06:28:00.103Z] ---> f4fe7206268b [2023-05-05T06:28:00.103Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-05T06:28:00.103Z] ---> fd040a309bb5 [2023-05-05T06:28:00.103Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T06:28:00.103Z] ---> Running in b88461d8735c [2023-05-05T06:28:01.041Z] Removing intermediate container b88461d8735c [2023-05-05T06:28:01.041Z] ---> 7c689f96c693 [2023-05-05T06:28:01.041Z] Step 9/22 : COPY . . [2023-05-05T06:28:01.301Z] ---> cff8f874eea6 [2023-05-05T06:28:01.301Z] Step 10/22 : RUN ${MAKE} [2023-05-05T06:28:01.301Z] ---> Running in 78a3b5fb9689 [2023-05-05T06:28:01.559Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.34" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-05T06:28:19.853Z] Removing intermediate container 78a3b5fb9689 [2023-05-05T06:28:19.853Z] ---> 5ccd2c5914f1 [2023-05-05T06:28:19.853Z] Step 11/22 : FROM alpine:3.17 [2023-05-05T06:28:19.853Z] 3.17: Pulling from library/alpine [2023-05-05T06:28:19.853Z] f56be85fc22e: Already exists [2023-05-05T06:28:19.853Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-05T06:28:19.853Z] Status: Downloaded newer image for alpine:3.17 [2023-05-05T06:28:19.853Z] ---> 9ed4aefc74f6 [2023-05-05T06:28:19.853Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-05T06:28:19.853Z] ---> Running in 62571a2ef803 [2023-05-05T06:28:19.853Z] Removing intermediate container 62571a2ef803 [2023-05-05T06:28:19.853Z] ---> 1eef0bf4b153 [2023-05-05T06:28:19.853Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-05T06:28:19.853Z] ---> Running in 0a6518580247 [2023-05-05T06:28:19.853Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T06:28:19.853Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T06:28:19.853Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-05T06:28:19.853Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T06:28:19.853Z] OK: 7 MiB in 16 packages [2023-05-05T06:28:20.419Z] Removing intermediate container 0a6518580247 [2023-05-05T06:28:20.419Z] ---> 58934a727084 [2023-05-05T06:28:20.419Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-05T06:28:20.987Z] ---> 76793fdcbbac [2023-05-05T06:28:20.987Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-05T06:28:20.987Z] ---> c7e0511848e6 [2023-05-05T06:28:20.987Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-05T06:28:20.987Z] ---> be7009b0fc8a [2023-05-05T06:28:20.987Z] Step 17/22 : EXPOSE 59901 [2023-05-05T06:28:21.246Z] ---> Running in d6376c45bbc1 [2023-05-05T06:28:21.246Z] Removing intermediate container d6376c45bbc1 [2023-05-05T06:28:21.246Z] ---> 3a5932b87f2d [2023-05-05T06:28:21.246Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-05T06:28:21.246Z] ---> Running in 1916c9510b1f [2023-05-05T06:28:21.246Z] Removing intermediate container 1916c9510b1f [2023-05-05T06:28:21.246Z] ---> 44b4c891678d [2023-05-05T06:28:21.246Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-05T06:28:21.246Z] ---> Running in ca7339b00b64 [2023-05-05T06:28:21.246Z] Removing intermediate container ca7339b00b64 [2023-05-05T06:28:21.246Z] ---> 2ca76fca01f5 [2023-05-05T06:28:21.246Z] Step 20/22 : LABEL arch=amd64 [2023-05-05T06:28:21.246Z] ---> Running in a01ba3771e1a [2023-05-05T06:28:21.505Z] Removing intermediate container a01ba3771e1a [2023-05-05T06:28:21.505Z] ---> e6662010dfa3 [2023-05-05T06:28:21.506Z] Step 21/22 : LABEL git_sha=9b66715b8b241736f2c193df6e5011bc294930f2 [2023-05-05T06:28:21.506Z] ---> Running in 3afda8d23af9 [2023-05-05T06:28:21.506Z] Removing intermediate container 3afda8d23af9 [2023-05-05T06:28:21.506Z] ---> 3388bb336704 [2023-05-05T06:28:21.506Z] Step 22/22 : LABEL version=3.0.0-dev.34 [2023-05-05T06:28:21.506Z] ---> Running in 93fac622e590 [2023-05-05T06:28:21.506Z] Removing intermediate container 93fac622e590 [2023-05-05T06:28:21.506Z] ---> a861c588b295 [2023-05-05T06:28:21.506Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-05T06:28:21.506Z] Successfully built a861c588b295 [2023-05-05T06:28:21.506Z] 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-05-05T06:28:21.602Z] provisioning config files... [2023-05-05T06:28:21.612Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12506000015570729069tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:28:21.914Z] ---> docker-login.sh [2023-05-05T06:28:21.914Z] nexus3.edgexfoundry.org:10001 [2023-05-05T06:28:21.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:28:21.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:28:21.914Z] Configure a credential helper to remove this warning. See [2023-05-05T06:28:21.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:28:21.914Z] [2023-05-05T06:28:21.914Z] Login Succeeded [2023-05-05T06:28:21.914Z] nexus3.edgexfoundry.org:10002 [2023-05-05T06:28:21.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:28:21.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:28:21.914Z] Configure a credential helper to remove this warning. See [2023-05-05T06:28:21.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:28:21.914Z] [2023-05-05T06:28:21.914Z] Login Succeeded [2023-05-05T06:28:21.914Z] nexus3.edgexfoundry.org:10003 [2023-05-05T06:28:22.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:28:22.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:28:22.173Z] Configure a credential helper to remove this warning. See [2023-05-05T06:28:22.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:28:22.173Z] [2023-05-05T06:28:22.173Z] Login Succeeded [2023-05-05T06:28:22.173Z] nexus3.edgexfoundry.org:10004 [2023-05-05T06:28:22.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:28:22.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:28:22.173Z] Configure a credential helper to remove this warning. See [2023-05-05T06:28:22.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:28:22.173Z] [2023-05-05T06:28:22.173Z] Login Succeeded [2023-05-05T06:28:22.173Z] docker.io [2023-05-05T06:28:22.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:28:22.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:28:22.432Z] Configure a credential helper to remove this warning. See [2023-05-05T06:28:22.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:28:22.432Z] [2023-05-05T06:28:22.432Z] Login Succeeded [2023-05-05T06:28:22.432Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T06:28:22.445Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T06:28:22.485Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:28:22.510Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-05-05T06:28:22.510Z] 9b66715b8b241736f2c193df6e5011bc294930f2 [2023-05-05T06:28:22.510Z] latest [2023-05-05T06:28:22.510Z] 3.0.0-dev.34 [2023-05-05T06:28:22.510Z] 9b66715b8b241736f2c193df6e5011bc294930f2-3.0.0-dev.34 [2023-05-05T06:28:22.510Z] main [2023-05-05T06:28:22.510Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:28:22.840Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:9b66715b8b241736f2c193df6e5011bc294930f2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:28:23.142Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:9b66715b8b241736f2c193df6e5011bc294930f2 [2023-05-05T06:28:23.142Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-05T06:28:23.142Z] 45e518d6e509: Preparing [2023-05-05T06:28:23.142Z] 524cda82c821: Preparing [2023-05-05T06:28:23.142Z] 620faa2fb812: Preparing [2023-05-05T06:28:23.142Z] 697837f0a8f6: Preparing [2023-05-05T06:28:23.142Z] f1417ff83b31: Preparing [2023-05-05T06:28:23.142Z] f1417ff83b31: Layer already exists [2023-05-05T06:28:23.142Z] 697837f0a8f6: Pushed [2023-05-05T06:28:23.142Z] 45e518d6e509: Pushed [2023-05-05T06:28:23.142Z] 524cda82c821: Pushed [2023-05-05T06:28:25.682Z] 620faa2fb812: Pushed [2023-05-05T06:28:25.682Z] 9b66715b8b241736f2c193df6e5011bc294930f2: digest: sha256:3b0e073817f28258c0b84023c8786047f2a8e79e3f0ee6f774f49e14461d93fb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:28:25.995Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:28:26.295Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-05-05T06:28:26.295Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-05T06:28:26.295Z] 45e518d6e509: Preparing [2023-05-05T06:28:26.295Z] 524cda82c821: Preparing [2023-05-05T06:28:26.295Z] 620faa2fb812: Preparing [2023-05-05T06:28:26.295Z] 697837f0a8f6: Preparing [2023-05-05T06:28:26.295Z] f1417ff83b31: Preparing [2023-05-05T06:28:26.295Z] 524cda82c821: Layer already exists [2023-05-05T06:28:26.295Z] 620faa2fb812: Layer already exists [2023-05-05T06:28:26.295Z] f1417ff83b31: Layer already exists [2023-05-05T06:28:26.295Z] 697837f0a8f6: Layer already exists [2023-05-05T06:28:26.295Z] 45e518d6e509: Layer already exists [2023-05-05T06:28:26.295Z] latest: digest: sha256:3b0e073817f28258c0b84023c8786047f2a8e79e3f0ee6f774f49e14461d93fb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:28:26.626Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.34 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:28:26.940Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.34 [2023-05-05T06:28:26.940Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-05T06:28:26.940Z] 45e518d6e509: Preparing [2023-05-05T06:28:26.940Z] 524cda82c821: Preparing [2023-05-05T06:28:26.940Z] 620faa2fb812: Preparing [2023-05-05T06:28:26.940Z] 697837f0a8f6: Preparing [2023-05-05T06:28:26.940Z] f1417ff83b31: Preparing [2023-05-05T06:28:26.940Z] 524cda82c821: Layer already exists [2023-05-05T06:28:26.940Z] f1417ff83b31: Layer already exists [2023-05-05T06:28:26.940Z] 620faa2fb812: Layer already exists [2023-05-05T06:28:26.940Z] 45e518d6e509: Layer already exists [2023-05-05T06:28:26.940Z] 697837f0a8f6: Layer already exists [2023-05-05T06:28:26.940Z] 3.0.0-dev.34: digest: sha256:3b0e073817f28258c0b84023c8786047f2a8e79e3f0ee6f774f49e14461d93fb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:28:27.263Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:9b66715b8b241736f2c193df6e5011bc294930f2-3.0.0-dev.34 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:28:27.577Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:9b66715b8b241736f2c193df6e5011bc294930f2-3.0.0-dev.34 [2023-05-05T06:28:27.577Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-05T06:28:27.577Z] 45e518d6e509: Preparing [2023-05-05T06:28:27.577Z] 524cda82c821: Preparing [2023-05-05T06:28:27.577Z] 620faa2fb812: Preparing [2023-05-05T06:28:27.577Z] 697837f0a8f6: Preparing [2023-05-05T06:28:27.577Z] f1417ff83b31: Preparing [2023-05-05T06:28:27.577Z] 697837f0a8f6: Layer already exists [2023-05-05T06:28:27.577Z] 45e518d6e509: Layer already exists [2023-05-05T06:28:27.577Z] 524cda82c821: Layer already exists [2023-05-05T06:28:27.577Z] 620faa2fb812: Layer already exists [2023-05-05T06:28:27.577Z] f1417ff83b31: Layer already exists [2023-05-05T06:28:27.577Z] 9b66715b8b241736f2c193df6e5011bc294930f2-3.0.0-dev.34: digest: sha256:3b0e073817f28258c0b84023c8786047f2a8e79e3f0ee6f774f49e14461d93fb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:28:27.912Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:28:28.225Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-05-05T06:28:28.225Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-05T06:28:28.225Z] 45e518d6e509: Preparing [2023-05-05T06:28:28.225Z] 524cda82c821: Preparing [2023-05-05T06:28:28.225Z] 620faa2fb812: Preparing [2023-05-05T06:28:28.225Z] 697837f0a8f6: Preparing [2023-05-05T06:28:28.225Z] f1417ff83b31: Preparing [2023-05-05T06:28:28.225Z] 620faa2fb812: Layer already exists [2023-05-05T06:28:28.226Z] 697837f0a8f6: Layer already exists [2023-05-05T06:28:28.226Z] f1417ff83b31: Layer already exists [2023-05-05T06:28:28.226Z] 45e518d6e509: Layer already exists [2023-05-05T06:28:28.226Z] 524cda82c821: Layer already exists [2023-05-05T06:28:28.226Z] main: digest: sha256:3b0e073817f28258c0b84023c8786047f2a8e79e3f0ee6f774f49e14461d93fb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T06:28:28.276Z] ===================================================== [Pipeline] echo [2023-05-05T06:28:28.284Z] taggedImages: [2023-05-05T06:28:28.284Z] - nexus3.edgexfoundry.org:10004/device-modbus:9b66715b8b241736f2c193df6e5011bc294930f2 [2023-05-05T06:28:28.284Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-05-05T06:28:28.284Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.34 [2023-05-05T06:28:28.284Z] - nexus3.edgexfoundry.org:10004/device-modbus:9b66715b8b241736f2c193df6e5011bc294930f2-3.0.0-dev.34 [2023-05-05T06:28:28.284Z] - 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-05-05T06:28:28.661Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T06:28:28.661Z] [2023-05-05T06:28:28.661Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:28:28.968Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T06:28:28.968Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-05T06:28:28.968Z] 5eb5b503b376: Pulling fs layer [2023-05-05T06:28:28.968Z] 5c69ac0246d0: Pulling fs layer [2023-05-05T06:28:28.968Z] ec43610c2a17: Pulling fs layer [2023-05-05T06:28:28.968Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-05T06:28:28.968Z] 33b1e0a273af: Pulling fs layer [2023-05-05T06:28:28.968Z] 5d3b04190fa2: Pulling fs layer [2023-05-05T06:28:28.968Z] 2f39f015ded8: Pulling fs layer [2023-05-05T06:28:28.968Z] 3a2ae6a8a46f: Waiting [2023-05-05T06:28:28.968Z] 33b1e0a273af: Waiting [2023-05-05T06:28:28.968Z] 5d3b04190fa2: Waiting [2023-05-05T06:28:28.968Z] 2f39f015ded8: Waiting [2023-05-05T06:28:28.968Z] 5c69ac0246d0: Download complete [2023-05-05T06:28:28.968Z] 3a2ae6a8a46f: Download complete [2023-05-05T06:28:28.968Z] 33b1e0a273af: Verifying Checksum [2023-05-05T06:28:28.968Z] 33b1e0a273af: Download complete [2023-05-05T06:28:28.968Z] 5d3b04190fa2: Verifying Checksum [2023-05-05T06:28:28.968Z] 5d3b04190fa2: Download complete [2023-05-05T06:28:28.968Z] ec43610c2a17: Verifying Checksum [2023-05-05T06:28:28.968Z] ec43610c2a17: Download complete [2023-05-05T06:28:29.227Z] 5eb5b503b376: Verifying Checksum [2023-05-05T06:28:29.227Z] 5eb5b503b376: Download complete [2023-05-05T06:28:29.793Z] 2f39f015ded8: Download complete [2023-05-05T06:28:30.363Z] 5eb5b503b376: Pull complete [2023-05-05T06:28:30.363Z] 5c69ac0246d0: Pull complete [2023-05-05T06:28:30.622Z] ec43610c2a17: Pull complete [2023-05-05T06:28:30.880Z] 3a2ae6a8a46f: Pull complete [2023-05-05T06:28:30.880Z] 33b1e0a273af: Pull complete [2023-05-05T06:28:31.139Z] 5d3b04190fa2: Pull complete [2023-05-05T06:28:35.324Z] 2f39f015ded8: Pull complete [2023-05-05T06:28:35.324Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-05T06:28:35.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T06:28:35.324Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:28:35.413Z] prd-ubuntu20.04-docker-8c-8g-13855 does not seem to be running inside a container [2023-05-05T06:28:35.446Z] $ 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-05-05T06:28:38.351Z] $ docker top 82ad0644f9951dd3b82eb0f55e1cd6cace4ef3a097867e2ed738f9ed73a2b149 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:28:38.727Z] ---> job-cost.sh [2023-05-05T06:28:38.727Z] lf-activate-venv: SKIPPING [2023-05-05T06:28:38.727Z] INFO: No Stack... [2023-05-05T06:28:38.986Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-05T06:28:39.245Z] INFO: Archiving Costs [Pipeline] sh [2023-05-05T06:28:39.531Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-05-05T06:28:39.532Z] + cut -d, -f6 [Pipeline] lock [2023-05-05T06:28:39.545Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-100-stack-cost] [2023-05-05T06:28:39.556Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-100-stack-cost] did not exist. Created. [2023-05-05T06:28:39.556Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-100-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-05T06:28:39.859Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-05T06:28:39.893Z] Stashed 1 file(s) [Pipeline] } [2023-05-05T06:28:39.899Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-100-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-05T06:28:39.917Z] $ docker stop --time=1 82ad0644f9951dd3b82eb0f55e1cd6cace4ef3a097867e2ed738f9ed73a2b149 [2023-05-05T06:28:41.074Z] $ docker rm -f --volumes 82ad0644f9951dd3b82eb0f55e1cd6cace4ef3a097867e2ed738f9ed73a2b149 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-05T06:29:36.670Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-13858 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-05-05T06:29:36.684Z] Running in /w/workspace/device-modbus-go/100 [Pipeline] { [Pipeline] checkout [2023-05-05T06:29:36.720Z] Selected Git installation does not exist. Using Default [2023-05-05T06:29:36.720Z] The recommended git tool is: NONE [2023-05-05T06:29:43.783Z] using credential edgex-jenkins-ssh [2023-05-05T06:29:43.803Z] Cloning the remote Git repository [2023-05-05T06:29:43.866Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-05-05T06:29:43.997Z] > git init /w/workspace/device-modbus-go/100 # timeout=10 [2023-05-05T06:29:44.185Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-05-05T06:29:44.187Z] > git --version # timeout=10 [2023-05-05T06:29:44.211Z] > git --version # 'git version 2.25.1' [2023-05-05T06:29:44.215Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-05T06:29:44.432Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-05T06:29:46.838Z] Avoid second fetch [2023-05-05T06:29:46.838Z] Checking out Revision 9b66715b8b241736f2c193df6e5011bc294930f2 (main) [2023-05-05T06:29:45.677Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-05-05T06:29:45.703Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-05T06:29:46.864Z] > git config core.sparsecheckout # timeout=10 [2023-05-05T06:29:46.971Z] > git checkout -f 9b66715b8b241736f2c193df6e5011bc294930f2 # timeout=10 [2023-05-05T06:29:47.627Z] Commit message: "Merge pull request #470 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.82" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-05T06:29:48.641Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-05T06:29:48.641Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-05T06:29:48.641Z] Dload Upload Total Spent Left Speed [2023-05-05T06:29:48.641Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-05-05T06:29:49.296Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-05T06:29:49.660Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-05T06:29:49.660Z] + sudo tee /etc/docker/daemon.new [2023-05-05T06:29:49.660Z] { [2023-05-05T06:29:49.660Z] "registry-mirrors": [ [2023-05-05T06:29:49.660Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-05T06:29:49.660Z] ], [2023-05-05T06:29:49.660Z] "bip": "10.250.0.254/24", [2023-05-05T06:29:49.660Z] "hosts": [ [2023-05-05T06:29:49.660Z] "tcp://0.0.0.0:5555", [2023-05-05T06:29:49.660Z] "unix:///var/run/docker.sock" [2023-05-05T06:29:49.660Z] ], [2023-05-05T06:29:49.660Z] "mtu": 1458, [2023-05-05T06:29:49.660Z] "selinux-enabled": true, [2023-05-05T06:29:49.660Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-05T06:29:49.660Z] } [Pipeline] sh [2023-05-05T06:29:50.004Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-05T06:29:50.362Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T06:30:08.686Z] provisioning config files... [2023-05-05T06:30:08.718Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/100@tmp/config10656538834949458448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:30:09.077Z] ---> docker-login.sh [2023-05-05T06:30:09.077Z] nexus3.edgexfoundry.org:10001 [2023-05-05T06:30:09.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:30:09.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:30:09.668Z] Configure a credential helper to remove this warning. See [2023-05-05T06:30:09.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:30:09.668Z] [2023-05-05T06:30:09.668Z] Login Succeeded [2023-05-05T06:30:09.668Z] nexus3.edgexfoundry.org:10002 [2023-05-05T06:30:09.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:30:10.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:30:10.205Z] Configure a credential helper to remove this warning. See [2023-05-05T06:30:10.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:30:10.205Z] [2023-05-05T06:30:10.205Z] Login Succeeded [2023-05-05T06:30:10.205Z] nexus3.edgexfoundry.org:10003 [2023-05-05T06:30:10.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:30:10.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:30:10.478Z] Configure a credential helper to remove this warning. See [2023-05-05T06:30:10.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:30:10.478Z] [2023-05-05T06:30:10.478Z] Login Succeeded [2023-05-05T06:30:10.478Z] nexus3.edgexfoundry.org:10004 [2023-05-05T06:30:10.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:30:10.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:30:10.750Z] Configure a credential helper to remove this warning. See [2023-05-05T06:30:10.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:30:10.750Z] [2023-05-05T06:30:10.750Z] Login Succeeded [2023-05-05T06:30:10.750Z] docker.io [2023-05-05T06:30:11.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:30:11.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:30:11.292Z] Configure a credential helper to remove this warning. See [2023-05-05T06:30:11.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:30:11.292Z] [2023-05-05T06:30:11.292Z] Login Succeeded [2023-05-05T06:30:11.292Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T06:30:11.308Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-05T06:30:11.604Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:30:11.617Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:30:11.629Z] ========================================================= [2023-05-05T06:30:11.629Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-05T06:30:11.629Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:30:11.995Z] + 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-05-05T06:30:12.264Z] Sending build context to Docker daemon 3.374MB [2023-05-05T06:30:12.264Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T06:30:12.264Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-05T06:30:12.535Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-05T06:30:12.535Z] c41833b44d91: Pulling fs layer [2023-05-05T06:30:12.535Z] ed15518f5707: Pulling fs layer [2023-05-05T06:30:12.535Z] feae8fd75edb: Pulling fs layer [2023-05-05T06:30:12.535Z] 242c74f7c9fa: Pulling fs layer [2023-05-05T06:30:12.535Z] 3cdef696dda3: Pulling fs layer [2023-05-05T06:30:12.535Z] 2ced38df9373: Pulling fs layer [2023-05-05T06:30:12.535Z] 58f1dce35555: Pulling fs layer [2023-05-05T06:30:12.535Z] 3cdef696dda3: Waiting [2023-05-05T06:30:12.535Z] 2ced38df9373: Waiting [2023-05-05T06:30:12.535Z] 58f1dce35555: Waiting [2023-05-05T06:30:12.535Z] 242c74f7c9fa: Waiting [2023-05-05T06:30:12.535Z] ed15518f5707: Verifying Checksum [2023-05-05T06:30:12.535Z] ed15518f5707: Download complete [2023-05-05T06:30:12.535Z] 242c74f7c9fa: Verifying Checksum [2023-05-05T06:30:12.535Z] 242c74f7c9fa: Download complete [2023-05-05T06:30:12.535Z] 3cdef696dda3: Verifying Checksum [2023-05-05T06:30:12.535Z] 3cdef696dda3: Download complete [2023-05-05T06:30:12.535Z] c41833b44d91: Verifying Checksum [2023-05-05T06:30:13.523Z] c41833b44d91: Pull complete [2023-05-05T06:30:14.125Z] 58f1dce35555: Verifying Checksum [2023-05-05T06:30:14.125Z] 58f1dce35555: Download complete [2023-05-05T06:30:14.398Z] ed15518f5707: Pull complete [2023-05-05T06:30:14.994Z] feae8fd75edb: Download complete [2023-05-05T06:30:15.266Z] 2ced38df9373: Verifying Checksum [2023-05-05T06:30:15.266Z] 2ced38df9373: Download complete [2023-05-05T06:30:25.389Z] feae8fd75edb: Pull complete [2023-05-05T06:30:25.390Z] 242c74f7c9fa: Pull complete [2023-05-05T06:30:25.390Z] 3cdef696dda3: Pull complete [2023-05-05T06:30:33.619Z] 2ced38df9373: Pull complete [2023-05-05T06:30:35.052Z] 58f1dce35555: Pull complete [2023-05-05T06:30:35.325Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-05T06:30:35.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-05T06:30:35.325Z] ---> fadd8f120f05 [2023-05-05T06:30:35.325Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-05T06:30:36.309Z] ---> Running in d1ecfd2629bd [2023-05-05T06:30:36.895Z] Removing intermediate container d1ecfd2629bd [2023-05-05T06:30:36.895Z] ---> aac090481789 [2023-05-05T06:30:36.895Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T06:30:36.895Z] ---> Running in dced4ce76547 [2023-05-05T06:30:37.166Z] Removing intermediate container dced4ce76547 [2023-05-05T06:30:37.166Z] ---> 0ca72d169a4f [2023-05-05T06:30:37.166Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-05T06:30:37.166Z] ---> Running in 5cd4a6307d73 [2023-05-05T06:30:38.587Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-05T06:30:39.175Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-05T06:30:40.235Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-05-05T06:30:40.235Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-05T06:30:40.235Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-05-05T06:30:40.235Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-05-05T06:30:40.509Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-05-05T06:30:40.509Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-05-05T06:30:40.509Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-05-05T06:30:40.509Z] (8/8) Installing openssh (9.1_p1-r2) [2023-05-05T06:30:40.509Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T06:30:40.509Z] OK: 270 MiB in 61 packages [2023-05-05T06:30:41.487Z] Removing intermediate container 5cd4a6307d73 [2023-05-05T06:30:41.487Z] ---> 9fbf1a3f1e16 [2023-05-05T06:30:41.487Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-05T06:30:41.755Z] ---> Running in 7d95daf69fc1 [2023-05-05T06:30:42.025Z] Removing intermediate container 7d95daf69fc1 [2023-05-05T06:30:42.025Z] ---> b3280eec49f1 [2023-05-05T06:30:42.025Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-05T06:30:42.615Z] ---> d7e7317b240e [2023-05-05T06:30:42.615Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T06:30:42.615Z] ---> Running in 68560f228e3f [2023-05-05T06:31:50.601Z] Removing intermediate container 68560f228e3f [2023-05-05T06:31:50.601Z] ---> 5fc82ec1a992 [2023-05-05T06:31:50.601Z] Step 9/10 : COPY . . [2023-05-05T06:31:50.601Z] ---> caeddf819d16 [2023-05-05T06:31:50.601Z] Step 10/10 : RUN ${MAKE} [2023-05-05T06:31:50.601Z] ---> Running in 59bf07da526d [2023-05-05T06:31:51.584Z] noop [2023-05-05T06:31:52.557Z] Removing intermediate container 59bf07da526d [2023-05-05T06:31:52.558Z] ---> d640461b3b48 [2023-05-05T06:31:52.558Z] Successfully built d640461b3b48 [2023-05-05T06:31:52.558Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:31:52.921Z] + docker inspect -f . ci-base-image-arm64 [2023-05-05T06:31:52.921Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:31:53.178Z] prd-ubuntu20.04-docker-arm64-4c-16g-13858 does not seem to be running inside a container [2023-05-05T06:31:53.270Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/100 -v /w/workspace/device-modbus-go/100:/w/workspace/device-modbus-go/100:rw,z -v /w/workspace/device-modbus-go/100@tmp:/w/workspace/device-modbus-go/100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-05T06:31:55.555Z] $ docker top 50cd90f456908eddef36eefd82f61b6421a63e25f0c183e0790c64db836b9b5d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T06:31:56.489Z] + go version [2023-05-05T06:31:56.489Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-05T06:31:56.516Z] $ docker stop --time=1 50cd90f456908eddef36eefd82f61b6421a63e25f0c183e0790c64db836b9b5d [2023-05-05T06:31:58.234Z] $ docker rm -f --volumes 50cd90f456908eddef36eefd82f61b6421a63e25f0c183e0790c64db836b9b5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:31:58.833Z] + docker inspect -f . ci-base-image-arm64 [2023-05-05T06:31:58.834Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:31:59.062Z] prd-ubuntu20.04-docker-arm64-4c-16g-13858 does not seem to be running inside a container [2023-05-05T06:31:59.154Z] $ 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/100 -v /w/workspace/device-modbus-go/100:/w/workspace/device-modbus-go/100:rw,z -v /w/workspace/device-modbus-go/100@tmp:/w/workspace/device-modbus-go/100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-05T06:32:00.551Z] $ docker top b564ee03729994d050534f28aa04f7e5a83c4e2284222095457934176fc3a679 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T06:32:01.465Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/100 [Pipeline] fileExists [Pipeline] sh [2023-05-05T06:32:02.136Z] + make test [2023-05-05T06:32:02.136Z] go test ./... -coverprofile=coverage.out [2023-05-05T06:32:49.064Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-05T06:35:10.914Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-05T06:35:14.303Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.087s coverage: 47.4% of statements [2023-05-05T06:35:14.893Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-05T06:35:14.893Z] go vet ./... [2023-05-05T06:35:47.198Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-05T06:35:47.472Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-05T06:35:47.472Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-05T06:35:48.082Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-05T06:35:48.095Z] $ docker stop --time=1 b564ee03729994d050534f28aa04f7e5a83c4e2284222095457934176fc3a679 [2023-05-05T06:35:50.052Z] $ docker rm -f --volumes b564ee03729994d050534f28aa04f7e5a83c4e2284222095457934176fc3a679 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T06:35:51.404Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-05T06:35:51.434Z] Warning: overwriting stash ‘coverage-report’ [2023-05-05T06:35:52.152Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-05T06:35:52.552Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-05T06:35:52.936Z] + ls -al . [2023-05-05T06:35:52.936Z] total 176 [2023-05-05T06:35:52.936Z] drwxrwxr-x 9 jenkins jenkins 4096 May 5 06:32 . [2023-05-05T06:35:52.936Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:29 .. [2023-05-05T06:35:52.936Z] -rw-rw-r-- 1 jenkins jenkins 140 May 5 06:29 .dockerignore [2023-05-05T06:35:52.936Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:29 .git [2023-05-05T06:35:52.936Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:29 .github [2023-05-05T06:35:52.936Z] -rw-rw-r-- 1 jenkins jenkins 331 May 5 06:29 .gitignore [2023-05-05T06:35:52.936Z] -rw-rw-r-- 1 jenkins jenkins 41 May 5 06:29 .golangci.yml [2023-05-05T06:35:52.936Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 5 06:29 Attribution.txt [2023-05-05T06:35:52.937Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 5 06:29 CHANGELOG.md [2023-05-05T06:35:52.937Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 5 06:29 Dockerfile [2023-05-05T06:35:52.937Z] -rw-rw-r-- 1 jenkins jenkins 677 May 5 06:29 GOVERNANCE.md [2023-05-05T06:35:52.937Z] -rw-rw-r-- 1 jenkins jenkins 680 May 5 06:29 Jenkinsfile [2023-05-05T06:35:52.937Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 5 06:29 LICENSE [2023-05-05T06:35:52.937Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 5 06:29 Makefile [2023-05-05T06:35:52.937Z] -rw-rw-r-- 1 jenkins jenkins 622 May 5 06:29 OWNERS.md [2023-05-05T06:35:52.937Z] -rw-rw-r-- 1 jenkins jenkins 4045 May 5 06:29 README.md [2023-05-05T06:35:52.937Z] -rw-rw-r-- 1 jenkins jenkins 12 May 5 06:26 VERSION [2023-05-05T06:35:52.937Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:29 bin [2023-05-05T06:35:52.937Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:29 cmd [2023-05-05T06:35:52.937Z] -rw-r--r-- 1 jenkins jenkins 24160 May 5 06:35 coverage.out [2023-05-05T06:35:52.937Z] -rw-rw-r-- 1 jenkins jenkins 3453 May 5 06:29 go.mod [2023-05-05T06:35:52.937Z] -rw-rw-r-- 1 jenkins jenkins 31670 May 5 06:29 go.sum [2023-05-05T06:35:52.937Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:29 internal [2023-05-05T06:35:52.937Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:29 simulator [2023-05-05T06:35:52.937Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:29 snap [2023-05-05T06:35:52.937Z] -rw-rw-r-- 1 jenkins jenkins 229 May 5 06:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:35:53.301Z] + 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=9b66715b8b241736f2c193df6e5011bc294930f2 --label arch=arm64 --label version=3.0.0-dev.34 . [2023-05-05T06:35:53.575Z] Sending build context to Docker daemon 3.399MB [2023-05-05T06:35:53.851Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T06:35:53.851Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-05T06:35:53.851Z] ---> d640461b3b48 [2023-05-05T06:35:53.851Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-05T06:35:53.851Z] ---> Running in 58d6e9f9058d [2023-05-05T06:35:54.452Z] Removing intermediate container 58d6e9f9058d [2023-05-05T06:35:54.452Z] ---> 89ea8f3c6833 [2023-05-05T06:35:54.452Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T06:35:54.452Z] ---> Running in e2b7ec6a878d [2023-05-05T06:35:54.726Z] Removing intermediate container e2b7ec6a878d [2023-05-05T06:35:54.726Z] ---> 827f66029d6e [2023-05-05T06:35:54.726Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-05T06:35:54.998Z] ---> Running in 7df297d6e7ff [2023-05-05T06:35:56.428Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-05T06:35:57.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-05T06:35:58.994Z] OK: 270 MiB in 61 packages [2023-05-05T06:35:59.586Z] Removing intermediate container 7df297d6e7ff [2023-05-05T06:35:59.586Z] ---> 860a7fd1dbeb [2023-05-05T06:35:59.586Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-05T06:36:00.081Z] ---> Running in 21061280e6ef [2023-05-05T06:36:00.081Z] Removing intermediate container 21061280e6ef [2023-05-05T06:36:00.081Z] ---> d07912fb728c [2023-05-05T06:36:00.081Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-05T06:36:00.672Z] ---> f5b749693c5b [2023-05-05T06:36:00.672Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T06:36:00.945Z] ---> Running in c49a9d1f8244 [2023-05-05T06:36:04.320Z] Removing intermediate container c49a9d1f8244 [2023-05-05T06:36:04.320Z] ---> 1e635a4794ec [2023-05-05T06:36:04.320Z] Step 9/22 : COPY . . [2023-05-05T06:36:04.920Z] ---> 7f9a382236cd [2023-05-05T06:36:04.920Z] Step 10/22 : RUN ${MAKE} [2023-05-05T06:36:04.920Z] ---> Running in 02810cedfcc3 [2023-05-05T06:36:06.357Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.34" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-05T06:38:58.226Z] Removing intermediate container 02810cedfcc3 [2023-05-05T06:38:58.226Z] ---> 954f27a8e368 [2023-05-05T06:38:58.226Z] Step 11/22 : FROM alpine:3.17 [2023-05-05T06:38:58.226Z] 3.17: Pulling from library/alpine [2023-05-05T06:38:58.226Z] c41833b44d91: Already exists [2023-05-05T06:38:58.226Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-05T06:38:58.226Z] Status: Downloaded newer image for alpine:3.17 [2023-05-05T06:38:58.226Z] ---> 51e60588ff2c [2023-05-05T06:38:58.226Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-05T06:38:58.226Z] ---> Running in e04d2dca21ed [2023-05-05T06:38:58.226Z] Removing intermediate container e04d2dca21ed [2023-05-05T06:38:58.226Z] ---> c1b05ad05ae6 [2023-05-05T06:38:58.226Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-05T06:38:58.226Z] ---> Running in 673b6367aa26 [2023-05-05T06:38:58.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-05T06:38:58.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-05T06:38:58.226Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-05T06:38:58.226Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T06:38:58.226Z] OK: 8 MiB in 16 packages [2023-05-05T06:38:58.226Z] Removing intermediate container 673b6367aa26 [2023-05-05T06:38:58.226Z] ---> 9de085e2fb7c [2023-05-05T06:38:58.226Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-05T06:38:58.226Z] ---> 2f9b496b452f [2023-05-05T06:38:58.226Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-05T06:38:58.226Z] ---> a21581bf2b22 [2023-05-05T06:38:58.226Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-05T06:38:58.226Z] ---> fd944a105435 [2023-05-05T06:38:58.226Z] Step 17/22 : EXPOSE 59901 [2023-05-05T06:38:58.226Z] ---> Running in 02fd8d1ac926 [2023-05-05T06:38:58.226Z] Removing intermediate container 02fd8d1ac926 [2023-05-05T06:38:58.226Z] ---> 5a2eba0e43a8 [2023-05-05T06:38:58.226Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-05T06:38:58.226Z] ---> Running in 91030f598a52 [2023-05-05T06:38:58.226Z] Removing intermediate container 91030f598a52 [2023-05-05T06:38:58.226Z] ---> 34b092c8ef23 [2023-05-05T06:38:58.226Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-05T06:38:58.226Z] ---> Running in 5d9580f8b6d6 [2023-05-05T06:38:58.226Z] Removing intermediate container 5d9580f8b6d6 [2023-05-05T06:38:58.226Z] ---> 3ec622325e9b [2023-05-05T06:38:58.226Z] Step 20/22 : LABEL arch=arm64 [2023-05-05T06:38:58.226Z] ---> Running in f46ac8e57c49 [2023-05-05T06:38:58.226Z] Removing intermediate container f46ac8e57c49 [2023-05-05T06:38:58.226Z] ---> 91a1a54918a4 [2023-05-05T06:38:58.226Z] Step 21/22 : LABEL git_sha=9b66715b8b241736f2c193df6e5011bc294930f2 [2023-05-05T06:38:58.226Z] ---> Running in 7d37d52f9668 [2023-05-05T06:38:58.226Z] Removing intermediate container 7d37d52f9668 [2023-05-05T06:38:58.226Z] ---> 3966a97fbf64 [2023-05-05T06:38:58.226Z] Step 22/22 : LABEL version=3.0.0-dev.34 [2023-05-05T06:38:58.226Z] ---> Running in d5dd4bace1b7 [2023-05-05T06:38:58.226Z] Removing intermediate container d5dd4bace1b7 [2023-05-05T06:38:58.226Z] ---> 5271238f7a8c [2023-05-05T06:38:58.226Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-05T06:38:58.226Z] Successfully built 5271238f7a8c [2023-05-05T06:38:58.226Z] 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-05-05T06:38:58.326Z] provisioning config files... [2023-05-05T06:38:58.344Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/100@tmp/config10630383795419455591tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:38:58.691Z] ---> docker-login.sh [2023-05-05T06:38:58.691Z] nexus3.edgexfoundry.org:10001 [2023-05-05T06:38:58.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:38:58.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:38:58.960Z] Configure a credential helper to remove this warning. See [2023-05-05T06:38:58.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:38:58.960Z] [2023-05-05T06:38:58.960Z] Login Succeeded [2023-05-05T06:38:58.960Z] nexus3.edgexfoundry.org:10002 [2023-05-05T06:38:59.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:38:59.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:38:59.496Z] Configure a credential helper to remove this warning. See [2023-05-05T06:38:59.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:38:59.496Z] [2023-05-05T06:38:59.496Z] Login Succeeded [2023-05-05T06:38:59.496Z] nexus3.edgexfoundry.org:10003 [2023-05-05T06:38:59.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:38:59.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:38:59.765Z] Configure a credential helper to remove this warning. See [2023-05-05T06:38:59.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:38:59.765Z] [2023-05-05T06:38:59.765Z] Login Succeeded [2023-05-05T06:38:59.765Z] nexus3.edgexfoundry.org:10004 [2023-05-05T06:39:00.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:39:00.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:39:00.304Z] Configure a credential helper to remove this warning. See [2023-05-05T06:39:00.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:39:00.304Z] [2023-05-05T06:39:00.304Z] Login Succeeded [2023-05-05T06:39:00.304Z] docker.io [2023-05-05T06:39:00.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:39:00.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:39:00.843Z] Configure a credential helper to remove this warning. See [2023-05-05T06:39:00.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:39:00.843Z] [2023-05-05T06:39:00.843Z] Login Succeeded [2023-05-05T06:39:00.843Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T06:39:00.859Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T06:39:00.885Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:39:00.910Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-05-05T06:39:00.910Z] 9b66715b8b241736f2c193df6e5011bc294930f2 [2023-05-05T06:39:00.910Z] latest [2023-05-05T06:39:00.910Z] 3.0.0-dev.34 [2023-05-05T06:39:00.910Z] 9b66715b8b241736f2c193df6e5011bc294930f2-3.0.0-dev.34 [2023-05-05T06:39:00.910Z] main [2023-05-05T06:39:00.910Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:39:01.269Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:9b66715b8b241736f2c193df6e5011bc294930f2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:39:01.729Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:9b66715b8b241736f2c193df6e5011bc294930f2 [2023-05-05T06:39:01.729Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-05T06:39:01.729Z] e99c45927114: Preparing [2023-05-05T06:39:01.729Z] 49312f5965af: Preparing [2023-05-05T06:39:01.729Z] 077c3fd21161: Preparing [2023-05-05T06:39:01.729Z] 741a20a9a5fb: Preparing [2023-05-05T06:39:01.729Z] 26cbea5cba74: Preparing [2023-05-05T06:39:01.729Z] 26cbea5cba74: Layer already exists [2023-05-05T06:39:02.005Z] e99c45927114: Pushed [2023-05-05T06:39:02.005Z] 49312f5965af: Pushed [2023-05-05T06:39:02.005Z] 741a20a9a5fb: Pushed [2023-05-05T06:39:07.448Z] 077c3fd21161: Pushed [2023-05-05T06:39:07.448Z] 9b66715b8b241736f2c193df6e5011bc294930f2: digest: sha256:b96799754fdbaffe32a8a4427c1657d8d8e84af9efa8c8101371f6a17035c1b6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:39:07.804Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:39:08.154Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-05-05T06:39:08.154Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-05T06:39:08.154Z] e99c45927114: Preparing [2023-05-05T06:39:08.154Z] 49312f5965af: Preparing [2023-05-05T06:39:08.154Z] 077c3fd21161: Preparing [2023-05-05T06:39:08.154Z] 741a20a9a5fb: Preparing [2023-05-05T06:39:08.154Z] 26cbea5cba74: Preparing [2023-05-05T06:39:08.154Z] e99c45927114: Layer already exists [2023-05-05T06:39:08.154Z] 077c3fd21161: Layer already exists [2023-05-05T06:39:08.154Z] 49312f5965af: Layer already exists [2023-05-05T06:39:08.154Z] 741a20a9a5fb: Layer already exists [2023-05-05T06:39:08.154Z] 26cbea5cba74: Layer already exists [2023-05-05T06:39:08.422Z] latest: digest: sha256:b96799754fdbaffe32a8a4427c1657d8d8e84af9efa8c8101371f6a17035c1b6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:39:08.778Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.34 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:39:09.125Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.34 [2023-05-05T06:39:09.125Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-05T06:39:09.125Z] e99c45927114: Preparing [2023-05-05T06:39:09.125Z] 49312f5965af: Preparing [2023-05-05T06:39:09.125Z] 077c3fd21161: Preparing [2023-05-05T06:39:09.125Z] 741a20a9a5fb: Preparing [2023-05-05T06:39:09.125Z] 26cbea5cba74: Preparing [2023-05-05T06:39:09.125Z] e99c45927114: Layer already exists [2023-05-05T06:39:09.125Z] 49312f5965af: Layer already exists [2023-05-05T06:39:09.125Z] 741a20a9a5fb: Layer already exists [2023-05-05T06:39:09.125Z] 26cbea5cba74: Layer already exists [2023-05-05T06:39:09.125Z] 077c3fd21161: Layer already exists [2023-05-05T06:39:09.125Z] 3.0.0-dev.34: digest: sha256:b96799754fdbaffe32a8a4427c1657d8d8e84af9efa8c8101371f6a17035c1b6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:39:09.742Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:9b66715b8b241736f2c193df6e5011bc294930f2-3.0.0-dev.34 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:39:10.096Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:9b66715b8b241736f2c193df6e5011bc294930f2-3.0.0-dev.34 [2023-05-05T06:39:10.096Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-05T06:39:10.096Z] e99c45927114: Preparing [2023-05-05T06:39:10.096Z] 49312f5965af: Preparing [2023-05-05T06:39:10.096Z] 077c3fd21161: Preparing [2023-05-05T06:39:10.096Z] 741a20a9a5fb: Preparing [2023-05-05T06:39:10.096Z] 26cbea5cba74: Preparing [2023-05-05T06:39:10.096Z] 077c3fd21161: Layer already exists [2023-05-05T06:39:10.096Z] 26cbea5cba74: Layer already exists [2023-05-05T06:39:10.096Z] e99c45927114: Layer already exists [2023-05-05T06:39:10.096Z] 741a20a9a5fb: Layer already exists [2023-05-05T06:39:10.096Z] 49312f5965af: Layer already exists [2023-05-05T06:39:10.363Z] 9b66715b8b241736f2c193df6e5011bc294930f2-3.0.0-dev.34: digest: sha256:b96799754fdbaffe32a8a4427c1657d8d8e84af9efa8c8101371f6a17035c1b6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:39:10.724Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:39:11.066Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-05-05T06:39:11.066Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-05T06:39:11.066Z] e99c45927114: Preparing [2023-05-05T06:39:11.066Z] 49312f5965af: Preparing [2023-05-05T06:39:11.066Z] 077c3fd21161: Preparing [2023-05-05T06:39:11.066Z] 741a20a9a5fb: Preparing [2023-05-05T06:39:11.066Z] 26cbea5cba74: Preparing [2023-05-05T06:39:11.066Z] 49312f5965af: Layer already exists [2023-05-05T06:39:11.066Z] 077c3fd21161: Layer already exists [2023-05-05T06:39:11.066Z] 741a20a9a5fb: Layer already exists [2023-05-05T06:39:11.066Z] 26cbea5cba74: Layer already exists [2023-05-05T06:39:11.066Z] e99c45927114: Layer already exists [2023-05-05T06:39:11.336Z] main: digest: sha256:b96799754fdbaffe32a8a4427c1657d8d8e84af9efa8c8101371f6a17035c1b6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T06:39:11.388Z] ===================================================== [Pipeline] echo [2023-05-05T06:39:11.398Z] taggedImages: [2023-05-05T06:39:11.398Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:9b66715b8b241736f2c193df6e5011bc294930f2 [2023-05-05T06:39:11.398Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-05-05T06:39:11.398Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.34 [2023-05-05T06:39:11.398Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:9b66715b8b241736f2c193df6e5011bc294930f2-3.0.0-dev.34 [2023-05-05T06:39:11.398Z] - 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-05-05T06:39:11.771Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T06:39:11.771Z] [2023-05-05T06:39:11.771Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:39:12.111Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T06:39:12.111Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-05T06:39:12.111Z] 8998bd30e6a1: Pulling fs layer [2023-05-05T06:39:12.111Z] 04944245beec: Pulling fs layer [2023-05-05T06:39:12.111Z] 699f458cf7ca: Pulling fs layer [2023-05-05T06:39:12.111Z] 765212b225bb: Pulling fs layer [2023-05-05T06:39:12.111Z] f23df028b6ca: Pulling fs layer [2023-05-05T06:39:12.111Z] d65c8cfc05b1: Pulling fs layer [2023-05-05T06:39:12.111Z] 2437ff75d9bd: Pulling fs layer [2023-05-05T06:39:12.111Z] 765212b225bb: Waiting [2023-05-05T06:39:12.111Z] f23df028b6ca: Waiting [2023-05-05T06:39:12.111Z] d65c8cfc05b1: Waiting [2023-05-05T06:39:12.111Z] 2437ff75d9bd: Waiting [2023-05-05T06:39:12.386Z] 04944245beec: Verifying Checksum [2023-05-05T06:39:12.386Z] 04944245beec: Download complete [2023-05-05T06:39:12.386Z] 765212b225bb: Verifying Checksum [2023-05-05T06:39:12.386Z] 765212b225bb: Download complete [2023-05-05T06:39:12.386Z] f23df028b6ca: Verifying Checksum [2023-05-05T06:39:12.386Z] f23df028b6ca: Download complete [2023-05-05T06:39:12.386Z] d65c8cfc05b1: Verifying Checksum [2023-05-05T06:39:12.386Z] d65c8cfc05b1: Download complete [2023-05-05T06:39:12.657Z] 699f458cf7ca: Verifying Checksum [2023-05-05T06:39:12.657Z] 699f458cf7ca: Download complete [2023-05-05T06:39:12.928Z] 8998bd30e6a1: Verifying Checksum [2023-05-05T06:39:12.928Z] 8998bd30e6a1: Download complete [2023-05-05T06:39:15.523Z] 2437ff75d9bd: Verifying Checksum [2023-05-05T06:39:15.523Z] 2437ff75d9bd: Download complete [2023-05-05T06:39:16.942Z] 8998bd30e6a1: Pull complete [2023-05-05T06:39:17.211Z] 04944245beec: Pull complete [2023-05-05T06:39:18.629Z] 699f458cf7ca: Pull complete [2023-05-05T06:39:18.897Z] 765212b225bb: Pull complete [2023-05-05T06:39:19.868Z] f23df028b6ca: Pull complete [2023-05-05T06:39:19.868Z] d65c8cfc05b1: Pull complete [2023-05-05T06:39:34.877Z] 2437ff75d9bd: Pull complete [2023-05-05T06:39:34.877Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-05T06:39:34.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T06:39:34.877Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:39:35.098Z] prd-ubuntu20.04-docker-arm64-4c-16g-13858 does not seem to be running inside a container [2023-05-05T06:39:35.190Z] $ 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/100 -v /w/workspace/device-modbus-go/100:/w/workspace/device-modbus-go/100:rw,z -v /w/workspace/device-modbus-go/100@tmp:/w/workspace/device-modbus-go/100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-05T06:39:38.168Z] $ docker top 0cb593b7e38864168e64a134b1b1b19829fe3709e6a8371f75fa82fc894ca8ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:39:39.079Z] ---> job-cost.sh [2023-05-05T06:39:39.079Z] lf-activate-venv: SKIPPING [2023-05-05T06:39:39.079Z] INFO: No Stack... [2023-05-05T06:39:39.668Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-05T06:39:40.257Z] INFO: Archiving Costs [Pipeline] sh [2023-05-05T06:39:40.915Z] + cat /w/workspace/device-modbus-go/100/archives/cost.csv [2023-05-05T06:39:40.915Z] + cut -d, -f6 [Pipeline] lock [2023-05-05T06:39:41.011Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-100-stack-cost] [2023-05-05T06:39:41.017Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-100-stack-cost] did not exist. Created. [2023-05-05T06:39:41.017Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-100-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-05T06:39:41.703Z] /w/workspace/device-modbus-go/100@tmp/durable-ecc1bbe3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-05T06:39:42.383Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-05T06:39:42.408Z] Warning: overwriting stash ‘stack-cost’ [2023-05-05T06:39:42.469Z] Stashed 1 file(s) [Pipeline] } [2023-05-05T06:39:42.479Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-100-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-05T06:39:42.499Z] $ docker stop --time=1 0cb593b7e38864168e64a134b1b1b19829fe3709e6a8371f75fa82fc894ca8ce [2023-05-05T06:39:44.114Z] $ docker rm -f --volumes 0cb593b7e38864168e64a134b1b1b19829fe3709e6a8371f75fa82fc894ca8ce [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-05-05T06:39:44.539Z] provisioning config files... [2023-05-05T06:39:44.547Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15366770711300903863tmp [Pipeline] { [Pipeline] sh [2023-05-05T06:39:44.839Z] + set +x [2023-05-05T06:39:44.839Z] + curl -s https://codecov.io/bash [2023-05-05T06:39:44.839Z] + bash -s -- [2023-05-05T06:39:44.839Z] [2023-05-05T06:39:44.839Z] _____ _ [2023-05-05T06:39:44.839Z] / ____| | | [2023-05-05T06:39:44.839Z] | | ___ __| | ___ ___ _____ __ [2023-05-05T06:39:44.839Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-05T06:39:44.839Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-05T06:39:44.839Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-05T06:39:44.839Z] Bash-1.0.6 [2023-05-05T06:39:44.839Z] [2023-05-05T06:39:44.839Z] [2023-05-05T06:39:44.839Z] ==> git version 2.25.1 found [2023-05-05T06:39:44.839Z] ==> 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-05-05T06:39:44.839Z] Release-Date: 2020-01-08 [2023-05-05T06:39:44.839Z] 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-05-05T06:39:44.839Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-05T06:39:44.839Z] ==> Jenkins CI detected. [2023-05-05T06:39:44.839Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-05-05T06:39:44.839Z] project root: . [2023-05-05T06:39:44.839Z] --> token set from env [2023-05-05T06:39:44.839Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-05T06:39:44.839Z] ==> Running gcov in . (disable via -X gcov) [2023-05-05T06:39:44.839Z] ==> Python coveragepy not found [2023-05-05T06:39:44.839Z] ==> Searching for coverage reports in: [2023-05-05T06:39:44.839Z] + . [2023-05-05T06:39:44.839Z] -> Found 1 reports [2023-05-05T06:39:44.839Z] ==> Detecting git/mercurial file structure [2023-05-05T06:39:44.839Z] ==> Reading reports [2023-05-05T06:39:44.839Z] + ./coverage.out bytes=24160 [2023-05-05T06:39:44.839Z] ==> Appending adjustments [2023-05-05T06:39:44.839Z] https://docs.codecov.io/docs/fixing-reports [2023-05-05T06:39:45.100Z] + Found adjustments [2023-05-05T06:39:45.100Z] ==> Gzipping contents [2023-05-05T06:39:45.100Z] 4.0K /tmp/codecov.9YMDqj.gz [2023-05-05T06:39:45.100Z] ==> Uploading reports [2023-05-05T06:39:45.100Z] url: https://codecov.io [2023-05-05T06:39:45.100Z] query: branch=main&commit=9b66715b8b241736f2c193df6e5011bc294930f2&build=100&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F100%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-05T06:39:45.100Z] -> Pinging Codecov [2023-05-05T06:39:45.100Z] 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=9b66715b8b241736f2c193df6e5011bc294930f2&build=100&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F100%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-05T06:39:45.361Z] -> Uploading to [2023-05-05T06:39:45.361Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-05/55DBCA73C666E3227836607328DD7E49/9b66715b8b241736f2c193df6e5011bc294930f2/e2068c4a-23cf-485d-9e9c-ad8c13143dc9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230505T063945Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=658d3ea1a83529fd5c9829ca8a696e40fac74081154704be628456b56319af9b [2023-05-05T06:39:45.361Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-05T06:39:45.361Z] Dload Upload Total Spent Left Speed [2023-05-05T06:39:45.361Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 17755 --:--:-- --:--:-- --:--:-- 17755 [2023-05-05T06:39:45.623Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/9b66715b8b241736f2c193df6e5011bc294930f2 [Pipeline] } [2023-05-05T06:39:45.632Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-05T06:39:45.768Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-05T06:39:45.778Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:39:46.078Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-05T06:39:46.079Z] [2023-05-05T06:39:46.079Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:39:46.378Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-05T06:39:46.378Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-05T06:39:46.378Z] df9b9388f04a: Pulling fs layer [2023-05-05T06:39:46.378Z] 52dc419b0ee2: Pulling fs layer [2023-05-05T06:39:46.378Z] 25bc292e5bac: Pulling fs layer [2023-05-05T06:39:46.378Z] 114826534d7a: Pulling fs layer [2023-05-05T06:39:46.378Z] 4657fd5d0bcf: Pulling fs layer [2023-05-05T06:39:46.378Z] 6ad1cebc031e: Pulling fs layer [2023-05-05T06:39:46.378Z] 8a3aa393b2d8: Pulling fs layer [2023-05-05T06:39:46.378Z] 4657fd5d0bcf: Waiting [2023-05-05T06:39:46.378Z] 114826534d7a: Waiting [2023-05-05T06:39:46.378Z] 8a3aa393b2d8: Waiting [2023-05-05T06:39:46.378Z] 25bc292e5bac: Download complete [2023-05-05T06:39:46.378Z] 52dc419b0ee2: Verifying Checksum [2023-05-05T06:39:46.378Z] 52dc419b0ee2: Download complete [2023-05-05T06:39:46.378Z] 4657fd5d0bcf: Download complete [2023-05-05T06:39:46.378Z] df9b9388f04a: Verifying Checksum [2023-05-05T06:39:46.378Z] df9b9388f04a: Download complete [2023-05-05T06:39:46.639Z] df9b9388f04a: Pull complete [2023-05-05T06:39:46.639Z] 6ad1cebc031e: Verifying Checksum [2023-05-05T06:39:46.639Z] 6ad1cebc031e: Download complete [2023-05-05T06:39:46.639Z] 52dc419b0ee2: Pull complete [2023-05-05T06:39:46.639Z] 25bc292e5bac: Pull complete [2023-05-05T06:39:47.207Z] 114826534d7a: Verifying Checksum [2023-05-05T06:39:47.207Z] 114826534d7a: Download complete [2023-05-05T06:39:47.207Z] 8a3aa393b2d8: Verifying Checksum [2023-05-05T06:39:47.207Z] 8a3aa393b2d8: Download complete [2023-05-05T06:39:50.488Z] 114826534d7a: Pull complete [2023-05-05T06:39:50.488Z] 4657fd5d0bcf: Pull complete [2023-05-05T06:39:50.745Z] 6ad1cebc031e: Pull complete [2023-05-05T06:39:53.270Z] 8a3aa393b2d8: Pull complete [2023-05-05T06:39:53.270Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-05T06:39:53.270Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-05T06:39:53.270Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:39:53.358Z] prd-ubuntu20.04-docker-8c-8g-13855 does not seem to be running inside a container [2023-05-05T06:39:53.390Z] $ 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-05-05T06:39:57.255Z] $ docker top 89a8cfb5cb07e762792d98cfbebffa870f636a51af62f6732def176d9dac9430 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-05T06:39:57.324Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-05-05T06:39:57.601Z] + set -o pipefail [2023-05-05T06:39:57.601Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-05-05T06:40:01.797Z] [2023-05-05T06:40:01.797Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-05-05T06:40:01.797Z] [2023-05-05T06:40:01.797Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/04515cc5-96b7-4157-b86f-432d9c2bd4de [2023-05-05T06:40:01.797Z] [2023-05-05T06:40:01.797Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-05-05T06:40:01.797Z] [2023-05-05T06:40:01.797Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-05T06:40:01.797Z] [2023-05-05T06:40:02.057Z] [2023-05-05T06:40:02.057Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-05T06:40:02.057Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-05T06:40:02.057Z] More details here: https://snyk.co/ue1NS [2023-05-05T06:40:02.057Z] You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. [2023-05-05T06:40:02.058Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-05-05T06:40:02.071Z] $ docker stop --time=1 89a8cfb5cb07e762792d98cfbebffa870f636a51af62f6732def176d9dac9430 [2023-05-05T06:40:04.939Z] $ docker rm -f --volumes 89a8cfb5cb07e762792d98cfbebffa870f636a51af62f6732def176d9dac9430 [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-05-05T06:40:08.740Z] + git log --format=format:%s -1 9b66715b8b241736f2c193df6e5011bc294930f2 [Pipeline] sh [2023-05-05T06:40:09.031Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T06:40:09.031Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:40:09.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:40:09.334Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:40:09.408Z] prd-ubuntu20.04-docker-8c-8g-13855 does not seem to be running inside a container [2023-05-05T06:40:09.436Z] $ 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-05-05T06:40:09.839Z] $ docker top ba89635ca859ce49e98f650e8897d2c51bd1dc3d36c3f959e8fae99fe7c6179b -eo pid,comm [2023-05-05T06:40:09.890Z] 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-05-05T06:40:09.890Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T06:40:09.922Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T06:40:09.922Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T06:40:10.031Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T06:40:10.032Z] $ docker exec ba89635ca859ce49e98f650e8897d2c51bd1dc3d36c3f959e8fae99fe7c6179b ssh-agent [2023-05-05T06:40:10.130Z] SSH_AUTH_SOCK=/tmp/ssh-Bvu14aCJ3TsJ/agent.31 [2023-05-05T06:40:10.130Z] SSH_AGENT_PID=37 [2023-05-05T06:40:10.136Z] Running ssh-add (command line suppressed) [2023-05-05T06:40:10.220Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9988031643060493498.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9988031643060493498.key) [2023-05-05T06:40:10.236Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T06:40:10.525Z] + git semver tag [2023-05-05T06:40:10.785Z] 2023-05-05 06:40:10,670 [run_tag] DEBUG tag force:False [2023-05-05T06:40:10.785Z] 2023-05-05 06:40:10,670 [check_head_tag] DEBUG check head tag [2023-05-05T06:40:10.785Z] 2023-05-05 06:40:10,671 [execute] INFO git cat-file --batch-check [2023-05-05T06:40:10.785Z] 2023-05-05 06:40:10,672 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-05-05T06:40:10.785Z] 2023-05-05 06:40:10,675 [execute] INFO git cat-file --batch [2023-05-05T06:40:10.785Z] 2023-05-05 06:40:10,676 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-05-05T06:40:10.785Z] 2023-05-05 06:40:10,697 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-05T06:40:10.785Z] 2023-05-05 06:40:10,697 [execute] INFO git tag -a v3.0.0-dev.34 -m v3.0.0-dev.34 [2023-05-05T06:40:10.785Z] 2023-05-05 06:40:10,697 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.34', '-m', 'v3.0.0-dev.34'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-05T06:40:10.785Z] 2023-05-05 06:40:10,701 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-05T06:40:10.785Z] 3.0.0-dev.34 [Pipeline] } [2023-05-05T06:40:10.792Z] $ docker exec --env ******** --env ******** ba89635ca859ce49e98f650e8897d2c51bd1dc3d36c3f959e8fae99fe7c6179b ssh-agent -k [2023-05-05T06:40:10.876Z] unset SSH_AUTH_SOCK; [2023-05-05T06:40:10.876Z] unset SSH_AGENT_PID; [2023-05-05T06:40:10.876Z] echo Agent pid 37 killed; [2023-05-05T06:40:10.886Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T06:40:11.193Z] + git semver [Pipeline] } [2023-05-05T06:40:11.464Z] $ docker stop --time=1 ba89635ca859ce49e98f650e8897d2c51bd1dc3d36c3f959e8fae99fe7c6179b [2023-05-05T06:40:12.718Z] $ docker rm -f --volumes ba89635ca859ce49e98f650e8897d2c51bd1dc3d36c3f959e8fae99fe7c6179b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:40:13.119Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-05T06:40:13.119Z] [2023-05-05T06:40:13.119Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:40:13.425Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-05T06:40:13.425Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-05T06:40:13.425Z] ab5ef0e58194: Pulling fs layer [2023-05-05T06:40:13.425Z] 9712f1f96733: Pulling fs layer [2023-05-05T06:40:13.425Z] 63f879dbbcfc: Pulling fs layer [2023-05-05T06:40:13.425Z] 0d9ebad4ef96: Pulling fs layer [2023-05-05T06:40:13.425Z] e9a5061849ea: Pulling fs layer [2023-05-05T06:40:13.425Z] d747dcd14b5f: Pulling fs layer [2023-05-05T06:40:13.425Z] 2de7ff778b66: Pulling fs layer [2023-05-05T06:40:13.425Z] 0d9ebad4ef96: Waiting [2023-05-05T06:40:13.425Z] d747dcd14b5f: Waiting [2023-05-05T06:40:13.425Z] e9a5061849ea: Waiting [2023-05-05T06:40:13.425Z] 2de7ff778b66: Waiting [2023-05-05T06:40:13.425Z] 9712f1f96733: Verifying Checksum [2023-05-05T06:40:13.425Z] 9712f1f96733: Download complete [2023-05-05T06:40:13.688Z] 63f879dbbcfc: Verifying Checksum [2023-05-05T06:40:13.688Z] 63f879dbbcfc: Download complete [2023-05-05T06:40:13.688Z] e9a5061849ea: Verifying Checksum [2023-05-05T06:40:13.688Z] e9a5061849ea: Download complete [2023-05-05T06:40:13.948Z] d747dcd14b5f: Verifying Checksum [2023-05-05T06:40:13.948Z] d747dcd14b5f: Download complete [2023-05-05T06:40:13.948Z] 0d9ebad4ef96: Verifying Checksum [2023-05-05T06:40:13.948Z] 0d9ebad4ef96: Download complete [2023-05-05T06:40:13.948Z] ab5ef0e58194: Verifying Checksum [2023-05-05T06:40:13.948Z] ab5ef0e58194: Download complete [2023-05-05T06:40:13.948Z] 2de7ff778b66: Verifying Checksum [2023-05-05T06:40:13.948Z] 2de7ff778b66: Download complete [2023-05-05T06:40:16.479Z] ab5ef0e58194: Pull complete [2023-05-05T06:40:16.479Z] 9712f1f96733: Pull complete [2023-05-05T06:40:17.045Z] 63f879dbbcfc: Pull complete [2023-05-05T06:40:20.323Z] 0d9ebad4ef96: Pull complete [2023-05-05T06:40:20.323Z] e9a5061849ea: Pull complete [2023-05-05T06:40:20.323Z] d747dcd14b5f: Pull complete [2023-05-05T06:40:21.255Z] 2de7ff778b66: Pull complete [2023-05-05T06:40:21.255Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-05T06:40:21.255Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-05T06:40:21.255Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:40:21.335Z] prd-ubuntu20.04-docker-8c-8g-13855 does not seem to be running inside a container [2023-05-05T06:40:21.359Z] $ 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-05-05T06:40:24.949Z] $ docker top 9483f64f2a7adcd23d2bf4cbc7028b23941f50d985f7dbe5d94a751f41cba055 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-05T06:40:25.018Z] provisioning config files... [2023-05-05T06:40:25.025Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8020946493988703656tmp [2023-05-05T06:40:25.035Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10041054782044792574tmp [2023-05-05T06:40:25.045Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9263186950024350869tmp [Pipeline] { [Pipeline] echo [2023-05-05T06:40:25.059Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:40:25.340Z] ---> sigul-configuration.sh [2023-05-05T06:40:25.340Z] gpg: directory `/root/.gnupg' created [2023-05-05T06:40:25.340Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-05T06:40:25.340Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-05T06:40:25.340Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-05T06:40:25.340Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-05T06:40:25.340Z] gpg: CAST5 encrypted data [2023-05-05T06:40:25.340Z] gpg: encrypted with 1 passphrase [2023-05-05T06:40:25.340Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-05T06:40:25.618Z] + mkdir /home/jenkins [2023-05-05T06:40:25.618Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-05T06:40:25.899Z] + 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-05-05T06:40:25.906Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:40:26.186Z] ---> sigul-install.sh [2023-05-05T06:40:26.186Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-05T06:40:26.467Z] + git tag --list [2023-05-05T06:40:26.467Z] 0.7.1 [2023-05-05T06:40:26.467Z] v1.0.0 [2023-05-05T06:40:26.467Z] v1.1.0 [2023-05-05T06:40:26.467Z] v1.1.1 [2023-05-05T06:40:26.467Z] v1.2.2 [2023-05-05T06:40:26.467Z] v1.3.0 [2023-05-05T06:40:26.467Z] v1.3.1 [2023-05-05T06:40:26.467Z] v2.0.0 [2023-05-05T06:40:26.467Z] v2.1.0 [2023-05-05T06:40:26.467Z] v2.1.1 [2023-05-05T06:40:26.467Z] v2.1.1-dev.1 [2023-05-05T06:40:26.467Z] v2.1.1-dev.2 [2023-05-05T06:40:26.467Z] v2.1.1-dev.3 [2023-05-05T06:40:26.467Z] v2.2.0 [2023-05-05T06:40:26.467Z] v2.2.1-dev.1 [2023-05-05T06:40:26.467Z] v2.2.1-dev.2 [2023-05-05T06:40:26.467Z] v2.2.1-dev.3 [2023-05-05T06:40:26.467Z] v2.2.1-dev.4 [2023-05-05T06:40:26.467Z] v2.2.1-dev.5 [2023-05-05T06:40:26.467Z] v2.2.1-dev.6 [2023-05-05T06:40:26.467Z] v2.2.1-dev.7 [2023-05-05T06:40:26.467Z] v2.3.0 [2023-05-05T06:40:26.467Z] v2.3.0-dev.10 [2023-05-05T06:40:26.467Z] v2.3.0-dev.11 [2023-05-05T06:40:26.467Z] v2.3.0-dev.12 [2023-05-05T06:40:26.467Z] v2.3.0-dev.13 [2023-05-05T06:40:26.467Z] v2.3.0-dev.14 [2023-05-05T06:40:26.467Z] v2.3.0-dev.15 [2023-05-05T06:40:26.467Z] v2.3.0-dev.16 [2023-05-05T06:40:26.467Z] v2.3.0-dev.17 [2023-05-05T06:40:26.467Z] v2.3.0-dev.18 [2023-05-05T06:40:26.467Z] v2.3.0-dev.19 [2023-05-05T06:40:26.467Z] v2.3.0-dev.20 [2023-05-05T06:40:26.467Z] v2.3.0-dev.21 [2023-05-05T06:40:26.467Z] v2.3.0-dev.22 [2023-05-05T06:40:26.467Z] v2.3.0-dev.23 [2023-05-05T06:40:26.467Z] v2.3.0-dev.24 [2023-05-05T06:40:26.467Z] v2.3.0-dev.25 [2023-05-05T06:40:26.467Z] v2.3.0-dev.7 [2023-05-05T06:40:26.467Z] v2.3.0-dev.8 [2023-05-05T06:40:26.467Z] v2.3.0-dev.9 [2023-05-05T06:40:26.467Z] v3.0.0-dev.1 [2023-05-05T06:40:26.467Z] v3.0.0-dev.10 [2023-05-05T06:40:26.467Z] v3.0.0-dev.11 [2023-05-05T06:40:26.467Z] v3.0.0-dev.12 [2023-05-05T06:40:26.467Z] v3.0.0-dev.13 [2023-05-05T06:40:26.467Z] v3.0.0-dev.14 [2023-05-05T06:40:26.467Z] v3.0.0-dev.15 [2023-05-05T06:40:26.467Z] v3.0.0-dev.16 [2023-05-05T06:40:26.467Z] v3.0.0-dev.17 [2023-05-05T06:40:26.467Z] v3.0.0-dev.18 [2023-05-05T06:40:26.467Z] v3.0.0-dev.19 [2023-05-05T06:40:26.467Z] v3.0.0-dev.2 [2023-05-05T06:40:26.467Z] v3.0.0-dev.20 [2023-05-05T06:40:26.467Z] v3.0.0-dev.21 [2023-05-05T06:40:26.467Z] v3.0.0-dev.22 [2023-05-05T06:40:26.467Z] v3.0.0-dev.23 [2023-05-05T06:40:26.467Z] v3.0.0-dev.24 [2023-05-05T06:40:26.467Z] v3.0.0-dev.25 [2023-05-05T06:40:26.467Z] v3.0.0-dev.26 [2023-05-05T06:40:26.467Z] v3.0.0-dev.27 [2023-05-05T06:40:26.467Z] v3.0.0-dev.28 [2023-05-05T06:40:26.467Z] v3.0.0-dev.29 [2023-05-05T06:40:26.467Z] v3.0.0-dev.3 [2023-05-05T06:40:26.467Z] v3.0.0-dev.30 [2023-05-05T06:40:26.467Z] v3.0.0-dev.31 [2023-05-05T06:40:26.467Z] v3.0.0-dev.32 [2023-05-05T06:40:26.467Z] v3.0.0-dev.33 [2023-05-05T06:40:26.467Z] v3.0.0-dev.34 [2023-05-05T06:40:26.467Z] v3.0.0-dev.4 [2023-05-05T06:40:26.467Z] v3.0.0-dev.5 [2023-05-05T06:40:26.467Z] v3.0.0-dev.6 [2023-05-05T06:40:26.467Z] v3.0.0-dev.7 [2023-05-05T06:40:26.467Z] v3.0.0-dev.8 [2023-05-05T06:40:26.467Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-05T06:40:26.746Z] + lftools sign git-tag v3.0.0-dev.34 [2023-05-05T06:40:27.312Z] Signing Git tag with Sigul... [2023-05-05T06:40:27.312Z] Signing v3.0.0-dev.34 [2023-05-05T06:42:18.770Z] ERROR: I/O error: NSPR connection reset [Pipeline] echo [2023-05-05T06:42:18.779Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:42:19.062Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-05T06:42:19.070Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-05T06:42:19.085Z] $ docker stop --time=1 9483f64f2a7adcd23d2bf4cbc7028b23941f50d985f7dbe5d94a751f41cba055 [2023-05-05T06:42:20.338Z] $ docker rm -f --volumes 9483f64f2a7adcd23d2bf4cbc7028b23941f50d985f7dbe5d94a751f41cba055 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-05T06:42:20.750Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T06:42:20.750Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:42:21.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:42:21.045Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:42:21.111Z] prd-ubuntu20.04-docker-8c-8g-13855 does not seem to be running inside a container [2023-05-05T06:42:21.134Z] $ 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-05-05T06:42:21.456Z] $ docker top 8ddc64ca222b1ba6afa32586cad7c4e980da4c417ab4a0440809e78304958b8f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T06:42:21.543Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T06:42:21.543Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T06:42:21.653Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T06:42:21.652Z] $ docker exec 8ddc64ca222b1ba6afa32586cad7c4e980da4c417ab4a0440809e78304958b8f ssh-agent [2023-05-05T06:42:21.756Z] SSH_AUTH_SOCK=/tmp/ssh-DDX0EyjwJM5f/agent.31 [2023-05-05T06:42:21.756Z] SSH_AGENT_PID=37 [2023-05-05T06:42:21.761Z] Running ssh-add (command line suppressed) [2023-05-05T06:42:21.861Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8691389768946766728.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8691389768946766728.key) [2023-05-05T06:42:21.876Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T06:42:22.162Z] + git semver bump pre [2023-05-05T06:42:22.420Z] 2023-05-05 06:42:22,336 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-05T06:42:22.420Z] 2023-05-05 06:42:22,336 [bump_version] DEBUG bumping version:3.0.0-dev.34 on axis:pre with prefix:dev [2023-05-05T06:42:22.420Z] 2023-05-05 06:42:22,336 [bump_version] DEBUG bumped version:3.0.0-dev.35 [2023-05-05T06:42:22.420Z] 2023-05-05 06:42:22,336 [write_version] DEBUG write version:3.0.0-dev.35 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-05-05T06:42:22.420Z] 2023-05-05 06:42:22,336 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-05T06:42:22.420Z] 2023-05-05 06:42:22,336 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-05T06:42:22.420Z] 2023-05-05 06:42:22,338 [execute] INFO git cat-file --batch-check [2023-05-05T06:42:22.420Z] 2023-05-05 06:42:22,338 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-05T06:42:22.420Z] 2023-05-05 06:42:22,342 [execute] INFO git cat-file --batch [2023-05-05T06:42:22.420Z] 2023-05-05 06:42:22,343 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-05T06:42:22.420Z] 2023-05-05 06:42:22,348 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-05T06:42:22.420Z] 3.0.0-dev.35 [Pipeline] } [2023-05-05T06:42:22.427Z] $ docker exec --env ******** --env ******** 8ddc64ca222b1ba6afa32586cad7c4e980da4c417ab4a0440809e78304958b8f ssh-agent -k [2023-05-05T06:42:22.533Z] unset SSH_AUTH_SOCK; [2023-05-05T06:42:22.533Z] unset SSH_AGENT_PID; [2023-05-05T06:42:22.533Z] echo Agent pid 37 killed; [2023-05-05T06:42:22.546Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T06:42:22.850Z] + git semver [Pipeline] } [2023-05-05T06:42:23.119Z] $ docker stop --time=1 8ddc64ca222b1ba6afa32586cad7c4e980da4c417ab4a0440809e78304958b8f [2023-05-05T06:42:24.418Z] $ docker rm -f --volumes 8ddc64ca222b1ba6afa32586cad7c4e980da4c417ab4a0440809e78304958b8f [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T06:42:24.752Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T06:42:24.753Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:42:25.056Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:42:25.056Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:42:25.131Z] prd-ubuntu20.04-docker-8c-8g-13855 does not seem to be running inside a container [2023-05-05T06:42:25.159Z] $ 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-05-05T06:42:25.470Z] $ docker top fc11a3fde3a590b22f6a57d57a7b34bf78371f47d851db015ddac300a7bb40f8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T06:42:25.559Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T06:42:25.559Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T06:42:25.664Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T06:42:25.664Z] $ docker exec fc11a3fde3a590b22f6a57d57a7b34bf78371f47d851db015ddac300a7bb40f8 ssh-agent [2023-05-05T06:42:25.784Z] SSH_AUTH_SOCK=/tmp/ssh-3wyO4NPSlNWP/agent.32 [2023-05-05T06:42:25.784Z] SSH_AGENT_PID=39 [2023-05-05T06:42:25.789Z] Running ssh-add (command line suppressed) [2023-05-05T06:42:25.895Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7176701521797243578.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7176701521797243578.key) [2023-05-05T06:42:25.911Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T06:42:26.199Z] + git semver push [2023-05-05T06:42:26.458Z] 2023-05-05 06:42:26,369 [run_push] DEBUG push [2023-05-05T06:42:26.458Z] 2023-05-05 06:42:26,370 [execute] INFO git cat-file --batch-check [2023-05-05T06:42:26.458Z] 2023-05-05 06:42:26,370 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-05T06:42:26.458Z] 2023-05-05 06:42:26,374 [execute] INFO git rev-list a21186b3788a87bb89e7f44ed9fd45e7a4245ae9 -- [2023-05-05T06:42:26.458Z] 2023-05-05 06:42:26,374 [execute] DEBUG Popen(['git', 'rev-list', 'a21186b3788a87bb89e7f44ed9fd45e7a4245ae9', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-05T06:42:26.458Z] 2023-05-05 06:42:26,383 [execute] INFO git fetch -v origin [2023-05-05T06:42:26.458Z] 2023-05-05 06:42:26,383 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-05-05T06:42:27.027Z] 2023-05-05 06:42:26,841 [run_push] DEBUG no remote changes detected [2023-05-05T06:42:27.027Z] 2023-05-05 06:42:26,841 [execute] INFO git push origin semver [2023-05-05T06:42:27.027Z] 2023-05-05 06:42:26,842 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-05T06:42:27.594Z] 2023-05-05 06:42:27,582 [run_push] DEBUG push all version tags [2023-05-05T06:42:27.594Z] 2023-05-05 06:42:27,583 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-05T06:42:27.594Z] 2023-05-05 06:42:27,583 [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-05-05T06:42:28.532Z] 2023-05-05 06:42:28,343 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-05T06:42:28.532Z] 3.0.0-dev.35 [Pipeline] } [2023-05-05T06:42:28.540Z] $ docker exec --env ******** --env ******** fc11a3fde3a590b22f6a57d57a7b34bf78371f47d851db015ddac300a7bb40f8 ssh-agent -k [2023-05-05T06:42:28.641Z] unset SSH_AUTH_SOCK; [2023-05-05T06:42:28.641Z] unset SSH_AGENT_PID; [2023-05-05T06:42:28.641Z] echo Agent pid 39 killed; [2023-05-05T06:42:28.656Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T06:42:28.954Z] + git semver [Pipeline] } [2023-05-05T06:42:29.530Z] $ docker stop --time=1 fc11a3fde3a590b22f6a57d57a7b34bf78371f47d851db015ddac300a7bb40f8 [2023-05-05T06:42:30.818Z] $ docker rm -f --volumes fc11a3fde3a590b22f6a57d57a7b34bf78371f47d851db015ddac300a7bb40f8 [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-05-05T06:42:31.316Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-05-05T06:42:31.316Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-05T06:42:31.316Z] total 16 [2023-05-05T06:42:31.316Z] drwxr-xr-x 3 root root 4096 May 5 06:28 . [2023-05-05T06:42:31.316Z] drwxrwxr-x 11 jenkins jenkins 4096 May 5 06:40 .. [2023-05-05T06:42:31.316Z] drwxr-xr-x 2 root root 4096 May 5 06:28 cost [2023-05-05T06:42:31.316Z] -rw-r--r-- 1 root root 88 May 5 06:28 cost.csv [2023-05-05T06:42:31.316Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-05T06:42:31.316Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-05T06:42:31.316Z] total 16 [2023-05-05T06:42:31.316Z] drwxr-xr-x 3 jenkins jenkins 4096 May 5 06:28 . [2023-05-05T06:42:31.316Z] drwxrwxr-x 11 jenkins jenkins 4096 May 5 06:40 .. [2023-05-05T06:42:31.316Z] drwxr-xr-x 2 jenkins jenkins 4096 May 5 06:28 cost [2023-05-05T06:42:31.316Z] -rw-r--r-- 1 jenkins jenkins 88 May 5 06:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:42:31.607Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:42:32.474Z] ---> package-listing.sh [2023-05-05T06:42:32.475Z] ++ facter osfamily [2023-05-05T06:42:32.475Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-05T06:42:32.733Z] + OS_FAMILY=debian [2023-05-05T06:42:32.733Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-05-05T06:42:32.733Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-05T06:42:32.733Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-05T06:42:32.733Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-05T06:42:32.733Z] + PACKAGES=/tmp/packages_start.txt [2023-05-05T06:42:32.733Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-05-05T06:42:32.733Z] + PACKAGES=/tmp/packages_end.txt [2023-05-05T06:42:32.733Z] + case "${OS_FAMILY}" in [2023-05-05T06:42:32.733Z] + dpkg -l [2023-05-05T06:42:32.733Z] + grep '^ii' [2023-05-05T06:42:32.733Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-05T06:42:32.733Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-05T06:42:32.733Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-05T06:42:32.733Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-05-05T06:42:32.733Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-05-05T06:42:32.733Z] + 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-05-05T06:42:32.742Z] 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-05-05T06:42:33.015Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:42:33.625Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T06:42:33.625Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:42:33.729Z] prd-ubuntu20.04-docker-8c-8g-13855 does not seem to be running inside a container [2023-05-05T06:42:33.791Z] $ 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-05-05T06:42:34.008Z] $ docker top 1558cbc38dab334f7a119bf5feb8b2667f8820f6cba5eff779a733c9bb4a6318 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T06:42:34.349Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-05T06:42:34.631Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-05T06:42:34.916Z] + ls /var/log/sa-host [2023-05-05T06:42:34.916Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T06:42:34.978Z] provisioning config files... [2023-05-05T06:42:34.985Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5718463629463666717tmp [Pipeline] { [Pipeline] echo [2023-05-05T06:42:34.996Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:42:35.278Z] ---> create-netrc.sh [Pipeline] } [2023-05-05T06:42:35.285Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:42:35.598Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-05T06:42:35.605Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:42:35.890Z] ---> sudo-logs.sh [2023-05-05T06:42:35.890Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-05T06:42:35.916Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:42:36.196Z] ---> job-cost.sh [2023-05-05T06:42:36.196Z] lf-activate-venv: SKIPPING [2023-05-05T06:42:36.196Z] DEBUG: total: 0.2199999988079071 [2023-05-05T06:42:36.196Z] INFO: Retrieving Stack Cost... [2023-05-05T06:42:36.764Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-05T06:42:37.022Z] INFO: Archiving Costs [Pipeline] echo [2023-05-05T06:42:37.033Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:42:37.315Z] ---> logs-deploy.sh [2023-05-05T06:42:37.315Z] lf-activate-venv: SKIPPING [2023-05-05T06:42:37.315Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/100 [2023-05-05T06:42:37.315Z] INFO: archiving workspace using pattern(s): [2023-05-05T06:42:38.252Z] Archives upload complete. [2023-05-05T06:42:38.512Z] INFO: archiving logs to Nexus