Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e 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-ssh3143433342204627097.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh1991590868587914723.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh14630674699362303429.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh6639865877975512351.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-ssh3760330696745663990.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7669’ Running on prd-ubuntu20.04-docker-8c-8g-7674 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 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e (main) Commit message: "Merge pull request #504 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.29" > 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 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e # timeout=10 > git rev-list --no-walk b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-23T04:30:19.067Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-23T04:30:19.124Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-23T04:30:19.142Z] ========================================================= [2023-09-23T04:30:19.143Z] EdgeX Global Pipelines Version Info [2023-09-23T04:30:19.143Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:30:19.850Z] ------------------- [2023-09-23T04:30:19.850Z] stable info: [2023-09-23T04:30:19.850Z] ------------------- [2023-09-23T04:30:19.850Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-23T04:30:19.850Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-23T04:30:19.850Z] Message: update stable to v1.0.254 [2023-09-23T04:30:20.422Z] ------------------- [2023-09-23T04:30:20.422Z] experimental info: [2023-09-23T04:30:20.422Z] ------------------- [2023-09-23T04:30:20.422Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-23T04:30:20.422Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-23T04:30:20.422Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-23T04:30:20.596Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-09-23T04:30:20.606Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-09-23T04:30:20.615Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-23T04:30:20.626Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-23T04:30:20.637Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-23T04:30:20.646Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-23T04:30:20.655Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-23T04:30:20.665Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-23T04:30:20.674Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-23T04:30:20.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-23T04:30:20.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-23T04:30:20.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-09-23T04:30:20.712Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-23T04:30:20.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-23T04:30:20.742Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-23T04:30:20.760Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-23T04:30:20.777Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-23T04:30:20.793Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-23T04:30:20.811Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-23T04:30:20.829Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-23T04:30:20.846Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-23T04:30:20.867Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-23T04:30:20.884Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-23T04:30:20.898Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-23T04:30:20.911Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-23T04:30:20.929Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-23T04:30:20.949Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-23T04:30:20.968Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-23T04:30:20.978Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-23T04:30:20.987Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-23T04:30:20.996Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e [Pipeline] echo [2023-09-23T04:30:21.005Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1fc6a9b [Pipeline] echo [2023-09-23T04:30:21.014Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-23T04:30:21.047Z] provisioning config files... [2023-09-23T04:30:21.062Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1096632005965845510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:30:21.359Z] ---> docker-login.sh [2023-09-23T04:30:21.359Z] nexus3.edgexfoundry.org:10001 [2023-09-23T04:30:21.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:30:21.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:30:21.618Z] Configure a credential helper to remove this warning. See [2023-09-23T04:30:21.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:30:21.618Z] [2023-09-23T04:30:21.618Z] Login Succeeded [2023-09-23T04:30:21.618Z] nexus3.edgexfoundry.org:10002 [2023-09-23T04:30:21.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:30:21.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:30:21.878Z] Configure a credential helper to remove this warning. See [2023-09-23T04:30:21.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:30:21.878Z] [2023-09-23T04:30:21.878Z] Login Succeeded [2023-09-23T04:30:21.878Z] nexus3.edgexfoundry.org:10003 [2023-09-23T04:30:21.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:30:21.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:30:21.878Z] Configure a credential helper to remove this warning. See [2023-09-23T04:30:21.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:30:21.878Z] [2023-09-23T04:30:21.878Z] Login Succeeded [2023-09-23T04:30:21.878Z] nexus3.edgexfoundry.org:10004 [2023-09-23T04:30:22.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:30:22.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:30:22.137Z] Configure a credential helper to remove this warning. See [2023-09-23T04:30:22.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:30:22.137Z] [2023-09-23T04:30:22.137Z] Login Succeeded [2023-09-23T04:30:22.137Z] docker.io [2023-09-23T04:30:22.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:30:22.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:30:22.397Z] Configure a credential helper to remove this warning. See [2023-09-23T04:30:22.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:30:22.397Z] [2023-09-23T04:30:22.397Z] Login Succeeded [2023-09-23T04:30:22.397Z] ---> docker-login.sh ends [Pipeline] } [2023-09-23T04:30:22.406Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-23T04:30:22.753Z] + git rev-list -1 --merges 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e~1..1fc6a9bac598d8b717ba28d0c645d44cc2d3275e [Pipeline] echo [2023-09-23T04:30:22.801Z] -----------> git rev-list -1 --merges 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e~1..1fc6a9bac598d8b717ba28d0c645d44cc2d3275e 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e [2023-09-23T04:30:22.801Z] 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e [false] [Pipeline] sh [2023-09-23T04:30:23.090Z] + git log --format=format:%s -1 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e [Pipeline] echo [2023-09-23T04:30:23.105Z] ========================================================= [2023-09-23T04:30:23.105Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-23T04:30:23.105Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-23T04:30:23.452Z] + git log --format=format:%s -1 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e [Pipeline] echo [2023-09-23T04:30:23.462Z] [semverPrep] GIT_COMMIT: 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e, Commit Message: Merge pull request #504 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.29 [Pipeline] echo [2023-09-23T04:30:23.470Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-23T04:30:23.829Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-23T04:30:23.829Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-23T04:30:23.829Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-23T04:30:23.829Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-23T04:30:23.829Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-23T04:30:23.829Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-23T04:30:23.829Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:30:24.180Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-23T04:30:24.180Z] [2023-09-23T04:30:24.180Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:30:24.479Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-23T04:30:24.479Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-23T04:30:24.479Z] b85a868b505f: Pulling fs layer [2023-09-23T04:30:24.479Z] e2be974225ed: Pulling fs layer [2023-09-23T04:30:24.479Z] 339a4e72a1f5: Pulling fs layer [2023-09-23T04:30:24.479Z] 988bab9f4d93: Pulling fs layer [2023-09-23T04:30:24.479Z] 1469e6f7b9e6: Pulling fs layer [2023-09-23T04:30:24.479Z] eaf3925da568: Pulling fs layer [2023-09-23T04:30:24.479Z] bab4dde63d76: Pulling fs layer [2023-09-23T04:30:24.479Z] bde34c3a00c8: Pulling fs layer [2023-09-23T04:30:24.479Z] b352a97aabf1: Pulling fs layer [2023-09-23T04:30:24.479Z] 4872d77fe225: Pulling fs layer [2023-09-23T04:30:24.479Z] 5851b861e8e6: Pulling fs layer [2023-09-23T04:30:24.479Z] bab4dde63d76: Waiting [2023-09-23T04:30:24.479Z] bde34c3a00c8: Waiting [2023-09-23T04:30:24.479Z] b352a97aabf1: Waiting [2023-09-23T04:30:24.479Z] 4872d77fe225: Waiting [2023-09-23T04:30:24.479Z] 5851b861e8e6: Waiting [2023-09-23T04:30:24.479Z] 988bab9f4d93: Waiting [2023-09-23T04:30:24.479Z] 1469e6f7b9e6: Waiting [2023-09-23T04:30:24.479Z] eaf3925da568: Waiting [2023-09-23T04:30:24.479Z] e2be974225ed: Verifying Checksum [2023-09-23T04:30:24.479Z] e2be974225ed: Download complete [2023-09-23T04:30:24.479Z] 988bab9f4d93: Verifying Checksum [2023-09-23T04:30:24.479Z] 988bab9f4d93: Download complete [2023-09-23T04:30:24.739Z] 1469e6f7b9e6: Verifying Checksum [2023-09-23T04:30:24.739Z] 1469e6f7b9e6: Download complete [2023-09-23T04:30:24.739Z] eaf3925da568: Download complete [2023-09-23T04:30:24.739Z] 339a4e72a1f5: Verifying Checksum [2023-09-23T04:30:24.739Z] 339a4e72a1f5: Download complete [2023-09-23T04:30:24.739Z] bde34c3a00c8: Verifying Checksum [2023-09-23T04:30:24.739Z] bde34c3a00c8: Download complete [2023-09-23T04:30:24.739Z] b352a97aabf1: Download complete [2023-09-23T04:30:24.739Z] 4872d77fe225: Download complete [2023-09-23T04:30:24.739Z] 5851b861e8e6: Verifying Checksum [2023-09-23T04:30:24.739Z] 5851b861e8e6: Download complete [2023-09-23T04:30:24.739Z] b85a868b505f: Verifying Checksum [2023-09-23T04:30:24.739Z] b85a868b505f: Download complete [2023-09-23T04:30:24.997Z] bab4dde63d76: Verifying Checksum [2023-09-23T04:30:24.997Z] bab4dde63d76: Download complete [2023-09-23T04:30:25.935Z] b85a868b505f: Pull complete [2023-09-23T04:30:26.194Z] e2be974225ed: Pull complete [2023-09-23T04:30:26.762Z] 339a4e72a1f5: Pull complete [2023-09-23T04:30:26.762Z] 988bab9f4d93: Pull complete [2023-09-23T04:30:27.025Z] 1469e6f7b9e6: Pull complete [2023-09-23T04:30:27.283Z] eaf3925da568: Pull complete [2023-09-23T04:30:29.223Z] bab4dde63d76: Pull complete [2023-09-23T04:30:29.223Z] bde34c3a00c8: Pull complete [2023-09-23T04:30:29.223Z] b352a97aabf1: Pull complete [2023-09-23T04:30:29.223Z] 4872d77fe225: Pull complete [2023-09-23T04:30:29.484Z] 5851b861e8e6: Pull complete [2023-09-23T04:30:29.484Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-23T04:30:29.484Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-23T04:30:29.484Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:30:29.581Z] prd-ubuntu20.04-docker-8c-8g-7674 does not seem to be running inside a container [2023-09-23T04:30:29.618Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-23T04:30:31.034Z] $ docker top 9dbd6afb8cb33497cb65cc14b47cd51450007a504b3337f7674bbe52f82929a8 -eo pid,comm [2023-09-23T04:30:31.092Z] 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-09-23T04:30:31.092Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-23T04:30:31.134Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-23T04:30:31.134Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-23T04:30:31.262Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-23T04:30:31.268Z] $ docker exec 9dbd6afb8cb33497cb65cc14b47cd51450007a504b3337f7674bbe52f82929a8 ssh-agent [2023-09-23T04:30:31.378Z] SSH_AUTH_SOCK=/tmp/ssh-b6JHYBlQ5sMn/agent.31 [2023-09-23T04:30:31.378Z] SSH_AGENT_PID=37 [2023-09-23T04:30:31.385Z] Running ssh-add (command line suppressed) [2023-09-23T04:30:31.490Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1255117973578574557.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1255117973578574557.key) [2023-09-23T04:30:31.506Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-23T04:30:31.794Z] + git tag --points-at HEAD [Pipeline] } [2023-09-23T04:30:31.817Z] $ docker exec --env ******** --env ******** 9dbd6afb8cb33497cb65cc14b47cd51450007a504b3337f7674bbe52f82929a8 ssh-agent -k [2023-09-23T04:30:31.915Z] unset SSH_AUTH_SOCK; [2023-09-23T04:30:31.916Z] unset SSH_AGENT_PID; [2023-09-23T04:30:31.916Z] echo Agent pid 37 killed; [2023-09-23T04:30:31.926Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-23T04:30:31.955Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-23T04:30:31.955Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-23T04:30:32.071Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-23T04:30:32.077Z] $ docker exec 9dbd6afb8cb33497cb65cc14b47cd51450007a504b3337f7674bbe52f82929a8 ssh-agent [2023-09-23T04:30:32.188Z] SSH_AUTH_SOCK=/tmp/ssh-NuXuWplQ2DZs/agent.69 [2023-09-23T04:30:32.188Z] SSH_AGENT_PID=75 [2023-09-23T04:30:32.194Z] Running ssh-add (command line suppressed) [2023-09-23T04:30:32.311Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1985659206715048797.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1985659206715048797.key) [2023-09-23T04:30:32.324Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-23T04:30:32.615Z] + git semver init [2023-09-23T04:30:32.875Z] 2023-09-23 04:30:32,790 [run_init] DEBUG init version:0.0.0 force:False [2023-09-23T04:30:32.875Z] 2023-09-23 04:30:32,791 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-09-23T04:30:32.875Z] 2023-09-23 04:30:32,791 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-09-23T04:30:32.875Z] 2023-09-23 04:30:32,791 [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-09-23T04:30:33.814Z] 2023-09-23 04:30:33,547 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-09-23T04:30:33.814Z] 2023-09-23 04:30:33,548 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-09-23T04:30:33.814Z] 2023-09-23 04:30:33,548 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-23T04:30:33.814Z] 2023-09-23 04:30:33,548 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-23T04:30:33.814Z] 3.1.0-dev.12 [Pipeline] } [2023-09-23T04:30:33.829Z] $ docker exec --env ******** --env ******** 9dbd6afb8cb33497cb65cc14b47cd51450007a504b3337f7674bbe52f82929a8 ssh-agent -k [2023-09-23T04:30:33.933Z] unset SSH_AUTH_SOCK; [2023-09-23T04:30:33.934Z] unset SSH_AGENT_PID; [2023-09-23T04:30:33.934Z] echo Agent pid 75 killed; [2023-09-23T04:30:33.941Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-23T04:30:34.246Z] + git semver [Pipeline] } [2023-09-23T04:30:34.524Z] $ docker stop --time=1 9dbd6afb8cb33497cb65cc14b47cd51450007a504b3337f7674bbe52f82929a8 [2023-09-23T04:30:35.863Z] $ docker rm -f --volumes 9dbd6afb8cb33497cb65cc14b47cd51450007a504b3337f7674bbe52f82929a8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-23T04:30:36.200Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-23T04:30:36.418Z] Stashed 1 file(s) [Pipeline] echo [2023-09-23T04:30:36.422Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.12 [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-09-23T04:30:36.606Z] provisioning config files... [2023-09-23T04:30:36.614Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14200846251285223475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:30:36.918Z] ---> docker-login.sh [2023-09-23T04:30:36.918Z] nexus3.edgexfoundry.org:10001 [2023-09-23T04:30:36.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:30:36.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:30:36.918Z] Configure a credential helper to remove this warning. See [2023-09-23T04:30:36.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:30:36.918Z] [2023-09-23T04:30:36.918Z] Login Succeeded [2023-09-23T04:30:36.918Z] nexus3.edgexfoundry.org:10002 [2023-09-23T04:30:36.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:30:36.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:30:36.918Z] Configure a credential helper to remove this warning. See [2023-09-23T04:30:36.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:30:36.918Z] [2023-09-23T04:30:36.918Z] Login Succeeded [2023-09-23T04:30:36.918Z] nexus3.edgexfoundry.org:10003 [2023-09-23T04:30:37.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:30:37.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:30:37.177Z] Configure a credential helper to remove this warning. See [2023-09-23T04:30:37.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:30:37.177Z] [2023-09-23T04:30:37.177Z] Login Succeeded [2023-09-23T04:30:37.177Z] nexus3.edgexfoundry.org:10004 [2023-09-23T04:30:37.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:30:37.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:30:37.177Z] Configure a credential helper to remove this warning. See [2023-09-23T04:30:37.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:30:37.177Z] [2023-09-23T04:30:37.177Z] Login Succeeded [2023-09-23T04:30:37.177Z] docker.io [2023-09-23T04:30:37.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:30:37.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:30:37.436Z] Configure a credential helper to remove this warning. See [2023-09-23T04:30:37.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:30:37.436Z] [2023-09-23T04:30:37.436Z] Login Succeeded [2023-09-23T04:30:37.696Z] ---> docker-login.sh ends [Pipeline] } [2023-09-23T04:30:37.703Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-23T04:30:37.760Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T04:30:37.771Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T04:30:37.778Z] ========================================================= [2023-09-23T04:30:37.778Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-23T04:30:37.778Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:30:38.082Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-23T04:30:38.082Z] Sending build context to Docker daemon 6.468MB [2023-09-23T04:30:38.082Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-23T04:30:38.082Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-23T04:30:38.082Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-23T04:30:38.082Z] 7264a8db6415: Pulling fs layer [2023-09-23T04:30:38.082Z] c4d48a809fc2: Pulling fs layer [2023-09-23T04:30:38.082Z] 4f1c88b9dad5: Pulling fs layer [2023-09-23T04:30:38.082Z] ad3a456e5733: Pulling fs layer [2023-09-23T04:30:38.082Z] 33e27b845d1e: Pulling fs layer [2023-09-23T04:30:38.082Z] c68163c4e522: Pulling fs layer [2023-09-23T04:30:38.082Z] 50da416c3ac9: Pulling fs layer [2023-09-23T04:30:38.082Z] 23d2d4c4bb30: Pulling fs layer [2023-09-23T04:30:38.082Z] ad3a456e5733: Waiting [2023-09-23T04:30:38.082Z] 33e27b845d1e: Waiting [2023-09-23T04:30:38.082Z] 23d2d4c4bb30: Waiting [2023-09-23T04:30:38.082Z] c68163c4e522: Waiting [2023-09-23T04:30:38.082Z] c4d48a809fc2: Download complete [2023-09-23T04:30:38.082Z] ad3a456e5733: Verifying Checksum [2023-09-23T04:30:38.082Z] ad3a456e5733: Download complete [2023-09-23T04:30:38.082Z] 33e27b845d1e: Verifying Checksum [2023-09-23T04:30:38.082Z] 33e27b845d1e: Download complete [2023-09-23T04:30:38.343Z] 7264a8db6415: Verifying Checksum [2023-09-23T04:30:38.343Z] 7264a8db6415: Download complete [2023-09-23T04:30:38.343Z] c68163c4e522: Verifying Checksum [2023-09-23T04:30:38.343Z] c68163c4e522: Download complete [2023-09-23T04:30:38.343Z] 7264a8db6415: Pull complete [2023-09-23T04:30:38.602Z] c4d48a809fc2: Pull complete [2023-09-23T04:30:38.602Z] 23d2d4c4bb30: Verifying Checksum [2023-09-23T04:30:38.602Z] 23d2d4c4bb30: Download complete [2023-09-23T04:30:38.602Z] 4f1c88b9dad5: Verifying Checksum [2023-09-23T04:30:38.602Z] 4f1c88b9dad5: Download complete [2023-09-23T04:30:39.175Z] 50da416c3ac9: Verifying Checksum [2023-09-23T04:30:39.176Z] 50da416c3ac9: Download complete [2023-09-23T04:30:42.481Z] 4f1c88b9dad5: Pull complete [2023-09-23T04:30:42.481Z] ad3a456e5733: Pull complete [2023-09-23T04:30:42.481Z] 33e27b845d1e: Pull complete [2023-09-23T04:30:42.481Z] c68163c4e522: Pull complete [2023-09-23T04:30:44.381Z] 50da416c3ac9: Pull complete [2023-09-23T04:30:44.949Z] 23d2d4c4bb30: Pull complete [2023-09-23T04:30:44.949Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-23T04:30:44.949Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-23T04:30:44.949Z] ---> 0786185ac409 [2023-09-23T04:30:44.949Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-23T04:30:46.854Z] ---> Running in e1e77f56af5c [2023-09-23T04:30:46.854Z] Removing intermediate container e1e77f56af5c [2023-09-23T04:30:46.854Z] ---> a2265836ba77 [2023-09-23T04:30:46.854Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-23T04:30:46.854Z] ---> Running in 389711e625ed [2023-09-23T04:30:46.854Z] Removing intermediate container 389711e625ed [2023-09-23T04:30:46.854Z] ---> b16823e8bfd2 [2023-09-23T04:30:46.854Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-23T04:30:46.854Z] ---> Running in 02136f32f533 [2023-09-23T04:30:47.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-23T04:30:47.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-23T04:30:47.681Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-09-23T04:30:47.681Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-09-23T04:30:47.681Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-09-23T04:30:47.681Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-09-23T04:30:47.681Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-09-23T04:30:47.681Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-09-23T04:30:47.681Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-09-23T04:30:47.681Z] (8/8) Installing openssh (9.3_p2-r0) [2023-09-23T04:30:47.681Z] Executing busybox-1.36.1-r2.trigger [2023-09-23T04:30:47.681Z] OK: 270 MiB in 60 packages [2023-09-23T04:30:48.266Z] Removing intermediate container 02136f32f533 [2023-09-23T04:30:48.266Z] ---> af1b9a121f25 [2023-09-23T04:30:48.266Z] Step 6/10 : WORKDIR /device-modbus-go [2023-09-23T04:30:48.266Z] ---> Running in d83c242bdb1a [2023-09-23T04:30:48.266Z] Removing intermediate container d83c242bdb1a [2023-09-23T04:30:48.266Z] ---> eb615f556c65 [2023-09-23T04:30:48.266Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-23T04:30:48.525Z] ---> 996fa2eac0b4 [2023-09-23T04:30:48.525Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-23T04:30:48.525Z] ---> Running in 480e585240b0 [2023-09-23T04:30:51.547Z] Still waiting to schedule task [2023-09-23T04:30:51.547Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7671’ [2023-09-23T04:31:35.723Z] Removing intermediate container 480e585240b0 [2023-09-23T04:31:35.723Z] ---> da0ba5c0bf9b [2023-09-23T04:31:35.723Z] Step 9/10 : COPY . . [2023-09-23T04:31:35.723Z] ---> 1097630c3d21 [2023-09-23T04:31:35.723Z] Step 10/10 : RUN ${MAKE} [2023-09-23T04:31:35.723Z] ---> Running in 14338ae38420 [2023-09-23T04:31:35.723Z] noop [2023-09-23T04:31:35.723Z] Removing intermediate container 14338ae38420 [2023-09-23T04:31:35.723Z] ---> 30397b010fd5 [2023-09-23T04:31:35.723Z] Successfully built 30397b010fd5 [2023-09-23T04:31:35.723Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:31:37.159Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-23T04:31:37.159Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:31:39.096Z] prd-ubuntu20.04-docker-8c-8g-7674 does not seem to be running inside a container [2023-09-23T04:31:39.126Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-23T04:31:40.168Z] $ docker top ac6396db88e6fb8ddd44d9ff28b6f8941a103d72a9806ad25eec5fa6656d83f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-23T04:31:44.267Z] + go version [2023-09-23T04:31:44.267Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-23T04:31:44.422Z] $ docker stop --time=1 ac6396db88e6fb8ddd44d9ff28b6f8941a103d72a9806ad25eec5fa6656d83f4 [2023-09-23T04:31:46.541Z] $ docker rm -f --volumes ac6396db88e6fb8ddd44d9ff28b6f8941a103d72a9806ad25eec5fa6656d83f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:31:51.226Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-23T04:31:51.226Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:31:51.300Z] prd-ubuntu20.04-docker-8c-8g-7674 does not seem to be running inside a container [2023-09-23T04:31:51.593Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-23T04:31:51.904Z] $ docker top 56c102c6c46b38b51a347d20f2412da15f7d972ac0264a65a49345c78696f10b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-23T04:31:51.979Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-23T04:31:52.276Z] + make test [2023-09-23T04:31:52.276Z] go test ./... -coverprofile=coverage.out [2023-09-23T04:31:53.967Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-23T04:32:04.222Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-23T04:32:04.222Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.9% of statements [2023-09-23T04:32:10.783Z] go vet ./... [2023-09-23T04:32:14.968Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-23T04:32:14.968Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-23T04:32:14.968Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-23T04:32:14.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-23T04:32:15.205Z] $ docker stop --time=1 56c102c6c46b38b51a347d20f2412da15f7d972ac0264a65a49345c78696f10b [2023-09-23T04:32:19.679Z] $ docker rm -f --volumes 56c102c6c46b38b51a347d20f2412da15f7d972ac0264a65a49345c78696f10b [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-23T04:32:20.023Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-23T04:32:20.064Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-23T04:32:20.510Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-23T04:32:20.791Z] + ls -al . [2023-09-23T04:32:20.791Z] total 192 [2023-09-23T04:32:20.791Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 23 04:31 . [2023-09-23T04:32:20.791Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 04:30 .. [2023-09-23T04:32:20.791Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 23 04:30 .dockerignore [2023-09-23T04:32:20.791Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 04:32 .git [2023-09-23T04:32:20.791Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 04:30 .github [2023-09-23T04:32:20.791Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 23 04:30 .gitignore [2023-09-23T04:32:20.791Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 23 04:30 .golangci.yml [2023-09-23T04:32:20.791Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 23 04:30 .semver [2023-09-23T04:32:20.791Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 23 04:30 Attribution.txt [2023-09-23T04:32:20.791Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 23 04:30 CHANGELOG.md [2023-09-23T04:32:20.791Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 23 04:30 Dockerfile [2023-09-23T04:32:20.791Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 04:30 GOVERNANCE.md [2023-09-23T04:32:20.791Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 23 04:30 Jenkinsfile [2023-09-23T04:32:20.791Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 23 04:30 LICENSE [2023-09-23T04:32:20.791Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 23 04:30 Makefile [2023-09-23T04:32:20.791Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 23 04:30 OWNERS.md [2023-09-23T04:32:20.791Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 23 04:30 README.md [2023-09-23T04:32:20.791Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 23 04:30 VERSION [2023-09-23T04:32:20.791Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 04:30 bin [2023-09-23T04:32:20.791Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 04:30 cmd [2023-09-23T04:32:20.791Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 23 04:32 coverage.out [2023-09-23T04:32:20.791Z] -rw-rw-r-- 1 jenkins jenkins 3941 Sep 23 04:30 go.mod [2023-09-23T04:32:20.791Z] -rw-rw-r-- 1 jenkins jenkins 35965 Sep 23 04:30 go.sum [2023-09-23T04:32:20.791Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 04:30 internal [2023-09-23T04:32:20.791Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 04:30 simulator [2023-09-23T04:32:20.791Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 04:30 snap [2023-09-23T04:32:20.791Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 23 04:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:32:21.208Z] + 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=1fc6a9bac598d8b717ba28d0c645d44cc2d3275e --label arch=amd64 --label version=3.1.0-dev.12 . [2023-09-23T04:32:21.208Z] Sending build context to Docker daemon 6.493MB [2023-09-23T04:32:21.208Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-09-23T04:32:21.208Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-23T04:32:21.208Z] ---> 30397b010fd5 [2023-09-23T04:32:21.208Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-23T04:32:21.478Z] ---> Running in ba833d8b4e22 [2023-09-23T04:32:21.478Z] Removing intermediate container ba833d8b4e22 [2023-09-23T04:32:21.478Z] ---> ebc81c9a6207 [2023-09-23T04:32:21.478Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-23T04:32:21.478Z] ---> Running in 8f887c36e962 [2023-09-23T04:32:21.478Z] Removing intermediate container 8f887c36e962 [2023-09-23T04:32:21.478Z] ---> 1321fd497327 [2023-09-23T04:32:21.478Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-23T04:32:21.478Z] ---> Running in 9796cba74ca0 [2023-09-23T04:32:21.750Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-23T04:32:22.024Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-23T04:32:22.024Z] OK: 270 MiB in 60 packages [2023-09-23T04:32:22.592Z] Removing intermediate container 9796cba74ca0 [2023-09-23T04:32:22.592Z] ---> 61a4e6331f42 [2023-09-23T04:32:22.592Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-23T04:32:22.592Z] ---> Running in 379fcb55bea8 [2023-09-23T04:32:22.592Z] Removing intermediate container 379fcb55bea8 [2023-09-23T04:32:22.592Z] ---> 3444f1bc3fe7 [2023-09-23T04:32:22.592Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-23T04:32:22.592Z] ---> 4e2652f9eeab [2023-09-23T04:32:22.592Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-23T04:32:22.592Z] ---> Running in 9d3a58e8adcc [2023-09-23T04:32:23.673Z] Removing intermediate container 9d3a58e8adcc [2023-09-23T04:32:23.673Z] ---> c4f4f6c42019 [2023-09-23T04:32:23.673Z] Step 9/22 : COPY . . [2023-09-23T04:32:23.938Z] ---> 6a97613e336c [2023-09-23T04:32:23.938Z] Step 10/22 : RUN ${MAKE} [2023-09-23T04:32:23.938Z] ---> Running in 490b3125c9d8 [2023-09-23T04:32:24.196Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.29" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-09-23T04:32:46.157Z] Removing intermediate container 490b3125c9d8 [2023-09-23T04:32:46.157Z] ---> 868336e96ec3 [2023-09-23T04:32:46.157Z] Step 11/22 : FROM alpine:3.18 [2023-09-23T04:32:46.157Z] 3.18: Pulling from library/alpine [2023-09-23T04:32:46.157Z] 7264a8db6415: Already exists [2023-09-23T04:32:46.157Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-23T04:32:46.157Z] Status: Downloaded newer image for alpine:3.18 [2023-09-23T04:32:46.157Z] ---> 7e01a0d0a1dc [2023-09-23T04:32:46.157Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-23T04:32:46.157Z] ---> Running in ab2202b273e5 [2023-09-23T04:32:46.157Z] Removing intermediate container ab2202b273e5 [2023-09-23T04:32:46.157Z] ---> 39a1559cf44d [2023-09-23T04:32:46.157Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-23T04:32:46.157Z] ---> Running in 111c825935de [2023-09-23T04:32:46.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-23T04:32:46.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-23T04:32:46.157Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-23T04:32:46.157Z] Executing busybox-1.36.1-r2.trigger [2023-09-23T04:32:46.157Z] OK: 7 MiB in 16 packages [2023-09-23T04:32:46.157Z] Removing intermediate container 111c825935de [2023-09-23T04:32:46.157Z] ---> 48eba0bbb5b8 [2023-09-23T04:32:46.157Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-23T04:32:47.274Z] ---> 94494f299433 [2023-09-23T04:32:47.274Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-23T04:32:47.274Z] ---> 5328841308ef [2023-09-23T04:32:47.274Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-23T04:32:47.274Z] ---> ffb83e9dd785 [2023-09-23T04:32:47.274Z] Step 17/22 : EXPOSE 59901 [2023-09-23T04:32:47.274Z] ---> Running in a2d73be55de7 [2023-09-23T04:32:47.532Z] Removing intermediate container a2d73be55de7 [2023-09-23T04:32:47.532Z] ---> 6ffcbd9cfa79 [2023-09-23T04:32:47.532Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-23T04:32:47.532Z] ---> Running in 0024ed961a07 [2023-09-23T04:32:47.532Z] Removing intermediate container 0024ed961a07 [2023-09-23T04:32:47.532Z] ---> 82633d89d1a7 [2023-09-23T04:32:47.532Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-23T04:32:47.532Z] ---> Running in 89dfaa9b4de5 [2023-09-23T04:32:47.532Z] Removing intermediate container 89dfaa9b4de5 [2023-09-23T04:32:47.532Z] ---> 92029db63c21 [2023-09-23T04:32:47.532Z] Step 20/22 : LABEL arch=amd64 [2023-09-23T04:32:47.532Z] ---> Running in 6fd0cf00a965 [2023-09-23T04:32:47.796Z] Removing intermediate container 6fd0cf00a965 [2023-09-23T04:32:47.796Z] ---> ceb0ae89c438 [2023-09-23T04:32:47.796Z] Step 21/22 : LABEL git_sha=1fc6a9bac598d8b717ba28d0c645d44cc2d3275e [2023-09-23T04:32:47.796Z] ---> Running in 28e6546ade63 [2023-09-23T04:32:47.796Z] Removing intermediate container 28e6546ade63 [2023-09-23T04:32:47.796Z] ---> 1ceb0f11e1a6 [2023-09-23T04:32:47.796Z] Step 22/22 : LABEL version=3.1.0-dev.12 [2023-09-23T04:32:47.796Z] ---> Running in 88d74dc6af70 [2023-09-23T04:32:47.796Z] Removing intermediate container 88d74dc6af70 [2023-09-23T04:32:47.796Z] ---> 42ab6ccf66c1 [2023-09-23T04:32:47.796Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-23T04:32:47.796Z] Successfully built 42ab6ccf66c1 [2023-09-23T04:32:48.055Z] 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-09-23T04:32:48.162Z] provisioning config files... [2023-09-23T04:32:48.170Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3523016993111532988tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:32:48.469Z] ---> docker-login.sh [2023-09-23T04:32:48.469Z] nexus3.edgexfoundry.org:10001 [2023-09-23T04:32:48.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:32:48.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:32:48.469Z] Configure a credential helper to remove this warning. See [2023-09-23T04:32:48.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:32:48.469Z] [2023-09-23T04:32:48.469Z] Login Succeeded [2023-09-23T04:32:48.469Z] nexus3.edgexfoundry.org:10002 [2023-09-23T04:32:48.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:32:48.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:32:48.469Z] Configure a credential helper to remove this warning. See [2023-09-23T04:32:48.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:32:48.469Z] [2023-09-23T04:32:48.469Z] Login Succeeded [2023-09-23T04:32:48.469Z] nexus3.edgexfoundry.org:10003 [2023-09-23T04:32:48.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:32:48.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:32:48.728Z] Configure a credential helper to remove this warning. See [2023-09-23T04:32:48.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:32:48.728Z] [2023-09-23T04:32:48.728Z] Login Succeeded [2023-09-23T04:32:48.728Z] nexus3.edgexfoundry.org:10004 [2023-09-23T04:32:48.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:32:48.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:32:48.728Z] Configure a credential helper to remove this warning. See [2023-09-23T04:32:48.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:32:48.728Z] [2023-09-23T04:32:48.728Z] Login Succeeded [2023-09-23T04:32:48.728Z] docker.io [2023-09-23T04:32:48.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:32:48.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:32:48.988Z] Configure a credential helper to remove this warning. See [2023-09-23T04:32:48.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:32:48.988Z] [2023-09-23T04:32:48.988Z] Login Succeeded [2023-09-23T04:32:48.988Z] ---> docker-login.sh ends [Pipeline] } [2023-09-23T04:32:48.995Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-23T04:32:49.021Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T04:32:49.036Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-09-23T04:32:49.036Z] 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e [2023-09-23T04:32:49.036Z] latest [2023-09-23T04:32:49.036Z] 3.1.0-dev.12 [2023-09-23T04:32:49.036Z] 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e-3.1.0-dev.12 [2023-09-23T04:32:49.036Z] main [2023-09-23T04:32:49.036Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:32:49.343Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1fc6a9bac598d8b717ba28d0c645d44cc2d3275e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:32:49.656Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:1fc6a9bac598d8b717ba28d0c645d44cc2d3275e [2023-09-23T04:32:49.656Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-23T04:32:49.656Z] fdbff5c01b01: Preparing [2023-09-23T04:32:49.656Z] ebde76292a98: Preparing [2023-09-23T04:32:49.656Z] 74c9c9cba356: Preparing [2023-09-23T04:32:49.656Z] 5e93ed22be4f: Preparing [2023-09-23T04:32:49.656Z] 4693057ce236: Preparing [2023-09-23T04:32:49.656Z] 4693057ce236: Layer already exists [2023-09-23T04:32:49.656Z] fdbff5c01b01: Pushed [2023-09-23T04:32:49.656Z] 5e93ed22be4f: Pushed [2023-09-23T04:32:49.656Z] ebde76292a98: Pushed [2023-09-23T04:32:52.943Z] 74c9c9cba356: Pushed [2023-09-23T04:32:52.943Z] 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e: digest: sha256:71bd4e84035c914df48fff3615c4896574a67d777dc0bbb2ac17b9ee50558807 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:32:53.255Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:32:53.560Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-09-23T04:32:53.560Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-23T04:32:53.560Z] fdbff5c01b01: Preparing [2023-09-23T04:32:53.560Z] ebde76292a98: Preparing [2023-09-23T04:32:53.560Z] 74c9c9cba356: Preparing [2023-09-23T04:32:53.560Z] 5e93ed22be4f: Preparing [2023-09-23T04:32:53.560Z] 4693057ce236: Preparing [2023-09-23T04:32:53.560Z] fdbff5c01b01: Layer already exists [2023-09-23T04:32:53.560Z] 4693057ce236: Layer already exists [2023-09-23T04:32:53.560Z] ebde76292a98: Layer already exists [2023-09-23T04:32:53.560Z] 5e93ed22be4f: Layer already exists [2023-09-23T04:32:53.560Z] 74c9c9cba356: Layer already exists [2023-09-23T04:32:53.560Z] latest: digest: sha256:71bd4e84035c914df48fff3615c4896574a67d777dc0bbb2ac17b9ee50558807 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:32:53.874Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:32:54.178Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.12 [2023-09-23T04:32:54.178Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-23T04:32:54.178Z] fdbff5c01b01: Preparing [2023-09-23T04:32:54.178Z] ebde76292a98: Preparing [2023-09-23T04:32:54.178Z] 74c9c9cba356: Preparing [2023-09-23T04:32:54.178Z] 5e93ed22be4f: Preparing [2023-09-23T04:32:54.178Z] 4693057ce236: Preparing [2023-09-23T04:32:54.178Z] 74c9c9cba356: Layer already exists [2023-09-23T04:32:54.178Z] 4693057ce236: Layer already exists [2023-09-23T04:32:54.178Z] fdbff5c01b01: Layer already exists [2023-09-23T04:32:54.178Z] ebde76292a98: Layer already exists [2023-09-23T04:32:54.178Z] 5e93ed22be4f: Layer already exists [2023-09-23T04:32:54.178Z] 3.1.0-dev.12: digest: sha256:71bd4e84035c914df48fff3615c4896574a67d777dc0bbb2ac17b9ee50558807 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:32:54.487Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1fc6a9bac598d8b717ba28d0c645d44cc2d3275e-3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:32:54.796Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:1fc6a9bac598d8b717ba28d0c645d44cc2d3275e-3.1.0-dev.12 [2023-09-23T04:32:54.796Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-23T04:32:54.796Z] fdbff5c01b01: Preparing [2023-09-23T04:32:54.796Z] ebde76292a98: Preparing [2023-09-23T04:32:54.796Z] 74c9c9cba356: Preparing [2023-09-23T04:32:54.796Z] 5e93ed22be4f: Preparing [2023-09-23T04:32:54.796Z] 4693057ce236: Preparing [2023-09-23T04:32:54.796Z] 74c9c9cba356: Layer already exists [2023-09-23T04:32:54.796Z] fdbff5c01b01: Layer already exists [2023-09-23T04:32:54.796Z] 5e93ed22be4f: Layer already exists [2023-09-23T04:32:54.796Z] 4693057ce236: Layer already exists [2023-09-23T04:32:54.796Z] ebde76292a98: Layer already exists [2023-09-23T04:32:54.796Z] 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e-3.1.0-dev.12: digest: sha256:71bd4e84035c914df48fff3615c4896574a67d777dc0bbb2ac17b9ee50558807 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:32:55.112Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:32:55.422Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-09-23T04:32:55.422Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-23T04:32:55.422Z] fdbff5c01b01: Preparing [2023-09-23T04:32:55.422Z] ebde76292a98: Preparing [2023-09-23T04:32:55.422Z] 74c9c9cba356: Preparing [2023-09-23T04:32:55.422Z] 5e93ed22be4f: Preparing [2023-09-23T04:32:55.422Z] 4693057ce236: Preparing [2023-09-23T04:32:55.422Z] 4693057ce236: Layer already exists [2023-09-23T04:32:55.422Z] 5e93ed22be4f: Layer already exists [2023-09-23T04:32:55.422Z] fdbff5c01b01: Layer already exists [2023-09-23T04:32:55.422Z] ebde76292a98: Layer already exists [2023-09-23T04:32:55.422Z] 74c9c9cba356: Layer already exists [2023-09-23T04:32:55.422Z] main: digest: sha256:71bd4e84035c914df48fff3615c4896574a67d777dc0bbb2ac17b9ee50558807 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-23T04:32:55.468Z] ===================================================== [Pipeline] echo [2023-09-23T04:32:55.479Z] taggedImages: [2023-09-23T04:32:55.479Z] - nexus3.edgexfoundry.org:10004/device-modbus:1fc6a9bac598d8b717ba28d0c645d44cc2d3275e [2023-09-23T04:32:55.479Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-09-23T04:32:55.479Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.12 [2023-09-23T04:32:55.479Z] - nexus3.edgexfoundry.org:10004/device-modbus:1fc6a9bac598d8b717ba28d0c645d44cc2d3275e-3.1.0-dev.12 [2023-09-23T04:32:55.479Z] - 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-09-23T04:32:55.854Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-23T04:32:55.854Z] [2023-09-23T04:32:55.854Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:32:56.161Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-23T04:32:56.161Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-23T04:32:56.161Z] 5eb5b503b376: Pulling fs layer [2023-09-23T04:32:56.161Z] 5c69ac0246d0: Pulling fs layer [2023-09-23T04:32:56.161Z] ec43610c2a17: Pulling fs layer [2023-09-23T04:32:56.161Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-23T04:32:56.161Z] 33b1e0a273af: Pulling fs layer [2023-09-23T04:32:56.161Z] 5d3b04190fa2: Pulling fs layer [2023-09-23T04:32:56.161Z] 3a2ae6a8a46f: Waiting [2023-09-23T04:32:56.161Z] 2f39f015ded8: Pulling fs layer [2023-09-23T04:32:56.161Z] 5d3b04190fa2: Waiting [2023-09-23T04:32:56.161Z] 2f39f015ded8: Waiting [2023-09-23T04:32:56.161Z] 5c69ac0246d0: Verifying Checksum [2023-09-23T04:32:56.161Z] 5c69ac0246d0: Download complete [2023-09-23T04:32:56.161Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-23T04:32:56.161Z] 3a2ae6a8a46f: Download complete [2023-09-23T04:32:56.161Z] 33b1e0a273af: Verifying Checksum [2023-09-23T04:32:56.161Z] 33b1e0a273af: Download complete [2023-09-23T04:32:56.161Z] 5d3b04190fa2: Verifying Checksum [2023-09-23T04:32:56.161Z] 5d3b04190fa2: Download complete [2023-09-23T04:32:56.161Z] ec43610c2a17: Verifying Checksum [2023-09-23T04:32:56.161Z] ec43610c2a17: Download complete [2023-09-23T04:32:56.419Z] 5eb5b503b376: Download complete [2023-09-23T04:32:56.985Z] 2f39f015ded8: Download complete [2023-09-23T04:32:57.920Z] 5eb5b503b376: Pull complete [2023-09-23T04:32:57.920Z] 5c69ac0246d0: Pull complete [2023-09-23T04:32:58.486Z] ec43610c2a17: Pull complete [2023-09-23T04:32:58.486Z] 3a2ae6a8a46f: Pull complete [2023-09-23T04:32:58.744Z] 33b1e0a273af: Pull complete [2023-09-23T04:32:58.744Z] 5d3b04190fa2: Pull complete [2023-09-23T04:33:02.923Z] 2f39f015ded8: Pull complete [2023-09-23T04:33:02.923Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-23T04:33:02.923Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-23T04:33:02.923Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:33:03.004Z] prd-ubuntu20.04-docker-8c-8g-7674 does not seem to be running inside a container [2023-09-23T04:33:03.026Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-23T04:33:09.084Z] $ docker top 972c5ea3682c3ec2df11d9957e244c0aedecf755fa39086c073802deb3ff75ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:33:09.470Z] ---> job-cost.sh [2023-09-23T04:33:09.470Z] lf-activate-venv: SKIPPING [2023-09-23T04:33:09.470Z] INFO: No Stack... [2023-09-23T04:33:09.728Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-23T04:33:09.987Z] INFO: Archiving Costs [Pipeline] sh [2023-09-23T04:33:10.271Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-09-23T04:33:10.271Z] + cut -d, -f6 [Pipeline] lock [2023-09-23T04:33:10.283Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-126-stack-cost] [2023-09-23T04:33:10.288Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-126-stack-cost] did not exist. Created. [2023-09-23T04:33:10.288Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-126-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-23T04:33:10.589Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-23T04:33:10.621Z] Stashed 1 file(s) [Pipeline] } [2023-09-23T04:33:10.627Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-126-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-23T04:33:10.634Z] $ docker stop --time=1 972c5ea3682c3ec2df11d9957e244c0aedecf755fa39086c073802deb3ff75ca [2023-09-23T04:33:11.799Z] $ docker rm -f --volumes 972c5ea3682c3ec2df11d9957e244c0aedecf755fa39086c073802deb3ff75ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-23T04:33:30.945Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7677 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-09-23T04:33:30.959Z] Running in /w/workspace/device-modbus-go/126 [Pipeline] { [Pipeline] checkout [2023-09-23T04:33:30.994Z] Selected Git installation does not exist. Using Default [2023-09-23T04:33:30.994Z] The recommended git tool is: NONE [2023-09-23T04:33:36.813Z] using credential edgex-jenkins-ssh [2023-09-23T04:33:36.835Z] Cloning the remote Git repository [2023-09-23T04:33:36.890Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-09-23T04:33:37.006Z] > git init /w/workspace/device-modbus-go/126 # timeout=10 [2023-09-23T04:33:37.192Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-09-23T04:33:37.193Z] > git --version # timeout=10 [2023-09-23T04:33:37.217Z] > git --version # 'git version 2.25.1' [2023-09-23T04:33:37.220Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-23T04:33:37.400Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-23T04:33:38.493Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-09-23T04:33:38.517Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-23T04:33:39.443Z] Avoid second fetch [2023-09-23T04:33:39.443Z] Checking out Revision 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e (main) [2023-09-23T04:33:39.465Z] > git config core.sparsecheckout # timeout=10 [2023-09-23T04:33:39.549Z] > git checkout -f 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e # timeout=10 [2023-09-23T04:33:40.099Z] Commit message: "Merge pull request #504 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.29" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-23T04:33:40.982Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-23T04:33:40.982Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-23T04:33:40.982Z] Dload Upload Total Spent Left Speed [2023-09-23T04:33:40.982Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-09-23T04:33:41.702Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-23T04:33:42.044Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-23T04:33:42.044Z] + sudo tee /etc/docker/daemon.new [2023-09-23T04:33:42.044Z] { [2023-09-23T04:33:42.044Z] "registry-mirrors": [ [2023-09-23T04:33:42.044Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-23T04:33:42.044Z] ], [2023-09-23T04:33:42.044Z] "bip": "10.250.0.254/24", [2023-09-23T04:33:42.044Z] "hosts": [ [2023-09-23T04:33:42.044Z] "tcp://0.0.0.0:5555", [2023-09-23T04:33:42.044Z] "unix:///var/run/docker.sock" [2023-09-23T04:33:42.044Z] ], [2023-09-23T04:33:42.044Z] "mtu": 1458, [2023-09-23T04:33:42.044Z] "selinux-enabled": true, [2023-09-23T04:33:42.044Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-23T04:33:42.044Z] } [Pipeline] sh [2023-09-23T04:33:42.392Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-23T04:33:42.764Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-23T04:34:01.093Z] provisioning config files... [2023-09-23T04:34:01.122Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/126@tmp/config8043357582687691253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:34:01.491Z] ---> docker-login.sh [2023-09-23T04:34:01.491Z] nexus3.edgexfoundry.org:10001 [2023-09-23T04:34:02.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:34:02.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:34:02.084Z] Configure a credential helper to remove this warning. See [2023-09-23T04:34:02.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:34:02.084Z] [2023-09-23T04:34:02.084Z] Login Succeeded [2023-09-23T04:34:02.084Z] nexus3.edgexfoundry.org:10002 [2023-09-23T04:34:02.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:34:02.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:34:02.360Z] Configure a credential helper to remove this warning. See [2023-09-23T04:34:02.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:34:02.360Z] [2023-09-23T04:34:02.360Z] Login Succeeded [2023-09-23T04:34:02.634Z] nexus3.edgexfoundry.org:10003 [2023-09-23T04:34:02.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:34:02.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:34:02.918Z] Configure a credential helper to remove this warning. See [2023-09-23T04:34:02.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:34:02.918Z] [2023-09-23T04:34:02.918Z] Login Succeeded [2023-09-23T04:34:02.918Z] nexus3.edgexfoundry.org:10004 [2023-09-23T04:34:03.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:34:03.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:34:03.190Z] Configure a credential helper to remove this warning. See [2023-09-23T04:34:03.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:34:03.190Z] [2023-09-23T04:34:03.190Z] Login Succeeded [2023-09-23T04:34:03.190Z] docker.io [2023-09-23T04:34:03.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:34:03.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:34:03.732Z] Configure a credential helper to remove this warning. See [2023-09-23T04:34:03.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:34:03.732Z] [2023-09-23T04:34:03.732Z] Login Succeeded [2023-09-23T04:34:03.732Z] ---> docker-login.sh ends [Pipeline] } [2023-09-23T04:34:03.747Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-23T04:34:04.039Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T04:34:04.055Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T04:34:04.072Z] ========================================================= [2023-09-23T04:34:04.072Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-23T04:34:04.072Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:34:04.419Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-23T04:34:04.701Z] Sending build context to Docker daemon 3.356MB [2023-09-23T04:34:04.701Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-23T04:34:04.701Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-23T04:34:04.976Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-23T04:34:04.976Z] 9fda8d8052c6: Pulling fs layer [2023-09-23T04:34:04.976Z] 5d54e960e981: Pulling fs layer [2023-09-23T04:34:04.976Z] c4a7e357bf2a: Pulling fs layer [2023-09-23T04:34:04.976Z] f0e02332f6b5: Pulling fs layer [2023-09-23T04:34:04.976Z] cefa15bbcfad: Pulling fs layer [2023-09-23T04:34:04.976Z] 17808c966233: Pulling fs layer [2023-09-23T04:34:04.976Z] f4c1fc716caa: Pulling fs layer [2023-09-23T04:34:04.976Z] cefa15bbcfad: Waiting [2023-09-23T04:34:04.976Z] 17808c966233: Waiting [2023-09-23T04:34:04.976Z] f4c1fc716caa: Waiting [2023-09-23T04:34:04.976Z] f0e02332f6b5: Waiting [2023-09-23T04:34:04.976Z] 5d54e960e981: Verifying Checksum [2023-09-23T04:34:04.976Z] 5d54e960e981: Download complete [2023-09-23T04:34:04.976Z] f0e02332f6b5: Verifying Checksum [2023-09-23T04:34:04.976Z] f0e02332f6b5: Download complete [2023-09-23T04:34:04.976Z] cefa15bbcfad: Verifying Checksum [2023-09-23T04:34:04.976Z] cefa15bbcfad: Download complete [2023-09-23T04:34:04.976Z] 9fda8d8052c6: Download complete [2023-09-23T04:34:05.570Z] f4c1fc716caa: Verifying Checksum [2023-09-23T04:34:05.570Z] f4c1fc716caa: Download complete [2023-09-23T04:34:06.172Z] 9fda8d8052c6: Pull complete [2023-09-23T04:34:06.441Z] 5d54e960e981: Pull complete [2023-09-23T04:34:06.725Z] c4a7e357bf2a: Download complete [2023-09-23T04:34:07.701Z] 17808c966233: Verifying Checksum [2023-09-23T04:34:07.701Z] 17808c966233: Download complete [2023-09-23T04:34:20.060Z] c4a7e357bf2a: Pull complete [2023-09-23T04:34:20.060Z] f0e02332f6b5: Pull complete [2023-09-23T04:34:20.060Z] cefa15bbcfad: Pull complete [2023-09-23T04:34:26.736Z] 17808c966233: Pull complete [2023-09-23T04:34:27.325Z] f4c1fc716caa: Pull complete [2023-09-23T04:34:27.325Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-23T04:34:27.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-23T04:34:27.325Z] ---> ea914061e18c [2023-09-23T04:34:27.325Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-23T04:34:29.293Z] ---> Running in 5d868f1a6b3b [2023-09-23T04:34:29.574Z] Removing intermediate container 5d868f1a6b3b [2023-09-23T04:34:29.574Z] ---> e13f40325782 [2023-09-23T04:34:29.574Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-23T04:34:29.574Z] ---> Running in 9a61c7ea67ae [2023-09-23T04:34:30.168Z] Removing intermediate container 9a61c7ea67ae [2023-09-23T04:34:30.168Z] ---> f46eb1f08425 [2023-09-23T04:34:30.168Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-23T04:34:30.168Z] ---> Running in 94a789b711ec [2023-09-23T04:34:31.597Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-23T04:34:31.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-23T04:34:33.374Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-09-23T04:34:33.374Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-09-23T04:34:33.374Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-09-23T04:34:33.374Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-09-23T04:34:33.374Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-09-23T04:34:33.374Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-09-23T04:34:33.646Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-09-23T04:34:33.646Z] (8/8) Installing openssh (9.3_p2-r0) [2023-09-23T04:34:33.646Z] Executing busybox-1.36.1-r2.trigger [2023-09-23T04:34:33.646Z] OK: 272 MiB in 60 packages [2023-09-23T04:34:35.069Z] Removing intermediate container 94a789b711ec [2023-09-23T04:34:35.069Z] ---> e3e035843a43 [2023-09-23T04:34:35.069Z] Step 6/10 : WORKDIR /device-modbus-go [2023-09-23T04:34:35.069Z] ---> Running in dc7f7a0a6a64 [2023-09-23T04:34:35.340Z] Removing intermediate container dc7f7a0a6a64 [2023-09-23T04:34:35.340Z] ---> 44bb89c25e63 [2023-09-23T04:34:35.340Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-23T04:34:35.939Z] ---> aa34f40f6ede [2023-09-23T04:34:35.939Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-23T04:34:35.939Z] ---> Running in d9474c581611 [2023-09-23T04:35:43.928Z] Removing intermediate container d9474c581611 [2023-09-23T04:35:43.928Z] ---> c744f3ec1c17 [2023-09-23T04:35:43.928Z] Step 9/10 : COPY . . [2023-09-23T04:35:43.928Z] ---> 790f2ea06b67 [2023-09-23T04:35:43.928Z] Step 10/10 : RUN ${MAKE} [2023-09-23T04:35:43.928Z] ---> Running in 67425721d990 [2023-09-23T04:35:43.928Z] noop [2023-09-23T04:35:44.198Z] Removing intermediate container 67425721d990 [2023-09-23T04:35:44.198Z] ---> dde3374c723a [2023-09-23T04:35:44.198Z] Successfully built dde3374c723a [2023-09-23T04:35:44.198Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:35:44.569Z] + docker inspect -f . ci-base-image-arm64 [2023-09-23T04:35:44.569Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:35:44.802Z] prd-ubuntu20.04-docker-arm64-4c-16g-7677 does not seem to be running inside a container [2023-09-23T04:35:44.889Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/126 -v /w/workspace/device-modbus-go/126:/w/workspace/device-modbus-go/126:rw,z -v /w/workspace/device-modbus-go/126@tmp:/w/workspace/device-modbus-go/126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-23T04:35:47.632Z] $ docker top baa5bade0245537a45acd8be1c79a91c43cdea9221c34c663e4de6ff6b836c85 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-23T04:35:48.499Z] + go version [2023-09-23T04:35:48.499Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-23T04:35:48.528Z] $ docker stop --time=1 baa5bade0245537a45acd8be1c79a91c43cdea9221c34c663e4de6ff6b836c85 [2023-09-23T04:35:50.161Z] $ docker rm -f --volumes baa5bade0245537a45acd8be1c79a91c43cdea9221c34c663e4de6ff6b836c85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:35:50.705Z] + docker inspect -f . ci-base-image-arm64 [2023-09-23T04:35:50.706Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:35:50.888Z] prd-ubuntu20.04-docker-arm64-4c-16g-7677 does not seem to be running inside a container [2023-09-23T04:35:50.971Z] $ 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/126 -v /w/workspace/device-modbus-go/126:/w/workspace/device-modbus-go/126:rw,z -v /w/workspace/device-modbus-go/126@tmp:/w/workspace/device-modbus-go/126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-23T04:35:52.136Z] $ docker top fe2e067dbc073ea39ef8151cdb029746627cd664d3f48d012cd0136aec3c2c0f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-23T04:35:52.973Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/126 [Pipeline] fileExists [Pipeline] sh [2023-09-23T04:35:53.318Z] + make test [2023-09-23T04:35:53.318Z] go test ./... -coverprofile=coverage.out [2023-09-23T04:35:57.580Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-23T04:37:49.282Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-23T04:37:49.282Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.066s coverage: 47.9% of statements [2023-09-23T04:37:49.282Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-23T04:37:49.282Z] go vet ./... [2023-09-23T04:38:16.027Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-23T04:38:16.027Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-23T04:38:16.027Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-23T04:38:16.054Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-23T04:38:16.077Z] $ docker stop --time=1 fe2e067dbc073ea39ef8151cdb029746627cd664d3f48d012cd0136aec3c2c0f [2023-09-23T04:38:19.976Z] $ docker rm -f --volumes fe2e067dbc073ea39ef8151cdb029746627cd664d3f48d012cd0136aec3c2c0f [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-23T04:38:21.203Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-23T04:38:21.223Z] Warning: overwriting stash ‘coverage-report’ [2023-09-23T04:38:21.728Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-23T04:38:22.159Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-23T04:38:22.490Z] + ls -al . [2023-09-23T04:38:22.490Z] total 188 [2023-09-23T04:38:22.490Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 23 04:35 . [2023-09-23T04:38:22.490Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 04:33 .. [2023-09-23T04:38:22.490Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 23 04:33 .dockerignore [2023-09-23T04:38:22.490Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 04:33 .git [2023-09-23T04:38:22.490Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 04:33 .github [2023-09-23T04:38:22.490Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 23 04:33 .gitignore [2023-09-23T04:38:22.490Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 23 04:33 .golangci.yml [2023-09-23T04:38:22.490Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 23 04:33 Attribution.txt [2023-09-23T04:38:22.490Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 23 04:33 CHANGELOG.md [2023-09-23T04:38:22.490Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 23 04:33 Dockerfile [2023-09-23T04:38:22.490Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 04:33 GOVERNANCE.md [2023-09-23T04:38:22.490Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 23 04:33 Jenkinsfile [2023-09-23T04:38:22.490Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 23 04:33 LICENSE [2023-09-23T04:38:22.490Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 23 04:33 Makefile [2023-09-23T04:38:22.490Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 23 04:33 OWNERS.md [2023-09-23T04:38:22.490Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 23 04:33 README.md [2023-09-23T04:38:22.490Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 23 04:30 VERSION [2023-09-23T04:38:22.490Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 04:33 bin [2023-09-23T04:38:22.490Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 04:33 cmd [2023-09-23T04:38:22.490Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 23 04:37 coverage.out [2023-09-23T04:38:22.490Z] -rw-rw-r-- 1 jenkins jenkins 3941 Sep 23 04:33 go.mod [2023-09-23T04:38:22.490Z] -rw-rw-r-- 1 jenkins jenkins 35965 Sep 23 04:33 go.sum [2023-09-23T04:38:22.490Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 04:33 internal [2023-09-23T04:38:22.490Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 04:33 simulator [2023-09-23T04:38:22.490Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 04:33 snap [2023-09-23T04:38:22.490Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 23 04:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:38:22.838Z] + 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=1fc6a9bac598d8b717ba28d0c645d44cc2d3275e --label arch=arm64 --label version=3.1.0-dev.12 . [2023-09-23T04:38:23.106Z] Sending build context to Docker daemon 3.381MB [2023-09-23T04:38:23.376Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-09-23T04:38:23.376Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-23T04:38:23.376Z] ---> dde3374c723a [2023-09-23T04:38:23.376Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-23T04:38:23.376Z] ---> Running in 9a74fe832464 [2023-09-23T04:38:23.651Z] Removing intermediate container 9a74fe832464 [2023-09-23T04:38:23.651Z] ---> 87c2fe8fd3a2 [2023-09-23T04:38:23.651Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-23T04:38:23.919Z] ---> Running in 0832fe45b1c9 [2023-09-23T04:38:25.551Z] Removing intermediate container 0832fe45b1c9 [2023-09-23T04:38:25.551Z] ---> 560960706fcb [2023-09-23T04:38:25.551Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-23T04:38:25.551Z] ---> Running in c62d119d4c7c [2023-09-23T04:38:26.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-23T04:38:26.786Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-23T04:38:28.205Z] OK: 272 MiB in 60 packages [2023-09-23T04:38:29.184Z] Removing intermediate container c62d119d4c7c [2023-09-23T04:38:29.184Z] ---> 73ad729f7790 [2023-09-23T04:38:29.184Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-23T04:38:29.476Z] ---> Running in 08eb841bbd5c [2023-09-23T04:38:29.748Z] Removing intermediate container 08eb841bbd5c [2023-09-23T04:38:29.748Z] ---> dab430ae93ec [2023-09-23T04:38:29.748Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-23T04:38:30.716Z] ---> 250ce00f1d11 [2023-09-23T04:38:30.716Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-23T04:38:30.716Z] ---> Running in 150a4a2d3e4f [2023-09-23T04:38:34.080Z] Removing intermediate container 150a4a2d3e4f [2023-09-23T04:38:34.080Z] ---> dbfa5a24bbe0 [2023-09-23T04:38:34.080Z] Step 9/22 : COPY . . [2023-09-23T04:38:35.046Z] ---> 4520150f60b2 [2023-09-23T04:38:35.046Z] Step 10/22 : RUN ${MAKE} [2023-09-23T04:38:35.046Z] ---> Running in 0f840c477450 [2023-09-23T04:38:36.017Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.29" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-09-23T04:40:42.739Z] Removing intermediate container 0f840c477450 [2023-09-23T04:40:42.739Z] ---> 103a88b21269 [2023-09-23T04:40:42.739Z] Step 11/22 : FROM alpine:3.18 [2023-09-23T04:40:42.739Z] 3.18: Pulling from library/alpine [2023-09-23T04:40:42.739Z] 9fda8d8052c6: Already exists [2023-09-23T04:40:42.739Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-23T04:40:42.739Z] Status: Downloaded newer image for alpine:3.18 [2023-09-23T04:40:42.739Z] ---> f6648c04cd6c [2023-09-23T04:40:42.739Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-23T04:40:42.739Z] ---> Running in 2ce3cb7c3621 [2023-09-23T04:40:42.739Z] Removing intermediate container 2ce3cb7c3621 [2023-09-23T04:40:42.739Z] ---> 201a682cd239 [2023-09-23T04:40:42.739Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-23T04:40:42.739Z] ---> Running in 02dc8686af28 [2023-09-23T04:40:42.739Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-23T04:40:42.739Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-23T04:40:42.739Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-23T04:40:42.739Z] Executing busybox-1.36.1-r2.trigger [2023-09-23T04:40:42.739Z] OK: 8 MiB in 16 packages [2023-09-23T04:40:42.739Z] Removing intermediate container 02dc8686af28 [2023-09-23T04:40:42.739Z] ---> 0b8c8af1c70f [2023-09-23T04:40:42.739Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-23T04:40:42.739Z] ---> 25303c55a8a1 [2023-09-23T04:40:42.739Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-23T04:40:42.739Z] ---> 34814f6117e0 [2023-09-23T04:40:42.739Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-23T04:40:42.739Z] ---> 64fec67ef48a [2023-09-23T04:40:42.739Z] Step 17/22 : EXPOSE 59901 [2023-09-23T04:40:42.739Z] ---> Running in fc6dfc2c4f33 [2023-09-23T04:40:42.739Z] Removing intermediate container fc6dfc2c4f33 [2023-09-23T04:40:42.739Z] ---> ffbb1a27be66 [2023-09-23T04:40:42.739Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-23T04:40:42.739Z] ---> Running in 4a2c1fbde615 [2023-09-23T04:40:42.739Z] Removing intermediate container 4a2c1fbde615 [2023-09-23T04:40:42.739Z] ---> 1a96da845cbf [2023-09-23T04:40:42.739Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-23T04:40:42.739Z] ---> Running in 033d0f976163 [2023-09-23T04:40:42.739Z] Removing intermediate container 033d0f976163 [2023-09-23T04:40:42.739Z] ---> 144f1d43e205 [2023-09-23T04:40:42.739Z] Step 20/22 : LABEL arch=arm64 [2023-09-23T04:40:42.739Z] ---> Running in 49f109321d74 [2023-09-23T04:40:42.739Z] Removing intermediate container 49f109321d74 [2023-09-23T04:40:42.739Z] ---> 719353a614e3 [2023-09-23T04:40:42.739Z] Step 21/22 : LABEL git_sha=1fc6a9bac598d8b717ba28d0c645d44cc2d3275e [2023-09-23T04:40:42.739Z] ---> Running in e1f974bd9af4 [2023-09-23T04:40:42.739Z] Removing intermediate container e1f974bd9af4 [2023-09-23T04:40:42.739Z] ---> d634eab9754e [2023-09-23T04:40:42.739Z] Step 22/22 : LABEL version=3.1.0-dev.12 [2023-09-23T04:40:42.739Z] ---> Running in 02a93006d705 [2023-09-23T04:40:42.739Z] Removing intermediate container 02a93006d705 [2023-09-23T04:40:42.739Z] ---> 818cd21ac353 [2023-09-23T04:40:42.739Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-23T04:40:42.739Z] Successfully built 818cd21ac353 [2023-09-23T04:40:42.739Z] 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-09-23T04:40:42.873Z] provisioning config files... [2023-09-23T04:40:42.886Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/126@tmp/config12969673524419397479tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:40:43.217Z] ---> docker-login.sh [2023-09-23T04:40:43.217Z] nexus3.edgexfoundry.org:10001 [2023-09-23T04:40:43.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:40:43.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:40:43.484Z] Configure a credential helper to remove this warning. See [2023-09-23T04:40:43.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:40:43.484Z] [2023-09-23T04:40:43.484Z] Login Succeeded [2023-09-23T04:40:43.484Z] nexus3.edgexfoundry.org:10002 [2023-09-23T04:40:43.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:40:43.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:40:43.753Z] Configure a credential helper to remove this warning. See [2023-09-23T04:40:43.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:40:43.753Z] [2023-09-23T04:40:43.753Z] Login Succeeded [2023-09-23T04:40:43.753Z] nexus3.edgexfoundry.org:10003 [2023-09-23T04:40:44.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:40:44.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:40:44.019Z] Configure a credential helper to remove this warning. See [2023-09-23T04:40:44.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:40:44.019Z] [2023-09-23T04:40:44.019Z] Login Succeeded [2023-09-23T04:40:44.287Z] nexus3.edgexfoundry.org:10004 [2023-09-23T04:40:44.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:40:44.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:40:44.553Z] Configure a credential helper to remove this warning. See [2023-09-23T04:40:44.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:40:44.553Z] [2023-09-23T04:40:44.553Z] Login Succeeded [2023-09-23T04:40:44.553Z] docker.io [2023-09-23T04:40:44.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:40:45.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:40:45.087Z] Configure a credential helper to remove this warning. See [2023-09-23T04:40:45.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:40:45.087Z] [2023-09-23T04:40:45.087Z] Login Succeeded [2023-09-23T04:40:45.087Z] ---> docker-login.sh ends [Pipeline] } [2023-09-23T04:40:45.104Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-23T04:40:45.142Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T04:40:45.172Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-09-23T04:40:45.172Z] 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e [2023-09-23T04:40:45.172Z] latest [2023-09-23T04:40:45.172Z] 3.1.0-dev.12 [2023-09-23T04:40:45.172Z] 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e-3.1.0-dev.12 [2023-09-23T04:40:45.172Z] main [2023-09-23T04:40:45.172Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:40:45.527Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1fc6a9bac598d8b717ba28d0c645d44cc2d3275e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:40:45.864Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1fc6a9bac598d8b717ba28d0c645d44cc2d3275e [2023-09-23T04:40:45.864Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-23T04:40:45.864Z] f29fe1c976d5: Preparing [2023-09-23T04:40:45.864Z] 3f8a5a6b64ed: Preparing [2023-09-23T04:40:45.864Z] 817fd6355246: Preparing [2023-09-23T04:40:45.864Z] ea6165db8070: Preparing [2023-09-23T04:40:45.864Z] b2191e2be29d: Preparing [2023-09-23T04:40:45.864Z] b2191e2be29d: Layer already exists [2023-09-23T04:40:46.131Z] f29fe1c976d5: Pushed [2023-09-23T04:40:46.131Z] 3f8a5a6b64ed: Pushed [2023-09-23T04:40:46.131Z] ea6165db8070: Pushed [2023-09-23T04:40:51.464Z] 817fd6355246: Pushed [2023-09-23T04:40:51.464Z] 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e: digest: sha256:765a357307224c7320c74265da7a5e6e09d0a118646e70c8431c96c37cea81ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:40:51.812Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:40:52.152Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-09-23T04:40:52.152Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-23T04:40:52.152Z] f29fe1c976d5: Preparing [2023-09-23T04:40:52.152Z] 3f8a5a6b64ed: Preparing [2023-09-23T04:40:52.152Z] 817fd6355246: Preparing [2023-09-23T04:40:52.152Z] ea6165db8070: Preparing [2023-09-23T04:40:52.152Z] b2191e2be29d: Preparing [2023-09-23T04:40:52.152Z] ea6165db8070: Layer already exists [2023-09-23T04:40:52.152Z] 3f8a5a6b64ed: Layer already exists [2023-09-23T04:40:52.152Z] 817fd6355246: Layer already exists [2023-09-23T04:40:52.152Z] f29fe1c976d5: Layer already exists [2023-09-23T04:40:52.152Z] b2191e2be29d: Layer already exists [2023-09-23T04:40:52.152Z] latest: digest: sha256:765a357307224c7320c74265da7a5e6e09d0a118646e70c8431c96c37cea81ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:40:52.496Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:40:52.837Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.12 [2023-09-23T04:40:52.837Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-23T04:40:52.837Z] f29fe1c976d5: Preparing [2023-09-23T04:40:52.837Z] 3f8a5a6b64ed: Preparing [2023-09-23T04:40:52.838Z] 817fd6355246: Preparing [2023-09-23T04:40:52.838Z] ea6165db8070: Preparing [2023-09-23T04:40:52.838Z] b2191e2be29d: Preparing [2023-09-23T04:40:52.838Z] b2191e2be29d: Layer already exists [2023-09-23T04:40:52.838Z] ea6165db8070: Layer already exists [2023-09-23T04:40:52.838Z] 817fd6355246: Layer already exists [2023-09-23T04:40:52.838Z] 3f8a5a6b64ed: Layer already exists [2023-09-23T04:40:52.838Z] f29fe1c976d5: Layer already exists [2023-09-23T04:40:52.838Z] 3.1.0-dev.12: digest: sha256:765a357307224c7320c74265da7a5e6e09d0a118646e70c8431c96c37cea81ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:40:53.181Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1fc6a9bac598d8b717ba28d0c645d44cc2d3275e-3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:40:53.525Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1fc6a9bac598d8b717ba28d0c645d44cc2d3275e-3.1.0-dev.12 [2023-09-23T04:40:53.525Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-23T04:40:53.525Z] f29fe1c976d5: Preparing [2023-09-23T04:40:53.525Z] 3f8a5a6b64ed: Preparing [2023-09-23T04:40:53.525Z] 817fd6355246: Preparing [2023-09-23T04:40:53.525Z] ea6165db8070: Preparing [2023-09-23T04:40:53.525Z] b2191e2be29d: Preparing [2023-09-23T04:40:53.525Z] b2191e2be29d: Layer already exists [2023-09-23T04:40:53.525Z] 817fd6355246: Layer already exists [2023-09-23T04:40:53.525Z] f29fe1c976d5: Layer already exists [2023-09-23T04:40:53.525Z] ea6165db8070: Layer already exists [2023-09-23T04:40:53.525Z] 3f8a5a6b64ed: Layer already exists [2023-09-23T04:40:53.525Z] 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e-3.1.0-dev.12: digest: sha256:765a357307224c7320c74265da7a5e6e09d0a118646e70c8431c96c37cea81ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:40:53.873Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:40:54.218Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-09-23T04:40:54.218Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-23T04:40:54.218Z] f29fe1c976d5: Preparing [2023-09-23T04:40:54.218Z] 3f8a5a6b64ed: Preparing [2023-09-23T04:40:54.218Z] 817fd6355246: Preparing [2023-09-23T04:40:54.219Z] ea6165db8070: Preparing [2023-09-23T04:40:54.219Z] b2191e2be29d: Preparing [2023-09-23T04:40:54.219Z] 817fd6355246: Layer already exists [2023-09-23T04:40:54.219Z] f29fe1c976d5: Layer already exists [2023-09-23T04:40:54.219Z] b2191e2be29d: Layer already exists [2023-09-23T04:40:54.219Z] 3f8a5a6b64ed: Layer already exists [2023-09-23T04:40:54.219Z] ea6165db8070: Layer already exists [2023-09-23T04:40:54.219Z] main: digest: sha256:765a357307224c7320c74265da7a5e6e09d0a118646e70c8431c96c37cea81ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-23T04:40:54.268Z] ===================================================== [Pipeline] echo [2023-09-23T04:40:54.275Z] taggedImages: [2023-09-23T04:40:54.275Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1fc6a9bac598d8b717ba28d0c645d44cc2d3275e [2023-09-23T04:40:54.275Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-09-23T04:40:54.275Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.12 [2023-09-23T04:40:54.275Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1fc6a9bac598d8b717ba28d0c645d44cc2d3275e-3.1.0-dev.12 [2023-09-23T04:40:54.275Z] - 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-09-23T04:40:54.646Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-23T04:40:54.647Z] [2023-09-23T04:40:54.647Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:40:54.977Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-23T04:40:54.978Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-23T04:40:54.978Z] 8998bd30e6a1: Pulling fs layer [2023-09-23T04:40:54.978Z] 04944245beec: Pulling fs layer [2023-09-23T04:40:54.978Z] 699f458cf7ca: Pulling fs layer [2023-09-23T04:40:54.978Z] 765212b225bb: Pulling fs layer [2023-09-23T04:40:54.978Z] f23df028b6ca: Pulling fs layer [2023-09-23T04:40:54.978Z] d65c8cfc05b1: Pulling fs layer [2023-09-23T04:40:54.978Z] 2437ff75d9bd: Pulling fs layer [2023-09-23T04:40:54.978Z] 765212b225bb: Waiting [2023-09-23T04:40:54.978Z] f23df028b6ca: Waiting [2023-09-23T04:40:54.978Z] d65c8cfc05b1: Waiting [2023-09-23T04:40:54.978Z] 2437ff75d9bd: Waiting [2023-09-23T04:40:55.249Z] 04944245beec: Verifying Checksum [2023-09-23T04:40:55.249Z] 04944245beec: Download complete [2023-09-23T04:40:55.249Z] 765212b225bb: Verifying Checksum [2023-09-23T04:40:55.249Z] 765212b225bb: Download complete [2023-09-23T04:40:55.249Z] f23df028b6ca: Verifying Checksum [2023-09-23T04:40:55.249Z] f23df028b6ca: Download complete [2023-09-23T04:40:55.249Z] d65c8cfc05b1: Verifying Checksum [2023-09-23T04:40:55.249Z] d65c8cfc05b1: Download complete [2023-09-23T04:40:55.249Z] 699f458cf7ca: Verifying Checksum [2023-09-23T04:40:55.249Z] 699f458cf7ca: Download complete [2023-09-23T04:40:55.836Z] 8998bd30e6a1: Verifying Checksum [2023-09-23T04:40:55.836Z] 8998bd30e6a1: Download complete [2023-09-23T04:40:58.417Z] 2437ff75d9bd: Download complete [2023-09-23T04:41:01.771Z] 8998bd30e6a1: Pull complete [2023-09-23T04:41:02.038Z] 04944245beec: Pull complete [2023-09-23T04:41:03.449Z] 699f458cf7ca: Pull complete [2023-09-23T04:41:03.449Z] 765212b225bb: Pull complete [2023-09-23T04:41:04.032Z] f23df028b6ca: Pull complete [2023-09-23T04:41:04.298Z] d65c8cfc05b1: Pull complete [2023-09-23T04:41:19.290Z] 2437ff75d9bd: Pull complete [2023-09-23T04:41:19.290Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-23T04:41:19.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-23T04:41:19.290Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:41:19.477Z] prd-ubuntu20.04-docker-arm64-4c-16g-7677 does not seem to be running inside a container [2023-09-23T04:41:19.546Z] $ 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/126 -v /w/workspace/device-modbus-go/126:/w/workspace/device-modbus-go/126:rw,z -v /w/workspace/device-modbus-go/126@tmp:/w/workspace/device-modbus-go/126@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:arm64 cat [2023-09-23T04:41:22.084Z] $ docker top 6023e4fa7db86a25937538cc75b76420d3da9dcb558919ff7c7ecd3f2c6af6f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:41:22.931Z] ---> job-cost.sh [2023-09-23T04:41:22.931Z] lf-activate-venv: SKIPPING [2023-09-23T04:41:22.931Z] INFO: No Stack... [2023-09-23T04:41:23.524Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-23T04:41:24.116Z] INFO: Archiving Costs [Pipeline] sh [2023-09-23T04:41:24.761Z] + cut -d, -f6 [2023-09-23T04:41:24.761Z] + cat /w/workspace/device-modbus-go/126/archives/cost.csv [Pipeline] lock [2023-09-23T04:41:24.826Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-126-stack-cost] [2023-09-23T04:41:24.831Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-126-stack-cost] did not exist. Created. [2023-09-23T04:41:24.831Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-126-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-23T04:41:25.165Z] /w/workspace/device-modbus-go/126@tmp/durable-e18f5cd4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-23T04:41:25.492Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-23T04:41:25.518Z] Warning: overwriting stash ‘stack-cost’ [2023-09-23T04:41:25.574Z] Stashed 1 file(s) [Pipeline] } [2023-09-23T04:41:25.582Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-126-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-23T04:41:25.606Z] $ docker stop --time=1 6023e4fa7db86a25937538cc75b76420d3da9dcb558919ff7c7ecd3f2c6af6f7 [2023-09-23T04:41:27.876Z] $ docker rm -f --volumes 6023e4fa7db86a25937538cc75b76420d3da9dcb558919ff7c7ecd3f2c6af6f7 [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-09-23T04:41:28.232Z] provisioning config files... [2023-09-23T04:41:28.239Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1797407817195602613tmp [Pipeline] { [Pipeline] sh [2023-09-23T04:41:28.532Z] + set +x [2023-09-23T04:41:28.532Z] + curl -s https://codecov.io/bash [2023-09-23T04:41:28.532Z] + bash -s -- [2023-09-23T04:41:28.532Z] [2023-09-23T04:41:28.532Z] _____ _ [2023-09-23T04:41:28.532Z] / ____| | | [2023-09-23T04:41:28.532Z] | | ___ __| | ___ ___ _____ __ [2023-09-23T04:41:28.532Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-23T04:41:28.532Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-23T04:41:28.532Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-23T04:41:28.532Z] Bash-1.0.6 [2023-09-23T04:41:28.532Z] [2023-09-23T04:41:28.532Z] [2023-09-23T04:41:28.532Z] ==> git version 2.25.1 found [2023-09-23T04:41:28.532Z] ==> 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-09-23T04:41:28.532Z] Release-Date: 2020-01-08 [2023-09-23T04:41:28.532Z] 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-09-23T04:41:28.532Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-23T04:41:28.532Z] ==> Jenkins CI detected. [2023-09-23T04:41:28.532Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-09-23T04:41:28.532Z] project root: . [2023-09-23T04:41:28.532Z] --> token set from env [2023-09-23T04:41:28.532Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-23T04:41:28.532Z] ==> Running gcov in . (disable via -X gcov) [2023-09-23T04:41:28.532Z] ==> Python coveragepy not found [2023-09-23T04:41:28.532Z] ==> Searching for coverage reports in: [2023-09-23T04:41:28.532Z] + . [2023-09-23T04:41:28.532Z] -> Found 1 reports [2023-09-23T04:41:28.532Z] ==> Detecting git/mercurial file structure [2023-09-23T04:41:28.532Z] ==> Reading reports [2023-09-23T04:41:28.532Z] + ./coverage.out bytes=24334 [2023-09-23T04:41:28.532Z] ==> Appending adjustments [2023-09-23T04:41:28.532Z] https://docs.codecov.io/docs/fixing-reports [2023-09-23T04:41:28.791Z] + Found adjustments [2023-09-23T04:41:28.791Z] ==> Gzipping contents [2023-09-23T04:41:28.791Z] 4.0K /tmp/codecov.DFpwpX.gz [2023-09-23T04:41:28.791Z] ==> Uploading reports [2023-09-23T04:41:28.791Z] url: https://codecov.io [2023-09-23T04:41:28.791Z] query: branch=main&commit=1fc6a9bac598d8b717ba28d0c645d44cc2d3275e&build=126&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F126%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-23T04:41:28.791Z] -> Pinging Codecov [2023-09-23T04:41:28.791Z] 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=1fc6a9bac598d8b717ba28d0c645d44cc2d3275e&build=126&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F126%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-23T04:41:28.791Z] -> Uploading to [2023-09-23T04:41:28.791Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-23/55DBCA73C666E3227836607328DD7E49/1fc6a9bac598d8b717ba28d0c645d44cc2d3275e/e0f1e8b8-afc7-4799-8b6b-5a3b542209cd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230923%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230923T044128Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e1fc7a7f3c49ff543288067c2ce711232acfd2fa2acc923b81368494b4dc6967 [2023-09-23T04:41:28.791Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-23T04:41:28.791Z] Dload Upload Total Spent Left Speed [2023-09-23T04:41:29.050Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 18834 --:--:-- --:--:-- --:--:-- 18834 [2023-09-23T04:41:29.050Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/1fc6a9bac598d8b717ba28d0c645d44cc2d3275e [Pipeline] } [2023-09-23T04:41:29.057Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-23T04:41:29.159Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-23T04:41:29.173Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:41:29.464Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-23T04:41:29.465Z] [2023-09-23T04:41:29.465Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:41:29.760Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-23T04:41:29.760Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-23T04:41:29.760Z] df9b9388f04a: Pulling fs layer [2023-09-23T04:41:29.760Z] 52dc419b0ee2: Pulling fs layer [2023-09-23T04:41:29.760Z] 25bc292e5bac: Pulling fs layer [2023-09-23T04:41:29.760Z] 114826534d7a: Pulling fs layer [2023-09-23T04:41:29.760Z] 4657fd5d0bcf: Pulling fs layer [2023-09-23T04:41:29.760Z] 6ad1cebc031e: Pulling fs layer [2023-09-23T04:41:29.760Z] 8a3aa393b2d8: Pulling fs layer [2023-09-23T04:41:29.760Z] 114826534d7a: Waiting [2023-09-23T04:41:29.760Z] 4657fd5d0bcf: Waiting [2023-09-23T04:41:29.760Z] 6ad1cebc031e: Waiting [2023-09-23T04:41:29.760Z] 25bc292e5bac: Download complete [2023-09-23T04:41:29.760Z] 52dc419b0ee2: Download complete [2023-09-23T04:41:29.760Z] 4657fd5d0bcf: Verifying Checksum [2023-09-23T04:41:29.760Z] 4657fd5d0bcf: Download complete [2023-09-23T04:41:29.760Z] df9b9388f04a: Download complete [2023-09-23T04:41:30.019Z] 6ad1cebc031e: Download complete [2023-09-23T04:41:30.019Z] df9b9388f04a: Pull complete [2023-09-23T04:41:30.019Z] 52dc419b0ee2: Pull complete [2023-09-23T04:41:30.278Z] 25bc292e5bac: Pull complete [2023-09-23T04:41:30.536Z] 114826534d7a: Download complete [2023-09-23T04:41:30.536Z] 8a3aa393b2d8: Verifying Checksum [2023-09-23T04:41:30.536Z] 8a3aa393b2d8: Download complete [2023-09-23T04:41:34.721Z] 114826534d7a: Pull complete [2023-09-23T04:41:34.721Z] 4657fd5d0bcf: Pull complete [2023-09-23T04:41:34.721Z] 6ad1cebc031e: Pull complete [2023-09-23T04:41:37.248Z] 8a3aa393b2d8: Pull complete [2023-09-23T04:41:37.248Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-23T04:41:37.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-23T04:41:37.248Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:41:37.334Z] prd-ubuntu20.04-docker-8c-8g-7674 does not seem to be running inside a container [2023-09-23T04:41:37.339Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-23T04:41:43.119Z] $ docker top f2e5b56bb5ef437120624277df0e116952219f7722be0c84dd8ad32e84990b7e -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-23T04:41:43.210Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-09-23T04:41:43.493Z] + set -o pipefail [2023-09-23T04:41:43.493Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-09-23T04:41:48.763Z] [2023-09-23T04:41:48.763Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-09-23T04:41:48.763Z] [2023-09-23T04:41:48.763Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/8c72db89-fae0-4365-a8f9-93aadfc70ac3 [2023-09-23T04:41:48.763Z] [2023-09-23T04:41:48.763Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-09-23T04:41:48.763Z] [2023-09-23T04:41:48.763Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-23T04:41:48.763Z] [2023-09-23T04:41:48.763Z] [2023-09-23T04:41:48.763Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-23T04:41:48.763Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-23T04:41:48.763Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-23T04:41:48.756Z] $ docker stop --time=1 f2e5b56bb5ef437120624277df0e116952219f7722be0c84dd8ad32e84990b7e [2023-09-23T04:41:53.166Z] $ docker rm -f --volumes f2e5b56bb5ef437120624277df0e116952219f7722be0c84dd8ad32e84990b7e [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-09-23T04:41:53.860Z] + git log --format=format:%s -1 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e [Pipeline] sh [2023-09-23T04:41:54.148Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-23T04:41:54.148Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:41:54.445Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-23T04:41:54.445Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:41:54.517Z] prd-ubuntu20.04-docker-8c-8g-7674 does not seem to be running inside a container [2023-09-23T04:41:54.527Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-23T04:41:54.987Z] $ docker top fae1d9ae48389883e3c4d9bfca2b0d84492661860246b3a21f8bc4db775b517e -eo pid,comm [2023-09-23T04:41:55.046Z] 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-09-23T04:41:55.046Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-23T04:41:55.070Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-23T04:41:55.070Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-23T04:41:55.173Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-23T04:41:55.158Z] $ docker exec fae1d9ae48389883e3c4d9bfca2b0d84492661860246b3a21f8bc4db775b517e ssh-agent [2023-09-23T04:41:55.279Z] SSH_AUTH_SOCK=/tmp/ssh-73RZPVgWjKTC/agent.32 [2023-09-23T04:41:55.279Z] SSH_AGENT_PID=38 [2023-09-23T04:41:55.283Z] Running ssh-add (command line suppressed) [2023-09-23T04:41:55.368Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_244187939079164531.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_244187939079164531.key) [2023-09-23T04:41:55.396Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-23T04:41:55.686Z] + git semver tag [2023-09-23T04:41:55.946Z] 2023-09-23 04:41:55,844 [run_tag] DEBUG tag force:False [2023-09-23T04:41:55.947Z] 2023-09-23 04:41:55,844 [check_head_tag] DEBUG check head tag [2023-09-23T04:41:55.947Z] 2023-09-23 04:41:55,844 [execute] INFO git cat-file --batch-check [2023-09-23T04:41:55.947Z] 2023-09-23 04:41:55,845 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-09-23T04:41:55.947Z] 2023-09-23 04:41:55,850 [execute] INFO git cat-file --batch [2023-09-23T04:41:55.947Z] 2023-09-23 04:41:55,850 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-09-23T04:41:55.947Z] 2023-09-23 04:41:55,861 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-23T04:41:55.947Z] 2023-09-23 04:41:55,862 [execute] INFO git tag -a v3.1.0-dev.12 -m v3.1.0-dev.12 [2023-09-23T04:41:55.947Z] 2023-09-23 04:41:55,862 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.12', '-m', 'v3.1.0-dev.12'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-23T04:41:55.947Z] 2023-09-23 04:41:55,867 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-23T04:41:55.947Z] 3.1.0-dev.12 [Pipeline] } [2023-09-23T04:41:55.938Z] $ docker exec --env ******** --env ******** fae1d9ae48389883e3c4d9bfca2b0d84492661860246b3a21f8bc4db775b517e ssh-agent -k [2023-09-23T04:41:56.057Z] unset SSH_AUTH_SOCK; [2023-09-23T04:41:56.058Z] unset SSH_AGENT_PID; [2023-09-23T04:41:56.058Z] echo Agent pid 38 killed; [2023-09-23T04:41:56.084Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-23T04:41:56.383Z] + git semver [Pipeline] } [2023-09-23T04:41:56.637Z] $ docker stop --time=1 fae1d9ae48389883e3c4d9bfca2b0d84492661860246b3a21f8bc4db775b517e [2023-09-23T04:41:57.960Z] $ docker rm -f --volumes fae1d9ae48389883e3c4d9bfca2b0d84492661860246b3a21f8bc4db775b517e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:41:58.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-23T04:41:58.345Z] [2023-09-23T04:41:58.345Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:41:58.647Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-23T04:41:58.647Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-23T04:41:58.647Z] ab5ef0e58194: Pulling fs layer [2023-09-23T04:41:58.647Z] 9712f1f96733: Pulling fs layer [2023-09-23T04:41:58.647Z] 63f879dbbcfc: Pulling fs layer [2023-09-23T04:41:58.647Z] 0d9ebad4ef96: Pulling fs layer [2023-09-23T04:41:58.647Z] e9a5061849ea: Pulling fs layer [2023-09-23T04:41:58.647Z] d747dcd14b5f: Pulling fs layer [2023-09-23T04:41:58.647Z] 2de7ff778b66: Pulling fs layer [2023-09-23T04:41:58.647Z] e9a5061849ea: Waiting [2023-09-23T04:41:58.647Z] d747dcd14b5f: Waiting [2023-09-23T04:41:58.647Z] 0d9ebad4ef96: Waiting [2023-09-23T04:41:58.647Z] 9712f1f96733: Verifying Checksum [2023-09-23T04:41:58.647Z] 9712f1f96733: Download complete [2023-09-23T04:41:58.909Z] 63f879dbbcfc: Verifying Checksum [2023-09-23T04:41:58.909Z] 63f879dbbcfc: Download complete [2023-09-23T04:41:59.168Z] 0d9ebad4ef96: Verifying Checksum [2023-09-23T04:41:59.168Z] 0d9ebad4ef96: Download complete [2023-09-23T04:41:59.168Z] d747dcd14b5f: Download complete [2023-09-23T04:41:59.168Z] e9a5061849ea: Verifying Checksum [2023-09-23T04:41:59.168Z] e9a5061849ea: Download complete [2023-09-23T04:41:59.168Z] ab5ef0e58194: Verifying Checksum [2023-09-23T04:41:59.168Z] ab5ef0e58194: Download complete [2023-09-23T04:41:59.426Z] 2de7ff778b66: Verifying Checksum [2023-09-23T04:41:59.426Z] 2de7ff778b66: Download complete [2023-09-23T04:42:01.950Z] ab5ef0e58194: Pull complete [2023-09-23T04:42:02.208Z] 9712f1f96733: Pull complete [2023-09-23T04:42:02.773Z] 63f879dbbcfc: Pull complete [2023-09-23T04:42:08.048Z] 0d9ebad4ef96: Pull complete [2023-09-23T04:42:08.048Z] e9a5061849ea: Pull complete [2023-09-23T04:42:08.048Z] d747dcd14b5f: Pull complete [2023-09-23T04:42:08.980Z] 2de7ff778b66: Pull complete [2023-09-23T04:42:08.980Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-23T04:42:08.980Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-23T04:42:08.980Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:42:09.072Z] prd-ubuntu20.04-docker-8c-8g-7674 does not seem to be running inside a container [2023-09-23T04:42:09.083Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-23T04:42:16.791Z] $ docker top 3c3b12ca70ef26836fd298d7f7d8018e669aad8bf6b5ee1ecd1e653e56531910 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-23T04:42:16.876Z] provisioning config files... [2023-09-23T04:42:16.883Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6150242054109562208tmp [2023-09-23T04:42:16.893Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10948222650196527672tmp [2023-09-23T04:42:16.902Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6078917760317294809tmp [Pipeline] { [Pipeline] echo [2023-09-23T04:42:16.918Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:42:17.198Z] ---> sigul-configuration.sh [2023-09-23T04:42:17.198Z] gpg: directory `/root/.gnupg' created [2023-09-23T04:42:17.198Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-23T04:42:17.198Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-23T04:42:17.198Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-23T04:42:17.198Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-23T04:42:17.198Z] gpg: CAST5 encrypted data [2023-09-23T04:42:17.198Z] gpg: encrypted with 1 passphrase [2023-09-23T04:42:17.198Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-23T04:42:17.481Z] + mkdir /home/jenkins [2023-09-23T04:42:17.481Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-23T04:42:17.767Z] + 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-09-23T04:42:17.776Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:42:18.061Z] ---> sigul-install.sh [2023-09-23T04:42:18.061Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-23T04:42:18.350Z] + git tag --list [2023-09-23T04:42:18.351Z] 0.7.1 [2023-09-23T04:42:18.351Z] v1.0.0 [2023-09-23T04:42:18.351Z] v1.1.0 [2023-09-23T04:42:18.351Z] v1.1.1 [2023-09-23T04:42:18.351Z] v1.2.2 [2023-09-23T04:42:18.351Z] v1.3.0 [2023-09-23T04:42:18.351Z] v1.3.1 [2023-09-23T04:42:18.351Z] v2.0.0 [2023-09-23T04:42:18.351Z] v2.1.0 [2023-09-23T04:42:18.351Z] v2.1.1 [2023-09-23T04:42:18.351Z] v2.2.0 [2023-09-23T04:42:18.351Z] v2.3.0 [2023-09-23T04:42:18.351Z] v3.0 [2023-09-23T04:42:18.351Z] v3.0.0 [2023-09-23T04:42:18.351Z] v3.1.0-dev.1 [2023-09-23T04:42:18.351Z] v3.1.0-dev.10 [2023-09-23T04:42:18.351Z] v3.1.0-dev.11 [2023-09-23T04:42:18.351Z] v3.1.0-dev.12 [2023-09-23T04:42:18.351Z] v3.1.0-dev.2 [2023-09-23T04:42:18.351Z] v3.1.0-dev.3 [2023-09-23T04:42:18.351Z] v3.1.0-dev.4 [2023-09-23T04:42:18.351Z] v3.1.0-dev.5 [2023-09-23T04:42:18.351Z] v3.1.0-dev.6 [2023-09-23T04:42:18.351Z] v3.1.0-dev.7 [2023-09-23T04:42:18.351Z] v3.1.0-dev.8 [2023-09-23T04:42:18.351Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-23T04:42:18.637Z] + lftools sign git-tag v3.1.0-dev.12 [2023-09-23T04:42:19.207Z] Signing Git tag with Sigul... [2023-09-23T04:42:19.207Z] Signing v3.1.0-dev.12 [Pipeline] echo [2023-09-23T04:42:19.474Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:42:19.756Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-23T04:42:19.761Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-23T04:42:19.764Z] $ docker stop --time=1 3c3b12ca70ef26836fd298d7f7d8018e669aad8bf6b5ee1ecd1e653e56531910 [2023-09-23T04:42:21.047Z] $ docker rm -f --volumes 3c3b12ca70ef26836fd298d7f7d8018e669aad8bf6b5ee1ecd1e653e56531910 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-23T04:42:21.467Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-23T04:42:21.467Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:42:21.767Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-23T04:42:21.767Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:42:21.837Z] prd-ubuntu20.04-docker-8c-8g-7674 does not seem to be running inside a container [2023-09-23T04:42:21.851Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-23T04:42:22.218Z] $ docker top 1b182aa51186673be0132334d6e05fc089987d57327ff81ad94208cd37ca5d16 -eo pid,comm [2023-09-23T04:42:22.284Z] 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-09-23T04:42:22.284Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-23T04:42:22.332Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-23T04:42:22.332Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-23T04:42:22.449Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-23T04:42:22.435Z] $ docker exec 1b182aa51186673be0132334d6e05fc089987d57327ff81ad94208cd37ca5d16 ssh-agent [2023-09-23T04:42:22.561Z] SSH_AUTH_SOCK=/tmp/ssh-YYE2vuXSJXhW/agent.32 [2023-09-23T04:42:22.561Z] SSH_AGENT_PID=38 [2023-09-23T04:42:22.565Z] Running ssh-add (command line suppressed) [2023-09-23T04:42:22.643Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10724534950621021774.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10724534950621021774.key) [2023-09-23T04:42:22.672Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-23T04:42:22.954Z] + git semver bump pre [2023-09-23T04:42:23.213Z] 2023-09-23 04:42:23,123 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-23T04:42:23.213Z] 2023-09-23 04:42:23,123 [bump_version] DEBUG bumping version:3.1.0-dev.12 on axis:pre with prefix:dev [2023-09-23T04:42:23.213Z] 2023-09-23 04:42:23,123 [bump_version] DEBUG bumped version:3.1.0-dev.13 [2023-09-23T04:42:23.213Z] 2023-09-23 04:42:23,123 [write_version] DEBUG write version:3.1.0-dev.13 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-09-23T04:42:23.213Z] 2023-09-23 04:42:23,123 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-23T04:42:23.213Z] 2023-09-23 04:42:23,123 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-23T04:42:23.213Z] 2023-09-23 04:42:23,125 [execute] INFO git cat-file --batch-check [2023-09-23T04:42:23.213Z] 2023-09-23 04:42:23,125 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-23T04:42:23.213Z] 2023-09-23 04:42:23,131 [execute] INFO git cat-file --batch [2023-09-23T04:42:23.213Z] 2023-09-23 04:42:23,131 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-23T04:42:23.213Z] 2023-09-23 04:42:23,137 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-23T04:42:23.213Z] 3.1.0-dev.13 [Pipeline] } [2023-09-23T04:42:23.205Z] $ docker exec --env ******** --env ******** 1b182aa51186673be0132334d6e05fc089987d57327ff81ad94208cd37ca5d16 ssh-agent -k [2023-09-23T04:42:23.302Z] unset SSH_AUTH_SOCK; [2023-09-23T04:42:23.302Z] unset SSH_AGENT_PID; [2023-09-23T04:42:23.302Z] echo Agent pid 38 killed; [2023-09-23T04:42:23.328Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-23T04:42:23.636Z] + git semver [Pipeline] } [2023-09-23T04:42:23.892Z] $ docker stop --time=1 1b182aa51186673be0132334d6e05fc089987d57327ff81ad94208cd37ca5d16 [2023-09-23T04:42:25.167Z] $ docker rm -f --volumes 1b182aa51186673be0132334d6e05fc089987d57327ff81ad94208cd37ca5d16 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-23T04:42:25.530Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-23T04:42:25.530Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:42:25.834Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-23T04:42:25.834Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:42:25.900Z] prd-ubuntu20.04-docker-8c-8g-7674 does not seem to be running inside a container [2023-09-23T04:42:25.914Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-23T04:42:26.281Z] $ docker top 22d89431f6122c905c46d1339865d8ebab2e13d73d809599a72c272a6b96e303 -eo pid,comm [2023-09-23T04:42:26.348Z] 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-09-23T04:42:26.348Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-23T04:42:26.392Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-23T04:42:26.392Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-23T04:42:26.502Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-23T04:42:26.488Z] $ docker exec 22d89431f6122c905c46d1339865d8ebab2e13d73d809599a72c272a6b96e303 ssh-agent [2023-09-23T04:42:26.620Z] SSH_AUTH_SOCK=/tmp/ssh-ia533hOfRKcB/agent.31 [2023-09-23T04:42:26.620Z] SSH_AGENT_PID=37 [2023-09-23T04:42:26.625Z] Running ssh-add (command line suppressed) [2023-09-23T04:42:26.714Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8976132310522585720.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8976132310522585720.key) [2023-09-23T04:42:26.744Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-23T04:42:27.031Z] + git semver push [2023-09-23T04:42:27.291Z] 2023-09-23 04:42:27,215 [run_push] DEBUG push [2023-09-23T04:42:27.291Z] 2023-09-23 04:42:27,216 [execute] INFO git cat-file --batch-check [2023-09-23T04:42:27.291Z] 2023-09-23 04:42:27,217 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-23T04:42:27.291Z] 2023-09-23 04:42:27,222 [execute] INFO git rev-list 1ca8978040d4b4710aef5b81f066177d9e240461 -- [2023-09-23T04:42:27.291Z] 2023-09-23 04:42:27,222 [execute] DEBUG Popen(['git', 'rev-list', '1ca8978040d4b4710aef5b81f066177d9e240461', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-23T04:42:27.291Z] 2023-09-23 04:42:27,233 [execute] INFO git fetch -v origin [2023-09-23T04:42:27.291Z] 2023-09-23 04:42:27,234 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-23T04:42:27.940Z] 2023-09-23 04:42:27,711 [run_push] DEBUG no remote changes detected [2023-09-23T04:42:27.940Z] 2023-09-23 04:42:27,711 [execute] INFO git push origin semver [2023-09-23T04:42:27.940Z] 2023-09-23 04:42:27,712 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-23T04:42:28.878Z] 2023-09-23 04:42:28,635 [run_push] DEBUG push all version tags [2023-09-23T04:42:28.878Z] 2023-09-23 04:42:28,636 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-23T04:42:28.878Z] 2023-09-23 04:42:28,636 [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-09-23T04:42:29.823Z] 2023-09-23 04:42:29,506 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-23T04:42:29.823Z] 3.1.0-dev.13 [Pipeline] } [2023-09-23T04:42:29.816Z] $ docker exec --env ******** --env ******** 22d89431f6122c905c46d1339865d8ebab2e13d73d809599a72c272a6b96e303 ssh-agent -k [2023-09-23T04:42:29.917Z] unset SSH_AUTH_SOCK; [2023-09-23T04:42:29.917Z] unset SSH_AGENT_PID; [2023-09-23T04:42:29.917Z] echo Agent pid 37 killed; [2023-09-23T04:42:29.947Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-23T04:42:30.252Z] + git semver [Pipeline] } [2023-09-23T04:42:30.507Z] $ docker stop --time=1 22d89431f6122c905c46d1339865d8ebab2e13d73d809599a72c272a6b96e303 [2023-09-23T04:42:31.810Z] $ docker rm -f --volumes 22d89431f6122c905c46d1339865d8ebab2e13d73d809599a72c272a6b96e303 [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-09-23T04:42:32.367Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-09-23T04:42:32.367Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-09-23T04:42:32.367Z] total 16 [2023-09-23T04:42:32.367Z] drwxr-xr-x 3 root root 4096 Sep 23 04:33 . [2023-09-23T04:42:32.367Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 23 04:42 .. [2023-09-23T04:42:32.367Z] drwxr-xr-x 2 root root 4096 Sep 23 04:33 cost [2023-09-23T04:42:32.367Z] -rw-r--r-- 1 root root 88 Sep 23 04:33 cost.csv [2023-09-23T04:42:32.367Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-09-23T04:42:32.367Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-09-23T04:42:32.367Z] total 16 [2023-09-23T04:42:32.367Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 23 04:33 . [2023-09-23T04:42:32.367Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 23 04:42 .. [2023-09-23T04:42:32.367Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 23 04:33 cost [2023-09-23T04:42:32.368Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 23 04:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:42:32.658Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:42:33.517Z] ---> package-listing.sh [2023-09-23T04:42:33.517Z] ++ facter osfamily [2023-09-23T04:42:33.517Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-23T04:42:33.776Z] + OS_FAMILY=debian [2023-09-23T04:42:33.776Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-09-23T04:42:33.776Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-23T04:42:33.776Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-23T04:42:33.776Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-23T04:42:33.776Z] + PACKAGES=/tmp/packages_start.txt [2023-09-23T04:42:33.776Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-09-23T04:42:33.776Z] + PACKAGES=/tmp/packages_end.txt [2023-09-23T04:42:33.776Z] + case "${OS_FAMILY}" in [2023-09-23T04:42:33.776Z] + dpkg -l [2023-09-23T04:42:33.776Z] + grep '^ii' [2023-09-23T04:42:33.776Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-23T04:42:33.776Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-23T04:42:33.776Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-23T04:42:33.776Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-09-23T04:42:33.776Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-09-23T04:42:33.776Z] + 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-09-23T04:42:33.785Z] 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-09-23T04:42:34.060Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:42:34.628Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-23T04:42:34.628Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:42:34.701Z] prd-ubuntu20.04-docker-8c-8g-7674 does not seem to be running inside a container [2023-09-23T04:42:34.717Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-23T04:42:34.967Z] $ docker top 46aec69d8fe4a665c92a0ba90e42801b13137437f42c6ae6acbdba57f794e903 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-23T04:42:35.326Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-23T04:42:35.668Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-23T04:42:36.015Z] + ls /var/log/sa-host [2023-09-23T04:42:36.016Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-23T04:42:36.087Z] provisioning config files... [2023-09-23T04:42:36.107Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12573339306217603182tmp [Pipeline] { [Pipeline] echo [2023-09-23T04:42:36.145Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:42:36.466Z] ---> create-netrc.sh [Pipeline] } [2023-09-23T04:42:36.473Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:42:36.788Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-23T04:42:36.797Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:42:37.080Z] ---> sudo-logs.sh [2023-09-23T04:42:37.080Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-23T04:42:37.111Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:42:37.394Z] ---> job-cost.sh [2023-09-23T04:42:37.394Z] lf-activate-venv: SKIPPING [2023-09-23T04:42:37.394Z] DEBUG: total: 0.2199999988079071 [2023-09-23T04:42:37.394Z] INFO: Retrieving Stack Cost... [2023-09-23T04:42:37.960Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-23T04:42:38.219Z] INFO: Archiving Costs [Pipeline] echo [2023-09-23T04:42:38.231Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:42:38.575Z] ---> logs-deploy.sh [2023-09-23T04:42:38.575Z] lf-activate-venv: SKIPPING [2023-09-23T04:42:38.575Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/126 [2023-09-23T04:42:38.575Z] INFO: archiving workspace using pattern(s): [2023-09-23T04:42:39.513Z] Archives upload complete. [2023-09-23T04:42:39.772Z] INFO: archiving logs to Nexus [2023-09-23T04:42:40.340Z] ---> uname -a: [2023-09-23T04:42:40.340Z] Linux prd-ubuntu20-04-docker-8c-8g-7674 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-09-23T04:42:40.340Z] [2023-09-23T04:42:40.340Z] [2023-09-23T04:42:40.340Z] ---> lscpu: [2023-09-23T04:42:40.340Z] Architecture: x86_64 [2023-09-23T04:42:40.340Z] CPU op-mode(s): 32-bit, 64-bit [2023-09-23T04:42:40.340Z] Byte Order: Little Endian [2023-09-23T04:42:40.340Z] Address sizes: 40 bits physical, 48 bits virtual [2023-09-23T04:42:40.340Z] CPU(s): 8 [2023-09-23T04:42:40.340Z] On-line CPU(s) list: 0-7 [2023-09-23T04:42:40.340Z] Thread(s) per core: 1 [2023-09-23T04:42:40.340Z] Core(s) per socket: 1 [2023-09-23T04:42:40.340Z] Socket(s): 8 [2023-09-23T04:42:40.340Z] NUMA node(s): 1 [2023-09-23T04:42:40.340Z] Vendor ID: AuthenticAMD [2023-09-23T04:42:40.340Z] CPU family: 23 [2023-09-23T04:42:40.340Z] Model: 49 [2023-09-23T04:42:40.340Z] Model name: AMD EPYC-Rome Processor [2023-09-23T04:42:40.340Z] Stepping: 0 [2023-09-23T04:42:40.340Z] CPU MHz: 2799.998 [2023-09-23T04:42:40.340Z] BogoMIPS: 5599.99 [2023-09-23T04:42:40.340Z] Virtualization: AMD-V [2023-09-23T04:42:40.340Z] Hypervisor vendor: KVM [2023-09-23T04:42:40.340Z] Virtualization type: full [2023-09-23T04:42:40.340Z] L1d cache: 256 KiB [2023-09-23T04:42:40.340Z] L1i cache: 256 KiB [2023-09-23T04:42:40.340Z] L2 cache: 4 MiB [2023-09-23T04:42:40.340Z] L3 cache: 128 MiB [2023-09-23T04:42:40.340Z] NUMA node0 CPU(s): 0-7 [2023-09-23T04:42:40.340Z] Vulnerability Itlb multihit: Not affected [2023-09-23T04:42:40.340Z] Vulnerability L1tf: Not affected [2023-09-23T04:42:40.340Z] Vulnerability Mds: Not affected [2023-09-23T04:42:40.340Z] Vulnerability Meltdown: Not affected [2023-09-23T04:42:40.340Z] Vulnerability Mmio stale data: Not affected [2023-09-23T04:42:40.340Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-09-23T04:42:40.340Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-09-23T04:42:40.340Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-09-23T04:42:40.340Z] Vulnerability Srbds: Not affected [2023-09-23T04:42:40.340Z] Vulnerability Tsx async abort: Not affected [2023-09-23T04:42:40.340Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-09-23T04:42:40.340Z] [2023-09-23T04:42:40.340Z]