Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f93217a48f66f916d77da41a80c6f59472f374e0 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-ssh13832879484191000295.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh2668845495752210357.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh3112733547927956672.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh14785451931091413407.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-ssh8523366907857632847.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4550 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 f93217a48f66f916d77da41a80c6f59472f374e0 (main) Commit message: "Merge pull request #495 from FelixTing/update-sdk" > 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 f93217a48f66f916d77da41a80c6f59472f374e0 # timeout=10 > git rev-list --no-walk 1035885eab2253e2bed58002dbe5aaa8ab8aecd1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-25T09:23:13.601Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-25T09:23:13.661Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-25T09:23:13.682Z] ========================================================= [2023-08-25T09:23:13.682Z] EdgeX Global Pipelines Version Info [2023-08-25T09:23:13.682Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-25T09:23:14.406Z] ------------------- [2023-08-25T09:23:14.406Z] stable info: [2023-08-25T09:23:14.406Z] ------------------- [2023-08-25T09:23:14.406Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-25T09:23:14.406Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-25T09:23:14.406Z] Message: update stable to v1.0.253 [2023-08-25T09:23:14.976Z] ------------------- [2023-08-25T09:23:14.976Z] experimental info: [2023-08-25T09:23:14.976Z] ------------------- [2023-08-25T09:23:14.976Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-25T09:23:14.976Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-25T09:23:14.976Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-25T09:23:15.146Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-08-25T09:23:15.159Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-08-25T09:23:15.174Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-25T09:23:15.190Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-25T09:23:15.202Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-25T09:23:15.218Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-25T09:23:15.240Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-25T09:23:15.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-25T09:23:15.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-25T09:23:15.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-25T09:23:15.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-25T09:23:15.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-08-25T09:23:15.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-25T09:23:15.336Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-25T09:23:15.355Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-25T09:23:15.372Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-25T09:23:15.383Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T09:23:15.397Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T09:23:15.413Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-25T09:23:15.430Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-25T09:23:15.446Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-25T09:23:15.457Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-25T09:23:15.470Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-25T09:23:15.487Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-25T09:23:15.506Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-25T09:23:15.526Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-25T09:23:15.546Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-25T09:23:15.565Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-25T09:23:15.584Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-25T09:23:15.601Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-25T09:23:15.617Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f93217a48f66f916d77da41a80c6f59472f374e0 [Pipeline] echo [2023-08-25T09:23:15.629Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f93217a [Pipeline] echo [2023-08-25T09:23:15.643Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T09:23:15.687Z] provisioning config files... [2023-08-25T09:23:15.703Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config549778982442646157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T09:23:16.008Z] ---> docker-login.sh [2023-08-25T09:23:16.008Z] nexus3.edgexfoundry.org:10001 [2023-08-25T09:23:16.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T09:23:16.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T09:23:16.536Z] Configure a credential helper to remove this warning. See [2023-08-25T09:23:16.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T09:23:16.536Z] [2023-08-25T09:23:16.536Z] Login Succeeded [2023-08-25T09:23:16.536Z] nexus3.edgexfoundry.org:10002 [2023-08-25T09:23:16.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T09:23:16.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T09:23:16.536Z] Configure a credential helper to remove this warning. See [2023-08-25T09:23:16.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T09:23:16.536Z] [2023-08-25T09:23:16.536Z] Login Succeeded [2023-08-25T09:23:16.536Z] nexus3.edgexfoundry.org:10003 [2023-08-25T09:23:16.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T09:23:16.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T09:23:16.796Z] Configure a credential helper to remove this warning. See [2023-08-25T09:23:16.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T09:23:16.796Z] [2023-08-25T09:23:16.796Z] Login Succeeded [2023-08-25T09:23:16.796Z] nexus3.edgexfoundry.org:10004 [2023-08-25T09:23:16.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T09:23:16.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T09:23:16.796Z] Configure a credential helper to remove this warning. See [2023-08-25T09:23:16.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T09:23:16.796Z] [2023-08-25T09:23:16.796Z] Login Succeeded [2023-08-25T09:23:16.796Z] docker.io [2023-08-25T09:23:16.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T09:23:17.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T09:23:17.057Z] Configure a credential helper to remove this warning. See [2023-08-25T09:23:17.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T09:23:17.057Z] [2023-08-25T09:23:17.057Z] Login Succeeded [2023-08-25T09:23:17.057Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T09:23:17.064Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-25T09:23:17.448Z] + git rev-list -1 --merges f93217a48f66f916d77da41a80c6f59472f374e0~1..f93217a48f66f916d77da41a80c6f59472f374e0 [Pipeline] echo [2023-08-25T09:23:17.491Z] -----------> git rev-list -1 --merges f93217a48f66f916d77da41a80c6f59472f374e0~1..f93217a48f66f916d77da41a80c6f59472f374e0 f93217a48f66f916d77da41a80c6f59472f374e0 [2023-08-25T09:23:17.491Z] f93217a48f66f916d77da41a80c6f59472f374e0 [false] [Pipeline] sh [2023-08-25T09:23:17.781Z] + git log --format=format:%s -1 f93217a48f66f916d77da41a80c6f59472f374e0 [Pipeline] echo [2023-08-25T09:23:17.797Z] ========================================================= [2023-08-25T09:23:17.797Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-25T09:23:17.797Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T09:23:18.140Z] + git log --format=format:%s -1 f93217a48f66f916d77da41a80c6f59472f374e0 [Pipeline] echo [2023-08-25T09:23:18.151Z] [semverPrep] GIT_COMMIT: f93217a48f66f916d77da41a80c6f59472f374e0, Commit Message: Merge pull request #495 from FelixTing/update-sdk [Pipeline] echo [2023-08-25T09:23:18.160Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-25T09:23:18.525Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T09:23:18.525Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-25T09:23:18.525Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-25T09:23:18.525Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-25T09:23:18.525Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-25T09:23:18.525Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-25T09:23:18.525Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:23:18.950Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T09:23:18.950Z] [2023-08-25T09:23:18.950Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:23:19.255Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T09:23:19.255Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-25T09:23:19.255Z] b85a868b505f: Pulling fs layer [2023-08-25T09:23:19.255Z] e2be974225ed: Pulling fs layer [2023-08-25T09:23:19.255Z] 339a4e72a1f5: Pulling fs layer [2023-08-25T09:23:19.255Z] 988bab9f4d93: Pulling fs layer [2023-08-25T09:23:19.255Z] 1469e6f7b9e6: Pulling fs layer [2023-08-25T09:23:19.255Z] eaf3925da568: Pulling fs layer [2023-08-25T09:23:19.255Z] bab4dde63d76: Pulling fs layer [2023-08-25T09:23:19.255Z] bde34c3a00c8: Pulling fs layer [2023-08-25T09:23:19.255Z] b352a97aabf1: Pulling fs layer [2023-08-25T09:23:19.255Z] 4872d77fe225: Pulling fs layer [2023-08-25T09:23:19.255Z] 5851b861e8e6: Pulling fs layer [2023-08-25T09:23:19.255Z] 988bab9f4d93: Waiting [2023-08-25T09:23:19.255Z] 1469e6f7b9e6: Waiting [2023-08-25T09:23:19.255Z] eaf3925da568: Waiting [2023-08-25T09:23:19.255Z] bab4dde63d76: Waiting [2023-08-25T09:23:19.255Z] bde34c3a00c8: Waiting [2023-08-25T09:23:19.255Z] b352a97aabf1: Waiting [2023-08-25T09:23:19.255Z] 4872d77fe225: Waiting [2023-08-25T09:23:19.255Z] 5851b861e8e6: Waiting [2023-08-25T09:23:19.255Z] e2be974225ed: Verifying Checksum [2023-08-25T09:23:19.255Z] e2be974225ed: Download complete [2023-08-25T09:23:19.255Z] 988bab9f4d93: Verifying Checksum [2023-08-25T09:23:19.255Z] 988bab9f4d93: Download complete [2023-08-25T09:23:19.515Z] 1469e6f7b9e6: Verifying Checksum [2023-08-25T09:23:19.515Z] 1469e6f7b9e6: Download complete [2023-08-25T09:23:19.515Z] 339a4e72a1f5: Verifying Checksum [2023-08-25T09:23:19.515Z] 339a4e72a1f5: Download complete [2023-08-25T09:23:19.515Z] eaf3925da568: Download complete [2023-08-25T09:23:19.515Z] bde34c3a00c8: Verifying Checksum [2023-08-25T09:23:19.515Z] bde34c3a00c8: Download complete [2023-08-25T09:23:19.515Z] b352a97aabf1: Verifying Checksum [2023-08-25T09:23:19.515Z] b352a97aabf1: Download complete [2023-08-25T09:23:19.515Z] 4872d77fe225: Verifying Checksum [2023-08-25T09:23:19.515Z] 4872d77fe225: Download complete [2023-08-25T09:23:19.515Z] 5851b861e8e6: Verifying Checksum [2023-08-25T09:23:19.515Z] 5851b861e8e6: Download complete [2023-08-25T09:23:19.515Z] b85a868b505f: Verifying Checksum [2023-08-25T09:23:19.515Z] b85a868b505f: Download complete [2023-08-25T09:23:19.775Z] bab4dde63d76: Verifying Checksum [2023-08-25T09:23:19.775Z] bab4dde63d76: Download complete [2023-08-25T09:23:21.200Z] b85a868b505f: Pull complete [2023-08-25T09:23:21.200Z] e2be974225ed: Pull complete [2023-08-25T09:23:21.769Z] 339a4e72a1f5: Pull complete [2023-08-25T09:23:21.769Z] 988bab9f4d93: Pull complete [2023-08-25T09:23:22.030Z] 1469e6f7b9e6: Pull complete [2023-08-25T09:23:22.030Z] eaf3925da568: Pull complete [2023-08-25T09:23:23.968Z] bab4dde63d76: Pull complete [2023-08-25T09:23:24.229Z] bde34c3a00c8: Pull complete [2023-08-25T09:23:24.229Z] b352a97aabf1: Pull complete [2023-08-25T09:23:24.229Z] 4872d77fe225: Pull complete [2023-08-25T09:23:24.492Z] 5851b861e8e6: Pull complete [2023-08-25T09:23:24.492Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-25T09:23:24.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T09:23:24.492Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T09:23:24.606Z] prd-ubuntu20.04-docker-8c-8g-4550 does not seem to be running inside a container [2023-08-25T09:23:24.639Z] $ 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-08-25T09:23:27.422Z] $ docker top 4538f2027953c2d04116977ff8daa5f8133050f1c218a9ad6fc1c6f11dc1d6df -eo pid,comm [2023-08-25T09:23:27.484Z] 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-08-25T09:23:27.484Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T09:23:27.520Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T09:23:27.520Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T09:23:27.640Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T09:23:27.642Z] $ docker exec 4538f2027953c2d04116977ff8daa5f8133050f1c218a9ad6fc1c6f11dc1d6df ssh-agent [2023-08-25T09:23:27.757Z] SSH_AUTH_SOCK=/tmp/ssh-mvEIvTiJFvj1/agent.32 [2023-08-25T09:23:27.757Z] SSH_AGENT_PID=38 [2023-08-25T09:23:27.763Z] Running ssh-add (command line suppressed) [2023-08-25T09:23:27.867Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11833230927480286163.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11833230927480286163.key) [2023-08-25T09:23:27.884Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T09:23:28.173Z] + git tag --points-at HEAD [Pipeline] } [2023-08-25T09:23:28.191Z] $ docker exec --env ******** --env ******** 4538f2027953c2d04116977ff8daa5f8133050f1c218a9ad6fc1c6f11dc1d6df ssh-agent -k [2023-08-25T09:23:28.289Z] unset SSH_AUTH_SOCK; [2023-08-25T09:23:28.290Z] unset SSH_AGENT_PID; [2023-08-25T09:23:28.291Z] echo Agent pid 38 killed; [2023-08-25T09:23:28.303Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-25T09:23:28.328Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T09:23:28.328Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T09:23:28.443Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T09:23:28.445Z] $ docker exec 4538f2027953c2d04116977ff8daa5f8133050f1c218a9ad6fc1c6f11dc1d6df ssh-agent [2023-08-25T09:23:28.566Z] SSH_AUTH_SOCK=/tmp/ssh-yv7rdZhCNf7n/agent.70 [2023-08-25T09:23:28.566Z] SSH_AGENT_PID=76 [2023-08-25T09:23:28.571Z] Running ssh-add (command line suppressed) [2023-08-25T09:23:28.672Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4657923303423999975.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4657923303423999975.key) [2023-08-25T09:23:28.697Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T09:23:28.989Z] + git semver init [2023-08-25T09:23:29.250Z] 2023-08-25 09:23:29,176 [run_init] DEBUG init version:0.0.0 force:False [2023-08-25T09:23:29.250Z] 2023-08-25 09:23:29,177 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-08-25T09:23:29.250Z] 2023-08-25 09:23:29,178 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-08-25T09:23:29.250Z] 2023-08-25 09:23:29,178 [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-08-25T09:23:30.196Z] 2023-08-25 09:23:29,978 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-08-25T09:23:30.197Z] 2023-08-25 09:23:29,979 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-08-25T09:23:30.197Z] 2023-08-25 09:23:29,979 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-25T09:23:30.197Z] 2023-08-25 09:23:29,979 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-25T09:23:30.197Z] 3.1.0-dev.5 [Pipeline] } [2023-08-25T09:23:30.205Z] $ docker exec --env ******** --env ******** 4538f2027953c2d04116977ff8daa5f8133050f1c218a9ad6fc1c6f11dc1d6df ssh-agent -k [2023-08-25T09:23:30.306Z] unset SSH_AUTH_SOCK; [2023-08-25T09:23:30.307Z] unset SSH_AGENT_PID; [2023-08-25T09:23:30.307Z] echo Agent pid 76 killed; [2023-08-25T09:23:30.319Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T09:23:30.635Z] + git semver [Pipeline] } [2023-08-25T09:23:30.920Z] $ docker stop --time=1 4538f2027953c2d04116977ff8daa5f8133050f1c218a9ad6fc1c6f11dc1d6df [2023-08-25T09:23:32.291Z] $ docker rm -f --volumes 4538f2027953c2d04116977ff8daa5f8133050f1c218a9ad6fc1c6f11dc1d6df [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T09:23:32.634Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-25T09:23:32.831Z] Stashed 1 file(s) [Pipeline] echo [2023-08-25T09:23:32.834Z] [edgeXSemver]: initialized semver on version 3.1.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-08-25T09:23:32.997Z] provisioning config files... [2023-08-25T09:23:33.006Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4261051608777600859tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T09:23:33.305Z] ---> docker-login.sh [2023-08-25T09:23:33.305Z] nexus3.edgexfoundry.org:10001 [2023-08-25T09:23:33.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T09:23:33.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T09:23:33.305Z] Configure a credential helper to remove this warning. See [2023-08-25T09:23:33.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T09:23:33.305Z] [2023-08-25T09:23:33.305Z] Login Succeeded [2023-08-25T09:23:33.305Z] nexus3.edgexfoundry.org:10002 [2023-08-25T09:23:33.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T09:23:33.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T09:23:33.305Z] Configure a credential helper to remove this warning. See [2023-08-25T09:23:33.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T09:23:33.305Z] [2023-08-25T09:23:33.305Z] Login Succeeded [2023-08-25T09:23:33.305Z] nexus3.edgexfoundry.org:10003 [2023-08-25T09:23:33.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T09:23:33.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T09:23:33.565Z] Configure a credential helper to remove this warning. See [2023-08-25T09:23:33.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T09:23:33.565Z] [2023-08-25T09:23:33.565Z] Login Succeeded [2023-08-25T09:23:33.565Z] nexus3.edgexfoundry.org:10004 [2023-08-25T09:23:33.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T09:23:33.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T09:23:33.826Z] Configure a credential helper to remove this warning. See [2023-08-25T09:23:33.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T09:23:33.826Z] [2023-08-25T09:23:33.826Z] Login Succeeded [2023-08-25T09:23:33.826Z] docker.io [2023-08-25T09:23:33.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T09:23:34.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T09:23:34.086Z] Configure a credential helper to remove this warning. See [2023-08-25T09:23:34.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T09:23:34.086Z] [2023-08-25T09:23:34.086Z] Login Succeeded [2023-08-25T09:23:34.086Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T09:23:34.094Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-25T09:23:34.161Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T09:23:34.173Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T09:23:34.180Z] ========================================================= [2023-08-25T09:23:34.180Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-25T09:23:34.180Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:23:34.497Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-25T09:23:34.497Z] Sending build context to Docker daemon 6.381MB [2023-08-25T09:23:34.497Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T09:23:34.497Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-25T09:23:34.497Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-25T09:23:34.497Z] 4db1b89c0bd1: Pulling fs layer [2023-08-25T09:23:34.497Z] 6911f1a30b25: Pulling fs layer [2023-08-25T09:23:34.497Z] e194b8c5c2a9: Pulling fs layer [2023-08-25T09:23:34.497Z] 6863d3e3a2b1: Pulling fs layer [2023-08-25T09:23:34.497Z] ec0bb842ea78: Pulling fs layer [2023-08-25T09:23:34.497Z] 40a00589a448: Pulling fs layer [2023-08-25T09:23:34.497Z] 6c08303d61cc: Pulling fs layer [2023-08-25T09:23:34.497Z] 798269fcf238: Pulling fs layer [2023-08-25T09:23:34.497Z] ec0bb842ea78: Waiting [2023-08-25T09:23:34.497Z] 6863d3e3a2b1: Waiting [2023-08-25T09:23:34.497Z] 40a00589a448: Waiting [2023-08-25T09:23:34.497Z] 6c08303d61cc: Waiting [2023-08-25T09:23:34.497Z] 798269fcf238: Waiting [2023-08-25T09:23:34.497Z] 6911f1a30b25: Download complete [2023-08-25T09:23:34.757Z] 6863d3e3a2b1: Verifying Checksum [2023-08-25T09:23:34.757Z] 6863d3e3a2b1: Download complete [2023-08-25T09:23:34.757Z] ec0bb842ea78: Download complete [2023-08-25T09:23:34.757Z] 4db1b89c0bd1: Verifying Checksum [2023-08-25T09:23:34.757Z] 4db1b89c0bd1: Download complete [2023-08-25T09:23:34.757Z] 40a00589a448: Verifying Checksum [2023-08-25T09:23:34.757Z] 40a00589a448: Download complete [2023-08-25T09:23:35.018Z] 4db1b89c0bd1: Pull complete [2023-08-25T09:23:35.018Z] 6911f1a30b25: Pull complete [2023-08-25T09:23:35.282Z] e194b8c5c2a9: Verifying Checksum [2023-08-25T09:23:35.282Z] e194b8c5c2a9: Download complete [2023-08-25T09:23:35.282Z] 798269fcf238: Verifying Checksum [2023-08-25T09:23:35.282Z] 798269fcf238: Download complete [2023-08-25T09:23:35.547Z] 6c08303d61cc: Verifying Checksum [2023-08-25T09:23:35.547Z] 6c08303d61cc: Download complete [2023-08-25T09:23:39.764Z] e194b8c5c2a9: Pull complete [2023-08-25T09:23:39.764Z] 6863d3e3a2b1: Pull complete [2023-08-25T09:23:39.764Z] ec0bb842ea78: Pull complete [2023-08-25T09:23:39.764Z] 40a00589a448: Pull complete [2023-08-25T09:23:41.665Z] 6c08303d61cc: Pull complete [2023-08-25T09:23:42.601Z] 798269fcf238: Pull complete [2023-08-25T09:23:42.601Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-25T09:23:42.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-25T09:23:42.601Z] ---> ec979cd7f677 [2023-08-25T09:23:42.601Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-08-25T09:23:46.804Z] ---> Running in 482e982ac32f [2023-08-25T09:23:46.804Z] Removing intermediate container 482e982ac32f [2023-08-25T09:23:46.804Z] ---> 5d3c8171032e [2023-08-25T09:23:46.804Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T09:23:46.804Z] ---> Running in 2076fc7aec21 [2023-08-25T09:23:47.063Z] Removing intermediate container 2076fc7aec21 [2023-08-25T09:23:47.063Z] ---> cb04caf75ff3 [2023-08-25T09:23:47.063Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-08-25T09:23:47.063Z] ---> Running in 264ab8ccb32e [2023-08-25T09:23:47.322Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T09:23:47.580Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T09:23:47.839Z] (1/8) Installing openssh-keygen (9.1_p1-r4) [2023-08-25T09:23:47.839Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-08-25T09:23:47.839Z] (3/8) Installing openssh-client-common (9.1_p1-r4) [2023-08-25T09:23:47.839Z] (4/8) Installing openssh-client-default (9.1_p1-r4) [2023-08-25T09:23:47.839Z] (5/8) Installing openssh-sftp-server (9.1_p1-r4) [2023-08-25T09:23:47.839Z] (6/8) Installing openssh-server-common (9.1_p1-r4) [2023-08-25T09:23:47.839Z] (7/8) Installing openssh-server (9.1_p1-r4) [2023-08-25T09:23:47.839Z] (8/8) Installing openssh (9.1_p1-r4) [2023-08-25T09:23:47.839Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T09:23:47.839Z] OK: 270 MiB in 61 packages [2023-08-25T09:23:47.949Z] Still waiting to schedule task [2023-08-25T09:23:47.949Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-25T09:23:48.411Z] Removing intermediate container 264ab8ccb32e [2023-08-25T09:23:48.411Z] ---> b0a443e38d5d [2023-08-25T09:23:48.411Z] Step 6/10 : WORKDIR /device-modbus-go [2023-08-25T09:23:48.411Z] ---> Running in 25f421fabfd0 [2023-08-25T09:23:48.673Z] Removing intermediate container 25f421fabfd0 [2023-08-25T09:23:48.673Z] ---> 5dd55ab668ad [2023-08-25T09:23:48.673Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-25T09:23:48.673Z] ---> 43e8bed30eaf [2023-08-25T09:23:48.673Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T09:23:48.673Z] ---> Running in 8f26d5ec759c [2023-08-25T09:24:44.947Z] Removing intermediate container 8f26d5ec759c [2023-08-25T09:24:44.947Z] ---> 5f5bbe5a0a58 [2023-08-25T09:24:44.947Z] Step 9/10 : COPY . . [2023-08-25T09:24:44.947Z] ---> 0427d7af8286 [2023-08-25T09:24:44.947Z] Step 10/10 : RUN ${MAKE} [2023-08-25T09:24:44.947Z] ---> Running in 931a47c76ae3 [2023-08-25T09:24:44.947Z] noop [2023-08-25T09:24:44.947Z] Removing intermediate container 931a47c76ae3 [2023-08-25T09:24:44.947Z] ---> aa8805fdc80f [2023-08-25T09:24:44.947Z] Successfully built aa8805fdc80f [2023-08-25T09:24:44.947Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:24:45.266Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-25T09:24:45.266Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T09:24:45.333Z] prd-ubuntu20.04-docker-8c-8g-4550 does not seem to be running inside a container [2023-08-25T09:24:45.360Z] $ 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-08-25T09:24:45.713Z] $ docker top 7464c1e270ef7755c720384fef5e5383df133b49b7bd33b21da23eec8946c1d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T09:24:46.064Z] + go version [2023-08-25T09:24:46.064Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-25T09:24:46.073Z] $ docker stop --time=1 7464c1e270ef7755c720384fef5e5383df133b49b7bd33b21da23eec8946c1d3 [2023-08-25T09:24:47.333Z] $ docker rm -f --volumes 7464c1e270ef7755c720384fef5e5383df133b49b7bd33b21da23eec8946c1d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:24:47.726Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-25T09:24:47.726Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T09:24:47.791Z] prd-ubuntu20.04-docker-8c-8g-4550 does not seem to be running inside a container [2023-08-25T09:24:47.819Z] $ 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-08-25T09:24:48.143Z] $ docker top 31f6f00e4ea6d87eece73ce2f522c4bc8f04586f799daefe004a8e091becc550 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T09:24:48.493Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-25T09:24:48.792Z] + make test [2023-08-25T09:24:48.793Z] go test ./... -coverprofile=coverage.out [2023-08-25T09:24:54.057Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-08-25T09:25:06.250Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-08-25T09:25:06.250Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.019s coverage: 47.9% of statements [2023-08-25T09:25:11.506Z] go vet ./... [2023-08-25T09:25:14.784Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-25T09:25:14.784Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-25T09:25:14.784Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-25T09:25:14.797Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-25T09:25:14.812Z] $ docker stop --time=1 31f6f00e4ea6d87eece73ce2f522c4bc8f04586f799daefe004a8e091becc550 [2023-08-25T09:25:18.205Z] $ docker rm -f --volumes 31f6f00e4ea6d87eece73ce2f522c4bc8f04586f799daefe004a8e091becc550 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T09:25:18.672Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-25T09:25:18.718Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-25T09:25:19.203Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-25T09:25:19.487Z] + ls -al . [2023-08-25T09:25:19.487Z] total 192 [2023-08-25T09:25:19.487Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 09:24 . [2023-08-25T09:25:19.487Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 09:23 .. [2023-08-25T09:25:19.487Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 09:23 .dockerignore [2023-08-25T09:25:19.487Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 09:23 .git [2023-08-25T09:25:19.487Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 09:23 .github [2023-08-25T09:25:19.487Z] -rw-rw-r-- 1 jenkins jenkins 331 Aug 25 09:23 .gitignore [2023-08-25T09:25:19.487Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 09:23 .golangci.yml [2023-08-25T09:25:19.487Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 09:23 .semver [2023-08-25T09:25:19.487Z] -rw-rw-r-- 1 jenkins jenkins 11101 Aug 25 09:23 Attribution.txt [2023-08-25T09:25:19.487Z] -rw-rw-r-- 1 jenkins jenkins 14764 Aug 25 09:23 CHANGELOG.md [2023-08-25T09:25:19.487Z] -rw-rw-r-- 1 jenkins jenkins 1365 Aug 25 09:23 Dockerfile [2023-08-25T09:25:19.487Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 09:23 GOVERNANCE.md [2023-08-25T09:25:19.487Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 25 09:23 Jenkinsfile [2023-08-25T09:25:19.487Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 09:23 LICENSE [2023-08-25T09:25:19.487Z] -rw-rw-r-- 1 jenkins jenkins 1936 Aug 25 09:23 Makefile [2023-08-25T09:25:19.487Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 25 09:23 OWNERS.md [2023-08-25T09:25:19.487Z] -rw-rw-r-- 1 jenkins jenkins 4578 Aug 25 09:23 README.md [2023-08-25T09:25:19.487Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 25 09:23 VERSION [2023-08-25T09:25:19.487Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 09:23 bin [2023-08-25T09:25:19.487Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 09:23 cmd [2023-08-25T09:25:19.487Z] -rw-r--r-- 1 jenkins jenkins 24334 Aug 25 09:25 coverage.out [2023-08-25T09:25:19.487Z] -rw-rw-r-- 1 jenkins jenkins 3940 Aug 25 09:23 go.mod [2023-08-25T09:25:19.487Z] -rw-rw-r-- 1 jenkins jenkins 34434 Aug 25 09:23 go.sum [2023-08-25T09:25:19.487Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 09:23 internal [2023-08-25T09:25:19.487Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 09:23 simulator [2023-08-25T09:25:19.487Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 09:23 snap [2023-08-25T09:25:19.487Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 25 09:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:25:19.788Z] + 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=f93217a48f66f916d77da41a80c6f59472f374e0 --label arch=amd64 --label version=3.1.0-dev.5 . [2023-08-25T09:25:19.788Z] Sending build context to Docker daemon 6.406MB [2023-08-25T09:25:19.788Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T09:25:19.788Z] Step 2/22 : FROM ${BASE} AS builder [2023-08-25T09:25:19.788Z] ---> aa8805fdc80f [2023-08-25T09:25:19.788Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-08-25T09:25:20.048Z] ---> Running in 19d2e7c4122f [2023-08-25T09:25:20.048Z] Removing intermediate container 19d2e7c4122f [2023-08-25T09:25:20.048Z] ---> 0f11bf4c5e3a [2023-08-25T09:25:20.048Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T09:25:20.048Z] ---> Running in 17a35cc9a5c3 [2023-08-25T09:25:20.048Z] Removing intermediate container 17a35cc9a5c3 [2023-08-25T09:25:20.048Z] ---> 96687f777551 [2023-08-25T09:25:20.048Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-08-25T09:25:20.048Z] ---> Running in 2f5696f461e3 [2023-08-25T09:25:20.307Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T09:25:20.390Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4551 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-08-25T09:25:20.404Z] Running in /w/workspace/device-modbus-go/118 [Pipeline] { [Pipeline] checkout [2023-08-25T09:25:20.433Z] Selected Git installation does not exist. Using Default [2023-08-25T09:25:20.433Z] The recommended git tool is: NONE [2023-08-25T09:25:20.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T09:25:20.825Z] OK: 270 MiB in 61 packages [2023-08-25T09:25:21.082Z] Removing intermediate container 2f5696f461e3 [2023-08-25T09:25:21.082Z] ---> 46af538586fc [2023-08-25T09:25:21.082Z] Step 6/22 : WORKDIR /device-modbus-go [2023-08-25T09:25:21.082Z] ---> Running in 8912220cd570 [2023-08-25T09:25:21.340Z] Removing intermediate container 8912220cd570 [2023-08-25T09:25:21.340Z] ---> d74e61ece23c [2023-08-25T09:25:21.340Z] Step 7/22 : COPY go.mod vendor* ./ [2023-08-25T09:25:21.340Z] ---> 705fcc85dd7f [2023-08-25T09:25:21.340Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T09:25:21.340Z] ---> Running in ad2d129151b2 [2023-08-25T09:25:21.907Z] Removing intermediate container ad2d129151b2 [2023-08-25T09:25:21.907Z] ---> 00414b94a4f6 [2023-08-25T09:25:21.907Z] Step 9/22 : COPY . . [2023-08-25T09:25:22.477Z] ---> af42b9fda1aa [2023-08-25T09:25:22.477Z] Step 10/22 : RUN ${MAKE} [2023-08-25T09:25:22.477Z] ---> Running in 5bd7fe60b928 [2023-08-25T09:25:22.734Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-08-25T09:25:25.271Z] using credential edgex-jenkins-ssh [2023-08-25T09:25:25.294Z] Cloning the remote Git repository [2023-08-25T09:25:25.337Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-08-25T09:25:25.433Z] > git init /w/workspace/device-modbus-go/118 # timeout=10 [2023-08-25T09:25:25.618Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-08-25T09:25:25.619Z] > git --version # timeout=10 [2023-08-25T09:25:25.638Z] > git --version # 'git version 2.25.1' [2023-08-25T09:25:25.640Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-25T09:25:25.846Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-25T09:25:27.708Z] Avoid second fetch [2023-08-25T09:25:27.709Z] Checking out Revision f93217a48f66f916d77da41a80c6f59472f374e0 (main) [2023-08-25T09:25:26.891Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-08-25T09:25:26.911Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-25T09:25:27.727Z] > git config core.sparsecheckout # timeout=10 [2023-08-25T09:25:27.792Z] > git checkout -f f93217a48f66f916d77da41a80c6f59472f374e0 # timeout=10 [2023-08-25T09:25:28.235Z] Commit message: "Merge pull request #495 from FelixTing/update-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T09:25:29.078Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-25T09:25:29.078Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T09:25:29.078Z] Dload Upload Total Spent Left Speed [2023-08-25T09:25:29.078Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 97 12751 97 12393 0 0 99943 0 --:--:-- --:--:-- --:--:-- 99144 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-08-25T09:25:29.687Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-25T09:25:30.012Z] + sudo tee /etc/docker/daemon.new [2023-08-25T09:25:30.012Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-25T09:25:30.012Z] { [2023-08-25T09:25:30.012Z] "registry-mirrors": [ [2023-08-25T09:25:30.012Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-25T09:25:30.012Z] ], [2023-08-25T09:25:30.012Z] "bip": "10.250.0.254/24", [2023-08-25T09:25:30.012Z] "hosts": [ [2023-08-25T09:25:30.012Z] "tcp://0.0.0.0:5555", [2023-08-25T09:25:30.012Z] "unix:///var/run/docker.sock" [2023-08-25T09:25:30.012Z] ], [2023-08-25T09:25:30.012Z] "mtu": 1458, [2023-08-25T09:25:30.012Z] "selinux-enabled": true, [2023-08-25T09:25:30.012Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-25T09:25:30.012Z] } [Pipeline] sh [2023-08-25T09:25:30.334Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-25T09:25:30.663Z] + sudo service docker restart [2023-08-25T09:25:44.922Z] Removing intermediate container 5bd7fe60b928 [2023-08-25T09:25:44.922Z] ---> 47bbdd0ffa5c [2023-08-25T09:25:44.922Z] Step 11/22 : FROM alpine:3.17 [2023-08-25T09:25:44.922Z] 3.17: Pulling from library/alpine [2023-08-25T09:25:44.922Z] 9398808236ff: Pulling fs layer [2023-08-25T09:25:44.922Z] 9398808236ff: Verifying Checksum [2023-08-25T09:25:44.922Z] 9398808236ff: Download complete [2023-08-25T09:25:44.922Z] 9398808236ff: Pull complete [2023-08-25T09:25:44.922Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-25T09:25:44.922Z] Status: Downloaded newer image for alpine:3.17 [2023-08-25T09:25:44.922Z] ---> 1e0b8b5322fc [2023-08-25T09:25:44.922Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-08-25T09:25:44.922Z] ---> Running in a907df21aafd [2023-08-25T09:25:44.922Z] Removing intermediate container a907df21aafd [2023-08-25T09:25:44.922Z] ---> 06463033676d [2023-08-25T09:25:44.922Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-08-25T09:25:44.922Z] ---> Running in c52711cd97d9 [2023-08-25T09:25:44.922Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T09:25:44.922Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T09:25:45.182Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-25T09:25:45.182Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T09:25:45.182Z] OK: 7 MiB in 16 packages [2023-08-25T09:25:45.440Z] Removing intermediate container c52711cd97d9 [2023-08-25T09:25:45.440Z] ---> 24b3252d19bb [2023-08-25T09:25:45.440Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-08-25T09:25:46.382Z] ---> 58cba5a2f665 [2023-08-25T09:25:46.382Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-08-25T09:25:46.382Z] ---> 5cc894d626ab [2023-08-25T09:25:46.382Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-08-25T09:25:46.382Z] ---> 8f38d96c6258 [2023-08-25T09:25:46.382Z] Step 17/22 : EXPOSE 59901 [2023-08-25T09:25:46.642Z] ---> Running in 12554c936080 [2023-08-25T09:25:46.642Z] Removing intermediate container 12554c936080 [2023-08-25T09:25:46.642Z] ---> 974fc52ba1f0 [2023-08-25T09:25:46.642Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-08-25T09:25:46.642Z] ---> Running in c537cc6d7f85 [2023-08-25T09:25:46.642Z] Removing intermediate container c537cc6d7f85 [2023-08-25T09:25:46.642Z] ---> c9ee3768b517 [2023-08-25T09:25:46.642Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-25T09:25:46.642Z] ---> Running in 34e6a92fece7 [2023-08-25T09:25:46.642Z] Removing intermediate container 34e6a92fece7 [2023-08-25T09:25:46.642Z] ---> da06f5f4d7d9 [2023-08-25T09:25:46.642Z] Step 20/22 : LABEL arch=amd64 [2023-08-25T09:25:46.901Z] ---> Running in 1f3e654bf5df [2023-08-25T09:25:46.901Z] Removing intermediate container 1f3e654bf5df [2023-08-25T09:25:46.901Z] ---> 66aa1966926b [2023-08-25T09:25:46.901Z] Step 21/22 : LABEL git_sha=f93217a48f66f916d77da41a80c6f59472f374e0 [2023-08-25T09:25:46.901Z] ---> Running in b68837e4b7e0 [2023-08-25T09:25:46.901Z] Removing intermediate container b68837e4b7e0 [2023-08-25T09:25:46.901Z] ---> 0be34284bbc2 [2023-08-25T09:25:46.901Z] Step 22/22 : LABEL version=3.1.0-dev.5 [2023-08-25T09:25:46.901Z] ---> Running in 48a0b5cf279d [2023-08-25T09:25:46.901Z] Removing intermediate container 48a0b5cf279d [2023-08-25T09:25:46.901Z] ---> 1159d9b0c0ad [2023-08-25T09:25:46.901Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-25T09:25:47.165Z] Successfully built 1159d9b0c0ad [2023-08-25T09:25:47.165Z] 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-08-25T09:25:47.284Z] provisioning config files... [2023-08-25T09:25:47.294Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1781819321621687709tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T09:25:47.590Z] ---> docker-login.sh [2023-08-25T09:25:47.590Z] nexus3.edgexfoundry.org:10001 [2023-08-25T09:25:47.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T09:25:47.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T09:25:47.590Z] Configure a credential helper to remove this warning. See [2023-08-25T09:25:47.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T09:25:47.590Z] [2023-08-25T09:25:47.590Z] Login Succeeded [2023-08-25T09:25:47.590Z] nexus3.edgexfoundry.org:10002 [2023-08-25T09:25:47.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T09:25:47.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T09:25:47.591Z] Configure a credential helper to remove this warning. See [2023-08-25T09:25:47.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T09:25:47.591Z] [2023-08-25T09:25:47.591Z] Login Succeeded [2023-08-25T09:25:47.591Z] nexus3.edgexfoundry.org:10003 [2023-08-25T09:25:47.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T09:25:47.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T09:25:47.850Z] Configure a credential helper to remove this warning. See [2023-08-25T09:25:47.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T09:25:47.850Z] [2023-08-25T09:25:47.850Z] Login Succeeded [2023-08-25T09:25:47.850Z] nexus3.edgexfoundry.org:10004 [2023-08-25T09:25:47.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T09:25:47.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T09:25:47.850Z] Configure a credential helper to remove this warning. See [2023-08-25T09:25:47.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T09:25:47.850Z] [2023-08-25T09:25:47.850Z] Login Succeeded [2023-08-25T09:25:47.850Z] docker.io [2023-08-25T09:25:47.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T09:25:48.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T09:25:48.108Z] Configure a credential helper to remove this warning. See [2023-08-25T09:25:48.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T09:25:48.108Z] [2023-08-25T09:25:48.108Z] Login Succeeded [2023-08-25T09:25:48.108Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T09:25:48.116Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-25T09:25:48.141Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T09:25:48.157Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-08-25T09:25:48.157Z] f93217a48f66f916d77da41a80c6f59472f374e0 [2023-08-25T09:25:48.157Z] latest [2023-08-25T09:25:48.157Z] 3.1.0-dev.5 [2023-08-25T09:25:48.157Z] f93217a48f66f916d77da41a80c6f59472f374e0-3.1.0-dev.5 [2023-08-25T09:25:48.157Z] main [2023-08-25T09:25:48.157Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:25:48.468Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:f93217a48f66f916d77da41a80c6f59472f374e0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:25:48.770Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:f93217a48f66f916d77da41a80c6f59472f374e0 [2023-08-25T09:25:48.770Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-08-25T09:25:48.770Z] 27da9b96c665: Preparing [2023-08-25T09:25:48.770Z] a6ffda34da65: Preparing [2023-08-25T09:25:48.770Z] 7e8f28a5742d: Preparing [2023-08-25T09:25:48.770Z] 6dac9a623cf1: Preparing [2023-08-25T09:25:48.770Z] 36b50b131297: Preparing [2023-08-25T09:25:48.770Z] 36b50b131297: Layer already exists [2023-08-25T09:25:48.770Z] 6dac9a623cf1: Pushed [2023-08-25T09:25:48.770Z] a6ffda34da65: Pushed [2023-08-25T09:25:48.770Z] 27da9b96c665: Pushed [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T09:25:48.908Z] provisioning config files... [2023-08-25T09:25:48.930Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/118@tmp/config15986827280953492956tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T09:25:49.277Z] ---> docker-login.sh [2023-08-25T09:25:49.277Z] nexus3.edgexfoundry.org:10001 [2023-08-25T09:25:49.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T09:25:49.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T09:25:49.813Z] Configure a credential helper to remove this warning. See [2023-08-25T09:25:49.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T09:25:49.813Z] [2023-08-25T09:25:49.813Z] Login Succeeded [2023-08-25T09:25:49.813Z] nexus3.edgexfoundry.org:10002 [2023-08-25T09:25:50.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T09:25:50.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T09:25:50.083Z] Configure a credential helper to remove this warning. See [2023-08-25T09:25:50.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T09:25:50.083Z] [2023-08-25T09:25:50.083Z] Login Succeeded [2023-08-25T09:25:50.083Z] nexus3.edgexfoundry.org:10003 [2023-08-25T09:25:50.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T09:25:50.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T09:25:50.620Z] Configure a credential helper to remove this warning. See [2023-08-25T09:25:50.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T09:25:50.620Z] [2023-08-25T09:25:50.620Z] Login Succeeded [2023-08-25T09:25:50.620Z] nexus3.edgexfoundry.org:10004 [2023-08-25T09:25:50.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T09:25:50.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T09:25:50.890Z] Configure a credential helper to remove this warning. See [2023-08-25T09:25:50.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T09:25:50.890Z] [2023-08-25T09:25:50.890Z] Login Succeeded [2023-08-25T09:25:50.890Z] docker.io [2023-08-25T09:25:51.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T09:25:51.303Z] 7e8f28a5742d: Pushed [2023-08-25T09:25:51.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T09:25:51.426Z] Configure a credential helper to remove this warning. See [2023-08-25T09:25:51.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T09:25:51.426Z] [2023-08-25T09:25:51.426Z] Login Succeeded [2023-08-25T09:25:51.426Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T09:25:51.439Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-08-25T09:25:51.562Z] f93217a48f66f916d77da41a80c6f59472f374e0: digest: sha256:ab9d854801007d4aad32eb5833eca71711c3dad0317bb8a662bc57955b4e7790 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo [2023-08-25T09:25:51.698Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T09:25:51.712Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T09:25:51.728Z] ========================================================= [2023-08-25T09:25:51.728Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-25T09:25:51.728Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:25:51.889Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:25:52.092Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-25T09:25:52.196Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-08-25T09:25:52.196Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-08-25T09:25:52.196Z] 27da9b96c665: Preparing [2023-08-25T09:25:52.196Z] a6ffda34da65: Preparing [2023-08-25T09:25:52.196Z] 7e8f28a5742d: Preparing [2023-08-25T09:25:52.196Z] 6dac9a623cf1: Preparing [2023-08-25T09:25:52.196Z] 36b50b131297: Preparing [2023-08-25T09:25:52.196Z] 6dac9a623cf1: Layer already exists [2023-08-25T09:25:52.196Z] 7e8f28a5742d: Layer already exists [2023-08-25T09:25:52.196Z] 36b50b131297: Layer already exists [2023-08-25T09:25:52.196Z] a6ffda34da65: Layer already exists [2023-08-25T09:25:52.196Z] 27da9b96c665: Layer already exists [2023-08-25T09:25:52.196Z] latest: digest: sha256:ab9d854801007d4aad32eb5833eca71711c3dad0317bb8a662bc57955b4e7790 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:25:52.363Z] Sending build context to Docker daemon 3.309MB [2023-08-25T09:25:52.363Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T09:25:52.363Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-25T09:25:52.509Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:25:52.634Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-25T09:25:52.634Z] edb6bdbacee9: Pulling fs layer [2023-08-25T09:25:52.634Z] 5f9638ab2659: Pulling fs layer [2023-08-25T09:25:52.634Z] 8d51d6327a98: Pulling fs layer [2023-08-25T09:25:52.634Z] 8b374f2dd631: Pulling fs layer [2023-08-25T09:25:52.634Z] ec14aa9079de: Pulling fs layer [2023-08-25T09:25:52.634Z] 2f466654f4bb: Pulling fs layer [2023-08-25T09:25:52.634Z] 554e91adad29: Pulling fs layer [2023-08-25T09:25:52.634Z] 8b374f2dd631: Waiting [2023-08-25T09:25:52.634Z] ec14aa9079de: Waiting [2023-08-25T09:25:52.634Z] 2f466654f4bb: Waiting [2023-08-25T09:25:52.634Z] 554e91adad29: Waiting [2023-08-25T09:25:52.634Z] 5f9638ab2659: Verifying Checksum [2023-08-25T09:25:52.634Z] 5f9638ab2659: Download complete [2023-08-25T09:25:52.634Z] 8b374f2dd631: Verifying Checksum [2023-08-25T09:25:52.634Z] 8b374f2dd631: Download complete [2023-08-25T09:25:52.634Z] ec14aa9079de: Verifying Checksum [2023-08-25T09:25:52.634Z] ec14aa9079de: Download complete [2023-08-25T09:25:52.634Z] edb6bdbacee9: Verifying Checksum [2023-08-25T09:25:52.634Z] edb6bdbacee9: Download complete [2023-08-25T09:25:52.810Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.5 [2023-08-25T09:25:52.810Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-08-25T09:25:52.810Z] 27da9b96c665: Preparing [2023-08-25T09:25:52.810Z] a6ffda34da65: Preparing [2023-08-25T09:25:52.810Z] 7e8f28a5742d: Preparing [2023-08-25T09:25:52.810Z] 6dac9a623cf1: Preparing [2023-08-25T09:25:52.810Z] 36b50b131297: Preparing [2023-08-25T09:25:52.810Z] 27da9b96c665: Layer already exists [2023-08-25T09:25:52.810Z] 36b50b131297: Layer already exists [2023-08-25T09:25:52.810Z] a6ffda34da65: Layer already exists [2023-08-25T09:25:52.810Z] 7e8f28a5742d: Layer already exists [2023-08-25T09:25:52.810Z] 6dac9a623cf1: Layer already exists [2023-08-25T09:25:52.810Z] 3.1.0-dev.5: digest: sha256:ab9d854801007d4aad32eb5833eca71711c3dad0317bb8a662bc57955b4e7790 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:25:53.137Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:f93217a48f66f916d77da41a80c6f59472f374e0-3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:25:53.445Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:f93217a48f66f916d77da41a80c6f59472f374e0-3.1.0-dev.5 [2023-08-25T09:25:53.445Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-08-25T09:25:53.445Z] 27da9b96c665: Preparing [2023-08-25T09:25:53.445Z] a6ffda34da65: Preparing [2023-08-25T09:25:53.445Z] 7e8f28a5742d: Preparing [2023-08-25T09:25:53.445Z] 6dac9a623cf1: Preparing [2023-08-25T09:25:53.445Z] 36b50b131297: Preparing [2023-08-25T09:25:53.445Z] 27da9b96c665: Layer already exists [2023-08-25T09:25:53.445Z] a6ffda34da65: Layer already exists [2023-08-25T09:25:53.445Z] 36b50b131297: Layer already exists [2023-08-25T09:25:53.445Z] 7e8f28a5742d: Layer already exists [2023-08-25T09:25:53.445Z] 6dac9a623cf1: Layer already exists [2023-08-25T09:25:53.445Z] f93217a48f66f916d77da41a80c6f59472f374e0-3.1.0-dev.5: digest: sha256:ab9d854801007d4aad32eb5833eca71711c3dad0317bb8a662bc57955b4e7790 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:25:53.757Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:25:54.056Z] edb6bdbacee9: Pull complete [2023-08-25T09:25:54.057Z] 554e91adad29: Verifying Checksum [2023-08-25T09:25:54.057Z] 554e91adad29: Download complete [2023-08-25T09:25:54.064Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-08-25T09:25:54.064Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-08-25T09:25:54.064Z] 27da9b96c665: Preparing [2023-08-25T09:25:54.064Z] a6ffda34da65: Preparing [2023-08-25T09:25:54.064Z] 7e8f28a5742d: Preparing [2023-08-25T09:25:54.064Z] 6dac9a623cf1: Preparing [2023-08-25T09:25:54.064Z] 36b50b131297: Preparing [2023-08-25T09:25:54.064Z] a6ffda34da65: Layer already exists [2023-08-25T09:25:54.064Z] 27da9b96c665: Layer already exists [2023-08-25T09:25:54.064Z] 7e8f28a5742d: Layer already exists [2023-08-25T09:25:54.064Z] 36b50b131297: Layer already exists [2023-08-25T09:25:54.064Z] 6dac9a623cf1: Layer already exists [2023-08-25T09:25:54.064Z] main: digest: sha256:ab9d854801007d4aad32eb5833eca71711c3dad0317bb8a662bc57955b4e7790 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-25T09:25:54.121Z] ===================================================== [Pipeline] echo [2023-08-25T09:25:54.133Z] taggedImages: [2023-08-25T09:25:54.133Z] - nexus3.edgexfoundry.org:10004/device-modbus:f93217a48f66f916d77da41a80c6f59472f374e0 [2023-08-25T09:25:54.133Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-08-25T09:25:54.133Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.5 [2023-08-25T09:25:54.133Z] - nexus3.edgexfoundry.org:10004/device-modbus:f93217a48f66f916d77da41a80c6f59472f374e0-3.1.0-dev.5 [2023-08-25T09:25:54.133Z] - 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-08-25T09:25:54.327Z] 5f9638ab2659: Pull complete [2023-08-25T09:25:54.516Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T09:25:54.516Z] [2023-08-25T09:25:54.516Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:25:54.822Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T09:25:54.822Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-25T09:25:54.822Z] 5eb5b503b376: Pulling fs layer [2023-08-25T09:25:54.822Z] 5c69ac0246d0: Pulling fs layer [2023-08-25T09:25:54.822Z] ec43610c2a17: Pulling fs layer [2023-08-25T09:25:54.822Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-25T09:25:54.822Z] 33b1e0a273af: Pulling fs layer [2023-08-25T09:25:54.822Z] 5d3b04190fa2: Pulling fs layer [2023-08-25T09:25:54.822Z] 2f39f015ded8: Pulling fs layer [2023-08-25T09:25:54.822Z] 3a2ae6a8a46f: Waiting [2023-08-25T09:25:54.822Z] 33b1e0a273af: Waiting [2023-08-25T09:25:54.822Z] 2f39f015ded8: Waiting [2023-08-25T09:25:54.822Z] 5d3b04190fa2: Waiting [2023-08-25T09:25:54.822Z] 5c69ac0246d0: Verifying Checksum [2023-08-25T09:25:54.822Z] 5c69ac0246d0: Download complete [2023-08-25T09:25:54.822Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-25T09:25:54.822Z] 3a2ae6a8a46f: Download complete [2023-08-25T09:25:54.822Z] 33b1e0a273af: Verifying Checksum [2023-08-25T09:25:54.822Z] 33b1e0a273af: Download complete [2023-08-25T09:25:54.822Z] ec43610c2a17: Verifying Checksum [2023-08-25T09:25:54.822Z] ec43610c2a17: Download complete [2023-08-25T09:25:54.822Z] 5d3b04190fa2: Verifying Checksum [2023-08-25T09:25:54.822Z] 5d3b04190fa2: Download complete [2023-08-25T09:25:55.081Z] 5eb5b503b376: Verifying Checksum [2023-08-25T09:25:55.081Z] 5eb5b503b376: Download complete [2023-08-25T09:25:55.311Z] 8d51d6327a98: Verifying Checksum [2023-08-25T09:25:55.311Z] 8d51d6327a98: Download complete [2023-08-25T09:25:55.311Z] 2f466654f4bb: Download complete [2023-08-25T09:25:55.646Z] 2f39f015ded8: Download complete [2023-08-25T09:25:56.213Z] 5eb5b503b376: Pull complete [2023-08-25T09:25:56.213Z] 5c69ac0246d0: Pull complete [2023-08-25T09:25:56.779Z] ec43610c2a17: Pull complete [2023-08-25T09:25:56.779Z] 3a2ae6a8a46f: Pull complete [2023-08-25T09:25:57.037Z] 33b1e0a273af: Pull complete [2023-08-25T09:25:57.037Z] 5d3b04190fa2: Pull complete [2023-08-25T09:26:01.222Z] 2f39f015ded8: Pull complete [2023-08-25T09:26:01.222Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-25T09:26:01.222Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T09:26:01.222Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T09:26:01.298Z] prd-ubuntu20.04-docker-8c-8g-4550 does not seem to be running inside a container [2023-08-25T09:26:01.327Z] $ 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-08-25T09:26:06.547Z] $ docker top 735462c077f49de7232ae55ee7bfd0476dc04fbe3d97e9ce41c0f7f1fa625ff4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T09:26:06.947Z] ---> job-cost.sh [2023-08-25T09:26:06.947Z] lf-activate-venv: SKIPPING [2023-08-25T09:26:06.947Z] INFO: No Stack... [2023-08-25T09:26:07.206Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-25T09:26:07.656Z] 8d51d6327a98: Pull complete [2023-08-25T09:26:07.657Z] 8b374f2dd631: Pull complete [2023-08-25T09:26:07.657Z] ec14aa9079de: Pull complete [2023-08-25T09:26:07.772Z] INFO: Archiving Costs [Pipeline] sh [2023-08-25T09:26:08.055Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-08-25T09:26:08.055Z] + cut -d, -f6 [Pipeline] lock [2023-08-25T09:26:08.067Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-118-stack-cost] [2023-08-25T09:26:08.073Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-118-stack-cost] did not exist. Created. [2023-08-25T09:26:08.073Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-118-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T09:26:08.376Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-25T09:26:08.412Z] Stashed 1 file(s) [Pipeline] } [2023-08-25T09:26:08.419Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-118-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-25T09:26:08.439Z] $ docker stop --time=1 735462c077f49de7232ae55ee7bfd0476dc04fbe3d97e9ce41c0f7f1fa625ff4 [2023-08-25T09:26:09.589Z] $ docker rm -f --volumes 735462c077f49de7232ae55ee7bfd0476dc04fbe3d97e9ce41c0f7f1fa625ff4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-25T09:26:14.326Z] 2f466654f4bb: Pull complete [2023-08-25T09:26:16.924Z] 554e91adad29: Pull complete [2023-08-25T09:26:16.924Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-25T09:26:16.924Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-25T09:26:16.924Z] ---> 1e15ea492957 [2023-08-25T09:26:16.924Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-08-25T09:26:18.397Z] ---> Running in 5d7e11fc29c2 [2023-08-25T09:26:18.397Z] Removing intermediate container 5d7e11fc29c2 [2023-08-25T09:26:18.397Z] ---> d98064bb29c1 [2023-08-25T09:26:18.397Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T09:26:18.685Z] ---> Running in e4b024d9d3e1 [2023-08-25T09:26:18.960Z] Removing intermediate container e4b024d9d3e1 [2023-08-25T09:26:18.960Z] ---> a7a173895203 [2023-08-25T09:26:18.960Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-08-25T09:26:18.960Z] ---> Running in 2af545c1fe36 [2023-08-25T09:26:19.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T09:26:20.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T09:26:21.484Z] (1/8) Installing openssh-keygen (9.1_p1-r4) [2023-08-25T09:26:21.484Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-08-25T09:26:21.484Z] (3/8) Installing openssh-client-common (9.1_p1-r4) [2023-08-25T09:26:21.484Z] (4/8) Installing openssh-client-default (9.1_p1-r4) [2023-08-25T09:26:21.484Z] (5/8) Installing openssh-sftp-server (9.1_p1-r4) [2023-08-25T09:26:21.484Z] (6/8) Installing openssh-server-common (9.1_p1-r4) [2023-08-25T09:26:21.484Z] (7/8) Installing openssh-server (9.1_p1-r4) [2023-08-25T09:26:21.751Z] (8/8) Installing openssh (9.1_p1-r4) [2023-08-25T09:26:21.751Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T09:26:21.751Z] OK: 270 MiB in 61 packages [2023-08-25T09:26:22.718Z] Removing intermediate container 2af545c1fe36 [2023-08-25T09:26:22.718Z] ---> 27f15fb3a060 [2023-08-25T09:26:22.718Z] Step 6/10 : WORKDIR /device-modbus-go [2023-08-25T09:26:22.718Z] ---> Running in dba3db88ccfd [2023-08-25T09:26:23.303Z] Removing intermediate container dba3db88ccfd [2023-08-25T09:26:23.303Z] ---> 2be6a3eb0d0d [2023-08-25T09:26:23.303Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-25T09:26:23.577Z] ---> b348deb831f7 [2023-08-25T09:26:23.577Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T09:26:23.577Z] ---> Running in fee7d1cb68a9 [2023-08-25T09:27:31.467Z] Removing intermediate container fee7d1cb68a9 [2023-08-25T09:27:31.467Z] ---> e65f0552d1dc [2023-08-25T09:27:31.467Z] Step 9/10 : COPY . . [2023-08-25T09:27:31.467Z] ---> e41c913b61bf [2023-08-25T09:27:31.467Z] Step 10/10 : RUN ${MAKE} [2023-08-25T09:27:31.467Z] ---> Running in ce9326b227e7 [2023-08-25T09:27:31.467Z] noop [2023-08-25T09:27:31.467Z] Removing intermediate container ce9326b227e7 [2023-08-25T09:27:31.467Z] ---> 43e98d549db8 [2023-08-25T09:27:31.467Z] Successfully built 43e98d549db8 [2023-08-25T09:27:31.467Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:27:31.820Z] + docker inspect -f . ci-base-image-arm64 [2023-08-25T09:27:31.820Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T09:27:32.032Z] prd-ubuntu20.04-docker-arm64-4c-16g-4551 does not seem to be running inside a container [2023-08-25T09:27:32.096Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/118 -v /w/workspace/device-modbus-go/118:/w/workspace/device-modbus-go/118:rw,z -v /w/workspace/device-modbus-go/118@tmp:/w/workspace/device-modbus-go/118@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-08-25T09:27:33.265Z] $ docker top f7a4e972af9c9ee29b1bb877ea4159763640ae5b3b741b51225041a4efa77db3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T09:27:34.070Z] + go version [2023-08-25T09:27:34.071Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-25T09:27:34.091Z] $ docker stop --time=1 f7a4e972af9c9ee29b1bb877ea4159763640ae5b3b741b51225041a4efa77db3 [2023-08-25T09:27:35.701Z] $ docker rm -f --volumes f7a4e972af9c9ee29b1bb877ea4159763640ae5b3b741b51225041a4efa77db3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:27:36.233Z] + docker inspect -f . ci-base-image-arm64 [2023-08-25T09:27:36.233Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T09:27:36.406Z] prd-ubuntu20.04-docker-arm64-4c-16g-4551 does not seem to be running inside a container [2023-08-25T09:27:36.468Z] $ 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/118 -v /w/workspace/device-modbus-go/118:/w/workspace/device-modbus-go/118:rw,z -v /w/workspace/device-modbus-go/118@tmp:/w/workspace/device-modbus-go/118@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-08-25T09:27:37.554Z] $ docker top 09a723f167a0ee8710aec5604977fd3343ee8594e5b901a2e3c2e472dbf70383 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T09:27:38.052Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/118 [Pipeline] fileExists [Pipeline] sh [2023-08-25T09:27:38.690Z] + make test [2023-08-25T09:27:38.690Z] go test ./... -coverprofile=coverage.out [2023-08-25T09:28:10.912Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-08-25T09:30:02.567Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-08-25T09:30:02.567Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.078s coverage: 47.9% of statements [2023-08-25T09:30:02.567Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-25T09:30:02.567Z] go vet ./... [2023-08-25T09:30:24.628Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-25T09:30:24.628Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-25T09:30:24.628Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-25T09:30:25.227Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-25T09:30:25.239Z] $ docker stop --time=1 09a723f167a0ee8710aec5604977fd3343ee8594e5b901a2e3c2e472dbf70383 [2023-08-25T09:30:27.007Z] $ docker rm -f --volumes 09a723f167a0ee8710aec5604977fd3343ee8594e5b901a2e3c2e472dbf70383 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T09:30:28.101Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-25T09:30:28.128Z] Warning: overwriting stash ‘coverage-report’ [2023-08-25T09:30:28.549Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T09:30:28.929Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-25T09:30:29.243Z] + ls -al . [2023-08-25T09:30:29.243Z] total 188 [2023-08-25T09:30:29.243Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 09:27 . [2023-08-25T09:30:29.243Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 09:25 .. [2023-08-25T09:30:29.243Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 09:25 .dockerignore [2023-08-25T09:30:29.243Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 09:25 .git [2023-08-25T09:30:29.243Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 09:25 .github [2023-08-25T09:30:29.243Z] -rw-rw-r-- 1 jenkins jenkins 331 Aug 25 09:25 .gitignore [2023-08-25T09:30:29.243Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 09:25 .golangci.yml [2023-08-25T09:30:29.243Z] -rw-rw-r-- 1 jenkins jenkins 11101 Aug 25 09:25 Attribution.txt [2023-08-25T09:30:29.243Z] -rw-rw-r-- 1 jenkins jenkins 14764 Aug 25 09:25 CHANGELOG.md [2023-08-25T09:30:29.243Z] -rw-rw-r-- 1 jenkins jenkins 1365 Aug 25 09:25 Dockerfile [2023-08-25T09:30:29.243Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 09:25 GOVERNANCE.md [2023-08-25T09:30:29.243Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 25 09:25 Jenkinsfile [2023-08-25T09:30:29.243Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 09:25 LICENSE [2023-08-25T09:30:29.243Z] -rw-rw-r-- 1 jenkins jenkins 1936 Aug 25 09:25 Makefile [2023-08-25T09:30:29.243Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 25 09:25 OWNERS.md [2023-08-25T09:30:29.243Z] -rw-rw-r-- 1 jenkins jenkins 4578 Aug 25 09:25 README.md [2023-08-25T09:30:29.243Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 25 09:23 VERSION [2023-08-25T09:30:29.243Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 09:25 bin [2023-08-25T09:30:29.243Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 09:25 cmd [2023-08-25T09:30:29.243Z] -rw-r--r-- 1 jenkins jenkins 24334 Aug 25 09:29 coverage.out [2023-08-25T09:30:29.243Z] -rw-rw-r-- 1 jenkins jenkins 3940 Aug 25 09:25 go.mod [2023-08-25T09:30:29.243Z] -rw-rw-r-- 1 jenkins jenkins 34434 Aug 25 09:25 go.sum [2023-08-25T09:30:29.243Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 09:25 internal [2023-08-25T09:30:29.243Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 09:25 simulator [2023-08-25T09:30:29.243Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 09:25 snap [2023-08-25T09:30:29.243Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 25 09:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:30:29.572Z] + 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=f93217a48f66f916d77da41a80c6f59472f374e0 --label arch=arm64 --label version=3.1.0-dev.5 . [2023-08-25T09:30:29.839Z] Sending build context to Docker daemon 3.334MB [2023-08-25T09:30:29.839Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T09:30:29.839Z] Step 2/22 : FROM ${BASE} AS builder [2023-08-25T09:30:29.839Z] ---> 43e98d549db8 [2023-08-25T09:30:29.839Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-08-25T09:30:29.839Z] ---> Running in 52e830d9bd52 [2023-08-25T09:30:30.105Z] Removing intermediate container 52e830d9bd52 [2023-08-25T09:30:30.105Z] ---> 2c3102dc46f1 [2023-08-25T09:30:30.105Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T09:30:30.371Z] ---> Running in 67c18ef76338 [2023-08-25T09:30:30.637Z] Removing intermediate container 67c18ef76338 [2023-08-25T09:30:30.637Z] ---> f727d074d093 [2023-08-25T09:30:30.637Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-08-25T09:30:30.637Z] ---> Running in 3c606f037869 [2023-08-25T09:30:31.605Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T09:30:32.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T09:30:33.150Z] OK: 270 MiB in 61 packages [2023-08-25T09:30:34.118Z] Removing intermediate container 3c606f037869 [2023-08-25T09:30:34.118Z] ---> 1ab55272fe3d [2023-08-25T09:30:34.118Z] Step 6/22 : WORKDIR /device-modbus-go [2023-08-25T09:30:34.118Z] ---> Running in bcd8621df4ed [2023-08-25T09:30:34.389Z] Removing intermediate container bcd8621df4ed [2023-08-25T09:30:34.389Z] ---> 408bbce2e6bc [2023-08-25T09:30:34.389Z] Step 7/22 : COPY go.mod vendor* ./ [2023-08-25T09:30:34.975Z] ---> 2983ea2df1d6 [2023-08-25T09:30:34.975Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T09:30:34.975Z] ---> Running in 6c5e6c1fef7d [2023-08-25T09:30:36.916Z] Removing intermediate container 6c5e6c1fef7d [2023-08-25T09:30:36.916Z] ---> 3bd680402203 [2023-08-25T09:30:36.916Z] Step 9/22 : COPY . . [2023-08-25T09:30:37.505Z] ---> c437907fd4da [2023-08-25T09:30:37.505Z] Step 10/22 : RUN ${MAKE} [2023-08-25T09:30:37.779Z] ---> Running in 18477e04a735 [2023-08-25T09:30:38.622Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-08-25T09:33:00.307Z] Removing intermediate container 18477e04a735 [2023-08-25T09:33:00.307Z] ---> 2997ec10a0ca [2023-08-25T09:33:00.307Z] Step 11/22 : FROM alpine:3.17 [2023-08-25T09:33:00.307Z] 3.17: Pulling from library/alpine [2023-08-25T09:33:00.307Z] 4060ece20d7a: Pulling fs layer [2023-08-25T09:33:00.307Z] 4060ece20d7a: Download complete [2023-08-25T09:33:00.307Z] 4060ece20d7a: Pull complete [2023-08-25T09:33:00.308Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-25T09:33:00.308Z] Status: Downloaded newer image for alpine:3.17 [2023-08-25T09:33:00.308Z] ---> 8650cd65339b [2023-08-25T09:33:00.308Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-08-25T09:33:00.308Z] ---> Running in f667fcb91591 [2023-08-25T09:33:00.308Z] Removing intermediate container f667fcb91591 [2023-08-25T09:33:00.308Z] ---> 168e713047f3 [2023-08-25T09:33:00.308Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-08-25T09:33:00.308Z] ---> Running in 1a39c6bdffd6 [2023-08-25T09:33:00.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T09:33:00.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T09:33:00.308Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-25T09:33:00.308Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T09:33:00.308Z] OK: 8 MiB in 16 packages [2023-08-25T09:33:00.308Z] Removing intermediate container 1a39c6bdffd6 [2023-08-25T09:33:00.308Z] ---> 51d4ed7e1892 [2023-08-25T09:33:00.308Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-08-25T09:33:00.308Z] ---> d43d716a4ef7 [2023-08-25T09:33:00.308Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-08-25T09:33:00.308Z] ---> 62e1f69a7e1f [2023-08-25T09:33:00.308Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-08-25T09:33:00.308Z] ---> 479194cce320 [2023-08-25T09:33:00.308Z] Step 17/22 : EXPOSE 59901 [2023-08-25T09:33:00.308Z] ---> Running in c71b8c80fec6 [2023-08-25T09:33:00.308Z] Removing intermediate container c71b8c80fec6 [2023-08-25T09:33:00.308Z] ---> 3404e67132cd [2023-08-25T09:33:00.308Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-08-25T09:33:00.308Z] ---> Running in 0e58d235e148 [2023-08-25T09:33:00.308Z] Removing intermediate container 0e58d235e148 [2023-08-25T09:33:00.308Z] ---> d649384af396 [2023-08-25T09:33:00.308Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-25T09:33:00.308Z] ---> Running in 564347ea761c [2023-08-25T09:33:00.308Z] Removing intermediate container 564347ea761c [2023-08-25T09:33:00.308Z] ---> 23415766f61d [2023-08-25T09:33:00.308Z] Step 20/22 : LABEL arch=arm64 [2023-08-25T09:33:00.308Z] ---> Running in 4e566c6483ef [2023-08-25T09:33:00.308Z] Removing intermediate container 4e566c6483ef [2023-08-25T09:33:00.308Z] ---> d51fb2f75041 [2023-08-25T09:33:00.308Z] Step 21/22 : LABEL git_sha=f93217a48f66f916d77da41a80c6f59472f374e0 [2023-08-25T09:33:00.308Z] ---> Running in b770f47294de [2023-08-25T09:33:00.308Z] Removing intermediate container b770f47294de [2023-08-25T09:33:00.308Z] ---> 69748d4b5cbc [2023-08-25T09:33:00.308Z] Step 22/22 : LABEL version=3.1.0-dev.5 [2023-08-25T09:33:00.308Z] ---> Running in 071dcdc254bf [2023-08-25T09:33:00.308Z] Removing intermediate container 071dcdc254bf [2023-08-25T09:33:00.308Z] ---> bcb1f2d017d1 [2023-08-25T09:33:00.308Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-25T09:33:00.308Z] Successfully built bcb1f2d017d1 [2023-08-25T09:33:00.308Z] 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-08-25T09:33:00.422Z] provisioning config files... [2023-08-25T09:33:00.437Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/118@tmp/config15174307692303264545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T09:33:00.767Z] ---> docker-login.sh [2023-08-25T09:33:00.767Z] nexus3.edgexfoundry.org:10001 [2023-08-25T09:33:00.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T09:33:01.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T09:33:01.034Z] Configure a credential helper to remove this warning. See [2023-08-25T09:33:01.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T09:33:01.034Z] [2023-08-25T09:33:01.034Z] Login Succeeded [2023-08-25T09:33:01.034Z] nexus3.edgexfoundry.org:10002 [2023-08-25T09:33:01.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T09:33:01.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T09:33:01.300Z] Configure a credential helper to remove this warning. See [2023-08-25T09:33:01.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T09:33:01.300Z] [2023-08-25T09:33:01.300Z] Login Succeeded [2023-08-25T09:33:01.300Z] nexus3.edgexfoundry.org:10003 [2023-08-25T09:33:01.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T09:33:01.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T09:33:01.565Z] Configure a credential helper to remove this warning. See [2023-08-25T09:33:01.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T09:33:01.565Z] [2023-08-25T09:33:01.565Z] Login Succeeded [2023-08-25T09:33:01.565Z] nexus3.edgexfoundry.org:10004 [2023-08-25T09:33:01.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T09:33:02.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T09:33:02.099Z] Configure a credential helper to remove this warning. See [2023-08-25T09:33:02.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T09:33:02.099Z] [2023-08-25T09:33:02.099Z] Login Succeeded [2023-08-25T09:33:02.099Z] docker.io [2023-08-25T09:33:02.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T09:33:02.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T09:33:02.630Z] Configure a credential helper to remove this warning. See [2023-08-25T09:33:02.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T09:33:02.630Z] [2023-08-25T09:33:02.630Z] Login Succeeded [2023-08-25T09:33:02.630Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T09:33:02.644Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-25T09:33:02.673Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T09:33:02.689Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-08-25T09:33:02.689Z] f93217a48f66f916d77da41a80c6f59472f374e0 [2023-08-25T09:33:02.689Z] latest [2023-08-25T09:33:02.689Z] 3.1.0-dev.5 [2023-08-25T09:33:02.689Z] f93217a48f66f916d77da41a80c6f59472f374e0-3.1.0-dev.5 [2023-08-25T09:33:02.689Z] main [2023-08-25T09:33:02.689Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:33:03.024Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:f93217a48f66f916d77da41a80c6f59472f374e0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:33:03.362Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:f93217a48f66f916d77da41a80c6f59472f374e0 [2023-08-25T09:33:03.362Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-08-25T09:33:03.362Z] 9acc42e72fbb: Preparing [2023-08-25T09:33:03.362Z] 191408eff41f: Preparing [2023-08-25T09:33:03.362Z] 9ef020a7033a: Preparing [2023-08-25T09:33:03.362Z] ca64410a3455: Preparing [2023-08-25T09:33:03.362Z] d2d9d24a8c2a: Preparing [2023-08-25T09:33:03.362Z] d2d9d24a8c2a: Layer already exists [2023-08-25T09:33:03.628Z] ca64410a3455: Pushed [2023-08-25T09:33:03.628Z] 9acc42e72fbb: Pushed [2023-08-25T09:33:03.628Z] 191408eff41f: Pushed [2023-08-25T09:33:08.952Z] 9ef020a7033a: Pushed [2023-08-25T09:33:08.952Z] f93217a48f66f916d77da41a80c6f59472f374e0: digest: sha256:3fa674d1e265f43c73c4b4fa378ceb14bcb812abb772c3fa92f851a96935db11 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:33:09.307Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:33:09.641Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-08-25T09:33:09.641Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-08-25T09:33:09.641Z] 9acc42e72fbb: Preparing [2023-08-25T09:33:09.641Z] 191408eff41f: Preparing [2023-08-25T09:33:09.641Z] 9ef020a7033a: Preparing [2023-08-25T09:33:09.641Z] ca64410a3455: Preparing [2023-08-25T09:33:09.641Z] d2d9d24a8c2a: Preparing [2023-08-25T09:33:09.641Z] 9acc42e72fbb: Layer already exists [2023-08-25T09:33:09.641Z] 9ef020a7033a: Layer already exists [2023-08-25T09:33:09.641Z] d2d9d24a8c2a: Layer already exists [2023-08-25T09:33:09.641Z] ca64410a3455: Layer already exists [2023-08-25T09:33:09.641Z] 191408eff41f: Layer already exists [2023-08-25T09:33:09.641Z] latest: digest: sha256:3fa674d1e265f43c73c4b4fa378ceb14bcb812abb772c3fa92f851a96935db11 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:33:09.979Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:33:10.314Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.5 [2023-08-25T09:33:10.314Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-08-25T09:33:10.314Z] 9acc42e72fbb: Preparing [2023-08-25T09:33:10.314Z] 191408eff41f: Preparing [2023-08-25T09:33:10.314Z] 9ef020a7033a: Preparing [2023-08-25T09:33:10.314Z] ca64410a3455: Preparing [2023-08-25T09:33:10.314Z] d2d9d24a8c2a: Preparing [2023-08-25T09:33:10.314Z] d2d9d24a8c2a: Layer already exists [2023-08-25T09:33:10.314Z] 9ef020a7033a: Layer already exists [2023-08-25T09:33:10.314Z] 9acc42e72fbb: Layer already exists [2023-08-25T09:33:10.314Z] 191408eff41f: Layer already exists [2023-08-25T09:33:10.314Z] ca64410a3455: Layer already exists [2023-08-25T09:33:10.314Z] 3.1.0-dev.5: digest: sha256:3fa674d1e265f43c73c4b4fa378ceb14bcb812abb772c3fa92f851a96935db11 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:33:10.653Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:f93217a48f66f916d77da41a80c6f59472f374e0-3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:33:11.049Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:f93217a48f66f916d77da41a80c6f59472f374e0-3.1.0-dev.5 [2023-08-25T09:33:11.049Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-08-25T09:33:11.049Z] 9acc42e72fbb: Preparing [2023-08-25T09:33:11.049Z] 191408eff41f: Preparing [2023-08-25T09:33:11.049Z] 9ef020a7033a: Preparing [2023-08-25T09:33:11.049Z] ca64410a3455: Preparing [2023-08-25T09:33:11.049Z] d2d9d24a8c2a: Preparing [2023-08-25T09:33:11.049Z] d2d9d24a8c2a: Layer already exists [2023-08-25T09:33:11.049Z] 9acc42e72fbb: Layer already exists [2023-08-25T09:33:11.049Z] 191408eff41f: Layer already exists [2023-08-25T09:33:11.049Z] 9ef020a7033a: Layer already exists [2023-08-25T09:33:11.049Z] ca64410a3455: Layer already exists [2023-08-25T09:33:11.049Z] f93217a48f66f916d77da41a80c6f59472f374e0-3.1.0-dev.5: digest: sha256:3fa674d1e265f43c73c4b4fa378ceb14bcb812abb772c3fa92f851a96935db11 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:33:11.388Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:33:11.722Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-08-25T09:33:11.722Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-08-25T09:33:11.723Z] 9acc42e72fbb: Preparing [2023-08-25T09:33:11.723Z] 191408eff41f: Preparing [2023-08-25T09:33:11.723Z] 9ef020a7033a: Preparing [2023-08-25T09:33:11.723Z] ca64410a3455: Preparing [2023-08-25T09:33:11.723Z] d2d9d24a8c2a: Preparing [2023-08-25T09:33:11.723Z] 9ef020a7033a: Layer already exists [2023-08-25T09:33:11.723Z] 9acc42e72fbb: Layer already exists [2023-08-25T09:33:11.723Z] d2d9d24a8c2a: Layer already exists [2023-08-25T09:33:11.723Z] 191408eff41f: Layer already exists [2023-08-25T09:33:11.723Z] ca64410a3455: Layer already exists [2023-08-25T09:33:11.723Z] main: digest: sha256:3fa674d1e265f43c73c4b4fa378ceb14bcb812abb772c3fa92f851a96935db11 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-25T09:33:11.779Z] ===================================================== [Pipeline] echo [2023-08-25T09:33:11.787Z] taggedImages: [2023-08-25T09:33:11.787Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:f93217a48f66f916d77da41a80c6f59472f374e0 [2023-08-25T09:33:11.787Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-08-25T09:33:11.787Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.5 [2023-08-25T09:33:11.787Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:f93217a48f66f916d77da41a80c6f59472f374e0-3.1.0-dev.5 [2023-08-25T09:33:11.787Z] - 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-08-25T09:33:12.146Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T09:33:12.147Z] [2023-08-25T09:33:12.147Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:33:12.518Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T09:33:12.518Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-25T09:33:12.518Z] 8998bd30e6a1: Pulling fs layer [2023-08-25T09:33:12.518Z] 04944245beec: Pulling fs layer [2023-08-25T09:33:12.518Z] 699f458cf7ca: Pulling fs layer [2023-08-25T09:33:12.518Z] 765212b225bb: Pulling fs layer [2023-08-25T09:33:12.518Z] f23df028b6ca: Pulling fs layer [2023-08-25T09:33:12.518Z] d65c8cfc05b1: Pulling fs layer [2023-08-25T09:33:12.518Z] 2437ff75d9bd: Pulling fs layer [2023-08-25T09:33:12.518Z] f23df028b6ca: Waiting [2023-08-25T09:33:12.518Z] d65c8cfc05b1: Waiting [2023-08-25T09:33:12.518Z] 2437ff75d9bd: Waiting [2023-08-25T09:33:12.518Z] 765212b225bb: Waiting [2023-08-25T09:33:12.796Z] 04944245beec: Verifying Checksum [2023-08-25T09:33:12.796Z] 04944245beec: Download complete [2023-08-25T09:33:12.796Z] 765212b225bb: Verifying Checksum [2023-08-25T09:33:12.796Z] 765212b225bb: Download complete [2023-08-25T09:33:12.796Z] f23df028b6ca: Verifying Checksum [2023-08-25T09:33:12.796Z] f23df028b6ca: Download complete [2023-08-25T09:33:12.797Z] d65c8cfc05b1: Verifying Checksum [2023-08-25T09:33:12.797Z] d65c8cfc05b1: Download complete [2023-08-25T09:33:13.063Z] 699f458cf7ca: Verifying Checksum [2023-08-25T09:33:13.063Z] 699f458cf7ca: Download complete [2023-08-25T09:33:13.332Z] 8998bd30e6a1: Download complete [2023-08-25T09:33:15.265Z] 2437ff75d9bd: Verifying Checksum [2023-08-25T09:33:15.265Z] 2437ff75d9bd: Download complete [2023-08-25T09:33:16.666Z] 8998bd30e6a1: Pull complete [2023-08-25T09:33:17.244Z] 04944245beec: Pull complete [2023-08-25T09:33:18.199Z] 699f458cf7ca: Pull complete [2023-08-25T09:33:18.465Z] 765212b225bb: Pull complete [2023-08-25T09:33:19.045Z] f23df028b6ca: Pull complete [2023-08-25T09:33:19.311Z] d65c8cfc05b1: Pull complete [2023-08-25T09:33:34.297Z] 2437ff75d9bd: Pull complete [2023-08-25T09:33:34.297Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-25T09:33:34.297Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T09:33:34.297Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T09:33:34.494Z] prd-ubuntu20.04-docker-arm64-4c-16g-4551 does not seem to be running inside a container [2023-08-25T09:33:34.559Z] $ 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/118 -v /w/workspace/device-modbus-go/118:/w/workspace/device-modbus-go/118:rw,z -v /w/workspace/device-modbus-go/118@tmp:/w/workspace/device-modbus-go/118@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-08-25T09:33:37.098Z] $ docker top 4f82bce64755a0722cecfacdbb3eb43205af4aadf7cc6e0e104d6ff095b4a611 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T09:33:37.931Z] ---> job-cost.sh [2023-08-25T09:33:37.931Z] lf-activate-venv: SKIPPING [2023-08-25T09:33:37.931Z] INFO: No Stack... [2023-08-25T09:33:38.196Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-25T09:33:39.154Z] INFO: Archiving Costs [Pipeline] sh [2023-08-25T09:33:39.782Z] + cat /w/workspace/device-modbus-go/118/archives/cost.csv [2023-08-25T09:33:39.782Z] + cut -d, -f6 [Pipeline] lock [2023-08-25T09:33:39.848Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-118-stack-cost] [2023-08-25T09:33:39.853Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-118-stack-cost] did not exist. Created. [2023-08-25T09:33:39.853Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-118-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T09:33:40.192Z] /w/workspace/device-modbus-go/118@tmp/durable-43585839/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-25T09:33:40.525Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-25T09:33:40.546Z] Warning: overwriting stash ‘stack-cost’ [2023-08-25T09:33:40.598Z] Stashed 1 file(s) [Pipeline] } [2023-08-25T09:33:40.605Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-118-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-25T09:33:40.626Z] $ docker stop --time=1 4f82bce64755a0722cecfacdbb3eb43205af4aadf7cc6e0e104d6ff095b4a611 [2023-08-25T09:33:42.122Z] $ docker rm -f --volumes 4f82bce64755a0722cecfacdbb3eb43205af4aadf7cc6e0e104d6ff095b4a611 [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-08-25T09:33:42.557Z] provisioning config files... [2023-08-25T09:33:42.565Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11484358597082037283tmp [Pipeline] { [Pipeline] sh [2023-08-25T09:33:42.859Z] + set +x [2023-08-25T09:33:42.859Z] + curl -s https://codecov.io/bash [2023-08-25T09:33:42.859Z] + bash -s -- [2023-08-25T09:33:42.859Z] [2023-08-25T09:33:42.859Z] _____ _ [2023-08-25T09:33:42.859Z] / ____| | | [2023-08-25T09:33:42.859Z] | | ___ __| | ___ ___ _____ __ [2023-08-25T09:33:42.859Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-25T09:33:42.859Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-25T09:33:42.859Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-25T09:33:42.859Z] Bash-1.0.6 [2023-08-25T09:33:42.859Z] [2023-08-25T09:33:42.859Z] [2023-08-25T09:33:42.859Z] ==> git version 2.25.1 found [2023-08-25T09:33:42.859Z] ==> 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-08-25T09:33:42.859Z] Release-Date: 2020-01-08 [2023-08-25T09:33:42.859Z] 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-08-25T09:33:42.859Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-25T09:33:42.859Z] ==> Jenkins CI detected. [2023-08-25T09:33:42.859Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-08-25T09:33:42.859Z] project root: . [2023-08-25T09:33:42.859Z] --> token set from env [2023-08-25T09:33:42.859Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-25T09:33:42.859Z] ==> Running gcov in . (disable via -X gcov) [2023-08-25T09:33:42.859Z] ==> Python coveragepy not found [2023-08-25T09:33:42.859Z] ==> Searching for coverage reports in: [2023-08-25T09:33:42.859Z] + . [2023-08-25T09:33:43.118Z] -> Found 1 reports [2023-08-25T09:33:43.118Z] ==> Detecting git/mercurial file structure [2023-08-25T09:33:43.118Z] ==> Reading reports [2023-08-25T09:33:43.118Z] + ./coverage.out bytes=24334 [2023-08-25T09:33:43.118Z] ==> Appending adjustments [2023-08-25T09:33:43.118Z] https://docs.codecov.io/docs/fixing-reports [2023-08-25T09:33:43.118Z] + Found adjustments [2023-08-25T09:33:43.118Z] ==> Gzipping contents [2023-08-25T09:33:43.118Z] 4.0K /tmp/codecov.QOlOwe.gz [2023-08-25T09:33:43.118Z] ==> Uploading reports [2023-08-25T09:33:43.118Z] url: https://codecov.io [2023-08-25T09:33:43.118Z] query: branch=main&commit=f93217a48f66f916d77da41a80c6f59472f374e0&build=118&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F118%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-25T09:33:43.118Z] -> Pinging Codecov [2023-08-25T09:33:43.118Z] 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=f93217a48f66f916d77da41a80c6f59472f374e0&build=118&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F118%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-25T09:33:43.378Z] -> Uploading to [2023-08-25T09:33:43.378Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-25/55DBCA73C666E3227836607328DD7E49/f93217a48f66f916d77da41a80c6f59472f374e0/d80e5998-4256-4ba3-a992-4480d1c3ab1e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T093343Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=16000c5c92685852a5b6e949df95a9d1eee7f8d6cadea7610756eabf2b343341 [2023-08-25T09:33:43.378Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T09:33:43.378Z] Dload Upload Total Spent Left Speed [2023-08-25T09:33:43.378Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 20172 --:--:-- --:--:-- --:--:-- 20070 100 3974 0 0 100 3974 0 20172 --:--:-- --:--:-- --:--:-- 20070 [2023-08-25T09:33:43.638Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/f93217a48f66f916d77da41a80c6f59472f374e0 [Pipeline] } [2023-08-25T09:33:43.644Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-25T09:33:43.839Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-25T09:33:43.852Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:33:44.151Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-25T09:33:44.151Z] [2023-08-25T09:33:44.151Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:33:44.460Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-25T09:33:44.719Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-25T09:33:44.719Z] df9b9388f04a: Pulling fs layer [2023-08-25T09:33:44.719Z] 52dc419b0ee2: Pulling fs layer [2023-08-25T09:33:44.719Z] 25bc292e5bac: Pulling fs layer [2023-08-25T09:33:44.719Z] 114826534d7a: Pulling fs layer [2023-08-25T09:33:44.719Z] 4657fd5d0bcf: Pulling fs layer [2023-08-25T09:33:44.719Z] 6ad1cebc031e: Pulling fs layer [2023-08-25T09:33:44.719Z] 8a3aa393b2d8: Pulling fs layer [2023-08-25T09:33:44.719Z] 6ad1cebc031e: Waiting [2023-08-25T09:33:44.719Z] 4657fd5d0bcf: Waiting [2023-08-25T09:33:44.719Z] 114826534d7a: Waiting [2023-08-25T09:33:44.719Z] 8a3aa393b2d8: Waiting [2023-08-25T09:33:44.719Z] 25bc292e5bac: Verifying Checksum [2023-08-25T09:33:44.719Z] 25bc292e5bac: Download complete [2023-08-25T09:33:44.719Z] 52dc419b0ee2: Verifying Checksum [2023-08-25T09:33:44.719Z] 52dc419b0ee2: Download complete [2023-08-25T09:33:44.719Z] 4657fd5d0bcf: Verifying Checksum [2023-08-25T09:33:44.719Z] 4657fd5d0bcf: Download complete [2023-08-25T09:33:44.719Z] df9b9388f04a: Download complete [2023-08-25T09:33:44.719Z] 6ad1cebc031e: Verifying Checksum [2023-08-25T09:33:44.719Z] 6ad1cebc031e: Download complete [2023-08-25T09:33:44.719Z] df9b9388f04a: Pull complete [2023-08-25T09:33:44.978Z] 52dc419b0ee2: Pull complete [2023-08-25T09:33:45.237Z] 25bc292e5bac: Pull complete [2023-08-25T09:33:45.495Z] 114826534d7a: Verifying Checksum [2023-08-25T09:33:45.495Z] 114826534d7a: Download complete [2023-08-25T09:33:45.495Z] 8a3aa393b2d8: Verifying Checksum [2023-08-25T09:33:45.495Z] 8a3aa393b2d8: Download complete [2023-08-25T09:33:48.772Z] 114826534d7a: Pull complete [2023-08-25T09:33:48.772Z] 4657fd5d0bcf: Pull complete [2023-08-25T09:33:49.336Z] 6ad1cebc031e: Pull complete [2023-08-25T09:33:51.861Z] 8a3aa393b2d8: Pull complete [2023-08-25T09:33:51.861Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-25T09:33:51.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-25T09:33:51.861Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T09:33:51.942Z] prd-ubuntu20.04-docker-8c-8g-4550 does not seem to be running inside a container [2023-08-25T09:33:51.964Z] $ 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-08-25T09:34:02.460Z] $ docker top f89c186e7f67221ef1dd601f3fcfe3d5da2823038a48cc4e3ee67d7ce0c28933 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-25T09:34:02.542Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-08-25T09:34:02.819Z] + set -o pipefail [2023-08-25T09:34:02.819Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-08-25T09:34:07.022Z] [2023-08-25T09:34:07.022Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-08-25T09:34:07.022Z] [2023-08-25T09:34:07.022Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/2895ccba-ee1c-410b-b50a-0bb31c6e61ee [2023-08-25T09:34:07.022Z] [2023-08-25T09:34:07.022Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-08-25T09:34:07.022Z] [2023-08-25T09:34:07.022Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-25T09:34:07.022Z] [2023-08-25T09:34:07.022Z] [2023-08-25T09:34:07.022Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-25T09:34:07.022Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-25T09:34:07.022Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-08-25T09:34:07.027Z] $ docker stop --time=1 f89c186e7f67221ef1dd601f3fcfe3d5da2823038a48cc4e3ee67d7ce0c28933 [2023-08-25T09:34:13.690Z] $ docker rm -f --volumes f89c186e7f67221ef1dd601f3fcfe3d5da2823038a48cc4e3ee67d7ce0c28933 [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-08-25T09:34:14.437Z] + git log --format=format:%s -1 f93217a48f66f916d77da41a80c6f59472f374e0 [Pipeline] sh [2023-08-25T09:34:14.724Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T09:34:14.724Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:34:15.028Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T09:34:15.028Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T09:34:15.095Z] prd-ubuntu20.04-docker-8c-8g-4550 does not seem to be running inside a container [2023-08-25T09:34:15.119Z] $ 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-08-25T09:34:15.613Z] $ docker top a18b1a67b0cc68c56205440c8d71179848ff69cf25136f01be237cc412abcd07 -eo pid,comm [2023-08-25T09:34:15.667Z] 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-08-25T09:34:15.667Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T09:34:15.694Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T09:34:15.694Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T09:34:15.815Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T09:34:15.813Z] $ docker exec a18b1a67b0cc68c56205440c8d71179848ff69cf25136f01be237cc412abcd07 ssh-agent [2023-08-25T09:34:15.921Z] SSH_AUTH_SOCK=/tmp/ssh-6Zz6LYttYF65/agent.32 [2023-08-25T09:34:15.921Z] SSH_AGENT_PID=39 [2023-08-25T09:34:15.925Z] Running ssh-add (command line suppressed) [2023-08-25T09:34:16.010Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3350474146452758751.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3350474146452758751.key) [2023-08-25T09:34:16.026Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T09:34:16.311Z] + git semver tag [2023-08-25T09:34:16.571Z] 2023-08-25 09:34:16,472 [run_tag] DEBUG tag force:False [2023-08-25T09:34:16.571Z] 2023-08-25 09:34:16,473 [check_head_tag] DEBUG check head tag [2023-08-25T09:34:16.571Z] 2023-08-25 09:34:16,473 [execute] INFO git cat-file --batch-check [2023-08-25T09:34:16.571Z] 2023-08-25 09:34:16,473 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-08-25T09:34:16.571Z] 2023-08-25 09:34:16,477 [execute] INFO git cat-file --batch [2023-08-25T09:34:16.571Z] 2023-08-25 09:34:16,477 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-08-25T09:34:16.571Z] 2023-08-25 09:34:16,484 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-25T09:34:16.571Z] 2023-08-25 09:34:16,485 [execute] INFO git tag -a v3.1.0-dev.5 -m v3.1.0-dev.5 [2023-08-25T09:34:16.571Z] 2023-08-25 09:34:16,485 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.5', '-m', 'v3.1.0-dev.5'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-25T09:34:16.571Z] 2023-08-25 09:34:16,489 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-25T09:34:16.571Z] 3.1.0-dev.5 [Pipeline] } [2023-08-25T09:34:16.575Z] $ docker exec --env ******** --env ******** a18b1a67b0cc68c56205440c8d71179848ff69cf25136f01be237cc412abcd07 ssh-agent -k [2023-08-25T09:34:16.695Z] unset SSH_AUTH_SOCK; [2023-08-25T09:34:16.695Z] unset SSH_AGENT_PID; [2023-08-25T09:34:16.695Z] echo Agent pid 39 killed; [2023-08-25T09:34:16.710Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T09:34:17.018Z] + git semver [Pipeline] } [2023-08-25T09:34:17.285Z] $ docker stop --time=1 a18b1a67b0cc68c56205440c8d71179848ff69cf25136f01be237cc412abcd07 [2023-08-25T09:34:18.647Z] $ docker rm -f --volumes a18b1a67b0cc68c56205440c8d71179848ff69cf25136f01be237cc412abcd07 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:34:19.040Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-25T09:34:19.040Z] [2023-08-25T09:34:19.040Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:34:19.335Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-25T09:34:19.335Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-25T09:34:19.335Z] ab5ef0e58194: Pulling fs layer [2023-08-25T09:34:19.335Z] 9712f1f96733: Pulling fs layer [2023-08-25T09:34:19.335Z] 63f879dbbcfc: Pulling fs layer [2023-08-25T09:34:19.335Z] 0d9ebad4ef96: Pulling fs layer [2023-08-25T09:34:19.335Z] e9a5061849ea: Pulling fs layer [2023-08-25T09:34:19.335Z] d747dcd14b5f: Pulling fs layer [2023-08-25T09:34:19.335Z] 2de7ff778b66: Pulling fs layer [2023-08-25T09:34:19.335Z] 0d9ebad4ef96: Waiting [2023-08-25T09:34:19.335Z] e9a5061849ea: Waiting [2023-08-25T09:34:19.335Z] d747dcd14b5f: Waiting [2023-08-25T09:34:19.335Z] 9712f1f96733: Download complete [2023-08-25T09:34:19.595Z] 63f879dbbcfc: Verifying Checksum [2023-08-25T09:34:19.595Z] 63f879dbbcfc: Download complete [2023-08-25T09:34:19.852Z] 0d9ebad4ef96: Verifying Checksum [2023-08-25T09:34:19.852Z] 0d9ebad4ef96: Download complete [2023-08-25T09:34:19.852Z] d747dcd14b5f: Verifying Checksum [2023-08-25T09:34:19.852Z] d747dcd14b5f: Download complete [2023-08-25T09:34:19.852Z] e9a5061849ea: Verifying Checksum [2023-08-25T09:34:19.852Z] e9a5061849ea: Download complete [2023-08-25T09:34:19.852Z] ab5ef0e58194: Verifying Checksum [2023-08-25T09:34:19.852Z] ab5ef0e58194: Download complete [2023-08-25T09:34:19.852Z] 2de7ff778b66: Download complete [2023-08-25T09:34:22.383Z] ab5ef0e58194: Pull complete [2023-08-25T09:34:22.383Z] 9712f1f96733: Pull complete [2023-08-25T09:34:23.318Z] 63f879dbbcfc: Pull complete [2023-08-25T09:34:27.499Z] 0d9ebad4ef96: Pull complete [2023-08-25T09:34:27.499Z] e9a5061849ea: Pull complete [2023-08-25T09:34:27.499Z] d747dcd14b5f: Pull complete [2023-08-25T09:34:28.064Z] 2de7ff778b66: Pull complete [2023-08-25T09:34:28.065Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-25T09:34:28.065Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-25T09:34:28.065Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T09:34:28.156Z] prd-ubuntu20.04-docker-8c-8g-4550 does not seem to be running inside a container [2023-08-25T09:34:28.182Z] $ 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-08-25T09:34:36.703Z] $ docker top 4beb362d4b9ac08a2891fbe58d93d81e4f33dd746950bef71203615d1bd9ada6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-25T09:34:36.772Z] provisioning config files... [2023-08-25T09:34:36.777Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16590524239280203538tmp [2023-08-25T09:34:36.799Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10719250035224762608tmp [2023-08-25T09:34:36.806Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config580942448349101587tmp [Pipeline] { [Pipeline] echo [2023-08-25T09:34:36.820Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T09:34:37.104Z] ---> sigul-configuration.sh [2023-08-25T09:34:37.104Z] gpg: directory `/root/.gnupg' created [2023-08-25T09:34:37.104Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-25T09:34:37.104Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-25T09:34:37.104Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-25T09:34:37.104Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-25T09:34:37.104Z] gpg: CAST5 encrypted data [2023-08-25T09:34:37.104Z] gpg: encrypted with 1 passphrase [2023-08-25T09:34:37.104Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-25T09:34:37.387Z] + mkdir /home/jenkins [2023-08-25T09:34:37.387Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-25T09:34:37.671Z] + 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-08-25T09:34:37.680Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T09:34:37.964Z] ---> sigul-install.sh [2023-08-25T09:34:37.964Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-25T09:34:38.247Z] + git tag --list [2023-08-25T09:34:38.247Z] 0.7.1 [2023-08-25T09:34:38.247Z] v1.0.0 [2023-08-25T09:34:38.247Z] v1.1.0 [2023-08-25T09:34:38.247Z] v1.1.1 [2023-08-25T09:34:38.247Z] v1.2.2 [2023-08-25T09:34:38.247Z] v1.3.0 [2023-08-25T09:34:38.247Z] v1.3.1 [2023-08-25T09:34:38.247Z] v2.0.0 [2023-08-25T09:34:38.247Z] v2.1.0 [2023-08-25T09:34:38.247Z] v2.1.1 [2023-08-25T09:34:38.247Z] v2.2.0 [2023-08-25T09:34:38.247Z] v2.3.0 [2023-08-25T09:34:38.247Z] v3.0 [2023-08-25T09:34:38.247Z] v3.0.0 [2023-08-25T09:34:38.247Z] v3.1.0-dev.1 [2023-08-25T09:34:38.247Z] v3.1.0-dev.2 [2023-08-25T09:34:38.247Z] v3.1.0-dev.3 [2023-08-25T09:34:38.247Z] v3.1.0-dev.4 [2023-08-25T09:34:38.247Z] v3.1.0-dev.5 [Pipeline] sh [2023-08-25T09:34:38.544Z] + lftools sign git-tag v3.1.0-dev.5 [2023-08-25T09:34:39.137Z] Signing Git tag with Sigul... [2023-08-25T09:34:39.137Z] Signing v3.1.0-dev.5 [Pipeline] echo [2023-08-25T09:34:39.404Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T09:34:39.685Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-25T09:34:39.690Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-25T09:34:39.701Z] $ docker stop --time=1 4beb362d4b9ac08a2891fbe58d93d81e4f33dd746950bef71203615d1bd9ada6 [2023-08-25T09:34:41.013Z] $ docker rm -f --volumes 4beb362d4b9ac08a2891fbe58d93d81e4f33dd746950bef71203615d1bd9ada6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-25T09:34:41.509Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T09:34:41.509Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:34:41.805Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T09:34:41.806Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T09:34:41.880Z] prd-ubuntu20.04-docker-8c-8g-4550 does not seem to be running inside a container [2023-08-25T09:34:41.906Z] $ 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-08-25T09:34:42.309Z] $ docker top 161c4904a764eea3e39aa28630b6184864ac69fa53dbdba2c99b579aa2a9835d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T09:34:42.399Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T09:34:42.399Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T09:34:42.511Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T09:34:42.509Z] $ docker exec 161c4904a764eea3e39aa28630b6184864ac69fa53dbdba2c99b579aa2a9835d ssh-agent [2023-08-25T09:34:42.616Z] SSH_AUTH_SOCK=/tmp/ssh-QWEdCMDnO5mN/agent.33 [2023-08-25T09:34:42.616Z] SSH_AGENT_PID=39 [2023-08-25T09:34:42.620Z] Running ssh-add (command line suppressed) [2023-08-25T09:34:42.733Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8616926297253670194.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8616926297253670194.key) [2023-08-25T09:34:42.751Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T09:34:43.037Z] + git semver bump pre [2023-08-25T09:34:43.296Z] 2023-08-25 09:34:43,200 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-25T09:34:43.296Z] 2023-08-25 09:34:43,200 [bump_version] DEBUG bumping version:3.1.0-dev.5 on axis:pre with prefix:dev [2023-08-25T09:34:43.296Z] 2023-08-25 09:34:43,200 [bump_version] DEBUG bumped version:3.1.0-dev.6 [2023-08-25T09:34:43.296Z] 2023-08-25 09:34:43,200 [write_version] DEBUG write version:3.1.0-dev.6 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-08-25T09:34:43.296Z] 2023-08-25 09:34:43,200 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-25T09:34:43.296Z] 2023-08-25 09:34:43,200 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-25T09:34:43.296Z] 2023-08-25 09:34:43,203 [execute] INFO git cat-file --batch-check [2023-08-25T09:34:43.296Z] 2023-08-25 09:34:43,203 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T09:34:43.296Z] 2023-08-25 09:34:43,209 [execute] INFO git cat-file --batch [2023-08-25T09:34:43.296Z] 2023-08-25 09:34:43,210 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T09:34:43.296Z] 2023-08-25 09:34:43,215 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-25T09:34:43.296Z] 3.1.0-dev.6 [Pipeline] } [2023-08-25T09:34:43.301Z] $ docker exec --env ******** --env ******** 161c4904a764eea3e39aa28630b6184864ac69fa53dbdba2c99b579aa2a9835d ssh-agent -k [2023-08-25T09:34:43.404Z] unset SSH_AUTH_SOCK; [2023-08-25T09:34:43.405Z] unset SSH_AGENT_PID; [2023-08-25T09:34:43.405Z] echo Agent pid 39 killed; [2023-08-25T09:34:43.420Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T09:34:43.720Z] + git semver [Pipeline] } [2023-08-25T09:34:43.989Z] $ docker stop --time=1 161c4904a764eea3e39aa28630b6184864ac69fa53dbdba2c99b579aa2a9835d [2023-08-25T09:34:45.375Z] $ docker rm -f --volumes 161c4904a764eea3e39aa28630b6184864ac69fa53dbdba2c99b579aa2a9835d [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T09:34:45.719Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T09:34:45.719Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:34:46.016Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T09:34:46.017Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T09:34:46.092Z] prd-ubuntu20.04-docker-8c-8g-4550 does not seem to be running inside a container [2023-08-25T09:34:46.125Z] $ 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-08-25T09:34:46.487Z] $ docker top 36084e17bc25d6c7911124928cb0d27b5236e3747f7c369777d5795cbdf23756 -eo pid,comm [2023-08-25T09:34:46.541Z] 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-08-25T09:34:46.541Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T09:34:46.588Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T09:34:46.588Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T09:34:46.694Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T09:34:46.692Z] $ docker exec 36084e17bc25d6c7911124928cb0d27b5236e3747f7c369777d5795cbdf23756 ssh-agent [2023-08-25T09:34:46.816Z] SSH_AUTH_SOCK=/tmp/ssh-lN7mivu7sUGw/agent.32 [2023-08-25T09:34:46.816Z] SSH_AGENT_PID=38 [2023-08-25T09:34:46.820Z] Running ssh-add (command line suppressed) [2023-08-25T09:34:46.932Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3131128666333813396.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3131128666333813396.key) [2023-08-25T09:34:46.952Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T09:34:47.238Z] + git semver push [2023-08-25T09:34:47.498Z] 2023-08-25 09:34:47,426 [run_push] DEBUG push [2023-08-25T09:34:47.498Z] 2023-08-25 09:34:47,427 [execute] INFO git cat-file --batch-check [2023-08-25T09:34:47.498Z] 2023-08-25 09:34:47,427 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T09:34:47.498Z] 2023-08-25 09:34:47,431 [execute] INFO git rev-list 92b2e9a4a3bbfb184aecce2c94d31e1658d4b1e0 -- [2023-08-25T09:34:47.498Z] 2023-08-25 09:34:47,432 [execute] DEBUG Popen(['git', 'rev-list', '92b2e9a4a3bbfb184aecce2c94d31e1658d4b1e0', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-25T09:34:47.498Z] 2023-08-25 09:34:47,441 [execute] INFO git fetch -v origin [2023-08-25T09:34:47.498Z] 2023-08-25 09:34:47,441 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-25T09:34:48.066Z] 2023-08-25 09:34:47,924 [run_push] DEBUG no remote changes detected [2023-08-25T09:34:48.066Z] 2023-08-25 09:34:47,925 [execute] INFO git push origin semver [2023-08-25T09:34:48.066Z] 2023-08-25 09:34:47,925 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-25T09:34:49.007Z] 2023-08-25 09:34:48,785 [run_push] DEBUG push all version tags [2023-08-25T09:34:49.007Z] 2023-08-25 09:34:48,785 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-25T09:34:49.007Z] 2023-08-25 09:34:48,786 [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-08-25T09:34:49.941Z] 2023-08-25 09:34:49,787 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-25T09:34:49.941Z] 3.1.0-dev.6 [Pipeline] } [2023-08-25T09:34:49.946Z] $ docker exec --env ******** --env ******** 36084e17bc25d6c7911124928cb0d27b5236e3747f7c369777d5795cbdf23756 ssh-agent -k [2023-08-25T09:34:50.048Z] unset SSH_AUTH_SOCK; [2023-08-25T09:34:50.051Z] unset SSH_AGENT_PID; [2023-08-25T09:34:50.051Z] echo Agent pid 38 killed; [2023-08-25T09:34:50.066Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T09:34:50.367Z] + git semver [Pipeline] } [2023-08-25T09:34:50.635Z] $ docker stop --time=1 36084e17bc25d6c7911124928cb0d27b5236e3747f7c369777d5795cbdf23756 [2023-08-25T09:34:51.953Z] $ docker rm -f --volumes 36084e17bc25d6c7911124928cb0d27b5236e3747f7c369777d5795cbdf23756 [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-08-25T09:34:52.922Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-08-25T09:34:52.922Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-08-25T09:34:52.922Z] total 16 [2023-08-25T09:34:52.922Z] drwxr-xr-x 3 root root 4096 Aug 25 09:26 . [2023-08-25T09:34:52.922Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 09:34 .. [2023-08-25T09:34:52.922Z] drwxr-xr-x 2 root root 4096 Aug 25 09:26 cost [2023-08-25T09:34:52.922Z] -rw-r--r-- 1 root root 88 Aug 25 09:26 cost.csv [2023-08-25T09:34:52.923Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-08-25T09:34:52.923Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-08-25T09:34:52.923Z] total 16 [2023-08-25T09:34:52.923Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 09:26 . [2023-08-25T09:34:52.923Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 09:34 .. [2023-08-25T09:34:52.923Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 09:26 cost [2023-08-25T09:34:52.923Z] -rw-r--r-- 1 jenkins jenkins 88 Aug 25 09:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-25T09:34:53.210Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T09:34:54.060Z] ---> package-listing.sh [2023-08-25T09:34:54.060Z] ++ facter osfamily [2023-08-25T09:34:54.060Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-25T09:34:54.321Z] + OS_FAMILY=debian [2023-08-25T09:34:54.321Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-08-25T09:34:54.321Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-25T09:34:54.321Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-25T09:34:54.321Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-25T09:34:54.321Z] + PACKAGES=/tmp/packages_start.txt [2023-08-25T09:34:54.321Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-08-25T09:34:54.321Z] + PACKAGES=/tmp/packages_end.txt [2023-08-25T09:34:54.321Z] + case "${OS_FAMILY}" in [2023-08-25T09:34:54.321Z] + dpkg -l [2023-08-25T09:34:54.321Z] + grep '^ii' [2023-08-25T09:34:54.321Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-25T09:34:54.321Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-25T09:34:54.321Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-25T09:34:54.321Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-08-25T09:34:54.321Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-08-25T09:34:54.321Z] + 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-08-25T09:34:54.329Z] 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-08-25T09:34:54.604Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T09:34:55.162Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T09:34:55.162Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T09:34:55.226Z] prd-ubuntu20.04-docker-8c-8g-4550 does not seem to be running inside a container [2023-08-25T09:34:55.248Z] $ 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-08-25T09:34:55.773Z] $ docker top 76c32d6d88b9e4b653cc3f97dc37d782edf2af5270381823b3bdc60cc26b3260 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T09:34:56.119Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-25T09:34:56.407Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-25T09:34:56.689Z] + ls /var/log/sa-host [2023-08-25T09:34:56.689Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T09:34:56.859Z] provisioning config files... [2023-08-25T09:34:56.866Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6644072317508043091tmp [Pipeline] { [Pipeline] echo [2023-08-25T09:34:56.880Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T09:34:57.161Z] ---> create-netrc.sh [Pipeline] } [2023-08-25T09:34:57.168Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-25T09:34:57.492Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-25T09:34:57.501Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T09:34:57.784Z] ---> sudo-logs.sh [2023-08-25T09:34:57.784Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-25T09:34:57.808Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T09:34:58.092Z] ---> job-cost.sh [2023-08-25T09:34:58.092Z] lf-activate-venv: SKIPPING [2023-08-25T09:34:58.092Z] DEBUG: total: 0.2199999988079071 [2023-08-25T09:34:58.092Z] INFO: Retrieving Stack Cost... [2023-08-25T09:34:58.662Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-25T09:34:58.921Z] INFO: Archiving Costs [Pipeline] echo [2023-08-25T09:34:58.932Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T09:34:59.212Z] ---> logs-deploy.sh [2023-08-25T09:34:59.212Z] lf-activate-venv: SKIPPING [2023-08-25T09:34:59.212Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/118 [2023-08-25T09:34:59.212Z] INFO: archiving workspace using pattern(s): [2023-08-25T09:35:00.153Z] Archives upload complete. [2023-08-25T09:35:00.153Z] INFO: archiving logs to Nexus