Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7c5acbbe38a78294b2f031b3aca8867e5f1e249e 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-ssh17399215254363555915.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh2797535206699740771.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh3679906031331393176.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh12640795877035718216.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-ssh13485027599532260802.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-257 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 7c5acbbe38a78294b2f031b3aca8867e5f1e249e (main) Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 (#426)" > 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 7c5acbbe38a78294b2f031b3aca8867e5f1e249e # timeout=10 > git rev-list --no-walk 4a922296995208ff0e4cc89e50973eb58c03687f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-14T20:56:27.214Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-14T20:56:27.262Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-14T20:56:27.274Z] ========================================================= [2023-03-14T20:56:27.274Z] EdgeX Global Pipelines Version Info [2023-03-14T20:56:27.274Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:56:28.038Z] ------------------- [2023-03-14T20:56:28.038Z] stable info: [2023-03-14T20:56:28.038Z] ------------------- [2023-03-14T20:56:28.038Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-14T20:56:28.038Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T20:56:28.038Z] Message: update stable to v1.0.245 [2023-03-14T20:56:28.609Z] ------------------- [2023-03-14T20:56:28.609Z] experimental info: [2023-03-14T20:56:28.609Z] ------------------- [2023-03-14T20:56:28.609Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-14T20:56:28.609Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-14T20:56:28.609Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-14T20:56:28.757Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-03-14T20:56:28.766Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-03-14T20:56:28.774Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-14T20:56:28.782Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-14T20:56:28.797Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-14T20:56:28.807Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-14T20:56:28.824Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-14T20:56:28.835Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-14T20:56:28.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-14T20:56:28.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-14T20:56:28.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-14T20:56:28.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-03-14T20:56:28.904Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-14T20:56:28.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-14T20:56:28.938Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T20:56:28.954Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T20:56:28.965Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T20:56:28.980Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T20:56:28.991Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-14T20:56:29.004Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-14T20:56:29.018Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-14T20:56:29.029Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-14T20:56:29.044Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-14T20:56:29.058Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-14T20:56:29.069Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-14T20:56:29.080Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-14T20:56:29.092Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-14T20:56:29.107Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-14T20:56:29.122Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-14T20:56:29.133Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-14T20:56:29.145Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c5acbbe38a78294b2f031b3aca8867e5f1e249e [Pipeline] echo [2023-03-14T20:56:29.156Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c5acbb [Pipeline] echo [2023-03-14T20:56:29.166Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T20:56:29.213Z] provisioning config files... [2023-03-14T20:56:29.241Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9984789490766239583tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:56:29.565Z] ---> docker-login.sh [2023-03-14T20:56:29.565Z] nexus3.edgexfoundry.org:10001 [2023-03-14T20:56:29.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:56:29.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:56:29.823Z] Configure a credential helper to remove this warning. See [2023-03-14T20:56:29.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:56:29.823Z] [2023-03-14T20:56:29.823Z] Login Succeeded [2023-03-14T20:56:29.823Z] nexus3.edgexfoundry.org:10002 [2023-03-14T20:56:29.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:56:29.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:56:29.823Z] Configure a credential helper to remove this warning. See [2023-03-14T20:56:29.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:56:29.823Z] [2023-03-14T20:56:29.823Z] Login Succeeded [2023-03-14T20:56:29.823Z] nexus3.edgexfoundry.org:10003 [2023-03-14T20:56:30.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:56:30.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:56:30.081Z] Configure a credential helper to remove this warning. See [2023-03-14T20:56:30.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:56:30.081Z] [2023-03-14T20:56:30.081Z] Login Succeeded [2023-03-14T20:56:30.081Z] nexus3.edgexfoundry.org:10004 [2023-03-14T20:56:30.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:56:30.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:56:30.081Z] Configure a credential helper to remove this warning. See [2023-03-14T20:56:30.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:56:30.081Z] [2023-03-14T20:56:30.081Z] Login Succeeded [2023-03-14T20:56:30.081Z] docker.io [2023-03-14T20:56:30.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:56:30.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:56:30.341Z] Configure a credential helper to remove this warning. See [2023-03-14T20:56:30.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:56:30.341Z] [2023-03-14T20:56:30.341Z] Login Succeeded [2023-03-14T20:56:30.341Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T20:56:30.349Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-14T20:56:30.709Z] + git rev-list -1 --merges 7c5acbbe38a78294b2f031b3aca8867e5f1e249e~1..7c5acbbe38a78294b2f031b3aca8867e5f1e249e [Pipeline] echo [2023-03-14T20:56:30.750Z] -----------> git rev-list -1 --merges 7c5acbbe38a78294b2f031b3aca8867e5f1e249e~1..7c5acbbe38a78294b2f031b3aca8867e5f1e249e 7c5acbbe38a78294b2f031b3aca8867e5f1e249e [false] [Pipeline] sh [2023-03-14T20:56:31.043Z] + git log --format=format:%s -1 7c5acbbe38a78294b2f031b3aca8867e5f1e249e [Pipeline] echo [2023-03-14T20:56:31.058Z] ========================================================= [2023-03-14T20:56:31.058Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-14T20:56:31.058Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T20:56:31.385Z] + git log --format=format:%s -1 7c5acbbe38a78294b2f031b3aca8867e5f1e249e [Pipeline] echo [2023-03-14T20:56:31.395Z] [semverPrep] GIT_COMMIT: 7c5acbbe38a78294b2f031b3aca8867e5f1e249e, Commit Message: build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 (#426) [Pipeline] echo [2023-03-14T20:56:31.402Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-14T20:56:31.750Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T20:56:31.750Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-14T20:56:31.750Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-14T20:56:31.750Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-14T20:56:31.750Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-14T20:56:31.750Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-14T20:56:31.750Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:56:32.101Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T20:56:32.101Z] [2023-03-14T20:56:32.101Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:56:32.403Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T20:56:32.403Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-14T20:56:32.403Z] b85a868b505f: Pulling fs layer [2023-03-14T20:56:32.403Z] e2be974225ed: Pulling fs layer [2023-03-14T20:56:32.403Z] 339a4e72a1f5: Pulling fs layer [2023-03-14T20:56:32.403Z] 988bab9f4d93: Pulling fs layer [2023-03-14T20:56:32.403Z] 1469e6f7b9e6: Pulling fs layer [2023-03-14T20:56:32.403Z] eaf3925da568: Pulling fs layer [2023-03-14T20:56:32.403Z] bab4dde63d76: Pulling fs layer [2023-03-14T20:56:32.403Z] bde34c3a00c8: Pulling fs layer [2023-03-14T20:56:32.403Z] b352a97aabf1: Pulling fs layer [2023-03-14T20:56:32.403Z] 4872d77fe225: Pulling fs layer [2023-03-14T20:56:32.403Z] 5851b861e8e6: Pulling fs layer [2023-03-14T20:56:32.403Z] bab4dde63d76: Waiting [2023-03-14T20:56:32.403Z] bde34c3a00c8: Waiting [2023-03-14T20:56:32.403Z] b352a97aabf1: Waiting [2023-03-14T20:56:32.403Z] 988bab9f4d93: Waiting [2023-03-14T20:56:32.403Z] 4872d77fe225: Waiting [2023-03-14T20:56:32.403Z] 1469e6f7b9e6: Waiting [2023-03-14T20:56:32.403Z] 5851b861e8e6: Waiting [2023-03-14T20:56:32.403Z] eaf3925da568: Waiting [2023-03-14T20:56:32.403Z] e2be974225ed: Verifying Checksum [2023-03-14T20:56:32.403Z] e2be974225ed: Download complete [2023-03-14T20:56:32.403Z] 988bab9f4d93: Verifying Checksum [2023-03-14T20:56:32.403Z] 988bab9f4d93: Download complete [2023-03-14T20:56:32.662Z] 1469e6f7b9e6: Verifying Checksum [2023-03-14T20:56:32.662Z] 1469e6f7b9e6: Download complete [2023-03-14T20:56:32.662Z] eaf3925da568: Download complete [2023-03-14T20:56:32.662Z] 339a4e72a1f5: Verifying Checksum [2023-03-14T20:56:32.662Z] 339a4e72a1f5: Download complete [2023-03-14T20:56:32.662Z] bde34c3a00c8: Verifying Checksum [2023-03-14T20:56:32.662Z] bde34c3a00c8: Download complete [2023-03-14T20:56:32.662Z] b352a97aabf1: Verifying Checksum [2023-03-14T20:56:32.662Z] b352a97aabf1: Download complete [2023-03-14T20:56:32.662Z] 4872d77fe225: Download complete [2023-03-14T20:56:32.662Z] 5851b861e8e6: Verifying Checksum [2023-03-14T20:56:32.662Z] 5851b861e8e6: Download complete [2023-03-14T20:56:32.662Z] b85a868b505f: Verifying Checksum [2023-03-14T20:56:32.662Z] b85a868b505f: Download complete [2023-03-14T20:56:32.920Z] bab4dde63d76: Verifying Checksum [2023-03-14T20:56:32.920Z] bab4dde63d76: Download complete [2023-03-14T20:56:33.857Z] b85a868b505f: Pull complete [2023-03-14T20:56:34.116Z] e2be974225ed: Pull complete [2023-03-14T20:56:34.681Z] 339a4e72a1f5: Pull complete [2023-03-14T20:56:34.681Z] 988bab9f4d93: Pull complete [2023-03-14T20:56:34.938Z] 1469e6f7b9e6: Pull complete [2023-03-14T20:56:34.938Z] eaf3925da568: Pull complete [2023-03-14T20:56:36.850Z] bab4dde63d76: Pull complete [2023-03-14T20:56:36.850Z] bde34c3a00c8: Pull complete [2023-03-14T20:56:36.850Z] b352a97aabf1: Pull complete [2023-03-14T20:56:37.109Z] 4872d77fe225: Pull complete [2023-03-14T20:56:37.109Z] 5851b861e8e6: Pull complete [2023-03-14T20:56:37.109Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-14T20:56:37.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T20:56:37.109Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T20:56:37.213Z] prd-ubuntu20.04-docker-8c-8g-257 does not seem to be running inside a container [2023-03-14T20:56:37.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-14T20:56:38.419Z] $ docker top edf07628d75f3f2a93ffafa25a8fd0767bf8d49bc4321db4e72dfe26a30ab7bc -eo pid,comm [2023-03-14T20:56:38.749Z] 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-03-14T20:56:38.749Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T20:56:38.788Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T20:56:38.788Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T20:56:38.902Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T20:56:38.916Z] $ docker exec edf07628d75f3f2a93ffafa25a8fd0767bf8d49bc4321db4e72dfe26a30ab7bc ssh-agent [2023-03-14T20:56:39.019Z] SSH_AUTH_SOCK=/tmp/ssh-UZzWf8bbUgmm/agent.33 [2023-03-14T20:56:39.019Z] SSH_AGENT_PID=39 [2023-03-14T20:56:39.027Z] Running ssh-add (command line suppressed) [2023-03-14T20:56:39.134Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_664203184877247319.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_664203184877247319.key) [2023-03-14T20:56:39.141Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T20:56:39.430Z] + git tag --points-at HEAD [Pipeline] } [2023-03-14T20:56:39.451Z] $ docker exec --env ******** --env ******** edf07628d75f3f2a93ffafa25a8fd0767bf8d49bc4321db4e72dfe26a30ab7bc ssh-agent -k [2023-03-14T20:56:39.551Z] unset SSH_AUTH_SOCK; [2023-03-14T20:56:39.552Z] unset SSH_AGENT_PID; [2023-03-14T20:56:39.552Z] echo Agent pid 39 killed; [2023-03-14T20:56:39.556Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-14T20:56:39.578Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T20:56:39.578Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T20:56:39.690Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T20:56:39.701Z] $ docker exec edf07628d75f3f2a93ffafa25a8fd0767bf8d49bc4321db4e72dfe26a30ab7bc ssh-agent [2023-03-14T20:56:39.815Z] SSH_AUTH_SOCK=/tmp/ssh-Qz1a9y1KhtTA/agent.71 [2023-03-14T20:56:39.815Z] SSH_AGENT_PID=77 [2023-03-14T20:56:39.820Z] Running ssh-add (command line suppressed) [2023-03-14T20:56:39.926Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2993089912393859633.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2993089912393859633.key) [2023-03-14T20:56:39.934Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T20:56:40.221Z] + git semver init [2023-03-14T20:56:40.482Z] 2023-03-14 20:56:40,424 [run_init] DEBUG init version:0.0.0 force:False [2023-03-14T20:56:40.482Z] 2023-03-14 20:56:40,425 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-03-14T20:56:40.482Z] 2023-03-14 20:56:40,426 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-03-14T20:56:40.482Z] 2023-03-14 20:56:40,426 [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-03-14T20:56:41.420Z] 2023-03-14 20:56:41,181 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-03-14T20:56:41.420Z] 2023-03-14 20:56:41,182 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-03-14T20:56:41.420Z] 2023-03-14 20:56:41,182 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-14T20:56:41.420Z] 2023-03-14 20:56:41,182 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-14T20:56:41.420Z] 3.0.0-dev.17 [Pipeline] } [2023-03-14T20:56:41.435Z] $ docker exec --env ******** --env ******** edf07628d75f3f2a93ffafa25a8fd0767bf8d49bc4321db4e72dfe26a30ab7bc ssh-agent -k [2023-03-14T20:56:41.537Z] unset SSH_AUTH_SOCK; [2023-03-14T20:56:41.538Z] unset SSH_AGENT_PID; [2023-03-14T20:56:41.538Z] echo Agent pid 77 killed; [2023-03-14T20:56:41.542Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T20:56:41.850Z] + git semver [Pipeline] } [2023-03-14T20:56:42.129Z] $ docker stop --time=1 edf07628d75f3f2a93ffafa25a8fd0767bf8d49bc4321db4e72dfe26a30ab7bc [2023-03-14T20:56:43.417Z] $ docker rm -f --volumes edf07628d75f3f2a93ffafa25a8fd0767bf8d49bc4321db4e72dfe26a30ab7bc [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T20:56:43.753Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-14T20:56:43.946Z] Stashed 1 file(s) [Pipeline] echo [2023-03-14T20:56:43.948Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.17 [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-03-14T20:56:44.061Z] provisioning config files... [2023-03-14T20:56:44.070Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config341045429231784061tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:56:44.366Z] ---> docker-login.sh [2023-03-14T20:56:44.366Z] nexus3.edgexfoundry.org:10001 [2023-03-14T20:56:44.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:56:44.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:56:44.366Z] Configure a credential helper to remove this warning. See [2023-03-14T20:56:44.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:56:44.366Z] [2023-03-14T20:56:44.366Z] Login Succeeded [2023-03-14T20:56:44.366Z] nexus3.edgexfoundry.org:10002 [2023-03-14T20:56:44.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:56:44.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:56:44.366Z] Configure a credential helper to remove this warning. See [2023-03-14T20:56:44.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:56:44.366Z] [2023-03-14T20:56:44.366Z] Login Succeeded [2023-03-14T20:56:44.366Z] nexus3.edgexfoundry.org:10003 [2023-03-14T20:56:44.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:56:44.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:56:44.625Z] Configure a credential helper to remove this warning. See [2023-03-14T20:56:44.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:56:44.625Z] [2023-03-14T20:56:44.625Z] Login Succeeded [2023-03-14T20:56:44.625Z] nexus3.edgexfoundry.org:10004 [2023-03-14T20:56:44.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:56:44.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:56:44.625Z] Configure a credential helper to remove this warning. See [2023-03-14T20:56:44.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:56:44.625Z] [2023-03-14T20:56:44.625Z] Login Succeeded [2023-03-14T20:56:44.625Z] docker.io [2023-03-14T20:56:44.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:56:44.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:56:44.885Z] Configure a credential helper to remove this warning. See [2023-03-14T20:56:44.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:56:44.885Z] [2023-03-14T20:56:44.885Z] Login Succeeded [2023-03-14T20:56:44.885Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T20:56:44.891Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T20:56:44.951Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T20:56:44.961Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T20:56:44.967Z] ========================================================= [2023-03-14T20:56:44.967Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-14T20:56:44.967Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:56:45.269Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-14T20:56:45.269Z] Sending build context to Docker daemon 6.311MB [2023-03-14T20:56:45.269Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T20:56:45.269Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-14T20:56:45.269Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-14T20:56:45.269Z] 63b65145d645: Pulling fs layer [2023-03-14T20:56:45.269Z] a2d21d5440eb: Pulling fs layer [2023-03-14T20:56:45.269Z] 935e6c44a52c: Pulling fs layer [2023-03-14T20:56:45.269Z] 94cc34f8dd06: Pulling fs layer [2023-03-14T20:56:45.269Z] 30dea6a524f1: Pulling fs layer [2023-03-14T20:56:45.269Z] a2aff8979fd8: Pulling fs layer [2023-03-14T20:56:45.269Z] 6808be2612f2: Pulling fs layer [2023-03-14T20:56:45.269Z] f25807f1079a: Pulling fs layer [2023-03-14T20:56:45.269Z] 94cc34f8dd06: Waiting [2023-03-14T20:56:45.269Z] 30dea6a524f1: Waiting [2023-03-14T20:56:45.269Z] a2aff8979fd8: Waiting [2023-03-14T20:56:45.269Z] 6808be2612f2: Waiting [2023-03-14T20:56:45.269Z] f25807f1079a: Waiting [2023-03-14T20:56:45.270Z] a2d21d5440eb: Download complete [2023-03-14T20:56:45.270Z] 94cc34f8dd06: Verifying Checksum [2023-03-14T20:56:45.270Z] 94cc34f8dd06: Download complete [2023-03-14T20:56:45.531Z] 30dea6a524f1: Verifying Checksum [2023-03-14T20:56:45.531Z] 30dea6a524f1: Download complete [2023-03-14T20:56:45.531Z] 63b65145d645: Verifying Checksum [2023-03-14T20:56:45.531Z] 63b65145d645: Download complete [2023-03-14T20:56:45.531Z] a2aff8979fd8: Verifying Checksum [2023-03-14T20:56:45.531Z] a2aff8979fd8: Download complete [2023-03-14T20:56:45.531Z] 63b65145d645: Pull complete [2023-03-14T20:56:45.801Z] a2d21d5440eb: Pull complete [2023-03-14T20:56:45.801Z] f25807f1079a: Verifying Checksum [2023-03-14T20:56:45.801Z] f25807f1079a: Download complete [2023-03-14T20:56:46.059Z] 935e6c44a52c: Verifying Checksum [2023-03-14T20:56:46.060Z] 935e6c44a52c: Download complete [2023-03-14T20:56:46.317Z] 6808be2612f2: Verifying Checksum [2023-03-14T20:56:46.317Z] 6808be2612f2: Download complete [2023-03-14T20:56:49.603Z] 935e6c44a52c: Pull complete [2023-03-14T20:56:49.603Z] 94cc34f8dd06: Pull complete [2023-03-14T20:56:49.604Z] 30dea6a524f1: Pull complete [2023-03-14T20:56:49.604Z] a2aff8979fd8: Pull complete [2023-03-14T20:56:52.156Z] 6808be2612f2: Pull complete [2023-03-14T20:56:52.726Z] f25807f1079a: Pull complete [2023-03-14T20:56:52.726Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-14T20:56:52.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-14T20:56:52.726Z] ---> 3b553350e43f [2023-03-14T20:56:52.726Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-14T20:56:54.104Z] ---> Running in e710e14bcd76 [2023-03-14T20:56:54.362Z] Removing intermediate container e710e14bcd76 [2023-03-14T20:56:54.362Z] ---> ffbb401ea105 [2023-03-14T20:56:54.362Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T20:56:54.362Z] ---> Running in 329a81b5bd94 [2023-03-14T20:56:54.362Z] Removing intermediate container 329a81b5bd94 [2023-03-14T20:56:54.362Z] ---> 299e6bb9ad77 [2023-03-14T20:56:54.362Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-14T20:56:54.362Z] ---> Running in 11744284b345 [2023-03-14T20:56:54.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T20:56:54.878Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T20:56:55.136Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-03-14T20:56:55.394Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-03-14T20:56:55.394Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-03-14T20:56:55.394Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-03-14T20:56:55.394Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-03-14T20:56:55.394Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-03-14T20:56:55.394Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-03-14T20:56:55.394Z] (8/8) Installing openssh (9.1_p1-r2) [2023-03-14T20:56:55.394Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T20:56:55.394Z] OK: 270 MiB in 61 packages [2023-03-14T20:56:55.653Z] Removing intermediate container 11744284b345 [2023-03-14T20:56:55.654Z] ---> 3e62590dea52 [2023-03-14T20:56:55.654Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-14T20:56:55.912Z] ---> Running in cd13129dc376 [2023-03-14T20:56:55.912Z] Removing intermediate container cd13129dc376 [2023-03-14T20:56:55.912Z] ---> 278a23d29c07 [2023-03-14T20:56:55.912Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-14T20:56:55.912Z] ---> 7d57add02fc3 [2023-03-14T20:56:55.912Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T20:56:55.912Z] ---> Running in 5ca15fa9a709 [2023-03-14T20:56:59.028Z] Still waiting to schedule task [2023-03-14T20:56:59.028Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-254’ [2023-03-14T20:57:14.125Z] Removing intermediate container 5ca15fa9a709 [2023-03-14T20:57:14.125Z] ---> 939069d6ba5f [2023-03-14T20:57:14.125Z] Step 9/10 : COPY . . [2023-03-14T20:57:14.383Z] ---> 98e5db23930a [2023-03-14T20:57:14.383Z] Step 10/10 : RUN ${MAKE} [2023-03-14T20:57:14.383Z] ---> Running in 3ef6e3821a0c [2023-03-14T20:57:14.641Z] noop [2023-03-14T20:57:14.898Z] Removing intermediate container 3ef6e3821a0c [2023-03-14T20:57:14.898Z] ---> fbfaf0a9275c [2023-03-14T20:57:14.898Z] Successfully built fbfaf0a9275c [2023-03-14T20:57:14.898Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:57:15.207Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T20:57:15.207Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T20:57:15.273Z] prd-ubuntu20.04-docker-8c-8g-257 does not seem to be running inside a container [2023-03-14T20:57:15.302Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-14T20:57:15.630Z] $ docker top 52d58b1409b56e71aa6dc770629f4675587707eff7628b7f4d622326b66c9c2c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T20:57:15.989Z] + go version [2023-03-14T20:57:15.989Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-14T20:57:16.003Z] $ docker stop --time=1 52d58b1409b56e71aa6dc770629f4675587707eff7628b7f4d622326b66c9c2c [2023-03-14T20:57:17.260Z] $ docker rm -f --volumes 52d58b1409b56e71aa6dc770629f4675587707eff7628b7f4d622326b66c9c2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:57:17.632Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T20:57:17.632Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T20:57:17.708Z] prd-ubuntu20.04-docker-8c-8g-257 does not seem to be running inside a container [2023-03-14T20:57:17.742Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-14T20:57:18.093Z] $ docker top 530361c404ef17debe6e0c776e0db0698271f796e15857b348900609727b635b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T20:57:18.423Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-14T20:57:18.713Z] + make test [2023-03-14T20:57:18.713Z] go test ./... -coverprofile=coverage.out [2023-03-14T20:57:23.968Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-14T20:57:34.108Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-03-14T20:57:34.108Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 48.0% of statements [2023-03-14T20:57:39.367Z] go vet ./... [2023-03-14T20:57:43.550Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T20:57:43.550Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T20:57:43.550Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T20:57:43.560Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T20:57:43.581Z] $ docker stop --time=1 530361c404ef17debe6e0c776e0db0698271f796e15857b348900609727b635b [2023-03-14T20:57:45.359Z] $ docker rm -f --volumes 530361c404ef17debe6e0c776e0db0698271f796e15857b348900609727b635b [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T20:57:45.795Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T20:57:45.834Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-14T20:57:46.244Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T20:57:46.525Z] + ls -al . [2023-03-14T20:57:46.525Z] total 180 [2023-03-14T20:57:46.525Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 20:57 . [2023-03-14T20:57:46.525Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:56 .. [2023-03-14T20:57:46.525Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 20:56 .dockerignore [2023-03-14T20:57:46.525Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 20:56 .git [2023-03-14T20:57:46.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:56 .github [2023-03-14T20:57:46.525Z] -rw-rw-r-- 1 jenkins jenkins 331 Mar 14 20:56 .gitignore [2023-03-14T20:57:46.525Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 20:56 .golangci.yml [2023-03-14T20:57:46.525Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 20:56 .semver [2023-03-14T20:57:46.525Z] -rw-rw-r-- 1 jenkins jenkins 10236 Mar 14 20:56 Attribution.txt [2023-03-14T20:57:46.525Z] -rw-rw-r-- 1 jenkins jenkins 11576 Mar 14 20:56 CHANGELOG.md [2023-03-14T20:57:46.525Z] -rw-rw-r-- 1 jenkins jenkins 1365 Mar 14 20:56 Dockerfile [2023-03-14T20:57:46.525Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 20:56 GOVERNANCE.md [2023-03-14T20:57:46.525Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 14 20:56 Jenkinsfile [2023-03-14T20:57:46.525Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 20:56 LICENSE [2023-03-14T20:57:46.525Z] -rw-rw-r-- 1 jenkins jenkins 1705 Mar 14 20:56 Makefile [2023-03-14T20:57:46.525Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 14 20:56 OWNERS.md [2023-03-14T20:57:46.525Z] -rw-rw-r-- 1 jenkins jenkins 4061 Mar 14 20:56 README.md [2023-03-14T20:57:46.525Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 14 20:56 VERSION [2023-03-14T20:57:46.525Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 20:56 bin [2023-03-14T20:57:46.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:56 cmd [2023-03-14T20:57:46.525Z] -rw-r--r-- 1 jenkins jenkins 23736 Mar 14 20:57 coverage.out [2023-03-14T20:57:46.525Z] -rw-rw-r-- 1 jenkins jenkins 3497 Mar 14 20:56 go.mod [2023-03-14T20:57:46.525Z] -rw-rw-r-- 1 jenkins jenkins 31641 Mar 14 20:56 go.sum [2023-03-14T20:57:46.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:56 internal [2023-03-14T20:57:46.525Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 20:56 simulator [2023-03-14T20:57:46.525Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:56 snap [2023-03-14T20:57:46.525Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 14 20:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:57:46.828Z] + 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=7c5acbbe38a78294b2f031b3aca8867e5f1e249e --label arch=amd64 --label version=3.0.0-dev.17 . [2023-03-14T20:57:46.828Z] Sending build context to Docker daemon 6.335MB [2023-03-14T20:57:46.828Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T20:57:46.828Z] Step 2/22 : FROM ${BASE} AS builder [2023-03-14T20:57:46.828Z] ---> fbfaf0a9275c [2023-03-14T20:57:46.828Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-03-14T20:57:46.828Z] ---> Running in fad021126094 [2023-03-14T20:57:46.828Z] Removing intermediate container fad021126094 [2023-03-14T20:57:46.828Z] ---> 55807815e709 [2023-03-14T20:57:46.828Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T20:57:46.828Z] ---> Running in badaa2348f63 [2023-03-14T20:57:47.087Z] Removing intermediate container badaa2348f63 [2023-03-14T20:57:47.087Z] ---> 659b920e1175 [2023-03-14T20:57:47.087Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-03-14T20:57:47.087Z] ---> Running in 73ce66cd4818 [2023-03-14T20:57:47.346Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T20:57:47.346Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T20:57:47.605Z] OK: 270 MiB in 61 packages [2023-03-14T20:57:47.863Z] Removing intermediate container 73ce66cd4818 [2023-03-14T20:57:47.863Z] ---> 65d0339efc7c [2023-03-14T20:57:47.863Z] Step 6/22 : WORKDIR /device-modbus-go [2023-03-14T20:57:47.863Z] ---> Running in 0725a6c90c00 [2023-03-14T20:57:48.160Z] Removing intermediate container 0725a6c90c00 [2023-03-14T20:57:48.160Z] ---> cae199d56bd6 [2023-03-14T20:57:48.160Z] Step 7/22 : COPY go.mod vendor* ./ [2023-03-14T20:57:48.160Z] ---> 65c32b1094a7 [2023-03-14T20:57:48.160Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T20:57:48.160Z] ---> Running in 2b06e0a88385 [2023-03-14T20:57:49.153Z] Removing intermediate container 2b06e0a88385 [2023-03-14T20:57:49.153Z] ---> bf09d448a6f9 [2023-03-14T20:57:49.153Z] Step 9/22 : COPY . . [2023-03-14T20:57:49.153Z] ---> bf8351c019aa [2023-03-14T20:57:49.153Z] Step 10/22 : RUN ${MAKE} [2023-03-14T20:57:49.153Z] ---> Running in 722979266ff2 [2023-03-14T20:57:49.435Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.17" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-03-14T20:58:07.553Z] Removing intermediate container 722979266ff2 [2023-03-14T20:58:07.553Z] ---> 04ee8e46921e [2023-03-14T20:58:07.553Z] Step 11/22 : FROM alpine:3.17 [2023-03-14T20:58:07.553Z] 3.17: Pulling from library/alpine [2023-03-14T20:58:07.553Z] 63b65145d645: Already exists [2023-03-14T20:58:07.553Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-14T20:58:07.553Z] Status: Downloaded newer image for alpine:3.17 [2023-03-14T20:58:07.553Z] ---> b2aa39c304c2 [2023-03-14T20:58:07.553Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-03-14T20:58:07.553Z] ---> Running in aa68c5187c3d [2023-03-14T20:58:07.553Z] Removing intermediate container aa68c5187c3d [2023-03-14T20:58:07.553Z] ---> ce6cdd0fb9d7 [2023-03-14T20:58:07.553Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-03-14T20:58:07.553Z] ---> Running in 2372f7985d81 [2023-03-14T20:58:07.553Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T20:58:07.553Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T20:58:07.553Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-14T20:58:07.553Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T20:58:07.553Z] OK: 7 MiB in 16 packages [2023-03-14T20:58:07.553Z] Removing intermediate container 2372f7985d81 [2023-03-14T20:58:07.553Z] ---> 2552a8f1acbe [2023-03-14T20:58:07.553Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-03-14T20:58:07.553Z] ---> 93577fe4b437 [2023-03-14T20:58:07.553Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-03-14T20:58:07.553Z] ---> 86ae0a7c2a6b [2023-03-14T20:58:07.553Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-03-14T20:58:07.553Z] ---> 6144d1470b8c [2023-03-14T20:58:07.553Z] Step 17/22 : EXPOSE 59901 [2023-03-14T20:58:07.553Z] ---> Running in 58f3b31de4e9 [2023-03-14T20:58:07.553Z] Removing intermediate container 58f3b31de4e9 [2023-03-14T20:58:07.553Z] ---> 040083bd2da4 [2023-03-14T20:58:07.553Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-03-14T20:58:07.812Z] ---> Running in 89e93b363fdb [2023-03-14T20:58:07.812Z] Removing intermediate container 89e93b363fdb [2023-03-14T20:58:07.812Z] ---> c94c99ca8227 [2023-03-14T20:58:07.812Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-14T20:58:07.812Z] ---> Running in c31eb543774e [2023-03-14T20:58:07.812Z] Removing intermediate container c31eb543774e [2023-03-14T20:58:07.812Z] ---> 2b236debe97e [2023-03-14T20:58:07.812Z] Step 20/22 : LABEL arch=amd64 [2023-03-14T20:58:07.812Z] ---> Running in f239f824fb43 [2023-03-14T20:58:07.812Z] Removing intermediate container f239f824fb43 [2023-03-14T20:58:07.812Z] ---> 14cad2f8f51b [2023-03-14T20:58:07.812Z] Step 21/22 : LABEL git_sha=7c5acbbe38a78294b2f031b3aca8867e5f1e249e [2023-03-14T20:58:08.072Z] ---> Running in e80ef38c0771 [2023-03-14T20:58:08.072Z] Removing intermediate container e80ef38c0771 [2023-03-14T20:58:08.072Z] ---> bd27eeac2c03 [2023-03-14T20:58:08.072Z] Step 22/22 : LABEL version=3.0.0-dev.17 [2023-03-14T20:58:08.072Z] ---> Running in 7470193341ef [2023-03-14T20:58:08.072Z] Removing intermediate container 7470193341ef [2023-03-14T20:58:08.072Z] ---> 607f41c79c5f [2023-03-14T20:58:08.072Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T20:58:08.072Z] Successfully built 607f41c79c5f [2023-03-14T20:58:08.072Z] 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-03-14T20:58:08.168Z] provisioning config files... [2023-03-14T20:58:08.177Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2334288178932790105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:58:08.466Z] ---> docker-login.sh [2023-03-14T20:58:08.466Z] nexus3.edgexfoundry.org:10001 [2023-03-14T20:58:08.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:58:08.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:58:08.466Z] Configure a credential helper to remove this warning. See [2023-03-14T20:58:08.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:58:08.466Z] [2023-03-14T20:58:08.466Z] Login Succeeded [2023-03-14T20:58:08.466Z] nexus3.edgexfoundry.org:10002 [2023-03-14T20:58:08.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:58:08.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:58:08.466Z] Configure a credential helper to remove this warning. See [2023-03-14T20:58:08.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:58:08.466Z] [2023-03-14T20:58:08.466Z] Login Succeeded [2023-03-14T20:58:08.466Z] nexus3.edgexfoundry.org:10003 [2023-03-14T20:58:08.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:58:08.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:58:08.725Z] Configure a credential helper to remove this warning. See [2023-03-14T20:58:08.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:58:08.725Z] [2023-03-14T20:58:08.725Z] Login Succeeded [2023-03-14T20:58:08.725Z] nexus3.edgexfoundry.org:10004 [2023-03-14T20:58:08.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:58:08.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:58:08.725Z] Configure a credential helper to remove this warning. See [2023-03-14T20:58:08.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:58:08.725Z] [2023-03-14T20:58:08.725Z] Login Succeeded [2023-03-14T20:58:08.725Z] docker.io [2023-03-14T20:58:08.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:58:08.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:58:08.983Z] Configure a credential helper to remove this warning. See [2023-03-14T20:58:08.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:58:08.983Z] [2023-03-14T20:58:08.983Z] Login Succeeded [2023-03-14T20:58:08.983Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T20:58:08.991Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-14T20:58:09.017Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T20:58:09.038Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-03-14T20:58:09.038Z] 7c5acbbe38a78294b2f031b3aca8867e5f1e249e [2023-03-14T20:58:09.038Z] latest [2023-03-14T20:58:09.038Z] 3.0.0-dev.17 [2023-03-14T20:58:09.038Z] 7c5acbbe38a78294b2f031b3aca8867e5f1e249e-3.0.0-dev.17 [2023-03-14T20:58:09.038Z] main [2023-03-14T20:58:09.038Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:58:09.359Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:7c5acbbe38a78294b2f031b3aca8867e5f1e249e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:58:09.671Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:7c5acbbe38a78294b2f031b3aca8867e5f1e249e [2023-03-14T20:58:09.671Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-14T20:58:09.671Z] 17a358ecfe39: Preparing [2023-03-14T20:58:09.671Z] aff7920ab0ef: Preparing [2023-03-14T20:58:09.671Z] 4b569ca7ef25: Preparing [2023-03-14T20:58:09.671Z] 49c05327b00e: Preparing [2023-03-14T20:58:09.671Z] 7cd52847ad77: Preparing [2023-03-14T20:58:09.671Z] 7cd52847ad77: Layer already exists [2023-03-14T20:58:09.671Z] 49c05327b00e: Pushed [2023-03-14T20:58:09.671Z] aff7920ab0ef: Pushed [2023-03-14T20:58:09.671Z] 17a358ecfe39: Pushed [2023-03-14T20:58:12.205Z] 4b569ca7ef25: Pushed [2023-03-14T20:58:12.205Z] 7c5acbbe38a78294b2f031b3aca8867e5f1e249e: digest: sha256:b3b91aa333c61979ee7f113352a0e95e65ebf37ab727420979bbe073b4c242dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:58:12.514Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:58:12.818Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-03-14T20:58:12.818Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-14T20:58:12.818Z] 17a358ecfe39: Preparing [2023-03-14T20:58:12.818Z] aff7920ab0ef: Preparing [2023-03-14T20:58:12.818Z] 4b569ca7ef25: Preparing [2023-03-14T20:58:12.818Z] 49c05327b00e: Preparing [2023-03-14T20:58:12.818Z] 7cd52847ad77: Preparing [2023-03-14T20:58:12.818Z] 49c05327b00e: Layer already exists [2023-03-14T20:58:12.818Z] aff7920ab0ef: Layer already exists [2023-03-14T20:58:12.818Z] 7cd52847ad77: Layer already exists [2023-03-14T20:58:12.818Z] 17a358ecfe39: Layer already exists [2023-03-14T20:58:12.818Z] 4b569ca7ef25: Layer already exists [2023-03-14T20:58:12.818Z] latest: digest: sha256:b3b91aa333c61979ee7f113352a0e95e65ebf37ab727420979bbe073b4c242dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:58:13.122Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:58:13.420Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.17 [2023-03-14T20:58:13.420Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-14T20:58:13.420Z] 17a358ecfe39: Preparing [2023-03-14T20:58:13.420Z] aff7920ab0ef: Preparing [2023-03-14T20:58:13.420Z] 4b569ca7ef25: Preparing [2023-03-14T20:58:13.420Z] 49c05327b00e: Preparing [2023-03-14T20:58:13.420Z] 7cd52847ad77: Preparing [2023-03-14T20:58:13.420Z] 17a358ecfe39: Layer already exists [2023-03-14T20:58:13.420Z] aff7920ab0ef: Layer already exists [2023-03-14T20:58:13.420Z] 4b569ca7ef25: Layer already exists [2023-03-14T20:58:13.420Z] 7cd52847ad77: Layer already exists [2023-03-14T20:58:13.420Z] 49c05327b00e: Layer already exists [2023-03-14T20:58:13.420Z] 3.0.0-dev.17: digest: sha256:b3b91aa333c61979ee7f113352a0e95e65ebf37ab727420979bbe073b4c242dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:58:13.727Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:7c5acbbe38a78294b2f031b3aca8867e5f1e249e-3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:58:14.042Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:7c5acbbe38a78294b2f031b3aca8867e5f1e249e-3.0.0-dev.17 [2023-03-14T20:58:14.042Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-14T20:58:14.042Z] 17a358ecfe39: Preparing [2023-03-14T20:58:14.042Z] aff7920ab0ef: Preparing [2023-03-14T20:58:14.042Z] 4b569ca7ef25: Preparing [2023-03-14T20:58:14.042Z] 49c05327b00e: Preparing [2023-03-14T20:58:14.042Z] 7cd52847ad77: Preparing [2023-03-14T20:58:14.042Z] 4b569ca7ef25: Layer already exists [2023-03-14T20:58:14.042Z] 7cd52847ad77: Layer already exists [2023-03-14T20:58:14.042Z] aff7920ab0ef: Layer already exists [2023-03-14T20:58:14.042Z] 49c05327b00e: Layer already exists [2023-03-14T20:58:14.042Z] 17a358ecfe39: Layer already exists [2023-03-14T20:58:14.042Z] 7c5acbbe38a78294b2f031b3aca8867e5f1e249e-3.0.0-dev.17: digest: sha256:b3b91aa333c61979ee7f113352a0e95e65ebf37ab727420979bbe073b4c242dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:58:14.354Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:58:14.663Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-03-14T20:58:14.663Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-14T20:58:14.663Z] 17a358ecfe39: Preparing [2023-03-14T20:58:14.663Z] aff7920ab0ef: Preparing [2023-03-14T20:58:14.663Z] 4b569ca7ef25: Preparing [2023-03-14T20:58:14.663Z] 49c05327b00e: Preparing [2023-03-14T20:58:14.663Z] 7cd52847ad77: Preparing [2023-03-14T20:58:14.663Z] 4b569ca7ef25: Layer already exists [2023-03-14T20:58:14.663Z] 7cd52847ad77: Layer already exists [2023-03-14T20:58:14.663Z] aff7920ab0ef: Layer already exists [2023-03-14T20:58:14.663Z] 17a358ecfe39: Layer already exists [2023-03-14T20:58:14.663Z] 49c05327b00e: Layer already exists [2023-03-14T20:58:14.663Z] main: digest: sha256:b3b91aa333c61979ee7f113352a0e95e65ebf37ab727420979bbe073b4c242dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-14T20:58:14.698Z] ===================================================== [Pipeline] echo [2023-03-14T20:58:14.708Z] taggedImages: [2023-03-14T20:58:14.708Z] - nexus3.edgexfoundry.org:10004/device-modbus:7c5acbbe38a78294b2f031b3aca8867e5f1e249e [2023-03-14T20:58:14.708Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-03-14T20:58:14.708Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.17 [2023-03-14T20:58:14.708Z] - nexus3.edgexfoundry.org:10004/device-modbus:7c5acbbe38a78294b2f031b3aca8867e5f1e249e-3.0.0-dev.17 [2023-03-14T20:58:14.708Z] - 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-03-14T20:58:15.057Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T20:58:15.057Z] [2023-03-14T20:58:15.057Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:58:15.356Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T20:58:15.356Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-14T20:58:15.356Z] 5eb5b503b376: Pulling fs layer [2023-03-14T20:58:15.356Z] 5c69ac0246d0: Pulling fs layer [2023-03-14T20:58:15.356Z] ec43610c2a17: Pulling fs layer [2023-03-14T20:58:15.356Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-14T20:58:15.356Z] 33b1e0a273af: Pulling fs layer [2023-03-14T20:58:15.356Z] 5d3b04190fa2: Pulling fs layer [2023-03-14T20:58:15.356Z] 2f39f015ded8: Pulling fs layer [2023-03-14T20:58:15.356Z] 33b1e0a273af: Waiting [2023-03-14T20:58:15.356Z] 5d3b04190fa2: Waiting [2023-03-14T20:58:15.356Z] 3a2ae6a8a46f: Waiting [2023-03-14T20:58:15.356Z] 2f39f015ded8: Waiting [2023-03-14T20:58:15.356Z] 5c69ac0246d0: Verifying Checksum [2023-03-14T20:58:15.356Z] 5c69ac0246d0: Download complete [2023-03-14T20:58:15.356Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-14T20:58:15.356Z] 3a2ae6a8a46f: Download complete [2023-03-14T20:58:15.615Z] 33b1e0a273af: Verifying Checksum [2023-03-14T20:58:15.615Z] 33b1e0a273af: Download complete [2023-03-14T20:58:15.615Z] 5d3b04190fa2: Verifying Checksum [2023-03-14T20:58:15.615Z] 5d3b04190fa2: Download complete [2023-03-14T20:58:15.615Z] ec43610c2a17: Download complete [2023-03-14T20:58:15.615Z] 5eb5b503b376: Verifying Checksum [2023-03-14T20:58:15.615Z] 5eb5b503b376: Download complete [2023-03-14T20:58:16.177Z] 2f39f015ded8: Download complete [2023-03-14T20:58:16.741Z] 5eb5b503b376: Pull complete [2023-03-14T20:58:16.741Z] 5c69ac0246d0: Pull complete [2023-03-14T20:58:17.306Z] ec43610c2a17: Pull complete [2023-03-14T20:58:17.306Z] 3a2ae6a8a46f: Pull complete [2023-03-14T20:58:17.306Z] 33b1e0a273af: Pull complete [2023-03-14T20:58:17.564Z] 5d3b04190fa2: Pull complete [2023-03-14T20:58:20.843Z] 2f39f015ded8: Pull complete [2023-03-14T20:58:21.101Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-14T20:58:21.101Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T20:58:21.101Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T20:58:21.178Z] prd-ubuntu20.04-docker-8c-8g-257 does not seem to be running inside a container [2023-03-14T20:58:21.210Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-14T20:58:22.322Z] $ docker top b49aad5cf0fc9df579daf64d190bbf6189bcaf7562cd1675cf04c3a9c431eed1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:58:22.694Z] ---> job-cost.sh [2023-03-14T20:58:22.694Z] lf-activate-venv: SKIPPING [2023-03-14T20:58:22.694Z] INFO: No Stack... [2023-03-14T20:58:22.952Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T20:58:23.211Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T20:58:23.495Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-03-14T20:58:23.495Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T20:58:23.507Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-83-stack-cost] [2023-03-14T20:58:23.513Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-83-stack-cost] did not exist. Created. [2023-03-14T20:58:23.513Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-83-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T20:58:23.814Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-14T20:58:23.843Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T20:58:23.850Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-83-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T20:58:23.871Z] $ docker stop --time=1 b49aad5cf0fc9df579daf64d190bbf6189bcaf7562cd1675cf04c3a9c431eed1 [2023-03-14T20:58:25.022Z] $ docker rm -f --volumes b49aad5cf0fc9df579daf64d190bbf6189bcaf7562cd1675cf04c3a9c431eed1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-14T21:00:04.705Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-263 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-03-14T21:00:04.718Z] Running in /w/workspace/device-modbus-go/83 [Pipeline] { [Pipeline] checkout [2023-03-14T21:00:04.754Z] Selected Git installation does not exist. Using Default [2023-03-14T21:00:04.754Z] The recommended git tool is: NONE [2023-03-14T21:00:11.608Z] using credential edgex-jenkins-ssh [2023-03-14T21:00:11.625Z] Cloning the remote Git repository [2023-03-14T21:00:11.698Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-03-14T21:00:11.819Z] > git init /w/workspace/device-modbus-go/83 # timeout=10 [2023-03-14T21:00:12.000Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-03-14T21:00:12.001Z] > git --version # timeout=10 [2023-03-14T21:00:12.029Z] > git --version # 'git version 2.25.1' [2023-03-14T21:00:12.032Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T21:00:12.222Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T21:00:13.412Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-03-14T21:00:13.446Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T21:00:14.558Z] Avoid second fetch [2023-03-14T21:00:14.558Z] Checking out Revision 7c5acbbe38a78294b2f031b3aca8867e5f1e249e (main) [2023-03-14T21:00:14.579Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T21:00:14.661Z] > git checkout -f 7c5acbbe38a78294b2f031b3aca8867e5f1e249e # timeout=10 [2023-03-14T21:00:15.228Z] Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 (#426)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T21:00:16.170Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-14T21:00:16.170Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T21:00:16.170Z] Dload Upload Total Spent Left Speed [2023-03-14T21:00:16.170Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh [2023-03-14T21:00:16.894Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-14T21:00:17.267Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2023-03-14T21:00:17.267Z] sudo tee /etc/docker/daemon.new [2023-03-14T21:00:17.267Z] { [2023-03-14T21:00:17.267Z] "registry-mirrors": [ [2023-03-14T21:00:17.267Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-14T21:00:17.267Z] ], [2023-03-14T21:00:17.267Z] "bip": "10.250.0.254/24", [2023-03-14T21:00:17.267Z] "hosts": [ [2023-03-14T21:00:17.267Z] "tcp://0.0.0.0:5555", [2023-03-14T21:00:17.267Z] "unix:///var/run/docker.sock" [2023-03-14T21:00:17.267Z] ], [2023-03-14T21:00:17.267Z] "mtu": 1458, [2023-03-14T21:00:17.267Z] "selinux-enabled": true, [2023-03-14T21:00:17.267Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-14T21:00:17.267Z] } [Pipeline] sh [2023-03-14T21:00:17.638Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-14T21:00:19.995Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T21:00:38.328Z] provisioning config files... [2023-03-14T21:00:38.365Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/83@tmp/config2157442820251729427tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:00:38.745Z] ---> docker-login.sh [2023-03-14T21:00:38.745Z] nexus3.edgexfoundry.org:10001 [2023-03-14T21:00:39.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:00:39.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:00:39.349Z] Configure a credential helper to remove this warning. See [2023-03-14T21:00:39.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:00:39.349Z] [2023-03-14T21:00:39.349Z] Login Succeeded [2023-03-14T21:00:39.349Z] nexus3.edgexfoundry.org:10002 [2023-03-14T21:00:39.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:00:39.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:00:39.958Z] Configure a credential helper to remove this warning. See [2023-03-14T21:00:39.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:00:39.958Z] [2023-03-14T21:00:39.958Z] Login Succeeded [2023-03-14T21:00:39.958Z] nexus3.edgexfoundry.org:10003 [2023-03-14T21:00:40.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:00:40.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:00:40.505Z] Configure a credential helper to remove this warning. See [2023-03-14T21:00:40.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:00:40.505Z] [2023-03-14T21:00:40.505Z] Login Succeeded [2023-03-14T21:00:40.505Z] nexus3.edgexfoundry.org:10004 [2023-03-14T21:00:40.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:00:40.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:00:40.779Z] Configure a credential helper to remove this warning. See [2023-03-14T21:00:40.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:00:40.779Z] [2023-03-14T21:00:40.779Z] Login Succeeded [2023-03-14T21:00:40.779Z] docker.io [2023-03-14T21:00:41.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:00:41.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:00:41.326Z] Configure a credential helper to remove this warning. See [2023-03-14T21:00:41.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:00:41.326Z] [2023-03-14T21:00:41.326Z] Login Succeeded [2023-03-14T21:00:41.326Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T21:00:41.346Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T21:00:41.731Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T21:00:41.746Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T21:00:41.755Z] ========================================================= [2023-03-14T21:00:41.755Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-14T21:00:41.755Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:00:42.137Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-14T21:00:42.422Z] Sending build context to Docker daemon 3.296MB [2023-03-14T21:00:42.422Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T21:00:42.422Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-14T21:00:42.713Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-14T21:00:42.713Z] af6eaf76a39c: Pulling fs layer [2023-03-14T21:00:42.713Z] 55522c791124: Pulling fs layer [2023-03-14T21:00:42.713Z] ce5c4a1c91eb: Pulling fs layer [2023-03-14T21:00:42.713Z] 169dfbe0d373: Pulling fs layer [2023-03-14T21:00:42.713Z] e1ff8fa3b103: Pulling fs layer [2023-03-14T21:00:42.713Z] 52ebb69f0ebf: Pulling fs layer [2023-03-14T21:00:42.713Z] 5abe8eddf0d5: Pulling fs layer [2023-03-14T21:00:42.713Z] 169dfbe0d373: Waiting [2023-03-14T21:00:42.713Z] e1ff8fa3b103: Waiting [2023-03-14T21:00:42.713Z] 52ebb69f0ebf: Waiting [2023-03-14T21:00:42.713Z] 5abe8eddf0d5: Waiting [2023-03-14T21:00:42.713Z] 55522c791124: Download complete [2023-03-14T21:00:43.199Z] 169dfbe0d373: Verifying Checksum [2023-03-14T21:00:43.199Z] 169dfbe0d373: Download complete [2023-03-14T21:00:43.199Z] e1ff8fa3b103: Verifying Checksum [2023-03-14T21:00:43.199Z] e1ff8fa3b103: Download complete [2023-03-14T21:00:43.199Z] af6eaf76a39c: Verifying Checksum [2023-03-14T21:00:43.199Z] af6eaf76a39c: Download complete [2023-03-14T21:00:44.187Z] af6eaf76a39c: Pull complete [2023-03-14T21:00:44.462Z] 5abe8eddf0d5: Verifying Checksum [2023-03-14T21:00:44.462Z] 5abe8eddf0d5: Download complete [2023-03-14T21:00:44.736Z] 55522c791124: Pull complete [2023-03-14T21:00:45.738Z] ce5c4a1c91eb: Verifying Checksum [2023-03-14T21:00:45.738Z] ce5c4a1c91eb: Download complete [2023-03-14T21:00:45.738Z] 52ebb69f0ebf: Verifying Checksum [2023-03-14T21:00:45.738Z] 52ebb69f0ebf: Download complete [2023-03-14T21:00:58.143Z] ce5c4a1c91eb: Pull complete [2023-03-14T21:00:58.143Z] 169dfbe0d373: Pull complete [2023-03-14T21:00:58.143Z] e1ff8fa3b103: Pull complete [2023-03-14T21:01:04.948Z] 52ebb69f0ebf: Pull complete [2023-03-14T21:01:05.963Z] 5abe8eddf0d5: Pull complete [2023-03-14T21:01:05.963Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-14T21:01:06.233Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-14T21:01:06.233Z] ---> 6cb57ee374ae [2023-03-14T21:01:06.233Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-14T21:01:08.216Z] ---> Running in 1c8229f97a48 [2023-03-14T21:01:08.487Z] Removing intermediate container 1c8229f97a48 [2023-03-14T21:01:08.487Z] ---> fbcfe49c445f [2023-03-14T21:01:08.487Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T21:01:08.487Z] ---> Running in fefeb6d7241e [2023-03-14T21:01:09.077Z] Removing intermediate container fefeb6d7241e [2023-03-14T21:01:09.077Z] ---> 4c37f484dce0 [2023-03-14T21:01:09.077Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-14T21:01:09.077Z] ---> Running in b713e90b8a85 [2023-03-14T21:01:10.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T21:01:11.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T21:01:12.549Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-03-14T21:01:12.549Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-03-14T21:01:12.549Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-03-14T21:01:12.549Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-03-14T21:01:12.549Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-03-14T21:01:12.549Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-03-14T21:01:12.549Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-03-14T21:01:12.549Z] (8/8) Installing openssh (9.1_p1-r2) [2023-03-14T21:01:12.549Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T21:01:12.824Z] OK: 270 MiB in 61 packages [2023-03-14T21:01:14.269Z] Removing intermediate container b713e90b8a85 [2023-03-14T21:01:14.269Z] ---> 491099cbc5ee [2023-03-14T21:01:14.269Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-14T21:01:14.269Z] ---> Running in 02059b4911f6 [2023-03-14T21:01:14.549Z] Removing intermediate container 02059b4911f6 [2023-03-14T21:01:14.549Z] ---> 20b3bb5b25bb [2023-03-14T21:01:14.549Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-14T21:01:15.157Z] ---> d7d9cbda16c4 [2023-03-14T21:01:15.158Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T21:01:15.158Z] ---> Running in b97edb024047 [2023-03-14T21:02:23.076Z] Removing intermediate container b97edb024047 [2023-03-14T21:02:23.076Z] ---> 0986cd7e38fe [2023-03-14T21:02:23.076Z] Step 9/10 : COPY . . [2023-03-14T21:02:23.076Z] ---> 2ae9acf4eb64 [2023-03-14T21:02:23.076Z] Step 10/10 : RUN ${MAKE} [2023-03-14T21:02:23.076Z] ---> Running in d402bff9eb44 [2023-03-14T21:02:23.076Z] noop [2023-03-14T21:02:23.076Z] Removing intermediate container d402bff9eb44 [2023-03-14T21:02:23.076Z] ---> 57547249aafa [2023-03-14T21:02:23.076Z] Successfully built 57547249aafa [2023-03-14T21:02:23.076Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:02:23.451Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T21:02:23.451Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:02:23.685Z] prd-ubuntu20.04-docker-arm64-4c-16g-263 does not seem to be running inside a container [2023-03-14T21:02:23.775Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/83 -v /w/workspace/device-modbus-go/83:/w/workspace/device-modbus-go/83:rw,z -v /w/workspace/device-modbus-go/83@tmp:/w/workspace/device-modbus-go/83@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-14T21:02:25.119Z] $ docker top 855cf97a198e3925af68b2fe655fdd3e627e92a9aa8bbf16e2cd5db3da2ea349 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T21:02:26.009Z] + go version [2023-03-14T21:02:26.009Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-14T21:02:26.040Z] $ docker stop --time=1 855cf97a198e3925af68b2fe655fdd3e627e92a9aa8bbf16e2cd5db3da2ea349 [2023-03-14T21:02:27.766Z] $ docker rm -f --volumes 855cf97a198e3925af68b2fe655fdd3e627e92a9aa8bbf16e2cd5db3da2ea349 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:02:28.318Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T21:02:28.319Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:02:28.524Z] prd-ubuntu20.04-docker-arm64-4c-16g-263 does not seem to be running inside a container [2023-03-14T21:02:28.611Z] $ 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/83 -v /w/workspace/device-modbus-go/83:/w/workspace/device-modbus-go/83:rw,z -v /w/workspace/device-modbus-go/83@tmp:/w/workspace/device-modbus-go/83@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-14T21:02:29.927Z] $ docker top e85a519d29d2690f2953ba23df339148a6c795118c14b09fef4edd6c79e6e608 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T21:02:30.796Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/83 [Pipeline] fileExists [Pipeline] sh [2023-03-14T21:02:31.461Z] + make test [2023-03-14T21:02:31.461Z] go test ./... -coverprofile=coverage.out [2023-03-14T21:03:10.370Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-14T21:05:47.097Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-03-14T21:05:47.097Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.077s coverage: 48.0% of statements [2023-03-14T21:05:47.097Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-14T21:05:47.097Z] go vet ./... [2023-03-14T21:06:19.343Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T21:06:19.343Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T21:06:19.343Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T21:06:19.363Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T21:06:19.389Z] $ docker stop --time=1 e85a519d29d2690f2953ba23df339148a6c795118c14b09fef4edd6c79e6e608 [2023-03-14T21:06:22.859Z] $ docker rm -f --volumes e85a519d29d2690f2953ba23df339148a6c795118c14b09fef4edd6c79e6e608 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T21:06:24.203Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T21:06:24.228Z] Warning: overwriting stash ‘coverage-report’ [2023-03-14T21:06:24.930Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T21:06:25.336Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T21:06:25.682Z] + ls -al . [2023-03-14T21:06:25.682Z] total 176 [2023-03-14T21:06:25.682Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 21:02 . [2023-03-14T21:06:25.682Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 21:00 .. [2023-03-14T21:06:25.682Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 21:00 .dockerignore [2023-03-14T21:06:25.682Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 21:00 .git [2023-03-14T21:06:25.682Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 21:00 .github [2023-03-14T21:06:25.682Z] -rw-rw-r-- 1 jenkins jenkins 331 Mar 14 21:00 .gitignore [2023-03-14T21:06:25.682Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 21:00 .golangci.yml [2023-03-14T21:06:25.682Z] -rw-rw-r-- 1 jenkins jenkins 10236 Mar 14 21:00 Attribution.txt [2023-03-14T21:06:25.682Z] -rw-rw-r-- 1 jenkins jenkins 11576 Mar 14 21:00 CHANGELOG.md [2023-03-14T21:06:25.682Z] -rw-rw-r-- 1 jenkins jenkins 1365 Mar 14 21:00 Dockerfile [2023-03-14T21:06:25.682Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 21:00 GOVERNANCE.md [2023-03-14T21:06:25.682Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 14 21:00 Jenkinsfile [2023-03-14T21:06:25.682Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 21:00 LICENSE [2023-03-14T21:06:25.682Z] -rw-rw-r-- 1 jenkins jenkins 1705 Mar 14 21:00 Makefile [2023-03-14T21:06:25.682Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 14 21:00 OWNERS.md [2023-03-14T21:06:25.682Z] -rw-rw-r-- 1 jenkins jenkins 4061 Mar 14 21:00 README.md [2023-03-14T21:06:25.682Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 14 20:56 VERSION [2023-03-14T21:06:25.682Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 21:00 bin [2023-03-14T21:06:25.682Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 21:00 cmd [2023-03-14T21:06:25.682Z] -rw-r--r-- 1 jenkins jenkins 23736 Mar 14 21:05 coverage.out [2023-03-14T21:06:25.682Z] -rw-rw-r-- 1 jenkins jenkins 3497 Mar 14 21:00 go.mod [2023-03-14T21:06:25.682Z] -rw-rw-r-- 1 jenkins jenkins 31641 Mar 14 21:00 go.sum [2023-03-14T21:06:25.682Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 21:00 internal [2023-03-14T21:06:25.682Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 21:00 simulator [2023-03-14T21:06:25.682Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 21:00 snap [2023-03-14T21:06:25.682Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 14 21:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:06:26.052Z] + 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=7c5acbbe38a78294b2f031b3aca8867e5f1e249e --label arch=arm64 --label version=3.0.0-dev.17 . [2023-03-14T21:06:26.331Z] Sending build context to Docker daemon 3.32MB [2023-03-14T21:06:26.331Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T21:06:26.331Z] Step 2/22 : FROM ${BASE} AS builder [2023-03-14T21:06:26.331Z] ---> 57547249aafa [2023-03-14T21:06:26.331Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-03-14T21:06:26.612Z] ---> Running in e0390cba71fc [2023-03-14T21:06:26.887Z] Removing intermediate container e0390cba71fc [2023-03-14T21:06:26.887Z] ---> f78fc13dae2e [2023-03-14T21:06:26.887Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T21:06:27.157Z] ---> Running in 8ec19ba5e26c [2023-03-14T21:06:27.430Z] Removing intermediate container 8ec19ba5e26c [2023-03-14T21:06:27.430Z] ---> 858a4e09debf [2023-03-14T21:06:27.430Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-03-14T21:06:27.430Z] ---> Running in 26c6d08f94e8 [2023-03-14T21:06:28.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T21:06:29.456Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T21:06:30.873Z] OK: 270 MiB in 61 packages [2023-03-14T21:06:31.847Z] Removing intermediate container 26c6d08f94e8 [2023-03-14T21:06:31.847Z] ---> f5b83cd7b942 [2023-03-14T21:06:31.847Z] Step 6/22 : WORKDIR /device-modbus-go [2023-03-14T21:06:31.847Z] ---> Running in df3653336570 [2023-03-14T21:06:32.440Z] Removing intermediate container df3653336570 [2023-03-14T21:06:32.440Z] ---> e0ee36a79245 [2023-03-14T21:06:32.440Z] Step 7/22 : COPY go.mod vendor* ./ [2023-03-14T21:06:33.032Z] ---> 3d6aaa4f877f [2023-03-14T21:06:33.032Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T21:06:33.032Z] ---> Running in 4286f3791333 [2023-03-14T21:06:37.322Z] Removing intermediate container 4286f3791333 [2023-03-14T21:06:37.322Z] ---> 462cb929ac0c [2023-03-14T21:06:37.322Z] Step 9/22 : COPY . . [2023-03-14T21:06:38.309Z] ---> 672fb7035cad [2023-03-14T21:06:38.309Z] Step 10/22 : RUN ${MAKE} [2023-03-14T21:06:38.309Z] ---> Running in 1d348d0bfbb0 [2023-03-14T21:06:39.277Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.17" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-03-14T21:09:16.037Z] Removing intermediate container 1d348d0bfbb0 [2023-03-14T21:09:16.037Z] ---> 20b92a9b2a8c [2023-03-14T21:09:16.037Z] Step 11/22 : FROM alpine:3.17 [2023-03-14T21:09:16.037Z] 3.17: Pulling from library/alpine [2023-03-14T21:09:16.037Z] af6eaf76a39c: Already exists [2023-03-14T21:09:16.037Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-14T21:09:16.037Z] Status: Downloaded newer image for alpine:3.17 [2023-03-14T21:09:16.037Z] ---> d74e625d9115 [2023-03-14T21:09:16.037Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-03-14T21:09:16.037Z] ---> Running in 2b413642d3f3 [2023-03-14T21:09:16.037Z] Removing intermediate container 2b413642d3f3 [2023-03-14T21:09:16.037Z] ---> c3068585ae82 [2023-03-14T21:09:16.037Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-03-14T21:09:16.037Z] ---> Running in 9a535afdf7e4 [2023-03-14T21:09:16.037Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T21:09:16.037Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T21:09:16.037Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-14T21:09:16.037Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T21:09:16.037Z] OK: 8 MiB in 16 packages [2023-03-14T21:09:16.037Z] Removing intermediate container 9a535afdf7e4 [2023-03-14T21:09:16.037Z] ---> c5598b4b2820 [2023-03-14T21:09:16.037Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-03-14T21:09:16.037Z] ---> 91449dbec0b7 [2023-03-14T21:09:16.037Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-03-14T21:09:16.314Z] ---> 9659844f2d1f [2023-03-14T21:09:16.315Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-03-14T21:09:16.909Z] ---> b9bbe9e2647b [2023-03-14T21:09:16.909Z] Step 17/22 : EXPOSE 59901 [2023-03-14T21:09:16.909Z] ---> Running in e3324736b5ef [2023-03-14T21:09:17.178Z] Removing intermediate container e3324736b5ef [2023-03-14T21:09:17.178Z] ---> 5b90f4452ac3 [2023-03-14T21:09:17.178Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-03-14T21:09:17.457Z] ---> Running in b2d583debdcb [2023-03-14T21:09:17.728Z] Removing intermediate container b2d583debdcb [2023-03-14T21:09:17.728Z] ---> ec77da11f1c9 [2023-03-14T21:09:17.728Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-14T21:09:17.996Z] ---> Running in 10508fc34d8c [2023-03-14T21:09:18.583Z] Removing intermediate container 10508fc34d8c [2023-03-14T21:09:18.583Z] ---> dd9a2e5fa3ac [2023-03-14T21:09:18.583Z] Step 20/22 : LABEL arch=arm64 [2023-03-14T21:09:18.583Z] ---> Running in 97a35bbf305f [2023-03-14T21:09:18.850Z] Removing intermediate container 97a35bbf305f [2023-03-14T21:09:18.851Z] ---> b2f4e98a9cfa [2023-03-14T21:09:18.851Z] Step 21/22 : LABEL git_sha=7c5acbbe38a78294b2f031b3aca8867e5f1e249e [2023-03-14T21:09:18.851Z] ---> Running in 4b127534ce9b [2023-03-14T21:09:19.118Z] Removing intermediate container 4b127534ce9b [2023-03-14T21:09:19.118Z] ---> 0f94c38f4136 [2023-03-14T21:09:19.118Z] Step 22/22 : LABEL version=3.0.0-dev.17 [2023-03-14T21:09:19.385Z] ---> Running in 18b576c35760 [2023-03-14T21:09:19.652Z] Removing intermediate container 18b576c35760 [2023-03-14T21:09:19.652Z] ---> b2c575ee5ce7 [2023-03-14T21:09:19.652Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T21:09:19.652Z] Successfully built b2c575ee5ce7 [2023-03-14T21:09:19.652Z] 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-03-14T21:09:19.755Z] provisioning config files... [2023-03-14T21:09:19.772Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/83@tmp/config4422299102467181399tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:09:20.118Z] ---> docker-login.sh [2023-03-14T21:09:20.118Z] nexus3.edgexfoundry.org:10001 [2023-03-14T21:09:20.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:09:20.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:09:20.389Z] Configure a credential helper to remove this warning. See [2023-03-14T21:09:20.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:09:20.389Z] [2023-03-14T21:09:20.389Z] Login Succeeded [2023-03-14T21:09:20.389Z] nexus3.edgexfoundry.org:10002 [2023-03-14T21:09:20.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:09:20.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:09:20.656Z] Configure a credential helper to remove this warning. See [2023-03-14T21:09:20.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:09:20.656Z] [2023-03-14T21:09:20.656Z] Login Succeeded [2023-03-14T21:09:20.656Z] nexus3.edgexfoundry.org:10003 [2023-03-14T21:09:20.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:09:21.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:09:21.189Z] Configure a credential helper to remove this warning. See [2023-03-14T21:09:21.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:09:21.189Z] [2023-03-14T21:09:21.189Z] Login Succeeded [2023-03-14T21:09:21.189Z] nexus3.edgexfoundry.org:10004 [2023-03-14T21:09:21.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:09:21.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:09:21.460Z] Configure a credential helper to remove this warning. See [2023-03-14T21:09:21.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:09:21.460Z] [2023-03-14T21:09:21.460Z] Login Succeeded [2023-03-14T21:09:21.460Z] docker.io [2023-03-14T21:09:21.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:09:21.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:09:21.999Z] Configure a credential helper to remove this warning. See [2023-03-14T21:09:21.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:09:21.999Z] [2023-03-14T21:09:21.999Z] Login Succeeded [2023-03-14T21:09:21.999Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T21:09:22.014Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-14T21:09:22.038Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T21:09:22.053Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-03-14T21:09:22.053Z] 7c5acbbe38a78294b2f031b3aca8867e5f1e249e [2023-03-14T21:09:22.053Z] latest [2023-03-14T21:09:22.053Z] 3.0.0-dev.17 [2023-03-14T21:09:22.053Z] 7c5acbbe38a78294b2f031b3aca8867e5f1e249e-3.0.0-dev.17 [2023-03-14T21:09:22.053Z] main [2023-03-14T21:09:22.053Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:09:22.402Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:7c5acbbe38a78294b2f031b3aca8867e5f1e249e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:09:22.746Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:7c5acbbe38a78294b2f031b3aca8867e5f1e249e [2023-03-14T21:09:22.746Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-14T21:09:22.746Z] f7cbca47bf2f: Preparing [2023-03-14T21:09:22.746Z] 9c295dc9394d: Preparing [2023-03-14T21:09:22.746Z] fe99c21792ff: Preparing [2023-03-14T21:09:22.746Z] 70a9a7748ac3: Preparing [2023-03-14T21:09:22.746Z] edf70074bd40: Preparing [2023-03-14T21:09:22.746Z] edf70074bd40: Layer already exists [2023-03-14T21:09:23.012Z] f7cbca47bf2f: Pushed [2023-03-14T21:09:23.012Z] 9c295dc9394d: Pushed [2023-03-14T21:09:23.012Z] 70a9a7748ac3: Pushed [2023-03-14T21:09:28.425Z] fe99c21792ff: Pushed [2023-03-14T21:09:28.425Z] 7c5acbbe38a78294b2f031b3aca8867e5f1e249e: digest: sha256:d0e969ec10a9eeaffce763f267143afc87ce9828bc96fb209901632799f2730d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:09:28.781Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:09:29.135Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-03-14T21:09:29.136Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-14T21:09:29.136Z] f7cbca47bf2f: Preparing [2023-03-14T21:09:29.136Z] 9c295dc9394d: Preparing [2023-03-14T21:09:29.136Z] fe99c21792ff: Preparing [2023-03-14T21:09:29.136Z] 70a9a7748ac3: Preparing [2023-03-14T21:09:29.136Z] edf70074bd40: Preparing [2023-03-14T21:09:29.136Z] fe99c21792ff: Layer already exists [2023-03-14T21:09:29.136Z] f7cbca47bf2f: Layer already exists [2023-03-14T21:09:29.136Z] 9c295dc9394d: Layer already exists [2023-03-14T21:09:29.136Z] 70a9a7748ac3: Layer already exists [2023-03-14T21:09:29.136Z] edf70074bd40: Layer already exists [2023-03-14T21:09:29.136Z] latest: digest: sha256:d0e969ec10a9eeaffce763f267143afc87ce9828bc96fb209901632799f2730d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:09:29.499Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:09:29.862Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.17 [2023-03-14T21:09:29.862Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-14T21:09:29.862Z] f7cbca47bf2f: Preparing [2023-03-14T21:09:29.862Z] 9c295dc9394d: Preparing [2023-03-14T21:09:29.862Z] fe99c21792ff: Preparing [2023-03-14T21:09:29.862Z] 70a9a7748ac3: Preparing [2023-03-14T21:09:29.863Z] edf70074bd40: Preparing [2023-03-14T21:09:29.863Z] 9c295dc9394d: Layer already exists [2023-03-14T21:09:29.863Z] fe99c21792ff: Layer already exists [2023-03-14T21:09:29.863Z] edf70074bd40: Layer already exists [2023-03-14T21:09:29.863Z] 70a9a7748ac3: Layer already exists [2023-03-14T21:09:29.863Z] f7cbca47bf2f: Layer already exists [2023-03-14T21:09:30.128Z] 3.0.0-dev.17: digest: sha256:d0e969ec10a9eeaffce763f267143afc87ce9828bc96fb209901632799f2730d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:09:30.479Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:7c5acbbe38a78294b2f031b3aca8867e5f1e249e-3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:09:30.816Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:7c5acbbe38a78294b2f031b3aca8867e5f1e249e-3.0.0-dev.17 [2023-03-14T21:09:30.816Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-14T21:09:30.816Z] f7cbca47bf2f: Preparing [2023-03-14T21:09:30.816Z] 9c295dc9394d: Preparing [2023-03-14T21:09:30.816Z] fe99c21792ff: Preparing [2023-03-14T21:09:30.816Z] 70a9a7748ac3: Preparing [2023-03-14T21:09:30.816Z] edf70074bd40: Preparing [2023-03-14T21:09:30.816Z] 9c295dc9394d: Layer already exists [2023-03-14T21:09:30.816Z] edf70074bd40: Layer already exists [2023-03-14T21:09:30.816Z] 70a9a7748ac3: Layer already exists [2023-03-14T21:09:30.816Z] f7cbca47bf2f: Layer already exists [2023-03-14T21:09:30.816Z] fe99c21792ff: Layer already exists [2023-03-14T21:09:30.816Z] 7c5acbbe38a78294b2f031b3aca8867e5f1e249e-3.0.0-dev.17: digest: sha256:d0e969ec10a9eeaffce763f267143afc87ce9828bc96fb209901632799f2730d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:09:31.158Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:09:31.505Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-03-14T21:09:31.505Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-14T21:09:31.505Z] f7cbca47bf2f: Preparing [2023-03-14T21:09:31.505Z] 9c295dc9394d: Preparing [2023-03-14T21:09:31.505Z] fe99c21792ff: Preparing [2023-03-14T21:09:31.505Z] 70a9a7748ac3: Preparing [2023-03-14T21:09:31.505Z] edf70074bd40: Preparing [2023-03-14T21:09:31.505Z] edf70074bd40: Layer already exists [2023-03-14T21:09:31.505Z] fe99c21792ff: Layer already exists [2023-03-14T21:09:31.505Z] f7cbca47bf2f: Layer already exists [2023-03-14T21:09:31.505Z] 9c295dc9394d: Layer already exists [2023-03-14T21:09:31.505Z] 70a9a7748ac3: Layer already exists [2023-03-14T21:09:31.505Z] main: digest: sha256:d0e969ec10a9eeaffce763f267143afc87ce9828bc96fb209901632799f2730d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-14T21:09:31.547Z] ===================================================== [Pipeline] echo [2023-03-14T21:09:31.552Z] taggedImages: [2023-03-14T21:09:31.552Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:7c5acbbe38a78294b2f031b3aca8867e5f1e249e [2023-03-14T21:09:31.552Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-03-14T21:09:31.552Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.17 [2023-03-14T21:09:31.552Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:7c5acbbe38a78294b2f031b3aca8867e5f1e249e-3.0.0-dev.17 [2023-03-14T21:09:31.552Z] - 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-03-14T21:09:31.911Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T21:09:31.911Z] [2023-03-14T21:09:31.911Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:09:32.256Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T21:09:32.256Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-14T21:09:32.256Z] 8998bd30e6a1: Pulling fs layer [2023-03-14T21:09:32.256Z] 04944245beec: Pulling fs layer [2023-03-14T21:09:32.256Z] 699f458cf7ca: Pulling fs layer [2023-03-14T21:09:32.256Z] 765212b225bb: Pulling fs layer [2023-03-14T21:09:32.256Z] f23df028b6ca: Pulling fs layer [2023-03-14T21:09:32.256Z] d65c8cfc05b1: Pulling fs layer [2023-03-14T21:09:32.256Z] 2437ff75d9bd: Pulling fs layer [2023-03-14T21:09:32.256Z] f23df028b6ca: Waiting [2023-03-14T21:09:32.256Z] d65c8cfc05b1: Waiting [2023-03-14T21:09:32.256Z] 2437ff75d9bd: Waiting [2023-03-14T21:09:32.256Z] 765212b225bb: Waiting [2023-03-14T21:09:32.526Z] 04944245beec: Verifying Checksum [2023-03-14T21:09:32.526Z] 04944245beec: Download complete [2023-03-14T21:09:32.526Z] 765212b225bb: Verifying Checksum [2023-03-14T21:09:32.526Z] 765212b225bb: Download complete [2023-03-14T21:09:32.526Z] f23df028b6ca: Download complete [2023-03-14T21:09:32.526Z] d65c8cfc05b1: Verifying Checksum [2023-03-14T21:09:32.526Z] d65c8cfc05b1: Download complete [2023-03-14T21:09:32.795Z] 699f458cf7ca: Verifying Checksum [2023-03-14T21:09:32.795Z] 699f458cf7ca: Download complete [2023-03-14T21:09:33.064Z] 8998bd30e6a1: Verifying Checksum [2023-03-14T21:09:33.064Z] 8998bd30e6a1: Download complete [2023-03-14T21:09:35.644Z] 2437ff75d9bd: Verifying Checksum [2023-03-14T21:09:35.644Z] 2437ff75d9bd: Download complete [2023-03-14T21:09:37.064Z] 8998bd30e6a1: Pull complete [2023-03-14T21:09:37.333Z] 04944245beec: Pull complete [2023-03-14T21:09:38.756Z] 699f458cf7ca: Pull complete [2023-03-14T21:09:39.024Z] 765212b225bb: Pull complete [2023-03-14T21:09:39.984Z] f23df028b6ca: Pull complete [2023-03-14T21:09:39.984Z] d65c8cfc05b1: Pull complete [2023-03-14T21:09:54.983Z] 2437ff75d9bd: Pull complete [2023-03-14T21:09:54.983Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-14T21:09:54.983Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T21:09:54.983Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:09:55.188Z] prd-ubuntu20.04-docker-arm64-4c-16g-263 does not seem to be running inside a container [2023-03-14T21:09:55.276Z] $ 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/83 -v /w/workspace/device-modbus-go/83:/w/workspace/device-modbus-go/83:rw,z -v /w/workspace/device-modbus-go/83@tmp:/w/workspace/device-modbus-go/83@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-14T21:09:59.039Z] $ docker top 58d4499929350f7a3c67768ccad75305e8d1cf64964426596ca4dc2167ca8a31 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:09:59.887Z] ---> job-cost.sh [2023-03-14T21:09:59.887Z] lf-activate-venv: SKIPPING [2023-03-14T21:09:59.887Z] INFO: No Stack... [2023-03-14T21:10:00.154Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-14T21:10:01.113Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T21:10:01.747Z] + + catcut /w/workspace/device-modbus-go/83/archives/cost.csv -d, -f6 [2023-03-14T21:10:01.747Z] [Pipeline] lock [2023-03-14T21:10:01.819Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-83-stack-cost] [2023-03-14T21:10:01.829Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-83-stack-cost] did not exist. Created. [2023-03-14T21:10:01.829Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-83-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T21:10:02.506Z] /w/workspace/device-modbus-go/83@tmp/durable-6c2ddd1a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-14T21:10:03.169Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-14T21:10:03.191Z] Warning: overwriting stash ‘stack-cost’ [2023-03-14T21:10:03.247Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T21:10:03.257Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-83-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T21:10:03.292Z] $ docker stop --time=1 58d4499929350f7a3c67768ccad75305e8d1cf64964426596ca4dc2167ca8a31 [2023-03-14T21:10:04.841Z] $ docker rm -f --volumes 58d4499929350f7a3c67768ccad75305e8d1cf64964426596ca4dc2167ca8a31 [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-03-14T21:10:05.193Z] provisioning config files... [2023-03-14T21:10:05.199Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7832456161876851484tmp [Pipeline] { [Pipeline] sh [2023-03-14T21:10:05.484Z] + set +x [2023-03-14T21:10:05.484Z] + curl -s https://codecov.io/bash [2023-03-14T21:10:05.484Z] + bash -s -- [2023-03-14T21:10:05.484Z] [2023-03-14T21:10:05.484Z] _____ _ [2023-03-14T21:10:05.484Z] / ____| | | [2023-03-14T21:10:05.484Z] | | ___ __| | ___ ___ _____ __ [2023-03-14T21:10:05.484Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-14T21:10:05.484Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-14T21:10:05.484Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-14T21:10:05.484Z] Bash-1.0.6 [2023-03-14T21:10:05.484Z] [2023-03-14T21:10:05.484Z] [2023-03-14T21:10:05.484Z] ==> git version 2.25.1 found [2023-03-14T21:10:05.484Z] ==> 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-03-14T21:10:05.484Z] Release-Date: 2020-01-08 [2023-03-14T21:10:05.484Z] 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-03-14T21:10:05.484Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-14T21:10:05.484Z] ==> Jenkins CI detected. [2023-03-14T21:10:05.484Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-03-14T21:10:05.484Z] project root: . [2023-03-14T21:10:05.484Z] --> token set from env [2023-03-14T21:10:05.484Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-14T21:10:05.484Z] ==> Running gcov in . (disable via -X gcov) [2023-03-14T21:10:05.484Z] ==> Python coveragepy not found [2023-03-14T21:10:05.484Z] ==> Searching for coverage reports in: [2023-03-14T21:10:05.484Z] + . [2023-03-14T21:10:05.484Z] -> Found 1 reports [2023-03-14T21:10:05.484Z] ==> Detecting git/mercurial file structure [2023-03-14T21:10:05.484Z] ==> Reading reports [2023-03-14T21:10:05.484Z] + ./coverage.out bytes=23736 [2023-03-14T21:10:05.484Z] ==> Appending adjustments [2023-03-14T21:10:05.484Z] https://docs.codecov.io/docs/fixing-reports [2023-03-14T21:10:05.742Z] + Found adjustments [2023-03-14T21:10:05.742Z] ==> Gzipping contents [2023-03-14T21:10:05.742Z] 4.0K /tmp/codecov.Eb2keW.gz [2023-03-14T21:10:05.742Z] ==> Uploading reports [2023-03-14T21:10:05.742Z] url: https://codecov.io [2023-03-14T21:10:05.742Z] query: branch=main&commit=7c5acbbe38a78294b2f031b3aca8867e5f1e249e&build=83&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F83%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-14T21:10:05.742Z] -> Pinging Codecov [2023-03-14T21:10:05.742Z] 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=7c5acbbe38a78294b2f031b3aca8867e5f1e249e&build=83&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F83%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-14T21:10:05.742Z] -> Uploading to [2023-03-14T21:10:05.742Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-14/55DBCA73C666E3227836607328DD7E49/7c5acbbe38a78294b2f031b3aca8867e5f1e249e/7c5747c7-5f0d-4b8c-ba6c-158a05d682de.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T211005Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=aa68edca315e1be52bb0f2b628c89df40d5c4efb09006035b7534bef3fb24d37 [2023-03-14T21:10:05.743Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T21:10:05.743Z] Dload Upload Total Spent Left Speed [2023-03-14T21:10:06.001Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3909 0 0 100 3909 0 14477 --:--:-- --:--:-- --:--:-- 14477 [2023-03-14T21:10:06.260Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/7c5acbbe38a78294b2f031b3aca8867e5f1e249e [Pipeline] } [2023-03-14T21:10:06.266Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-14T21:10:06.486Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-14T21:10:06.495Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:10:06.785Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-14T21:10:06.785Z] [2023-03-14T21:10:06.785Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:10:07.081Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-14T21:10:07.081Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-14T21:10:07.081Z] df9b9388f04a: Pulling fs layer [2023-03-14T21:10:07.081Z] 52dc419b0ee2: Pulling fs layer [2023-03-14T21:10:07.081Z] 25bc292e5bac: Pulling fs layer [2023-03-14T21:10:07.081Z] 114826534d7a: Pulling fs layer [2023-03-14T21:10:07.081Z] 4657fd5d0bcf: Pulling fs layer [2023-03-14T21:10:07.081Z] 6ad1cebc031e: Pulling fs layer [2023-03-14T21:10:07.081Z] 8a3aa393b2d8: Pulling fs layer [2023-03-14T21:10:07.081Z] 4657fd5d0bcf: Waiting [2023-03-14T21:10:07.081Z] 8a3aa393b2d8: Waiting [2023-03-14T21:10:07.081Z] 6ad1cebc031e: Waiting [2023-03-14T21:10:07.081Z] 25bc292e5bac: Verifying Checksum [2023-03-14T21:10:07.081Z] 25bc292e5bac: Download complete [2023-03-14T21:10:07.081Z] 52dc419b0ee2: Verifying Checksum [2023-03-14T21:10:07.081Z] 52dc419b0ee2: Download complete [2023-03-14T21:10:07.081Z] 4657fd5d0bcf: Verifying Checksum [2023-03-14T21:10:07.081Z] 4657fd5d0bcf: Download complete [2023-03-14T21:10:07.081Z] df9b9388f04a: Download complete [2023-03-14T21:10:07.340Z] df9b9388f04a: Pull complete [2023-03-14T21:10:07.340Z] 52dc419b0ee2: Pull complete [2023-03-14T21:10:07.340Z] 6ad1cebc031e: Verifying Checksum [2023-03-14T21:10:07.340Z] 6ad1cebc031e: Download complete [2023-03-14T21:10:07.340Z] 25bc292e5bac: Pull complete [2023-03-14T21:10:08.127Z] 114826534d7a: Verifying Checksum [2023-03-14T21:10:08.127Z] 114826534d7a: Download complete [2023-03-14T21:10:08.629Z] 8a3aa393b2d8: Verifying Checksum [2023-03-14T21:10:08.629Z] 8a3aa393b2d8: Download complete [2023-03-14T21:10:10.772Z] 114826534d7a: Pull complete [2023-03-14T21:10:10.772Z] 4657fd5d0bcf: Pull complete [2023-03-14T21:10:11.338Z] 6ad1cebc031e: Pull complete [2023-03-14T21:10:13.418Z] 8a3aa393b2d8: Pull complete [2023-03-14T21:10:13.418Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-14T21:10:13.418Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-14T21:10:13.418Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:10:13.486Z] prd-ubuntu20.04-docker-8c-8g-257 does not seem to be running inside a container [2023-03-14T21:10:13.523Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-03-14T21:10:15.258Z] $ docker top 07fc60230dc2fa92f12bfcb318cfd57c25bc9ec118dcf775837042934573f5c6 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-14T21:10:15.311Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-03-14T21:10:15.758Z] + set -o pipefail [2023-03-14T21:10:15.758Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-03-14T21:10:19.947Z] [2023-03-14T21:10:19.947Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-03-14T21:10:19.947Z] [2023-03-14T21:10:19.947Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/962e91da-9dfa-4f91-99b9-62f9b45dd63b [2023-03-14T21:10:19.947Z] [2023-03-14T21:10:19.947Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-03-14T21:10:19.947Z] [2023-03-14T21:10:19.948Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-03-14T21:10:19.948Z] [2023-03-14T21:10:20.515Z] [2023-03-14T21:10:20.515Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-03-14T21:10:20.515Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-03-14T21:10:20.515Z] More details here: https://snyk.co/ue1NS [2023-03-14T21:10:20.515Z] You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. [2023-03-14T21:10:20.515Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-03-14T21:10:20.532Z] $ docker stop --time=1 07fc60230dc2fa92f12bfcb318cfd57c25bc9ec118dcf775837042934573f5c6 [2023-03-14T21:10:22.287Z] $ docker rm -f --volumes 07fc60230dc2fa92f12bfcb318cfd57c25bc9ec118dcf775837042934573f5c6 [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-03-14T21:10:22.935Z] + git log --format=format:%s -1 7c5acbbe38a78294b2f031b3aca8867e5f1e249e [Pipeline] sh [2023-03-14T21:10:23.221Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T21:10:23.221Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:10:23.513Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T21:10:23.513Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:10:23.579Z] prd-ubuntu20.04-docker-8c-8g-257 does not seem to be running inside a container [2023-03-14T21:10:23.619Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-14T21:10:23.943Z] $ docker top add74175f075aadfbd32a0e58d0fe3b8c65e886f585f3f6f4759d4cb36689894 -eo pid,comm [2023-03-14T21:10:23.982Z] 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-03-14T21:10:23.982Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T21:10:24.020Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T21:10:24.020Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T21:10:24.121Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T21:10:24.130Z] $ docker exec add74175f075aadfbd32a0e58d0fe3b8c65e886f585f3f6f4759d4cb36689894 ssh-agent [2023-03-14T21:10:24.226Z] SSH_AUTH_SOCK=/tmp/ssh-LraEtY8iLrwg/agent.31 [2023-03-14T21:10:24.226Z] SSH_AGENT_PID=37 [2023-03-14T21:10:24.230Z] Running ssh-add (command line suppressed) [2023-03-14T21:10:24.345Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15639096513167453356.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15639096513167453356.key) [2023-03-14T21:10:24.351Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T21:10:24.644Z] + git semver tag [2023-03-14T21:10:24.903Z] 2023-03-14 21:10:24,839 [run_tag] DEBUG tag force:False [2023-03-14T21:10:24.903Z] 2023-03-14 21:10:24,839 [check_head_tag] DEBUG check head tag [2023-03-14T21:10:24.903Z] 2023-03-14 21:10:24,841 [execute] INFO git cat-file --batch-check [2023-03-14T21:10:24.903Z] 2023-03-14 21:10:24,841 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-03-14T21:10:24.903Z] 2023-03-14 21:10:24,845 [execute] INFO git cat-file --batch [2023-03-14T21:10:24.903Z] 2023-03-14 21:10:24,846 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-03-14T21:10:24.903Z] 2023-03-14 21:10:24,866 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-14T21:10:24.903Z] 2023-03-14 21:10:24,866 [execute] INFO git tag -a v3.0.0-dev.17 -m v3.0.0-dev.17 [2023-03-14T21:10:24.903Z] 2023-03-14 21:10:24,866 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.17', '-m', 'v3.0.0-dev.17'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-14T21:10:24.903Z] 2023-03-14 21:10:24,869 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-14T21:10:24.903Z] 3.0.0-dev.17 [Pipeline] } [2023-03-14T21:10:24.918Z] $ docker exec --env ******** --env ******** add74175f075aadfbd32a0e58d0fe3b8c65e886f585f3f6f4759d4cb36689894 ssh-agent -k [2023-03-14T21:10:25.011Z] unset SSH_AUTH_SOCK; [2023-03-14T21:10:25.012Z] unset SSH_AGENT_PID; [2023-03-14T21:10:25.012Z] echo Agent pid 37 killed; [2023-03-14T21:10:25.012Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T21:10:25.310Z] + git semver [Pipeline] } [2023-03-14T21:10:25.587Z] $ docker stop --time=1 add74175f075aadfbd32a0e58d0fe3b8c65e886f585f3f6f4759d4cb36689894 [2023-03-14T21:10:26.837Z] $ docker rm -f --volumes add74175f075aadfbd32a0e58d0fe3b8c65e886f585f3f6f4759d4cb36689894 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:10:27.214Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-14T21:10:27.214Z] [2023-03-14T21:10:27.214Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:10:27.514Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-14T21:10:27.515Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-03-14T21:10:27.515Z] ab5ef0e58194: Pulling fs layer [2023-03-14T21:10:27.515Z] 9712f1f96733: Pulling fs layer [2023-03-14T21:10:27.515Z] 63f879dbbcfc: Pulling fs layer [2023-03-14T21:10:27.515Z] 0d9ebad4ef96: Pulling fs layer [2023-03-14T21:10:27.515Z] e9a5061849ea: Pulling fs layer [2023-03-14T21:10:27.515Z] d747dcd14b5f: Pulling fs layer [2023-03-14T21:10:27.515Z] 2de7ff778b66: Pulling fs layer [2023-03-14T21:10:27.515Z] d747dcd14b5f: Waiting [2023-03-14T21:10:27.515Z] 2de7ff778b66: Waiting [2023-03-14T21:10:27.515Z] 0d9ebad4ef96: Waiting [2023-03-14T21:10:27.515Z] e9a5061849ea: Waiting [2023-03-14T21:10:27.515Z] 9712f1f96733: Verifying Checksum [2023-03-14T21:10:27.515Z] 9712f1f96733: Download complete [2023-03-14T21:10:28.114Z] 63f879dbbcfc: Verifying Checksum [2023-03-14T21:10:28.114Z] 63f879dbbcfc: Download complete [2023-03-14T21:10:28.114Z] e9a5061849ea: Verifying Checksum [2023-03-14T21:10:28.114Z] e9a5061849ea: Download complete [2023-03-14T21:10:28.376Z] d747dcd14b5f: Verifying Checksum [2023-03-14T21:10:28.376Z] d747dcd14b5f: Download complete [2023-03-14T21:10:28.376Z] 0d9ebad4ef96: Verifying Checksum [2023-03-14T21:10:28.376Z] 0d9ebad4ef96: Download complete [2023-03-14T21:10:28.376Z] ab5ef0e58194: Verifying Checksum [2023-03-14T21:10:28.376Z] ab5ef0e58194: Download complete [2023-03-14T21:10:28.376Z] 2de7ff778b66: Verifying Checksum [2023-03-14T21:10:28.376Z] 2de7ff778b66: Download complete [2023-03-14T21:10:30.900Z] ab5ef0e58194: Pull complete [2023-03-14T21:10:30.900Z] 9712f1f96733: Pull complete [2023-03-14T21:10:31.463Z] 63f879dbbcfc: Pull complete [2023-03-14T21:10:34.744Z] 0d9ebad4ef96: Pull complete [2023-03-14T21:10:34.745Z] e9a5061849ea: Pull complete [2023-03-14T21:10:34.745Z] d747dcd14b5f: Pull complete [2023-03-14T21:10:35.681Z] 2de7ff778b66: Pull complete [2023-03-14T21:10:35.681Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-03-14T21:10:35.681Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-14T21:10:35.681Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:10:35.748Z] prd-ubuntu20.04-docker-8c-8g-257 does not seem to be running inside a container [2023-03-14T21:10:35.786Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-03-14T21:10:37.367Z] $ docker top 32c562b4c21b79929192222ceba9201b35572c8d3bf56f523b65c2f984259f47 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-03-14T21:10:37.416Z] provisioning config files... [2023-03-14T21:10:37.421Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14815138209444555954tmp [2023-03-14T21:10:37.429Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10051674287668098953tmp [2023-03-14T21:10:37.442Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12042743811401305508tmp [Pipeline] { [Pipeline] echo [2023-03-14T21:10:37.455Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:10:37.739Z] ---> sigul-configuration.sh [2023-03-14T21:10:37.739Z] gpg: directory `/root/.gnupg' created [2023-03-14T21:10:37.739Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-03-14T21:10:37.739Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-03-14T21:10:37.739Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-03-14T21:10:37.739Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-03-14T21:10:37.739Z] gpg: CAST5 encrypted data [2023-03-14T21:10:37.739Z] gpg: encrypted with 1 passphrase [2023-03-14T21:10:37.739Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-03-14T21:10:38.021Z] + mkdir /home/jenkins [2023-03-14T21:10:38.021Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-03-14T21:10:38.305Z] + 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-03-14T21:10:38.312Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:10:38.590Z] ---> sigul-install.sh [2023-03-14T21:10:38.590Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-03-14T21:10:38.874Z] + git tag --list [2023-03-14T21:10:38.874Z] 0.7.1 [2023-03-14T21:10:38.874Z] v1.0.0 [2023-03-14T21:10:38.874Z] v1.1.0 [2023-03-14T21:10:38.874Z] v1.1.1 [2023-03-14T21:10:38.874Z] v1.2.2 [2023-03-14T21:10:38.874Z] v1.3.0 [2023-03-14T21:10:38.874Z] v1.3.1 [2023-03-14T21:10:38.874Z] v2.0.0 [2023-03-14T21:10:38.874Z] v2.1.0 [2023-03-14T21:10:38.874Z] v2.1.1 [2023-03-14T21:10:38.874Z] v2.1.1-dev.1 [2023-03-14T21:10:38.874Z] v2.1.1-dev.2 [2023-03-14T21:10:38.874Z] v2.1.1-dev.3 [2023-03-14T21:10:38.874Z] v2.2.0 [2023-03-14T21:10:38.874Z] v2.2.1-dev.1 [2023-03-14T21:10:38.874Z] v2.2.1-dev.2 [2023-03-14T21:10:38.874Z] v2.2.1-dev.3 [2023-03-14T21:10:38.874Z] v2.2.1-dev.4 [2023-03-14T21:10:38.874Z] v2.2.1-dev.5 [2023-03-14T21:10:38.874Z] v2.2.1-dev.6 [2023-03-14T21:10:38.874Z] v2.2.1-dev.7 [2023-03-14T21:10:38.874Z] v2.3.0 [2023-03-14T21:10:38.874Z] v2.3.0-dev.10 [2023-03-14T21:10:38.874Z] v2.3.0-dev.11 [2023-03-14T21:10:38.874Z] v2.3.0-dev.12 [2023-03-14T21:10:38.874Z] v2.3.0-dev.13 [2023-03-14T21:10:38.874Z] v2.3.0-dev.14 [2023-03-14T21:10:38.874Z] v2.3.0-dev.15 [2023-03-14T21:10:38.874Z] v2.3.0-dev.16 [2023-03-14T21:10:38.874Z] v2.3.0-dev.17 [2023-03-14T21:10:38.874Z] v2.3.0-dev.18 [2023-03-14T21:10:38.874Z] v2.3.0-dev.19 [2023-03-14T21:10:38.874Z] v2.3.0-dev.20 [2023-03-14T21:10:38.874Z] v2.3.0-dev.21 [2023-03-14T21:10:38.874Z] v2.3.0-dev.22 [2023-03-14T21:10:38.874Z] v2.3.0-dev.23 [2023-03-14T21:10:38.874Z] v2.3.0-dev.24 [2023-03-14T21:10:38.874Z] v2.3.0-dev.25 [2023-03-14T21:10:38.874Z] v2.3.0-dev.7 [2023-03-14T21:10:38.874Z] v2.3.0-dev.8 [2023-03-14T21:10:38.874Z] v2.3.0-dev.9 [2023-03-14T21:10:38.874Z] v3.0.0-dev.1 [2023-03-14T21:10:38.874Z] v3.0.0-dev.10 [2023-03-14T21:10:38.874Z] v3.0.0-dev.11 [2023-03-14T21:10:38.874Z] v3.0.0-dev.12 [2023-03-14T21:10:38.874Z] v3.0.0-dev.13 [2023-03-14T21:10:38.874Z] v3.0.0-dev.14 [2023-03-14T21:10:38.874Z] v3.0.0-dev.15 [2023-03-14T21:10:38.874Z] v3.0.0-dev.16 [2023-03-14T21:10:38.874Z] v3.0.0-dev.17 [2023-03-14T21:10:38.874Z] v3.0.0-dev.2 [2023-03-14T21:10:38.874Z] v3.0.0-dev.3 [2023-03-14T21:10:38.874Z] v3.0.0-dev.4 [2023-03-14T21:10:38.874Z] v3.0.0-dev.5 [2023-03-14T21:10:38.874Z] v3.0.0-dev.6 [2023-03-14T21:10:38.874Z] v3.0.0-dev.7 [2023-03-14T21:10:38.874Z] v3.0.0-dev.8 [2023-03-14T21:10:38.874Z] v3.0.0-dev.9 [Pipeline] sh [2023-03-14T21:10:39.157Z] + lftools sign git-tag v3.0.0-dev.17 [2023-03-14T21:10:39.725Z] Signing Git tag with Sigul... [2023-03-14T21:10:39.725Z] Signing v3.0.0-dev.17 [Pipeline] echo [2023-03-14T21:10:39.994Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:10:40.275Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-03-14T21:10:40.282Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-03-14T21:10:40.306Z] $ docker stop --time=1 32c562b4c21b79929192222ceba9201b35572c8d3bf56f523b65c2f984259f47 [2023-03-14T21:10:41.576Z] $ docker rm -f --volumes 32c562b4c21b79929192222ceba9201b35572c8d3bf56f523b65c2f984259f47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-03-14T21:10:41.969Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T21:10:41.969Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:10:42.266Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T21:10:42.266Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:10:42.337Z] prd-ubuntu20.04-docker-8c-8g-257 does not seem to be running inside a container [2023-03-14T21:10:42.372Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-14T21:10:42.685Z] $ docker top 573f6ea8516ea1ed68159c79aee4046672bc8218db5f2a76d6caf69123bb922f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T21:10:42.769Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T21:10:42.769Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T21:10:42.870Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T21:10:42.879Z] $ docker exec 573f6ea8516ea1ed68159c79aee4046672bc8218db5f2a76d6caf69123bb922f ssh-agent [2023-03-14T21:10:42.973Z] SSH_AUTH_SOCK=/tmp/ssh-Li6WEvZfX1Am/agent.33 [2023-03-14T21:10:42.973Z] SSH_AGENT_PID=39 [2023-03-14T21:10:42.977Z] Running ssh-add (command line suppressed) [2023-03-14T21:10:43.083Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3162517253535963701.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3162517253535963701.key) [2023-03-14T21:10:43.087Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T21:10:43.369Z] + git semver bump pre [2023-03-14T21:10:43.628Z] 2023-03-14 21:10:43,556 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-14T21:10:43.628Z] 2023-03-14 21:10:43,557 [bump_version] DEBUG bumping version:3.0.0-dev.17 on axis:pre with prefix:dev [2023-03-14T21:10:43.628Z] 2023-03-14 21:10:43,557 [bump_version] DEBUG bumped version:3.0.0-dev.18 [2023-03-14T21:10:43.628Z] 2023-03-14 21:10:43,557 [write_version] DEBUG write version:3.0.0-dev.18 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-03-14T21:10:43.628Z] 2023-03-14 21:10:43,557 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-14T21:10:43.628Z] 2023-03-14 21:10:43,557 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-14T21:10:43.628Z] 2023-03-14 21:10:43,559 [execute] INFO git cat-file --batch-check [2023-03-14T21:10:43.628Z] 2023-03-14 21:10:43,559 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T21:10:43.628Z] 2023-03-14 21:10:43,565 [execute] INFO git cat-file --batch [2023-03-14T21:10:43.628Z] 2023-03-14 21:10:43,565 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T21:10:43.628Z] 2023-03-14 21:10:43,570 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-14T21:10:43.628Z] 3.0.0-dev.18 [Pipeline] } [2023-03-14T21:10:43.645Z] $ docker exec --env ******** --env ******** 573f6ea8516ea1ed68159c79aee4046672bc8218db5f2a76d6caf69123bb922f ssh-agent -k [2023-03-14T21:10:43.747Z] unset SSH_AUTH_SOCK; [2023-03-14T21:10:43.748Z] unset SSH_AGENT_PID; [2023-03-14T21:10:43.748Z] echo Agent pid 39 killed; [2023-03-14T21:10:43.751Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T21:10:44.062Z] + git semver [Pipeline] } [2023-03-14T21:10:44.342Z] $ docker stop --time=1 573f6ea8516ea1ed68159c79aee4046672bc8218db5f2a76d6caf69123bb922f [2023-03-14T21:10:45.589Z] $ docker rm -f --volumes 573f6ea8516ea1ed68159c79aee4046672bc8218db5f2a76d6caf69123bb922f [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T21:10:45.923Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T21:10:45.923Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:10:46.217Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T21:10:46.217Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:10:46.285Z] prd-ubuntu20.04-docker-8c-8g-257 does not seem to be running inside a container [2023-03-14T21:10:46.322Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-14T21:10:46.661Z] $ docker top c34943b41122bfaf34ff79f6ad843d28e511232340abae65cee09ed8fd9fed8f -eo pid,comm [2023-03-14T21:10:46.700Z] 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-03-14T21:10:46.700Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T21:10:46.740Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T21:10:46.740Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T21:10:46.857Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T21:10:46.865Z] $ docker exec c34943b41122bfaf34ff79f6ad843d28e511232340abae65cee09ed8fd9fed8f ssh-agent [2023-03-14T21:10:46.973Z] SSH_AUTH_SOCK=/tmp/ssh-Vq3CVJYL11rh/agent.31 [2023-03-14T21:10:46.973Z] SSH_AGENT_PID=38 [2023-03-14T21:10:46.978Z] Running ssh-add (command line suppressed) [2023-03-14T21:10:47.070Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16726422291532602633.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16726422291532602633.key) [2023-03-14T21:10:47.078Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T21:10:47.363Z] + git semver push [2023-03-14T21:10:47.623Z] 2023-03-14 21:10:47,544 [run_push] DEBUG push [2023-03-14T21:10:47.623Z] 2023-03-14 21:10:47,545 [execute] INFO git cat-file --batch-check [2023-03-14T21:10:47.623Z] 2023-03-14 21:10:47,545 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T21:10:47.623Z] 2023-03-14 21:10:47,549 [execute] INFO git rev-list 7887970608ab6dda9d76792abd69fc5f9b32671d -- [2023-03-14T21:10:47.623Z] 2023-03-14 21:10:47,549 [execute] DEBUG Popen(['git', 'rev-list', '7887970608ab6dda9d76792abd69fc5f9b32671d', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-14T21:10:47.623Z] 2023-03-14 21:10:47,557 [execute] INFO git fetch -v origin [2023-03-14T21:10:47.623Z] 2023-03-14 21:10:47,557 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-03-14T21:10:48.196Z] 2023-03-14 21:10:48,065 [run_push] DEBUG no remote changes detected [2023-03-14T21:10:48.196Z] 2023-03-14 21:10:48,065 [execute] INFO git push origin semver [2023-03-14T21:10:48.196Z] 2023-03-14 21:10:48,065 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-14T21:10:49.132Z] 2023-03-14 21:10:48,864 [run_push] DEBUG push all version tags [2023-03-14T21:10:49.132Z] 2023-03-14 21:10:48,865 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-03-14T21:10:49.132Z] 2023-03-14 21:10:48,865 [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-03-14T21:10:49.702Z] 2023-03-14 21:10:49,609 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-14T21:10:49.702Z] 3.0.0-dev.18 [Pipeline] } [2023-03-14T21:10:49.717Z] $ docker exec --env ******** --env ******** c34943b41122bfaf34ff79f6ad843d28e511232340abae65cee09ed8fd9fed8f ssh-agent -k [2023-03-14T21:10:49.822Z] unset SSH_AUTH_SOCK; [2023-03-14T21:10:49.823Z] unset SSH_AGENT_PID; [2023-03-14T21:10:49.823Z] echo Agent pid 38 killed; [2023-03-14T21:10:49.827Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T21:10:50.125Z] + git semver [Pipeline] } [2023-03-14T21:10:50.404Z] $ docker stop --time=1 c34943b41122bfaf34ff79f6ad843d28e511232340abae65cee09ed8fd9fed8f [2023-03-14T21:10:51.702Z] $ docker rm -f --volumes c34943b41122bfaf34ff79f6ad843d28e511232340abae65cee09ed8fd9fed8f [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-03-14T21:10:52.279Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-03-14T21:10:52.280Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-03-14T21:10:52.280Z] total 16 [2023-03-14T21:10:52.280Z] drwxr-xr-x 3 root root 4096 Mar 14 20:58 . [2023-03-14T21:10:52.280Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 21:10 .. [2023-03-14T21:10:52.280Z] drwxr-xr-x 2 root root 4096 Mar 14 20:58 cost [2023-03-14T21:10:52.280Z] -rw-r--r-- 1 root root 87 Mar 14 20:58 cost.csv [2023-03-14T21:10:52.280Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-03-14T21:10:52.280Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-03-14T21:10:52.280Z] total 16 [2023-03-14T21:10:52.280Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 20:58 . [2023-03-14T21:10:52.280Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 21:10 .. [2023-03-14T21:10:52.280Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 20:58 cost [2023-03-14T21:10:52.280Z] -rw-r--r-- 1 jenkins jenkins 87 Mar 14 20:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:10:52.568Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:10:53.426Z] ---> package-listing.sh [2023-03-14T21:10:53.426Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-14T21:10:53.426Z] ++ facter osfamily [2023-03-14T21:10:53.686Z] + OS_FAMILY=debian [2023-03-14T21:10:53.686Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-03-14T21:10:53.686Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-14T21:10:53.686Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-14T21:10:53.686Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-14T21:10:53.686Z] + PACKAGES=/tmp/packages_start.txt [2023-03-14T21:10:53.686Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-03-14T21:10:53.686Z] + PACKAGES=/tmp/packages_end.txt [2023-03-14T21:10:53.686Z] + case "${OS_FAMILY}" in [2023-03-14T21:10:53.686Z] + dpkg -l [2023-03-14T21:10:53.686Z] + grep '^ii' [2023-03-14T21:10:53.686Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-14T21:10:53.686Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-14T21:10:53.686Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-14T21:10:53.686Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-03-14T21:10:53.686Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-03-14T21:10:53.686Z] + 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-03-14T21:10:53.694Z] 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-03-14T21:10:53.969Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:10:54.527Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T21:10:54.527Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:10:54.594Z] prd-ubuntu20.04-docker-8c-8g-257 does not seem to be running inside a container [2023-03-14T21:10:54.627Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-14T21:10:54.810Z] $ docker top 14e1b9d575220e366c1c07ffbd2bfca6b9926dfd4fc68cb4a0c1c3c0a808ceb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T21:10:55.245Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-14T21:10:55.622Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-14T21:10:55.919Z] + ls /var/log/sa-host [2023-03-14T21:10:55.919Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T21:10:55.990Z] provisioning config files... [2023-03-14T21:10:55.998Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17301525048900143421tmp [Pipeline] { [Pipeline] echo [2023-03-14T21:10:56.011Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:10:56.291Z] ---> create-netrc.sh [Pipeline] } [2023-03-14T21:10:56.297Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:10:56.625Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-14T21:10:56.633Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:10:56.923Z] ---> sudo-logs.sh [2023-03-14T21:10:56.923Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-14T21:10:56.953Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:10:57.232Z] ---> job-cost.sh [2023-03-14T21:10:57.232Z] lf-activate-venv: SKIPPING [2023-03-14T21:10:57.232Z] DEBUG: total: 0.2199999988079071 [2023-03-14T21:10:57.232Z] INFO: Retrieving Stack Cost... [2023-03-14T21:10:57.491Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T21:10:58.058Z] INFO: Archiving Costs [Pipeline] echo [2023-03-14T21:10:58.071Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:10:58.358Z] ---> logs-deploy.sh [2023-03-14T21:10:58.358Z] lf-activate-venv: SKIPPING [2023-03-14T21:10:58.358Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/83 [2023-03-14T21:10:58.358Z] INFO: archiving workspace using pattern(s): [2023-03-14T21:10:59.292Z] Archives upload complete. [2023-03-14T21:10:59.292Z] INFO: archiving logs to Nexus