Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 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-ssh12521788105455222989.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13526765717652736405.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9032210078357311230.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14416088838618677654.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-ssh8913144554053552552.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1915 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 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 (main) Commit message: "refactor!: Rework code for refactored MessageBus Configuration (#399)" > 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 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 # timeout=10 > git rev-list --no-walk def1cc71e63d04479355a5672fe2144ca0f9c836 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-11T18:30:53.636Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-11T18:30:53.680Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-11T18:30:53.691Z] ========================================================= [2023-01-11T18:30:53.691Z] EdgeX Global Pipelines Version Info [2023-01-11T18:30:53.691Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:30:54.402Z] ------------------- [2023-01-11T18:30:54.402Z] stable info: [2023-01-11T18:30:54.402Z] ------------------- [2023-01-11T18:30:54.402Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-11T18:30:54.402Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T18:30:54.402Z] Message: update stable to v1.0.244 [2023-01-11T18:30:54.971Z] ------------------- [2023-01-11T18:30:54.971Z] experimental info: [2023-01-11T18:30:54.971Z] ------------------- [2023-01-11T18:30:54.971Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-11T18:30:54.971Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T18:30:54.971Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-11T18:30:55.127Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-01-11T18:30:55.136Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-01-11T18:30:55.144Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-11T18:30:55.152Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-11T18:30:55.160Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-11T18:30:55.168Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-11T18:30:55.176Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-11T18:30:55.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-11T18:30:55.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-11T18:30:55.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-11T18:30:55.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-11T18:30:55.240Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-01-11T18:30:55.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-11T18:30:55.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-11T18:30:55.274Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T18:30:55.287Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T18:30:55.301Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T18:30:55.317Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T18:30:55.328Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-11T18:30:55.342Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-11T18:30:55.353Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-11T18:30:55.365Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-11T18:30:55.379Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-11T18:30:55.390Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-11T18:30:55.402Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-11T18:30:55.417Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-11T18:30:55.433Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-11T18:30:55.447Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-01-11T18:30:55.459Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-01-11T18:30:55.471Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-01-11T18:30:55.482Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [Pipeline] echo [2023-01-11T18:30:55.496Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8c18bb9 [Pipeline] echo [2023-01-11T18:30:55.507Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T18:30:55.550Z] provisioning config files... [2023-01-11T18:30:55.567Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11148665343447798671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:30:55.865Z] ---> docker-login.sh [2023-01-11T18:30:55.866Z] nexus3.edgexfoundry.org:10001 [2023-01-11T18:30:56.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:30:56.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:30:56.125Z] Configure a credential helper to remove this warning. See [2023-01-11T18:30:56.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:30:56.125Z] [2023-01-11T18:30:56.125Z] Login Succeeded [2023-01-11T18:30:56.125Z] nexus3.edgexfoundry.org:10002 [2023-01-11T18:30:56.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:30:56.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:30:56.125Z] Configure a credential helper to remove this warning. See [2023-01-11T18:30:56.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:30:56.125Z] [2023-01-11T18:30:56.125Z] Login Succeeded [2023-01-11T18:30:56.125Z] nexus3.edgexfoundry.org:10003 [2023-01-11T18:30:56.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:30:56.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:30:56.384Z] Configure a credential helper to remove this warning. See [2023-01-11T18:30:56.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:30:56.384Z] [2023-01-11T18:30:56.384Z] Login Succeeded [2023-01-11T18:30:56.384Z] nexus3.edgexfoundry.org:10004 [2023-01-11T18:30:56.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:30:56.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:30:56.384Z] Configure a credential helper to remove this warning. See [2023-01-11T18:30:56.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:30:56.384Z] [2023-01-11T18:30:56.384Z] Login Succeeded [2023-01-11T18:30:56.384Z] docker.io [2023-01-11T18:30:56.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:30:56.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:30:56.903Z] Configure a credential helper to remove this warning. See [2023-01-11T18:30:56.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:30:56.903Z] [2023-01-11T18:30:56.903Z] Login Succeeded [2023-01-11T18:30:56.903Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T18:30:56.910Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-11T18:30:57.265Z] + git rev-list -1 --merges 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1~1..8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [Pipeline] echo [2023-01-11T18:30:57.319Z] -----------> git rev-list -1 --merges 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1~1..8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [false] [Pipeline] sh [2023-01-11T18:30:57.607Z] + git log --format=format:%s -1 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [Pipeline] echo [2023-01-11T18:30:57.622Z] ========================================================= [2023-01-11T18:30:57.622Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-11T18:30:57.622Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T18:30:57.957Z] + git log --format=format:%s -1 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [Pipeline] echo [2023-01-11T18:30:57.969Z] [semverPrep] GIT_COMMIT: 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1, Commit Message: refactor!: Rework code for refactored MessageBus Configuration (#399) [Pipeline] echo [2023-01-11T18:30:57.976Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-11T18:30:58.319Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T18:30:58.319Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-11T18:30:58.319Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-11T18:30:58.319Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-11T18:30:58.320Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-11T18:30:58.320Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-11T18:30:58.320Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:30:58.664Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T18:30:58.664Z] [2023-01-11T18:30:58.664Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:30:58.964Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T18:30:58.964Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-11T18:30:58.964Z] b85a868b505f: Pulling fs layer [2023-01-11T18:30:58.964Z] e2be974225ed: Pulling fs layer [2023-01-11T18:30:58.964Z] 339a4e72a1f5: Pulling fs layer [2023-01-11T18:30:58.964Z] 988bab9f4d93: Pulling fs layer [2023-01-11T18:30:58.964Z] 1469e6f7b9e6: Pulling fs layer [2023-01-11T18:30:58.964Z] eaf3925da568: Pulling fs layer [2023-01-11T18:30:58.964Z] bab4dde63d76: Pulling fs layer [2023-01-11T18:30:58.964Z] bde34c3a00c8: Pulling fs layer [2023-01-11T18:30:58.964Z] b352a97aabf1: Pulling fs layer [2023-01-11T18:30:58.964Z] 4872d77fe225: Pulling fs layer [2023-01-11T18:30:58.964Z] 5851b861e8e6: Pulling fs layer [2023-01-11T18:30:58.964Z] 1469e6f7b9e6: Waiting [2023-01-11T18:30:58.964Z] eaf3925da568: Waiting [2023-01-11T18:30:58.964Z] bab4dde63d76: Waiting [2023-01-11T18:30:58.964Z] bde34c3a00c8: Waiting [2023-01-11T18:30:58.964Z] b352a97aabf1: Waiting [2023-01-11T18:30:58.964Z] 4872d77fe225: Waiting [2023-01-11T18:30:58.964Z] 5851b861e8e6: Waiting [2023-01-11T18:30:58.964Z] 988bab9f4d93: Waiting [2023-01-11T18:30:58.964Z] e2be974225ed: Verifying Checksum [2023-01-11T18:30:58.964Z] e2be974225ed: Download complete [2023-01-11T18:30:58.964Z] 988bab9f4d93: Verifying Checksum [2023-01-11T18:30:58.964Z] 988bab9f4d93: Download complete [2023-01-11T18:30:59.225Z] 1469e6f7b9e6: Verifying Checksum [2023-01-11T18:30:59.225Z] 1469e6f7b9e6: Download complete [2023-01-11T18:30:59.225Z] eaf3925da568: Verifying Checksum [2023-01-11T18:30:59.225Z] eaf3925da568: Download complete [2023-01-11T18:30:59.225Z] 339a4e72a1f5: Verifying Checksum [2023-01-11T18:30:59.225Z] 339a4e72a1f5: Download complete [2023-01-11T18:30:59.225Z] bde34c3a00c8: Verifying Checksum [2023-01-11T18:30:59.225Z] bde34c3a00c8: Download complete [2023-01-11T18:30:59.225Z] b352a97aabf1: Verifying Checksum [2023-01-11T18:30:59.225Z] b352a97aabf1: Download complete [2023-01-11T18:30:59.225Z] 4872d77fe225: Verifying Checksum [2023-01-11T18:30:59.225Z] 4872d77fe225: Download complete [2023-01-11T18:30:59.225Z] 5851b861e8e6: Verifying Checksum [2023-01-11T18:30:59.225Z] 5851b861e8e6: Download complete [2023-01-11T18:30:59.225Z] b85a868b505f: Verifying Checksum [2023-01-11T18:30:59.225Z] b85a868b505f: Download complete [2023-01-11T18:30:59.486Z] bab4dde63d76: Verifying Checksum [2023-01-11T18:30:59.486Z] bab4dde63d76: Download complete [2023-01-11T18:31:00.427Z] b85a868b505f: Pull complete [2023-01-11T18:31:00.686Z] e2be974225ed: Pull complete [2023-01-11T18:31:01.254Z] 339a4e72a1f5: Pull complete [2023-01-11T18:31:01.254Z] 988bab9f4d93: Pull complete [2023-01-11T18:31:01.514Z] 1469e6f7b9e6: Pull complete [2023-01-11T18:31:01.514Z] eaf3925da568: Pull complete [2023-01-11T18:31:03.425Z] bab4dde63d76: Pull complete [2023-01-11T18:31:03.425Z] bde34c3a00c8: Pull complete [2023-01-11T18:31:03.425Z] b352a97aabf1: Pull complete [2023-01-11T18:31:03.684Z] 4872d77fe225: Pull complete [2023-01-11T18:31:03.684Z] 5851b861e8e6: Pull complete [2023-01-11T18:31:03.685Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-11T18:31:03.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T18:31:03.685Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:31:03.776Z] prd-ubuntu20.04-docker-8c-8g-1915 does not seem to be running inside a container [2023-01-11T18:31:03.820Z] $ 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-01-11T18:31:05.155Z] $ docker top 3dc5639c47102d4a8c5fbba7d2e49d1cfb21a193aa4f76b0162601777ff9a7d8 -eo pid,comm [2023-01-11T18:31:05.207Z] 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-01-11T18:31:05.207Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T18:31:05.243Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T18:31:05.243Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T18:31:05.362Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T18:31:05.374Z] $ docker exec 3dc5639c47102d4a8c5fbba7d2e49d1cfb21a193aa4f76b0162601777ff9a7d8 ssh-agent [2023-01-11T18:31:05.479Z] SSH_AUTH_SOCK=/tmp/ssh-tjYGqhH7hUDJ/agent.34 [2023-01-11T18:31:05.479Z] SSH_AGENT_PID=40 [2023-01-11T18:31:05.485Z] Running ssh-add (command line suppressed) [2023-01-11T18:31:05.601Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1068640580421099010.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1068640580421099010.key) [2023-01-11T18:31:05.605Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T18:31:05.891Z] + git tag --points-at HEAD [Pipeline] } [2023-01-11T18:31:05.911Z] $ docker exec --env ******** --env ******** 3dc5639c47102d4a8c5fbba7d2e49d1cfb21a193aa4f76b0162601777ff9a7d8 ssh-agent -k [2023-01-11T18:31:06.003Z] unset SSH_AUTH_SOCK; [2023-01-11T18:31:06.004Z] unset SSH_AGENT_PID; [2023-01-11T18:31:06.004Z] echo Agent pid 40 killed; [2023-01-11T18:31:06.005Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-11T18:31:06.028Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T18:31:06.028Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T18:31:06.141Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T18:31:06.152Z] $ docker exec 3dc5639c47102d4a8c5fbba7d2e49d1cfb21a193aa4f76b0162601777ff9a7d8 ssh-agent [2023-01-11T18:31:06.252Z] SSH_AUTH_SOCK=/tmp/ssh-uju7zewuXj4u/agent.72 [2023-01-11T18:31:06.252Z] SSH_AGENT_PID=78 [2023-01-11T18:31:06.257Z] Running ssh-add (command line suppressed) [2023-01-11T18:31:06.368Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8128439018590619672.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8128439018590619672.key) [2023-01-11T18:31:06.375Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T18:31:06.662Z] + git semver init [2023-01-11T18:31:06.922Z] 2023-01-11 18:31:06,843 [run_init] DEBUG init version:0.0.0 force:False [2023-01-11T18:31:06.922Z] 2023-01-11 18:31:06,844 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-01-11T18:31:06.922Z] 2023-01-11 18:31:06,844 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-01-11T18:31:06.922Z] 2023-01-11 18:31:06,844 [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-01-11T18:31:07.863Z] 2023-01-11 18:31:07,809 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-01-11T18:31:07.863Z] 2023-01-11 18:31:07,809 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-01-11T18:31:07.863Z] 2023-01-11 18:31:07,809 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-11T18:31:07.863Z] 2023-01-11 18:31:07,810 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-11T18:31:07.863Z] 3.0.0-dev.5 [Pipeline] } [2023-01-11T18:31:07.881Z] $ docker exec --env ******** --env ******** 3dc5639c47102d4a8c5fbba7d2e49d1cfb21a193aa4f76b0162601777ff9a7d8 ssh-agent -k [2023-01-11T18:31:07.980Z] unset SSH_AUTH_SOCK; [2023-01-11T18:31:07.980Z] unset SSH_AGENT_PID; [2023-01-11T18:31:07.980Z] echo Agent pid 78 killed; [2023-01-11T18:31:07.981Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T18:31:08.287Z] + git semver [Pipeline] } [2023-01-11T18:31:08.567Z] $ docker stop --time=1 3dc5639c47102d4a8c5fbba7d2e49d1cfb21a193aa4f76b0162601777ff9a7d8 [2023-01-11T18:31:09.907Z] $ docker rm -f --volumes 3dc5639c47102d4a8c5fbba7d2e49d1cfb21a193aa4f76b0162601777ff9a7d8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T18:31:10.247Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-11T18:31:10.458Z] Stashed 1 file(s) [Pipeline] echo [2023-01-11T18:31:10.462Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.5 [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-01-11T18:31:10.576Z] provisioning config files... [2023-01-11T18:31:10.585Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15545908354900268333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:31:10.886Z] ---> docker-login.sh [2023-01-11T18:31:10.886Z] nexus3.edgexfoundry.org:10001 [2023-01-11T18:31:10.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:31:10.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:31:10.886Z] Configure a credential helper to remove this warning. See [2023-01-11T18:31:10.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:31:10.886Z] [2023-01-11T18:31:10.886Z] Login Succeeded [2023-01-11T18:31:10.886Z] nexus3.edgexfoundry.org:10002 [2023-01-11T18:31:10.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:31:10.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:31:10.886Z] Configure a credential helper to remove this warning. See [2023-01-11T18:31:10.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:31:10.886Z] [2023-01-11T18:31:10.886Z] Login Succeeded [2023-01-11T18:31:10.886Z] nexus3.edgexfoundry.org:10003 [2023-01-11T18:31:11.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:31:11.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:31:11.144Z] Configure a credential helper to remove this warning. See [2023-01-11T18:31:11.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:31:11.144Z] [2023-01-11T18:31:11.144Z] Login Succeeded [2023-01-11T18:31:11.144Z] nexus3.edgexfoundry.org:10004 [2023-01-11T18:31:11.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:31:11.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:31:11.144Z] Configure a credential helper to remove this warning. See [2023-01-11T18:31:11.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:31:11.144Z] [2023-01-11T18:31:11.144Z] Login Succeeded [2023-01-11T18:31:11.144Z] docker.io [2023-01-11T18:31:11.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:31:11.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:31:11.404Z] Configure a credential helper to remove this warning. See [2023-01-11T18:31:11.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:31:11.404Z] [2023-01-11T18:31:11.404Z] Login Succeeded [2023-01-11T18:31:11.404Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T18:31:11.410Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T18:31:11.463Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T18:31:11.474Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T18:31:11.481Z] ========================================================= [2023-01-11T18:31:11.481Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-11T18:31:11.481Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:31:11.783Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-11T18:31:11.783Z] Sending build context to Docker daemon 6.305MB [2023-01-11T18:31:11.783Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T18:31:11.783Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-11T18:31:11.783Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-11T18:31:11.783Z] 213ec9aee27d: Pulling fs layer [2023-01-11T18:31:11.783Z] 4583459ba037: Pulling fs layer [2023-01-11T18:31:11.783Z] 93c1e223e6f2: Pulling fs layer [2023-01-11T18:31:11.783Z] 53926ce57604: Pulling fs layer [2023-01-11T18:31:11.783Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-11T18:31:11.783Z] 22ff95d597cd: Pulling fs layer [2023-01-11T18:31:11.783Z] 12d6caf4c0d1: Pulling fs layer [2023-01-11T18:31:11.783Z] 96b7cbca73a9: Pulling fs layer [2023-01-11T18:31:11.783Z] a7acece74701: Pulling fs layer [2023-01-11T18:31:11.783Z] 21b2b0c7a3f4: Waiting [2023-01-11T18:31:11.783Z] 22ff95d597cd: Waiting [2023-01-11T18:31:11.783Z] 12d6caf4c0d1: Waiting [2023-01-11T18:31:11.783Z] 96b7cbca73a9: Waiting [2023-01-11T18:31:11.783Z] a7acece74701: Waiting [2023-01-11T18:31:11.783Z] 53926ce57604: Waiting [2023-01-11T18:31:11.783Z] 93c1e223e6f2: Verifying Checksum [2023-01-11T18:31:11.783Z] 93c1e223e6f2: Download complete [2023-01-11T18:31:11.783Z] 4583459ba037: Verifying Checksum [2023-01-11T18:31:11.783Z] 4583459ba037: Download complete [2023-01-11T18:31:11.783Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-11T18:31:11.783Z] 21b2b0c7a3f4: Download complete [2023-01-11T18:31:11.783Z] 22ff95d597cd: Download complete [2023-01-11T18:31:12.046Z] 213ec9aee27d: Verifying Checksum [2023-01-11T18:31:12.046Z] 213ec9aee27d: Download complete [2023-01-11T18:31:12.046Z] 12d6caf4c0d1: Download complete [2023-01-11T18:31:12.046Z] 213ec9aee27d: Pull complete [2023-01-11T18:31:12.313Z] 4583459ba037: Pull complete [2023-01-11T18:31:12.313Z] 93c1e223e6f2: Pull complete [2023-01-11T18:31:12.899Z] a7acece74701: Verifying Checksum [2023-01-11T18:31:12.899Z] a7acece74701: Download complete [2023-01-11T18:31:12.899Z] 96b7cbca73a9: Verifying Checksum [2023-01-11T18:31:12.899Z] 96b7cbca73a9: Download complete [2023-01-11T18:31:12.899Z] 53926ce57604: Verifying Checksum [2023-01-11T18:31:12.899Z] 53926ce57604: Download complete [2023-01-11T18:31:16.178Z] 53926ce57604: Pull complete [2023-01-11T18:31:16.178Z] 21b2b0c7a3f4: Pull complete [2023-01-11T18:31:16.178Z] 22ff95d597cd: Pull complete [2023-01-11T18:31:16.436Z] 12d6caf4c0d1: Pull complete [2023-01-11T18:31:18.334Z] 96b7cbca73a9: Pull complete [2023-01-11T18:31:19.270Z] a7acece74701: Pull complete [2023-01-11T18:31:19.270Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-11T18:31:19.270Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-11T18:31:19.270Z] ---> db6d94c90886 [2023-01-11T18:31:19.270Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-11T18:31:20.655Z] ---> Running in f749a5aa5ed8 [2023-01-11T18:31:20.655Z] Removing intermediate container f749a5aa5ed8 [2023-01-11T18:31:20.655Z] ---> cd3f804dad5b [2023-01-11T18:31:20.655Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T18:31:20.655Z] ---> Running in 0e7521b84e16 [2023-01-11T18:31:20.914Z] Removing intermediate container 0e7521b84e16 [2023-01-11T18:31:20.914Z] ---> 1cf93dea5961 [2023-01-11T18:31:20.914Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-01-11T18:31:20.914Z] ---> Running in 4c33da87d1fa [2023-01-11T18:31:21.173Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T18:31:21.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T18:31:21.691Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-11T18:31:21.691Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-11T18:31:21.691Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-11T18:31:21.691Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-11T18:31:21.691Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-11T18:31:21.691Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-11T18:31:21.691Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-11T18:31:21.691Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-11T18:31:21.691Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T18:31:21.691Z] OK: 217 MiB in 59 packages [2023-01-11T18:31:22.258Z] Removing intermediate container 4c33da87d1fa [2023-01-11T18:31:22.258Z] ---> 452f2ad9b54d [2023-01-11T18:31:22.258Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-11T18:31:22.258Z] ---> Running in 61c98eb35bf2 [2023-01-11T18:31:22.517Z] Removing intermediate container 61c98eb35bf2 [2023-01-11T18:31:22.517Z] ---> 29c9dd1b4c4b [2023-01-11T18:31:22.517Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-11T18:31:22.517Z] ---> d728356d0945 [2023-01-11T18:31:22.517Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T18:31:22.517Z] ---> Running in 07d055d976a5 [2023-01-11T18:31:25.546Z] Still waiting to schedule task [2023-01-11T18:31:25.546Z] ‘prd-centos7-blackbox-4c-2g-1315’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-11T18:31:25.546Z] ‘prd-centos7-blackbox-4c-2g-1316’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-11T18:31:25.546Z] ‘prd-ubuntu18.04-docker-8c-8g-1843’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-11T18:31:25.546Z] ‘prd-ubuntu20.04-docker-8c-8g-1916’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-11T18:31:25.547Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1913’ is offline [2023-01-11T18:31:25.547Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1914’ is offline [2023-01-11T18:31:40.611Z] Removing intermediate container 07d055d976a5 [2023-01-11T18:31:40.611Z] ---> b3498616af96 [2023-01-11T18:31:40.611Z] Step 9/10 : COPY . . [2023-01-11T18:31:40.611Z] ---> b507193fe6c1 [2023-01-11T18:31:40.611Z] Step 10/10 : RUN ${MAKE} [2023-01-11T18:31:40.611Z] ---> Running in 2200617ca0d6 [2023-01-11T18:31:40.611Z] noop [2023-01-11T18:31:40.611Z] Removing intermediate container 2200617ca0d6 [2023-01-11T18:31:40.611Z] ---> b671cda85328 [2023-01-11T18:31:40.611Z] Successfully built b671cda85328 [2023-01-11T18:31:40.611Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:31:40.924Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T18:31:40.925Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:31:40.995Z] prd-ubuntu20.04-docker-8c-8g-1915 does not seem to be running inside a container [2023-01-11T18:31:41.022Z] $ 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-01-11T18:31:41.377Z] $ docker top ff9ec4e3985fc4401baa013d165656c1f9d079fa6457b6081bc26b324cdbd390 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T18:31:41.767Z] + go version [2023-01-11T18:31:41.767Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-11T18:31:41.782Z] $ docker stop --time=1 ff9ec4e3985fc4401baa013d165656c1f9d079fa6457b6081bc26b324cdbd390 [2023-01-11T18:31:43.117Z] $ docker rm -f --volumes ff9ec4e3985fc4401baa013d165656c1f9d079fa6457b6081bc26b324cdbd390 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:31:43.517Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T18:31:43.517Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:31:43.590Z] prd-ubuntu20.04-docker-8c-8g-1915 does not seem to be running inside a container [2023-01-11T18:31:43.620Z] $ 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-01-11T18:31:44.014Z] $ docker top 4841bc5d03010cf199c9655f5724617a4aaf636ab480066567838cc9b437ebc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T18:31:44.362Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-01-11T18:31:44.659Z] + make test [2023-01-11T18:31:44.659Z] go test ./... -coverprofile=coverage.out [2023-01-11T18:31:45.230Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-11T18:31:55.192Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-11T18:31:55.192Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 47.7% of statements [2023-01-11T18:32:00.466Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-11T18:32:00.466Z] go vet ./... [2023-01-11T18:32:02.996Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T18:32:02.996Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T18:32:02.996Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T18:32:03.007Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T18:32:03.023Z] $ docker stop --time=1 4841bc5d03010cf199c9655f5724617a4aaf636ab480066567838cc9b437ebc6 [2023-01-11T18:32:04.902Z] $ docker rm -f --volumes 4841bc5d03010cf199c9655f5724617a4aaf636ab480066567838cc9b437ebc6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T18:32:05.307Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T18:32:05.345Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-11T18:32:05.797Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T18:32:06.080Z] + ls -al . [2023-01-11T18:32:06.080Z] total 196 [2023-01-11T18:32:06.080Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 18:31 . [2023-01-11T18:32:06.080Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:30 .. [2023-01-11T18:32:06.080Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 18:30 .dockerignore [2023-01-11T18:32:06.080Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 18:31 .git [2023-01-11T18:32:06.080Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:30 .github [2023-01-11T18:32:06.080Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 11 18:30 .gitignore [2023-01-11T18:32:06.080Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 18:30 .golangci.yml [2023-01-11T18:32:06.080Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 18:31 .semver [2023-01-11T18:32:06.080Z] -rw-rw-r-- 1 jenkins jenkins 10017 Jan 11 18:30 Attribution.txt [2023-01-11T18:32:06.080Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 11 18:30 CHANGELOG.md [2023-01-11T18:32:06.080Z] -rw-rw-r-- 1 jenkins jenkins 1365 Jan 11 18:30 Dockerfile [2023-01-11T18:32:06.080Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 18:30 GOVERNANCE.md [2023-01-11T18:32:06.080Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 11 18:30 Jenkinsfile [2023-01-11T18:32:06.080Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 18:30 LICENSE [2023-01-11T18:32:06.080Z] -rw-rw-r-- 1 jenkins jenkins 1670 Jan 11 18:30 Makefile [2023-01-11T18:32:06.080Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 11 18:30 OWNERS.md [2023-01-11T18:32:06.080Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 11 18:30 README.md [2023-01-11T18:32:06.080Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 11 18:31 VERSION [2023-01-11T18:32:06.080Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 18:30 bin [2023-01-11T18:32:06.080Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:30 cmd [2023-01-11T18:32:06.080Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 11 18:31 coverage.out [2023-01-11T18:32:06.080Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 11 18:30 go.mod [2023-01-11T18:32:06.080Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 11 18:30 go.sum [2023-01-11T18:32:06.080Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:30 internal [2023-01-11T18:32:06.080Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 18:30 simulator [2023-01-11T18:32:06.080Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:30 snap [2023-01-11T18:32:06.080Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 11 18:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:32:06.385Z] + 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=8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 --label arch=amd64 --label version=3.0.0-dev.5 . [2023-01-11T18:32:06.385Z] Sending build context to Docker daemon 6.329MB [2023-01-11T18:32:06.385Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T18:32:06.385Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-11T18:32:06.385Z] ---> b671cda85328 [2023-01-11T18:32:06.385Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-11T18:32:06.385Z] ---> Running in 54fedd82544a [2023-01-11T18:32:06.645Z] Removing intermediate container 54fedd82544a [2023-01-11T18:32:06.645Z] ---> 693a9396da66 [2023-01-11T18:32:06.645Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T18:32:06.645Z] ---> Running in f7fbea620f89 [2023-01-11T18:32:06.645Z] Removing intermediate container f7fbea620f89 [2023-01-11T18:32:06.645Z] ---> e867a8275e1e [2023-01-11T18:32:06.645Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-01-11T18:32:06.645Z] ---> Running in 5096a7cb99f8 [2023-01-11T18:32:06.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T18:32:07.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T18:32:07.424Z] OK: 217 MiB in 59 packages [2023-01-11T18:32:07.684Z] Removing intermediate container 5096a7cb99f8 [2023-01-11T18:32:07.684Z] ---> 7d24f6718a82 [2023-01-11T18:32:07.684Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-11T18:32:07.946Z] ---> Running in 2923dbce246e [2023-01-11T18:32:07.946Z] Removing intermediate container 2923dbce246e [2023-01-11T18:32:07.946Z] ---> dcbb93c35798 [2023-01-11T18:32:07.946Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-11T18:32:07.946Z] ---> 3369a0717277 [2023-01-11T18:32:07.946Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T18:32:08.204Z] ---> Running in 4937b09b0ed5 [2023-01-11T18:32:08.770Z] Removing intermediate container 4937b09b0ed5 [2023-01-11T18:32:08.770Z] ---> 96e11e080814 [2023-01-11T18:32:08.770Z] Step 9/22 : COPY . . [2023-01-11T18:32:09.029Z] ---> 3029e670869f [2023-01-11T18:32:09.029Z] Step 10/22 : RUN ${MAKE} [2023-01-11T18:32:09.286Z] ---> Running in 31c59634ef49 [2023-01-11T18:32:09.544Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.5" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-01-11T18:32:27.618Z] Removing intermediate container 31c59634ef49 [2023-01-11T18:32:27.618Z] ---> 224007473f04 [2023-01-11T18:32:27.618Z] Step 11/22 : FROM alpine:3.14 [2023-01-11T18:32:27.618Z] 3.14: Pulling from library/alpine [2023-01-11T18:32:27.618Z] c7ed990a2339: Pulling fs layer [2023-01-11T18:32:27.618Z] c7ed990a2339: Verifying Checksum [2023-01-11T18:32:27.618Z] c7ed990a2339: Download complete [2023-01-11T18:32:27.618Z] c7ed990a2339: Pull complete [2023-01-11T18:32:27.618Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-11T18:32:27.618Z] Status: Downloaded newer image for alpine:3.14 [2023-01-11T18:32:27.618Z] ---> dd53f409bf0b [2023-01-11T18:32:27.618Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-11T18:32:27.618Z] ---> Running in 962d0b2495a5 [2023-01-11T18:32:27.618Z] Removing intermediate container 962d0b2495a5 [2023-01-11T18:32:27.618Z] ---> 985d2ace9cc4 [2023-01-11T18:32:27.618Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-01-11T18:32:27.618Z] ---> Running in 743f62c02757 [2023-01-11T18:32:27.618Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-01-11T18:32:27.618Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-01-11T18:32:27.618Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-11T18:32:27.618Z] Executing busybox-1.33.1-r8.trigger [2023-01-11T18:32:27.618Z] OK: 6 MiB in 15 packages [2023-01-11T18:32:27.618Z] Removing intermediate container 743f62c02757 [2023-01-11T18:32:27.618Z] ---> f7acfe77ad6b [2023-01-11T18:32:27.618Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-11T18:32:28.185Z] ---> d78268958ee5 [2023-01-11T18:32:28.185Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-11T18:32:28.185Z] ---> e21258f1f51a [2023-01-11T18:32:28.185Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-11T18:32:28.444Z] ---> 53b6e3709e8a [2023-01-11T18:32:28.444Z] Step 17/22 : EXPOSE 59901 [2023-01-11T18:32:28.444Z] ---> Running in 0d0b53104e04 [2023-01-11T18:32:28.444Z] Removing intermediate container 0d0b53104e04 [2023-01-11T18:32:28.444Z] ---> 918bb1776bdd [2023-01-11T18:32:28.444Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-11T18:32:28.444Z] ---> Running in 41147153263b [2023-01-11T18:32:28.702Z] Removing intermediate container 41147153263b [2023-01-11T18:32:28.702Z] ---> 5a76cdbd2920 [2023-01-11T18:32:28.702Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-11T18:32:28.703Z] ---> Running in 340822f70d60 [2023-01-11T18:32:28.703Z] Removing intermediate container 340822f70d60 [2023-01-11T18:32:28.703Z] ---> e390c2cdebd2 [2023-01-11T18:32:28.703Z] Step 20/22 : LABEL arch=amd64 [2023-01-11T18:32:28.703Z] ---> Running in b87b2d217b7e [2023-01-11T18:32:28.961Z] Removing intermediate container b87b2d217b7e [2023-01-11T18:32:28.961Z] ---> f21b04f5846a [2023-01-11T18:32:28.961Z] Step 21/22 : LABEL git_sha=8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [2023-01-11T18:32:28.961Z] ---> Running in 1f666a5d3205 [2023-01-11T18:32:28.961Z] Removing intermediate container 1f666a5d3205 [2023-01-11T18:32:28.961Z] ---> 60bdcbceb2b0 [2023-01-11T18:32:28.961Z] Step 22/22 : LABEL version=3.0.0-dev.5 [2023-01-11T18:32:28.961Z] ---> Running in b560013145c6 [2023-01-11T18:32:29.219Z] Removing intermediate container b560013145c6 [2023-01-11T18:32:29.219Z] ---> b5025c442f94 [2023-01-11T18:32:29.219Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T18:32:29.219Z] Successfully built b5025c442f94 [2023-01-11T18:32:29.219Z] 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-01-11T18:32:29.318Z] provisioning config files... [2023-01-11T18:32:29.329Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16447593562663585449tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:32:29.648Z] ---> docker-login.sh [2023-01-11T18:32:29.648Z] nexus3.edgexfoundry.org:10001 [2023-01-11T18:32:29.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:32:29.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:32:29.648Z] Configure a credential helper to remove this warning. See [2023-01-11T18:32:29.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:32:29.648Z] [2023-01-11T18:32:29.648Z] Login Succeeded [2023-01-11T18:32:29.648Z] nexus3.edgexfoundry.org:10002 [2023-01-11T18:32:29.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:32:29.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:32:29.648Z] Configure a credential helper to remove this warning. See [2023-01-11T18:32:29.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:32:29.648Z] [2023-01-11T18:32:29.648Z] Login Succeeded [2023-01-11T18:32:29.648Z] nexus3.edgexfoundry.org:10003 [2023-01-11T18:32:29.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:32:29.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:32:29.925Z] Configure a credential helper to remove this warning. See [2023-01-11T18:32:29.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:32:29.925Z] [2023-01-11T18:32:29.925Z] Login Succeeded [2023-01-11T18:32:29.925Z] nexus3.edgexfoundry.org:10004 [2023-01-11T18:32:29.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:32:29.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:32:29.925Z] Configure a credential helper to remove this warning. See [2023-01-11T18:32:29.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:32:29.925Z] [2023-01-11T18:32:29.925Z] Login Succeeded [2023-01-11T18:32:29.925Z] docker.io [2023-01-11T18:32:29.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:32:30.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:32:30.212Z] Configure a credential helper to remove this warning. See [2023-01-11T18:32:30.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:32:30.212Z] [2023-01-11T18:32:30.212Z] Login Succeeded [2023-01-11T18:32:30.212Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T18:32:30.228Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-11T18:32:30.307Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T18:32:30.332Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-01-11T18:32:30.332Z] 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [2023-01-11T18:32:30.332Z] latest [2023-01-11T18:32:30.332Z] 3.0.0-dev.5 [2023-01-11T18:32:30.332Z] 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1-3.0.0-dev.5 [2023-01-11T18:32:30.332Z] main [2023-01-11T18:32:30.332Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:32:30.701Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:32:31.009Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [2023-01-11T18:32:31.009Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-01-11T18:32:31.009Z] 1670e72ab175: Preparing [2023-01-11T18:32:31.009Z] b6a1ea8eec6b: Preparing [2023-01-11T18:32:31.009Z] d35703917410: Preparing [2023-01-11T18:32:31.009Z] ab2e75c64e53: Preparing [2023-01-11T18:32:31.009Z] 63493a9ab2d4: Preparing [2023-01-11T18:32:31.009Z] 63493a9ab2d4: Layer already exists [2023-01-11T18:32:31.009Z] ab2e75c64e53: Pushed [2023-01-11T18:32:31.009Z] b6a1ea8eec6b: Pushed [2023-01-11T18:32:31.009Z] 1670e72ab175: Pushed [2023-01-11T18:32:33.540Z] d35703917410: Pushed [2023-01-11T18:32:33.540Z] 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1: digest: sha256:279d850b4700df44a9a97e255ababd253f91ff81f05bd4fdf22632736e4da57c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:32:33.855Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:32:34.158Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-01-11T18:32:34.158Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-01-11T18:32:34.158Z] 1670e72ab175: Preparing [2023-01-11T18:32:34.158Z] b6a1ea8eec6b: Preparing [2023-01-11T18:32:34.158Z] d35703917410: Preparing [2023-01-11T18:32:34.158Z] ab2e75c64e53: Preparing [2023-01-11T18:32:34.158Z] 63493a9ab2d4: Preparing [2023-01-11T18:32:34.158Z] b6a1ea8eec6b: Layer already exists [2023-01-11T18:32:34.158Z] 63493a9ab2d4: Layer already exists [2023-01-11T18:32:34.158Z] 1670e72ab175: Layer already exists [2023-01-11T18:32:34.158Z] d35703917410: Layer already exists [2023-01-11T18:32:34.158Z] ab2e75c64e53: Layer already exists [2023-01-11T18:32:34.158Z] latest: digest: sha256:279d850b4700df44a9a97e255ababd253f91ff81f05bd4fdf22632736e4da57c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:32:34.472Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:32:34.773Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.5 [2023-01-11T18:32:34.773Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-01-11T18:32:34.773Z] 1670e72ab175: Preparing [2023-01-11T18:32:34.773Z] b6a1ea8eec6b: Preparing [2023-01-11T18:32:34.773Z] d35703917410: Preparing [2023-01-11T18:32:34.773Z] ab2e75c64e53: Preparing [2023-01-11T18:32:34.773Z] 63493a9ab2d4: Preparing [2023-01-11T18:32:34.773Z] 1670e72ab175: Layer already exists [2023-01-11T18:32:34.773Z] b6a1ea8eec6b: Layer already exists [2023-01-11T18:32:34.773Z] d35703917410: Layer already exists [2023-01-11T18:32:34.773Z] 63493a9ab2d4: Layer already exists [2023-01-11T18:32:34.773Z] ab2e75c64e53: Layer already exists [2023-01-11T18:32:34.773Z] 3.0.0-dev.5: digest: sha256:279d850b4700df44a9a97e255ababd253f91ff81f05bd4fdf22632736e4da57c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:32:35.081Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1-3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:32:35.384Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1-3.0.0-dev.5 [2023-01-11T18:32:35.384Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-01-11T18:32:35.384Z] 1670e72ab175: Preparing [2023-01-11T18:32:35.384Z] b6a1ea8eec6b: Preparing [2023-01-11T18:32:35.384Z] d35703917410: Preparing [2023-01-11T18:32:35.384Z] ab2e75c64e53: Preparing [2023-01-11T18:32:35.384Z] 63493a9ab2d4: Preparing [2023-01-11T18:32:35.384Z] ab2e75c64e53: Layer already exists [2023-01-11T18:32:35.384Z] 63493a9ab2d4: Layer already exists [2023-01-11T18:32:35.384Z] d35703917410: Layer already exists [2023-01-11T18:32:35.384Z] 1670e72ab175: Layer already exists [2023-01-11T18:32:35.384Z] b6a1ea8eec6b: Layer already exists [2023-01-11T18:32:35.384Z] 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1-3.0.0-dev.5: digest: sha256:279d850b4700df44a9a97e255ababd253f91ff81f05bd4fdf22632736e4da57c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:32:35.689Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:32:36.005Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-01-11T18:32:36.005Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-01-11T18:32:36.005Z] 1670e72ab175: Preparing [2023-01-11T18:32:36.005Z] b6a1ea8eec6b: Preparing [2023-01-11T18:32:36.005Z] d35703917410: Preparing [2023-01-11T18:32:36.005Z] ab2e75c64e53: Preparing [2023-01-11T18:32:36.005Z] 63493a9ab2d4: Preparing [2023-01-11T18:32:36.005Z] ab2e75c64e53: Layer already exists [2023-01-11T18:32:36.005Z] 1670e72ab175: Layer already exists [2023-01-11T18:32:36.005Z] b6a1ea8eec6b: Layer already exists [2023-01-11T18:32:36.005Z] d35703917410: Layer already exists [2023-01-11T18:32:36.005Z] 63493a9ab2d4: Layer already exists [2023-01-11T18:32:36.005Z] main: digest: sha256:279d850b4700df44a9a97e255ababd253f91ff81f05bd4fdf22632736e4da57c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-11T18:32:36.055Z] ===================================================== [Pipeline] echo [2023-01-11T18:32:36.065Z] taggedImages: [2023-01-11T18:32:36.065Z] - nexus3.edgexfoundry.org:10004/device-modbus:8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [2023-01-11T18:32:36.065Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-01-11T18:32:36.065Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.5 [2023-01-11T18:32:36.065Z] - nexus3.edgexfoundry.org:10004/device-modbus:8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1-3.0.0-dev.5 [2023-01-11T18:32:36.065Z] - 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-01-11T18:32:36.425Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T18:32:36.425Z] [2023-01-11T18:32:36.425Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:32:36.723Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T18:32:36.723Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-11T18:32:36.723Z] 5eb5b503b376: Pulling fs layer [2023-01-11T18:32:36.723Z] 5c69ac0246d0: Pulling fs layer [2023-01-11T18:32:36.723Z] ec43610c2a17: Pulling fs layer [2023-01-11T18:32:36.723Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-11T18:32:36.723Z] 33b1e0a273af: Pulling fs layer [2023-01-11T18:32:36.723Z] 5d3b04190fa2: Pulling fs layer [2023-01-11T18:32:36.723Z] 2f39f015ded8: Pulling fs layer [2023-01-11T18:32:36.723Z] 33b1e0a273af: Waiting [2023-01-11T18:32:36.723Z] 5d3b04190fa2: Waiting [2023-01-11T18:32:36.723Z] 2f39f015ded8: Waiting [2023-01-11T18:32:36.723Z] 3a2ae6a8a46f: Waiting [2023-01-11T18:32:36.723Z] 5c69ac0246d0: Verifying Checksum [2023-01-11T18:32:36.723Z] 5c69ac0246d0: Download complete [2023-01-11T18:32:36.723Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-11T18:32:36.723Z] 3a2ae6a8a46f: Download complete [2023-01-11T18:32:36.985Z] 33b1e0a273af: Verifying Checksum [2023-01-11T18:32:36.985Z] 33b1e0a273af: Download complete [2023-01-11T18:32:36.985Z] ec43610c2a17: Verifying Checksum [2023-01-11T18:32:36.985Z] ec43610c2a17: Download complete [2023-01-11T18:32:36.985Z] 5d3b04190fa2: Verifying Checksum [2023-01-11T18:32:36.985Z] 5d3b04190fa2: Download complete [2023-01-11T18:32:36.985Z] 5eb5b503b376: Verifying Checksum [2023-01-11T18:32:36.985Z] 5eb5b503b376: Download complete [2023-01-11T18:32:37.570Z] 2f39f015ded8: Download complete [2023-01-11T18:32:38.136Z] 5eb5b503b376: Pull complete [2023-01-11T18:32:38.393Z] 5c69ac0246d0: Pull complete [2023-01-11T18:32:38.971Z] ec43610c2a17: Pull complete [2023-01-11T18:32:38.971Z] 3a2ae6a8a46f: Pull complete [2023-01-11T18:32:38.971Z] 33b1e0a273af: Pull complete [2023-01-11T18:32:39.228Z] 5d3b04190fa2: Pull complete [2023-01-11T18:32:43.412Z] 2f39f015ded8: Pull complete [2023-01-11T18:32:43.412Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-11T18:32:43.412Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T18:32:43.412Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:32:43.483Z] prd-ubuntu20.04-docker-8c-8g-1915 does not seem to be running inside a container [2023-01-11T18:32:43.516Z] $ 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-01-11T18:32:45.862Z] $ docker top 3111402a2801bf3baca5c91443d2038c35f5480d59e35bf4216880db253ed30d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:32:46.245Z] ---> job-cost.sh [2023-01-11T18:32:46.245Z] lf-activate-venv: SKIPPING [2023-01-11T18:32:46.245Z] INFO: No Stack... [2023-01-11T18:32:46.504Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T18:32:46.765Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T18:32:47.056Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-01-11T18:32:47.056Z] + cut -d, -f6 [Pipeline] lock [2023-01-11T18:32:47.072Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-71-stack-cost] [2023-01-11T18:32:47.080Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-71-stack-cost] did not exist. Created. [2023-01-11T18:32:47.080Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T18:32:47.379Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-11T18:32:47.415Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T18:32:47.420Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-71-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T18:32:47.439Z] $ docker stop --time=1 3111402a2801bf3baca5c91443d2038c35f5480d59e35bf4216880db253ed30d [2023-01-11T18:32:48.601Z] $ docker rm -f --volumes 3111402a2801bf3baca5c91443d2038c35f5480d59e35bf4216880db253ed30d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-11T18:33:55.840Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1917 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-01-11T18:33:55.854Z] Running in /w/workspace/device-modbus-go/71 [Pipeline] { [Pipeline] checkout [2023-01-11T18:33:55.896Z] Selected Git installation does not exist. Using Default [2023-01-11T18:33:55.896Z] The recommended git tool is: NONE [2023-01-11T18:34:02.680Z] using credential edgex-jenkins-ssh [2023-01-11T18:34:02.705Z] Cloning the remote Git repository [2023-01-11T18:34:02.765Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-01-11T18:34:02.858Z] > git init /w/workspace/device-modbus-go/71 # timeout=10 [2023-01-11T18:34:03.062Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-01-11T18:34:03.064Z] > git --version # timeout=10 [2023-01-11T18:34:03.092Z] > git --version # 'git version 2.25.1' [2023-01-11T18:34:03.094Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T18:34:03.175Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T18:34:04.389Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-01-11T18:34:04.414Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T18:34:05.460Z] Avoid second fetch [2023-01-11T18:34:05.461Z] Checking out Revision 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 (main) [2023-01-11T18:34:06.144Z] Commit message: "refactor!: Rework code for refactored MessageBus Configuration (#399)" [2023-01-11T18:34:05.483Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T18:34:05.505Z] > git checkout -f 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T18:34:07.251Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-11T18:34:07.251Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T18:34:07.251Z] Dload Upload Total Spent Left Speed [2023-01-11T18:34:07.251Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 153k 0 --:--:-- --:--:-- --:--:-- 155k [Pipeline] sh [2023-01-11T18:34:08.010Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-11T18:34:08.372Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-11T18:34:08.372Z] + sudo tee /etc/docker/daemon.new [2023-01-11T18:34:08.372Z] { [2023-01-11T18:34:08.372Z] "registry-mirrors": [ [2023-01-11T18:34:08.372Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-11T18:34:08.372Z] ], [2023-01-11T18:34:08.372Z] "bip": "10.250.0.254/24", [2023-01-11T18:34:08.372Z] "hosts": [ [2023-01-11T18:34:08.372Z] "tcp://0.0.0.0:5555", [2023-01-11T18:34:08.372Z] "unix:///var/run/docker.sock" [2023-01-11T18:34:08.372Z] ], [2023-01-11T18:34:08.372Z] "mtu": 1458, [2023-01-11T18:34:08.372Z] "selinux-enabled": true, [2023-01-11T18:34:08.372Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-11T18:34:08.372Z] } [Pipeline] sh [2023-01-11T18:34:08.728Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-11T18:34:09.097Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T18:34:27.429Z] provisioning config files... [2023-01-11T18:34:27.466Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/71@tmp/config12918876937209541782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:34:27.851Z] ---> docker-login.sh [2023-01-11T18:34:27.851Z] nexus3.edgexfoundry.org:10001 [2023-01-11T18:34:28.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:34:28.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:34:28.733Z] Configure a credential helper to remove this warning. See [2023-01-11T18:34:28.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:34:28.733Z] [2023-01-11T18:34:28.733Z] Login Succeeded [2023-01-11T18:34:28.733Z] nexus3.edgexfoundry.org:10002 [2023-01-11T18:34:29.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:34:29.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:34:29.009Z] Configure a credential helper to remove this warning. See [2023-01-11T18:34:29.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:34:29.009Z] [2023-01-11T18:34:29.009Z] Login Succeeded [2023-01-11T18:34:29.009Z] nexus3.edgexfoundry.org:10003 [2023-01-11T18:34:29.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:34:29.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:34:29.555Z] Configure a credential helper to remove this warning. See [2023-01-11T18:34:29.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:34:29.555Z] [2023-01-11T18:34:29.555Z] Login Succeeded [2023-01-11T18:34:29.555Z] nexus3.edgexfoundry.org:10004 [2023-01-11T18:34:29.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:34:29.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:34:29.831Z] Configure a credential helper to remove this warning. See [2023-01-11T18:34:29.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:34:29.831Z] [2023-01-11T18:34:29.831Z] Login Succeeded [2023-01-11T18:34:29.831Z] docker.io [2023-01-11T18:34:30.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:34:30.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:34:30.383Z] Configure a credential helper to remove this warning. See [2023-01-11T18:34:30.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:34:30.383Z] [2023-01-11T18:34:30.383Z] Login Succeeded [2023-01-11T18:34:30.383Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T18:34:30.402Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T18:34:30.722Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T18:34:30.739Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T18:34:30.752Z] ========================================================= [2023-01-11T18:34:30.752Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-11T18:34:30.752Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:34:31.123Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-11T18:34:31.396Z] Sending build context to Docker daemon 3.281MB [2023-01-11T18:34:31.396Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T18:34:31.396Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-11T18:34:31.672Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-11T18:34:31.672Z] 9b18e9b68314: Pulling fs layer [2023-01-11T18:34:31.672Z] 35d82f9e3411: Pulling fs layer [2023-01-11T18:34:31.672Z] e16973657156: Pulling fs layer [2023-01-11T18:34:31.672Z] fc693d55d65f: Pulling fs layer [2023-01-11T18:34:31.672Z] 7e9fc2657dce: Pulling fs layer [2023-01-11T18:34:31.672Z] dda99020689f: Pulling fs layer [2023-01-11T18:34:31.672Z] db1c61fa0a46: Pulling fs layer [2023-01-11T18:34:31.672Z] 891c053d2c06: Pulling fs layer [2023-01-11T18:34:31.672Z] dda99020689f: Waiting [2023-01-11T18:34:31.672Z] db1c61fa0a46: Waiting [2023-01-11T18:34:31.672Z] 891c053d2c06: Waiting [2023-01-11T18:34:31.672Z] fc693d55d65f: Waiting [2023-01-11T18:34:31.672Z] 7e9fc2657dce: Waiting [2023-01-11T18:34:31.672Z] e16973657156: Verifying Checksum [2023-01-11T18:34:31.672Z] e16973657156: Download complete [2023-01-11T18:34:31.672Z] 35d82f9e3411: Verifying Checksum [2023-01-11T18:34:31.672Z] 35d82f9e3411: Download complete [2023-01-11T18:34:31.672Z] 7e9fc2657dce: Verifying Checksum [2023-01-11T18:34:31.672Z] 7e9fc2657dce: Download complete [2023-01-11T18:34:31.672Z] dda99020689f: Verifying Checksum [2023-01-11T18:34:31.672Z] dda99020689f: Download complete [2023-01-11T18:34:31.672Z] 9b18e9b68314: Download complete [2023-01-11T18:34:33.120Z] 891c053d2c06: Verifying Checksum [2023-01-11T18:34:33.120Z] 891c053d2c06: Download complete [2023-01-11T18:34:33.120Z] 9b18e9b68314: Pull complete [2023-01-11T18:34:33.726Z] 35d82f9e3411: Pull complete [2023-01-11T18:34:34.003Z] e16973657156: Pull complete [2023-01-11T18:34:34.608Z] db1c61fa0a46: Verifying Checksum [2023-01-11T18:34:34.608Z] db1c61fa0a46: Download complete [2023-01-11T18:34:35.205Z] fc693d55d65f: Verifying Checksum [2023-01-11T18:34:35.205Z] fc693d55d65f: Download complete [2023-01-11T18:34:47.588Z] fc693d55d65f: Pull complete [2023-01-11T18:34:47.588Z] 7e9fc2657dce: Pull complete [2023-01-11T18:34:47.860Z] dda99020689f: Pull complete [2023-01-11T18:34:56.123Z] db1c61fa0a46: Pull complete [2023-01-11T18:34:57.097Z] 891c053d2c06: Pull complete [2023-01-11T18:34:57.097Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-11T18:34:57.097Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-11T18:34:57.097Z] ---> f96f9c87975a [2023-01-11T18:34:57.097Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-11T18:34:58.087Z] ---> Running in 31009a81fe0e [2023-01-11T18:34:58.362Z] Removing intermediate container 31009a81fe0e [2023-01-11T18:34:58.362Z] ---> 4794eea6cd3a [2023-01-11T18:34:58.362Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T18:34:58.633Z] ---> Running in fa2af9d6ce53 [2023-01-11T18:34:58.920Z] Removing intermediate container fa2af9d6ce53 [2023-01-11T18:34:58.920Z] ---> 14084c07e379 [2023-01-11T18:34:58.920Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-01-11T18:34:58.920Z] ---> Running in 73149ed7097c [2023-01-11T18:35:00.341Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T18:35:00.612Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T18:35:02.036Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-11T18:35:02.036Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-11T18:35:02.036Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-11T18:35:02.036Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-11T18:35:02.036Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-11T18:35:02.036Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-11T18:35:02.036Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-11T18:35:02.036Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-11T18:35:02.036Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T18:35:02.036Z] OK: 228 MiB in 59 packages [2023-01-11T18:35:03.455Z] Removing intermediate container 73149ed7097c [2023-01-11T18:35:03.455Z] ---> cf5adce598af [2023-01-11T18:35:03.455Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-11T18:35:03.455Z] ---> Running in 0aadc985b04f [2023-01-11T18:35:03.725Z] Removing intermediate container 0aadc985b04f [2023-01-11T18:35:03.725Z] ---> 11fc00156b96 [2023-01-11T18:35:03.725Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-11T18:35:04.312Z] ---> fa90c735667c [2023-01-11T18:35:04.312Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T18:35:04.582Z] ---> Running in a077be8d3aff [2023-01-11T18:36:01.186Z] Removing intermediate container a077be8d3aff [2023-01-11T18:36:01.186Z] ---> b9fcb47aebe1 [2023-01-11T18:36:01.186Z] Step 9/10 : COPY . . [2023-01-11T18:36:02.184Z] ---> 9cc3592ed782 [2023-01-11T18:36:02.184Z] Step 10/10 : RUN ${MAKE} [2023-01-11T18:36:02.464Z] ---> Running in 4ea3fb6d9d40 [2023-01-11T18:36:03.438Z] noop [2023-01-11T18:36:04.027Z] Removing intermediate container 4ea3fb6d9d40 [2023-01-11T18:36:04.027Z] ---> c7e3879ac856 [2023-01-11T18:36:04.027Z] Successfully built c7e3879ac856 [2023-01-11T18:36:04.027Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:36:04.388Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T18:36:04.388Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:36:04.623Z] prd-ubuntu20.04-docker-arm64-4c-16g-1917 does not seem to be running inside a container [2023-01-11T18:36:04.712Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/71 -v /w/workspace/device-modbus-go/71:/w/workspace/device-modbus-go/71:rw,z -v /w/workspace/device-modbus-go/71@tmp:/w/workspace/device-modbus-go/71@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-01-11T18:36:06.018Z] $ docker top 752823f4b9e77697fbcf39d2d11c1890c2497e46d5ad9b5f1bcbb7144ef9fc95 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T18:36:06.895Z] + go version [2023-01-11T18:36:06.895Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-11T18:36:06.923Z] $ docker stop --time=1 752823f4b9e77697fbcf39d2d11c1890c2497e46d5ad9b5f1bcbb7144ef9fc95 [2023-01-11T18:36:08.626Z] $ docker rm -f --volumes 752823f4b9e77697fbcf39d2d11c1890c2497e46d5ad9b5f1bcbb7144ef9fc95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:36:09.228Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T18:36:09.228Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:36:09.440Z] prd-ubuntu20.04-docker-arm64-4c-16g-1917 does not seem to be running inside a container [2023-01-11T18:36:09.529Z] $ 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/71 -v /w/workspace/device-modbus-go/71:/w/workspace/device-modbus-go/71:rw,z -v /w/workspace/device-modbus-go/71@tmp:/w/workspace/device-modbus-go/71@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-01-11T18:36:10.854Z] $ docker top 5864b97c853b24b013d0bee94f8ffd6e07ee9f9d364fb95f26b8a2466ba722c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T18:36:11.725Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/71 [Pipeline] fileExists [Pipeline] sh [2023-01-11T18:36:12.392Z] + make test [2023-01-11T18:36:12.392Z] go test ./... -coverprofile=coverage.out [2023-01-11T18:36:14.350Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-11T18:37:51.093Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-11T18:37:51.093Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.071s coverage: 47.7% of statements [2023-01-11T18:37:51.093Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-11T18:37:51.093Z] go vet ./... [2023-01-11T18:38:23.386Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T18:38:23.386Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T18:38:23.386Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T18:38:23.407Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T18:38:23.424Z] $ docker stop --time=1 5864b97c853b24b013d0bee94f8ffd6e07ee9f9d364fb95f26b8a2466ba722c9 [2023-01-11T18:38:25.401Z] $ docker rm -f --volumes 5864b97c853b24b013d0bee94f8ffd6e07ee9f9d364fb95f26b8a2466ba722c9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T18:38:26.546Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T18:38:26.573Z] Warning: overwriting stash ‘coverage-report’ [2023-01-11T18:38:27.222Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T18:38:27.650Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T18:38:28.010Z] + ls -al . [2023-01-11T18:38:28.010Z] total 192 [2023-01-11T18:38:28.010Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 18:36 . [2023-01-11T18:38:28.010Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:34 .. [2023-01-11T18:38:28.010Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 18:34 .dockerignore [2023-01-11T18:38:28.010Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 18:34 .git [2023-01-11T18:38:28.010Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:34 .github [2023-01-11T18:38:28.010Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 11 18:34 .gitignore [2023-01-11T18:38:28.010Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 18:34 .golangci.yml [2023-01-11T18:38:28.010Z] -rw-rw-r-- 1 jenkins jenkins 10017 Jan 11 18:34 Attribution.txt [2023-01-11T18:38:28.010Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 11 18:34 CHANGELOG.md [2023-01-11T18:38:28.010Z] -rw-rw-r-- 1 jenkins jenkins 1365 Jan 11 18:34 Dockerfile [2023-01-11T18:38:28.010Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 18:34 GOVERNANCE.md [2023-01-11T18:38:28.010Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 11 18:34 Jenkinsfile [2023-01-11T18:38:28.010Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 18:34 LICENSE [2023-01-11T18:38:28.010Z] -rw-rw-r-- 1 jenkins jenkins 1670 Jan 11 18:34 Makefile [2023-01-11T18:38:28.010Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 11 18:34 OWNERS.md [2023-01-11T18:38:28.010Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 11 18:34 README.md [2023-01-11T18:38:28.010Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 11 18:31 VERSION [2023-01-11T18:38:28.011Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 18:34 bin [2023-01-11T18:38:28.011Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:34 cmd [2023-01-11T18:38:28.011Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 11 18:37 coverage.out [2023-01-11T18:38:28.011Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 11 18:34 go.mod [2023-01-11T18:38:28.011Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 11 18:34 go.sum [2023-01-11T18:38:28.011Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:34 internal [2023-01-11T18:38:28.011Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 18:34 simulator [2023-01-11T18:38:28.011Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:34 snap [2023-01-11T18:38:28.011Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 11 18:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:38:28.365Z] + 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=8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 --label arch=arm64 --label version=3.0.0-dev.5 . [2023-01-11T18:38:28.634Z] Sending build context to Docker daemon 3.305MB [2023-01-11T18:38:28.904Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T18:38:28.904Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-11T18:38:28.904Z] ---> c7e3879ac856 [2023-01-11T18:38:28.904Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-11T18:38:28.904Z] ---> Running in b9ccf0229336 [2023-01-11T18:38:29.496Z] Removing intermediate container b9ccf0229336 [2023-01-11T18:38:29.496Z] ---> 2aff5988c9a4 [2023-01-11T18:38:29.496Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T18:38:29.496Z] ---> Running in eeb5a1adbc78 [2023-01-11T18:38:30.085Z] Removing intermediate container eeb5a1adbc78 [2023-01-11T18:38:30.085Z] ---> ffec7a80a14d [2023-01-11T18:38:30.085Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-01-11T18:38:30.085Z] ---> Running in 8ee3444f1bd5 [2023-01-11T18:38:33.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T18:38:33.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T18:38:34.896Z] OK: 228 MiB in 59 packages [2023-01-11T18:38:35.869Z] Removing intermediate container 8ee3444f1bd5 [2023-01-11T18:38:35.869Z] ---> 017d58b57975 [2023-01-11T18:38:35.869Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-11T18:38:35.869Z] ---> Running in dc60d2e0a79c [2023-01-11T18:38:36.138Z] Removing intermediate container dc60d2e0a79c [2023-01-11T18:38:36.138Z] ---> 34d223582a1b [2023-01-11T18:38:36.138Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-11T18:38:36.728Z] ---> c011a747a12e [2023-01-11T18:38:36.728Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T18:38:36.999Z] ---> Running in 2eae8faa3e89 [2023-01-11T18:38:39.603Z] Removing intermediate container 2eae8faa3e89 [2023-01-11T18:38:39.603Z] ---> 4c2f713d2a4d [2023-01-11T18:38:39.603Z] Step 9/22 : COPY . . [2023-01-11T18:38:40.574Z] ---> b1acc4c575f0 [2023-01-11T18:38:40.574Z] Step 10/22 : RUN ${MAKE} [2023-01-11T18:38:40.846Z] ---> Running in 4c47625c1239 [2023-01-11T18:38:41.815Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.5" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-01-11T18:41:18.613Z] Removing intermediate container 4c47625c1239 [2023-01-11T18:41:18.613Z] ---> 8feddea72108 [2023-01-11T18:41:18.613Z] Step 11/22 : FROM alpine:3.14 [2023-01-11T18:41:18.613Z] 3.14: Pulling from library/alpine [2023-01-11T18:41:18.613Z] 90cda3b7c325: Pulling fs layer [2023-01-11T18:41:18.613Z] 90cda3b7c325: Verifying Checksum [2023-01-11T18:41:18.613Z] 90cda3b7c325: Download complete [2023-01-11T18:41:18.613Z] 90cda3b7c325: Pull complete [2023-01-11T18:41:18.613Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-11T18:41:18.613Z] Status: Downloaded newer image for alpine:3.14 [2023-01-11T18:41:18.613Z] ---> 275902a1839d [2023-01-11T18:41:18.613Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-11T18:41:18.613Z] ---> Running in d3cf9abac55f [2023-01-11T18:41:18.613Z] Removing intermediate container d3cf9abac55f [2023-01-11T18:41:18.613Z] ---> b5548707e962 [2023-01-11T18:41:18.613Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-01-11T18:41:18.613Z] ---> Running in 65d5a7518d37 [2023-01-11T18:41:18.613Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-01-11T18:41:18.613Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-01-11T18:41:18.613Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-11T18:41:18.613Z] Executing busybox-1.33.1-r8.trigger [2023-01-11T18:41:18.613Z] OK: 6 MiB in 15 packages [2023-01-11T18:41:18.613Z] Removing intermediate container 65d5a7518d37 [2023-01-11T18:41:18.613Z] ---> 6cb9b89dc6f3 [2023-01-11T18:41:18.613Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-11T18:41:20.039Z] ---> ccbf06ec113a [2023-01-11T18:41:20.039Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-11T18:41:20.312Z] ---> ccc5177c5517 [2023-01-11T18:41:20.312Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-11T18:41:20.904Z] ---> f6549d87e956 [2023-01-11T18:41:20.904Z] Step 17/22 : EXPOSE 59901 [2023-01-11T18:41:21.184Z] ---> Running in eb2961f551ad [2023-01-11T18:41:21.452Z] Removing intermediate container eb2961f551ad [2023-01-11T18:41:21.452Z] ---> 325839b1b186 [2023-01-11T18:41:21.452Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-11T18:41:21.452Z] ---> Running in 00ae245671dc [2023-01-11T18:41:21.721Z] Removing intermediate container 00ae245671dc [2023-01-11T18:41:21.721Z] ---> f30aad144f22 [2023-01-11T18:41:21.721Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-11T18:41:21.989Z] ---> Running in ded4649bfcf0 [2023-01-11T18:41:22.257Z] Removing intermediate container ded4649bfcf0 [2023-01-11T18:41:22.257Z] ---> 7dd6da3d9cc5 [2023-01-11T18:41:22.257Z] Step 20/22 : LABEL arch=arm64 [2023-01-11T18:41:22.257Z] ---> Running in 1a60350f1ae2 [2023-01-11T18:41:22.529Z] Removing intermediate container 1a60350f1ae2 [2023-01-11T18:41:22.529Z] ---> ab5e5734ab88 [2023-01-11T18:41:22.529Z] Step 21/22 : LABEL git_sha=8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [2023-01-11T18:41:22.800Z] ---> Running in 19d0056f97d7 [2023-01-11T18:41:23.069Z] Removing intermediate container 19d0056f97d7 [2023-01-11T18:41:23.069Z] ---> 10824decab20 [2023-01-11T18:41:23.069Z] Step 22/22 : LABEL version=3.0.0-dev.5 [2023-01-11T18:41:23.069Z] ---> Running in 56d561c74221 [2023-01-11T18:41:23.338Z] Removing intermediate container 56d561c74221 [2023-01-11T18:41:23.338Z] ---> 963770e3a889 [2023-01-11T18:41:23.338Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T18:41:23.338Z] Successfully built 963770e3a889 [2023-01-11T18:41:23.338Z] 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-01-11T18:41:23.424Z] provisioning config files... [2023-01-11T18:41:23.440Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/71@tmp/config17225652172739597223tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:41:23.841Z] ---> docker-login.sh [2023-01-11T18:41:23.841Z] nexus3.edgexfoundry.org:10001 [2023-01-11T18:41:24.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:41:24.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:41:24.109Z] Configure a credential helper to remove this warning. See [2023-01-11T18:41:24.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:41:24.109Z] [2023-01-11T18:41:24.109Z] Login Succeeded [2023-01-11T18:41:24.109Z] nexus3.edgexfoundry.org:10002 [2023-01-11T18:41:24.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:41:24.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:41:24.648Z] Configure a credential helper to remove this warning. See [2023-01-11T18:41:24.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:41:24.648Z] [2023-01-11T18:41:24.648Z] Login Succeeded [2023-01-11T18:41:24.648Z] nexus3.edgexfoundry.org:10003 [2023-01-11T18:41:24.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:41:24.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:41:24.919Z] Configure a credential helper to remove this warning. See [2023-01-11T18:41:24.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:41:24.919Z] [2023-01-11T18:41:24.919Z] Login Succeeded [2023-01-11T18:41:24.919Z] nexus3.edgexfoundry.org:10004 [2023-01-11T18:41:25.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:41:25.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:41:25.457Z] Configure a credential helper to remove this warning. See [2023-01-11T18:41:25.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:41:25.457Z] [2023-01-11T18:41:25.457Z] Login Succeeded [2023-01-11T18:41:25.457Z] docker.io [2023-01-11T18:41:25.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:41:25.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:41:25.994Z] Configure a credential helper to remove this warning. See [2023-01-11T18:41:25.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:41:25.994Z] [2023-01-11T18:41:25.994Z] Login Succeeded [2023-01-11T18:41:25.994Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T18:41:26.008Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-11T18:41:26.038Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T18:41:26.059Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-01-11T18:41:26.059Z] 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [2023-01-11T18:41:26.059Z] latest [2023-01-11T18:41:26.059Z] 3.0.0-dev.5 [2023-01-11T18:41:26.059Z] 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1-3.0.0-dev.5 [2023-01-11T18:41:26.059Z] main [2023-01-11T18:41:26.059Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:41:26.400Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:41:26.743Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [2023-01-11T18:41:26.743Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-01-11T18:41:26.743Z] 6c17c20ac8b9: Preparing [2023-01-11T18:41:26.743Z] e792c4b44246: Preparing [2023-01-11T18:41:26.743Z] 94b6dbbd6a3b: Preparing [2023-01-11T18:41:26.743Z] 0629a74c3d04: Preparing [2023-01-11T18:41:26.743Z] 28c3ef001483: Preparing [2023-01-11T18:41:26.743Z] 28c3ef001483: Layer already exists [2023-01-11T18:41:27.016Z] e792c4b44246: Pushed [2023-01-11T18:41:27.016Z] 6c17c20ac8b9: Pushed [2023-01-11T18:41:27.016Z] 0629a74c3d04: Pushed [2023-01-11T18:41:32.379Z] 94b6dbbd6a3b: Pushed [2023-01-11T18:41:32.648Z] 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1: digest: sha256:0a20768462e8527476d29433df57c333d1a6253af00c55b29a321587a8335a89 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:41:32.996Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:41:33.337Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-01-11T18:41:33.337Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-01-11T18:41:33.337Z] 6c17c20ac8b9: Preparing [2023-01-11T18:41:33.337Z] e792c4b44246: Preparing [2023-01-11T18:41:33.337Z] 94b6dbbd6a3b: Preparing [2023-01-11T18:41:33.337Z] 0629a74c3d04: Preparing [2023-01-11T18:41:33.337Z] 28c3ef001483: Preparing [2023-01-11T18:41:33.337Z] 6c17c20ac8b9: Layer already exists [2023-01-11T18:41:33.337Z] 28c3ef001483: Layer already exists [2023-01-11T18:41:33.337Z] 0629a74c3d04: Layer already exists [2023-01-11T18:41:33.337Z] e792c4b44246: Layer already exists [2023-01-11T18:41:33.337Z] 94b6dbbd6a3b: Layer already exists [2023-01-11T18:41:33.604Z] latest: digest: sha256:0a20768462e8527476d29433df57c333d1a6253af00c55b29a321587a8335a89 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:41:33.946Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:41:34.293Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.5 [2023-01-11T18:41:34.293Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-01-11T18:41:34.293Z] 6c17c20ac8b9: Preparing [2023-01-11T18:41:34.293Z] e792c4b44246: Preparing [2023-01-11T18:41:34.293Z] 94b6dbbd6a3b: Preparing [2023-01-11T18:41:34.293Z] 0629a74c3d04: Preparing [2023-01-11T18:41:34.293Z] 28c3ef001483: Preparing [2023-01-11T18:41:34.293Z] 28c3ef001483: Layer already exists [2023-01-11T18:41:34.293Z] e792c4b44246: Layer already exists [2023-01-11T18:41:34.293Z] 94b6dbbd6a3b: Layer already exists [2023-01-11T18:41:34.293Z] 6c17c20ac8b9: Layer already exists [2023-01-11T18:41:34.293Z] 0629a74c3d04: Layer already exists [2023-01-11T18:41:34.293Z] 3.0.0-dev.5: digest: sha256:0a20768462e8527476d29433df57c333d1a6253af00c55b29a321587a8335a89 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:41:34.638Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1-3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:41:34.980Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1-3.0.0-dev.5 [2023-01-11T18:41:34.980Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-01-11T18:41:34.980Z] 6c17c20ac8b9: Preparing [2023-01-11T18:41:34.980Z] e792c4b44246: Preparing [2023-01-11T18:41:34.980Z] 94b6dbbd6a3b: Preparing [2023-01-11T18:41:34.980Z] 0629a74c3d04: Preparing [2023-01-11T18:41:34.980Z] 28c3ef001483: Preparing [2023-01-11T18:41:34.980Z] e792c4b44246: Layer already exists [2023-01-11T18:41:34.980Z] 6c17c20ac8b9: Layer already exists [2023-01-11T18:41:34.980Z] 28c3ef001483: Layer already exists [2023-01-11T18:41:34.980Z] 0629a74c3d04: Layer already exists [2023-01-11T18:41:34.980Z] 94b6dbbd6a3b: Layer already exists [2023-01-11T18:41:34.980Z] 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1-3.0.0-dev.5: digest: sha256:0a20768462e8527476d29433df57c333d1a6253af00c55b29a321587a8335a89 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:41:35.594Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:41:35.945Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-01-11T18:41:35.945Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-01-11T18:41:35.945Z] 6c17c20ac8b9: Preparing [2023-01-11T18:41:35.945Z] e792c4b44246: Preparing [2023-01-11T18:41:35.945Z] 94b6dbbd6a3b: Preparing [2023-01-11T18:41:35.945Z] 0629a74c3d04: Preparing [2023-01-11T18:41:35.945Z] 28c3ef001483: Preparing [2023-01-11T18:41:35.945Z] e792c4b44246: Layer already exists [2023-01-11T18:41:35.945Z] 94b6dbbd6a3b: Layer already exists [2023-01-11T18:41:35.945Z] 0629a74c3d04: Layer already exists [2023-01-11T18:41:35.945Z] 6c17c20ac8b9: Layer already exists [2023-01-11T18:41:35.945Z] 28c3ef001483: Layer already exists [2023-01-11T18:41:35.945Z] main: digest: sha256:0a20768462e8527476d29433df57c333d1a6253af00c55b29a321587a8335a89 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-11T18:41:36.261Z] ===================================================== [Pipeline] echo [2023-01-11T18:41:36.274Z] taggedImages: [2023-01-11T18:41:36.274Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [2023-01-11T18:41:36.274Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-01-11T18:41:36.274Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.5 [2023-01-11T18:41:36.274Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1-3.0.0-dev.5 [2023-01-11T18:41:36.274Z] - 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-01-11T18:41:36.644Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T18:41:36.645Z] [2023-01-11T18:41:36.645Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:41:36.978Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T18:41:36.978Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-11T18:41:36.978Z] 8998bd30e6a1: Pulling fs layer [2023-01-11T18:41:36.978Z] 04944245beec: Pulling fs layer [2023-01-11T18:41:36.978Z] 699f458cf7ca: Pulling fs layer [2023-01-11T18:41:36.978Z] 765212b225bb: Pulling fs layer [2023-01-11T18:41:36.978Z] f23df028b6ca: Pulling fs layer [2023-01-11T18:41:36.978Z] d65c8cfc05b1: Pulling fs layer [2023-01-11T18:41:36.978Z] 2437ff75d9bd: Pulling fs layer [2023-01-11T18:41:36.978Z] 765212b225bb: Waiting [2023-01-11T18:41:36.978Z] f23df028b6ca: Waiting [2023-01-11T18:41:36.978Z] d65c8cfc05b1: Waiting [2023-01-11T18:41:36.978Z] 2437ff75d9bd: Waiting [2023-01-11T18:41:37.245Z] 04944245beec: Verifying Checksum [2023-01-11T18:41:37.245Z] 04944245beec: Download complete [2023-01-11T18:41:37.245Z] 765212b225bb: Download complete [2023-01-11T18:41:37.245Z] f23df028b6ca: Verifying Checksum [2023-01-11T18:41:37.245Z] f23df028b6ca: Download complete [2023-01-11T18:41:37.245Z] d65c8cfc05b1: Verifying Checksum [2023-01-11T18:41:37.245Z] d65c8cfc05b1: Download complete [2023-01-11T18:41:37.516Z] 699f458cf7ca: Verifying Checksum [2023-01-11T18:41:37.516Z] 699f458cf7ca: Download complete [2023-01-11T18:41:37.784Z] 8998bd30e6a1: Download complete [2023-01-11T18:41:40.379Z] 2437ff75d9bd: Verifying Checksum [2023-01-11T18:41:40.379Z] 2437ff75d9bd: Download complete [2023-01-11T18:41:41.793Z] 8998bd30e6a1: Pull complete [2023-01-11T18:41:42.060Z] 04944245beec: Pull complete [2023-01-11T18:41:43.469Z] 699f458cf7ca: Pull complete [2023-01-11T18:41:43.469Z] 765212b225bb: Pull complete [2023-01-11T18:41:44.431Z] f23df028b6ca: Pull complete [2023-01-11T18:41:44.431Z] d65c8cfc05b1: Pull complete [2023-01-11T18:41:59.428Z] 2437ff75d9bd: Pull complete [2023-01-11T18:41:59.428Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-11T18:41:59.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T18:41:59.428Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:41:59.629Z] prd-ubuntu20.04-docker-arm64-4c-16g-1917 does not seem to be running inside a container [2023-01-11T18:41:59.748Z] $ 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/71 -v /w/workspace/device-modbus-go/71:/w/workspace/device-modbus-go/71:rw,z -v /w/workspace/device-modbus-go/71@tmp:/w/workspace/device-modbus-go/71@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-01-11T18:42:02.583Z] $ docker top f9dff44b1703e46096000b1f276750e35b8c8e2028f524da9ff35d898d4fd248 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:42:03.459Z] ---> job-cost.sh [2023-01-11T18:42:03.459Z] lf-activate-venv: SKIPPING [2023-01-11T18:42:03.459Z] INFO: No Stack... [2023-01-11T18:42:03.733Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-11T18:42:04.710Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T18:42:05.117Z] + cat /w/workspace/device-modbus-go/71/archives/cost.csv [2023-01-11T18:42:05.117Z] + cut -d, -f6 [Pipeline] lock [2023-01-11T18:42:05.483Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-71-stack-cost] [2023-01-11T18:42:05.489Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-71-stack-cost] did not exist. Created. [2023-01-11T18:42:05.489Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T18:42:06.149Z] /w/workspace/device-modbus-go/71@tmp/durable-8ddfe6e5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-11T18:42:06.804Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-11T18:42:06.830Z] Warning: overwriting stash ‘stack-cost’ [2023-01-11T18:42:06.891Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T18:42:06.898Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-71-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T18:42:06.923Z] $ docker stop --time=1 f9dff44b1703e46096000b1f276750e35b8c8e2028f524da9ff35d898d4fd248 [2023-01-11T18:42:08.500Z] $ docker rm -f --volumes f9dff44b1703e46096000b1f276750e35b8c8e2028f524da9ff35d898d4fd248 [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-01-11T18:42:08.878Z] provisioning config files... [2023-01-11T18:42:08.883Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3282421818043675229tmp [Pipeline] { [Pipeline] sh [2023-01-11T18:42:09.169Z] + set +x [2023-01-11T18:42:09.169Z] + + bash -s -- [2023-01-11T18:42:09.169Z] curl -s https://codecov.io/bash [2023-01-11T18:42:09.169Z] [2023-01-11T18:42:09.169Z] _____ _ [2023-01-11T18:42:09.169Z] / ____| | | [2023-01-11T18:42:09.169Z] | | ___ __| | ___ ___ _____ __ [2023-01-11T18:42:09.169Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-11T18:42:09.169Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-11T18:42:09.169Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-11T18:42:09.169Z] Bash-1.0.6 [2023-01-11T18:42:09.169Z] [2023-01-11T18:42:09.169Z] [2023-01-11T18:42:09.169Z] ==> git version 2.25.1 found [2023-01-11T18:42:09.169Z] ==> 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-01-11T18:42:09.169Z] Release-Date: 2020-01-08 [2023-01-11T18:42:09.169Z] 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-01-11T18:42:09.169Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-11T18:42:09.169Z] ==> Jenkins CI detected. [2023-01-11T18:42:09.169Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-01-11T18:42:09.169Z] project root: . [2023-01-11T18:42:09.169Z] --> token set from env [2023-01-11T18:42:09.169Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-11T18:42:09.169Z] ==> Running gcov in . (disable via -X gcov) [2023-01-11T18:42:09.169Z] ==> Python coveragepy not found [2023-01-11T18:42:09.169Z] ==> Searching for coverage reports in: [2023-01-11T18:42:09.169Z] + . [2023-01-11T18:42:09.169Z] -> Found 1 reports [2023-01-11T18:42:09.169Z] ==> Detecting git/mercurial file structure [2023-01-11T18:42:09.169Z] ==> Reading reports [2023-01-11T18:42:09.169Z] + ./coverage.out bytes=23241 [2023-01-11T18:42:09.169Z] ==> Appending adjustments [2023-01-11T18:42:09.169Z] https://docs.codecov.io/docs/fixing-reports [2023-01-11T18:42:09.428Z] + Found adjustments [2023-01-11T18:42:09.428Z] ==> Gzipping contents [2023-01-11T18:42:09.428Z] 4.0K /tmp/codecov.6ujk35.gz [2023-01-11T18:42:09.428Z] ==> Uploading reports [2023-01-11T18:42:09.428Z] url: https://codecov.io [2023-01-11T18:42:09.428Z] query: branch=main&commit=8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1&build=71&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F71%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-11T18:42:09.428Z] -> Pinging Codecov [2023-01-11T18:42:09.428Z] 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=8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1&build=71&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F71%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-11T18:42:09.686Z] -> Uploading to [2023-01-11T18:42:09.687Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-11/55DBCA73C666E3227836607328DD7E49/8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1/c71d15e8-23b1-4566-a6ab-87d28262b3ba.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T184209Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bfd6fe5cd94ac0dadd090032c888ac07b696eedbc12bf60cb88c9d239e6ae61a [2023-01-11T18:42:09.687Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T18:42:09.687Z] Dload Upload Total Spent Left Speed [2023-01-11T18:42:09.946Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3901 0 0 100 3901 0 16814 --:--:-- --:--:-- --:--:-- 16814 [2023-01-11T18:42:09.946Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [Pipeline] } [2023-01-11T18:42:09.955Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-01-11T18:42:10.062Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-01-11T18:42:10.069Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:42:10.368Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-11T18:42:10.368Z] [2023-01-11T18:42:10.368Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:42:10.665Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-11T18:42:10.665Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-01-11T18:42:10.665Z] df9b9388f04a: Pulling fs layer [2023-01-11T18:42:10.665Z] 52dc419b0ee2: Pulling fs layer [2023-01-11T18:42:10.665Z] 25bc292e5bac: Pulling fs layer [2023-01-11T18:42:10.665Z] 114826534d7a: Pulling fs layer [2023-01-11T18:42:10.665Z] 4657fd5d0bcf: Pulling fs layer [2023-01-11T18:42:10.665Z] 6ad1cebc031e: Pulling fs layer [2023-01-11T18:42:10.665Z] 8a3aa393b2d8: Pulling fs layer [2023-01-11T18:42:10.665Z] 114826534d7a: Waiting [2023-01-11T18:42:10.665Z] 4657fd5d0bcf: Waiting [2023-01-11T18:42:10.665Z] 6ad1cebc031e: Waiting [2023-01-11T18:42:10.665Z] 25bc292e5bac: Verifying Checksum [2023-01-11T18:42:10.665Z] 25bc292e5bac: Download complete [2023-01-11T18:42:10.665Z] 52dc419b0ee2: Verifying Checksum [2023-01-11T18:42:10.665Z] 52dc419b0ee2: Download complete [2023-01-11T18:42:10.665Z] 4657fd5d0bcf: Verifying Checksum [2023-01-11T18:42:10.665Z] 4657fd5d0bcf: Download complete [2023-01-11T18:42:10.665Z] df9b9388f04a: Verifying Checksum [2023-01-11T18:42:10.665Z] df9b9388f04a: Download complete [2023-01-11T18:42:10.930Z] df9b9388f04a: Pull complete [2023-01-11T18:42:10.930Z] 52dc419b0ee2: Pull complete [2023-01-11T18:42:10.930Z] 6ad1cebc031e: Verifying Checksum [2023-01-11T18:42:10.930Z] 6ad1cebc031e: Download complete [2023-01-11T18:42:10.930Z] 25bc292e5bac: Pull complete [2023-01-11T18:42:11.527Z] 114826534d7a: Verifying Checksum [2023-01-11T18:42:11.527Z] 114826534d7a: Download complete [2023-01-11T18:42:12.095Z] 8a3aa393b2d8: Verifying Checksum [2023-01-11T18:42:12.095Z] 8a3aa393b2d8: Download complete [2023-01-11T18:42:14.620Z] 114826534d7a: Pull complete [2023-01-11T18:42:14.620Z] 4657fd5d0bcf: Pull complete [2023-01-11T18:42:14.877Z] 6ad1cebc031e: Pull complete [2023-01-11T18:42:17.399Z] 8a3aa393b2d8: Pull complete [2023-01-11T18:42:17.399Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-01-11T18:42:17.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-11T18:42:17.399Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:42:17.471Z] prd-ubuntu20.04-docker-8c-8g-1915 does not seem to be running inside a container [2023-01-11T18:42:17.496Z] $ 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-01-11T18:42:19.418Z] $ docker top 988cf3a888e7e651536417daddfd03e94d093a68bfeaaf631fae8043b4f67cf2 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-01-11T18:42:19.487Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-01-11T18:42:19.766Z] + set -o pipefail [2023-01-11T18:42:19.766Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-01-11T18:42:25.036Z] [2023-01-11T18:42:25.037Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-01-11T18:42:25.037Z] [2023-01-11T18:42:25.037Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/bffc5a1a-50c4-430a-a9d1-0fccf3c6afc3 [2023-01-11T18:42:25.037Z] [2023-01-11T18:42:25.037Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-01-11T18:42:25.037Z] [2023-01-11T18:42:25.037Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-01-11T18:42:25.037Z] [2023-01-11T18:42:25.037Z] [2023-01-11T18:42:25.037Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-01-11T18:42:25.037Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-01-11T18:42:25.037Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-01-11T18:42:25.047Z] $ docker stop --time=1 988cf3a888e7e651536417daddfd03e94d093a68bfeaaf631fae8043b4f67cf2 [2023-01-11T18:42:27.372Z] $ docker rm -f --volumes 988cf3a888e7e651536417daddfd03e94d093a68bfeaaf631fae8043b4f67cf2 [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-01-11T18:42:28.062Z] + git log --format=format:%s -1 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [Pipeline] sh [2023-01-11T18:42:28.352Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T18:42:28.352Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:42:28.645Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T18:42:28.645Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:42:28.711Z] prd-ubuntu20.04-docker-8c-8g-1915 does not seem to be running inside a container [2023-01-11T18:42:28.736Z] $ 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-01-11T18:42:29.136Z] $ docker top 874f7887db2a3fdd14b42935d7156310cd13a5e2c02561b125967ff3259de84a -eo pid,comm [2023-01-11T18:42:29.183Z] 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-01-11T18:42:29.183Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T18:42:29.222Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T18:42:29.222Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T18:42:29.330Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T18:42:29.331Z] $ docker exec 874f7887db2a3fdd14b42935d7156310cd13a5e2c02561b125967ff3259de84a ssh-agent [2023-01-11T18:42:29.431Z] SSH_AUTH_SOCK=/tmp/ssh-4zoSOZ6rFmfl/agent.33 [2023-01-11T18:42:29.431Z] SSH_AGENT_PID=39 [2023-01-11T18:42:29.435Z] Running ssh-add (command line suppressed) [2023-01-11T18:42:29.538Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12959046345923875831.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12959046345923875831.key) [2023-01-11T18:42:29.551Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T18:42:29.835Z] + git semver tag [2023-01-11T18:42:30.092Z] 2023-01-11 18:42:30,019 [run_tag] DEBUG tag force:False [2023-01-11T18:42:30.092Z] 2023-01-11 18:42:30,019 [check_head_tag] DEBUG check head tag [2023-01-11T18:42:30.092Z] 2023-01-11 18:42:30,020 [execute] INFO git cat-file --batch-check [2023-01-11T18:42:30.092Z] 2023-01-11 18:42:30,020 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-01-11T18:42:30.092Z] 2023-01-11 18:42:30,024 [execute] INFO git cat-file --batch [2023-01-11T18:42:30.092Z] 2023-01-11 18:42:30,024 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-01-11T18:42:30.092Z] 2023-01-11 18:42:30,039 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-11T18:42:30.092Z] 2023-01-11 18:42:30,039 [execute] INFO git tag -a v3.0.0-dev.5 -m v3.0.0-dev.5 [2023-01-11T18:42:30.092Z] 2023-01-11 18:42:30,040 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.5', '-m', 'v3.0.0-dev.5'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-01-11T18:42:30.092Z] 2023-01-11 18:42:30,045 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-11T18:42:30.092Z] 3.0.0-dev.5 [Pipeline] } [2023-01-11T18:42:30.100Z] $ docker exec --env ******** --env ******** 874f7887db2a3fdd14b42935d7156310cd13a5e2c02561b125967ff3259de84a ssh-agent -k [2023-01-11T18:42:30.204Z] unset SSH_AUTH_SOCK; [2023-01-11T18:42:30.204Z] unset SSH_AGENT_PID; [2023-01-11T18:42:30.204Z] echo Agent pid 39 killed; [2023-01-11T18:42:30.219Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T18:42:30.514Z] + git semver [Pipeline] } [2023-01-11T18:42:30.783Z] $ docker stop --time=1 874f7887db2a3fdd14b42935d7156310cd13a5e2c02561b125967ff3259de84a [2023-01-11T18:42:32.062Z] $ docker rm -f --volumes 874f7887db2a3fdd14b42935d7156310cd13a5e2c02561b125967ff3259de84a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:42:32.431Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-11T18:42:32.431Z] [2023-01-11T18:42:32.431Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:42:32.732Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-11T18:42:32.732Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-01-11T18:42:32.732Z] ab5ef0e58194: Pulling fs layer [2023-01-11T18:42:32.732Z] 9712f1f96733: Pulling fs layer [2023-01-11T18:42:32.732Z] 63f879dbbcfc: Pulling fs layer [2023-01-11T18:42:32.732Z] 0d9ebad4ef96: Pulling fs layer [2023-01-11T18:42:32.732Z] e9a5061849ea: Pulling fs layer [2023-01-11T18:42:32.732Z] d747dcd14b5f: Pulling fs layer [2023-01-11T18:42:32.732Z] 2de7ff778b66: Pulling fs layer [2023-01-11T18:42:32.732Z] d747dcd14b5f: Waiting [2023-01-11T18:42:32.732Z] 0d9ebad4ef96: Waiting [2023-01-11T18:42:32.732Z] 2de7ff778b66: Waiting [2023-01-11T18:42:32.732Z] e9a5061849ea: Waiting [2023-01-11T18:42:32.732Z] 9712f1f96733: Verifying Checksum [2023-01-11T18:42:32.732Z] 9712f1f96733: Download complete [2023-01-11T18:42:33.316Z] 63f879dbbcfc: Verifying Checksum [2023-01-11T18:42:33.316Z] 63f879dbbcfc: Download complete [2023-01-11T18:42:33.316Z] 0d9ebad4ef96: Verifying Checksum [2023-01-11T18:42:33.316Z] 0d9ebad4ef96: Download complete [2023-01-11T18:42:33.316Z] d747dcd14b5f: Verifying Checksum [2023-01-11T18:42:33.316Z] d747dcd14b5f: Download complete [2023-01-11T18:42:33.316Z] e9a5061849ea: Verifying Checksum [2023-01-11T18:42:33.316Z] e9a5061849ea: Download complete [2023-01-11T18:42:33.574Z] ab5ef0e58194: Verifying Checksum [2023-01-11T18:42:33.574Z] ab5ef0e58194: Download complete [2023-01-11T18:42:33.574Z] 2de7ff778b66: Verifying Checksum [2023-01-11T18:42:33.574Z] 2de7ff778b66: Download complete [2023-01-11T18:42:36.120Z] ab5ef0e58194: Pull complete [2023-01-11T18:42:36.120Z] 9712f1f96733: Pull complete [2023-01-11T18:42:36.378Z] 63f879dbbcfc: Pull complete [2023-01-11T18:42:39.656Z] 0d9ebad4ef96: Pull complete [2023-01-11T18:42:39.656Z] e9a5061849ea: Pull complete [2023-01-11T18:42:39.656Z] d747dcd14b5f: Pull complete [2023-01-11T18:42:40.587Z] 2de7ff778b66: Pull complete [2023-01-11T18:42:40.587Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-01-11T18:42:40.587Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-11T18:42:40.587Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:42:40.664Z] prd-ubuntu20.04-docker-8c-8g-1915 does not seem to be running inside a container [2023-01-11T18:42:40.689Z] $ 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-01-11T18:42:43.014Z] $ docker top 9b3e892bef55df0a9a117c6ed0fd2f8ff9efd3616258440724b6833d75a38a91 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-01-11T18:42:43.082Z] provisioning config files... [2023-01-11T18:42:43.088Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11127634399525420950tmp [2023-01-11T18:42:43.098Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5229985108146708311tmp [2023-01-11T18:42:43.110Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14118956215450810787tmp [Pipeline] { [Pipeline] echo [2023-01-11T18:42:43.124Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:42:43.406Z] ---> sigul-configuration.sh [2023-01-11T18:42:43.406Z] gpg: directory `/root/.gnupg' created [2023-01-11T18:42:43.406Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-01-11T18:42:43.406Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-01-11T18:42:43.406Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-01-11T18:42:43.406Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-01-11T18:42:43.406Z] gpg: CAST5 encrypted data [2023-01-11T18:42:43.406Z] gpg: encrypted with 1 passphrase [2023-01-11T18:42:43.406Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-01-11T18:42:43.688Z] + mkdir /home/jenkins [2023-01-11T18:42:43.688Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-01-11T18:42:43.965Z] + 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-01-11T18:42:43.973Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:42:44.253Z] ---> sigul-install.sh [2023-01-11T18:42:44.253Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-01-11T18:42:44.542Z] + git tag --list [2023-01-11T18:42:44.542Z] 0.7.1 [2023-01-11T18:42:44.542Z] v1.0.0 [2023-01-11T18:42:44.542Z] v1.1.0 [2023-01-11T18:42:44.542Z] v1.1.1 [2023-01-11T18:42:44.542Z] v1.2.2 [2023-01-11T18:42:44.542Z] v1.3.0 [2023-01-11T18:42:44.542Z] v1.3.1 [2023-01-11T18:42:44.542Z] v2.0.0 [2023-01-11T18:42:44.542Z] v2.1.0 [2023-01-11T18:42:44.542Z] v2.1.1 [2023-01-11T18:42:44.542Z] v2.1.1-dev.1 [2023-01-11T18:42:44.542Z] v2.1.1-dev.2 [2023-01-11T18:42:44.542Z] v2.1.1-dev.3 [2023-01-11T18:42:44.542Z] v2.2.0 [2023-01-11T18:42:44.542Z] v2.2.1-dev.1 [2023-01-11T18:42:44.542Z] v2.2.1-dev.2 [2023-01-11T18:42:44.542Z] v2.2.1-dev.3 [2023-01-11T18:42:44.542Z] v2.2.1-dev.4 [2023-01-11T18:42:44.542Z] v2.2.1-dev.5 [2023-01-11T18:42:44.542Z] v2.2.1-dev.6 [2023-01-11T18:42:44.542Z] v2.2.1-dev.7 [2023-01-11T18:42:44.542Z] v2.3.0 [2023-01-11T18:42:44.542Z] v2.3.0-dev.10 [2023-01-11T18:42:44.542Z] v2.3.0-dev.11 [2023-01-11T18:42:44.542Z] v2.3.0-dev.12 [2023-01-11T18:42:44.542Z] v2.3.0-dev.13 [2023-01-11T18:42:44.542Z] v2.3.0-dev.14 [2023-01-11T18:42:44.542Z] v2.3.0-dev.15 [2023-01-11T18:42:44.542Z] v2.3.0-dev.16 [2023-01-11T18:42:44.542Z] v2.3.0-dev.17 [2023-01-11T18:42:44.542Z] v2.3.0-dev.18 [2023-01-11T18:42:44.542Z] v2.3.0-dev.19 [2023-01-11T18:42:44.542Z] v2.3.0-dev.20 [2023-01-11T18:42:44.542Z] v2.3.0-dev.21 [2023-01-11T18:42:44.542Z] v2.3.0-dev.22 [2023-01-11T18:42:44.542Z] v2.3.0-dev.23 [2023-01-11T18:42:44.542Z] v2.3.0-dev.24 [2023-01-11T18:42:44.542Z] v2.3.0-dev.25 [2023-01-11T18:42:44.542Z] v2.3.0-dev.7 [2023-01-11T18:42:44.542Z] v2.3.0-dev.8 [2023-01-11T18:42:44.542Z] v2.3.0-dev.9 [2023-01-11T18:42:44.542Z] v3.0.0-dev.1 [2023-01-11T18:42:44.542Z] v3.0.0-dev.2 [2023-01-11T18:42:44.542Z] v3.0.0-dev.3 [2023-01-11T18:42:44.542Z] v3.0.0-dev.4 [2023-01-11T18:42:44.542Z] v3.0.0-dev.5 [Pipeline] sh [2023-01-11T18:42:44.823Z] + lftools sign git-tag v3.0.0-dev.5 [2023-01-11T18:42:45.390Z] Signing Git tag with Sigul... [2023-01-11T18:42:45.390Z] Signing v3.0.0-dev.5 [Pipeline] echo [2023-01-11T18:42:45.658Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:42:45.943Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-01-11T18:42:45.951Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-01-11T18:42:45.967Z] $ docker stop --time=1 9b3e892bef55df0a9a117c6ed0fd2f8ff9efd3616258440724b6833d75a38a91 [2023-01-11T18:42:47.262Z] $ docker rm -f --volumes 9b3e892bef55df0a9a117c6ed0fd2f8ff9efd3616258440724b6833d75a38a91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-01-11T18:42:47.684Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T18:42:47.684Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:42:47.980Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T18:42:47.980Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:42:48.049Z] prd-ubuntu20.04-docker-8c-8g-1915 does not seem to be running inside a container [2023-01-11T18:42:48.077Z] $ 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-01-11T18:42:48.450Z] $ docker top 9c031ac40e96ef72d11e88a6220d8f03d2a0e4cb722dc8361f1bdb94beec2b7a -eo pid,comm [2023-01-11T18:42:48.493Z] 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-01-11T18:42:48.493Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T18:42:48.535Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T18:42:48.536Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T18:42:48.646Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T18:42:48.648Z] $ docker exec 9c031ac40e96ef72d11e88a6220d8f03d2a0e4cb722dc8361f1bdb94beec2b7a ssh-agent [2023-01-11T18:42:48.766Z] SSH_AUTH_SOCK=/tmp/ssh-OzgH8PXdC6cR/agent.32 [2023-01-11T18:42:48.766Z] SSH_AGENT_PID=38 [2023-01-11T18:42:48.771Z] Running ssh-add (command line suppressed) [2023-01-11T18:42:48.871Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5464717722213318135.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5464717722213318135.key) [2023-01-11T18:42:48.885Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T18:42:49.171Z] + git semver bump pre [2023-01-11T18:42:49.431Z] 2023-01-11 18:42:49,338 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-11T18:42:49.431Z] 2023-01-11 18:42:49,338 [bump_version] DEBUG bumping version:3.0.0-dev.5 on axis:pre with prefix:dev [2023-01-11T18:42:49.431Z] 2023-01-11 18:42:49,338 [bump_version] DEBUG bumped version:3.0.0-dev.6 [2023-01-11T18:42:49.431Z] 2023-01-11 18:42:49,338 [write_version] DEBUG write version:3.0.0-dev.6 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-01-11T18:42:49.431Z] 2023-01-11 18:42:49,338 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-11T18:42:49.431Z] 2023-01-11 18:42:49,338 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-11T18:42:49.431Z] 2023-01-11 18:42:49,340 [execute] INFO git cat-file --batch-check [2023-01-11T18:42:49.431Z] 2023-01-11 18:42:49,341 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T18:42:49.431Z] 2023-01-11 18:42:49,346 [execute] INFO git cat-file --batch [2023-01-11T18:42:49.431Z] 2023-01-11 18:42:49,346 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T18:42:49.431Z] 2023-01-11 18:42:49,352 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-11T18:42:49.431Z] 3.0.0-dev.6 [Pipeline] } [2023-01-11T18:42:49.440Z] $ docker exec --env ******** --env ******** 9c031ac40e96ef72d11e88a6220d8f03d2a0e4cb722dc8361f1bdb94beec2b7a ssh-agent -k [2023-01-11T18:42:49.531Z] unset SSH_AUTH_SOCK; [2023-01-11T18:42:49.531Z] unset SSH_AGENT_PID; [2023-01-11T18:42:49.531Z] echo Agent pid 38 killed; [2023-01-11T18:42:49.541Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T18:42:49.859Z] + git semver [Pipeline] } [2023-01-11T18:42:50.129Z] $ docker stop --time=1 9c031ac40e96ef72d11e88a6220d8f03d2a0e4cb722dc8361f1bdb94beec2b7a [2023-01-11T18:42:51.427Z] $ docker rm -f --volumes 9c031ac40e96ef72d11e88a6220d8f03d2a0e4cb722dc8361f1bdb94beec2b7a [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T18:42:51.770Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T18:42:51.770Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:42:52.065Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T18:42:52.065Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:42:52.136Z] prd-ubuntu20.04-docker-8c-8g-1915 does not seem to be running inside a container [2023-01-11T18:42:52.163Z] $ 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-01-11T18:42:52.519Z] $ docker top ca324d9a950a8a023c7c6a6f32c08c257fc76f1315b1c58b2c21be6e157c9d73 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T18:42:52.601Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T18:42:52.601Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T18:42:52.709Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T18:42:52.710Z] $ docker exec ca324d9a950a8a023c7c6a6f32c08c257fc76f1315b1c58b2c21be6e157c9d73 ssh-agent [2023-01-11T18:42:52.813Z] SSH_AUTH_SOCK=/tmp/ssh-2z3ppcqobual/agent.32 [2023-01-11T18:42:52.813Z] SSH_AGENT_PID=38 [2023-01-11T18:42:52.818Z] Running ssh-add (command line suppressed) [2023-01-11T18:42:52.905Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3018545962879838878.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3018545962879838878.key) [2023-01-11T18:42:52.922Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T18:42:53.206Z] + git semver push [2023-01-11T18:42:53.465Z] 2023-01-11 18:42:53,364 [run_push] DEBUG push [2023-01-11T18:42:53.465Z] 2023-01-11 18:42:53,364 [execute] INFO git cat-file --batch-check [2023-01-11T18:42:53.465Z] 2023-01-11 18:42:53,365 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T18:42:53.465Z] 2023-01-11 18:42:53,366 [execute] INFO git rev-list ebd74463765bb89904eb751a629a7e924a1bcc6c -- [2023-01-11T18:42:53.465Z] 2023-01-11 18:42:53,367 [execute] DEBUG Popen(['git', 'rev-list', 'ebd74463765bb89904eb751a629a7e924a1bcc6c', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-11T18:42:53.465Z] 2023-01-11 18:42:53,372 [execute] INFO git fetch -v origin [2023-01-11T18:42:53.465Z] 2023-01-11 18:42:53,372 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-01-11T18:42:54.033Z] 2023-01-11 18:42:53,895 [run_push] DEBUG no remote changes detected [2023-01-11T18:42:54.033Z] 2023-01-11 18:42:53,896 [execute] INFO git push origin semver [2023-01-11T18:42:54.033Z] 2023-01-11 18:42:53,896 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-11T18:42:54.974Z] 2023-01-11 18:42:54,720 [run_push] DEBUG push all version tags [2023-01-11T18:42:54.974Z] 2023-01-11 18:42:54,720 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-01-11T18:42:54.974Z] 2023-01-11 18:42:54,721 [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-01-11T18:42:55.910Z] 2023-01-11 18:42:55,716 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-11T18:42:55.910Z] 3.0.0-dev.6 [Pipeline] } [2023-01-11T18:42:55.920Z] $ docker exec --env ******** --env ******** ca324d9a950a8a023c7c6a6f32c08c257fc76f1315b1c58b2c21be6e157c9d73 ssh-agent -k [2023-01-11T18:42:56.008Z] unset SSH_AUTH_SOCK; [2023-01-11T18:42:56.008Z] unset SSH_AGENT_PID; [2023-01-11T18:42:56.008Z] echo Agent pid 38 killed; [2023-01-11T18:42:56.019Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T18:42:56.316Z] + git semver [Pipeline] } [2023-01-11T18:42:56.588Z] $ docker stop --time=1 ca324d9a950a8a023c7c6a6f32c08c257fc76f1315b1c58b2c21be6e157c9d73 [2023-01-11T18:42:57.851Z] $ docker rm -f --volumes ca324d9a950a8a023c7c6a6f32c08c257fc76f1315b1c58b2c21be6e157c9d73 [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-01-11T18:42:58.379Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-01-11T18:42:58.379Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-01-11T18:42:58.379Z] total 16 [2023-01-11T18:42:58.379Z] drwxr-xr-x 3 root root 4096 Jan 11 18:32 . [2023-01-11T18:42:58.379Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 18:42 .. [2023-01-11T18:42:58.379Z] drwxr-xr-x 2 root root 4096 Jan 11 18:32 cost [2023-01-11T18:42:58.379Z] -rw-r--r-- 1 root root 87 Jan 11 18:32 cost.csv [2023-01-11T18:42:58.379Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-01-11T18:42:58.379Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-01-11T18:42:58.379Z] total 16 [2023-01-11T18:42:58.379Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 18:32 . [2023-01-11T18:42:58.379Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 18:42 .. [2023-01-11T18:42:58.379Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 18:32 cost [2023-01-11T18:42:58.379Z] -rw-r--r-- 1 jenkins jenkins 87 Jan 11 18:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:42:58.667Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:42:59.520Z] ---> package-listing.sh [2023-01-11T18:42:59.520Z] ++ facter osfamily [2023-01-11T18:42:59.520Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-11T18:42:59.778Z] + OS_FAMILY=debian [2023-01-11T18:42:59.778Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-01-11T18:42:59.778Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-11T18:42:59.778Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-11T18:42:59.778Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-11T18:42:59.778Z] + PACKAGES=/tmp/packages_start.txt [2023-01-11T18:42:59.778Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-01-11T18:42:59.778Z] + PACKAGES=/tmp/packages_end.txt [2023-01-11T18:42:59.778Z] + case "${OS_FAMILY}" in [2023-01-11T18:42:59.778Z] + dpkg -l [2023-01-11T18:42:59.778Z] + grep '^ii' [2023-01-11T18:42:59.778Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-11T18:42:59.778Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-11T18:42:59.778Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-11T18:42:59.778Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-01-11T18:42:59.778Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-01-11T18:42:59.778Z] + 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-01-11T18:42:59.788Z] 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-01-11T18:43:00.064Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:43:00.643Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T18:43:00.643Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:43:00.717Z] prd-ubuntu20.04-docker-8c-8g-1915 does not seem to be running inside a container [2023-01-11T18:43:00.746Z] $ 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-01-11T18:43:00.950Z] $ docker top 9e7aad86e6392960f2de0dcf33a547ce94f2ed7a6eedaeb4e58ec92510ba4351 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T18:43:01.285Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-11T18:43:01.568Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-11T18:43:01.859Z] + ls /var/log/sa-host [2023-01-11T18:43:01.859Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T18:43:01.920Z] provisioning config files... [2023-01-11T18:43:01.929Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4107096747052053449tmp [Pipeline] { [Pipeline] echo [2023-01-11T18:43:01.944Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:43:02.227Z] ---> create-netrc.sh [Pipeline] } [2023-01-11T18:43:02.235Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:43:02.558Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-11T18:43:02.566Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:43:02.845Z] ---> sudo-logs.sh [2023-01-11T18:43:02.845Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-11T18:43:02.944Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:43:03.267Z] ---> job-cost.sh [2023-01-11T18:43:03.267Z] lf-activate-venv: SKIPPING [2023-01-11T18:43:03.268Z] DEBUG: total: 0.2199999988079071 [2023-01-11T18:43:03.268Z] INFO: Retrieving Stack Cost... [2023-01-11T18:43:03.901Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T18:43:04.173Z] INFO: Archiving Costs [Pipeline] echo [2023-01-11T18:43:04.186Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:43:04.472Z] ---> logs-deploy.sh [2023-01-11T18:43:04.472Z] lf-activate-venv: SKIPPING [2023-01-11T18:43:04.472Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/71 [2023-01-11T18:43:04.472Z] INFO: archiving workspace using pattern(s): [2023-01-11T18:43:05.409Z] Archives upload complete. [2023-01-11T18:43:05.409Z] INFO: archiving logs to Nexus