Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c33ceb1bf79f75a5c87c27297619a12eadfcf214 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-ssh3183125111092731963.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh14181552018764041126.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh7771062706276024124.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh1053387748150602776.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-ssh17966624626051532212.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 Executor slot already in use ‘prd-centos7-blackbox-4c-2g-9351’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-9352’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-9292’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-9499’ is offline Running on prd-ubuntu20.04-docker-8c-8g-9505 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 c33ceb1bf79f75a5c87c27297619a12eadfcf214 (main) Commit message: "Merge pull request #462 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.74" > 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 c33ceb1bf79f75a5c87c27297619a12eadfcf214 # timeout=10 > git rev-list --no-walk 1a68168e1b466f81fb38e733dbe2211c06120b2a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-24T06:32:05.837Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-24T06:32:05.888Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-24T06:32:05.908Z] ========================================================= [2023-04-24T06:32:05.908Z] EdgeX Global Pipelines Version Info [2023-04-24T06:32:05.908Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:32:06.629Z] ------------------- [2023-04-24T06:32:06.629Z] stable info: [2023-04-24T06:32:06.629Z] ------------------- [2023-04-24T06:32:06.629Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-24T06:32:06.629Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T06:32:06.629Z] Message: update stable to v1.0.248 [2023-04-24T06:32:07.203Z] ------------------- [2023-04-24T06:32:07.203Z] experimental info: [2023-04-24T06:32:07.203Z] ------------------- [2023-04-24T06:32:07.203Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-24T06:32:07.203Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T06:32:07.203Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-24T06:32:07.369Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-04-24T06:32:07.378Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-04-24T06:32:07.388Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-24T06:32:07.404Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-24T06:32:07.418Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-24T06:32:07.429Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-24T06:32:07.445Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-24T06:32:07.460Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-24T06:32:07.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-24T06:32:07.490Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-24T06:32:07.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-24T06:32:07.520Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-04-24T06:32:07.535Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-24T06:32:07.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-24T06:32:07.574Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T06:32:07.589Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T06:32:07.608Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T06:32:07.621Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T06:32:07.635Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-24T06:32:07.648Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-24T06:32:07.657Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-24T06:32:07.668Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-24T06:32:07.679Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-24T06:32:07.693Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-24T06:32:07.705Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-24T06:32:07.720Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-24T06:32:07.733Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-24T06:32:07.746Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-04-24T06:32:07.760Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-04-24T06:32:07.775Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-04-24T06:32:07.789Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c33ceb1bf79f75a5c87c27297619a12eadfcf214 [Pipeline] echo [2023-04-24T06:32:07.807Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c33ceb1 [Pipeline] echo [2023-04-24T06:32:07.819Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T06:32:07.862Z] provisioning config files... [2023-04-24T06:32:07.879Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1351155945916112850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:32:08.190Z] ---> docker-login.sh [2023-04-24T06:32:08.190Z] nexus3.edgexfoundry.org:10001 [2023-04-24T06:32:08.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:08.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:08.451Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:08.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:08.451Z] [2023-04-24T06:32:08.451Z] Login Succeeded [2023-04-24T06:32:08.451Z] nexus3.edgexfoundry.org:10002 [2023-04-24T06:32:08.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:08.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:08.451Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:08.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:08.451Z] [2023-04-24T06:32:08.451Z] Login Succeeded [2023-04-24T06:32:08.451Z] nexus3.edgexfoundry.org:10003 [2023-04-24T06:32:08.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:08.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:08.721Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:08.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:08.721Z] [2023-04-24T06:32:08.721Z] Login Succeeded [2023-04-24T06:32:08.721Z] nexus3.edgexfoundry.org:10004 [2023-04-24T06:32:08.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:08.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:08.721Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:08.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:08.721Z] [2023-04-24T06:32:08.721Z] Login Succeeded [2023-04-24T06:32:08.721Z] docker.io [2023-04-24T06:32:08.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:08.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:08.983Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:08.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:08.983Z] [2023-04-24T06:32:08.983Z] Login Succeeded [2023-04-24T06:32:08.983Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T06:32:08.995Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-24T06:32:09.381Z] + git rev-list -1 --merges c33ceb1bf79f75a5c87c27297619a12eadfcf214~1..c33ceb1bf79f75a5c87c27297619a12eadfcf214 [Pipeline] echo [2023-04-24T06:32:09.429Z] -----------> git rev-list -1 --merges c33ceb1bf79f75a5c87c27297619a12eadfcf214~1..c33ceb1bf79f75a5c87c27297619a12eadfcf214 c33ceb1bf79f75a5c87c27297619a12eadfcf214 [2023-04-24T06:32:09.429Z] c33ceb1bf79f75a5c87c27297619a12eadfcf214 [false] [Pipeline] sh [2023-04-24T06:32:09.725Z] + git log --format=format:%s -1 c33ceb1bf79f75a5c87c27297619a12eadfcf214 [Pipeline] echo [2023-04-24T06:32:09.739Z] ========================================================= [2023-04-24T06:32:09.739Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-24T06:32:09.739Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T06:32:10.087Z] + git log --format=format:%s -1 c33ceb1bf79f75a5c87c27297619a12eadfcf214 [Pipeline] echo [2023-04-24T06:32:10.099Z] [semverPrep] GIT_COMMIT: c33ceb1bf79f75a5c87c27297619a12eadfcf214, Commit Message: Merge pull request #462 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.74 [Pipeline] echo [2023-04-24T06:32:10.112Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-24T06:32:10.466Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T06:32:10.466Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-24T06:32:10.466Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-24T06:32:10.466Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-24T06:32:10.466Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-24T06:32:10.466Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-24T06:32:10.466Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:32:10.832Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T06:32:10.832Z] [2023-04-24T06:32:10.833Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:32:11.134Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T06:32:11.134Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-24T06:32:11.134Z] b85a868b505f: Pulling fs layer [2023-04-24T06:32:11.134Z] e2be974225ed: Pulling fs layer [2023-04-24T06:32:11.134Z] 339a4e72a1f5: Pulling fs layer [2023-04-24T06:32:11.134Z] 988bab9f4d93: Pulling fs layer [2023-04-24T06:32:11.134Z] 1469e6f7b9e6: Pulling fs layer [2023-04-24T06:32:11.134Z] eaf3925da568: Pulling fs layer [2023-04-24T06:32:11.134Z] bab4dde63d76: Pulling fs layer [2023-04-24T06:32:11.134Z] bde34c3a00c8: Pulling fs layer [2023-04-24T06:32:11.134Z] b352a97aabf1: Pulling fs layer [2023-04-24T06:32:11.134Z] 4872d77fe225: Pulling fs layer [2023-04-24T06:32:11.134Z] 5851b861e8e6: Pulling fs layer [2023-04-24T06:32:11.134Z] 988bab9f4d93: Waiting [2023-04-24T06:32:11.134Z] 1469e6f7b9e6: Waiting [2023-04-24T06:32:11.134Z] eaf3925da568: Waiting [2023-04-24T06:32:11.134Z] bab4dde63d76: Waiting [2023-04-24T06:32:11.134Z] bde34c3a00c8: Waiting [2023-04-24T06:32:11.134Z] b352a97aabf1: Waiting [2023-04-24T06:32:11.134Z] 5851b861e8e6: Waiting [2023-04-24T06:32:11.134Z] 4872d77fe225: Waiting [2023-04-24T06:32:11.134Z] e2be974225ed: Download complete [2023-04-24T06:32:11.134Z] 988bab9f4d93: Verifying Checksum [2023-04-24T06:32:11.134Z] 988bab9f4d93: Download complete [2023-04-24T06:32:11.134Z] 1469e6f7b9e6: Verifying Checksum [2023-04-24T06:32:11.134Z] 1469e6f7b9e6: Download complete [2023-04-24T06:32:11.134Z] 339a4e72a1f5: Verifying Checksum [2023-04-24T06:32:11.134Z] 339a4e72a1f5: Download complete [2023-04-24T06:32:11.392Z] eaf3925da568: Download complete [2023-04-24T06:32:11.392Z] bde34c3a00c8: Verifying Checksum [2023-04-24T06:32:11.392Z] bde34c3a00c8: Download complete [2023-04-24T06:32:11.392Z] b352a97aabf1: Verifying Checksum [2023-04-24T06:32:11.392Z] 4872d77fe225: Verifying Checksum [2023-04-24T06:32:11.392Z] 4872d77fe225: Download complete [2023-04-24T06:32:11.392Z] 5851b861e8e6: Verifying Checksum [2023-04-24T06:32:11.392Z] 5851b861e8e6: Download complete [2023-04-24T06:32:11.392Z] b85a868b505f: Verifying Checksum [2023-04-24T06:32:11.392Z] b85a868b505f: Download complete [2023-04-24T06:32:11.651Z] bab4dde63d76: Verifying Checksum [2023-04-24T06:32:11.651Z] bab4dde63d76: Download complete [2023-04-24T06:32:12.589Z] b85a868b505f: Pull complete [2023-04-24T06:32:12.850Z] e2be974225ed: Pull complete [2023-04-24T06:32:13.419Z] 339a4e72a1f5: Pull complete [2023-04-24T06:32:13.419Z] 988bab9f4d93: Pull complete [2023-04-24T06:32:13.680Z] 1469e6f7b9e6: Pull complete [2023-04-24T06:32:13.941Z] eaf3925da568: Pull complete [2023-04-24T06:32:15.850Z] bab4dde63d76: Pull complete [2023-04-24T06:32:15.850Z] bde34c3a00c8: Pull complete [2023-04-24T06:32:16.109Z] b352a97aabf1: Pull complete [2023-04-24T06:32:16.109Z] 4872d77fe225: Pull complete [2023-04-24T06:32:16.109Z] 5851b861e8e6: Pull complete [2023-04-24T06:32:16.109Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-24T06:32:16.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T06:32:16.109Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:32:16.215Z] prd-ubuntu20.04-docker-8c-8g-9505 does not seem to be running inside a container [2023-04-24T06:32:16.260Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-24T06:32:18.716Z] $ docker top c1bce378d86158d054f87dd9944f0242bd8bacd71daf3ea8e7bb00e3ff8a643a -eo pid,comm [2023-04-24T06:32:18.765Z] 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-04-24T06:32:18.765Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T06:32:18.813Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T06:32:18.813Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T06:32:18.933Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T06:32:18.947Z] $ docker exec c1bce378d86158d054f87dd9944f0242bd8bacd71daf3ea8e7bb00e3ff8a643a ssh-agent [2023-04-24T06:32:19.052Z] SSH_AUTH_SOCK=/tmp/ssh-PY6AnG6T3jDZ/agent.33 [2023-04-24T06:32:19.052Z] SSH_AGENT_PID=39 [2023-04-24T06:32:19.065Z] Running ssh-add (command line suppressed) [2023-04-24T06:32:19.183Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2511957916341313812.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2511957916341313812.key) [2023-04-24T06:32:19.193Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T06:32:19.484Z] + git tag --points-at HEAD [Pipeline] } [2023-04-24T06:32:19.511Z] $ docker exec --env ******** --env ******** c1bce378d86158d054f87dd9944f0242bd8bacd71daf3ea8e7bb00e3ff8a643a ssh-agent -k [2023-04-24T06:32:19.611Z] unset SSH_AUTH_SOCK; [2023-04-24T06:32:19.612Z] unset SSH_AGENT_PID; [2023-04-24T06:32:19.612Z] echo Agent pid 39 killed; [2023-04-24T06:32:19.617Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-24T06:32:19.644Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T06:32:19.644Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T06:32:19.767Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T06:32:19.776Z] $ docker exec c1bce378d86158d054f87dd9944f0242bd8bacd71daf3ea8e7bb00e3ff8a643a ssh-agent [2023-04-24T06:32:19.885Z] SSH_AUTH_SOCK=/tmp/ssh-cEfNVfE9utLN/agent.72 [2023-04-24T06:32:19.885Z] SSH_AGENT_PID=78 [2023-04-24T06:32:19.890Z] Running ssh-add (command line suppressed) [2023-04-24T06:32:19.999Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7400281569877802108.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7400281569877802108.key) [2023-04-24T06:32:20.011Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T06:32:20.301Z] + git semver init [2023-04-24T06:32:20.562Z] 2023-04-24 06:32:20,524 [run_init] DEBUG init version:0.0.0 force:False [2023-04-24T06:32:20.562Z] 2023-04-24 06:32:20,524 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-04-24T06:32:20.562Z] 2023-04-24 06:32:20,525 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-04-24T06:32:20.562Z] 2023-04-24 06:32:20,525 [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-04-24T06:32:21.503Z] 2023-04-24 06:32:21,333 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-04-24T06:32:21.503Z] 2023-04-24 06:32:21,334 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-04-24T06:32:21.503Z] 2023-04-24 06:32:21,334 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-24T06:32:21.503Z] 2023-04-24 06:32:21,334 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-24T06:32:21.503Z] 3.0.0-dev.30 [Pipeline] } [2023-04-24T06:32:21.518Z] $ docker exec --env ******** --env ******** c1bce378d86158d054f87dd9944f0242bd8bacd71daf3ea8e7bb00e3ff8a643a ssh-agent -k [2023-04-24T06:32:21.643Z] unset SSH_AUTH_SOCK; [2023-04-24T06:32:21.644Z] unset SSH_AGENT_PID; [2023-04-24T06:32:21.644Z] echo Agent pid 78 killed; [2023-04-24T06:32:21.654Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T06:32:21.964Z] + git semver [Pipeline] } [2023-04-24T06:32:22.248Z] $ docker stop --time=1 c1bce378d86158d054f87dd9944f0242bd8bacd71daf3ea8e7bb00e3ff8a643a [2023-04-24T06:32:23.561Z] $ docker rm -f --volumes c1bce378d86158d054f87dd9944f0242bd8bacd71daf3ea8e7bb00e3ff8a643a [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T06:32:23.900Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-24T06:32:24.114Z] Stashed 1 file(s) [Pipeline] echo [2023-04-24T06:32:24.116Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.30 [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-04-24T06:32:24.258Z] provisioning config files... [2023-04-24T06:32:24.267Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14609093593765884997tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:32:24.563Z] ---> docker-login.sh [2023-04-24T06:32:24.563Z] nexus3.edgexfoundry.org:10001 [2023-04-24T06:32:24.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:24.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:24.563Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:24.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:24.563Z] [2023-04-24T06:32:24.563Z] Login Succeeded [2023-04-24T06:32:24.563Z] nexus3.edgexfoundry.org:10002 [2023-04-24T06:32:24.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:24.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:24.563Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:24.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:24.563Z] [2023-04-24T06:32:24.563Z] Login Succeeded [2023-04-24T06:32:24.563Z] nexus3.edgexfoundry.org:10003 [2023-04-24T06:32:24.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:24.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:24.823Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:24.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:24.823Z] [2023-04-24T06:32:24.823Z] Login Succeeded [2023-04-24T06:32:24.823Z] nexus3.edgexfoundry.org:10004 [2023-04-24T06:32:24.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:24.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:24.823Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:24.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:24.823Z] [2023-04-24T06:32:24.823Z] Login Succeeded [2023-04-24T06:32:24.823Z] docker.io [2023-04-24T06:32:25.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:25.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:25.082Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:25.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:25.082Z] [2023-04-24T06:32:25.082Z] Login Succeeded [2023-04-24T06:32:25.082Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T06:32:25.090Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T06:32:25.165Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:32:25.177Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:32:25.183Z] ========================================================= [2023-04-24T06:32:25.183Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-24T06:32:25.183Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:32:25.504Z] + 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-04-24T06:32:25.504Z] Sending build context to Docker daemon 6.439MB [2023-04-24T06:32:25.504Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T06:32:25.504Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-24T06:32:25.504Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-24T06:32:25.504Z] 63b65145d645: Pulling fs layer [2023-04-24T06:32:25.504Z] a2d21d5440eb: Pulling fs layer [2023-04-24T06:32:25.504Z] 935e6c44a52c: Pulling fs layer [2023-04-24T06:32:25.504Z] 94cc34f8dd06: Pulling fs layer [2023-04-24T06:32:25.504Z] 30dea6a524f1: Pulling fs layer [2023-04-24T06:32:25.504Z] a2aff8979fd8: Pulling fs layer [2023-04-24T06:32:25.504Z] 6808be2612f2: Pulling fs layer [2023-04-24T06:32:25.504Z] f25807f1079a: Pulling fs layer [2023-04-24T06:32:25.504Z] 94cc34f8dd06: Waiting [2023-04-24T06:32:25.504Z] a2aff8979fd8: Waiting [2023-04-24T06:32:25.504Z] 30dea6a524f1: Waiting [2023-04-24T06:32:25.504Z] 6808be2612f2: Waiting [2023-04-24T06:32:25.504Z] a2d21d5440eb: Verifying Checksum [2023-04-24T06:32:25.504Z] a2d21d5440eb: Download complete [2023-04-24T06:32:25.764Z] 94cc34f8dd06: Download complete [2023-04-24T06:32:25.764Z] 30dea6a524f1: Verifying Checksum [2023-04-24T06:32:25.764Z] 30dea6a524f1: Download complete [2023-04-24T06:32:25.764Z] 63b65145d645: Verifying Checksum [2023-04-24T06:32:25.764Z] 63b65145d645: Download complete [2023-04-24T06:32:25.764Z] a2aff8979fd8: Verifying Checksum [2023-04-24T06:32:25.764Z] a2aff8979fd8: Download complete [2023-04-24T06:32:25.764Z] 63b65145d645: Pull complete [2023-04-24T06:32:26.027Z] a2d21d5440eb: Pull complete [2023-04-24T06:32:26.288Z] f25807f1079a: Verifying Checksum [2023-04-24T06:32:26.288Z] f25807f1079a: Download complete [2023-04-24T06:32:26.547Z] 935e6c44a52c: Verifying Checksum [2023-04-24T06:32:26.547Z] 935e6c44a52c: Download complete [2023-04-24T06:32:26.547Z] 6808be2612f2: Verifying Checksum [2023-04-24T06:32:26.547Z] 6808be2612f2: Download complete [2023-04-24T06:32:29.828Z] 935e6c44a52c: Pull complete [2023-04-24T06:32:29.828Z] 94cc34f8dd06: Pull complete [2023-04-24T06:32:30.086Z] 30dea6a524f1: Pull complete [2023-04-24T06:32:30.086Z] a2aff8979fd8: Pull complete [2023-04-24T06:32:32.625Z] 6808be2612f2: Pull complete [2023-04-24T06:32:33.194Z] f25807f1079a: Pull complete [2023-04-24T06:32:33.194Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-24T06:32:33.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-24T06:32:33.194Z] ---> 3b553350e43f [2023-04-24T06:32:33.194Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:32:37.447Z] ---> Running in 9fb6164b89df [2023-04-24T06:32:37.447Z] Removing intermediate container 9fb6164b89df [2023-04-24T06:32:37.447Z] ---> 6127446a0afc [2023-04-24T06:32:37.447Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:32:37.447Z] ---> Running in 39ad957fb902 [2023-04-24T06:32:37.447Z] Removing intermediate container 39ad957fb902 [2023-04-24T06:32:37.447Z] ---> b95c8d28919c [2023-04-24T06:32:37.447Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-04-24T06:32:37.447Z] ---> Running in 5c86e15c0560 [2023-04-24T06:32:37.447Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T06:32:37.447Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T06:32:37.447Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-04-24T06:32:37.447Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-04-24T06:32:37.447Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-04-24T06:32:37.741Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-04-24T06:32:37.741Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-04-24T06:32:37.741Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-04-24T06:32:37.741Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-04-24T06:32:37.741Z] (8/8) Installing openssh (9.1_p1-r2) [2023-04-24T06:32:37.741Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T06:32:37.741Z] OK: 270 MiB in 61 packages [2023-04-24T06:32:38.001Z] Removing intermediate container 5c86e15c0560 [2023-04-24T06:32:38.001Z] ---> 92b9e3b65617 [2023-04-24T06:32:38.001Z] Step 6/10 : WORKDIR /device-modbus-go [2023-04-24T06:32:38.261Z] ---> Running in 7b1501373cd8 [2023-04-24T06:32:38.261Z] Removing intermediate container 7b1501373cd8 [2023-04-24T06:32:38.261Z] ---> b8993dba6db1 [2023-04-24T06:32:38.261Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-24T06:32:38.261Z] ---> f9d0af801969 [2023-04-24T06:32:38.261Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:32:38.261Z] ---> Running in cf58dce4ca61 [2023-04-24T06:32:39.227Z] Still waiting to schedule task [2023-04-24T06:32:39.227Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9500’ [2023-04-24T06:33:04.841Z] Removing intermediate container cf58dce4ca61 [2023-04-24T06:33:04.841Z] ---> 5082b854c770 [2023-04-24T06:33:04.841Z] Step 9/10 : COPY . . [2023-04-24T06:33:04.841Z] ---> 4e6a1128ac79 [2023-04-24T06:33:04.841Z] Step 10/10 : RUN ${MAKE} [2023-04-24T06:33:04.841Z] ---> Running in 8c9e8023b45c [2023-04-24T06:33:04.841Z] noop [2023-04-24T06:33:04.841Z] Removing intermediate container 8c9e8023b45c [2023-04-24T06:33:04.841Z] ---> 1c526ddb6b6a [2023-04-24T06:33:04.841Z] Successfully built 1c526ddb6b6a [2023-04-24T06:33:04.841Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:33:05.157Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T06:33:05.158Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:33:05.236Z] prd-ubuntu20.04-docker-8c-8g-9505 does not seem to be running inside a container [2023-04-24T06:33:05.272Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T06:33:05.653Z] $ docker top 5c760ee31eac9146230b7e2fbb22b8257c3999a8f0b474cf81a0891d9778f0c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:33:06.004Z] + go version [2023-04-24T06:33:06.004Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-24T06:33:06.019Z] $ docker stop --time=1 5c760ee31eac9146230b7e2fbb22b8257c3999a8f0b474cf81a0891d9778f0c3 [2023-04-24T06:33:07.314Z] $ docker rm -f --volumes 5c760ee31eac9146230b7e2fbb22b8257c3999a8f0b474cf81a0891d9778f0c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:33:07.697Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T06:33:07.697Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:33:07.764Z] prd-ubuntu20.04-docker-8c-8g-9505 does not seem to be running inside a container [2023-04-24T06:33:07.800Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T06:33:08.130Z] $ docker top f665b43f7299e9048c905a88fe546257cc9a56836d7821cee9724a249a79c2de -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:33:08.475Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-04-24T06:33:08.769Z] + make test [2023-04-24T06:33:08.770Z] go test ./... -coverprofile=coverage.out [2023-04-24T06:33:14.038Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-04-24T06:33:24.005Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-04-24T06:33:24.005Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.017s coverage: 47.4% of statements [2023-04-24T06:33:32.140Z] go vet ./... [2023-04-24T06:33:35.428Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T06:33:35.428Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T06:33:35.428Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T06:33:35.439Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T06:33:35.454Z] $ docker stop --time=1 f665b43f7299e9048c905a88fe546257cc9a56836d7821cee9724a249a79c2de [2023-04-24T06:33:38.815Z] $ docker rm -f --volumes f665b43f7299e9048c905a88fe546257cc9a56836d7821cee9724a249a79c2de [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T06:33:39.288Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T06:33:39.335Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-24T06:33:39.760Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T06:33:40.048Z] + ls -al . [2023-04-24T06:33:40.048Z] total 180 [2023-04-24T06:33:40.048Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 06:33 . [2023-04-24T06:33:40.048Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:32 .. [2023-04-24T06:33:40.048Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 06:32 .dockerignore [2023-04-24T06:33:40.048Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 06:32 .git [2023-04-24T06:33:40.048Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:32 .github [2023-04-24T06:33:40.048Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 24 06:32 .gitignore [2023-04-24T06:33:40.048Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 06:32 .golangci.yml [2023-04-24T06:33:40.048Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 06:32 .semver [2023-04-24T06:33:40.048Z] -rw-rw-r-- 1 jenkins jenkins 10132 Apr 24 06:32 Attribution.txt [2023-04-24T06:33:40.048Z] -rw-rw-r-- 1 jenkins jenkins 11576 Apr 24 06:32 CHANGELOG.md [2023-04-24T06:33:40.048Z] -rw-rw-r-- 1 jenkins jenkins 1365 Apr 24 06:32 Dockerfile [2023-04-24T06:33:40.048Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 06:32 GOVERNANCE.md [2023-04-24T06:33:40.048Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 24 06:32 Jenkinsfile [2023-04-24T06:33:40.048Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 06:32 LICENSE [2023-04-24T06:33:40.048Z] -rw-rw-r-- 1 jenkins jenkins 1705 Apr 24 06:32 Makefile [2023-04-24T06:33:40.048Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 24 06:32 OWNERS.md [2023-04-24T06:33:40.048Z] -rw-rw-r-- 1 jenkins jenkins 4045 Apr 24 06:32 README.md [2023-04-24T06:33:40.048Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 24 06:32 VERSION [2023-04-24T06:33:40.048Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 06:32 bin [2023-04-24T06:33:40.048Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:32 cmd [2023-04-24T06:33:40.048Z] -rw-r--r-- 1 jenkins jenkins 24160 Apr 24 06:33 coverage.out [2023-04-24T06:33:40.048Z] -rw-rw-r-- 1 jenkins jenkins 3453 Apr 24 06:32 go.mod [2023-04-24T06:33:40.048Z] -rw-rw-r-- 1 jenkins jenkins 31785 Apr 24 06:32 go.sum [2023-04-24T06:33:40.048Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:32 internal [2023-04-24T06:33:40.048Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 06:32 simulator [2023-04-24T06:33:40.048Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:32 snap [2023-04-24T06:33:40.048Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 24 06:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:33:40.350Z] + 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=c33ceb1bf79f75a5c87c27297619a12eadfcf214 --label arch=amd64 --label version=3.0.0-dev.30 . [2023-04-24T06:33:40.350Z] Sending build context to Docker daemon 6.464MB [2023-04-24T06:33:40.350Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T06:33:40.350Z] Step 2/22 : FROM ${BASE} AS builder [2023-04-24T06:33:40.350Z] ---> 1c526ddb6b6a [2023-04-24T06:33:40.350Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:33:40.650Z] ---> Running in f6927b111555 [2023-04-24T06:33:40.651Z] Removing intermediate container f6927b111555 [2023-04-24T06:33:40.651Z] ---> 21816e6e2669 [2023-04-24T06:33:40.651Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:33:40.651Z] ---> Running in 339d91e04852 [2023-04-24T06:33:40.651Z] Removing intermediate container 339d91e04852 [2023-04-24T06:33:40.651Z] ---> ef8a5223ad64 [2023-04-24T06:33:40.651Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-04-24T06:33:40.651Z] ---> Running in 4922991d847c [2023-04-24T06:33:40.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T06:33:41.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T06:33:41.495Z] OK: 270 MiB in 61 packages [2023-04-24T06:33:41.755Z] Removing intermediate container 4922991d847c [2023-04-24T06:33:41.755Z] ---> b5158e24b210 [2023-04-24T06:33:41.755Z] Step 6/22 : WORKDIR /device-modbus-go [2023-04-24T06:33:41.755Z] ---> Running in e2bebe6d7004 [2023-04-24T06:33:41.755Z] Removing intermediate container e2bebe6d7004 [2023-04-24T06:33:41.755Z] ---> caa95cf2889e [2023-04-24T06:33:41.755Z] Step 7/22 : COPY go.mod vendor* ./ [2023-04-24T06:33:42.014Z] ---> 022679bf775c [2023-04-24T06:33:42.014Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:33:42.014Z] ---> Running in d3b6741d758d [2023-04-24T06:33:42.958Z] Removing intermediate container d3b6741d758d [2023-04-24T06:33:42.958Z] ---> ba8adc06b1e6 [2023-04-24T06:33:42.958Z] Step 9/22 : COPY . . [2023-04-24T06:33:43.217Z] ---> 3ddf64fe7d0e [2023-04-24T06:33:43.217Z] Step 10/22 : RUN ${MAKE} [2023-04-24T06:33:43.217Z] ---> Running in cf668ef3d310 [2023-04-24T06:33:43.476Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.30" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-04-24T06:34:05.500Z] Removing intermediate container cf668ef3d310 [2023-04-24T06:34:05.500Z] ---> f10fbb16ce85 [2023-04-24T06:34:05.500Z] Step 11/22 : FROM alpine:3.17 [2023-04-24T06:34:05.500Z] 3.17: Pulling from library/alpine [2023-04-24T06:34:05.500Z] f56be85fc22e: Pulling fs layer [2023-04-24T06:34:05.500Z] f56be85fc22e: Verifying Checksum [2023-04-24T06:34:05.500Z] f56be85fc22e: Download complete [2023-04-24T06:34:05.500Z] f56be85fc22e: Pull complete [2023-04-24T06:34:05.500Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T06:34:05.500Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T06:34:05.500Z] ---> 9ed4aefc74f6 [2023-04-24T06:34:05.500Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-04-24T06:34:05.500Z] ---> Running in b3173ea762b1 [2023-04-24T06:34:05.500Z] Removing intermediate container b3173ea762b1 [2023-04-24T06:34:05.500Z] ---> 7d8cba8f7f95 [2023-04-24T06:34:05.500Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-04-24T06:34:05.500Z] ---> Running in 63d792f2fac3 [2023-04-24T06:34:05.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T06:34:05.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T06:34:05.500Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-24T06:34:05.500Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T06:34:05.500Z] OK: 7 MiB in 16 packages [2023-04-24T06:34:05.500Z] Removing intermediate container 63d792f2fac3 [2023-04-24T06:34:05.500Z] ---> 7ad86ce76126 [2023-04-24T06:34:05.500Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-04-24T06:34:05.759Z] ---> 0ff4dcb18408 [2023-04-24T06:34:05.759Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-04-24T06:34:05.759Z] ---> 6f4707e79ecb [2023-04-24T06:34:05.759Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-04-24T06:34:06.016Z] ---> 6554992090e5 [2023-04-24T06:34:06.016Z] Step 17/22 : EXPOSE 59901 [2023-04-24T06:34:06.016Z] ---> Running in 782dab71499e [2023-04-24T06:34:06.016Z] Removing intermediate container 782dab71499e [2023-04-24T06:34:06.016Z] ---> c18886236a1b [2023-04-24T06:34:06.016Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-04-24T06:34:06.016Z] ---> Running in 58fc6a9d35b8 [2023-04-24T06:34:06.016Z] Removing intermediate container 58fc6a9d35b8 [2023-04-24T06:34:06.016Z] ---> b065e66649a0 [2023-04-24T06:34:06.016Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-24T06:34:06.016Z] ---> Running in 66a00a1a07d0 [2023-04-24T06:34:06.275Z] Removing intermediate container 66a00a1a07d0 [2023-04-24T06:34:06.275Z] ---> 33ca2daa80f1 [2023-04-24T06:34:06.275Z] Step 20/22 : LABEL arch=amd64 [2023-04-24T06:34:06.275Z] ---> Running in dbf3a8d5c910 [2023-04-24T06:34:06.275Z] Removing intermediate container dbf3a8d5c910 [2023-04-24T06:34:06.275Z] ---> bdf9487be888 [2023-04-24T06:34:06.275Z] Step 21/22 : LABEL git_sha=c33ceb1bf79f75a5c87c27297619a12eadfcf214 [2023-04-24T06:34:06.275Z] ---> Running in 4a569eae9ba9 [2023-04-24T06:34:06.275Z] Removing intermediate container 4a569eae9ba9 [2023-04-24T06:34:06.275Z] ---> 019feb9f0580 [2023-04-24T06:34:06.275Z] Step 22/22 : LABEL version=3.0.0-dev.30 [2023-04-24T06:34:06.275Z] ---> Running in 215dfb12fb90 [2023-04-24T06:34:06.534Z] Removing intermediate container 215dfb12fb90 [2023-04-24T06:34:06.534Z] ---> 4479e0ba0a91 [2023-04-24T06:34:06.534Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T06:34:06.534Z] Successfully built 4479e0ba0a91 [2023-04-24T06:34:06.534Z] 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-04-24T06:34:06.638Z] provisioning config files... [2023-04-24T06:34:06.645Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17472253906583105274tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:34:06.945Z] ---> docker-login.sh [2023-04-24T06:34:06.945Z] nexus3.edgexfoundry.org:10001 [2023-04-24T06:34:06.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:34:06.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:34:06.945Z] Configure a credential helper to remove this warning. See [2023-04-24T06:34:06.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:34:06.945Z] [2023-04-24T06:34:06.945Z] Login Succeeded [2023-04-24T06:34:06.945Z] nexus3.edgexfoundry.org:10002 [2023-04-24T06:34:06.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:34:06.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:34:06.945Z] Configure a credential helper to remove this warning. See [2023-04-24T06:34:06.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:34:06.945Z] [2023-04-24T06:34:06.945Z] Login Succeeded [2023-04-24T06:34:06.945Z] nexus3.edgexfoundry.org:10003 [2023-04-24T06:34:07.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:34:07.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:34:07.211Z] Configure a credential helper to remove this warning. See [2023-04-24T06:34:07.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:34:07.211Z] [2023-04-24T06:34:07.211Z] Login Succeeded [2023-04-24T06:34:07.211Z] nexus3.edgexfoundry.org:10004 [2023-04-24T06:34:07.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:34:07.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:34:07.211Z] Configure a credential helper to remove this warning. See [2023-04-24T06:34:07.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:34:07.211Z] [2023-04-24T06:34:07.211Z] Login Succeeded [2023-04-24T06:34:07.211Z] docker.io [2023-04-24T06:34:07.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:34:07.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:34:07.471Z] Configure a credential helper to remove this warning. See [2023-04-24T06:34:07.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:34:07.471Z] [2023-04-24T06:34:07.471Z] Login Succeeded [2023-04-24T06:34:07.471Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T06:34:07.477Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-24T06:34:07.504Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:34:07.521Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-04-24T06:34:07.521Z] c33ceb1bf79f75a5c87c27297619a12eadfcf214 [2023-04-24T06:34:07.521Z] latest [2023-04-24T06:34:07.521Z] 3.0.0-dev.30 [2023-04-24T06:34:07.521Z] c33ceb1bf79f75a5c87c27297619a12eadfcf214-3.0.0-dev.30 [2023-04-24T06:34:07.521Z] main [2023-04-24T06:34:07.521Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:34:07.841Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:c33ceb1bf79f75a5c87c27297619a12eadfcf214 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:34:08.154Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:c33ceb1bf79f75a5c87c27297619a12eadfcf214 [2023-04-24T06:34:08.154Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-04-24T06:34:08.154Z] 22c34f9b8740: Preparing [2023-04-24T06:34:08.154Z] 6ac59c9ccddd: Preparing [2023-04-24T06:34:08.154Z] 6eae778c242a: Preparing [2023-04-24T06:34:08.154Z] b53022e6cd18: Preparing [2023-04-24T06:34:08.154Z] f1417ff83b31: Preparing [2023-04-24T06:34:08.154Z] f1417ff83b31: Layer already exists [2023-04-24T06:34:08.154Z] b53022e6cd18: Pushed [2023-04-24T06:34:08.154Z] 6ac59c9ccddd: Pushed [2023-04-24T06:34:08.154Z] 22c34f9b8740: Pushed [2023-04-24T06:34:11.442Z] 6eae778c242a: Pushed [2023-04-24T06:34:11.442Z] c33ceb1bf79f75a5c87c27297619a12eadfcf214: digest: sha256:566fe971d655a77d2dc09a313eb1920dadd333e397f567d82f2c6f9f0456a2d3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:34:11.750Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:34:12.065Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-04-24T06:34:12.065Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-04-24T06:34:12.065Z] 22c34f9b8740: Preparing [2023-04-24T06:34:12.065Z] 6ac59c9ccddd: Preparing [2023-04-24T06:34:12.065Z] 6eae778c242a: Preparing [2023-04-24T06:34:12.065Z] b53022e6cd18: Preparing [2023-04-24T06:34:12.065Z] f1417ff83b31: Preparing [2023-04-24T06:34:12.065Z] 22c34f9b8740: Layer already exists [2023-04-24T06:34:12.065Z] f1417ff83b31: Layer already exists [2023-04-24T06:34:12.065Z] 6eae778c242a: Layer already exists [2023-04-24T06:34:12.065Z] 6ac59c9ccddd: Layer already exists [2023-04-24T06:34:12.065Z] b53022e6cd18: Layer already exists [2023-04-24T06:34:12.065Z] latest: digest: sha256:566fe971d655a77d2dc09a313eb1920dadd333e397f567d82f2c6f9f0456a2d3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:34:12.378Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:34:12.689Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.30 [2023-04-24T06:34:12.689Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-04-24T06:34:12.689Z] 22c34f9b8740: Preparing [2023-04-24T06:34:12.689Z] 6ac59c9ccddd: Preparing [2023-04-24T06:34:12.689Z] 6eae778c242a: Preparing [2023-04-24T06:34:12.689Z] b53022e6cd18: Preparing [2023-04-24T06:34:12.689Z] f1417ff83b31: Preparing [2023-04-24T06:34:12.689Z] 6eae778c242a: Layer already exists [2023-04-24T06:34:12.689Z] 22c34f9b8740: Layer already exists [2023-04-24T06:34:12.689Z] b53022e6cd18: Layer already exists [2023-04-24T06:34:12.689Z] f1417ff83b31: Layer already exists [2023-04-24T06:34:12.689Z] 6ac59c9ccddd: Layer already exists [2023-04-24T06:34:12.689Z] 3.0.0-dev.30: digest: sha256:566fe971d655a77d2dc09a313eb1920dadd333e397f567d82f2c6f9f0456a2d3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:34:13.009Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:c33ceb1bf79f75a5c87c27297619a12eadfcf214-3.0.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:34:13.317Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:c33ceb1bf79f75a5c87c27297619a12eadfcf214-3.0.0-dev.30 [2023-04-24T06:34:13.317Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-04-24T06:34:13.317Z] 22c34f9b8740: Preparing [2023-04-24T06:34:13.317Z] 6ac59c9ccddd: Preparing [2023-04-24T06:34:13.317Z] 6eae778c242a: Preparing [2023-04-24T06:34:13.317Z] b53022e6cd18: Preparing [2023-04-24T06:34:13.317Z] f1417ff83b31: Preparing [2023-04-24T06:34:13.317Z] 22c34f9b8740: Layer already exists [2023-04-24T06:34:13.317Z] 6ac59c9ccddd: Layer already exists [2023-04-24T06:34:13.317Z] f1417ff83b31: Layer already exists [2023-04-24T06:34:13.317Z] b53022e6cd18: Layer already exists [2023-04-24T06:34:13.317Z] 6eae778c242a: Layer already exists [2023-04-24T06:34:13.317Z] c33ceb1bf79f75a5c87c27297619a12eadfcf214-3.0.0-dev.30: digest: sha256:566fe971d655a77d2dc09a313eb1920dadd333e397f567d82f2c6f9f0456a2d3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:34:13.632Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:34:13.938Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-04-24T06:34:13.938Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-04-24T06:34:13.938Z] 22c34f9b8740: Preparing [2023-04-24T06:34:13.938Z] 6ac59c9ccddd: Preparing [2023-04-24T06:34:13.938Z] 6eae778c242a: Preparing [2023-04-24T06:34:13.938Z] b53022e6cd18: Preparing [2023-04-24T06:34:13.938Z] f1417ff83b31: Preparing [2023-04-24T06:34:13.938Z] 6ac59c9ccddd: Layer already exists [2023-04-24T06:34:13.938Z] b53022e6cd18: Layer already exists [2023-04-24T06:34:13.938Z] 22c34f9b8740: Layer already exists [2023-04-24T06:34:13.938Z] 6eae778c242a: Layer already exists [2023-04-24T06:34:13.938Z] f1417ff83b31: Layer already exists [2023-04-24T06:34:13.938Z] main: digest: sha256:566fe971d655a77d2dc09a313eb1920dadd333e397f567d82f2c6f9f0456a2d3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-24T06:34:13.988Z] ===================================================== [Pipeline] echo [2023-04-24T06:34:13.996Z] taggedImages: [2023-04-24T06:34:13.996Z] - nexus3.edgexfoundry.org:10004/device-modbus:c33ceb1bf79f75a5c87c27297619a12eadfcf214 [2023-04-24T06:34:13.996Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-04-24T06:34:13.996Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.30 [2023-04-24T06:34:13.996Z] - nexus3.edgexfoundry.org:10004/device-modbus:c33ceb1bf79f75a5c87c27297619a12eadfcf214-3.0.0-dev.30 [2023-04-24T06:34:13.996Z] - 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-04-24T06:34:14.350Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:34:14.351Z] [2023-04-24T06:34:14.351Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:34:14.669Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:34:14.669Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-24T06:34:14.669Z] 5eb5b503b376: Pulling fs layer [2023-04-24T06:34:14.669Z] 5c69ac0246d0: Pulling fs layer [2023-04-24T06:34:14.669Z] ec43610c2a17: Pulling fs layer [2023-04-24T06:34:14.669Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-24T06:34:14.669Z] 33b1e0a273af: Pulling fs layer [2023-04-24T06:34:14.669Z] 5d3b04190fa2: Pulling fs layer [2023-04-24T06:34:14.669Z] 2f39f015ded8: Pulling fs layer [2023-04-24T06:34:14.669Z] 33b1e0a273af: Waiting [2023-04-24T06:34:14.669Z] 3a2ae6a8a46f: Waiting [2023-04-24T06:34:14.669Z] 5d3b04190fa2: Waiting [2023-04-24T06:34:14.669Z] 2f39f015ded8: Waiting [2023-04-24T06:34:14.669Z] 5c69ac0246d0: Verifying Checksum [2023-04-24T06:34:14.669Z] 5c69ac0246d0: Download complete [2023-04-24T06:34:14.669Z] 3a2ae6a8a46f: Download complete [2023-04-24T06:34:14.669Z] 33b1e0a273af: Verifying Checksum [2023-04-24T06:34:14.669Z] 33b1e0a273af: Download complete [2023-04-24T06:34:14.669Z] ec43610c2a17: Verifying Checksum [2023-04-24T06:34:14.669Z] ec43610c2a17: Download complete [2023-04-24T06:34:14.669Z] 5d3b04190fa2: Download complete [2023-04-24T06:34:14.930Z] 5eb5b503b376: Verifying Checksum [2023-04-24T06:34:14.930Z] 5eb5b503b376: Download complete [2023-04-24T06:34:15.497Z] 2f39f015ded8: Verifying Checksum [2023-04-24T06:34:15.497Z] 2f39f015ded8: Download complete [2023-04-24T06:34:16.064Z] 5eb5b503b376: Pull complete [2023-04-24T06:34:16.322Z] 5c69ac0246d0: Pull complete [2023-04-24T06:34:16.888Z] ec43610c2a17: Pull complete [2023-04-24T06:34:16.888Z] 3a2ae6a8a46f: Pull complete [2023-04-24T06:34:17.147Z] 33b1e0a273af: Pull complete [2023-04-24T06:34:17.147Z] 5d3b04190fa2: Pull complete [2023-04-24T06:34:22.453Z] 2f39f015ded8: Pull complete [2023-04-24T06:34:22.453Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-24T06:34:22.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:34:22.453Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:34:22.542Z] prd-ubuntu20.04-docker-8c-8g-9505 does not seem to be running inside a container [2023-04-24T06:34:22.580Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-24T06:34:26.331Z] $ docker top f648409dc21d9f5dc9ac8c80a1dae60ef39c31bd1f304ce59e14369efb876162 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:34:26.694Z] ---> job-cost.sh [2023-04-24T06:34:26.695Z] lf-activate-venv: SKIPPING [2023-04-24T06:34:26.695Z] INFO: No Stack... [2023-04-24T06:34:26.953Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T06:34:27.213Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T06:34:27.500Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-04-24T06:34:27.500Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T06:34:27.513Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-96-stack-cost] [2023-04-24T06:34:27.519Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-96-stack-cost] did not exist. Created. [2023-04-24T06:34:27.519Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-96-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T06:34:27.820Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-24T06:34:27.840Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T06:34:27.847Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-96-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T06:34:27.868Z] $ docker stop --time=1 f648409dc21d9f5dc9ac8c80a1dae60ef39c31bd1f304ce59e14369efb876162 [2023-04-24T06:34:29.011Z] $ docker rm -f --volumes f648409dc21d9f5dc9ac8c80a1dae60ef39c31bd1f304ce59e14369efb876162 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-24T06:35:59.756Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9513 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-04-24T06:35:59.769Z] Running in /w/workspace/device-modbus-go/96 [Pipeline] { [Pipeline] checkout [2023-04-24T06:35:59.808Z] Selected Git installation does not exist. Using Default [2023-04-24T06:35:59.808Z] The recommended git tool is: NONE [2023-04-24T06:36:09.193Z] using credential edgex-jenkins-ssh [2023-04-24T06:36:09.214Z] Cloning the remote Git repository [2023-04-24T06:36:09.292Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-04-24T06:36:09.430Z] > git init /w/workspace/device-modbus-go/96 # timeout=10 [2023-04-24T06:36:09.649Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-04-24T06:36:09.651Z] > git --version # timeout=10 [2023-04-24T06:36:09.681Z] > git --version # 'git version 2.25.1' [2023-04-24T06:36:09.685Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T06:36:09.903Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T06:36:11.187Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-04-24T06:36:11.220Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T06:36:12.579Z] Avoid second fetch [2023-04-24T06:36:12.580Z] Checking out Revision c33ceb1bf79f75a5c87c27297619a12eadfcf214 (main) [2023-04-24T06:36:12.614Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T06:36:12.718Z] > git checkout -f c33ceb1bf79f75a5c87c27297619a12eadfcf214 # timeout=10 [2023-04-24T06:36:13.647Z] Commit message: "Merge pull request #462 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.74" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T06:36:14.550Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-24T06:36:14.550Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T06:36:14.550Z] Dload Upload Total Spent Left Speed [2023-04-24T06:36:14.550Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 180k 0 --:--:-- --:--:-- --:--:-- 183k [Pipeline] sh [2023-04-24T06:36:15.301Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-24T06:36:15.683Z] + sudo tee /etc/docker/daemon.new [2023-04-24T06:36:15.683Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-24T06:36:15.683Z] { [2023-04-24T06:36:15.683Z] "registry-mirrors": [ [2023-04-24T06:36:15.683Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-24T06:36:15.683Z] ], [2023-04-24T06:36:15.683Z] "bip": "10.250.0.254/24", [2023-04-24T06:36:15.683Z] "hosts": [ [2023-04-24T06:36:15.683Z] "tcp://0.0.0.0:5555", [2023-04-24T06:36:15.683Z] "unix:///var/run/docker.sock" [2023-04-24T06:36:15.683Z] ], [2023-04-24T06:36:15.683Z] "mtu": 1458, [2023-04-24T06:36:15.683Z] "selinux-enabled": true, [2023-04-24T06:36:15.683Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-24T06:36:15.683Z] } [Pipeline] sh [2023-04-24T06:36:16.084Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-24T06:36:16.463Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T06:36:34.844Z] provisioning config files... [2023-04-24T06:36:34.880Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/96@tmp/config5759818722184749039tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:36:35.266Z] ---> docker-login.sh [2023-04-24T06:36:35.267Z] nexus3.edgexfoundry.org:10001 [2023-04-24T06:36:35.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:36:36.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:36:36.137Z] Configure a credential helper to remove this warning. See [2023-04-24T06:36:36.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:36:36.137Z] [2023-04-24T06:36:36.137Z] Login Succeeded [2023-04-24T06:36:36.137Z] nexus3.edgexfoundry.org:10002 [2023-04-24T06:36:36.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:36:36.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:36:36.412Z] Configure a credential helper to remove this warning. See [2023-04-24T06:36:36.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:36:36.412Z] [2023-04-24T06:36:36.412Z] Login Succeeded [2023-04-24T06:36:36.689Z] nexus3.edgexfoundry.org:10003 [2023-04-24T06:36:36.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:36:36.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:36:36.965Z] Configure a credential helper to remove this warning. See [2023-04-24T06:36:36.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:36:36.965Z] [2023-04-24T06:36:36.965Z] Login Succeeded [2023-04-24T06:36:36.965Z] nexus3.edgexfoundry.org:10004 [2023-04-24T06:36:37.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:36:37.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:36:37.512Z] Configure a credential helper to remove this warning. See [2023-04-24T06:36:37.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:36:37.512Z] [2023-04-24T06:36:37.512Z] Login Succeeded [2023-04-24T06:36:37.512Z] docker.io [2023-04-24T06:36:37.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:36:38.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:36:38.057Z] Configure a credential helper to remove this warning. See [2023-04-24T06:36:38.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:36:38.057Z] [2023-04-24T06:36:38.057Z] Login Succeeded [2023-04-24T06:36:38.057Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T06:36:38.073Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T06:36:38.445Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:36:38.457Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:36:38.472Z] ========================================================= [2023-04-24T06:36:38.472Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-24T06:36:38.472Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:36:38.832Z] + 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-04-24T06:36:39.110Z] Sending build context to Docker daemon 3.36MB [2023-04-24T06:36:39.385Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T06:36:39.385Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-24T06:36:39.385Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-24T06:36:39.385Z] af6eaf76a39c: Pulling fs layer [2023-04-24T06:36:39.385Z] 55522c791124: Pulling fs layer [2023-04-24T06:36:39.385Z] ce5c4a1c91eb: Pulling fs layer [2023-04-24T06:36:39.385Z] 169dfbe0d373: Pulling fs layer [2023-04-24T06:36:39.385Z] e1ff8fa3b103: Pulling fs layer [2023-04-24T06:36:39.385Z] 52ebb69f0ebf: Pulling fs layer [2023-04-24T06:36:39.385Z] 5abe8eddf0d5: Pulling fs layer [2023-04-24T06:36:39.385Z] e1ff8fa3b103: Waiting [2023-04-24T06:36:39.385Z] 52ebb69f0ebf: Waiting [2023-04-24T06:36:39.385Z] 5abe8eddf0d5: Waiting [2023-04-24T06:36:39.385Z] 169dfbe0d373: Waiting [2023-04-24T06:36:39.385Z] 55522c791124: Verifying Checksum [2023-04-24T06:36:39.385Z] 55522c791124: Download complete [2023-04-24T06:36:39.662Z] 169dfbe0d373: Download complete [2023-04-24T06:36:39.662Z] e1ff8fa3b103: Verifying Checksum [2023-04-24T06:36:39.662Z] e1ff8fa3b103: Download complete [2023-04-24T06:36:39.662Z] af6eaf76a39c: Verifying Checksum [2023-04-24T06:36:39.662Z] af6eaf76a39c: Download complete [2023-04-24T06:36:41.129Z] af6eaf76a39c: Pull complete [2023-04-24T06:36:41.129Z] 5abe8eddf0d5: Verifying Checksum [2023-04-24T06:36:41.129Z] 5abe8eddf0d5: Download complete [2023-04-24T06:36:41.730Z] 55522c791124: Pull complete [2023-04-24T06:36:42.711Z] ce5c4a1c91eb: Verifying Checksum [2023-04-24T06:36:42.711Z] ce5c4a1c91eb: Download complete [2023-04-24T06:36:42.711Z] 52ebb69f0ebf: Verifying Checksum [2023-04-24T06:36:42.712Z] 52ebb69f0ebf: Download complete [2023-04-24T06:36:55.104Z] ce5c4a1c91eb: Pull complete [2023-04-24T06:36:55.104Z] 169dfbe0d373: Pull complete [2023-04-24T06:36:55.104Z] e1ff8fa3b103: Pull complete [2023-04-24T06:37:03.364Z] 52ebb69f0ebf: Pull complete [2023-04-24T06:37:05.332Z] 5abe8eddf0d5: Pull complete [2023-04-24T06:37:05.332Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-24T06:37:05.332Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-24T06:37:05.332Z] ---> 6cb57ee374ae [2023-04-24T06:37:05.332Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:37:06.324Z] ---> Running in f07af2f09b2a [2023-04-24T06:37:06.636Z] Removing intermediate container f07af2f09b2a [2023-04-24T06:37:06.636Z] ---> 508a37c96f45 [2023-04-24T06:37:06.636Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:37:06.636Z] ---> Running in 016e7b50affb [2023-04-24T06:37:06.909Z] Removing intermediate container 016e7b50affb [2023-04-24T06:37:06.910Z] ---> 7dff8cf8cf16 [2023-04-24T06:37:06.910Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-04-24T06:37:06.910Z] ---> Running in 44c7a06e736b [2023-04-24T06:37:08.342Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T06:37:09.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T06:37:10.754Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-04-24T06:37:10.754Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-04-24T06:37:10.754Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-04-24T06:37:10.754Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-04-24T06:37:10.754Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-04-24T06:37:10.754Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-04-24T06:37:10.754Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-04-24T06:37:10.754Z] (8/8) Installing openssh (9.1_p1-r2) [2023-04-24T06:37:10.754Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T06:37:10.754Z] OK: 270 MiB in 61 packages [2023-04-24T06:37:12.251Z] Removing intermediate container 44c7a06e736b [2023-04-24T06:37:12.251Z] ---> 2ca8a2a52e09 [2023-04-24T06:37:12.251Z] Step 6/10 : WORKDIR /device-modbus-go [2023-04-24T06:37:12.251Z] ---> Running in 17efe37a6f0e [2023-04-24T06:37:12.533Z] Removing intermediate container 17efe37a6f0e [2023-04-24T06:37:12.533Z] ---> bf6b662eca60 [2023-04-24T06:37:12.533Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-24T06:37:13.156Z] ---> 55e9404e62e7 [2023-04-24T06:37:13.156Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:37:13.156Z] ---> Running in a607bccae16b [2023-04-24T06:38:21.182Z] Removing intermediate container a607bccae16b [2023-04-24T06:38:21.182Z] ---> 0c934bfeee82 [2023-04-24T06:38:21.182Z] Step 9/10 : COPY . . [2023-04-24T06:38:21.784Z] ---> 379fe04d62a0 [2023-04-24T06:38:21.784Z] Step 10/10 : RUN ${MAKE} [2023-04-24T06:38:21.784Z] ---> Running in 4edb55df18bd [2023-04-24T06:38:22.766Z] noop [2023-04-24T06:38:23.742Z] Removing intermediate container 4edb55df18bd [2023-04-24T06:38:23.742Z] ---> 2aed5112fc45 [2023-04-24T06:38:23.742Z] Successfully built 2aed5112fc45 [2023-04-24T06:38:23.742Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:38:24.131Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T06:38:24.132Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:38:24.405Z] prd-ubuntu20.04-docker-arm64-4c-16g-9513 does not seem to be running inside a container [2023-04-24T06:38:24.510Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/96 -v /w/workspace/device-modbus-go/96:/w/workspace/device-modbus-go/96:rw,z -v /w/workspace/device-modbus-go/96@tmp:/w/workspace/device-modbus-go/96@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-04-24T06:38:25.968Z] $ docker top 89d876cc84a407e82bdec73b82e86d29ddd50c11c26339e914c39df139175532 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:38:26.867Z] + go version [2023-04-24T06:38:26.867Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-24T06:38:26.897Z] $ docker stop --time=1 89d876cc84a407e82bdec73b82e86d29ddd50c11c26339e914c39df139175532 [2023-04-24T06:38:28.609Z] $ docker rm -f --volumes 89d876cc84a407e82bdec73b82e86d29ddd50c11c26339e914c39df139175532 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:38:29.211Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T06:38:29.211Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:38:29.435Z] prd-ubuntu20.04-docker-arm64-4c-16g-9513 does not seem to be running inside a container [2023-04-24T06:38:29.531Z] $ 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/96 -v /w/workspace/device-modbus-go/96:/w/workspace/device-modbus-go/96:rw,z -v /w/workspace/device-modbus-go/96@tmp:/w/workspace/device-modbus-go/96@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-04-24T06:38:30.891Z] $ docker top 12e4d9415c650da8480bdec60775fe4b20ff3152251adc0a483b9baadd3a5e88 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:38:31.770Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/96 [Pipeline] fileExists [Pipeline] sh [2023-04-24T06:38:32.469Z] + make test [2023-04-24T06:38:32.470Z] go test ./... -coverprofile=coverage.out [2023-04-24T06:39:11.436Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-04-24T06:41:33.201Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-04-24T06:41:33.202Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.082s coverage: 47.4% of statements [2023-04-24T06:41:33.202Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-24T06:41:33.202Z] go vet ./... [2023-04-24T06:41:59.956Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T06:41:59.956Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T06:41:59.956Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T06:42:00.246Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T06:42:00.268Z] $ docker stop --time=1 12e4d9415c650da8480bdec60775fe4b20ff3152251adc0a483b9baadd3a5e88 [2023-04-24T06:42:02.235Z] $ docker rm -f --volumes 12e4d9415c650da8480bdec60775fe4b20ff3152251adc0a483b9baadd3a5e88 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T06:42:03.578Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T06:42:03.603Z] Warning: overwriting stash ‘coverage-report’ [2023-04-24T06:42:04.229Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T06:42:04.630Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T06:42:04.969Z] + ls -al . [2023-04-24T06:42:04.969Z] total 176 [2023-04-24T06:42:04.969Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 06:38 . [2023-04-24T06:42:04.969Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:36 .. [2023-04-24T06:42:04.969Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 06:36 .dockerignore [2023-04-24T06:42:04.969Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 06:36 .git [2023-04-24T06:42:04.969Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:36 .github [2023-04-24T06:42:04.969Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 24 06:36 .gitignore [2023-04-24T06:42:04.969Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 06:36 .golangci.yml [2023-04-24T06:42:04.969Z] -rw-rw-r-- 1 jenkins jenkins 10132 Apr 24 06:36 Attribution.txt [2023-04-24T06:42:04.969Z] -rw-rw-r-- 1 jenkins jenkins 11576 Apr 24 06:36 CHANGELOG.md [2023-04-24T06:42:04.969Z] -rw-rw-r-- 1 jenkins jenkins 1365 Apr 24 06:36 Dockerfile [2023-04-24T06:42:04.969Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 06:36 GOVERNANCE.md [2023-04-24T06:42:04.969Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 24 06:36 Jenkinsfile [2023-04-24T06:42:04.969Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 06:36 LICENSE [2023-04-24T06:42:04.969Z] -rw-rw-r-- 1 jenkins jenkins 1705 Apr 24 06:36 Makefile [2023-04-24T06:42:04.969Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 24 06:36 OWNERS.md [2023-04-24T06:42:04.969Z] -rw-rw-r-- 1 jenkins jenkins 4045 Apr 24 06:36 README.md [2023-04-24T06:42:04.969Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 24 06:32 VERSION [2023-04-24T06:42:04.969Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 06:36 bin [2023-04-24T06:42:04.969Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:36 cmd [2023-04-24T06:42:04.969Z] -rw-r--r-- 1 jenkins jenkins 24160 Apr 24 06:41 coverage.out [2023-04-24T06:42:04.969Z] -rw-rw-r-- 1 jenkins jenkins 3453 Apr 24 06:36 go.mod [2023-04-24T06:42:04.969Z] -rw-rw-r-- 1 jenkins jenkins 31785 Apr 24 06:36 go.sum [2023-04-24T06:42:04.969Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:36 internal [2023-04-24T06:42:04.969Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 06:36 simulator [2023-04-24T06:42:04.969Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:36 snap [2023-04-24T06:42:04.969Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 24 06:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:42:05.328Z] + 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=c33ceb1bf79f75a5c87c27297619a12eadfcf214 --label arch=arm64 --label version=3.0.0-dev.30 . [2023-04-24T06:42:05.599Z] Sending build context to Docker daemon 3.385MB [2023-04-24T06:42:05.871Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T06:42:05.871Z] Step 2/22 : FROM ${BASE} AS builder [2023-04-24T06:42:05.871Z] ---> 2aed5112fc45 [2023-04-24T06:42:05.871Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:42:05.871Z] ---> Running in 96560c487f0e [2023-04-24T06:42:06.152Z] Removing intermediate container 96560c487f0e [2023-04-24T06:42:06.152Z] ---> 729ec6b84cc4 [2023-04-24T06:42:06.152Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:42:06.425Z] ---> Running in 68253a523fa2 [2023-04-24T06:42:06.697Z] Removing intermediate container 68253a523fa2 [2023-04-24T06:42:06.697Z] ---> e7398b1c9e18 [2023-04-24T06:42:06.697Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-04-24T06:42:06.697Z] ---> Running in 67549c10ca70 [2023-04-24T06:42:08.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T06:42:08.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T06:42:09.695Z] OK: 270 MiB in 61 packages [2023-04-24T06:42:11.123Z] Removing intermediate container 67549c10ca70 [2023-04-24T06:42:11.123Z] ---> 58ef332faeec [2023-04-24T06:42:11.123Z] Step 6/22 : WORKDIR /device-modbus-go [2023-04-24T06:42:11.397Z] ---> Running in 49fd9ca87253 [2023-04-24T06:42:11.670Z] Removing intermediate container 49fd9ca87253 [2023-04-24T06:42:11.670Z] ---> 2886821da6e9 [2023-04-24T06:42:11.670Z] Step 7/22 : COPY go.mod vendor* ./ [2023-04-24T06:42:12.260Z] ---> 8b679a20705d [2023-04-24T06:42:12.260Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:42:12.260Z] ---> Running in 783695be73d4 [2023-04-24T06:42:14.864Z] Removing intermediate container 783695be73d4 [2023-04-24T06:42:14.864Z] ---> 893089d4344d [2023-04-24T06:42:14.864Z] Step 9/22 : COPY . . [2023-04-24T06:42:15.849Z] ---> b0ede538fe53 [2023-04-24T06:42:15.849Z] Step 10/22 : RUN ${MAKE} [2023-04-24T06:42:16.123Z] ---> Running in 005584eb9a15 [2023-04-24T06:42:17.105Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.30" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-04-24T06:44:53.925Z] Removing intermediate container 005584eb9a15 [2023-04-24T06:44:53.925Z] ---> 70704709e766 [2023-04-24T06:44:53.925Z] Step 11/22 : FROM alpine:3.17 [2023-04-24T06:44:53.925Z] 3.17: Pulling from library/alpine [2023-04-24T06:44:53.925Z] c41833b44d91: Pulling fs layer [2023-04-24T06:44:53.925Z] c41833b44d91: Verifying Checksum [2023-04-24T06:44:53.925Z] c41833b44d91: Download complete [2023-04-24T06:44:53.925Z] c41833b44d91: Pull complete [2023-04-24T06:44:53.925Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T06:44:53.925Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T06:44:53.925Z] ---> 51e60588ff2c [2023-04-24T06:44:53.925Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-04-24T06:44:53.925Z] ---> Running in db9135339ea1 [2023-04-24T06:44:53.925Z] Removing intermediate container db9135339ea1 [2023-04-24T06:44:53.925Z] ---> bc66cf5b764a [2023-04-24T06:44:53.925Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-04-24T06:44:53.925Z] ---> Running in d9ee647bf255 [2023-04-24T06:44:53.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T06:44:53.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T06:44:53.925Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-24T06:44:53.925Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T06:44:53.925Z] OK: 8 MiB in 16 packages [2023-04-24T06:44:53.925Z] Removing intermediate container d9ee647bf255 [2023-04-24T06:44:53.925Z] ---> 9e4ac6e97ed1 [2023-04-24T06:44:53.925Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-04-24T06:44:53.925Z] ---> 95c24bb24ac3 [2023-04-24T06:44:53.925Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-04-24T06:44:53.925Z] ---> cdf168920404 [2023-04-24T06:44:53.925Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-04-24T06:44:53.925Z] ---> dd8bc1340d4c [2023-04-24T06:44:53.925Z] Step 17/22 : EXPOSE 59901 [2023-04-24T06:44:53.925Z] ---> Running in f794fe50dadf [2023-04-24T06:44:53.925Z] Removing intermediate container f794fe50dadf [2023-04-24T06:44:53.925Z] ---> 1639901cba4a [2023-04-24T06:44:53.925Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-04-24T06:44:53.925Z] ---> Running in f054a1ec2098 [2023-04-24T06:44:53.925Z] Removing intermediate container f054a1ec2098 [2023-04-24T06:44:53.925Z] ---> b5e0acf27a36 [2023-04-24T06:44:53.925Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-24T06:44:53.925Z] ---> Running in 5f15b5c7411c [2023-04-24T06:44:53.925Z] Removing intermediate container 5f15b5c7411c [2023-04-24T06:44:53.925Z] ---> 0afb6d496741 [2023-04-24T06:44:53.925Z] Step 20/22 : LABEL arch=arm64 [2023-04-24T06:44:53.925Z] ---> Running in 28a19e5f8a37 [2023-04-24T06:44:53.925Z] Removing intermediate container 28a19e5f8a37 [2023-04-24T06:44:53.925Z] ---> 2fe067015b54 [2023-04-24T06:44:53.925Z] Step 21/22 : LABEL git_sha=c33ceb1bf79f75a5c87c27297619a12eadfcf214 [2023-04-24T06:44:55.874Z] ---> Running in eac6b4565af9 [2023-04-24T06:44:56.141Z] Removing intermediate container eac6b4565af9 [2023-04-24T06:44:56.141Z] ---> 2ce6dc7895fc [2023-04-24T06:44:56.141Z] Step 22/22 : LABEL version=3.0.0-dev.30 [2023-04-24T06:44:56.141Z] ---> Running in 3b11d85339ba [2023-04-24T06:44:56.410Z] Removing intermediate container 3b11d85339ba [2023-04-24T06:44:56.410Z] ---> b7c457287559 [2023-04-24T06:44:56.410Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T06:44:56.679Z] Successfully built b7c457287559 [2023-04-24T06:44:56.679Z] 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-04-24T06:44:56.803Z] provisioning config files... [2023-04-24T06:44:56.820Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/96@tmp/config15676959456268279367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:44:57.155Z] ---> docker-login.sh [2023-04-24T06:44:57.155Z] nexus3.edgexfoundry.org:10001 [2023-04-24T06:44:57.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:44:57.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:44:57.423Z] Configure a credential helper to remove this warning. See [2023-04-24T06:44:57.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:44:57.423Z] [2023-04-24T06:44:57.423Z] Login Succeeded [2023-04-24T06:44:57.423Z] nexus3.edgexfoundry.org:10002 [2023-04-24T06:44:57.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:44:57.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:44:57.692Z] Configure a credential helper to remove this warning. See [2023-04-24T06:44:57.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:44:57.692Z] [2023-04-24T06:44:57.692Z] Login Succeeded [2023-04-24T06:44:57.692Z] nexus3.edgexfoundry.org:10003 [2023-04-24T06:44:57.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:44:58.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:44:58.232Z] Configure a credential helper to remove this warning. See [2023-04-24T06:44:58.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:44:58.232Z] [2023-04-24T06:44:58.232Z] Login Succeeded [2023-04-24T06:44:58.232Z] nexus3.edgexfoundry.org:10004 [2023-04-24T06:44:58.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:44:58.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:44:58.500Z] Configure a credential helper to remove this warning. See [2023-04-24T06:44:58.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:44:58.500Z] [2023-04-24T06:44:58.500Z] Login Succeeded [2023-04-24T06:44:58.500Z] docker.io [2023-04-24T06:44:58.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:44:59.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:44:59.036Z] Configure a credential helper to remove this warning. See [2023-04-24T06:44:59.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:44:59.036Z] [2023-04-24T06:44:59.036Z] Login Succeeded [2023-04-24T06:44:59.036Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T06:44:59.050Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-24T06:44:59.095Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:44:59.121Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-04-24T06:44:59.121Z] c33ceb1bf79f75a5c87c27297619a12eadfcf214 [2023-04-24T06:44:59.121Z] latest [2023-04-24T06:44:59.121Z] 3.0.0-dev.30 [2023-04-24T06:44:59.121Z] c33ceb1bf79f75a5c87c27297619a12eadfcf214-3.0.0-dev.30 [2023-04-24T06:44:59.121Z] main [2023-04-24T06:44:59.121Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:44:59.482Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:c33ceb1bf79f75a5c87c27297619a12eadfcf214 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:44:59.835Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:c33ceb1bf79f75a5c87c27297619a12eadfcf214 [2023-04-24T06:44:59.835Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-04-24T06:44:59.835Z] 29ac5950e597: Preparing [2023-04-24T06:44:59.835Z] d763a295b047: Preparing [2023-04-24T06:44:59.835Z] d90bed657480: Preparing [2023-04-24T06:44:59.835Z] 3cbe58b069f9: Preparing [2023-04-24T06:44:59.835Z] 26cbea5cba74: Preparing [2023-04-24T06:44:59.835Z] 26cbea5cba74: Layer already exists [2023-04-24T06:45:00.103Z] 29ac5950e597: Pushed [2023-04-24T06:45:00.103Z] 3cbe58b069f9: Pushed [2023-04-24T06:45:00.103Z] d763a295b047: Pushed [2023-04-24T06:45:04.372Z] d90bed657480: Pushed [2023-04-24T06:45:04.641Z] c33ceb1bf79f75a5c87c27297619a12eadfcf214: digest: sha256:4ccd2ad4c4e4e81cbf3ac25d6fcb7a2a892add82772e3780ec01788883fe6791 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:45:05.000Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:45:05.360Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-04-24T06:45:05.360Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-04-24T06:45:05.360Z] 29ac5950e597: Preparing [2023-04-24T06:45:05.360Z] d763a295b047: Preparing [2023-04-24T06:45:05.360Z] d90bed657480: Preparing [2023-04-24T06:45:05.360Z] 3cbe58b069f9: Preparing [2023-04-24T06:45:05.360Z] 26cbea5cba74: Preparing [2023-04-24T06:45:05.360Z] 29ac5950e597: Layer already exists [2023-04-24T06:45:05.360Z] 26cbea5cba74: Layer already exists [2023-04-24T06:45:05.360Z] 3cbe58b069f9: Layer already exists [2023-04-24T06:45:05.360Z] d90bed657480: Layer already exists [2023-04-24T06:45:05.360Z] d763a295b047: Layer already exists [2023-04-24T06:45:05.360Z] latest: digest: sha256:4ccd2ad4c4e4e81cbf3ac25d6fcb7a2a892add82772e3780ec01788883fe6791 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:45:05.980Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:45:06.327Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.30 [2023-04-24T06:45:06.327Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-04-24T06:45:06.327Z] 29ac5950e597: Preparing [2023-04-24T06:45:06.327Z] d763a295b047: Preparing [2023-04-24T06:45:06.327Z] d90bed657480: Preparing [2023-04-24T06:45:06.327Z] 3cbe58b069f9: Preparing [2023-04-24T06:45:06.327Z] 26cbea5cba74: Preparing [2023-04-24T06:45:06.327Z] 29ac5950e597: Layer already exists [2023-04-24T06:45:06.327Z] d90bed657480: Layer already exists [2023-04-24T06:45:06.327Z] d763a295b047: Layer already exists [2023-04-24T06:45:06.327Z] 3cbe58b069f9: Layer already exists [2023-04-24T06:45:06.327Z] 26cbea5cba74: Layer already exists [2023-04-24T06:45:06.327Z] 3.0.0-dev.30: digest: sha256:4ccd2ad4c4e4e81cbf3ac25d6fcb7a2a892add82772e3780ec01788883fe6791 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:45:06.687Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:c33ceb1bf79f75a5c87c27297619a12eadfcf214-3.0.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:45:07.044Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:c33ceb1bf79f75a5c87c27297619a12eadfcf214-3.0.0-dev.30 [2023-04-24T06:45:07.044Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-04-24T06:45:07.044Z] 29ac5950e597: Preparing [2023-04-24T06:45:07.044Z] d763a295b047: Preparing [2023-04-24T06:45:07.044Z] d90bed657480: Preparing [2023-04-24T06:45:07.044Z] 3cbe58b069f9: Preparing [2023-04-24T06:45:07.044Z] 26cbea5cba74: Preparing [2023-04-24T06:45:07.044Z] 29ac5950e597: Layer already exists [2023-04-24T06:45:07.044Z] d90bed657480: Layer already exists [2023-04-24T06:45:07.044Z] d763a295b047: Layer already exists [2023-04-24T06:45:07.044Z] 26cbea5cba74: Layer already exists [2023-04-24T06:45:07.044Z] 3cbe58b069f9: Layer already exists [2023-04-24T06:45:07.044Z] c33ceb1bf79f75a5c87c27297619a12eadfcf214-3.0.0-dev.30: digest: sha256:4ccd2ad4c4e4e81cbf3ac25d6fcb7a2a892add82772e3780ec01788883fe6791 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:45:07.672Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:45:08.020Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-04-24T06:45:08.020Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-04-24T06:45:08.020Z] 29ac5950e597: Preparing [2023-04-24T06:45:08.020Z] d763a295b047: Preparing [2023-04-24T06:45:08.020Z] d90bed657480: Preparing [2023-04-24T06:45:08.020Z] 3cbe58b069f9: Preparing [2023-04-24T06:45:08.020Z] 26cbea5cba74: Preparing [2023-04-24T06:45:08.020Z] 3cbe58b069f9: Layer already exists [2023-04-24T06:45:08.020Z] 29ac5950e597: Layer already exists [2023-04-24T06:45:08.020Z] d90bed657480: Layer already exists [2023-04-24T06:45:08.020Z] 26cbea5cba74: Layer already exists [2023-04-24T06:45:08.020Z] d763a295b047: Layer already exists [2023-04-24T06:45:08.020Z] main: digest: sha256:4ccd2ad4c4e4e81cbf3ac25d6fcb7a2a892add82772e3780ec01788883fe6791 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-24T06:45:08.333Z] ===================================================== [Pipeline] echo [2023-04-24T06:45:08.339Z] taggedImages: [2023-04-24T06:45:08.339Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:c33ceb1bf79f75a5c87c27297619a12eadfcf214 [2023-04-24T06:45:08.339Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-04-24T06:45:08.339Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.30 [2023-04-24T06:45:08.339Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:c33ceb1bf79f75a5c87c27297619a12eadfcf214-3.0.0-dev.30 [2023-04-24T06:45:08.339Z] - 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-04-24T06:45:08.716Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T06:45:08.716Z] [2023-04-24T06:45:08.716Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:45:09.062Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T06:45:10.032Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-24T06:45:10.032Z] 8998bd30e6a1: Pulling fs layer [2023-04-24T06:45:10.032Z] 04944245beec: Pulling fs layer [2023-04-24T06:45:10.032Z] 699f458cf7ca: Pulling fs layer [2023-04-24T06:45:10.032Z] 765212b225bb: Pulling fs layer [2023-04-24T06:45:10.032Z] f23df028b6ca: Pulling fs layer [2023-04-24T06:45:10.032Z] d65c8cfc05b1: Pulling fs layer [2023-04-24T06:45:10.032Z] 2437ff75d9bd: Pulling fs layer [2023-04-24T06:45:10.032Z] f23df028b6ca: Waiting [2023-04-24T06:45:10.032Z] d65c8cfc05b1: Waiting [2023-04-24T06:45:10.032Z] 2437ff75d9bd: Waiting [2023-04-24T06:45:10.032Z] 765212b225bb: Waiting [2023-04-24T06:45:10.032Z] 04944245beec: Verifying Checksum [2023-04-24T06:45:10.032Z] 04944245beec: Download complete [2023-04-24T06:45:10.032Z] 765212b225bb: Verifying Checksum [2023-04-24T06:45:10.032Z] 765212b225bb: Download complete [2023-04-24T06:45:10.032Z] f23df028b6ca: Verifying Checksum [2023-04-24T06:45:10.032Z] f23df028b6ca: Download complete [2023-04-24T06:45:10.032Z] d65c8cfc05b1: Verifying Checksum [2023-04-24T06:45:10.032Z] d65c8cfc05b1: Download complete [2023-04-24T06:45:10.032Z] 699f458cf7ca: Verifying Checksum [2023-04-24T06:45:10.032Z] 699f458cf7ca: Download complete [2023-04-24T06:45:10.620Z] 8998bd30e6a1: Verifying Checksum [2023-04-24T06:45:10.620Z] 8998bd30e6a1: Download complete [2023-04-24T06:45:12.579Z] 2437ff75d9bd: Verifying Checksum [2023-04-24T06:45:12.579Z] 2437ff75d9bd: Download complete [2023-04-24T06:45:14.527Z] 8998bd30e6a1: Pull complete [2023-04-24T06:45:14.796Z] 04944245beec: Pull complete [2023-04-24T06:45:16.207Z] 699f458cf7ca: Pull complete [2023-04-24T06:45:16.207Z] 765212b225bb: Pull complete [2023-04-24T06:45:17.175Z] f23df028b6ca: Pull complete [2023-04-24T06:45:17.175Z] d65c8cfc05b1: Pull complete [2023-04-24T06:45:32.190Z] 2437ff75d9bd: Pull complete [2023-04-24T06:45:32.190Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-24T06:45:32.190Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T06:45:32.190Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:45:32.412Z] prd-ubuntu20.04-docker-arm64-4c-16g-9513 does not seem to be running inside a container [2023-04-24T06:45:32.511Z] $ 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/96 -v /w/workspace/device-modbus-go/96:/w/workspace/device-modbus-go/96:rw,z -v /w/workspace/device-modbus-go/96@tmp:/w/workspace/device-modbus-go/96@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-04-24T06:45:38.053Z] $ docker top 50eb105c92cc44d99163c7824fe2cbd3d0ece93b49162a952940088d3f982fa1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:45:38.930Z] ---> job-cost.sh [2023-04-24T06:45:38.931Z] lf-activate-venv: SKIPPING [2023-04-24T06:45:38.931Z] INFO: No Stack... [2023-04-24T06:45:39.202Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-24T06:45:40.168Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T06:45:40.816Z] + cat /w/workspace/device-modbus-go/96/archives/cost.csv [2023-04-24T06:45:40.816Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T06:45:40.892Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-96-stack-cost] [2023-04-24T06:45:40.901Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-96-stack-cost] did not exist. Created. [2023-04-24T06:45:40.901Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-96-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T06:45:41.250Z] /w/workspace/device-modbus-go/96@tmp/durable-ec1a96b0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-24T06:45:41.856Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-24T06:45:41.882Z] Warning: overwriting stash ‘stack-cost’ [2023-04-24T06:45:41.939Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T06:45:41.948Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-96-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T06:45:41.982Z] $ docker stop --time=1 50eb105c92cc44d99163c7824fe2cbd3d0ece93b49162a952940088d3f982fa1 [2023-04-24T06:45:43.525Z] $ docker rm -f --volumes 50eb105c92cc44d99163c7824fe2cbd3d0ece93b49162a952940088d3f982fa1 [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-04-24T06:45:43.890Z] provisioning config files... [2023-04-24T06:45:43.898Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14646152628926370331tmp [Pipeline] { [Pipeline] sh [2023-04-24T06:45:44.194Z] + set +x [2023-04-24T06:45:44.194Z] + curl -s https://codecov.io/bash [2023-04-24T06:45:44.194Z] + bash -s -- [2023-04-24T06:45:44.194Z] [2023-04-24T06:45:44.194Z] _____ _ [2023-04-24T06:45:44.194Z] / ____| | | [2023-04-24T06:45:44.194Z] | | ___ __| | ___ ___ _____ __ [2023-04-24T06:45:44.194Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-24T06:45:44.194Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-24T06:45:44.194Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-24T06:45:44.194Z] Bash-1.0.6 [2023-04-24T06:45:44.194Z] [2023-04-24T06:45:44.194Z] [2023-04-24T06:45:44.194Z] ==> git version 2.25.1 found [2023-04-24T06:45:44.194Z] ==> 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-04-24T06:45:44.194Z] Release-Date: 2020-01-08 [2023-04-24T06:45:44.194Z] 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-04-24T06:45:44.194Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-24T06:45:44.194Z] ==> Jenkins CI detected. [2023-04-24T06:45:44.194Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-04-24T06:45:44.194Z] project root: . [2023-04-24T06:45:44.194Z] --> token set from env [2023-04-24T06:45:44.194Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-24T06:45:44.194Z] ==> Running gcov in . (disable via -X gcov) [2023-04-24T06:45:44.194Z] ==> Python coveragepy not found [2023-04-24T06:45:44.194Z] ==> Searching for coverage reports in: [2023-04-24T06:45:44.194Z] + . [2023-04-24T06:45:44.194Z] -> Found 1 reports [2023-04-24T06:45:44.194Z] ==> Detecting git/mercurial file structure [2023-04-24T06:45:44.194Z] ==> Reading reports [2023-04-24T06:45:44.194Z] + ./coverage.out bytes=24160 [2023-04-24T06:45:44.194Z] ==> Appending adjustments [2023-04-24T06:45:44.194Z] https://docs.codecov.io/docs/fixing-reports [2023-04-24T06:45:44.453Z] + Found adjustments [2023-04-24T06:45:44.453Z] ==> Gzipping contents [2023-04-24T06:45:44.453Z] 4.0K /tmp/codecov.2rUDMj.gz [2023-04-24T06:45:44.453Z] ==> Uploading reports [2023-04-24T06:45:44.453Z] url: https://codecov.io [2023-04-24T06:45:44.453Z] query: branch=main&commit=c33ceb1bf79f75a5c87c27297619a12eadfcf214&build=96&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F96%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-24T06:45:44.453Z] -> Pinging Codecov [2023-04-24T06:45:44.453Z] 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=c33ceb1bf79f75a5c87c27297619a12eadfcf214&build=96&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F96%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-24T06:45:44.453Z] -> Uploading to [2023-04-24T06:45:44.453Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-24/55DBCA73C666E3227836607328DD7E49/c33ceb1bf79f75a5c87c27297619a12eadfcf214/634c3eb7-5a98-441f-b8b3-3d051a900616.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T064544Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0d4c609af2b30d95daddf312a5ad76cc3e0178e876819e11c2397ec63a6ebf59 [2023-04-24T06:45:44.453Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T06:45:44.453Z] Dload Upload Total Spent Left Speed [2023-04-24T06:45:44.712Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 19330 --:--:-- --:--:-- --:--:-- 19235 100 3924 0 0 100 3924 0 17675 --:--:-- --:--:-- --:--:-- 17596 [2023-04-24T06:45:44.712Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/c33ceb1bf79f75a5c87c27297619a12eadfcf214 [Pipeline] } [2023-04-24T06:45:44.718Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-04-24T06:45:44.831Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-04-24T06:45:44.843Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:45:45.136Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-24T06:45:45.136Z] [2023-04-24T06:45:45.136Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:45:45.424Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-24T06:45:45.424Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-04-24T06:45:45.424Z] df9b9388f04a: Pulling fs layer [2023-04-24T06:45:45.424Z] 52dc419b0ee2: Pulling fs layer [2023-04-24T06:45:45.424Z] 25bc292e5bac: Pulling fs layer [2023-04-24T06:45:45.424Z] 114826534d7a: Pulling fs layer [2023-04-24T06:45:45.424Z] 114826534d7a: Waiting [2023-04-24T06:45:45.424Z] 4657fd5d0bcf: Pulling fs layer [2023-04-24T06:45:45.424Z] 6ad1cebc031e: Pulling fs layer [2023-04-24T06:45:45.424Z] 8a3aa393b2d8: Pulling fs layer [2023-04-24T06:45:45.424Z] 4657fd5d0bcf: Waiting [2023-04-24T06:45:45.424Z] 8a3aa393b2d8: Waiting [2023-04-24T06:45:45.424Z] 6ad1cebc031e: Waiting [2023-04-24T06:45:45.424Z] 25bc292e5bac: Verifying Checksum [2023-04-24T06:45:45.424Z] 25bc292e5bac: Download complete [2023-04-24T06:45:45.424Z] 52dc419b0ee2: Download complete [2023-04-24T06:45:45.424Z] 4657fd5d0bcf: Verifying Checksum [2023-04-24T06:45:45.424Z] 4657fd5d0bcf: Download complete [2023-04-24T06:45:45.424Z] df9b9388f04a: Verifying Checksum [2023-04-24T06:45:45.424Z] df9b9388f04a: Download complete [2023-04-24T06:45:45.685Z] 6ad1cebc031e: Verifying Checksum [2023-04-24T06:45:45.685Z] 6ad1cebc031e: Download complete [2023-04-24T06:45:45.685Z] df9b9388f04a: Pull complete [2023-04-24T06:45:45.685Z] 52dc419b0ee2: Pull complete [2023-04-24T06:45:45.685Z] 25bc292e5bac: Pull complete [2023-04-24T06:45:46.253Z] 114826534d7a: Verifying Checksum [2023-04-24T06:45:46.253Z] 114826534d7a: Download complete [2023-04-24T06:45:46.253Z] 8a3aa393b2d8: Verifying Checksum [2023-04-24T06:45:46.253Z] 8a3aa393b2d8: Download complete [2023-04-24T06:45:50.439Z] 114826534d7a: Pull complete [2023-04-24T06:45:50.439Z] 4657fd5d0bcf: Pull complete [2023-04-24T06:45:50.439Z] 6ad1cebc031e: Pull complete [2023-04-24T06:45:52.981Z] 8a3aa393b2d8: Pull complete [2023-04-24T06:45:52.981Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-04-24T06:45:52.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-24T06:45:52.981Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:45:53.070Z] prd-ubuntu20.04-docker-8c-8g-9505 does not seem to be running inside a container [2023-04-24T06:45:53.106Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-04-24T06:45:56.669Z] $ docker top 2409014ea9f01210866284afc646385076738a4df72d67cc0e85ac41b65f89a1 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-04-24T06:45:56.728Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-04-24T06:45:57.004Z] + set -o pipefail [2023-04-24T06:45:57.004Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-04-24T06:46:02.274Z] [2023-04-24T06:46:02.274Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-04-24T06:46:02.274Z] [2023-04-24T06:46:02.274Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/ac01634c-895a-49f6-a707-ac4f40934aa8 [2023-04-24T06:46:02.274Z] [2023-04-24T06:46:02.274Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-04-24T06:46:02.274Z] [2023-04-24T06:46:02.274Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-04-24T06:46:02.274Z] [2023-04-24T06:46:03.210Z] [2023-04-24T06:46:03.210Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-04-24T06:46:03.210Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-04-24T06:46:03.210Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-04-24T06:46:03.225Z] $ docker stop --time=1 2409014ea9f01210866284afc646385076738a4df72d67cc0e85ac41b65f89a1 [2023-04-24T06:46:06.085Z] $ docker rm -f --volumes 2409014ea9f01210866284afc646385076738a4df72d67cc0e85ac41b65f89a1 [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-04-24T06:46:06.785Z] + git log --format=format:%s -1 c33ceb1bf79f75a5c87c27297619a12eadfcf214 [Pipeline] sh [2023-04-24T06:46:07.079Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T06:46:07.079Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:46:07.378Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T06:46:07.378Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:46:07.456Z] prd-ubuntu20.04-docker-8c-8g-9505 does not seem to be running inside a container [2023-04-24T06:46:07.495Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-24T06:46:07.962Z] $ docker top 38b152faf12965ff69b07fc550f8c41f517d98097ace0cc500ed54053536998e -eo pid,comm [2023-04-24T06:46:08.007Z] 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-04-24T06:46:08.007Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T06:46:08.047Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T06:46:08.047Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T06:46:08.152Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T06:46:08.159Z] $ docker exec 38b152faf12965ff69b07fc550f8c41f517d98097ace0cc500ed54053536998e ssh-agent [2023-04-24T06:46:08.266Z] SSH_AUTH_SOCK=/tmp/ssh-wAxaOVmBYlBe/agent.32 [2023-04-24T06:46:08.266Z] SSH_AGENT_PID=38 [2023-04-24T06:46:08.270Z] Running ssh-add (command line suppressed) [2023-04-24T06:46:08.377Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15758551760136399705.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15758551760136399705.key) [2023-04-24T06:46:08.387Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T06:46:08.677Z] + git semver tag [2023-04-24T06:46:08.936Z] 2023-04-24 06:46:08,888 [run_tag] DEBUG tag force:False [2023-04-24T06:46:08.936Z] 2023-04-24 06:46:08,888 [check_head_tag] DEBUG check head tag [2023-04-24T06:46:08.936Z] 2023-04-24 06:46:08,890 [execute] INFO git cat-file --batch-check [2023-04-24T06:46:08.936Z] 2023-04-24 06:46:08,890 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-04-24T06:46:08.936Z] 2023-04-24 06:46:08,894 [execute] INFO git cat-file --batch [2023-04-24T06:46:08.936Z] 2023-04-24 06:46:08,894 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-04-24T06:46:08.936Z] 2023-04-24 06:46:08,917 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-24T06:46:08.936Z] 2023-04-24 06:46:08,918 [execute] INFO git tag -a v3.0.0-dev.30 -m v3.0.0-dev.30 [2023-04-24T06:46:08.936Z] 2023-04-24 06:46:08,918 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.30', '-m', 'v3.0.0-dev.30'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-04-24T06:46:08.936Z] 2023-04-24 06:46:08,923 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-24T06:46:08.936Z] 3.0.0-dev.30 [Pipeline] } [2023-04-24T06:46:09.208Z] $ docker exec --env ******** --env ******** 38b152faf12965ff69b07fc550f8c41f517d98097ace0cc500ed54053536998e ssh-agent -k [2023-04-24T06:46:09.307Z] unset SSH_AUTH_SOCK; [2023-04-24T06:46:09.307Z] unset SSH_AGENT_PID; [2023-04-24T06:46:09.308Z] echo Agent pid 38 killed; [2023-04-24T06:46:09.315Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T06:46:09.621Z] + git semver [Pipeline] } [2023-04-24T06:46:09.899Z] $ docker stop --time=1 38b152faf12965ff69b07fc550f8c41f517d98097ace0cc500ed54053536998e [2023-04-24T06:46:11.176Z] $ docker rm -f --volumes 38b152faf12965ff69b07fc550f8c41f517d98097ace0cc500ed54053536998e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:46:11.552Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-24T06:46:11.552Z] [2023-04-24T06:46:11.552Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:46:11.849Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-24T06:46:11.850Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-04-24T06:46:11.850Z] ab5ef0e58194: Pulling fs layer [2023-04-24T06:46:11.850Z] 9712f1f96733: Pulling fs layer [2023-04-24T06:46:11.850Z] 63f879dbbcfc: Pulling fs layer [2023-04-24T06:46:11.850Z] 0d9ebad4ef96: Pulling fs layer [2023-04-24T06:46:11.850Z] e9a5061849ea: Pulling fs layer [2023-04-24T06:46:11.850Z] d747dcd14b5f: Pulling fs layer [2023-04-24T06:46:11.850Z] 2de7ff778b66: Pulling fs layer [2023-04-24T06:46:11.850Z] d747dcd14b5f: Waiting [2023-04-24T06:46:11.850Z] e9a5061849ea: Waiting [2023-04-24T06:46:11.850Z] 2de7ff778b66: Waiting [2023-04-24T06:46:11.850Z] 0d9ebad4ef96: Waiting [2023-04-24T06:46:11.850Z] 9712f1f96733: Verifying Checksum [2023-04-24T06:46:11.850Z] 9712f1f96733: Download complete [2023-04-24T06:46:12.108Z] 63f879dbbcfc: Verifying Checksum [2023-04-24T06:46:12.108Z] 63f879dbbcfc: Download complete [2023-04-24T06:46:12.366Z] e9a5061849ea: Verifying Checksum [2023-04-24T06:46:12.366Z] e9a5061849ea: Download complete [2023-04-24T06:46:12.366Z] d747dcd14b5f: Download complete [2023-04-24T06:46:12.366Z] ab5ef0e58194: Verifying Checksum [2023-04-24T06:46:12.366Z] ab5ef0e58194: Download complete [2023-04-24T06:46:12.366Z] 0d9ebad4ef96: Verifying Checksum [2023-04-24T06:46:12.366Z] 0d9ebad4ef96: Download complete [2023-04-24T06:46:12.624Z] 2de7ff778b66: Verifying Checksum [2023-04-24T06:46:12.624Z] 2de7ff778b66: Download complete [2023-04-24T06:46:15.161Z] ab5ef0e58194: Pull complete [2023-04-24T06:46:15.161Z] 9712f1f96733: Pull complete [2023-04-24T06:46:16.093Z] 63f879dbbcfc: Pull complete [2023-04-24T06:46:19.373Z] 0d9ebad4ef96: Pull complete [2023-04-24T06:46:19.631Z] e9a5061849ea: Pull complete [2023-04-24T06:46:19.890Z] d747dcd14b5f: Pull complete [2023-04-24T06:46:20.824Z] 2de7ff778b66: Pull complete [2023-04-24T06:46:20.824Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-04-24T06:46:20.824Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-24T06:46:20.824Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:46:20.900Z] prd-ubuntu20.04-docker-8c-8g-9505 does not seem to be running inside a container [2023-04-24T06:46:20.930Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-04-24T06:46:24.527Z] $ docker top 3e87642c6c04873b287b95cd43e00a11bc968b2cb8d3e07aa7277832663ce998 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-04-24T06:46:24.597Z] provisioning config files... [2023-04-24T06:46:24.604Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config986220538139222474tmp [2023-04-24T06:46:24.615Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17430985981085164582tmp [2023-04-24T06:46:24.625Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15499092170262642402tmp [Pipeline] { [Pipeline] echo [2023-04-24T06:46:24.642Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:46:24.924Z] ---> sigul-configuration.sh [2023-04-24T06:46:24.924Z] gpg: directory `/root/.gnupg' created [2023-04-24T06:46:24.924Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-04-24T06:46:24.924Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-04-24T06:46:24.924Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-04-24T06:46:24.924Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-04-24T06:46:24.924Z] gpg: CAST5 encrypted data [2023-04-24T06:46:24.924Z] gpg: encrypted with 1 passphrase [2023-04-24T06:46:24.924Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-04-24T06:46:25.211Z] + mkdir /home/jenkins [2023-04-24T06:46:25.211Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-04-24T06:46:25.493Z] + 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-04-24T06:46:25.502Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:46:25.785Z] ---> sigul-install.sh [2023-04-24T06:46:25.785Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-04-24T06:46:26.071Z] + git tag --list [2023-04-24T06:46:26.071Z] 0.7.1 [2023-04-24T06:46:26.071Z] v1.0.0 [2023-04-24T06:46:26.071Z] v1.1.0 [2023-04-24T06:46:26.071Z] v1.1.1 [2023-04-24T06:46:26.071Z] v1.2.2 [2023-04-24T06:46:26.071Z] v1.3.0 [2023-04-24T06:46:26.071Z] v1.3.1 [2023-04-24T06:46:26.071Z] v2.0.0 [2023-04-24T06:46:26.071Z] v2.1.0 [2023-04-24T06:46:26.071Z] v2.1.1 [2023-04-24T06:46:26.071Z] v2.1.1-dev.1 [2023-04-24T06:46:26.071Z] v2.1.1-dev.2 [2023-04-24T06:46:26.071Z] v2.1.1-dev.3 [2023-04-24T06:46:26.071Z] v2.2.0 [2023-04-24T06:46:26.071Z] v2.2.1-dev.1 [2023-04-24T06:46:26.071Z] v2.2.1-dev.2 [2023-04-24T06:46:26.071Z] v2.2.1-dev.3 [2023-04-24T06:46:26.071Z] v2.2.1-dev.4 [2023-04-24T06:46:26.071Z] v2.2.1-dev.5 [2023-04-24T06:46:26.071Z] v2.2.1-dev.6 [2023-04-24T06:46:26.071Z] v2.2.1-dev.7 [2023-04-24T06:46:26.071Z] v2.3.0 [2023-04-24T06:46:26.071Z] v2.3.0-dev.10 [2023-04-24T06:46:26.071Z] v2.3.0-dev.11 [2023-04-24T06:46:26.071Z] v2.3.0-dev.12 [2023-04-24T06:46:26.071Z] v2.3.0-dev.13 [2023-04-24T06:46:26.071Z] v2.3.0-dev.14 [2023-04-24T06:46:26.071Z] v2.3.0-dev.15 [2023-04-24T06:46:26.071Z] v2.3.0-dev.16 [2023-04-24T06:46:26.071Z] v2.3.0-dev.17 [2023-04-24T06:46:26.071Z] v2.3.0-dev.18 [2023-04-24T06:46:26.071Z] v2.3.0-dev.19 [2023-04-24T06:46:26.071Z] v2.3.0-dev.20 [2023-04-24T06:46:26.071Z] v2.3.0-dev.21 [2023-04-24T06:46:26.071Z] v2.3.0-dev.22 [2023-04-24T06:46:26.071Z] v2.3.0-dev.23 [2023-04-24T06:46:26.071Z] v2.3.0-dev.24 [2023-04-24T06:46:26.071Z] v2.3.0-dev.25 [2023-04-24T06:46:26.071Z] v2.3.0-dev.7 [2023-04-24T06:46:26.071Z] v2.3.0-dev.8 [2023-04-24T06:46:26.071Z] v2.3.0-dev.9 [2023-04-24T06:46:26.071Z] v3.0.0-dev.1 [2023-04-24T06:46:26.071Z] v3.0.0-dev.10 [2023-04-24T06:46:26.071Z] v3.0.0-dev.11 [2023-04-24T06:46:26.071Z] v3.0.0-dev.12 [2023-04-24T06:46:26.071Z] v3.0.0-dev.13 [2023-04-24T06:46:26.071Z] v3.0.0-dev.14 [2023-04-24T06:46:26.071Z] v3.0.0-dev.15 [2023-04-24T06:46:26.071Z] v3.0.0-dev.16 [2023-04-24T06:46:26.071Z] v3.0.0-dev.17 [2023-04-24T06:46:26.071Z] v3.0.0-dev.18 [2023-04-24T06:46:26.071Z] v3.0.0-dev.19 [2023-04-24T06:46:26.071Z] v3.0.0-dev.2 [2023-04-24T06:46:26.071Z] v3.0.0-dev.20 [2023-04-24T06:46:26.071Z] v3.0.0-dev.21 [2023-04-24T06:46:26.071Z] v3.0.0-dev.22 [2023-04-24T06:46:26.071Z] v3.0.0-dev.23 [2023-04-24T06:46:26.071Z] v3.0.0-dev.24 [2023-04-24T06:46:26.071Z] v3.0.0-dev.25 [2023-04-24T06:46:26.071Z] v3.0.0-dev.26 [2023-04-24T06:46:26.071Z] v3.0.0-dev.27 [2023-04-24T06:46:26.071Z] v3.0.0-dev.28 [2023-04-24T06:46:26.071Z] v3.0.0-dev.29 [2023-04-24T06:46:26.071Z] v3.0.0-dev.3 [2023-04-24T06:46:26.071Z] v3.0.0-dev.30 [2023-04-24T06:46:26.071Z] v3.0.0-dev.4 [2023-04-24T06:46:26.071Z] v3.0.0-dev.5 [2023-04-24T06:46:26.071Z] v3.0.0-dev.6 [2023-04-24T06:46:26.071Z] v3.0.0-dev.7 [2023-04-24T06:46:26.071Z] v3.0.0-dev.8 [2023-04-24T06:46:26.071Z] v3.0.0-dev.9 [Pipeline] sh [2023-04-24T06:46:26.360Z] + lftools sign git-tag v3.0.0-dev.30 [2023-04-24T06:46:26.927Z] Signing Git tag with Sigul... [2023-04-24T06:46:26.927Z] Signing v3.0.0-dev.30 [Pipeline] echo [2023-04-24T06:46:27.195Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:46:27.479Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-04-24T06:46:27.485Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-04-24T06:46:27.503Z] $ docker stop --time=1 3e87642c6c04873b287b95cd43e00a11bc968b2cb8d3e07aa7277832663ce998 [2023-04-24T06:46:28.793Z] $ docker rm -f --volumes 3e87642c6c04873b287b95cd43e00a11bc968b2cb8d3e07aa7277832663ce998 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-04-24T06:46:29.189Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T06:46:29.189Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:46:29.489Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T06:46:29.489Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:46:29.562Z] prd-ubuntu20.04-docker-8c-8g-9505 does not seem to be running inside a container [2023-04-24T06:46:29.597Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-24T06:46:29.932Z] $ docker top e48b7dd1d73b97724908c181dec310593e2510a83a859e0dc778e9b85b1fda01 -eo pid,comm [2023-04-24T06:46:29.978Z] 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-04-24T06:46:29.978Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T06:46:30.024Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T06:46:30.024Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T06:46:30.147Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T06:46:30.154Z] $ docker exec e48b7dd1d73b97724908c181dec310593e2510a83a859e0dc778e9b85b1fda01 ssh-agent [2023-04-24T06:46:30.267Z] SSH_AUTH_SOCK=/tmp/ssh-5ymJder9TBO2/agent.32 [2023-04-24T06:46:30.267Z] SSH_AGENT_PID=38 [2023-04-24T06:46:30.272Z] Running ssh-add (command line suppressed) [2023-04-24T06:46:30.388Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17950173840547701130.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17950173840547701130.key) [2023-04-24T06:46:30.399Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T06:46:30.688Z] + git semver bump pre [2023-04-24T06:46:30.947Z] 2023-04-24 06:46:30,872 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-24T06:46:30.947Z] 2023-04-24 06:46:30,872 [bump_version] DEBUG bumping version:3.0.0-dev.30 on axis:pre with prefix:dev [2023-04-24T06:46:30.947Z] 2023-04-24 06:46:30,872 [bump_version] DEBUG bumped version:3.0.0-dev.31 [2023-04-24T06:46:30.947Z] 2023-04-24 06:46:30,872 [write_version] DEBUG write version:3.0.0-dev.31 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-04-24T06:46:30.947Z] 2023-04-24 06:46:30,872 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-24T06:46:30.947Z] 2023-04-24 06:46:30,872 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-24T06:46:30.947Z] 2023-04-24 06:46:30,875 [execute] INFO git cat-file --batch-check [2023-04-24T06:46:30.947Z] 2023-04-24 06:46:30,875 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T06:46:30.947Z] 2023-04-24 06:46:30,882 [execute] INFO git cat-file --batch [2023-04-24T06:46:30.947Z] 2023-04-24 06:46:30,882 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T06:46:30.947Z] 2023-04-24 06:46:30,888 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-24T06:46:30.947Z] 3.0.0-dev.31 [Pipeline] } [2023-04-24T06:46:30.960Z] $ docker exec --env ******** --env ******** e48b7dd1d73b97724908c181dec310593e2510a83a859e0dc778e9b85b1fda01 ssh-agent -k [2023-04-24T06:46:31.065Z] unset SSH_AUTH_SOCK; [2023-04-24T06:46:31.066Z] unset SSH_AGENT_PID; [2023-04-24T06:46:31.066Z] echo Agent pid 38 killed; [2023-04-24T06:46:31.072Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T06:46:31.370Z] + git semver [Pipeline] } [2023-04-24T06:46:31.645Z] $ docker stop --time=1 e48b7dd1d73b97724908c181dec310593e2510a83a859e0dc778e9b85b1fda01 [2023-04-24T06:46:32.924Z] $ docker rm -f --volumes e48b7dd1d73b97724908c181dec310593e2510a83a859e0dc778e9b85b1fda01 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T06:46:33.258Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T06:46:33.258Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:46:33.554Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T06:46:33.554Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:46:33.624Z] prd-ubuntu20.04-docker-8c-8g-9505 does not seem to be running inside a container [2023-04-24T06:46:33.661Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-24T06:46:33.988Z] $ docker top 3f41dedc7ee517c7627a9f3a4199262d3a71b4f0ee9b90c34f6492e66139de37 -eo pid,comm [2023-04-24T06:46:34.036Z] 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-04-24T06:46:34.036Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T06:46:34.072Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T06:46:34.072Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T06:46:34.185Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T06:46:34.192Z] $ docker exec 3f41dedc7ee517c7627a9f3a4199262d3a71b4f0ee9b90c34f6492e66139de37 ssh-agent [2023-04-24T06:46:34.296Z] SSH_AUTH_SOCK=/tmp/ssh-DIbHkhkHbvZk/agent.32 [2023-04-24T06:46:34.296Z] SSH_AGENT_PID=38 [2023-04-24T06:46:34.301Z] Running ssh-add (command line suppressed) [2023-04-24T06:46:34.406Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16592785206918637973.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16592785206918637973.key) [2023-04-24T06:46:34.417Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T06:46:34.704Z] + git semver push [2023-04-24T06:46:34.963Z] 2023-04-24 06:46:34,904 [run_push] DEBUG push [2023-04-24T06:46:34.963Z] 2023-04-24 06:46:34,905 [execute] INFO git cat-file --batch-check [2023-04-24T06:46:34.964Z] 2023-04-24 06:46:34,905 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T06:46:34.964Z] 2023-04-24 06:46:34,909 [execute] INFO git rev-list 9f57613b36d9f00e665be8473c7f4d6be8b6b73f -- [2023-04-24T06:46:34.964Z] 2023-04-24 06:46:34,909 [execute] DEBUG Popen(['git', 'rev-list', '9f57613b36d9f00e665be8473c7f4d6be8b6b73f', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-24T06:46:34.964Z] 2023-04-24 06:46:34,918 [execute] INFO git fetch -v origin [2023-04-24T06:46:34.964Z] 2023-04-24 06:46:34,918 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-04-24T06:46:35.536Z] 2023-04-24 06:46:35,410 [run_push] DEBUG no remote changes detected [2023-04-24T06:46:35.536Z] 2023-04-24 06:46:35,410 [execute] INFO git push origin semver [2023-04-24T06:46:35.536Z] 2023-04-24 06:46:35,411 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-24T06:46:36.473Z] 2023-04-24 06:46:36,157 [run_push] DEBUG push all version tags [2023-04-24T06:46:36.473Z] 2023-04-24 06:46:36,158 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-04-24T06:46:36.473Z] 2023-04-24 06:46:36,158 [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-04-24T06:46:37.046Z] 2023-04-24 06:46:36,850 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-24T06:46:37.046Z] 3.0.0-dev.31 [Pipeline] } [2023-04-24T06:46:37.060Z] $ docker exec --env ******** --env ******** 3f41dedc7ee517c7627a9f3a4199262d3a71b4f0ee9b90c34f6492e66139de37 ssh-agent -k [2023-04-24T06:46:37.166Z] unset SSH_AUTH_SOCK; [2023-04-24T06:46:37.166Z] unset SSH_AGENT_PID; [2023-04-24T06:46:37.166Z] echo Agent pid 38 killed; [2023-04-24T06:46:37.177Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T06:46:37.489Z] + git semver [Pipeline] } [2023-04-24T06:46:37.765Z] $ docker stop --time=1 3f41dedc7ee517c7627a9f3a4199262d3a71b4f0ee9b90c34f6492e66139de37 [2023-04-24T06:46:39.052Z] $ docker rm -f --volumes 3f41dedc7ee517c7627a9f3a4199262d3a71b4f0ee9b90c34f6492e66139de37 [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-04-24T06:46:39.609Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-04-24T06:46:39.610Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-04-24T06:46:39.610Z] total 16 [2023-04-24T06:46:39.610Z] drwxr-xr-x 3 root root 4096 Apr 24 06:34 . [2023-04-24T06:46:39.610Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 06:46 .. [2023-04-24T06:46:39.610Z] drwxr-xr-x 2 root root 4096 Apr 24 06:34 cost [2023-04-24T06:46:39.610Z] -rw-r--r-- 1 root root 87 Apr 24 06:34 cost.csv [2023-04-24T06:46:39.610Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-04-24T06:46:39.610Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-04-24T06:46:39.610Z] total 16 [2023-04-24T06:46:39.610Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 06:34 . [2023-04-24T06:46:39.610Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 06:46 .. [2023-04-24T06:46:39.610Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 06:34 cost [2023-04-24T06:46:39.610Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 24 06:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:46:39.899Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:46:40.754Z] ---> package-listing.sh [2023-04-24T06:46:40.755Z] ++ facter osfamily [2023-04-24T06:46:40.755Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-24T06:46:41.014Z] + OS_FAMILY=debian [2023-04-24T06:46:41.014Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-04-24T06:46:41.014Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-24T06:46:41.014Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-24T06:46:41.014Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-24T06:46:41.014Z] + PACKAGES=/tmp/packages_start.txt [2023-04-24T06:46:41.014Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-04-24T06:46:41.014Z] + PACKAGES=/tmp/packages_end.txt [2023-04-24T06:46:41.014Z] + case "${OS_FAMILY}" in [2023-04-24T06:46:41.014Z] + dpkg -l [2023-04-24T06:46:41.014Z] + grep '^ii' [2023-04-24T06:46:41.014Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-24T06:46:41.014Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-24T06:46:41.014Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-24T06:46:41.014Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-04-24T06:46:41.014Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-04-24T06:46:41.014Z] + 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-04-24T06:46:41.022Z] 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-04-24T06:46:41.299Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:46:41.907Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:46:41.907Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:46:41.984Z] prd-ubuntu20.04-docker-8c-8g-9505 does not seem to be running inside a container [2023-04-24T06:46:42.016Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-24T06:46:42.260Z] $ docker top ec9f8aa107867d320e7b2b4c757180abab17aa50a00b5dd3571e463e5abf7f4a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:46:42.602Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-24T06:46:42.883Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-24T06:46:43.274Z] + ls /var/log/sa-host [2023-04-24T06:46:43.274Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T06:46:43.344Z] provisioning config files... [2023-04-24T06:46:43.376Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17899014272202947290tmp [Pipeline] { [Pipeline] echo [2023-04-24T06:46:43.397Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:46:43.712Z] ---> create-netrc.sh [Pipeline] } [2023-04-24T06:46:43.727Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:46:44.054Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-24T06:46:44.063Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:46:44.350Z] ---> sudo-logs.sh [2023-04-24T06:46:44.350Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-24T06:46:44.380Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:46:44.679Z] ---> job-cost.sh [2023-04-24T06:46:44.679Z] lf-activate-venv: SKIPPING [2023-04-24T06:46:44.679Z] DEBUG: total: 0.2199999988079071 [2023-04-24T06:46:44.679Z] INFO: Retrieving Stack Cost... [2023-04-24T06:46:44.939Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T06:46:45.507Z] INFO: Archiving Costs [Pipeline] echo [2023-04-24T06:46:45.516Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:46:45.800Z] ---> logs-deploy.sh [2023-04-24T06:46:45.801Z] lf-activate-venv: SKIPPING [2023-04-24T06:46:45.801Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/96 [2023-04-24T06:46:45.801Z] INFO: archiving workspace using pattern(s): [2023-04-24T06:46:46.738Z] Archives upload complete. [2023-04-24T06:46:46.738Z] INFO: archiving logs to Nexus