Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 640aa887e9955506bed08a06d24af596cf944b9d 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-ssh13102807621793758060.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-ssh3889789249688708985.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-ssh5184821784701054946.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-ssh7410826847761508963.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-ssh7522582850459296180.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8776 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 640aa887e9955506bed08a06d24af596cf944b9d (main) Commit message: "refactor: Set ProfilesDir & DevicesDir to empty string (#456)" > 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 640aa887e9955506bed08a06d24af596cf944b9d # timeout=10 > git rev-list --no-walk 55987cd457f5f1a930ff560b78c1acf5044fc241 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-17T20:16:49.207Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-17T20:16:49.298Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-17T20:16:49.319Z] ========================================================= [2023-04-17T20:16:49.319Z] EdgeX Global Pipelines Version Info [2023-04-17T20:16:49.319Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:16:50.007Z] ------------------- [2023-04-17T20:16:50.007Z] stable info: [2023-04-17T20:16:50.007Z] ------------------- [2023-04-17T20:16:50.007Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-17T20:16:50.007Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T20:16:50.007Z] Message: update stable to v1.0.248 [2023-04-17T20:16:50.578Z] ------------------- [2023-04-17T20:16:50.578Z] experimental info: [2023-04-17T20:16:50.578Z] ------------------- [2023-04-17T20:16:50.578Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-17T20:16:50.578Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T20:16:50.578Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-17T20:16:50.760Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-04-17T20:16:50.772Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-04-17T20:16:50.782Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-17T20:16:50.794Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-17T20:16:50.806Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-17T20:16:50.819Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-17T20:16:50.834Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-17T20:16:50.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-17T20:16:50.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-17T20:16:50.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-17T20:16:50.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-17T20:16:50.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-04-17T20:16:50.906Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-17T20:16:50.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-17T20:16:50.933Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T20:16:50.948Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T20:16:50.966Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T20:16:50.982Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T20:16:50.991Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-17T20:16:51.002Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-17T20:16:51.015Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-17T20:16:51.028Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-17T20:16:51.038Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-17T20:16:51.053Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-17T20:16:51.071Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-17T20:16:51.085Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-17T20:16:51.096Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-17T20:16:51.107Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-04-17T20:16:51.121Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-04-17T20:16:51.130Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-04-17T20:16:51.144Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 640aa887e9955506bed08a06d24af596cf944b9d [Pipeline] echo [2023-04-17T20:16:51.154Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 640aa88 [Pipeline] echo [2023-04-17T20:16:51.163Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T20:16:51.209Z] provisioning config files... [2023-04-17T20:16:51.223Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10770620446530035355tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:16:51.523Z] ---> docker-login.sh [2023-04-17T20:16:51.523Z] nexus3.edgexfoundry.org:10001 [2023-04-17T20:16:51.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:16:51.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:16:51.796Z] Configure a credential helper to remove this warning. See [2023-04-17T20:16:51.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:16:51.796Z] [2023-04-17T20:16:51.796Z] Login Succeeded [2023-04-17T20:16:51.796Z] nexus3.edgexfoundry.org:10002 [2023-04-17T20:16:51.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:16:51.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:16:51.796Z] Configure a credential helper to remove this warning. See [2023-04-17T20:16:51.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:16:51.796Z] [2023-04-17T20:16:51.796Z] Login Succeeded [2023-04-17T20:16:51.796Z] nexus3.edgexfoundry.org:10003 [2023-04-17T20:16:52.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:16:52.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:16:52.072Z] Configure a credential helper to remove this warning. See [2023-04-17T20:16:52.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:16:52.072Z] [2023-04-17T20:16:52.072Z] Login Succeeded [2023-04-17T20:16:52.072Z] nexus3.edgexfoundry.org:10004 [2023-04-17T20:16:52.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:16:52.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:16:52.072Z] Configure a credential helper to remove this warning. See [2023-04-17T20:16:52.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:16:52.072Z] [2023-04-17T20:16:52.072Z] Login Succeeded [2023-04-17T20:16:52.072Z] docker.io [2023-04-17T20:16:52.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:16:52.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:16:52.333Z] Configure a credential helper to remove this warning. See [2023-04-17T20:16:52.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:16:52.333Z] [2023-04-17T20:16:52.333Z] Login Succeeded [2023-04-17T20:16:52.333Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T20:16:52.341Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-17T20:16:52.704Z] + git rev-list -1 --merges 640aa887e9955506bed08a06d24af596cf944b9d~1..640aa887e9955506bed08a06d24af596cf944b9d [Pipeline] echo [2023-04-17T20:16:52.759Z] -----------> git rev-list -1 --merges 640aa887e9955506bed08a06d24af596cf944b9d~1..640aa887e9955506bed08a06d24af596cf944b9d 640aa887e9955506bed08a06d24af596cf944b9d [false] [Pipeline] sh [2023-04-17T20:16:53.057Z] + git log --format=format:%s -1 640aa887e9955506bed08a06d24af596cf944b9d [Pipeline] echo [2023-04-17T20:16:53.071Z] ========================================================= [2023-04-17T20:16:53.071Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-17T20:16:53.071Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T20:16:53.385Z] + git log --format=format:%s -1 640aa887e9955506bed08a06d24af596cf944b9d [Pipeline] echo [2023-04-17T20:16:53.396Z] [semverPrep] GIT_COMMIT: 640aa887e9955506bed08a06d24af596cf944b9d, Commit Message: refactor: Set ProfilesDir & DevicesDir to empty string (#456) [Pipeline] echo [2023-04-17T20:16:53.406Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-17T20:16:53.756Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T20:16:53.756Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-17T20:16:53.756Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-17T20:16:53.756Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-17T20:16:53.756Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-17T20:16:53.756Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-17T20:16:53.756Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:16:54.093Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T20:16:54.093Z] [2023-04-17T20:16:54.093Z] 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-17T20:16:54.398Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T20:16:54.398Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-17T20:16:54.398Z] b85a868b505f: Pulling fs layer [2023-04-17T20:16:54.398Z] e2be974225ed: Pulling fs layer [2023-04-17T20:16:54.398Z] 339a4e72a1f5: Pulling fs layer [2023-04-17T20:16:54.398Z] 988bab9f4d93: Pulling fs layer [2023-04-17T20:16:54.398Z] 1469e6f7b9e6: Pulling fs layer [2023-04-17T20:16:54.398Z] eaf3925da568: Pulling fs layer [2023-04-17T20:16:54.398Z] bab4dde63d76: Pulling fs layer [2023-04-17T20:16:54.398Z] bde34c3a00c8: Pulling fs layer [2023-04-17T20:16:54.398Z] b352a97aabf1: Pulling fs layer [2023-04-17T20:16:54.398Z] 4872d77fe225: Pulling fs layer [2023-04-17T20:16:54.398Z] 5851b861e8e6: Pulling fs layer [2023-04-17T20:16:54.398Z] bde34c3a00c8: Waiting [2023-04-17T20:16:54.398Z] 5851b861e8e6: Waiting [2023-04-17T20:16:54.398Z] b352a97aabf1: Waiting [2023-04-17T20:16:54.398Z] 988bab9f4d93: Waiting [2023-04-17T20:16:54.398Z] 1469e6f7b9e6: Waiting [2023-04-17T20:16:54.398Z] eaf3925da568: Waiting [2023-04-17T20:16:54.398Z] bab4dde63d76: Waiting [2023-04-17T20:16:54.398Z] 4872d77fe225: Waiting [2023-04-17T20:16:54.398Z] e2be974225ed: Download complete [2023-04-17T20:16:54.398Z] 988bab9f4d93: Verifying Checksum [2023-04-17T20:16:54.398Z] 988bab9f4d93: Download complete [2023-04-17T20:16:54.398Z] 1469e6f7b9e6: Verifying Checksum [2023-04-17T20:16:54.398Z] 1469e6f7b9e6: Download complete [2023-04-17T20:16:54.398Z] 339a4e72a1f5: Verifying Checksum [2023-04-17T20:16:54.398Z] 339a4e72a1f5: Download complete [2023-04-17T20:16:54.658Z] eaf3925da568: Download complete [2023-04-17T20:16:54.658Z] bde34c3a00c8: Verifying Checksum [2023-04-17T20:16:54.658Z] bde34c3a00c8: Download complete [2023-04-17T20:16:54.658Z] b352a97aabf1: Download complete [2023-04-17T20:16:54.658Z] 4872d77fe225: Download complete [2023-04-17T20:16:54.658Z] 5851b861e8e6: Download complete [2023-04-17T20:16:54.658Z] b85a868b505f: Verifying Checksum [2023-04-17T20:16:54.658Z] b85a868b505f: Download complete [2023-04-17T20:16:54.918Z] bab4dde63d76: Verifying Checksum [2023-04-17T20:16:54.918Z] bab4dde63d76: Download complete [2023-04-17T20:16:55.862Z] b85a868b505f: Pull complete [2023-04-17T20:16:55.862Z] e2be974225ed: Pull complete [2023-04-17T20:16:56.448Z] 339a4e72a1f5: Pull complete [2023-04-17T20:16:56.448Z] 988bab9f4d93: Pull complete [2023-04-17T20:16:57.016Z] 1469e6f7b9e6: Pull complete [2023-04-17T20:16:57.016Z] eaf3925da568: Pull complete [2023-04-17T20:16:58.929Z] bab4dde63d76: Pull complete [2023-04-17T20:16:58.929Z] bde34c3a00c8: Pull complete [2023-04-17T20:16:58.929Z] b352a97aabf1: Pull complete [2023-04-17T20:16:58.929Z] 4872d77fe225: Pull complete [2023-04-17T20:16:58.929Z] 5851b861e8e6: Pull complete [2023-04-17T20:16:58.929Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-17T20:16:58.929Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T20:16:58.929Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:16:59.026Z] prd-ubuntu20.04-docker-8c-8g-8776 does not seem to be running inside a container [2023-04-17T20:16:59.062Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-17T20:17:00.224Z] $ docker top 1e8920d1d2f01d4fce7995321f486ab3a2f4fa0d5307b21abf06320a757760ef -eo pid,comm [2023-04-17T20:17:00.282Z] 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-17T20:17:00.282Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T20:17:00.323Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T20:17:00.323Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T20:17:00.443Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T20:17:00.451Z] $ docker exec 1e8920d1d2f01d4fce7995321f486ab3a2f4fa0d5307b21abf06320a757760ef ssh-agent [2023-04-17T20:17:00.566Z] SSH_AUTH_SOCK=/tmp/ssh-30vTok49IUDX/agent.33 [2023-04-17T20:17:00.566Z] SSH_AGENT_PID=39 [2023-04-17T20:17:00.572Z] Running ssh-add (command line suppressed) [2023-04-17T20:17:00.679Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11036183947955472409.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11036183947955472409.key) [2023-04-17T20:17:00.688Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T20:17:00.979Z] + git tag --points-at HEAD [Pipeline] } [2023-04-17T20:17:00.996Z] $ docker exec --env ******** --env ******** 1e8920d1d2f01d4fce7995321f486ab3a2f4fa0d5307b21abf06320a757760ef ssh-agent -k [2023-04-17T20:17:01.088Z] unset SSH_AUTH_SOCK; [2023-04-17T20:17:01.088Z] unset SSH_AGENT_PID; [2023-04-17T20:17:01.088Z] echo Agent pid 39 killed; [2023-04-17T20:17:01.101Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-17T20:17:01.127Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T20:17:01.127Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T20:17:01.235Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T20:17:01.242Z] $ docker exec 1e8920d1d2f01d4fce7995321f486ab3a2f4fa0d5307b21abf06320a757760ef ssh-agent [2023-04-17T20:17:01.353Z] SSH_AUTH_SOCK=/tmp/ssh-okjJXuIxJtY8/agent.71 [2023-04-17T20:17:01.353Z] SSH_AGENT_PID=77 [2023-04-17T20:17:01.357Z] Running ssh-add (command line suppressed) [2023-04-17T20:17:01.462Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13944614146199672954.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13944614146199672954.key) [2023-04-17T20:17:01.471Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T20:17:01.761Z] + git semver init [2023-04-17T20:17:02.022Z] 2023-04-17 20:17:01,990 [run_init] DEBUG init version:0.0.0 force:False [2023-04-17T20:17:02.022Z] 2023-04-17 20:17:01,990 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-04-17T20:17:02.022Z] 2023-04-17 20:17:01,991 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-04-17T20:17:02.022Z] 2023-04-17 20:17:01,991 [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-17T20:17:02.962Z] 2023-04-17 20:17:02,790 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-04-17T20:17:02.962Z] 2023-04-17 20:17:02,790 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-04-17T20:17:02.962Z] 2023-04-17 20:17:02,790 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-17T20:17:02.962Z] 2023-04-17 20:17:02,790 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-17T20:17:02.962Z] 3.0.0-dev.27 [Pipeline] } [2023-04-17T20:17:02.978Z] $ docker exec --env ******** --env ******** 1e8920d1d2f01d4fce7995321f486ab3a2f4fa0d5307b21abf06320a757760ef ssh-agent -k [2023-04-17T20:17:03.072Z] unset SSH_AUTH_SOCK; [2023-04-17T20:17:03.073Z] unset SSH_AGENT_PID; [2023-04-17T20:17:03.073Z] echo Agent pid 77 killed; [2023-04-17T20:17:03.079Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T20:17:03.389Z] + git semver [Pipeline] } [2023-04-17T20:17:03.665Z] $ docker stop --time=1 1e8920d1d2f01d4fce7995321f486ab3a2f4fa0d5307b21abf06320a757760ef [2023-04-17T20:17:04.975Z] $ docker rm -f --volumes 1e8920d1d2f01d4fce7995321f486ab3a2f4fa0d5307b21abf06320a757760ef [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T20:17:05.310Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-17T20:17:05.514Z] Stashed 1 file(s) [Pipeline] echo [2023-04-17T20:17:05.516Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.27 [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-17T20:17:05.671Z] provisioning config files... [2023-04-17T20:17:05.680Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7780340101145587964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:17:05.973Z] ---> docker-login.sh [2023-04-17T20:17:05.973Z] nexus3.edgexfoundry.org:10001 [2023-04-17T20:17:05.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:17:05.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:17:05.973Z] Configure a credential helper to remove this warning. See [2023-04-17T20:17:05.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:17:05.973Z] [2023-04-17T20:17:05.973Z] Login Succeeded [2023-04-17T20:17:05.973Z] nexus3.edgexfoundry.org:10002 [2023-04-17T20:17:05.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:17:05.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:17:05.973Z] Configure a credential helper to remove this warning. See [2023-04-17T20:17:05.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:17:05.973Z] [2023-04-17T20:17:05.973Z] Login Succeeded [2023-04-17T20:17:05.973Z] nexus3.edgexfoundry.org:10003 [2023-04-17T20:17:06.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:17:06.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:17:06.231Z] Configure a credential helper to remove this warning. See [2023-04-17T20:17:06.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:17:06.231Z] [2023-04-17T20:17:06.231Z] Login Succeeded [2023-04-17T20:17:06.231Z] nexus3.edgexfoundry.org:10004 [2023-04-17T20:17:06.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:17:06.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:17:06.231Z] Configure a credential helper to remove this warning. See [2023-04-17T20:17:06.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:17:06.231Z] [2023-04-17T20:17:06.231Z] Login Succeeded [2023-04-17T20:17:06.231Z] docker.io [2023-04-17T20:17:06.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:17:06.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:17:06.490Z] Configure a credential helper to remove this warning. See [2023-04-17T20:17:06.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:17:06.490Z] [2023-04-17T20:17:06.490Z] Login Succeeded [2023-04-17T20:17:06.490Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T20:17:06.498Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T20:17:06.550Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T20:17:06.563Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T20:17:06.569Z] ========================================================= [2023-04-17T20:17:06.569Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-17T20:17:06.569Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:17:06.871Z] + 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-17T20:17:06.871Z] Sending build context to Docker daemon 6.429MB [2023-04-17T20:17:06.871Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T20:17:06.871Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-17T20:17:06.871Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-17T20:17:06.871Z] 63b65145d645: Pulling fs layer [2023-04-17T20:17:06.871Z] a2d21d5440eb: Pulling fs layer [2023-04-17T20:17:06.871Z] 935e6c44a52c: Pulling fs layer [2023-04-17T20:17:06.871Z] 94cc34f8dd06: Pulling fs layer [2023-04-17T20:17:06.871Z] 30dea6a524f1: Pulling fs layer [2023-04-17T20:17:06.871Z] a2aff8979fd8: Pulling fs layer [2023-04-17T20:17:06.871Z] 6808be2612f2: Pulling fs layer [2023-04-17T20:17:06.871Z] f25807f1079a: Pulling fs layer [2023-04-17T20:17:06.871Z] 94cc34f8dd06: Waiting [2023-04-17T20:17:06.871Z] 30dea6a524f1: Waiting [2023-04-17T20:17:06.871Z] a2aff8979fd8: Waiting [2023-04-17T20:17:06.871Z] 6808be2612f2: Waiting [2023-04-17T20:17:06.871Z] f25807f1079a: Waiting [2023-04-17T20:17:06.871Z] a2d21d5440eb: Download complete [2023-04-17T20:17:06.871Z] 94cc34f8dd06: Download complete [2023-04-17T20:17:07.131Z] 30dea6a524f1: Verifying Checksum [2023-04-17T20:17:07.131Z] 30dea6a524f1: Download complete [2023-04-17T20:17:07.131Z] 63b65145d645: Verifying Checksum [2023-04-17T20:17:07.131Z] 63b65145d645: Download complete [2023-04-17T20:17:07.131Z] a2aff8979fd8: Verifying Checksum [2023-04-17T20:17:07.131Z] a2aff8979fd8: Download complete [2023-04-17T20:17:07.131Z] 63b65145d645: Pull complete [2023-04-17T20:17:07.392Z] a2d21d5440eb: Pull complete [2023-04-17T20:17:07.392Z] f25807f1079a: Verifying Checksum [2023-04-17T20:17:07.392Z] f25807f1079a: Download complete [2023-04-17T20:17:07.652Z] 935e6c44a52c: Verifying Checksum [2023-04-17T20:17:07.652Z] 935e6c44a52c: Download complete [2023-04-17T20:17:07.911Z] 6808be2612f2: Verifying Checksum [2023-04-17T20:17:07.911Z] 6808be2612f2: Download complete [2023-04-17T20:17:11.197Z] 935e6c44a52c: Pull complete [2023-04-17T20:17:11.197Z] 94cc34f8dd06: Pull complete [2023-04-17T20:17:11.197Z] 30dea6a524f1: Pull complete [2023-04-17T20:17:11.197Z] a2aff8979fd8: Pull complete [2023-04-17T20:17:13.101Z] 6808be2612f2: Pull complete [2023-04-17T20:17:13.665Z] f25807f1079a: Pull complete [2023-04-17T20:17:13.665Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-17T20:17:13.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-17T20:17:13.665Z] ---> 3b553350e43f [2023-04-17T20:17:13.665Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-04-17T20:17:15.563Z] ---> Running in 652aae8063d7 [2023-04-17T20:17:15.563Z] Removing intermediate container 652aae8063d7 [2023-04-17T20:17:15.563Z] ---> 48aacc261ba5 [2023-04-17T20:17:15.563Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T20:17:15.563Z] ---> Running in 20b1d08ac419 [2023-04-17T20:17:15.821Z] Removing intermediate container 20b1d08ac419 [2023-04-17T20:17:15.822Z] ---> ea2dc9b711da [2023-04-17T20:17:15.822Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-04-17T20:17:15.822Z] ---> Running in 66d3b5b334b8 [2023-04-17T20:17:16.083Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T20:17:16.083Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T20:17:16.342Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-04-17T20:17:16.342Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-04-17T20:17:16.342Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-04-17T20:17:16.342Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-04-17T20:17:16.342Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-04-17T20:17:16.342Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-04-17T20:17:16.342Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-04-17T20:17:16.342Z] (8/8) Installing openssh (9.1_p1-r2) [2023-04-17T20:17:16.342Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T20:17:16.342Z] OK: 270 MiB in 61 packages [2023-04-17T20:17:16.912Z] Removing intermediate container 66d3b5b334b8 [2023-04-17T20:17:16.912Z] ---> dc6ed8c7069d [2023-04-17T20:17:16.912Z] Step 6/10 : WORKDIR /device-modbus-go [2023-04-17T20:17:16.912Z] ---> Running in c64714b161ea [2023-04-17T20:17:16.912Z] Removing intermediate container c64714b161ea [2023-04-17T20:17:16.912Z] ---> 55a166b04634 [2023-04-17T20:17:16.912Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-17T20:17:17.171Z] ---> 53f8418f38e0 [2023-04-17T20:17:17.171Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T20:17:17.171Z] ---> Running in c964bb279763 [2023-04-17T20:17:20.622Z] Still waiting to schedule task [2023-04-17T20:17:20.622Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-17T20:17:39.113Z] Removing intermediate container c964bb279763 [2023-04-17T20:17:39.113Z] ---> 56b3a1fd4a60 [2023-04-17T20:17:39.113Z] Step 9/10 : COPY . . [2023-04-17T20:17:39.113Z] ---> e8ee740e649b [2023-04-17T20:17:39.113Z] Step 10/10 : RUN ${MAKE} [2023-04-17T20:17:39.113Z] ---> Running in c1773f4e7e5d [2023-04-17T20:17:39.113Z] noop [2023-04-17T20:17:39.113Z] Removing intermediate container c1773f4e7e5d [2023-04-17T20:17:39.113Z] ---> 0f1c91d59a30 [2023-04-17T20:17:39.113Z] Successfully built 0f1c91d59a30 [2023-04-17T20:17:39.113Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:17:39.424Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T20:17:39.424Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:17:39.494Z] prd-ubuntu20.04-docker-8c-8g-8776 does not seem to be running inside a container [2023-04-17T20:17:39.525Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-17T20:17:39.860Z] $ docker top 631f10ce41816223731d7580cf67ca1f204417e28e007393097597d968705cf3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T20:17:40.189Z] + go version [2023-04-17T20:17:40.189Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-17T20:17:40.204Z] $ docker stop --time=1 631f10ce41816223731d7580cf67ca1f204417e28e007393097597d968705cf3 [2023-04-17T20:17:41.451Z] $ docker rm -f --volumes 631f10ce41816223731d7580cf67ca1f204417e28e007393097597d968705cf3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:17:41.827Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T20:17:41.827Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:17:41.895Z] prd-ubuntu20.04-docker-8c-8g-8776 does not seem to be running inside a container [2023-04-17T20:17:41.926Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-17T20:17:42.221Z] $ docker top 727c4729b0734719ed362dd56ccafcc0b7f65475879a9663dc599c1ea66ec568 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T20:17:42.550Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-04-17T20:17:42.839Z] + make test [2023-04-17T20:17:42.839Z] go test ./... -coverprofile=coverage.out [2023-04-17T20:17:47.500Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-04-17T20:17:55.598Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-04-17T20:17:55.598Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.5% of statements [2023-04-17T20:18:01.296Z] go vet ./... [2023-04-17T20:18:04.572Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-17T20:18:04.572Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-17T20:18:04.572Z] ./bin/test-attribution-txt.sh [2023-04-17T20:18:04.572Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-17T20:18:04.583Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-17T20:18:04.597Z] $ docker stop --time=1 727c4729b0734719ed362dd56ccafcc0b7f65475879a9663dc599c1ea66ec568 [2023-04-17T20:18:06.372Z] $ docker rm -f --volumes 727c4729b0734719ed362dd56ccafcc0b7f65475879a9663dc599c1ea66ec568 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T20:18:06.814Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-17T20:18:06.860Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-17T20:18:07.278Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-17T20:18:07.559Z] + ls -al . [2023-04-17T20:18:07.559Z] total 180 [2023-04-17T20:18:07.559Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 20:17 . [2023-04-17T20:18:07.559Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:16 .. [2023-04-17T20:18:07.559Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 17 20:16 .dockerignore [2023-04-17T20:18:07.559Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 20:17 .git [2023-04-17T20:18:07.559Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:16 .github [2023-04-17T20:18:07.559Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 17 20:16 .gitignore [2023-04-17T20:18:07.559Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 20:16 .golangci.yml [2023-04-17T20:18:07.559Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 20:17 .semver [2023-04-17T20:18:07.559Z] -rw-rw-r-- 1 jenkins jenkins 10004 Apr 17 20:16 Attribution.txt [2023-04-17T20:18:07.559Z] -rw-rw-r-- 1 jenkins jenkins 11576 Apr 17 20:16 CHANGELOG.md [2023-04-17T20:18:07.559Z] -rw-rw-r-- 1 jenkins jenkins 1365 Apr 17 20:16 Dockerfile [2023-04-17T20:18:07.559Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 20:16 GOVERNANCE.md [2023-04-17T20:18:07.559Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 17 20:16 Jenkinsfile [2023-04-17T20:18:07.559Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 20:16 LICENSE [2023-04-17T20:18:07.559Z] -rw-rw-r-- 1 jenkins jenkins 1705 Apr 17 20:16 Makefile [2023-04-17T20:18:07.559Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 17 20:16 OWNERS.md [2023-04-17T20:18:07.559Z] -rw-rw-r-- 1 jenkins jenkins 4045 Apr 17 20:16 README.md [2023-04-17T20:18:07.559Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 17 20:17 VERSION [2023-04-17T20:18:07.559Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 20:16 bin [2023-04-17T20:18:07.559Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:16 cmd [2023-04-17T20:18:07.559Z] -rw-r--r-- 1 jenkins jenkins 24076 Apr 17 20:17 coverage.out [2023-04-17T20:18:07.559Z] -rw-rw-r-- 1 jenkins jenkins 3453 Apr 17 20:16 go.mod [2023-04-17T20:18:07.559Z] -rw-rw-r-- 1 jenkins jenkins 31895 Apr 17 20:16 go.sum [2023-04-17T20:18:07.559Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:16 internal [2023-04-17T20:18:07.559Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 20:16 simulator [2023-04-17T20:18:07.559Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:16 snap [2023-04-17T20:18:07.559Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 17 20:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:18:07.864Z] + 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=640aa887e9955506bed08a06d24af596cf944b9d --label arch=amd64 --label version=3.0.0-dev.27 . [2023-04-17T20:18:07.864Z] Sending build context to Docker daemon 6.454MB [2023-04-17T20:18:07.864Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T20:18:07.864Z] Step 2/22 : FROM ${BASE} AS builder [2023-04-17T20:18:07.864Z] ---> 0f1c91d59a30 [2023-04-17T20:18:07.864Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-04-17T20:18:07.864Z] ---> Running in 0c3087e0f07e [2023-04-17T20:18:07.864Z] Removing intermediate container 0c3087e0f07e [2023-04-17T20:18:07.864Z] ---> 53192e8071e7 [2023-04-17T20:18:07.864Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T20:18:07.864Z] ---> Running in 00813ebb8101 [2023-04-17T20:18:08.122Z] Removing intermediate container 00813ebb8101 [2023-04-17T20:18:08.122Z] ---> 6e30b17c22be [2023-04-17T20:18:08.122Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-04-17T20:18:08.122Z] ---> Running in d5a1fae45e9c [2023-04-17T20:18:08.380Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T20:18:08.380Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T20:18:08.639Z] OK: 270 MiB in 61 packages [2023-04-17T20:18:08.896Z] Removing intermediate container d5a1fae45e9c [2023-04-17T20:18:08.896Z] ---> 3522cd4b3b3d [2023-04-17T20:18:08.896Z] Step 6/22 : WORKDIR /device-modbus-go [2023-04-17T20:18:08.896Z] ---> Running in 444ce6761ea5 [2023-04-17T20:18:09.154Z] Removing intermediate container 444ce6761ea5 [2023-04-17T20:18:09.154Z] ---> 1c3941fb7ea0 [2023-04-17T20:18:09.154Z] Step 7/22 : COPY go.mod vendor* ./ [2023-04-17T20:18:09.154Z] ---> a9a1b4b4cfe8 [2023-04-17T20:18:09.154Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T20:18:09.154Z] ---> Running in 825cc0560523 [2023-04-17T20:18:10.151Z] Removing intermediate container 825cc0560523 [2023-04-17T20:18:10.151Z] ---> 5837f8fc2452 [2023-04-17T20:18:10.151Z] Step 9/22 : COPY . . [2023-04-17T20:18:10.151Z] ---> 38172be732a7 [2023-04-17T20:18:10.151Z] Step 10/22 : RUN ${MAKE} [2023-04-17T20:18:10.151Z] ---> Running in 35efc6df5e72 [2023-04-17T20:18:10.425Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.27" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-04-17T20:18:28.542Z] Removing intermediate container 35efc6df5e72 [2023-04-17T20:18:28.542Z] ---> 7a139b659bdd [2023-04-17T20:18:28.542Z] Step 11/22 : FROM alpine:3.17 [2023-04-17T20:18:28.542Z] 3.17: Pulling from library/alpine [2023-04-17T20:18:28.542Z] f56be85fc22e: Pulling fs layer [2023-04-17T20:18:28.542Z] f56be85fc22e: Verifying Checksum [2023-04-17T20:18:28.542Z] f56be85fc22e: Download complete [2023-04-17T20:18:28.542Z] f56be85fc22e: Pull complete [2023-04-17T20:18:28.542Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-17T20:18:28.542Z] Status: Downloaded newer image for alpine:3.17 [2023-04-17T20:18:28.542Z] ---> 9ed4aefc74f6 [2023-04-17T20:18:28.542Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-04-17T20:18:28.542Z] ---> Running in 48dc991c8e9f [2023-04-17T20:18:28.542Z] Removing intermediate container 48dc991c8e9f [2023-04-17T20:18:28.542Z] ---> 547532a07b33 [2023-04-17T20:18:28.542Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-04-17T20:18:28.542Z] ---> Running in 370d0665adcd [2023-04-17T20:18:28.542Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T20:18:28.542Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T20:18:28.542Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-17T20:18:28.542Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T20:18:28.542Z] OK: 7 MiB in 16 packages [2023-04-17T20:18:28.542Z] Removing intermediate container 370d0665adcd [2023-04-17T20:18:28.542Z] ---> 70f2db42c5bc [2023-04-17T20:18:28.542Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-04-17T20:18:28.542Z] ---> 9194bc3090b7 [2023-04-17T20:18:28.542Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-04-17T20:18:28.542Z] ---> bc936ce28ac7 [2023-04-17T20:18:28.542Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-04-17T20:18:28.542Z] ---> df53fe926838 [2023-04-17T20:18:28.542Z] Step 17/22 : EXPOSE 59901 [2023-04-17T20:18:28.542Z] ---> Running in 2033b5868f40 [2023-04-17T20:18:28.542Z] Removing intermediate container 2033b5868f40 [2023-04-17T20:18:28.542Z] ---> 7db219596438 [2023-04-17T20:18:28.542Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-04-17T20:18:28.542Z] ---> Running in e48b68519762 [2023-04-17T20:18:28.542Z] Removing intermediate container e48b68519762 [2023-04-17T20:18:28.542Z] ---> e3402afd023c [2023-04-17T20:18:28.542Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-17T20:18:28.542Z] ---> Running in 8c4d6f4ea063 [2023-04-17T20:18:28.800Z] Removing intermediate container 8c4d6f4ea063 [2023-04-17T20:18:28.800Z] ---> bfaf8a581750 [2023-04-17T20:18:28.800Z] Step 20/22 : LABEL arch=amd64 [2023-04-17T20:18:28.800Z] ---> Running in e5d9b25eec02 [2023-04-17T20:18:28.800Z] Removing intermediate container e5d9b25eec02 [2023-04-17T20:18:28.800Z] ---> d8daba89b4bf [2023-04-17T20:18:28.800Z] Step 21/22 : LABEL git_sha=640aa887e9955506bed08a06d24af596cf944b9d [2023-04-17T20:18:28.800Z] ---> Running in 25ccf02f19e8 [2023-04-17T20:18:28.800Z] Removing intermediate container 25ccf02f19e8 [2023-04-17T20:18:28.800Z] ---> 7709c521a3a5 [2023-04-17T20:18:28.800Z] Step 22/22 : LABEL version=3.0.0-dev.27 [2023-04-17T20:18:29.060Z] ---> Running in 3dff58109060 [2023-04-17T20:18:29.060Z] Removing intermediate container 3dff58109060 [2023-04-17T20:18:29.060Z] ---> 00e643fc4d7c [2023-04-17T20:18:29.060Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-17T20:18:29.060Z] Successfully built 00e643fc4d7c [2023-04-17T20:18:29.060Z] 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-17T20:18:29.164Z] provisioning config files... [2023-04-17T20:18:29.171Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12780980465714697725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:18:29.464Z] ---> docker-login.sh [2023-04-17T20:18:29.464Z] nexus3.edgexfoundry.org:10001 [2023-04-17T20:18:29.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:18:29.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:18:29.465Z] Configure a credential helper to remove this warning. See [2023-04-17T20:18:29.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:18:29.465Z] [2023-04-17T20:18:29.465Z] Login Succeeded [2023-04-17T20:18:29.465Z] nexus3.edgexfoundry.org:10002 [2023-04-17T20:18:29.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:18:29.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:18:29.465Z] Configure a credential helper to remove this warning. See [2023-04-17T20:18:29.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:18:29.465Z] [2023-04-17T20:18:29.465Z] Login Succeeded [2023-04-17T20:18:29.465Z] nexus3.edgexfoundry.org:10003 [2023-04-17T20:18:29.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:18:29.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:18:29.723Z] Configure a credential helper to remove this warning. See [2023-04-17T20:18:29.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:18:29.723Z] [2023-04-17T20:18:29.723Z] Login Succeeded [2023-04-17T20:18:29.723Z] nexus3.edgexfoundry.org:10004 [2023-04-17T20:18:29.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:18:29.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:18:29.723Z] Configure a credential helper to remove this warning. See [2023-04-17T20:18:29.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:18:29.723Z] [2023-04-17T20:18:29.723Z] Login Succeeded [2023-04-17T20:18:29.723Z] docker.io [2023-04-17T20:18:29.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:18:29.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:18:29.981Z] Configure a credential helper to remove this warning. See [2023-04-17T20:18:29.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:18:29.981Z] [2023-04-17T20:18:29.981Z] Login Succeeded [2023-04-17T20:18:29.981Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T20:18:29.989Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-17T20:18:30.021Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T20:18:30.042Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-04-17T20:18:30.042Z] 640aa887e9955506bed08a06d24af596cf944b9d [2023-04-17T20:18:30.042Z] latest [2023-04-17T20:18:30.042Z] 3.0.0-dev.27 [2023-04-17T20:18:30.042Z] 640aa887e9955506bed08a06d24af596cf944b9d-3.0.0-dev.27 [2023-04-17T20:18:30.042Z] main [2023-04-17T20:18:30.042Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:18:30.366Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:640aa887e9955506bed08a06d24af596cf944b9d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:18:30.686Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:640aa887e9955506bed08a06d24af596cf944b9d [2023-04-17T20:18:30.686Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-04-17T20:18:30.686Z] 7fbb350012dc: Preparing [2023-04-17T20:18:30.686Z] b63db364d7c9: Preparing [2023-04-17T20:18:30.686Z] 05e2b539db79: Preparing [2023-04-17T20:18:30.686Z] 6b88bbc1673f: Preparing [2023-04-17T20:18:30.686Z] f1417ff83b31: Preparing [2023-04-17T20:18:30.686Z] f1417ff83b31: Layer already exists [2023-04-17T20:18:30.686Z] b63db364d7c9: Pushed [2023-04-17T20:18:30.686Z] 7fbb350012dc: Pushed [2023-04-17T20:18:30.686Z] 6b88bbc1673f: Pushed [2023-04-17T20:18:33.225Z] 05e2b539db79: Pushed [2023-04-17T20:18:33.225Z] 640aa887e9955506bed08a06d24af596cf944b9d: digest: sha256:5c2233323d097ab6f7048017160d2825658eac297e7bb8727e66374248c76ad1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:18:33.547Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:18:33.859Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-04-17T20:18:33.859Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-04-17T20:18:33.859Z] 7fbb350012dc: Preparing [2023-04-17T20:18:33.859Z] b63db364d7c9: Preparing [2023-04-17T20:18:33.859Z] 05e2b539db79: Preparing [2023-04-17T20:18:33.859Z] 6b88bbc1673f: Preparing [2023-04-17T20:18:33.859Z] f1417ff83b31: Preparing [2023-04-17T20:18:33.859Z] 6b88bbc1673f: Layer already exists [2023-04-17T20:18:33.859Z] 05e2b539db79: Layer already exists [2023-04-17T20:18:33.859Z] f1417ff83b31: Layer already exists [2023-04-17T20:18:33.859Z] 7fbb350012dc: Layer already exists [2023-04-17T20:18:33.859Z] b63db364d7c9: Layer already exists [2023-04-17T20:18:33.859Z] latest: digest: sha256:5c2233323d097ab6f7048017160d2825658eac297e7bb8727e66374248c76ad1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:18:34.185Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:18:34.489Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.27 [2023-04-17T20:18:34.489Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-04-17T20:18:34.489Z] 7fbb350012dc: Preparing [2023-04-17T20:18:34.489Z] b63db364d7c9: Preparing [2023-04-17T20:18:34.489Z] 05e2b539db79: Preparing [2023-04-17T20:18:34.489Z] 6b88bbc1673f: Preparing [2023-04-17T20:18:34.489Z] f1417ff83b31: Preparing [2023-04-17T20:18:34.489Z] f1417ff83b31: Layer already exists [2023-04-17T20:18:34.489Z] b63db364d7c9: Layer already exists [2023-04-17T20:18:34.489Z] 05e2b539db79: Layer already exists [2023-04-17T20:18:34.489Z] 7fbb350012dc: Layer already exists [2023-04-17T20:18:34.489Z] 6b88bbc1673f: Layer already exists [2023-04-17T20:18:34.489Z] 3.0.0-dev.27: digest: sha256:5c2233323d097ab6f7048017160d2825658eac297e7bb8727e66374248c76ad1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:18:34.800Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:640aa887e9955506bed08a06d24af596cf944b9d-3.0.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:18:35.101Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:640aa887e9955506bed08a06d24af596cf944b9d-3.0.0-dev.27 [2023-04-17T20:18:35.101Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-04-17T20:18:35.101Z] 7fbb350012dc: Preparing [2023-04-17T20:18:35.101Z] b63db364d7c9: Preparing [2023-04-17T20:18:35.101Z] 05e2b539db79: Preparing [2023-04-17T20:18:35.101Z] 6b88bbc1673f: Preparing [2023-04-17T20:18:35.101Z] f1417ff83b31: Preparing [2023-04-17T20:18:35.101Z] f1417ff83b31: Layer already exists [2023-04-17T20:18:35.101Z] b63db364d7c9: Layer already exists [2023-04-17T20:18:35.101Z] 6b88bbc1673f: Layer already exists [2023-04-17T20:18:35.101Z] 05e2b539db79: Layer already exists [2023-04-17T20:18:35.101Z] 7fbb350012dc: Layer already exists [2023-04-17T20:18:35.101Z] 640aa887e9955506bed08a06d24af596cf944b9d-3.0.0-dev.27: digest: sha256:5c2233323d097ab6f7048017160d2825658eac297e7bb8727e66374248c76ad1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:18:35.411Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:18:35.715Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-04-17T20:18:35.715Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-04-17T20:18:35.715Z] 7fbb350012dc: Preparing [2023-04-17T20:18:35.715Z] b63db364d7c9: Preparing [2023-04-17T20:18:35.715Z] 05e2b539db79: Preparing [2023-04-17T20:18:35.715Z] 6b88bbc1673f: Preparing [2023-04-17T20:18:35.715Z] f1417ff83b31: Preparing [2023-04-17T20:18:35.715Z] f1417ff83b31: Layer already exists [2023-04-17T20:18:35.715Z] b63db364d7c9: Layer already exists [2023-04-17T20:18:35.715Z] 7fbb350012dc: Layer already exists [2023-04-17T20:18:35.715Z] 05e2b539db79: Layer already exists [2023-04-17T20:18:35.715Z] 6b88bbc1673f: Layer already exists [2023-04-17T20:18:35.715Z] main: digest: sha256:5c2233323d097ab6f7048017160d2825658eac297e7bb8727e66374248c76ad1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-17T20:18:35.751Z] ===================================================== [Pipeline] echo [2023-04-17T20:18:35.756Z] taggedImages: [2023-04-17T20:18:35.756Z] - nexus3.edgexfoundry.org:10004/device-modbus:640aa887e9955506bed08a06d24af596cf944b9d [2023-04-17T20:18:35.756Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-04-17T20:18:35.756Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.27 [2023-04-17T20:18:35.756Z] - nexus3.edgexfoundry.org:10004/device-modbus:640aa887e9955506bed08a06d24af596cf944b9d-3.0.0-dev.27 [2023-04-17T20:18:35.756Z] - 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-17T20:18:36.110Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T20:18:36.111Z] [2023-04-17T20:18:36.111Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:18:36.412Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T20:18:36.412Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-17T20:18:36.412Z] 5eb5b503b376: Pulling fs layer [2023-04-17T20:18:36.412Z] 5c69ac0246d0: Pulling fs layer [2023-04-17T20:18:36.412Z] ec43610c2a17: Pulling fs layer [2023-04-17T20:18:36.412Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-17T20:18:36.412Z] 33b1e0a273af: Pulling fs layer [2023-04-17T20:18:36.412Z] 5d3b04190fa2: Pulling fs layer [2023-04-17T20:18:36.412Z] 2f39f015ded8: Pulling fs layer [2023-04-17T20:18:36.412Z] 3a2ae6a8a46f: Waiting [2023-04-17T20:18:36.412Z] 33b1e0a273af: Waiting [2023-04-17T20:18:36.412Z] 5d3b04190fa2: Waiting [2023-04-17T20:18:36.412Z] 5c69ac0246d0: Download complete [2023-04-17T20:18:36.412Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-17T20:18:36.412Z] 3a2ae6a8a46f: Download complete [2023-04-17T20:18:36.412Z] 33b1e0a273af: Verifying Checksum [2023-04-17T20:18:36.412Z] 33b1e0a273af: Download complete [2023-04-17T20:18:36.412Z] ec43610c2a17: Verifying Checksum [2023-04-17T20:18:36.412Z] ec43610c2a17: Download complete [2023-04-17T20:18:36.412Z] 5d3b04190fa2: Verifying Checksum [2023-04-17T20:18:36.412Z] 5d3b04190fa2: Download complete [2023-04-17T20:18:36.672Z] 5eb5b503b376: Verifying Checksum [2023-04-17T20:18:36.672Z] 5eb5b503b376: Download complete [2023-04-17T20:18:37.243Z] 2f39f015ded8: Download complete [2023-04-17T20:18:37.808Z] 5eb5b503b376: Pull complete [2023-04-17T20:18:37.808Z] 5c69ac0246d0: Pull complete [2023-04-17T20:18:38.067Z] ec43610c2a17: Pull complete [2023-04-17T20:18:38.326Z] 3a2ae6a8a46f: Pull complete [2023-04-17T20:18:38.326Z] 33b1e0a273af: Pull complete [2023-04-17T20:18:38.584Z] 5d3b04190fa2: Pull complete [2023-04-17T20:18:42.762Z] 2f39f015ded8: Pull complete [2023-04-17T20:18:42.762Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-17T20:18:42.762Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T20:18:42.762Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:18:42.849Z] prd-ubuntu20.04-docker-8c-8g-8776 does not seem to be running inside a container [2023-04-17T20:18:42.884Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-17T20:18:44.060Z] $ docker top 2b7b90d0585d4ff7dd6c1ff530dfc6baac465c67178543b210b99f382fe61cb7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:18:44.430Z] ---> job-cost.sh [2023-04-17T20:18:44.431Z] lf-activate-venv: SKIPPING [2023-04-17T20:18:44.431Z] INFO: No Stack... [2023-04-17T20:18:44.688Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T20:18:45.289Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T20:18:45.722Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-04-17T20:18:45.722Z] + cut -d, -f6 [Pipeline] lock [2023-04-17T20:18:45.735Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-93-stack-cost] [2023-04-17T20:18:45.741Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-93-stack-cost] did not exist. Created. [2023-04-17T20:18:45.741Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-93-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T20:18:46.042Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-17T20:18:46.071Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T20:18:46.077Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-93-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T20:18:46.098Z] $ docker stop --time=1 2b7b90d0585d4ff7dd6c1ff530dfc6baac465c67178543b210b99f382fe61cb7 [2023-04-17T20:18:47.229Z] $ docker rm -f --volumes 2b7b90d0585d4ff7dd6c1ff530dfc6baac465c67178543b210b99f382fe61cb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-17T20:20:36.148Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8780 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-04-17T20:20:36.160Z] Running in /w/workspace/device-modbus-go/93 [Pipeline] { [Pipeline] checkout [2023-04-17T20:20:36.202Z] Selected Git installation does not exist. Using Default [2023-04-17T20:20:36.202Z] The recommended git tool is: NONE [2023-04-17T20:20:43.701Z] using credential edgex-jenkins-ssh [2023-04-17T20:20:43.731Z] Cloning the remote Git repository [2023-04-17T20:20:43.809Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-04-17T20:20:43.962Z] > git init /w/workspace/device-modbus-go/93 # timeout=10 [2023-04-17T20:20:44.175Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-04-17T20:20:44.177Z] > git --version # timeout=10 [2023-04-17T20:20:44.206Z] > git --version # 'git version 2.25.1' [2023-04-17T20:20:44.211Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T20:20:44.439Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T20:20:45.757Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-04-17T20:20:45.786Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T20:20:47.009Z] Avoid second fetch [2023-04-17T20:20:47.010Z] Checking out Revision 640aa887e9955506bed08a06d24af596cf944b9d (main) [2023-04-17T20:20:47.817Z] Commit message: "refactor: Set ProfilesDir & DevicesDir to empty string (#456)" [2023-04-17T20:20:47.039Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T20:20:47.132Z] > git checkout -f 640aa887e9955506bed08a06d24af596cf944b9d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T20:20:48.761Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-17T20:20:48.761Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T20:20:48.761Z] Dload Upload Total Spent Left Speed [2023-04-17T20:20:48.761Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 163k 0 --:--:-- --:--:-- --:--:-- 166k [Pipeline] sh [2023-04-17T20:20:49.538Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-17T20:20:49.895Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2023-04-17T20:20:49.895Z] [2023-04-17T20:20:49.895Z] { [2023-04-17T20:20:49.895Z] "registry-mirrors": [ [2023-04-17T20:20:49.895Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-17T20:20:49.895Z] ], [2023-04-17T20:20:49.895Z] "bip": "10.250.0.254/24", [2023-04-17T20:20:49.895Z] "hosts": [ [2023-04-17T20:20:49.895Z] "tcp://0.0.0.0:5555", [2023-04-17T20:20:49.895Z] "unix:///var/run/docker.sock" [2023-04-17T20:20:49.895Z] ], [2023-04-17T20:20:49.895Z] "mtu": 1458, [2023-04-17T20:20:49.895Z] "selinux-enabled": true, [2023-04-17T20:20:49.895Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-17T20:20:49.895Z] } [Pipeline] sh [2023-04-17T20:20:50.253Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-17T20:20:50.606Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T20:21:08.945Z] provisioning config files... [2023-04-17T20:21:08.980Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/93@tmp/config12971193483240260325tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:21:09.359Z] ---> docker-login.sh [2023-04-17T20:21:09.359Z] nexus3.edgexfoundry.org:10001 [2023-04-17T20:21:09.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:21:10.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:21:10.232Z] Configure a credential helper to remove this warning. See [2023-04-17T20:21:10.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:21:10.232Z] [2023-04-17T20:21:10.232Z] Login Succeeded [2023-04-17T20:21:10.232Z] nexus3.edgexfoundry.org:10002 [2023-04-17T20:21:10.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:21:10.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:21:10.508Z] Configure a credential helper to remove this warning. See [2023-04-17T20:21:10.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:21:10.508Z] [2023-04-17T20:21:10.508Z] Login Succeeded [2023-04-17T20:21:10.508Z] nexus3.edgexfoundry.org:10003 [2023-04-17T20:21:11.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:21:11.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:21:11.117Z] Configure a credential helper to remove this warning. See [2023-04-17T20:21:11.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:21:11.117Z] [2023-04-17T20:21:11.117Z] Login Succeeded [2023-04-17T20:21:11.117Z] nexus3.edgexfoundry.org:10004 [2023-04-17T20:21:11.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:21:11.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:21:11.676Z] Configure a credential helper to remove this warning. See [2023-04-17T20:21:11.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:21:11.676Z] [2023-04-17T20:21:11.676Z] Login Succeeded [2023-04-17T20:21:11.676Z] docker.io [2023-04-17T20:21:11.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:21:12.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:21:12.226Z] Configure a credential helper to remove this warning. See [2023-04-17T20:21:12.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:21:12.226Z] [2023-04-17T20:21:12.226Z] Login Succeeded [2023-04-17T20:21:12.226Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T20:21:12.243Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T20:21:12.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T20:21:12.625Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T20:21:12.639Z] ========================================================= [2023-04-17T20:21:12.639Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-17T20:21:12.639Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:21:13.012Z] + 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-17T20:21:13.284Z] Sending build context to Docker daemon 3.358MB [2023-04-17T20:21:13.284Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T20:21:13.284Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-17T20:21:13.562Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-17T20:21:13.562Z] af6eaf76a39c: Pulling fs layer [2023-04-17T20:21:13.562Z] 55522c791124: Pulling fs layer [2023-04-17T20:21:13.562Z] ce5c4a1c91eb: Pulling fs layer [2023-04-17T20:21:13.562Z] 169dfbe0d373: Pulling fs layer [2023-04-17T20:21:13.562Z] e1ff8fa3b103: Pulling fs layer [2023-04-17T20:21:13.562Z] 52ebb69f0ebf: Pulling fs layer [2023-04-17T20:21:13.562Z] 5abe8eddf0d5: Pulling fs layer [2023-04-17T20:21:13.562Z] e1ff8fa3b103: Waiting [2023-04-17T20:21:13.562Z] 52ebb69f0ebf: Waiting [2023-04-17T20:21:13.562Z] 5abe8eddf0d5: Waiting [2023-04-17T20:21:13.562Z] 169dfbe0d373: Waiting [2023-04-17T20:21:13.562Z] 55522c791124: Download complete [2023-04-17T20:21:13.562Z] 169dfbe0d373: Verifying Checksum [2023-04-17T20:21:13.562Z] 169dfbe0d373: Download complete [2023-04-17T20:21:13.835Z] e1ff8fa3b103: Verifying Checksum [2023-04-17T20:21:13.835Z] e1ff8fa3b103: Download complete [2023-04-17T20:21:13.835Z] af6eaf76a39c: Verifying Checksum [2023-04-17T20:21:15.284Z] 5abe8eddf0d5: Verifying Checksum [2023-04-17T20:21:15.284Z] 5abe8eddf0d5: Download complete [2023-04-17T20:21:15.284Z] af6eaf76a39c: Pull complete [2023-04-17T20:21:15.884Z] 55522c791124: Pull complete [2023-04-17T20:21:16.867Z] ce5c4a1c91eb: Verifying Checksum [2023-04-17T20:21:16.867Z] ce5c4a1c91eb: Download complete [2023-04-17T20:21:16.867Z] 52ebb69f0ebf: Verifying Checksum [2023-04-17T20:21:16.867Z] 52ebb69f0ebf: Download complete [2023-04-17T20:21:29.245Z] ce5c4a1c91eb: Pull complete [2023-04-17T20:21:29.245Z] 169dfbe0d373: Pull complete [2023-04-17T20:21:29.245Z] e1ff8fa3b103: Pull complete [2023-04-17T20:21:34.651Z] 52ebb69f0ebf: Pull complete [2023-04-17T20:21:36.629Z] 5abe8eddf0d5: Pull complete [2023-04-17T20:21:36.629Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-17T20:21:36.629Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-17T20:21:36.629Z] ---> 6cb57ee374ae [2023-04-17T20:21:36.629Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-04-17T20:21:38.631Z] ---> Running in edf0840d1b63 [2023-04-17T20:21:39.235Z] Removing intermediate container edf0840d1b63 [2023-04-17T20:21:39.235Z] ---> 4d39f1bbbba7 [2023-04-17T20:21:39.235Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T20:21:39.235Z] ---> Running in b18a0a862028 [2023-04-17T20:21:39.507Z] Removing intermediate container b18a0a862028 [2023-04-17T20:21:39.507Z] ---> 557b7cac7c53 [2023-04-17T20:21:39.507Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-04-17T20:21:39.780Z] ---> Running in 01918cbfec81 [2023-04-17T20:21:41.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T20:21:41.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T20:21:43.846Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-04-17T20:21:43.846Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-04-17T20:21:43.846Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-04-17T20:21:43.846Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-04-17T20:21:43.846Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-04-17T20:21:43.846Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-04-17T20:21:43.846Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-04-17T20:21:43.846Z] (8/8) Installing openssh (9.1_p1-r2) [2023-04-17T20:21:43.846Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T20:21:43.846Z] OK: 270 MiB in 61 packages [2023-04-17T20:21:45.298Z] Removing intermediate container 01918cbfec81 [2023-04-17T20:21:45.298Z] ---> 06654062c225 [2023-04-17T20:21:45.298Z] Step 6/10 : WORKDIR /device-modbus-go [2023-04-17T20:21:45.298Z] ---> Running in 552fa0228dd0 [2023-04-17T20:21:45.571Z] Removing intermediate container 552fa0228dd0 [2023-04-17T20:21:45.571Z] ---> d08682a1e950 [2023-04-17T20:21:45.571Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-17T20:21:46.164Z] ---> 3d50706c97e6 [2023-04-17T20:21:46.164Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T20:21:46.758Z] ---> Running in 699a03a9b319 [2023-04-17T20:23:08.508Z] Removing intermediate container 699a03a9b319 [2023-04-17T20:23:08.508Z] ---> 0a20878248d1 [2023-04-17T20:23:08.508Z] Step 9/10 : COPY . . [2023-04-17T20:23:08.508Z] ---> 02d8563cf857 [2023-04-17T20:23:08.508Z] Step 10/10 : RUN ${MAKE} [2023-04-17T20:23:08.508Z] ---> Running in fe611da5aa46 [2023-04-17T20:23:08.508Z] noop [2023-04-17T20:23:08.508Z] Removing intermediate container fe611da5aa46 [2023-04-17T20:23:08.508Z] ---> 5b638f7b8779 [2023-04-17T20:23:08.508Z] Successfully built 5b638f7b8779 [2023-04-17T20:23:08.508Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:23:08.868Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T20:23:08.868Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:23:09.113Z] prd-ubuntu20.04-docker-arm64-4c-16g-8780 does not seem to be running inside a container [2023-04-17T20:23:09.207Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/93 -v /w/workspace/device-modbus-go/93:/w/workspace/device-modbus-go/93:rw,z -v /w/workspace/device-modbus-go/93@tmp:/w/workspace/device-modbus-go/93@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-17T20:23:10.649Z] $ docker top 116a5273492708db987ab494628667cb94c99d4195b0ee419a6a9f0e49b4d83d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T20:23:11.578Z] + go version [2023-04-17T20:23:11.578Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-17T20:23:11.609Z] $ docker stop --time=1 116a5273492708db987ab494628667cb94c99d4195b0ee419a6a9f0e49b4d83d [2023-04-17T20:23:13.307Z] $ docker rm -f --volumes 116a5273492708db987ab494628667cb94c99d4195b0ee419a6a9f0e49b4d83d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:23:13.864Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T20:23:13.864Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:23:14.064Z] prd-ubuntu20.04-docker-arm64-4c-16g-8780 does not seem to be running inside a container [2023-04-17T20:23:14.151Z] $ 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/93 -v /w/workspace/device-modbus-go/93:/w/workspace/device-modbus-go/93:rw,z -v /w/workspace/device-modbus-go/93@tmp:/w/workspace/device-modbus-go/93@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-17T20:23:15.474Z] $ docker top 1f94515041f7dedc6350db5c64d305fd1836acf653182e24d9fe33416a0f9fd5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T20:23:16.337Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/93 [Pipeline] fileExists [Pipeline] sh [2023-04-17T20:23:17.005Z] + make test [2023-04-17T20:23:17.005Z] go test ./... -coverprofile=coverage.out [2023-04-17T20:23:55.962Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-04-17T20:26:47.765Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-04-17T20:26:47.765Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.077s coverage: 47.5% of statements [2023-04-17T20:26:47.765Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-17T20:26:47.765Z] go vet ./... [2023-04-17T20:27:14.524Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-17T20:27:14.524Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-17T20:27:14.524Z] ./bin/test-attribution-txt.sh [2023-04-17T20:27:14.524Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-17T20:27:14.542Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-17T20:27:14.558Z] $ docker stop --time=1 1f94515041f7dedc6350db5c64d305fd1836acf653182e24d9fe33416a0f9fd5 [2023-04-17T20:27:16.532Z] $ docker rm -f --volumes 1f94515041f7dedc6350db5c64d305fd1836acf653182e24d9fe33416a0f9fd5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T20:27:17.742Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-17T20:27:17.763Z] Warning: overwriting stash ‘coverage-report’ [2023-04-17T20:27:18.296Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T20:27:18.683Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-17T20:27:19.019Z] + ls -al . [2023-04-17T20:27:19.019Z] total 176 [2023-04-17T20:27:19.019Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 17 20:23 . [2023-04-17T20:27:19.019Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:20 .. [2023-04-17T20:27:19.019Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 17 20:20 .dockerignore [2023-04-17T20:27:19.019Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 20:20 .git [2023-04-17T20:27:19.019Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:20 .github [2023-04-17T20:27:19.019Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 17 20:20 .gitignore [2023-04-17T20:27:19.019Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 20:20 .golangci.yml [2023-04-17T20:27:19.019Z] -rw-rw-r-- 1 jenkins jenkins 10004 Apr 17 20:20 Attribution.txt [2023-04-17T20:27:19.019Z] -rw-rw-r-- 1 jenkins jenkins 11576 Apr 17 20:20 CHANGELOG.md [2023-04-17T20:27:19.019Z] -rw-rw-r-- 1 jenkins jenkins 1365 Apr 17 20:20 Dockerfile [2023-04-17T20:27:19.019Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 20:20 GOVERNANCE.md [2023-04-17T20:27:19.019Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 17 20:20 Jenkinsfile [2023-04-17T20:27:19.019Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 20:20 LICENSE [2023-04-17T20:27:19.019Z] -rw-rw-r-- 1 jenkins jenkins 1705 Apr 17 20:20 Makefile [2023-04-17T20:27:19.019Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 17 20:20 OWNERS.md [2023-04-17T20:27:19.019Z] -rw-rw-r-- 1 jenkins jenkins 4045 Apr 17 20:20 README.md [2023-04-17T20:27:19.019Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 17 20:17 VERSION [2023-04-17T20:27:19.019Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 20:20 bin [2023-04-17T20:27:19.019Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:20 cmd [2023-04-17T20:27:19.019Z] -rw-r--r-- 1 jenkins jenkins 24076 Apr 17 20:26 coverage.out [2023-04-17T20:27:19.019Z] -rw-rw-r-- 1 jenkins jenkins 3453 Apr 17 20:20 go.mod [2023-04-17T20:27:19.019Z] -rw-rw-r-- 1 jenkins jenkins 31895 Apr 17 20:20 go.sum [2023-04-17T20:27:19.019Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:20 internal [2023-04-17T20:27:19.019Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 20:20 simulator [2023-04-17T20:27:19.019Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:20 snap [2023-04-17T20:27:19.019Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 17 20:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:27:19.368Z] + 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=640aa887e9955506bed08a06d24af596cf944b9d --label arch=arm64 --label version=3.0.0-dev.27 . [2023-04-17T20:27:19.647Z] Sending build context to Docker daemon 3.383MB [2023-04-17T20:27:19.647Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T20:27:19.647Z] Step 2/22 : FROM ${BASE} AS builder [2023-04-17T20:27:19.647Z] ---> 5b638f7b8779 [2023-04-17T20:27:19.647Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-04-17T20:27:19.917Z] ---> Running in 2b108660128d [2023-04-17T20:27:20.186Z] Removing intermediate container 2b108660128d [2023-04-17T20:27:20.186Z] ---> c697dab5b182 [2023-04-17T20:27:20.186Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T20:27:20.461Z] ---> Running in c10552171800 [2023-04-17T20:27:20.733Z] Removing intermediate container c10552171800 [2023-04-17T20:27:20.733Z] ---> 993294aecafe [2023-04-17T20:27:20.733Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-04-17T20:27:20.733Z] ---> Running in 64d91280ffb3 [2023-04-17T20:27:22.155Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T20:27:22.743Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T20:27:24.163Z] OK: 270 MiB in 61 packages [2023-04-17T20:27:25.139Z] Removing intermediate container 64d91280ffb3 [2023-04-17T20:27:25.139Z] ---> 7d7f24f014a7 [2023-04-17T20:27:25.139Z] Step 6/22 : WORKDIR /device-modbus-go [2023-04-17T20:27:25.139Z] ---> Running in d270f9964f40 [2023-04-17T20:27:25.412Z] Removing intermediate container d270f9964f40 [2023-04-17T20:27:25.412Z] ---> 07f7153dc7fe [2023-04-17T20:27:25.412Z] Step 7/22 : COPY go.mod vendor* ./ [2023-04-17T20:27:27.375Z] ---> 43702072ca0c [2023-04-17T20:27:27.375Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T20:27:27.375Z] ---> Running in 0b608dca73ee [2023-04-17T20:27:30.736Z] Removing intermediate container 0b608dca73ee [2023-04-17T20:27:30.736Z] ---> ed1055d17351 [2023-04-17T20:27:30.736Z] Step 9/22 : COPY . . [2023-04-17T20:27:31.327Z] ---> 9d9bedb00057 [2023-04-17T20:27:31.327Z] Step 10/22 : RUN ${MAKE} [2023-04-17T20:27:31.596Z] ---> Running in c2373f0a36cb [2023-04-17T20:27:33.028Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.27" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-04-17T20:30:24.846Z] Removing intermediate container c2373f0a36cb [2023-04-17T20:30:24.846Z] ---> 63250a7d9f0c [2023-04-17T20:30:24.846Z] Step 11/22 : FROM alpine:3.17 [2023-04-17T20:30:24.846Z] 3.17: Pulling from library/alpine [2023-04-17T20:30:24.846Z] c41833b44d91: Pulling fs layer [2023-04-17T20:30:24.846Z] c41833b44d91: Download complete [2023-04-17T20:30:24.846Z] c41833b44d91: Pull complete [2023-04-17T20:30:24.846Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-17T20:30:24.846Z] Status: Downloaded newer image for alpine:3.17 [2023-04-17T20:30:24.846Z] ---> 51e60588ff2c [2023-04-17T20:30:24.846Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-04-17T20:30:24.846Z] ---> Running in c62b481cdf7e [2023-04-17T20:30:24.846Z] Removing intermediate container c62b481cdf7e [2023-04-17T20:30:24.846Z] ---> d04cf815bbe3 [2023-04-17T20:30:24.846Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-04-17T20:30:24.846Z] ---> Running in 522b9219501d [2023-04-17T20:30:24.846Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T20:30:24.846Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T20:30:24.846Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-17T20:30:24.846Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T20:30:24.846Z] OK: 8 MiB in 16 packages [2023-04-17T20:30:24.846Z] Removing intermediate container 522b9219501d [2023-04-17T20:30:24.846Z] ---> 990c6222170a [2023-04-17T20:30:24.846Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-04-17T20:30:24.846Z] ---> 05014641850e [2023-04-17T20:30:24.846Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-04-17T20:30:24.846Z] ---> fa285c6b1ce8 [2023-04-17T20:30:24.846Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-04-17T20:30:24.846Z] ---> 611e3dcaf9f5 [2023-04-17T20:30:24.846Z] Step 17/22 : EXPOSE 59901 [2023-04-17T20:30:24.846Z] ---> Running in 6faaa87676cf [2023-04-17T20:30:24.846Z] Removing intermediate container 6faaa87676cf [2023-04-17T20:30:24.846Z] ---> a7a097f56962 [2023-04-17T20:30:24.846Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-04-17T20:30:24.846Z] ---> Running in 43f27d8ffc4f [2023-04-17T20:30:24.846Z] Removing intermediate container 43f27d8ffc4f [2023-04-17T20:30:24.846Z] ---> ed4c8d25122c [2023-04-17T20:30:24.846Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-17T20:30:24.846Z] ---> Running in f96c7c18ef93 [2023-04-17T20:30:24.846Z] Removing intermediate container f96c7c18ef93 [2023-04-17T20:30:24.846Z] ---> 0b48ff2d7e76 [2023-04-17T20:30:24.846Z] Step 20/22 : LABEL arch=arm64 [2023-04-17T20:30:24.846Z] ---> Running in 5bd04b556bc2 [2023-04-17T20:30:24.846Z] Removing intermediate container 5bd04b556bc2 [2023-04-17T20:30:24.846Z] ---> 29979d9df1dd [2023-04-17T20:30:24.846Z] Step 21/22 : LABEL git_sha=640aa887e9955506bed08a06d24af596cf944b9d [2023-04-17T20:30:24.846Z] ---> Running in ab4e05391890 [2023-04-17T20:30:24.846Z] Removing intermediate container ab4e05391890 [2023-04-17T20:30:24.846Z] ---> fb2a3248949c [2023-04-17T20:30:24.846Z] Step 22/22 : LABEL version=3.0.0-dev.27 [2023-04-17T20:30:24.846Z] ---> Running in 64eed02e4c98 [2023-04-17T20:30:24.846Z] Removing intermediate container 64eed02e4c98 [2023-04-17T20:30:24.846Z] ---> b386ab484e1a [2023-04-17T20:30:24.846Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-17T20:30:24.846Z] Successfully built b386ab484e1a [2023-04-17T20:30:24.846Z] 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-17T20:30:24.947Z] provisioning config files... [2023-04-17T20:30:24.962Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/93@tmp/config4698737914838928674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:30:25.312Z] ---> docker-login.sh [2023-04-17T20:30:25.312Z] nexus3.edgexfoundry.org:10001 [2023-04-17T20:30:25.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:30:25.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:30:25.582Z] Configure a credential helper to remove this warning. See [2023-04-17T20:30:25.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:30:25.582Z] [2023-04-17T20:30:25.582Z] Login Succeeded [2023-04-17T20:30:25.582Z] nexus3.edgexfoundry.org:10002 [2023-04-17T20:30:25.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:30:26.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:30:26.121Z] Configure a credential helper to remove this warning. See [2023-04-17T20:30:26.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:30:26.121Z] [2023-04-17T20:30:26.121Z] Login Succeeded [2023-04-17T20:30:26.121Z] nexus3.edgexfoundry.org:10003 [2023-04-17T20:30:26.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:30:26.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:30:26.392Z] Configure a credential helper to remove this warning. See [2023-04-17T20:30:26.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:30:26.392Z] [2023-04-17T20:30:26.392Z] Login Succeeded [2023-04-17T20:30:26.392Z] nexus3.edgexfoundry.org:10004 [2023-04-17T20:30:26.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:30:26.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:30:26.930Z] Configure a credential helper to remove this warning. See [2023-04-17T20:30:26.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:30:26.930Z] [2023-04-17T20:30:26.930Z] Login Succeeded [2023-04-17T20:30:26.930Z] docker.io [2023-04-17T20:30:27.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:30:27.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:30:27.473Z] Configure a credential helper to remove this warning. See [2023-04-17T20:30:27.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:30:27.473Z] [2023-04-17T20:30:27.473Z] Login Succeeded [2023-04-17T20:30:27.473Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T20:30:27.488Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-17T20:30:27.521Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T20:30:27.544Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-04-17T20:30:27.544Z] 640aa887e9955506bed08a06d24af596cf944b9d [2023-04-17T20:30:27.544Z] latest [2023-04-17T20:30:27.544Z] 3.0.0-dev.27 [2023-04-17T20:30:27.544Z] 640aa887e9955506bed08a06d24af596cf944b9d-3.0.0-dev.27 [2023-04-17T20:30:27.544Z] main [2023-04-17T20:30:27.544Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:30:27.895Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:640aa887e9955506bed08a06d24af596cf944b9d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:30:28.243Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:640aa887e9955506bed08a06d24af596cf944b9d [2023-04-17T20:30:28.243Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-04-17T20:30:28.243Z] f6f99c0bf8ab: Preparing [2023-04-17T20:30:28.243Z] 6e881364fbbd: Preparing [2023-04-17T20:30:28.243Z] 2f34ae201996: Preparing [2023-04-17T20:30:28.243Z] 0aa7a7ba406a: Preparing [2023-04-17T20:30:28.243Z] 26cbea5cba74: Preparing [2023-04-17T20:30:28.243Z] 26cbea5cba74: Layer already exists [2023-04-17T20:30:28.511Z] 6e881364fbbd: Pushed [2023-04-17T20:30:28.511Z] f6f99c0bf8ab: Pushed [2023-04-17T20:30:28.511Z] 0aa7a7ba406a: Pushed [2023-04-17T20:30:33.936Z] 2f34ae201996: Pushed [2023-04-17T20:30:34.207Z] 640aa887e9955506bed08a06d24af596cf944b9d: digest: sha256:7887d6fbd525d8a3f4416fcfac777b8b94ee9678d48279f244db99e449fb5164 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:30:34.566Z] + 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-17T20:30:34.918Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-04-17T20:30:34.918Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-04-17T20:30:34.918Z] f6f99c0bf8ab: Preparing [2023-04-17T20:30:34.918Z] 6e881364fbbd: Preparing [2023-04-17T20:30:34.918Z] 2f34ae201996: Preparing [2023-04-17T20:30:34.918Z] 0aa7a7ba406a: Preparing [2023-04-17T20:30:34.918Z] 26cbea5cba74: Preparing [2023-04-17T20:30:34.918Z] f6f99c0bf8ab: Layer already exists [2023-04-17T20:30:34.918Z] 2f34ae201996: Layer already exists [2023-04-17T20:30:34.918Z] 26cbea5cba74: Layer already exists [2023-04-17T20:30:34.918Z] 0aa7a7ba406a: Layer already exists [2023-04-17T20:30:34.919Z] 6e881364fbbd: Layer already exists [2023-04-17T20:30:35.189Z] latest: digest: sha256:7887d6fbd525d8a3f4416fcfac777b8b94ee9678d48279f244db99e449fb5164 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:30:35.552Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:30:35.908Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.27 [2023-04-17T20:30:35.908Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-04-17T20:30:35.908Z] f6f99c0bf8ab: Preparing [2023-04-17T20:30:35.908Z] 6e881364fbbd: Preparing [2023-04-17T20:30:35.908Z] 2f34ae201996: Preparing [2023-04-17T20:30:35.908Z] 0aa7a7ba406a: Preparing [2023-04-17T20:30:35.908Z] 26cbea5cba74: Preparing [2023-04-17T20:30:35.908Z] 6e881364fbbd: Layer already exists [2023-04-17T20:30:35.908Z] 0aa7a7ba406a: Layer already exists [2023-04-17T20:30:35.908Z] 26cbea5cba74: Layer already exists [2023-04-17T20:30:35.908Z] 2f34ae201996: Layer already exists [2023-04-17T20:30:35.908Z] f6f99c0bf8ab: Layer already exists [2023-04-17T20:30:36.177Z] 3.0.0-dev.27: digest: sha256:7887d6fbd525d8a3f4416fcfac777b8b94ee9678d48279f244db99e449fb5164 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:30:36.532Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:640aa887e9955506bed08a06d24af596cf944b9d-3.0.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:30:36.878Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:640aa887e9955506bed08a06d24af596cf944b9d-3.0.0-dev.27 [2023-04-17T20:30:36.878Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-04-17T20:30:36.878Z] f6f99c0bf8ab: Preparing [2023-04-17T20:30:36.878Z] 6e881364fbbd: Preparing [2023-04-17T20:30:36.878Z] 2f34ae201996: Preparing [2023-04-17T20:30:36.878Z] 0aa7a7ba406a: Preparing [2023-04-17T20:30:36.878Z] 26cbea5cba74: Preparing [2023-04-17T20:30:36.878Z] f6f99c0bf8ab: Layer already exists [2023-04-17T20:30:36.878Z] 2f34ae201996: Layer already exists [2023-04-17T20:30:36.878Z] 26cbea5cba74: Layer already exists [2023-04-17T20:30:36.878Z] 0aa7a7ba406a: Layer already exists [2023-04-17T20:30:36.878Z] 6e881364fbbd: Layer already exists [2023-04-17T20:30:37.148Z] 640aa887e9955506bed08a06d24af596cf944b9d-3.0.0-dev.27: digest: sha256:7887d6fbd525d8a3f4416fcfac777b8b94ee9678d48279f244db99e449fb5164 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:30:37.494Z] + 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-17T20:30:37.835Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-04-17T20:30:37.835Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-04-17T20:30:37.835Z] f6f99c0bf8ab: Preparing [2023-04-17T20:30:37.835Z] 6e881364fbbd: Preparing [2023-04-17T20:30:37.835Z] 2f34ae201996: Preparing [2023-04-17T20:30:37.835Z] 0aa7a7ba406a: Preparing [2023-04-17T20:30:37.835Z] 26cbea5cba74: Preparing [2023-04-17T20:30:37.835Z] 0aa7a7ba406a: Layer already exists [2023-04-17T20:30:37.835Z] 26cbea5cba74: Layer already exists [2023-04-17T20:30:37.835Z] 2f34ae201996: Layer already exists [2023-04-17T20:30:37.835Z] f6f99c0bf8ab: Layer already exists [2023-04-17T20:30:37.835Z] 6e881364fbbd: Layer already exists [2023-04-17T20:30:38.104Z] main: digest: sha256:7887d6fbd525d8a3f4416fcfac777b8b94ee9678d48279f244db99e449fb5164 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-17T20:30:38.147Z] ===================================================== [Pipeline] echo [2023-04-17T20:30:38.153Z] taggedImages: [2023-04-17T20:30:38.153Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:640aa887e9955506bed08a06d24af596cf944b9d [2023-04-17T20:30:38.153Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-04-17T20:30:38.153Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.27 [2023-04-17T20:30:38.153Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:640aa887e9955506bed08a06d24af596cf944b9d-3.0.0-dev.27 [2023-04-17T20:30:38.153Z] - 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-17T20:30:38.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T20:30:38.523Z] [2023-04-17T20:30:38.523Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:30:38.869Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T20:30:38.869Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-17T20:30:38.869Z] 8998bd30e6a1: Pulling fs layer [2023-04-17T20:30:38.869Z] 04944245beec: Pulling fs layer [2023-04-17T20:30:38.869Z] 699f458cf7ca: Pulling fs layer [2023-04-17T20:30:38.869Z] 765212b225bb: Pulling fs layer [2023-04-17T20:30:38.869Z] f23df028b6ca: Pulling fs layer [2023-04-17T20:30:38.869Z] d65c8cfc05b1: Pulling fs layer [2023-04-17T20:30:38.869Z] 2437ff75d9bd: Pulling fs layer [2023-04-17T20:30:38.869Z] f23df028b6ca: Waiting [2023-04-17T20:30:38.869Z] d65c8cfc05b1: Waiting [2023-04-17T20:30:38.869Z] 2437ff75d9bd: Waiting [2023-04-17T20:30:38.869Z] 765212b225bb: Waiting [2023-04-17T20:30:39.140Z] 04944245beec: Verifying Checksum [2023-04-17T20:30:39.140Z] 04944245beec: Download complete [2023-04-17T20:30:39.140Z] 765212b225bb: Verifying Checksum [2023-04-17T20:30:39.140Z] 765212b225bb: Download complete [2023-04-17T20:30:39.140Z] f23df028b6ca: Download complete [2023-04-17T20:30:39.140Z] d65c8cfc05b1: Verifying Checksum [2023-04-17T20:30:39.140Z] d65c8cfc05b1: Download complete [2023-04-17T20:30:39.412Z] 699f458cf7ca: Verifying Checksum [2023-04-17T20:30:39.412Z] 699f458cf7ca: Download complete [2023-04-17T20:30:39.682Z] 8998bd30e6a1: Verifying Checksum [2023-04-17T20:30:39.682Z] 8998bd30e6a1: Download complete [2023-04-17T20:30:42.276Z] 2437ff75d9bd: Verifying Checksum [2023-04-17T20:30:42.276Z] 2437ff75d9bd: Download complete [2023-04-17T20:30:44.227Z] 8998bd30e6a1: Pull complete [2023-04-17T20:30:47.584Z] 04944245beec: Pull complete [2023-04-17T20:30:49.005Z] 699f458cf7ca: Pull complete [2023-04-17T20:30:49.005Z] 765212b225bb: Pull complete [2023-04-17T20:30:50.077Z] f23df028b6ca: Pull complete [2023-04-17T20:30:50.359Z] d65c8cfc05b1: Pull complete [2023-04-17T20:31:05.503Z] 2437ff75d9bd: Pull complete [2023-04-17T20:31:05.503Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-17T20:31:05.503Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T20:31:05.503Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:31:05.720Z] prd-ubuntu20.04-docker-arm64-4c-16g-8780 does not seem to be running inside a container [2023-04-17T20:31:05.804Z] $ 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/93 -v /w/workspace/device-modbus-go/93:/w/workspace/device-modbus-go/93:rw,z -v /w/workspace/device-modbus-go/93@tmp:/w/workspace/device-modbus-go/93@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-17T20:31:08.723Z] $ docker top 4563e0ffea05c7e57fb9ece654d0d30fdabe232dbb0b16576365751508ca40e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:31:09.593Z] ---> job-cost.sh [2023-04-17T20:31:09.593Z] lf-activate-venv: SKIPPING [2023-04-17T20:31:09.593Z] INFO: No Stack... [2023-04-17T20:31:10.179Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-17T20:31:11.149Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T20:31:11.818Z] + cat /w/workspace/device-modbus-go/93/archives/cost.csv [2023-04-17T20:31:11.819Z] + cut -d, -f6 [Pipeline] lock [2023-04-17T20:31:11.898Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-93-stack-cost] [2023-04-17T20:31:11.906Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-93-stack-cost] did not exist. Created. [2023-04-17T20:31:11.906Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-93-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T20:31:12.576Z] /w/workspace/device-modbus-go/93@tmp/durable-ab803921/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-17T20:31:13.248Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-17T20:31:13.270Z] Warning: overwriting stash ‘stack-cost’ [2023-04-17T20:31:13.327Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T20:31:13.333Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-93-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T20:31:13.357Z] $ docker stop --time=1 4563e0ffea05c7e57fb9ece654d0d30fdabe232dbb0b16576365751508ca40e3 [2023-04-17T20:31:15.617Z] $ docker rm -f --volumes 4563e0ffea05c7e57fb9ece654d0d30fdabe232dbb0b16576365751508ca40e3 [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-17T20:31:15.998Z] provisioning config files... [2023-04-17T20:31:16.005Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9047120407901930970tmp [Pipeline] { [Pipeline] sh [2023-04-17T20:31:16.291Z] + set +x [2023-04-17T20:31:16.291Z] + curl -s https://codecov.io/bash [2023-04-17T20:31:16.291Z] + bash -s -- [2023-04-17T20:31:16.291Z] [2023-04-17T20:31:16.291Z] _____ _ [2023-04-17T20:31:16.291Z] / ____| | | [2023-04-17T20:31:16.291Z] | | ___ __| | ___ ___ _____ __ [2023-04-17T20:31:16.291Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-17T20:31:16.291Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-17T20:31:16.291Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-17T20:31:16.291Z] Bash-1.0.6 [2023-04-17T20:31:16.291Z] [2023-04-17T20:31:16.291Z] [2023-04-17T20:31:16.291Z] ==> git version 2.25.1 found [2023-04-17T20:31:16.291Z] ==> 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-17T20:31:16.291Z] Release-Date: 2020-01-08 [2023-04-17T20:31:16.291Z] 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-17T20:31:16.291Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-17T20:31:16.291Z] ==> Jenkins CI detected. [2023-04-17T20:31:16.291Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-04-17T20:31:16.291Z] project root: . [2023-04-17T20:31:16.291Z] --> token set from env [2023-04-17T20:31:16.291Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-17T20:31:16.291Z] ==> Running gcov in . (disable via -X gcov) [2023-04-17T20:31:16.291Z] ==> Python coveragepy not found [2023-04-17T20:31:16.291Z] ==> Searching for coverage reports in: [2023-04-17T20:31:16.291Z] + . [2023-04-17T20:31:16.291Z] -> Found 1 reports [2023-04-17T20:31:16.291Z] ==> Detecting git/mercurial file structure [2023-04-17T20:31:16.291Z] ==> Reading reports [2023-04-17T20:31:16.291Z] + ./coverage.out bytes=24076 [2023-04-17T20:31:16.291Z] ==> Appending adjustments [2023-04-17T20:31:16.291Z] https://docs.codecov.io/docs/fixing-reports [2023-04-17T20:31:16.550Z] + Found adjustments [2023-04-17T20:31:16.550Z] ==> Gzipping contents [2023-04-17T20:31:16.550Z] 4.0K /tmp/codecov.463iI4.gz [2023-04-17T20:31:16.550Z] ==> Uploading reports [2023-04-17T20:31:16.550Z] url: https://codecov.io [2023-04-17T20:31:16.550Z] query: branch=main&commit=640aa887e9955506bed08a06d24af596cf944b9d&build=93&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F93%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-17T20:31:16.550Z] -> Pinging Codecov [2023-04-17T20:31:16.550Z] 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=640aa887e9955506bed08a06d24af596cf944b9d&build=93&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F93%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-17T20:31:16.550Z] -> Uploading to [2023-04-17T20:31:16.550Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-17/55DBCA73C666E3227836607328DD7E49/640aa887e9955506bed08a06d24af596cf944b9d/39d8f9e6-e4ae-43c0-a88c-3345902fe35b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230417T203116Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=30539f24af336189a1aeee4b46e7d18301c7fbf1895447d29159565443fa9c81 [2023-04-17T20:31:16.550Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T20:31:16.550Z] Dload Upload Total Spent Left Speed [2023-04-17T20:31:16.808Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3917 0 0 100 3917 0 18922 --:--:-- --:--:-- --:--:-- 18922 [2023-04-17T20:31:16.808Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/640aa887e9955506bed08a06d24af596cf944b9d [Pipeline] } [2023-04-17T20:31:16.816Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-04-17T20:31:16.935Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-04-17T20:31:16.943Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:31:17.230Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-17T20:31:17.230Z] [2023-04-17T20:31:17.230Z] 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-17T20:31:17.525Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-17T20:31:17.526Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-04-17T20:31:17.526Z] df9b9388f04a: Pulling fs layer [2023-04-17T20:31:17.526Z] 52dc419b0ee2: Pulling fs layer [2023-04-17T20:31:17.526Z] 25bc292e5bac: Pulling fs layer [2023-04-17T20:31:17.526Z] 114826534d7a: Pulling fs layer [2023-04-17T20:31:17.526Z] 4657fd5d0bcf: Pulling fs layer [2023-04-17T20:31:17.526Z] 6ad1cebc031e: Pulling fs layer [2023-04-17T20:31:17.526Z] 114826534d7a: Waiting [2023-04-17T20:31:17.526Z] 8a3aa393b2d8: Pulling fs layer [2023-04-17T20:31:17.526Z] 6ad1cebc031e: Waiting [2023-04-17T20:31:17.526Z] 4657fd5d0bcf: Waiting [2023-04-17T20:31:17.526Z] 8a3aa393b2d8: Waiting [2023-04-17T20:31:17.526Z] 25bc292e5bac: Download complete [2023-04-17T20:31:17.526Z] 52dc419b0ee2: Verifying Checksum [2023-04-17T20:31:17.526Z] 52dc419b0ee2: Download complete [2023-04-17T20:31:17.526Z] 4657fd5d0bcf: Verifying Checksum [2023-04-17T20:31:17.526Z] 4657fd5d0bcf: Download complete [2023-04-17T20:31:17.526Z] df9b9388f04a: Verifying Checksum [2023-04-17T20:31:17.526Z] df9b9388f04a: Download complete [2023-04-17T20:31:17.526Z] df9b9388f04a: Pull complete [2023-04-17T20:31:17.785Z] 6ad1cebc031e: Verifying Checksum [2023-04-17T20:31:17.785Z] 6ad1cebc031e: Download complete [2023-04-17T20:31:17.785Z] 52dc419b0ee2: Pull complete [2023-04-17T20:31:17.785Z] 25bc292e5bac: Pull complete [2023-04-17T20:31:18.351Z] 114826534d7a: Verifying Checksum [2023-04-17T20:31:18.351Z] 114826534d7a: Download complete [2023-04-17T20:31:18.351Z] 8a3aa393b2d8: Verifying Checksum [2023-04-17T20:31:18.351Z] 8a3aa393b2d8: Download complete [2023-04-17T20:31:21.631Z] 114826534d7a: Pull complete [2023-04-17T20:31:21.631Z] 4657fd5d0bcf: Pull complete [2023-04-17T20:31:21.631Z] 6ad1cebc031e: Pull complete [2023-04-17T20:31:24.158Z] 8a3aa393b2d8: Pull complete [2023-04-17T20:31:24.158Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-04-17T20:31:24.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-17T20:31:24.158Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:31:24.251Z] prd-ubuntu20.04-docker-8c-8g-8776 does not seem to be running inside a container [2023-04-17T20:31:24.283Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-04-17T20:31:25.846Z] $ docker top 64a40b49cb6b8cd01dec4bfbaef3d8071572452324440495ba35023c68a90c34 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-04-17T20:31:25.917Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-04-17T20:31:26.194Z] + set -o pipefail [2023-04-17T20:31:26.194Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-04-17T20:31:31.462Z] [2023-04-17T20:31:31.462Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-04-17T20:31:31.462Z] [2023-04-17T20:31:31.462Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/4c740dd5-b9f4-4609-a736-409d9286892e [2023-04-17T20:31:31.462Z] [2023-04-17T20:31:31.462Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-04-17T20:31:31.462Z] [2023-04-17T20:31:31.463Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-04-17T20:31:31.463Z] [2023-04-17T20:31:31.463Z] [2023-04-17T20:31:31.463Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-04-17T20:31:31.463Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-04-17T20:31:31.463Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-04-17T20:31:31.475Z] $ docker stop --time=1 64a40b49cb6b8cd01dec4bfbaef3d8071572452324440495ba35023c68a90c34 [2023-04-17T20:31:33.220Z] $ docker rm -f --volumes 64a40b49cb6b8cd01dec4bfbaef3d8071572452324440495ba35023c68a90c34 [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-17T20:31:33.897Z] + git log --format=format:%s -1 640aa887e9955506bed08a06d24af596cf944b9d [Pipeline] sh [2023-04-17T20:31:34.186Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T20:31:34.186Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:31:34.480Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T20:31:34.480Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:31:34.559Z] prd-ubuntu20.04-docker-8c-8g-8776 does not seem to be running inside a container [2023-04-17T20:31:34.586Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-17T20:31:34.908Z] $ docker top 28ad43e4b0db9ce87ebe4ced98296f592c3ea882a6e8269ef9ca7cbf52e99701 -eo pid,comm [2023-04-17T20:31:34.952Z] 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-17T20:31:34.952Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T20:31:34.989Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T20:31:34.989Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T20:31:35.101Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T20:31:35.103Z] $ docker exec 28ad43e4b0db9ce87ebe4ced98296f592c3ea882a6e8269ef9ca7cbf52e99701 ssh-agent [2023-04-17T20:31:35.198Z] SSH_AUTH_SOCK=/tmp/ssh-Goatfgxvbg8o/agent.33 [2023-04-17T20:31:35.198Z] SSH_AGENT_PID=39 [2023-04-17T20:31:35.202Z] Running ssh-add (command line suppressed) [2023-04-17T20:31:35.299Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1928418398867017481.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1928418398867017481.key) [2023-04-17T20:31:35.312Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T20:31:35.598Z] + git semver tag [2023-04-17T20:31:35.857Z] 2023-04-17 20:31:35,755 [run_tag] DEBUG tag force:False [2023-04-17T20:31:35.857Z] 2023-04-17 20:31:35,756 [check_head_tag] DEBUG check head tag [2023-04-17T20:31:35.857Z] 2023-04-17 20:31:35,757 [execute] INFO git cat-file --batch-check [2023-04-17T20:31:35.857Z] 2023-04-17 20:31:35,757 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-04-17T20:31:35.857Z] 2023-04-17 20:31:35,761 [execute] INFO git cat-file --batch [2023-04-17T20:31:35.857Z] 2023-04-17 20:31:35,761 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-04-17T20:31:35.857Z] 2023-04-17 20:31:35,782 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-17T20:31:35.857Z] 2023-04-17 20:31:35,782 [execute] INFO git tag -a v3.0.0-dev.27 -m v3.0.0-dev.27 [2023-04-17T20:31:35.857Z] 2023-04-17 20:31:35,782 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.27', '-m', 'v3.0.0-dev.27'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-04-17T20:31:35.857Z] 2023-04-17 20:31:35,786 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-17T20:31:35.857Z] 3.0.0-dev.27 [Pipeline] } [2023-04-17T20:31:35.866Z] $ docker exec --env ******** --env ******** 28ad43e4b0db9ce87ebe4ced98296f592c3ea882a6e8269ef9ca7cbf52e99701 ssh-agent -k [2023-04-17T20:31:35.952Z] unset SSH_AUTH_SOCK; [2023-04-17T20:31:35.952Z] unset SSH_AGENT_PID; [2023-04-17T20:31:35.952Z] echo Agent pid 39 killed; [2023-04-17T20:31:35.960Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T20:31:36.254Z] + git semver [Pipeline] } [2023-04-17T20:31:36.524Z] $ docker stop --time=1 28ad43e4b0db9ce87ebe4ced98296f592c3ea882a6e8269ef9ca7cbf52e99701 [2023-04-17T20:31:37.791Z] $ docker rm -f --volumes 28ad43e4b0db9ce87ebe4ced98296f592c3ea882a6e8269ef9ca7cbf52e99701 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:31:38.171Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-17T20:31:38.171Z] [2023-04-17T20:31:38.171Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:31:38.475Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-17T20:31:38.475Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-04-17T20:31:38.475Z] ab5ef0e58194: Pulling fs layer [2023-04-17T20:31:38.475Z] 9712f1f96733: Pulling fs layer [2023-04-17T20:31:38.475Z] 63f879dbbcfc: Pulling fs layer [2023-04-17T20:31:38.475Z] 0d9ebad4ef96: Pulling fs layer [2023-04-17T20:31:38.475Z] e9a5061849ea: Pulling fs layer [2023-04-17T20:31:38.475Z] d747dcd14b5f: Pulling fs layer [2023-04-17T20:31:38.475Z] 2de7ff778b66: Pulling fs layer [2023-04-17T20:31:38.475Z] 0d9ebad4ef96: Waiting [2023-04-17T20:31:38.475Z] e9a5061849ea: Waiting [2023-04-17T20:31:38.475Z] d747dcd14b5f: Waiting [2023-04-17T20:31:38.475Z] 2de7ff778b66: Waiting [2023-04-17T20:31:38.475Z] 9712f1f96733: Verifying Checksum [2023-04-17T20:31:38.475Z] 9712f1f96733: Download complete [2023-04-17T20:31:38.734Z] 63f879dbbcfc: Verifying Checksum [2023-04-17T20:31:38.734Z] 63f879dbbcfc: Download complete [2023-04-17T20:31:38.992Z] e9a5061849ea: Verifying Checksum [2023-04-17T20:31:38.992Z] e9a5061849ea: Download complete [2023-04-17T20:31:38.992Z] d747dcd14b5f: Verifying Checksum [2023-04-17T20:31:38.992Z] d747dcd14b5f: Download complete [2023-04-17T20:31:38.992Z] 0d9ebad4ef96: Verifying Checksum [2023-04-17T20:31:38.992Z] 0d9ebad4ef96: Download complete [2023-04-17T20:31:38.992Z] ab5ef0e58194: Verifying Checksum [2023-04-17T20:31:38.992Z] ab5ef0e58194: Download complete [2023-04-17T20:31:38.992Z] 2de7ff778b66: Verifying Checksum [2023-04-17T20:31:38.992Z] 2de7ff778b66: Download complete [2023-04-17T20:31:41.521Z] ab5ef0e58194: Pull complete [2023-04-17T20:31:41.521Z] 9712f1f96733: Pull complete [2023-04-17T20:31:42.087Z] 63f879dbbcfc: Pull complete [2023-04-17T20:31:45.378Z] 0d9ebad4ef96: Pull complete [2023-04-17T20:31:45.378Z] e9a5061849ea: Pull complete [2023-04-17T20:31:45.635Z] d747dcd14b5f: Pull complete [2023-04-17T20:31:46.567Z] 2de7ff778b66: Pull complete [2023-04-17T20:31:46.567Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-04-17T20:31:46.567Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-17T20:31:46.567Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:31:46.639Z] prd-ubuntu20.04-docker-8c-8g-8776 does not seem to be running inside a container [2023-04-17T20:31:46.665Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-04-17T20:31:48.191Z] $ docker top 1773cf77a4ca500828e4e977ca16f9433f2f099d507aeecf9e1922defb60491e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-04-17T20:31:48.252Z] provisioning config files... [2023-04-17T20:31:48.259Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18169750759323259181tmp [2023-04-17T20:31:48.268Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12478453262110675106tmp [2023-04-17T20:31:48.276Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12449413645615562602tmp [Pipeline] { [Pipeline] echo [2023-04-17T20:31:48.289Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:31:48.570Z] ---> sigul-configuration.sh [2023-04-17T20:31:48.570Z] gpg: directory `/root/.gnupg' created [2023-04-17T20:31:48.570Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-04-17T20:31:48.570Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-04-17T20:31:48.570Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-04-17T20:31:48.570Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-04-17T20:31:48.570Z] gpg: CAST5 encrypted data [2023-04-17T20:31:48.570Z] gpg: encrypted with 1 passphrase [2023-04-17T20:31:48.570Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-04-17T20:31:48.851Z] + mkdir /home/jenkins [2023-04-17T20:31:48.851Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-04-17T20:31:49.136Z] + 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-17T20:31:49.145Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:31:49.426Z] ---> sigul-install.sh [2023-04-17T20:31:49.427Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-04-17T20:31:49.716Z] + git tag --list [2023-04-17T20:31:49.716Z] 0.7.1 [2023-04-17T20:31:49.716Z] v1.0.0 [2023-04-17T20:31:49.716Z] v1.1.0 [2023-04-17T20:31:49.716Z] v1.1.1 [2023-04-17T20:31:49.716Z] v1.2.2 [2023-04-17T20:31:49.716Z] v1.3.0 [2023-04-17T20:31:49.716Z] v1.3.1 [2023-04-17T20:31:49.716Z] v2.0.0 [2023-04-17T20:31:49.716Z] v2.1.0 [2023-04-17T20:31:49.716Z] v2.1.1 [2023-04-17T20:31:49.716Z] v2.1.1-dev.1 [2023-04-17T20:31:49.716Z] v2.1.1-dev.2 [2023-04-17T20:31:49.716Z] v2.1.1-dev.3 [2023-04-17T20:31:49.716Z] v2.2.0 [2023-04-17T20:31:49.716Z] v2.2.1-dev.1 [2023-04-17T20:31:49.716Z] v2.2.1-dev.2 [2023-04-17T20:31:49.716Z] v2.2.1-dev.3 [2023-04-17T20:31:49.716Z] v2.2.1-dev.4 [2023-04-17T20:31:49.716Z] v2.2.1-dev.5 [2023-04-17T20:31:49.716Z] v2.2.1-dev.6 [2023-04-17T20:31:49.716Z] v2.2.1-dev.7 [2023-04-17T20:31:49.716Z] v2.3.0 [2023-04-17T20:31:49.716Z] v2.3.0-dev.10 [2023-04-17T20:31:49.716Z] v2.3.0-dev.11 [2023-04-17T20:31:49.716Z] v2.3.0-dev.12 [2023-04-17T20:31:49.716Z] v2.3.0-dev.13 [2023-04-17T20:31:49.716Z] v2.3.0-dev.14 [2023-04-17T20:31:49.716Z] v2.3.0-dev.15 [2023-04-17T20:31:49.716Z] v2.3.0-dev.16 [2023-04-17T20:31:49.716Z] v2.3.0-dev.17 [2023-04-17T20:31:49.716Z] v2.3.0-dev.18 [2023-04-17T20:31:49.716Z] v2.3.0-dev.19 [2023-04-17T20:31:49.716Z] v2.3.0-dev.20 [2023-04-17T20:31:49.716Z] v2.3.0-dev.21 [2023-04-17T20:31:49.716Z] v2.3.0-dev.22 [2023-04-17T20:31:49.716Z] v2.3.0-dev.23 [2023-04-17T20:31:49.716Z] v2.3.0-dev.24 [2023-04-17T20:31:49.716Z] v2.3.0-dev.25 [2023-04-17T20:31:49.716Z] v2.3.0-dev.7 [2023-04-17T20:31:49.716Z] v2.3.0-dev.8 [2023-04-17T20:31:49.716Z] v2.3.0-dev.9 [2023-04-17T20:31:49.716Z] v3.0.0-dev.1 [2023-04-17T20:31:49.716Z] v3.0.0-dev.10 [2023-04-17T20:31:49.716Z] v3.0.0-dev.11 [2023-04-17T20:31:49.716Z] v3.0.0-dev.12 [2023-04-17T20:31:49.716Z] v3.0.0-dev.13 [2023-04-17T20:31:49.716Z] v3.0.0-dev.14 [2023-04-17T20:31:49.716Z] v3.0.0-dev.15 [2023-04-17T20:31:49.716Z] v3.0.0-dev.16 [2023-04-17T20:31:49.716Z] v3.0.0-dev.17 [2023-04-17T20:31:49.716Z] v3.0.0-dev.18 [2023-04-17T20:31:49.716Z] v3.0.0-dev.19 [2023-04-17T20:31:49.716Z] v3.0.0-dev.2 [2023-04-17T20:31:49.716Z] v3.0.0-dev.20 [2023-04-17T20:31:49.716Z] v3.0.0-dev.21 [2023-04-17T20:31:49.716Z] v3.0.0-dev.22 [2023-04-17T20:31:49.716Z] v3.0.0-dev.23 [2023-04-17T20:31:49.716Z] v3.0.0-dev.24 [2023-04-17T20:31:49.716Z] v3.0.0-dev.25 [2023-04-17T20:31:49.716Z] v3.0.0-dev.26 [2023-04-17T20:31:49.716Z] v3.0.0-dev.27 [2023-04-17T20:31:49.716Z] v3.0.0-dev.3 [2023-04-17T20:31:49.716Z] v3.0.0-dev.4 [2023-04-17T20:31:49.716Z] v3.0.0-dev.5 [2023-04-17T20:31:49.716Z] v3.0.0-dev.6 [2023-04-17T20:31:49.716Z] v3.0.0-dev.7 [2023-04-17T20:31:49.716Z] v3.0.0-dev.8 [2023-04-17T20:31:49.716Z] v3.0.0-dev.9 [Pipeline] sh [2023-04-17T20:31:49.998Z] + lftools sign git-tag v3.0.0-dev.27 [2023-04-17T20:31:50.566Z] Signing Git tag with Sigul... [2023-04-17T20:31:50.566Z] Signing v3.0.0-dev.27 [Pipeline] echo [2023-04-17T20:31:50.833Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:31:51.116Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-04-17T20:31:51.123Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-04-17T20:31:51.141Z] $ docker stop --time=1 1773cf77a4ca500828e4e977ca16f9433f2f099d507aeecf9e1922defb60491e [2023-04-17T20:31:52.413Z] $ docker rm -f --volumes 1773cf77a4ca500828e4e977ca16f9433f2f099d507aeecf9e1922defb60491e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-04-17T20:31:52.813Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T20:31:52.813Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:31:53.111Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T20:31:53.112Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:31:53.188Z] prd-ubuntu20.04-docker-8c-8g-8776 does not seem to be running inside a container [2023-04-17T20:31:53.218Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-17T20:31:53.556Z] $ docker top f9f9ea77391e09e1f51e5d3b6fa0fdecb446e5d715563fa19430177982786b3f -eo pid,comm [2023-04-17T20:31:53.602Z] 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-17T20:31:53.602Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T20:31:53.635Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T20:31:53.635Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T20:31:53.749Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T20:31:53.752Z] $ docker exec f9f9ea77391e09e1f51e5d3b6fa0fdecb446e5d715563fa19430177982786b3f ssh-agent [2023-04-17T20:31:53.860Z] SSH_AUTH_SOCK=/tmp/ssh-34KPeEoKqUmG/agent.32 [2023-04-17T20:31:53.860Z] SSH_AGENT_PID=38 [2023-04-17T20:31:53.866Z] Running ssh-add (command line suppressed) [2023-04-17T20:31:53.977Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5662108067270305283.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5662108067270305283.key) [2023-04-17T20:31:53.991Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T20:31:54.324Z] + git semver bump pre [2023-04-17T20:31:54.582Z] 2023-04-17 20:31:54,493 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-17T20:31:54.582Z] 2023-04-17 20:31:54,494 [bump_version] DEBUG bumping version:3.0.0-dev.27 on axis:pre with prefix:dev [2023-04-17T20:31:54.582Z] 2023-04-17 20:31:54,494 [bump_version] DEBUG bumped version:3.0.0-dev.28 [2023-04-17T20:31:54.582Z] 2023-04-17 20:31:54,494 [write_version] DEBUG write version:3.0.0-dev.28 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-04-17T20:31:54.582Z] 2023-04-17 20:31:54,494 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-17T20:31:54.582Z] 2023-04-17 20:31:54,494 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-17T20:31:54.582Z] 2023-04-17 20:31:54,496 [execute] INFO git cat-file --batch-check [2023-04-17T20:31:54.582Z] 2023-04-17 20:31:54,497 [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-17T20:31:54.582Z] 2023-04-17 20:31:54,502 [execute] INFO git cat-file --batch [2023-04-17T20:31:54.582Z] 2023-04-17 20:31:54,502 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T20:31:54.582Z] 2023-04-17 20:31:54,507 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-17T20:31:54.582Z] 3.0.0-dev.28 [Pipeline] } [2023-04-17T20:31:54.590Z] $ docker exec --env ******** --env ******** f9f9ea77391e09e1f51e5d3b6fa0fdecb446e5d715563fa19430177982786b3f ssh-agent -k [2023-04-17T20:31:54.688Z] unset SSH_AUTH_SOCK; [2023-04-17T20:31:54.688Z] unset SSH_AGENT_PID; [2023-04-17T20:31:54.688Z] echo Agent pid 38 killed; [2023-04-17T20:31:54.696Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T20:31:54.992Z] + git semver [Pipeline] } [2023-04-17T20:31:55.261Z] $ docker stop --time=1 f9f9ea77391e09e1f51e5d3b6fa0fdecb446e5d715563fa19430177982786b3f [2023-04-17T20:31:56.536Z] $ docker rm -f --volumes f9f9ea77391e09e1f51e5d3b6fa0fdecb446e5d715563fa19430177982786b3f [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T20:31:56.868Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T20:31:56.868Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:31:57.167Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T20:31:57.167Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:31:57.236Z] prd-ubuntu20.04-docker-8c-8g-8776 does not seem to be running inside a container [2023-04-17T20:31:57.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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-17T20:31:57.594Z] $ docker top 9d373cf7ade379469bb926848f0a9bd44a9b3bc8869bff896417d9012f2b4529 -eo pid,comm [2023-04-17T20:31:57.640Z] 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-17T20:31:57.640Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T20:31:57.670Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T20:31:57.670Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T20:31:57.766Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T20:31:57.768Z] $ docker exec 9d373cf7ade379469bb926848f0a9bd44a9b3bc8869bff896417d9012f2b4529 ssh-agent [2023-04-17T20:31:57.867Z] SSH_AUTH_SOCK=/tmp/ssh-aNl7YaQ21iU2/agent.32 [2023-04-17T20:31:57.867Z] SSH_AGENT_PID=38 [2023-04-17T20:31:57.871Z] Running ssh-add (command line suppressed) [2023-04-17T20:31:58.488Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11236810409022496063.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11236810409022496063.key) [2023-04-17T20:31:58.501Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T20:31:58.784Z] + git semver push [2023-04-17T20:31:59.043Z] 2023-04-17 20:31:58,950 [run_push] DEBUG push [2023-04-17T20:31:59.043Z] 2023-04-17 20:31:58,951 [execute] INFO git cat-file --batch-check [2023-04-17T20:31:59.043Z] 2023-04-17 20:31:58,951 [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-17T20:31:59.043Z] 2023-04-17 20:31:58,955 [execute] INFO git rev-list ee03fda5e9fa79e2fd36d519aac3135e674d3f3f -- [2023-04-17T20:31:59.043Z] 2023-04-17 20:31:58,955 [execute] DEBUG Popen(['git', 'rev-list', 'ee03fda5e9fa79e2fd36d519aac3135e674d3f3f', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-17T20:31:59.043Z] 2023-04-17 20:31:58,964 [execute] INFO git fetch -v origin [2023-04-17T20:31:59.043Z] 2023-04-17 20:31:58,964 [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-17T20:31:59.610Z] 2023-04-17 20:31:59,450 [run_push] DEBUG no remote changes detected [2023-04-17T20:31:59.611Z] 2023-04-17 20:31:59,450 [execute] INFO git push origin semver [2023-04-17T20:31:59.611Z] 2023-04-17 20:31:59,451 [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-17T20:32:00.547Z] 2023-04-17 20:32:00,340 [run_push] DEBUG push all version tags [2023-04-17T20:32:00.547Z] 2023-04-17 20:32:00,340 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-04-17T20:32:00.547Z] 2023-04-17 20:32:00,341 [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-17T20:32:01.482Z] 2023-04-17 20:32:01,240 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-17T20:32:01.482Z] 3.0.0-dev.28 [Pipeline] } [2023-04-17T20:32:01.490Z] $ docker exec --env ******** --env ******** 9d373cf7ade379469bb926848f0a9bd44a9b3bc8869bff896417d9012f2b4529 ssh-agent -k [2023-04-17T20:32:01.576Z] unset SSH_AUTH_SOCK; [2023-04-17T20:32:01.576Z] unset SSH_AGENT_PID; [2023-04-17T20:32:01.576Z] echo Agent pid 38 killed; [2023-04-17T20:32:01.584Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T20:32:01.886Z] + git semver [Pipeline] } [2023-04-17T20:32:02.159Z] $ docker stop --time=1 9d373cf7ade379469bb926848f0a9bd44a9b3bc8869bff896417d9012f2b4529 [2023-04-17T20:32:03.428Z] $ docker rm -f --volumes 9d373cf7ade379469bb926848f0a9bd44a9b3bc8869bff896417d9012f2b4529 [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-17T20:32:03.937Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-04-17T20:32:03.937Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-04-17T20:32:03.937Z] total 16 [2023-04-17T20:32:03.937Z] drwxr-xr-x 3 root root 4096 Apr 17 20:18 . [2023-04-17T20:32:03.937Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 20:31 .. [2023-04-17T20:32:03.937Z] drwxr-xr-x 2 root root 4096 Apr 17 20:18 cost [2023-04-17T20:32:03.937Z] -rw-r--r-- 1 root root 87 Apr 17 20:18 cost.csv [2023-04-17T20:32:03.937Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-04-17T20:32:03.937Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-04-17T20:32:03.937Z] total 16 [2023-04-17T20:32:03.937Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 20:18 . [2023-04-17T20:32:03.937Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 20:31 .. [2023-04-17T20:32:03.937Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 20:18 cost [2023-04-17T20:32:03.937Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 17 20:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:32:04.246Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:32:05.098Z] ---> package-listing.sh [2023-04-17T20:32:05.098Z] ++ facter osfamily [2023-04-17T20:32:05.098Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-17T20:32:05.356Z] + OS_FAMILY=debian [2023-04-17T20:32:05.356Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-04-17T20:32:05.356Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-17T20:32:05.356Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-17T20:32:05.356Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-17T20:32:05.356Z] + PACKAGES=/tmp/packages_start.txt [2023-04-17T20:32:05.356Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-04-17T20:32:05.356Z] + PACKAGES=/tmp/packages_end.txt [2023-04-17T20:32:05.356Z] + case "${OS_FAMILY}" in [2023-04-17T20:32:05.356Z] + dpkg -l [2023-04-17T20:32:05.356Z] + grep '^ii' [2023-04-17T20:32:05.356Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-17T20:32:05.356Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-17T20:32:05.356Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-17T20:32:05.356Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-04-17T20:32:05.356Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-04-17T20:32:05.356Z] + 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-17T20:32:05.366Z] 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-17T20:32:05.638Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:32:06.199Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T20:32:06.199Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:32:06.269Z] prd-ubuntu20.04-docker-8c-8g-8776 does not seem to be running inside a container [2023-04-17T20:32:06.293Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-17T20:32:06.473Z] $ docker top 9ce509d81ea4629206ba09190a32204096349a9daae732cad526c2cb9dd2f1d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T20:32:06.893Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-17T20:32:07.223Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-17T20:32:07.501Z] + ls /var/log/sa-host [2023-04-17T20:32:07.501Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T20:32:07.569Z] provisioning config files... [2023-04-17T20:32:07.577Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2882760247894665134tmp [Pipeline] { [Pipeline] echo [2023-04-17T20:32:07.593Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:32:07.873Z] ---> create-netrc.sh [Pipeline] } [2023-04-17T20:32:07.880Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:32:08.206Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-17T20:32:08.214Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:32:08.497Z] ---> sudo-logs.sh [2023-04-17T20:32:08.497Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-17T20:32:08.531Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:32:08.813Z] ---> job-cost.sh [2023-04-17T20:32:08.813Z] lf-activate-venv: SKIPPING [2023-04-17T20:32:08.813Z] DEBUG: total: 0.2199999988079071 [2023-04-17T20:32:08.813Z] INFO: Retrieving Stack Cost... [2023-04-17T20:32:09.073Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T20:32:09.642Z] INFO: Archiving Costs [Pipeline] echo [2023-04-17T20:32:09.652Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:32:09.932Z] ---> logs-deploy.sh [2023-04-17T20:32:09.932Z] lf-activate-venv: SKIPPING [2023-04-17T20:32:09.932Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/93 [2023-04-17T20:32:09.932Z] INFO: archiving workspace using pattern(s): [2023-04-17T20:32:10.869Z] Archives upload complete. [2023-04-17T20:32:10.869Z] INFO: archiving logs to Nexus