Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d 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-ssh4332187462903685368.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-ssh14982850993914852868.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-ssh17304053286327132668.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-ssh13228869899850118323.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-ssh14567452457856431508.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-849 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 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d (main) Commit message: "ci: Change dependabot gomod schedule to daily (#429)" > 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 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d # timeout=10 > git rev-list --no-walk 7c5acbbe38a78294b2f031b3aca8867e5f1e249e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T16:09:18.835Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T16:09:18.888Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T16:09:18.898Z] ========================================================= [2023-03-15T16:09:18.898Z] EdgeX Global Pipelines Version Info [2023-03-15T16:09:18.898Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:09:19.612Z] ------------------- [2023-03-15T16:09:19.612Z] stable info: [2023-03-15T16:09:19.612Z] ------------------- [2023-03-15T16:09:19.612Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T16:09:19.612Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T16:09:19.612Z] Message: update stable to v1.0.245 [2023-03-15T16:09:20.183Z] ------------------- [2023-03-15T16:09:20.183Z] experimental info: [2023-03-15T16:09:20.183Z] ------------------- [2023-03-15T16:09:20.183Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T16:09:20.183Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T16:09:20.183Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T16:09:20.357Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-03-15T16:09:20.380Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-03-15T16:09:20.397Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T16:09:20.411Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T16:09:20.424Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T16:09:20.434Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T16:09:20.445Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T16:09:20.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-15T16:09:20.472Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T16:09:20.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T16:09:20.498Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T16:09:20.512Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-03-15T16:09:20.530Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T16:09:20.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T16:09:20.568Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T16:09:20.583Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T16:09:20.596Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T16:09:20.611Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T16:09:20.623Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T16:09:20.635Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T16:09:20.646Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-15T16:09:20.658Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-15T16:09:20.671Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T16:09:20.684Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T16:09:20.696Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T16:09:20.706Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T16:09:20.715Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T16:09:20.724Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-15T16:09:20.734Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-15T16:09:20.743Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-15T16:09:20.753Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d [Pipeline] echo [2023-03-15T16:09:20.764Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8ef455d [Pipeline] echo [2023-03-15T16:09:20.773Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:09:20.819Z] provisioning config files... [2023-03-15T16:09:20.835Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1642257774886290168tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:09:21.168Z] ---> docker-login.sh [2023-03-15T16:09:21.168Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:09:21.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:09:21.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:09:21.430Z] Configure a credential helper to remove this warning. See [2023-03-15T16:09:21.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:09:21.430Z] [2023-03-15T16:09:21.430Z] Login Succeeded [2023-03-15T16:09:21.430Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:09:21.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:09:21.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:09:21.430Z] Configure a credential helper to remove this warning. See [2023-03-15T16:09:21.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:09:21.430Z] [2023-03-15T16:09:21.430Z] Login Succeeded [2023-03-15T16:09:21.430Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:09:21.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:09:21.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:09:21.689Z] Configure a credential helper to remove this warning. See [2023-03-15T16:09:21.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:09:21.689Z] [2023-03-15T16:09:21.689Z] Login Succeeded [2023-03-15T16:09:21.689Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:09:21.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:09:21.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:09:21.689Z] Configure a credential helper to remove this warning. See [2023-03-15T16:09:21.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:09:21.689Z] [2023-03-15T16:09:21.689Z] Login Succeeded [2023-03-15T16:09:21.689Z] docker.io [2023-03-15T16:09:21.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:09:21.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:09:21.949Z] Configure a credential helper to remove this warning. See [2023-03-15T16:09:21.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:09:21.949Z] [2023-03-15T16:09:21.949Z] Login Succeeded [2023-03-15T16:09:21.949Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:09:21.969Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T16:09:22.357Z] + git rev-list -1 --merges 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d~1..8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d [Pipeline] echo [2023-03-15T16:09:22.407Z] -----------> git rev-list -1 --merges 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d~1..8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d [false] [Pipeline] sh [2023-03-15T16:09:22.695Z] + git log --format=format:%s -1 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d [Pipeline] echo [2023-03-15T16:09:22.711Z] ========================================================= [2023-03-15T16:09:22.711Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T16:09:22.711Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:09:23.050Z] + git log --format=format:%s -1 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d [Pipeline] echo [2023-03-15T16:09:23.063Z] [semverPrep] GIT_COMMIT: 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d, Commit Message: ci: Change dependabot gomod schedule to daily (#429) [Pipeline] echo [2023-03-15T16:09:23.072Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T16:09:23.438Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T16:09:23.438Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T16:09:23.438Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T16:09:23.438Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T16:09:23.438Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2023-03-15T16:09:23.438Z] tee -a /etc/ssh/ssh_known_hosts [2023-03-15T16:09:23.438Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:09:23.862Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:09:23.862Z] [2023-03-15T16:09:23.862Z] 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-15T16:09:24.164Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:09:24.164Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T16:09:24.164Z] b85a868b505f: Pulling fs layer [2023-03-15T16:09:24.164Z] e2be974225ed: Pulling fs layer [2023-03-15T16:09:24.164Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T16:09:24.164Z] 988bab9f4d93: Pulling fs layer [2023-03-15T16:09:24.164Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T16:09:24.164Z] eaf3925da568: Pulling fs layer [2023-03-15T16:09:24.164Z] bab4dde63d76: Pulling fs layer [2023-03-15T16:09:24.164Z] bde34c3a00c8: Pulling fs layer [2023-03-15T16:09:24.164Z] b352a97aabf1: Pulling fs layer [2023-03-15T16:09:24.164Z] 4872d77fe225: Pulling fs layer [2023-03-15T16:09:24.164Z] 5851b861e8e6: Pulling fs layer [2023-03-15T16:09:24.164Z] bab4dde63d76: Waiting [2023-03-15T16:09:24.164Z] 4872d77fe225: Waiting [2023-03-15T16:09:24.164Z] bde34c3a00c8: Waiting [2023-03-15T16:09:24.164Z] b352a97aabf1: Waiting [2023-03-15T16:09:24.164Z] 988bab9f4d93: Waiting [2023-03-15T16:09:24.164Z] 1469e6f7b9e6: Waiting [2023-03-15T16:09:24.164Z] eaf3925da568: Waiting [2023-03-15T16:09:24.164Z] 5851b861e8e6: Waiting [2023-03-15T16:09:24.164Z] e2be974225ed: Download complete [2023-03-15T16:09:24.164Z] 988bab9f4d93: Download complete [2023-03-15T16:09:24.424Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T16:09:24.424Z] 1469e6f7b9e6: Download complete [2023-03-15T16:09:24.424Z] eaf3925da568: Verifying Checksum [2023-03-15T16:09:24.424Z] eaf3925da568: Download complete [2023-03-15T16:09:24.424Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T16:09:24.424Z] 339a4e72a1f5: Download complete [2023-03-15T16:09:24.424Z] bde34c3a00c8: Verifying Checksum [2023-03-15T16:09:24.424Z] bde34c3a00c8: Download complete [2023-03-15T16:09:24.424Z] b352a97aabf1: Verifying Checksum [2023-03-15T16:09:24.424Z] 4872d77fe225: Verifying Checksum [2023-03-15T16:09:24.424Z] 4872d77fe225: Download complete [2023-03-15T16:09:24.424Z] 5851b861e8e6: Verifying Checksum [2023-03-15T16:09:24.424Z] b85a868b505f: Verifying Checksum [2023-03-15T16:09:24.424Z] b85a868b505f: Download complete [2023-03-15T16:09:25.017Z] bab4dde63d76: Download complete [2023-03-15T16:09:25.595Z] b85a868b505f: Pull complete [2023-03-15T16:09:26.074Z] e2be974225ed: Pull complete [2023-03-15T16:09:26.335Z] 339a4e72a1f5: Pull complete [2023-03-15T16:09:26.335Z] 988bab9f4d93: Pull complete [2023-03-15T16:09:26.593Z] 1469e6f7b9e6: Pull complete [2023-03-15T16:09:26.593Z] eaf3925da568: Pull complete [2023-03-15T16:09:28.496Z] bab4dde63d76: Pull complete [2023-03-15T16:09:28.497Z] bde34c3a00c8: Pull complete [2023-03-15T16:09:28.497Z] b352a97aabf1: Pull complete [2023-03-15T16:09:28.497Z] 4872d77fe225: Pull complete [2023-03-15T16:09:28.756Z] 5851b861e8e6: Pull complete [2023-03-15T16:09:28.756Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T16:09:28.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:09:28.756Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:09:28.857Z] prd-ubuntu20.04-docker-8c-8g-849 does not seem to be running inside a container [2023-03-15T16:09:28.889Z] $ 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-15T16:09:30.222Z] $ docker top 8df5c3584b926ca3233ac7520fde8cf451f25237e780dcc665aea4a067f2225d -eo pid,comm [2023-03-15T16:09:30.285Z] 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-15T16:09:30.285Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T16:09:30.327Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:09:30.327Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:09:30.444Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:09:30.447Z] $ docker exec 8df5c3584b926ca3233ac7520fde8cf451f25237e780dcc665aea4a067f2225d ssh-agent [2023-03-15T16:09:30.570Z] SSH_AUTH_SOCK=/tmp/ssh-pIizM5uwXY5S/agent.33 [2023-03-15T16:09:30.570Z] SSH_AGENT_PID=39 [2023-03-15T16:09:30.578Z] Running ssh-add (command line suppressed) [2023-03-15T16:09:30.682Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12022249082051831488.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12022249082051831488.key) [2023-03-15T16:09:30.697Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:09:30.990Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T16:09:31.002Z] $ docker exec --env ******** --env ******** 8df5c3584b926ca3233ac7520fde8cf451f25237e780dcc665aea4a067f2225d ssh-agent -k [2023-03-15T16:09:31.111Z] unset SSH_AUTH_SOCK; [2023-03-15T16:09:31.112Z] unset SSH_AGENT_PID; [2023-03-15T16:09:31.112Z] echo Agent pid 39 killed; [2023-03-15T16:09:31.122Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T16:09:31.147Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:09:31.147Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:09:31.251Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:09:31.253Z] $ docker exec 8df5c3584b926ca3233ac7520fde8cf451f25237e780dcc665aea4a067f2225d ssh-agent [2023-03-15T16:09:31.366Z] SSH_AUTH_SOCK=/tmp/ssh-lNrhl3JwxGwt/agent.71 [2023-03-15T16:09:31.366Z] SSH_AGENT_PID=77 [2023-03-15T16:09:31.371Z] Running ssh-add (command line suppressed) [2023-03-15T16:09:31.471Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11792793319001532144.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11792793319001532144.key) [2023-03-15T16:09:31.487Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:09:31.774Z] + git semver init [2023-03-15T16:09:32.034Z] 2023-03-15 16:09:31,962 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T16:09:32.034Z] 2023-03-15 16:09:31,963 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-03-15T16:09:32.034Z] 2023-03-15 16:09:31,963 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-03-15T16:09:32.034Z] 2023-03-15 16:09:31,964 [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-15T16:09:32.971Z] 2023-03-15 16:09:32,752 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-03-15T16:09:32.971Z] 2023-03-15 16:09:32,752 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-03-15T16:09:32.971Z] 2023-03-15 16:09:32,752 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-15T16:09:32.971Z] 2023-03-15 16:09:32,752 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-15T16:09:32.971Z] 3.0.0-dev.18 [Pipeline] } [2023-03-15T16:09:32.981Z] $ docker exec --env ******** --env ******** 8df5c3584b926ca3233ac7520fde8cf451f25237e780dcc665aea4a067f2225d ssh-agent -k [2023-03-15T16:09:33.080Z] unset SSH_AUTH_SOCK; [2023-03-15T16:09:33.081Z] unset SSH_AGENT_PID; [2023-03-15T16:09:33.081Z] echo Agent pid 77 killed; [2023-03-15T16:09:33.091Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T16:09:33.408Z] + git semver [Pipeline] } [2023-03-15T16:09:33.679Z] $ docker stop --time=1 8df5c3584b926ca3233ac7520fde8cf451f25237e780dcc665aea4a067f2225d [2023-03-15T16:09:35.021Z] $ docker rm -f --volumes 8df5c3584b926ca3233ac7520fde8cf451f25237e780dcc665aea4a067f2225d [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:09:35.411Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T16:09:35.622Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T16:09:35.624Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.18 [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-15T16:09:35.724Z] provisioning config files... [2023-03-15T16:09:35.733Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14037051973412912338tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:09:36.030Z] ---> docker-login.sh [2023-03-15T16:09:36.030Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:09:36.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:09:36.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:09:36.030Z] Configure a credential helper to remove this warning. See [2023-03-15T16:09:36.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:09:36.030Z] [2023-03-15T16:09:36.030Z] Login Succeeded [2023-03-15T16:09:36.030Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:09:36.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:09:36.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:09:36.030Z] Configure a credential helper to remove this warning. See [2023-03-15T16:09:36.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:09:36.030Z] [2023-03-15T16:09:36.030Z] Login Succeeded [2023-03-15T16:09:36.030Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:09:36.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:09:36.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:09:36.289Z] Configure a credential helper to remove this warning. See [2023-03-15T16:09:36.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:09:36.289Z] [2023-03-15T16:09:36.289Z] Login Succeeded [2023-03-15T16:09:36.289Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:09:36.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:09:36.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:09:36.289Z] Configure a credential helper to remove this warning. See [2023-03-15T16:09:36.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:09:36.289Z] [2023-03-15T16:09:36.289Z] Login Succeeded [2023-03-15T16:09:36.289Z] docker.io [2023-03-15T16:09:36.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:09:36.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:09:36.549Z] Configure a credential helper to remove this warning. See [2023-03-15T16:09:36.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:09:36.549Z] [2023-03-15T16:09:36.549Z] Login Succeeded [2023-03-15T16:09:36.549Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:09:36.555Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T16:09:36.616Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:09:36.628Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:09:36.637Z] ========================================================= [2023-03-15T16:09:36.637Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T16:09:36.637Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:09:36.943Z] + 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-15T16:09:36.943Z] Sending build context to Docker daemon 6.354MB [2023-03-15T16:09:36.943Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:09:36.943Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-15T16:09:36.943Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T16:09:36.943Z] 63b65145d645: Pulling fs layer [2023-03-15T16:09:36.943Z] a2d21d5440eb: Pulling fs layer [2023-03-15T16:09:36.943Z] 935e6c44a52c: Pulling fs layer [2023-03-15T16:09:36.943Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T16:09:36.943Z] 30dea6a524f1: Pulling fs layer [2023-03-15T16:09:36.943Z] a2aff8979fd8: Pulling fs layer [2023-03-15T16:09:36.943Z] 6808be2612f2: Pulling fs layer [2023-03-15T16:09:36.943Z] f25807f1079a: Pulling fs layer [2023-03-15T16:09:36.943Z] 94cc34f8dd06: Waiting [2023-03-15T16:09:36.943Z] 30dea6a524f1: Waiting [2023-03-15T16:09:36.943Z] 6808be2612f2: Waiting [2023-03-15T16:09:36.943Z] a2aff8979fd8: Waiting [2023-03-15T16:09:36.943Z] f25807f1079a: Waiting [2023-03-15T16:09:36.943Z] a2d21d5440eb: Download complete [2023-03-15T16:09:36.943Z] 94cc34f8dd06: Verifying Checksum [2023-03-15T16:09:36.943Z] 94cc34f8dd06: Download complete [2023-03-15T16:09:37.204Z] 63b65145d645: Verifying Checksum [2023-03-15T16:09:37.204Z] 63b65145d645: Download complete [2023-03-15T16:09:37.204Z] a2aff8979fd8: Verifying Checksum [2023-03-15T16:09:37.204Z] a2aff8979fd8: Download complete [2023-03-15T16:09:37.204Z] 63b65145d645: Pull complete [2023-03-15T16:09:37.465Z] a2d21d5440eb: Pull complete [2023-03-15T16:09:37.465Z] f25807f1079a: Verifying Checksum [2023-03-15T16:09:37.465Z] f25807f1079a: Download complete [2023-03-15T16:09:37.725Z] 935e6c44a52c: Download complete [2023-03-15T16:09:37.984Z] 6808be2612f2: Download complete [2023-03-15T16:09:41.270Z] 935e6c44a52c: Pull complete [2023-03-15T16:09:41.270Z] 94cc34f8dd06: Pull complete [2023-03-15T16:09:41.270Z] 30dea6a524f1: Pull complete [2023-03-15T16:09:41.270Z] a2aff8979fd8: Pull complete [2023-03-15T16:09:43.805Z] 6808be2612f2: Pull complete [2023-03-15T16:09:44.373Z] f25807f1079a: Pull complete [2023-03-15T16:09:44.373Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T16:09:44.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T16:09:44.373Z] ---> 3b553350e43f [2023-03-15T16:09:44.373Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:09:45.750Z] ---> Running in 4c9c3c19e1c7 [2023-03-15T16:09:46.009Z] Removing intermediate container 4c9c3c19e1c7 [2023-03-15T16:09:46.009Z] ---> 27453712af53 [2023-03-15T16:09:46.009Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:09:46.009Z] ---> Running in c8729b34cb92 [2023-03-15T16:09:46.009Z] Removing intermediate container c8729b34cb92 [2023-03-15T16:09:46.009Z] ---> b0b59c5729e4 [2023-03-15T16:09:46.009Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-15T16:09:46.009Z] ---> Running in 88eda7c8bc38 [2023-03-15T16:09:46.579Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:09:46.579Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:09:46.838Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T16:09:46.838Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-03-15T16:09:46.838Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T16:09:46.838Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T16:09:46.838Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-03-15T16:09:46.838Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-03-15T16:09:46.838Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-03-15T16:09:46.838Z] (8/8) Installing openssh (9.1_p1-r2) [2023-03-15T16:09:46.838Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:09:46.838Z] OK: 270 MiB in 61 packages [2023-03-15T16:09:47.776Z] Removing intermediate container 88eda7c8bc38 [2023-03-15T16:09:47.776Z] ---> 8bcc189d879f [2023-03-15T16:09:47.776Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-15T16:09:47.776Z] ---> Running in e84770b76372 [2023-03-15T16:09:47.776Z] Removing intermediate container e84770b76372 [2023-03-15T16:09:47.776Z] ---> 9439adf39ef2 [2023-03-15T16:09:47.776Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-15T16:09:48.035Z] ---> a9068bdaf94c [2023-03-15T16:09:48.035Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:09:48.035Z] ---> Running in 148d6571fa08 [2023-03-15T16:09:50.698Z] Still waiting to schedule task [2023-03-15T16:09:50.698Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T16:10:10.036Z] Removing intermediate container 148d6571fa08 [2023-03-15T16:10:10.036Z] ---> c1f49e68feba [2023-03-15T16:10:10.036Z] Step 9/10 : COPY . . [2023-03-15T16:10:10.036Z] ---> 309b620a3fa9 [2023-03-15T16:10:10.036Z] Step 10/10 : RUN ${MAKE} [2023-03-15T16:10:10.036Z] ---> Running in 6431f8c0b7cc [2023-03-15T16:10:10.036Z] noop [2023-03-15T16:10:10.036Z] Removing intermediate container 6431f8c0b7cc [2023-03-15T16:10:10.036Z] ---> 235116c9fa9a [2023-03-15T16:10:10.036Z] Successfully built 235116c9fa9a [2023-03-15T16:10:10.036Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:10:10.357Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T16:10:10.357Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:10:10.430Z] prd-ubuntu20.04-docker-8c-8g-849 does not seem to be running inside a container [2023-03-15T16:10:10.458Z] $ 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-15T16:10:10.822Z] $ docker top 9eaa219e802a5176ba7483867ac9eeb3e32e715f0f7035b606348e69ac0bde80 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:10:11.156Z] + go version [2023-03-15T16:10:11.156Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T16:10:11.165Z] $ docker stop --time=1 9eaa219e802a5176ba7483867ac9eeb3e32e715f0f7035b606348e69ac0bde80 [2023-03-15T16:10:12.461Z] $ docker rm -f --volumes 9eaa219e802a5176ba7483867ac9eeb3e32e715f0f7035b606348e69ac0bde80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:10:12.854Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T16:10:12.854Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:10:12.920Z] prd-ubuntu20.04-docker-8c-8g-849 does not seem to be running inside a container [2023-03-15T16:10:12.953Z] $ 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-15T16:10:13.271Z] $ docker top c04dd0b277e9a1aa6069d442e6663dac402d679f5b1a0598e52b1aae83409f77 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:10:13.608Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-15T16:10:13.903Z] + make test [2023-03-15T16:10:13.903Z] go test ./... -coverprofile=coverage.out [2023-03-15T16:10:18.098Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-15T16:10:28.073Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-03-15T16:10:28.073Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 48.0% of statements [2023-03-15T16:10:34.639Z] go vet ./... [2023-03-15T16:10:37.917Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T16:10:37.917Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T16:10:37.917Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T16:10:37.926Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T16:10:37.934Z] $ docker stop --time=1 c04dd0b277e9a1aa6069d442e6663dac402d679f5b1a0598e52b1aae83409f77 [2023-03-15T16:10:40.272Z] $ docker rm -f --volumes c04dd0b277e9a1aa6069d442e6663dac402d679f5b1a0598e52b1aae83409f77 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:10:40.712Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T16:10:40.760Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-15T16:10:41.273Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T16:10:41.562Z] + ls -al . [2023-03-15T16:10:41.562Z] total 180 [2023-03-15T16:10:41.562Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:10 . [2023-03-15T16:10:41.562Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:09 .. [2023-03-15T16:10:41.562Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 16:09 .dockerignore [2023-03-15T16:10:41.562Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:09 .git [2023-03-15T16:10:41.562Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:09 .github [2023-03-15T16:10:41.562Z] -rw-rw-r-- 1 jenkins jenkins 331 Mar 15 16:09 .gitignore [2023-03-15T16:10:41.562Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:09 .golangci.yml [2023-03-15T16:10:41.562Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:09 .semver [2023-03-15T16:10:41.562Z] -rw-rw-r-- 1 jenkins jenkins 10236 Mar 15 16:09 Attribution.txt [2023-03-15T16:10:41.562Z] -rw-rw-r-- 1 jenkins jenkins 11576 Mar 15 16:09 CHANGELOG.md [2023-03-15T16:10:41.562Z] -rw-rw-r-- 1 jenkins jenkins 1365 Mar 15 16:09 Dockerfile [2023-03-15T16:10:41.562Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:09 GOVERNANCE.md [2023-03-15T16:10:41.562Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 16:09 Jenkinsfile [2023-03-15T16:10:41.562Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:09 LICENSE [2023-03-15T16:10:41.562Z] -rw-rw-r-- 1 jenkins jenkins 1705 Mar 15 16:09 Makefile [2023-03-15T16:10:41.562Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 15 16:09 OWNERS.md [2023-03-15T16:10:41.562Z] -rw-rw-r-- 1 jenkins jenkins 4061 Mar 15 16:09 README.md [2023-03-15T16:10:41.562Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 16:09 VERSION [2023-03-15T16:10:41.562Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:09 bin [2023-03-15T16:10:41.562Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:09 cmd [2023-03-15T16:10:41.562Z] -rw-r--r-- 1 jenkins jenkins 23736 Mar 15 16:10 coverage.out [2023-03-15T16:10:41.562Z] -rw-rw-r-- 1 jenkins jenkins 3497 Mar 15 16:09 go.mod [2023-03-15T16:10:41.562Z] -rw-rw-r-- 1 jenkins jenkins 31641 Mar 15 16:09 go.sum [2023-03-15T16:10:41.562Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:09 internal [2023-03-15T16:10:41.562Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:09 simulator [2023-03-15T16:10:41.562Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:09 snap [2023-03-15T16:10:41.562Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 15 16:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:10:41.857Z] + 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=8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d --label arch=amd64 --label version=3.0.0-dev.18 . [2023-03-15T16:10:41.857Z] Sending build context to Docker daemon 6.378MB [2023-03-15T16:10:41.857Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:10:41.857Z] Step 2/22 : FROM ${BASE} AS builder [2023-03-15T16:10:41.857Z] ---> 235116c9fa9a [2023-03-15T16:10:41.857Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:10:41.857Z] ---> Running in 03f587b278cd [2023-03-15T16:10:42.115Z] Removing intermediate container 03f587b278cd [2023-03-15T16:10:42.115Z] ---> e8b67ac74114 [2023-03-15T16:10:42.115Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:10:42.115Z] ---> Running in 2ca1a44dfa65 [2023-03-15T16:10:42.115Z] Removing intermediate container 2ca1a44dfa65 [2023-03-15T16:10:42.115Z] ---> 6bc77f028fa7 [2023-03-15T16:10:42.115Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-03-15T16:10:42.115Z] ---> Running in f1d494b03b22 [2023-03-15T16:10:42.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:10:42.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:10:43.006Z] OK: 270 MiB in 61 packages [2023-03-15T16:10:43.287Z] Removing intermediate container f1d494b03b22 [2023-03-15T16:10:43.287Z] ---> 5871ff3ec931 [2023-03-15T16:10:43.287Z] Step 6/22 : WORKDIR /device-modbus-go [2023-03-15T16:10:43.287Z] ---> Running in 02dbc3745b58 [2023-03-15T16:10:43.559Z] Removing intermediate container 02dbc3745b58 [2023-03-15T16:10:43.559Z] ---> eb6db7af05a8 [2023-03-15T16:10:43.559Z] Step 7/22 : COPY go.mod vendor* ./ [2023-03-15T16:10:43.559Z] ---> e5e6ca0f2f3e [2023-03-15T16:10:43.559Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:10:43.559Z] ---> Running in 571f3e84116b [2023-03-15T16:10:44.500Z] Removing intermediate container 571f3e84116b [2023-03-15T16:10:44.500Z] ---> 56158b085c7a [2023-03-15T16:10:44.500Z] Step 9/22 : COPY . . [2023-03-15T16:10:44.758Z] ---> c7158c980895 [2023-03-15T16:10:44.758Z] Step 10/22 : RUN ${MAKE} [2023-03-15T16:10:44.758Z] ---> Running in 2d2b50e56196 [2023-03-15T16:10:45.016Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.18" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-03-15T16:11:03.190Z] Removing intermediate container 2d2b50e56196 [2023-03-15T16:11:03.190Z] ---> 26e744fe660a [2023-03-15T16:11:03.190Z] Step 11/22 : FROM alpine:3.17 [2023-03-15T16:11:03.190Z] 3.17: Pulling from library/alpine [2023-03-15T16:11:03.190Z] 63b65145d645: Already exists [2023-03-15T16:11:03.190Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T16:11:03.190Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T16:11:03.190Z] ---> b2aa39c304c2 [2023-03-15T16:11:03.190Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-03-15T16:11:03.190Z] ---> Running in 88fd08ff2fec [2023-03-15T16:11:03.190Z] Removing intermediate container 88fd08ff2fec [2023-03-15T16:11:03.190Z] ---> aa907b4eb891 [2023-03-15T16:11:03.190Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-03-15T16:11:03.190Z] ---> Running in 680b8b08e97a [2023-03-15T16:11:03.190Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:11:03.190Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:11:03.190Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T16:11:03.190Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:11:03.190Z] OK: 7 MiB in 16 packages [2023-03-15T16:11:03.449Z] Removing intermediate container 680b8b08e97a [2023-03-15T16:11:03.449Z] ---> 523645042093 [2023-03-15T16:11:03.449Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-03-15T16:11:04.015Z] ---> c6fefaf8ae26 [2023-03-15T16:11:04.015Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-03-15T16:11:04.274Z] ---> 561babdc7fdc [2023-03-15T16:11:04.274Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-03-15T16:11:04.274Z] ---> 43a361eb1d5b [2023-03-15T16:11:04.274Z] Step 17/22 : EXPOSE 59901 [2023-03-15T16:11:04.542Z] ---> Running in c27e4b81d00f [2023-03-15T16:11:04.542Z] Removing intermediate container c27e4b81d00f [2023-03-15T16:11:04.542Z] ---> bf5faa8a08e4 [2023-03-15T16:11:04.542Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-03-15T16:11:04.542Z] ---> Running in 3bfc116e171b [2023-03-15T16:11:04.542Z] Removing intermediate container 3bfc116e171b [2023-03-15T16:11:04.542Z] ---> 35d83e34f14f [2023-03-15T16:11:04.542Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-15T16:11:04.801Z] ---> Running in 63d44347ce1f [2023-03-15T16:11:04.801Z] Removing intermediate container 63d44347ce1f [2023-03-15T16:11:04.801Z] ---> fbd1db27c500 [2023-03-15T16:11:04.801Z] Step 20/22 : LABEL arch=amd64 [2023-03-15T16:11:04.801Z] ---> Running in aacfe6acbc3f [2023-03-15T16:11:04.801Z] Removing intermediate container aacfe6acbc3f [2023-03-15T16:11:04.801Z] ---> e9ca61324dee [2023-03-15T16:11:04.801Z] Step 21/22 : LABEL git_sha=8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d [2023-03-15T16:11:04.801Z] ---> Running in 170bf2bc2fa2 [2023-03-15T16:11:05.062Z] Removing intermediate container 170bf2bc2fa2 [2023-03-15T16:11:05.062Z] ---> 0f8884c514fd [2023-03-15T16:11:05.062Z] Step 22/22 : LABEL version=3.0.0-dev.18 [2023-03-15T16:11:05.062Z] ---> Running in 53001855cbe3 [2023-03-15T16:11:05.062Z] Removing intermediate container 53001855cbe3 [2023-03-15T16:11:05.062Z] ---> 475f7eb8e135 [2023-03-15T16:11:05.062Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T16:11:05.062Z] Successfully built 475f7eb8e135 [2023-03-15T16:11:05.320Z] 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-15T16:11:05.423Z] provisioning config files... [2023-03-15T16:11:05.432Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1995579556889015276tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:11:05.729Z] ---> docker-login.sh [2023-03-15T16:11:05.729Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:11:05.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:05.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:05.729Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:05.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:05.729Z] [2023-03-15T16:11:05.729Z] Login Succeeded [2023-03-15T16:11:05.729Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:11:05.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:05.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:05.729Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:05.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:05.729Z] [2023-03-15T16:11:05.729Z] Login Succeeded [2023-03-15T16:11:05.729Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:11:05.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:05.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:05.989Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:05.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:05.989Z] [2023-03-15T16:11:05.989Z] Login Succeeded [2023-03-15T16:11:05.989Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:11:05.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:05.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:05.989Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:05.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:05.989Z] [2023-03-15T16:11:05.989Z] Login Succeeded [2023-03-15T16:11:05.989Z] docker.io [2023-03-15T16:11:06.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:06.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:06.248Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:06.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:06.248Z] [2023-03-15T16:11:06.248Z] Login Succeeded [2023-03-15T16:11:06.248Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:11:06.254Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T16:11:06.279Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:11:06.302Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-03-15T16:11:06.302Z] 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d [2023-03-15T16:11:06.302Z] latest [2023-03-15T16:11:06.302Z] 3.0.0-dev.18 [2023-03-15T16:11:06.302Z] 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d-3.0.0-dev.18 [2023-03-15T16:11:06.302Z] main [2023-03-15T16:11:06.302Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:11:06.620Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:11:06.929Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d [2023-03-15T16:11:06.929Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-15T16:11:06.929Z] a4183b1b1eab: Preparing [2023-03-15T16:11:06.929Z] 599837ff6fe6: Preparing [2023-03-15T16:11:06.929Z] 665277b5d31d: Preparing [2023-03-15T16:11:06.929Z] 28b84a0a3c51: Preparing [2023-03-15T16:11:06.929Z] 7cd52847ad77: Preparing [2023-03-15T16:11:06.929Z] 7cd52847ad77: Layer already exists [2023-03-15T16:11:06.929Z] a4183b1b1eab: Pushed [2023-03-15T16:11:06.929Z] 28b84a0a3c51: Pushed [2023-03-15T16:11:06.929Z] 599837ff6fe6: Pushed [2023-03-15T16:11:09.459Z] 665277b5d31d: Pushed [2023-03-15T16:11:09.459Z] 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d: digest: sha256:483e502ec159da54f7bdf22627eddc4487a4b58a5c699cd74bca6dfb0f7e0651 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:11:09.765Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:11:10.068Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-03-15T16:11:10.068Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-15T16:11:10.068Z] a4183b1b1eab: Preparing [2023-03-15T16:11:10.068Z] 599837ff6fe6: Preparing [2023-03-15T16:11:10.068Z] 665277b5d31d: Preparing [2023-03-15T16:11:10.068Z] 28b84a0a3c51: Preparing [2023-03-15T16:11:10.068Z] 7cd52847ad77: Preparing [2023-03-15T16:11:10.068Z] 665277b5d31d: Layer already exists [2023-03-15T16:11:10.068Z] 599837ff6fe6: Layer already exists [2023-03-15T16:11:10.068Z] 7cd52847ad77: Layer already exists [2023-03-15T16:11:10.068Z] a4183b1b1eab: Layer already exists [2023-03-15T16:11:10.068Z] 28b84a0a3c51: Layer already exists [2023-03-15T16:11:10.068Z] latest: digest: sha256:483e502ec159da54f7bdf22627eddc4487a4b58a5c699cd74bca6dfb0f7e0651 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:11:10.376Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:11:10.679Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.18 [2023-03-15T16:11:10.679Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-15T16:11:10.679Z] a4183b1b1eab: Preparing [2023-03-15T16:11:10.679Z] 599837ff6fe6: Preparing [2023-03-15T16:11:10.679Z] 665277b5d31d: Preparing [2023-03-15T16:11:10.679Z] 28b84a0a3c51: Preparing [2023-03-15T16:11:10.679Z] 7cd52847ad77: Preparing [2023-03-15T16:11:10.679Z] 665277b5d31d: Layer already exists [2023-03-15T16:11:10.679Z] 599837ff6fe6: Layer already exists [2023-03-15T16:11:10.679Z] 28b84a0a3c51: Layer already exists [2023-03-15T16:11:10.679Z] 7cd52847ad77: Layer already exists [2023-03-15T16:11:10.679Z] a4183b1b1eab: Layer already exists [2023-03-15T16:11:10.679Z] 3.0.0-dev.18: digest: sha256:483e502ec159da54f7bdf22627eddc4487a4b58a5c699cd74bca6dfb0f7e0651 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:11:10.996Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d-3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:11:11.313Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d-3.0.0-dev.18 [2023-03-15T16:11:11.313Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-15T16:11:11.313Z] a4183b1b1eab: Preparing [2023-03-15T16:11:11.313Z] 599837ff6fe6: Preparing [2023-03-15T16:11:11.313Z] 665277b5d31d: Preparing [2023-03-15T16:11:11.313Z] 28b84a0a3c51: Preparing [2023-03-15T16:11:11.313Z] 7cd52847ad77: Preparing [2023-03-15T16:11:11.313Z] 7cd52847ad77: Layer already exists [2023-03-15T16:11:11.313Z] 665277b5d31d: Layer already exists [2023-03-15T16:11:11.313Z] 28b84a0a3c51: Layer already exists [2023-03-15T16:11:11.313Z] 599837ff6fe6: Layer already exists [2023-03-15T16:11:11.313Z] a4183b1b1eab: Layer already exists [2023-03-15T16:11:11.313Z] 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d-3.0.0-dev.18: digest: sha256:483e502ec159da54f7bdf22627eddc4487a4b58a5c699cd74bca6dfb0f7e0651 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:11:11.625Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:11:11.936Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-03-15T16:11:11.936Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-15T16:11:11.936Z] a4183b1b1eab: Preparing [2023-03-15T16:11:11.936Z] 599837ff6fe6: Preparing [2023-03-15T16:11:11.936Z] 665277b5d31d: Preparing [2023-03-15T16:11:11.936Z] 28b84a0a3c51: Preparing [2023-03-15T16:11:11.936Z] 7cd52847ad77: Preparing [2023-03-15T16:11:11.936Z] 665277b5d31d: Layer already exists [2023-03-15T16:11:11.936Z] 7cd52847ad77: Layer already exists [2023-03-15T16:11:11.936Z] 28b84a0a3c51: Layer already exists [2023-03-15T16:11:11.936Z] 599837ff6fe6: Layer already exists [2023-03-15T16:11:11.936Z] a4183b1b1eab: Layer already exists [2023-03-15T16:11:11.936Z] main: digest: sha256:483e502ec159da54f7bdf22627eddc4487a4b58a5c699cd74bca6dfb0f7e0651 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T16:11:11.987Z] ===================================================== [Pipeline] echo [2023-03-15T16:11:12.001Z] taggedImages: [2023-03-15T16:11:12.001Z] - nexus3.edgexfoundry.org:10004/device-modbus:8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d [2023-03-15T16:11:12.001Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-03-15T16:11:12.001Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.18 [2023-03-15T16:11:12.001Z] - nexus3.edgexfoundry.org:10004/device-modbus:8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d-3.0.0-dev.18 [2023-03-15T16:11:12.001Z] - 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-15T16:11:12.368Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:11:12.368Z] [2023-03-15T16:11:12.368Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:11:12.680Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:11:12.680Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T16:11:12.680Z] 5eb5b503b376: Pulling fs layer [2023-03-15T16:11:12.680Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T16:11:12.680Z] ec43610c2a17: Pulling fs layer [2023-03-15T16:11:12.680Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T16:11:12.680Z] 33b1e0a273af: Pulling fs layer [2023-03-15T16:11:12.680Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T16:11:12.680Z] 2f39f015ded8: Pulling fs layer [2023-03-15T16:11:12.680Z] 33b1e0a273af: Waiting [2023-03-15T16:11:12.680Z] 5d3b04190fa2: Waiting [2023-03-15T16:11:12.680Z] 2f39f015ded8: Waiting [2023-03-15T16:11:12.680Z] 3a2ae6a8a46f: Waiting [2023-03-15T16:11:12.680Z] 5c69ac0246d0: Download complete [2023-03-15T16:11:12.680Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-15T16:11:12.680Z] 3a2ae6a8a46f: Download complete [2023-03-15T16:11:12.680Z] 33b1e0a273af: Verifying Checksum [2023-03-15T16:11:12.680Z] 33b1e0a273af: Download complete [2023-03-15T16:11:12.940Z] 5d3b04190fa2: Download complete [2023-03-15T16:11:12.940Z] ec43610c2a17: Verifying Checksum [2023-03-15T16:11:12.940Z] ec43610c2a17: Download complete [2023-03-15T16:11:12.940Z] 5eb5b503b376: Verifying Checksum [2023-03-15T16:11:12.940Z] 5eb5b503b376: Download complete [2023-03-15T16:11:13.510Z] 2f39f015ded8: Download complete [2023-03-15T16:11:14.079Z] 5eb5b503b376: Pull complete [2023-03-15T16:11:14.337Z] 5c69ac0246d0: Pull complete [2023-03-15T16:11:14.906Z] ec43610c2a17: Pull complete [2023-03-15T16:11:14.906Z] 3a2ae6a8a46f: Pull complete [2023-03-15T16:11:14.906Z] 33b1e0a273af: Pull complete [2023-03-15T16:11:14.906Z] 5d3b04190fa2: Pull complete [2023-03-15T16:11:19.088Z] 2f39f015ded8: Pull complete [2023-03-15T16:11:19.088Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T16:11:19.088Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:11:19.088Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:11:19.165Z] prd-ubuntu20.04-docker-8c-8g-849 does not seem to be running inside a container [2023-03-15T16:11:19.199Z] $ 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-15T16:11:20.843Z] $ docker top 570aec6e2b56538e29d0e7552af7920ec8e1a6d095aa8df038d5ad09df709d14 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:11:21.209Z] ---> job-cost.sh [2023-03-15T16:11:21.209Z] lf-activate-venv: SKIPPING [2023-03-15T16:11:21.209Z] INFO: No Stack... [2023-03-15T16:11:21.471Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T16:11:21.734Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T16:11:22.029Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-03-15T16:11:22.029Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T16:11:22.039Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-84-stack-cost] [2023-03-15T16:11:22.045Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-84-stack-cost] did not exist. Created. [2023-03-15T16:11:22.045Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-84-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T16:11:22.344Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T16:11:22.373Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T16:11:22.379Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-84-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T16:11:22.394Z] $ docker stop --time=1 570aec6e2b56538e29d0e7552af7920ec8e1a6d095aa8df038d5ad09df709d14 [2023-03-15T16:11:23.565Z] $ docker rm -f --volumes 570aec6e2b56538e29d0e7552af7920ec8e1a6d095aa8df038d5ad09df709d14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T16:12:35.264Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-858 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-03-15T16:12:35.278Z] Running in /w/workspace/device-modbus-go/84 [Pipeline] { [Pipeline] checkout [2023-03-15T16:12:35.321Z] Selected Git installation does not exist. Using Default [2023-03-15T16:12:35.321Z] The recommended git tool is: NONE [2023-03-15T16:12:42.372Z] using credential edgex-jenkins-ssh [2023-03-15T16:12:42.393Z] Cloning the remote Git repository [2023-03-15T16:12:42.449Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-03-15T16:12:42.558Z] > git init /w/workspace/device-modbus-go/84 # timeout=10 [2023-03-15T16:12:42.731Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-03-15T16:12:42.733Z] > git --version # timeout=10 [2023-03-15T16:12:42.757Z] > git --version # 'git version 2.25.1' [2023-03-15T16:12:42.760Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T16:12:42.964Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T16:12:44.120Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-03-15T16:12:44.142Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T16:12:45.075Z] Avoid second fetch [2023-03-15T16:12:45.075Z] Checking out Revision 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d (main) [2023-03-15T16:12:45.703Z] Commit message: "ci: Change dependabot gomod schedule to daily (#429)" [2023-03-15T16:12:45.096Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T16:12:45.183Z] > git checkout -f 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:12:46.688Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T16:12:46.688Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T16:12:46.688Z] Dload Upload Total Spent Left Speed [2023-03-15T16:12:46.688Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh [2023-03-15T16:12:47.378Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T16:12:47.716Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T16:12:47.716Z] + sudo tee /etc/docker/daemon.new [2023-03-15T16:12:47.716Z] { [2023-03-15T16:12:47.716Z] "registry-mirrors": [ [2023-03-15T16:12:47.716Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T16:12:47.716Z] ], [2023-03-15T16:12:47.716Z] "bip": "10.250.0.254/24", [2023-03-15T16:12:47.716Z] "hosts": [ [2023-03-15T16:12:47.716Z] "tcp://0.0.0.0:5555", [2023-03-15T16:12:47.716Z] "unix:///var/run/docker.sock" [2023-03-15T16:12:47.716Z] ], [2023-03-15T16:12:47.716Z] "mtu": 1458, [2023-03-15T16:12:47.716Z] "selinux-enabled": true, [2023-03-15T16:12:47.716Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T16:12:47.716Z] } [Pipeline] sh [2023-03-15T16:12:48.060Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T16:12:48.407Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:13:07.037Z] provisioning config files... [2023-03-15T16:13:07.072Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/84@tmp/config16519263032350669242tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:13:07.463Z] ---> docker-login.sh [2023-03-15T16:13:07.463Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:13:08.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:13:08.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:13:08.723Z] Configure a credential helper to remove this warning. See [2023-03-15T16:13:08.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:13:08.723Z] [2023-03-15T16:13:08.723Z] Login Succeeded [2023-03-15T16:13:08.723Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:13:08.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:13:08.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:13:08.994Z] Configure a credential helper to remove this warning. See [2023-03-15T16:13:08.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:13:08.994Z] [2023-03-15T16:13:08.994Z] Login Succeeded [2023-03-15T16:13:08.994Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:13:09.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:13:09.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:13:09.545Z] Configure a credential helper to remove this warning. See [2023-03-15T16:13:09.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:13:09.545Z] [2023-03-15T16:13:09.545Z] Login Succeeded [2023-03-15T16:13:09.545Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:13:09.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:13:09.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:13:09.820Z] Configure a credential helper to remove this warning. See [2023-03-15T16:13:09.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:13:09.820Z] [2023-03-15T16:13:09.820Z] Login Succeeded [2023-03-15T16:13:09.820Z] docker.io [2023-03-15T16:13:10.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:13:10.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:13:10.379Z] Configure a credential helper to remove this warning. See [2023-03-15T16:13:10.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:13:10.379Z] [2023-03-15T16:13:10.379Z] Login Succeeded [2023-03-15T16:13:10.379Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:13:10.401Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T16:13:10.786Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:13:10.799Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:13:10.807Z] ========================================================= [2023-03-15T16:13:10.807Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T16:13:10.807Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:13:11.178Z] + 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-15T16:13:11.451Z] Sending build context to Docker daemon 3.317MB [2023-03-15T16:13:11.723Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:13:11.723Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-15T16:13:11.999Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T16:13:11.999Z] af6eaf76a39c: Pulling fs layer [2023-03-15T16:13:11.999Z] 55522c791124: Pulling fs layer [2023-03-15T16:13:11.999Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T16:13:11.999Z] 169dfbe0d373: Pulling fs layer [2023-03-15T16:13:11.999Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T16:13:11.999Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T16:13:11.999Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T16:13:11.999Z] 169dfbe0d373: Waiting [2023-03-15T16:13:11.999Z] 52ebb69f0ebf: Waiting [2023-03-15T16:13:11.999Z] 5abe8eddf0d5: Waiting [2023-03-15T16:13:11.999Z] e1ff8fa3b103: Waiting [2023-03-15T16:13:11.999Z] 55522c791124: Verifying Checksum [2023-03-15T16:13:11.999Z] 55522c791124: Download complete [2023-03-15T16:13:11.999Z] 169dfbe0d373: Verifying Checksum [2023-03-15T16:13:11.999Z] 169dfbe0d373: Download complete [2023-03-15T16:13:11.999Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T16:13:11.999Z] e1ff8fa3b103: Download complete [2023-03-15T16:13:11.999Z] af6eaf76a39c: Verifying Checksum [2023-03-15T16:13:11.999Z] af6eaf76a39c: Download complete [2023-03-15T16:13:13.438Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T16:13:13.438Z] af6eaf76a39c: Pull complete [2023-03-15T16:13:13.713Z] 55522c791124: Pull complete [2023-03-15T16:13:14.698Z] ce5c4a1c91eb: Verifying Checksum [2023-03-15T16:13:14.698Z] ce5c4a1c91eb: Download complete [2023-03-15T16:13:14.698Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T16:13:14.698Z] 52ebb69f0ebf: Download complete [2023-03-15T16:13:27.171Z] ce5c4a1c91eb: Pull complete [2023-03-15T16:13:27.171Z] 169dfbe0d373: Pull complete [2023-03-15T16:13:27.171Z] e1ff8fa3b103: Pull complete [2023-03-15T16:13:32.562Z] 52ebb69f0ebf: Pull complete [2023-03-15T16:13:34.658Z] 5abe8eddf0d5: Pull complete [2023-03-15T16:13:34.658Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T16:13:34.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T16:13:34.658Z] ---> 6cb57ee374ae [2023-03-15T16:13:34.658Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:13:36.656Z] ---> Running in 26bece258515 [2023-03-15T16:13:36.932Z] Removing intermediate container 26bece258515 [2023-03-15T16:13:36.932Z] ---> 49453d01ee34 [2023-03-15T16:13:36.932Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:13:36.932Z] ---> Running in 2667f7f77570 [2023-03-15T16:13:37.528Z] Removing intermediate container 2667f7f77570 [2023-03-15T16:13:37.528Z] ---> 855bb13ee920 [2023-03-15T16:13:37.528Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-15T16:13:37.528Z] ---> Running in 04c3d9dd50b3 [2023-03-15T16:13:38.532Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:13:39.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:13:40.939Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T16:13:40.939Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-03-15T16:13:40.939Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T16:13:40.939Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T16:13:40.939Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-03-15T16:13:40.939Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-03-15T16:13:40.939Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-03-15T16:13:40.939Z] (8/8) Installing openssh (9.1_p1-r2) [2023-03-15T16:13:40.939Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:13:40.939Z] OK: 270 MiB in 61 packages [2023-03-15T16:13:42.376Z] Removing intermediate container 04c3d9dd50b3 [2023-03-15T16:13:42.376Z] ---> 20743b991196 [2023-03-15T16:13:42.376Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-15T16:13:42.376Z] ---> Running in 9bf494dd443b [2023-03-15T16:13:42.646Z] Removing intermediate container 9bf494dd443b [2023-03-15T16:13:42.646Z] ---> 001c6911e959 [2023-03-15T16:13:42.646Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-15T16:13:43.249Z] ---> 3c219d6001c6 [2023-03-15T16:13:43.249Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:13:43.249Z] ---> Running in 0a2c8506a52e [2023-03-15T16:14:51.202Z] Removing intermediate container 0a2c8506a52e [2023-03-15T16:14:51.202Z] ---> 4d3c4a3e26a2 [2023-03-15T16:14:51.202Z] Step 9/10 : COPY . . [2023-03-15T16:14:51.202Z] ---> 2517fe81789a [2023-03-15T16:14:51.202Z] Step 10/10 : RUN ${MAKE} [2023-03-15T16:14:51.202Z] ---> Running in b0b793615fbb [2023-03-15T16:14:51.202Z] noop [2023-03-15T16:14:51.202Z] Removing intermediate container b0b793615fbb [2023-03-15T16:14:51.202Z] ---> f487887e6e1a [2023-03-15T16:14:51.202Z] Successfully built f487887e6e1a [2023-03-15T16:14:51.202Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:14:51.562Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T16:14:51.562Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:14:51.802Z] prd-ubuntu20.04-docker-arm64-4c-16g-858 does not seem to be running inside a container [2023-03-15T16:14:51.890Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/84 -v /w/workspace/device-modbus-go/84:/w/workspace/device-modbus-go/84:rw,z -v /w/workspace/device-modbus-go/84@tmp:/w/workspace/device-modbus-go/84@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-15T16:14:53.262Z] $ docker top 4973df5b7f69088b7cee1ed0a817769efdfbbd39ebc2e7eaa02f65a0fa4448cc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:14:54.146Z] + go version [2023-03-15T16:14:54.146Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T16:14:54.170Z] $ docker stop --time=1 4973df5b7f69088b7cee1ed0a817769efdfbbd39ebc2e7eaa02f65a0fa4448cc [2023-03-15T16:14:55.907Z] $ docker rm -f --volumes 4973df5b7f69088b7cee1ed0a817769efdfbbd39ebc2e7eaa02f65a0fa4448cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:14:56.478Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T16:14:56.478Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:14:56.691Z] prd-ubuntu20.04-docker-arm64-4c-16g-858 does not seem to be running inside a container [2023-03-15T16:14:56.778Z] $ 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/84 -v /w/workspace/device-modbus-go/84:/w/workspace/device-modbus-go/84:rw,z -v /w/workspace/device-modbus-go/84@tmp:/w/workspace/device-modbus-go/84@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-15T16:14:58.104Z] $ docker top 60d55c324b5d0a09671d7f225a0b85aeea00083f630ef9f8a87df13cb26ce3f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:14:59.204Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/84 [Pipeline] fileExists [Pipeline] sh [2023-03-15T16:14:59.882Z] + make test [2023-03-15T16:14:59.882Z] go test ./... -coverprofile=coverage.out [2023-03-15T16:15:38.796Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-15T16:18:30.619Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-03-15T16:18:30.620Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.079s coverage: 48.0% of statements [2023-03-15T16:18:30.620Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-15T16:18:30.620Z] go vet ./... [2023-03-15T16:18:57.424Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T16:18:57.424Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T16:18:57.424Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T16:18:57.712Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T16:18:57.719Z] $ docker stop --time=1 60d55c324b5d0a09671d7f225a0b85aeea00083f630ef9f8a87df13cb26ce3f5 [2023-03-15T16:18:59.859Z] $ docker rm -f --volumes 60d55c324b5d0a09671d7f225a0b85aeea00083f630ef9f8a87df13cb26ce3f5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:19:01.251Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T16:19:01.272Z] Warning: overwriting stash ‘coverage-report’ [2023-03-15T16:19:02.000Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:19:02.401Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T16:19:02.743Z] + ls -al . [2023-03-15T16:19:02.743Z] total 176 [2023-03-15T16:19:02.743Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 16:15 . [2023-03-15T16:19:02.743Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:12 .. [2023-03-15T16:19:02.743Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 16:12 .dockerignore [2023-03-15T16:19:02.743Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:12 .git [2023-03-15T16:19:02.743Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:12 .github [2023-03-15T16:19:02.743Z] -rw-rw-r-- 1 jenkins jenkins 331 Mar 15 16:12 .gitignore [2023-03-15T16:19:02.743Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:12 .golangci.yml [2023-03-15T16:19:02.743Z] -rw-rw-r-- 1 jenkins jenkins 10236 Mar 15 16:12 Attribution.txt [2023-03-15T16:19:02.743Z] -rw-rw-r-- 1 jenkins jenkins 11576 Mar 15 16:12 CHANGELOG.md [2023-03-15T16:19:02.743Z] -rw-rw-r-- 1 jenkins jenkins 1365 Mar 15 16:12 Dockerfile [2023-03-15T16:19:02.743Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:12 GOVERNANCE.md [2023-03-15T16:19:02.743Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 16:12 Jenkinsfile [2023-03-15T16:19:02.743Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:12 LICENSE [2023-03-15T16:19:02.743Z] -rw-rw-r-- 1 jenkins jenkins 1705 Mar 15 16:12 Makefile [2023-03-15T16:19:02.743Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 15 16:12 OWNERS.md [2023-03-15T16:19:02.743Z] -rw-rw-r-- 1 jenkins jenkins 4061 Mar 15 16:12 README.md [2023-03-15T16:19:02.743Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 16:09 VERSION [2023-03-15T16:19:02.743Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:12 bin [2023-03-15T16:19:02.743Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:12 cmd [2023-03-15T16:19:02.743Z] -rw-r--r-- 1 jenkins jenkins 23736 Mar 15 16:18 coverage.out [2023-03-15T16:19:02.743Z] -rw-rw-r-- 1 jenkins jenkins 3497 Mar 15 16:12 go.mod [2023-03-15T16:19:02.743Z] -rw-rw-r-- 1 jenkins jenkins 31641 Mar 15 16:12 go.sum [2023-03-15T16:19:02.743Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:12 internal [2023-03-15T16:19:02.743Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:12 simulator [2023-03-15T16:19:02.743Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:12 snap [2023-03-15T16:19:02.743Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 15 16:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:19:03.105Z] + 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=8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d --label arch=arm64 --label version=3.0.0-dev.18 . [2023-03-15T16:19:03.390Z] Sending build context to Docker daemon 3.342MB [2023-03-15T16:19:03.390Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:19:03.390Z] Step 2/22 : FROM ${BASE} AS builder [2023-03-15T16:19:03.390Z] ---> f487887e6e1a [2023-03-15T16:19:03.390Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:19:03.986Z] ---> Running in 510c8db57108 [2023-03-15T16:19:04.349Z] Removing intermediate container 510c8db57108 [2023-03-15T16:19:04.349Z] ---> a95de279e469 [2023-03-15T16:19:04.349Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:19:04.349Z] ---> Running in e0024f08f595 [2023-03-15T16:19:04.951Z] Removing intermediate container e0024f08f595 [2023-03-15T16:19:04.951Z] ---> 56891159d4c5 [2023-03-15T16:19:04.951Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-03-15T16:19:04.951Z] ---> Running in a5992f9f432f [2023-03-15T16:19:06.380Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:19:06.973Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:19:08.398Z] OK: 270 MiB in 61 packages [2023-03-15T16:19:09.839Z] Removing intermediate container a5992f9f432f [2023-03-15T16:19:09.839Z] ---> 91e20c7cd99f [2023-03-15T16:19:09.839Z] Step 6/22 : WORKDIR /device-modbus-go [2023-03-15T16:19:09.839Z] ---> Running in 58be7c2b21bd [2023-03-15T16:19:10.122Z] Removing intermediate container 58be7c2b21bd [2023-03-15T16:19:10.122Z] ---> 719999a97bdb [2023-03-15T16:19:10.123Z] Step 7/22 : COPY go.mod vendor* ./ [2023-03-15T16:19:10.720Z] ---> 5fcaaf0f4f13 [2023-03-15T16:19:10.720Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:19:10.994Z] ---> Running in 02dab43134f1 [2023-03-15T16:19:14.371Z] Removing intermediate container 02dab43134f1 [2023-03-15T16:19:14.371Z] ---> 0c2fad4200db [2023-03-15T16:19:14.371Z] Step 9/22 : COPY . . [2023-03-15T16:19:15.345Z] ---> 325d134b6296 [2023-03-15T16:19:15.345Z] Step 10/22 : RUN ${MAKE} [2023-03-15T16:19:15.345Z] ---> Running in 062b1e889afa [2023-03-15T16:19:16.773Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.18" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-03-15T16:22:08.913Z] Removing intermediate container 062b1e889afa [2023-03-15T16:22:08.913Z] ---> 96686ad2ca59 [2023-03-15T16:22:08.913Z] Step 11/22 : FROM alpine:3.17 [2023-03-15T16:22:08.913Z] 3.17: Pulling from library/alpine [2023-03-15T16:22:08.913Z] af6eaf76a39c: Already exists [2023-03-15T16:22:08.913Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T16:22:08.913Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T16:22:08.913Z] ---> d74e625d9115 [2023-03-15T16:22:08.913Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-03-15T16:22:08.913Z] ---> Running in 04cec6890281 [2023-03-15T16:22:08.913Z] Removing intermediate container 04cec6890281 [2023-03-15T16:22:08.913Z] ---> e6f5eab2a992 [2023-03-15T16:22:08.913Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-03-15T16:22:08.913Z] ---> Running in 50d04e68b7f6 [2023-03-15T16:22:08.913Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:22:08.913Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:22:08.913Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T16:22:08.913Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:22:08.913Z] OK: 8 MiB in 16 packages [2023-03-15T16:22:09.883Z] Removing intermediate container 50d04e68b7f6 [2023-03-15T16:22:09.883Z] ---> b5b69a262ba9 [2023-03-15T16:22:09.883Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-03-15T16:22:11.306Z] ---> 03c6c1e8ac3b [2023-03-15T16:22:11.306Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-03-15T16:22:11.899Z] ---> aefc60c14c22 [2023-03-15T16:22:11.899Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-03-15T16:22:12.491Z] ---> 407e7fee02f7 [2023-03-15T16:22:12.492Z] Step 17/22 : EXPOSE 59901 [2023-03-15T16:22:12.492Z] ---> Running in d5a8fba416f9 [2023-03-15T16:22:15.917Z] Removing intermediate container d5a8fba416f9 [2023-03-15T16:22:15.917Z] ---> 00a87b2fadf3 [2023-03-15T16:22:15.917Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-03-15T16:22:15.917Z] ---> Running in e8d7a80418f6 [2023-03-15T16:22:15.917Z] Removing intermediate container e8d7a80418f6 [2023-03-15T16:22:15.917Z] ---> 9f64d729c635 [2023-03-15T16:22:15.917Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-15T16:22:16.189Z] ---> Running in 39c0fdbd4d8e [2023-03-15T16:22:16.477Z] Removing intermediate container 39c0fdbd4d8e [2023-03-15T16:22:16.477Z] ---> 719245ce6e64 [2023-03-15T16:22:16.477Z] Step 20/22 : LABEL arch=arm64 [2023-03-15T16:22:16.477Z] ---> Running in 9658a5bd6dc4 [2023-03-15T16:22:17.074Z] Removing intermediate container 9658a5bd6dc4 [2023-03-15T16:22:17.074Z] ---> 5728ebc19bf1 [2023-03-15T16:22:17.074Z] Step 21/22 : LABEL git_sha=8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d [2023-03-15T16:22:17.074Z] ---> Running in 8ef8591d59ee [2023-03-15T16:22:17.346Z] Removing intermediate container 8ef8591d59ee [2023-03-15T16:22:17.346Z] ---> 6f0707068171 [2023-03-15T16:22:17.346Z] Step 22/22 : LABEL version=3.0.0-dev.18 [2023-03-15T16:22:17.619Z] ---> Running in 07bbfb4578c9 [2023-03-15T16:22:17.889Z] Removing intermediate container 07bbfb4578c9 [2023-03-15T16:22:17.889Z] ---> 2b7121fdd404 [2023-03-15T16:22:17.889Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T16:22:17.889Z] Successfully built 2b7121fdd404 [2023-03-15T16:22:17.889Z] 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-15T16:22:18.017Z] provisioning config files... [2023-03-15T16:22:18.034Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/84@tmp/config3926182315293603451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:22:18.395Z] ---> docker-login.sh [2023-03-15T16:22:18.395Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:22:18.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:22:18.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:22:18.669Z] Configure a credential helper to remove this warning. See [2023-03-15T16:22:18.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:22:18.669Z] [2023-03-15T16:22:18.669Z] Login Succeeded [2023-03-15T16:22:18.669Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:22:18.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:22:19.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:22:19.213Z] Configure a credential helper to remove this warning. See [2023-03-15T16:22:19.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:22:19.213Z] [2023-03-15T16:22:19.213Z] Login Succeeded [2023-03-15T16:22:19.213Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:22:19.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:22:19.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:22:19.762Z] Configure a credential helper to remove this warning. See [2023-03-15T16:22:19.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:22:19.762Z] [2023-03-15T16:22:19.762Z] Login Succeeded [2023-03-15T16:22:19.762Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:22:20.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:22:20.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:22:20.033Z] Configure a credential helper to remove this warning. See [2023-03-15T16:22:20.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:22:20.033Z] [2023-03-15T16:22:20.033Z] Login Succeeded [2023-03-15T16:22:20.033Z] docker.io [2023-03-15T16:22:20.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:22:20.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:22:20.705Z] Configure a credential helper to remove this warning. See [2023-03-15T16:22:20.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:22:20.705Z] [2023-03-15T16:22:20.705Z] Login Succeeded [2023-03-15T16:22:20.705Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:22:20.727Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T16:22:20.764Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:22:20.781Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-03-15T16:22:20.781Z] 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d [2023-03-15T16:22:20.781Z] latest [2023-03-15T16:22:20.781Z] 3.0.0-dev.18 [2023-03-15T16:22:20.781Z] 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d-3.0.0-dev.18 [2023-03-15T16:22:20.781Z] main [2023-03-15T16:22:20.781Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:22:21.171Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:22:21.579Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d [2023-03-15T16:22:21.579Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-15T16:22:21.579Z] 8c61f6f0337b: Preparing [2023-03-15T16:22:21.579Z] e44c38d28c62: Preparing [2023-03-15T16:22:21.579Z] 5585352ee44a: Preparing [2023-03-15T16:22:21.579Z] bb59f7293cf1: Preparing [2023-03-15T16:22:21.579Z] edf70074bd40: Preparing [2023-03-15T16:22:21.856Z] edf70074bd40: Layer already exists [2023-03-15T16:22:21.856Z] 8c61f6f0337b: Pushed [2023-03-15T16:22:21.856Z] e44c38d28c62: Pushed [2023-03-15T16:22:21.856Z] bb59f7293cf1: Pushed [2023-03-15T16:22:28.572Z] 5585352ee44a: Pushed [2023-03-15T16:22:28.572Z] 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d: digest: sha256:d1c2880b3da7c22735cb79f1aee465917bcb636b861be0df89125f6758dc016b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:22:28.933Z] + 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-15T16:22:29.328Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-03-15T16:22:29.328Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-15T16:22:29.328Z] 8c61f6f0337b: Preparing [2023-03-15T16:22:29.328Z] e44c38d28c62: Preparing [2023-03-15T16:22:29.328Z] 5585352ee44a: Preparing [2023-03-15T16:22:29.328Z] bb59f7293cf1: Preparing [2023-03-15T16:22:29.328Z] edf70074bd40: Preparing [2023-03-15T16:22:29.328Z] edf70074bd40: Layer already exists [2023-03-15T16:22:29.328Z] 5585352ee44a: Layer already exists [2023-03-15T16:22:29.328Z] 8c61f6f0337b: Layer already exists [2023-03-15T16:22:29.328Z] bb59f7293cf1: Layer already exists [2023-03-15T16:22:29.328Z] e44c38d28c62: Layer already exists [2023-03-15T16:22:29.597Z] latest: digest: sha256:d1c2880b3da7c22735cb79f1aee465917bcb636b861be0df89125f6758dc016b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:22:29.968Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:22:30.341Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.18 [2023-03-15T16:22:30.341Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-15T16:22:30.341Z] 8c61f6f0337b: Preparing [2023-03-15T16:22:30.341Z] e44c38d28c62: Preparing [2023-03-15T16:22:30.341Z] 5585352ee44a: Preparing [2023-03-15T16:22:30.341Z] bb59f7293cf1: Preparing [2023-03-15T16:22:30.341Z] edf70074bd40: Preparing [2023-03-15T16:22:30.341Z] 8c61f6f0337b: Layer already exists [2023-03-15T16:22:30.341Z] bb59f7293cf1: Layer already exists [2023-03-15T16:22:30.341Z] edf70074bd40: Layer already exists [2023-03-15T16:22:30.341Z] 5585352ee44a: Layer already exists [2023-03-15T16:22:30.341Z] e44c38d28c62: Layer already exists [2023-03-15T16:22:30.612Z] 3.0.0-dev.18: digest: sha256:d1c2880b3da7c22735cb79f1aee465917bcb636b861be0df89125f6758dc016b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:22:30.974Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d-3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:22:31.329Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d-3.0.0-dev.18 [2023-03-15T16:22:31.329Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-15T16:22:31.329Z] 8c61f6f0337b: Preparing [2023-03-15T16:22:31.329Z] e44c38d28c62: Preparing [2023-03-15T16:22:31.329Z] 5585352ee44a: Preparing [2023-03-15T16:22:31.329Z] bb59f7293cf1: Preparing [2023-03-15T16:22:31.329Z] edf70074bd40: Preparing [2023-03-15T16:22:31.329Z] e44c38d28c62: Layer already exists [2023-03-15T16:22:31.329Z] 5585352ee44a: Layer already exists [2023-03-15T16:22:31.329Z] bb59f7293cf1: Layer already exists [2023-03-15T16:22:31.329Z] 8c61f6f0337b: Layer already exists [2023-03-15T16:22:31.329Z] edf70074bd40: Layer already exists [2023-03-15T16:22:31.600Z] 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d-3.0.0-dev.18: digest: sha256:d1c2880b3da7c22735cb79f1aee465917bcb636b861be0df89125f6758dc016b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:22:31.966Z] + 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-15T16:22:32.327Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-03-15T16:22:32.327Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-15T16:22:32.327Z] 8c61f6f0337b: Preparing [2023-03-15T16:22:32.327Z] e44c38d28c62: Preparing [2023-03-15T16:22:32.327Z] 5585352ee44a: Preparing [2023-03-15T16:22:32.327Z] bb59f7293cf1: Preparing [2023-03-15T16:22:32.327Z] edf70074bd40: Preparing [2023-03-15T16:22:32.327Z] e44c38d28c62: Layer already exists [2023-03-15T16:22:32.327Z] 8c61f6f0337b: Layer already exists [2023-03-15T16:22:32.327Z] edf70074bd40: Layer already exists [2023-03-15T16:22:32.327Z] bb59f7293cf1: Layer already exists [2023-03-15T16:22:32.327Z] 5585352ee44a: Layer already exists [2023-03-15T16:22:32.599Z] main: digest: sha256:d1c2880b3da7c22735cb79f1aee465917bcb636b861be0df89125f6758dc016b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T16:22:32.650Z] ===================================================== [Pipeline] echo [2023-03-15T16:22:32.657Z] taggedImages: [2023-03-15T16:22:32.657Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d [2023-03-15T16:22:32.657Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-03-15T16:22:32.657Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.18 [2023-03-15T16:22:32.657Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d-3.0.0-dev.18 [2023-03-15T16:22:32.657Z] - 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-15T16:22:33.021Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:22:33.021Z] [2023-03-15T16:22:33.021Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:22:33.378Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:22:33.652Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T16:22:33.652Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T16:22:33.652Z] 04944245beec: Pulling fs layer [2023-03-15T16:22:33.652Z] 699f458cf7ca: Pulling fs layer [2023-03-15T16:22:33.652Z] 765212b225bb: Pulling fs layer [2023-03-15T16:22:33.652Z] f23df028b6ca: Pulling fs layer [2023-03-15T16:22:33.652Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T16:22:33.652Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T16:22:33.652Z] 765212b225bb: Waiting [2023-03-15T16:22:33.652Z] f23df028b6ca: Waiting [2023-03-15T16:22:33.652Z] d65c8cfc05b1: Waiting [2023-03-15T16:22:33.652Z] 2437ff75d9bd: Waiting [2023-03-15T16:22:33.652Z] 04944245beec: Verifying Checksum [2023-03-15T16:22:33.652Z] 04944245beec: Download complete [2023-03-15T16:22:33.652Z] 765212b225bb: Verifying Checksum [2023-03-15T16:22:33.652Z] 765212b225bb: Download complete [2023-03-15T16:22:33.652Z] f23df028b6ca: Verifying Checksum [2023-03-15T16:22:33.652Z] f23df028b6ca: Download complete [2023-03-15T16:22:33.652Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T16:22:33.652Z] d65c8cfc05b1: Download complete [2023-03-15T16:22:33.924Z] 699f458cf7ca: Verifying Checksum [2023-03-15T16:22:33.924Z] 699f458cf7ca: Download complete [2023-03-15T16:22:34.517Z] 8998bd30e6a1: Verifying Checksum [2023-03-15T16:22:34.517Z] 8998bd30e6a1: Download complete [2023-03-15T16:22:37.130Z] 2437ff75d9bd: Verifying Checksum [2023-03-15T16:22:37.130Z] 2437ff75d9bd: Download complete [2023-03-15T16:22:39.099Z] 8998bd30e6a1: Pull complete [2023-03-15T16:22:39.368Z] 04944245beec: Pull complete [2023-03-15T16:22:40.786Z] 699f458cf7ca: Pull complete [2023-03-15T16:22:41.055Z] 765212b225bb: Pull complete [2023-03-15T16:22:42.026Z] f23df028b6ca: Pull complete [2023-03-15T16:22:42.026Z] d65c8cfc05b1: Pull complete [2023-03-15T16:22:57.066Z] 2437ff75d9bd: Pull complete [2023-03-15T16:22:57.066Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T16:22:57.066Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:22:57.066Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:22:57.296Z] prd-ubuntu20.04-docker-arm64-4c-16g-858 does not seem to be running inside a container [2023-03-15T16:22:57.386Z] $ 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/84 -v /w/workspace/device-modbus-go/84:/w/workspace/device-modbus-go/84:rw,z -v /w/workspace/device-modbus-go/84@tmp:/w/workspace/device-modbus-go/84@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-15T16:23:00.440Z] $ docker top d6176a825abff5dd96da39a06ff66159ba4ba9fb6821fa344f7123612ba79006 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:23:01.352Z] ---> job-cost.sh [2023-03-15T16:23:01.352Z] lf-activate-venv: SKIPPING [2023-03-15T16:23:01.352Z] INFO: No Stack... [2023-03-15T16:23:01.941Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T16:23:02.907Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T16:23:03.563Z] + cut -d, -f6 [2023-03-15T16:23:03.563Z] + cat /w/workspace/device-modbus-go/84/archives/cost.csv [Pipeline] lock [2023-03-15T16:23:03.654Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-84-stack-cost] [2023-03-15T16:23:03.661Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-84-stack-cost] did not exist. Created. [2023-03-15T16:23:03.661Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-84-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T16:23:04.339Z] /w/workspace/device-modbus-go/84@tmp/durable-03c22a61/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T16:23:05.017Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T16:23:05.035Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T16:23:05.096Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T16:23:05.102Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-84-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T16:23:05.122Z] $ docker stop --time=1 d6176a825abff5dd96da39a06ff66159ba4ba9fb6821fa344f7123612ba79006 [2023-03-15T16:23:06.741Z] $ docker rm -f --volumes d6176a825abff5dd96da39a06ff66159ba4ba9fb6821fa344f7123612ba79006 [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-15T16:23:07.150Z] provisioning config files... [2023-03-15T16:23:07.157Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8919137668301057504tmp [Pipeline] { [Pipeline] sh [2023-03-15T16:23:07.451Z] + set +x [2023-03-15T16:23:07.451Z] + + bash -s -- [2023-03-15T16:23:07.451Z] curl -s https://codecov.io/bash [2023-03-15T16:23:07.451Z] [2023-03-15T16:23:07.451Z] _____ _ [2023-03-15T16:23:07.451Z] / ____| | | [2023-03-15T16:23:07.451Z] | | ___ __| | ___ ___ _____ __ [2023-03-15T16:23:07.451Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-15T16:23:07.451Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-15T16:23:07.451Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-15T16:23:07.451Z] Bash-1.0.6 [2023-03-15T16:23:07.451Z] [2023-03-15T16:23:07.451Z] [2023-03-15T16:23:07.451Z] ==> git version 2.25.1 found [2023-03-15T16:23:07.451Z] ==> 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-15T16:23:07.451Z] Release-Date: 2020-01-08 [2023-03-15T16:23:07.451Z] 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-15T16:23:07.451Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-15T16:23:07.451Z] ==> Jenkins CI detected. [2023-03-15T16:23:07.451Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-03-15T16:23:07.451Z] project root: . [2023-03-15T16:23:07.451Z] --> token set from env [2023-03-15T16:23:07.451Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-15T16:23:07.451Z] ==> Running gcov in . (disable via -X gcov) [2023-03-15T16:23:07.451Z] ==> Python coveragepy not found [2023-03-15T16:23:07.451Z] ==> Searching for coverage reports in: [2023-03-15T16:23:07.451Z] + . [2023-03-15T16:23:07.451Z] -> Found 1 reports [2023-03-15T16:23:07.451Z] ==> Detecting git/mercurial file structure [2023-03-15T16:23:07.451Z] ==> Reading reports [2023-03-15T16:23:07.451Z] + ./coverage.out bytes=23736 [2023-03-15T16:23:07.451Z] ==> Appending adjustments [2023-03-15T16:23:07.451Z] https://docs.codecov.io/docs/fixing-reports [2023-03-15T16:23:07.710Z] + Found adjustments [2023-03-15T16:23:07.710Z] ==> Gzipping contents [2023-03-15T16:23:07.710Z] 4.0K /tmp/codecov.C3GYVE.gz [2023-03-15T16:23:07.710Z] ==> Uploading reports [2023-03-15T16:23:07.710Z] url: https://codecov.io [2023-03-15T16:23:07.710Z] query: branch=main&commit=8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d&build=84&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F84%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-15T16:23:07.710Z] -> Pinging Codecov [2023-03-15T16:23:07.710Z] 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=8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d&build=84&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F84%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-15T16:23:07.710Z] -> Uploading to [2023-03-15T16:23:07.710Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-15/55DBCA73C666E3227836607328DD7E49/8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d/863440d2-606c-49c4-8d6b-2b8ea8d428cf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T162307Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=311cb5b2ed5276e5a2a8f640fe4283bacbe478bb61b80f69e2972ca4118aaa52 [2023-03-15T16:23:07.710Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T16:23:07.710Z] Dload Upload Total Spent Left Speed [2023-03-15T16:23:07.968Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3909 0 0 100 3909 0 16086 --:--:-- --:--:-- --:--:-- 16086 [2023-03-15T16:23:07.968Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d [Pipeline] } [2023-03-15T16:23:07.975Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-15T16:23:08.146Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-15T16:23:08.153Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:23:08.452Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T16:23:08.452Z] [2023-03-15T16:23:08.452Z] 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-15T16:23:08.752Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T16:23:08.752Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-15T16:23:08.752Z] df9b9388f04a: Pulling fs layer [2023-03-15T16:23:08.752Z] 52dc419b0ee2: Pulling fs layer [2023-03-15T16:23:08.752Z] 25bc292e5bac: Pulling fs layer [2023-03-15T16:23:08.752Z] 114826534d7a: Pulling fs layer [2023-03-15T16:23:08.752Z] 4657fd5d0bcf: Pulling fs layer [2023-03-15T16:23:08.752Z] 6ad1cebc031e: Pulling fs layer [2023-03-15T16:23:08.752Z] 8a3aa393b2d8: Pulling fs layer [2023-03-15T16:23:08.752Z] 4657fd5d0bcf: Waiting [2023-03-15T16:23:08.752Z] 6ad1cebc031e: Waiting [2023-03-15T16:23:08.752Z] 8a3aa393b2d8: Waiting [2023-03-15T16:23:08.752Z] 25bc292e5bac: Verifying Checksum [2023-03-15T16:23:08.752Z] 25bc292e5bac: Download complete [2023-03-15T16:23:08.752Z] 52dc419b0ee2: Verifying Checksum [2023-03-15T16:23:08.752Z] 52dc419b0ee2: Download complete [2023-03-15T16:23:08.752Z] 4657fd5d0bcf: Download complete [2023-03-15T16:23:08.752Z] df9b9388f04a: Download complete [2023-03-15T16:23:09.012Z] df9b9388f04a: Pull complete [2023-03-15T16:23:09.012Z] 6ad1cebc031e: Verifying Checksum [2023-03-15T16:23:09.012Z] 6ad1cebc031e: Download complete [2023-03-15T16:23:09.012Z] 52dc419b0ee2: Pull complete [2023-03-15T16:23:09.270Z] 25bc292e5bac: Pull complete [2023-03-15T16:23:09.529Z] 114826534d7a: Verifying Checksum [2023-03-15T16:23:09.529Z] 114826534d7a: Download complete [2023-03-15T16:23:09.786Z] 8a3aa393b2d8: Verifying Checksum [2023-03-15T16:23:09.786Z] 8a3aa393b2d8: Download complete [2023-03-15T16:23:13.065Z] 114826534d7a: Pull complete [2023-03-15T16:23:13.065Z] 4657fd5d0bcf: Pull complete [2023-03-15T16:23:13.065Z] 6ad1cebc031e: Pull complete [2023-03-15T16:23:15.593Z] 8a3aa393b2d8: Pull complete [2023-03-15T16:23:15.593Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-15T16:23:15.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T16:23:15.593Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:23:15.668Z] prd-ubuntu20.04-docker-8c-8g-849 does not seem to be running inside a container [2023-03-15T16:23:15.692Z] $ 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-15T16:23:18.113Z] $ docker top 6737be12d1823e887b0bb90c9a24f4e3bb55c10debc2cace7b42d9e4e4d9ff3a -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-15T16:23:18.203Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-03-15T16:23:18.479Z] + set -o pipefail [2023-03-15T16:23:18.479Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-03-15T16:23:25.045Z] [2023-03-15T16:23:25.045Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-03-15T16:23:25.045Z] [2023-03-15T16:23:25.045Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/2397cafd-03a5-487b-82db-3f48c555bb08 [2023-03-15T16:23:25.045Z] [2023-03-15T16:23:25.045Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-03-15T16:23:25.045Z] [2023-03-15T16:23:25.045Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-03-15T16:23:25.045Z] [2023-03-15T16:23:27.582Z] [2023-03-15T16:23:27.582Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-03-15T16:23:27.582Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-03-15T16:23:27.582Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-03-15T16:23:27.590Z] $ docker stop --time=1 6737be12d1823e887b0bb90c9a24f4e3bb55c10debc2cace7b42d9e4e4d9ff3a [2023-03-15T16:23:29.797Z] $ docker rm -f --volumes 6737be12d1823e887b0bb90c9a24f4e3bb55c10debc2cace7b42d9e4e4d9ff3a [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-15T16:23:30.473Z] + git log --format=format:%s -1 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d [Pipeline] sh [2023-03-15T16:23:30.771Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T16:23:30.771Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:23:31.069Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:23:31.069Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:23:31.132Z] prd-ubuntu20.04-docker-8c-8g-849 does not seem to be running inside a container [2023-03-15T16:23:31.166Z] $ 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-15T16:23:31.610Z] $ docker top 6fc84521e0abf73211d01d76d6591a590ecd5d0968c2d38fdb5b8a2d6deb8bda -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T16:23:31.687Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:23:31.687Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:23:31.798Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:23:31.798Z] $ docker exec 6fc84521e0abf73211d01d76d6591a590ecd5d0968c2d38fdb5b8a2d6deb8bda ssh-agent [2023-03-15T16:23:31.912Z] SSH_AUTH_SOCK=/tmp/ssh-VlJSHyf8D3f7/agent.32 [2023-03-15T16:23:31.912Z] SSH_AGENT_PID=38 [2023-03-15T16:23:31.916Z] Running ssh-add (command line suppressed) [2023-03-15T16:23:32.016Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17201876807015898622.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17201876807015898622.key) [2023-03-15T16:23:32.031Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:23:32.314Z] + git semver tag [2023-03-15T16:23:32.573Z] 2023-03-15 16:23:32,473 [run_tag] DEBUG tag force:False [2023-03-15T16:23:32.573Z] 2023-03-15 16:23:32,473 [check_head_tag] DEBUG check head tag [2023-03-15T16:23:32.573Z] 2023-03-15 16:23:32,474 [execute] INFO git cat-file --batch-check [2023-03-15T16:23:32.573Z] 2023-03-15 16:23:32,474 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-03-15T16:23:32.573Z] 2023-03-15 16:23:32,478 [execute] INFO git cat-file --batch [2023-03-15T16:23:32.573Z] 2023-03-15 16:23:32,478 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-03-15T16:23:32.573Z] 2023-03-15 16:23:32,496 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-15T16:23:32.573Z] 2023-03-15 16:23:32,497 [execute] INFO git tag -a v3.0.0-dev.18 -m v3.0.0-dev.18 [2023-03-15T16:23:32.573Z] 2023-03-15 16:23:32,497 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.18', '-m', 'v3.0.0-dev.18'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-15T16:23:32.573Z] 2023-03-15 16:23:32,501 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-15T16:23:32.573Z] 3.0.0-dev.18 [Pipeline] } [2023-03-15T16:23:32.579Z] $ docker exec --env ******** --env ******** 6fc84521e0abf73211d01d76d6591a590ecd5d0968c2d38fdb5b8a2d6deb8bda ssh-agent -k [2023-03-15T16:23:32.665Z] unset SSH_AUTH_SOCK; [2023-03-15T16:23:32.666Z] unset SSH_AGENT_PID; [2023-03-15T16:23:32.669Z] echo Agent pid 38 killed; [2023-03-15T16:23:32.680Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T16:23:32.984Z] + git semver [Pipeline] } [2023-03-15T16:23:33.252Z] $ docker stop --time=1 6fc84521e0abf73211d01d76d6591a590ecd5d0968c2d38fdb5b8a2d6deb8bda [2023-03-15T16:23:34.538Z] $ docker rm -f --volumes 6fc84521e0abf73211d01d76d6591a590ecd5d0968c2d38fdb5b8a2d6deb8bda [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:23:34.920Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-15T16:23:34.920Z] [2023-03-15T16:23:34.920Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:23:35.215Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-15T16:23:35.215Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-03-15T16:23:35.215Z] ab5ef0e58194: Pulling fs layer [2023-03-15T16:23:35.215Z] 9712f1f96733: Pulling fs layer [2023-03-15T16:23:35.215Z] 63f879dbbcfc: Pulling fs layer [2023-03-15T16:23:35.215Z] 0d9ebad4ef96: Pulling fs layer [2023-03-15T16:23:35.215Z] e9a5061849ea: Pulling fs layer [2023-03-15T16:23:35.215Z] d747dcd14b5f: Pulling fs layer [2023-03-15T16:23:35.215Z] 2de7ff778b66: Pulling fs layer [2023-03-15T16:23:35.215Z] e9a5061849ea: Waiting [2023-03-15T16:23:35.215Z] d747dcd14b5f: Waiting [2023-03-15T16:23:35.215Z] 0d9ebad4ef96: Waiting [2023-03-15T16:23:35.215Z] 2de7ff778b66: Waiting [2023-03-15T16:23:35.215Z] 9712f1f96733: Verifying Checksum [2023-03-15T16:23:35.215Z] 9712f1f96733: Download complete [2023-03-15T16:23:35.787Z] 63f879dbbcfc: Verifying Checksum [2023-03-15T16:23:35.787Z] 63f879dbbcfc: Download complete [2023-03-15T16:23:35.787Z] e9a5061849ea: Verifying Checksum [2023-03-15T16:23:35.787Z] e9a5061849ea: Download complete [2023-03-15T16:23:35.787Z] d747dcd14b5f: Verifying Checksum [2023-03-15T16:23:35.787Z] d747dcd14b5f: Download complete [2023-03-15T16:23:35.787Z] 0d9ebad4ef96: Verifying Checksum [2023-03-15T16:23:35.787Z] 0d9ebad4ef96: Download complete [2023-03-15T16:23:35.787Z] ab5ef0e58194: Download complete [2023-03-15T16:23:36.044Z] 2de7ff778b66: Verifying Checksum [2023-03-15T16:23:36.044Z] 2de7ff778b66: Download complete [2023-03-15T16:23:38.573Z] ab5ef0e58194: Pull complete [2023-03-15T16:23:38.573Z] 9712f1f96733: Pull complete [2023-03-15T16:23:38.831Z] 63f879dbbcfc: Pull complete [2023-03-15T16:23:42.109Z] 0d9ebad4ef96: Pull complete [2023-03-15T16:23:42.366Z] e9a5061849ea: Pull complete [2023-03-15T16:23:42.366Z] d747dcd14b5f: Pull complete [2023-03-15T16:23:43.298Z] 2de7ff778b66: Pull complete [2023-03-15T16:23:43.298Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-03-15T16:23:43.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-15T16:23:43.298Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:23:43.393Z] prd-ubuntu20.04-docker-8c-8g-849 does not seem to be running inside a container [2023-03-15T16:23:43.415Z] $ 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-15T16:23:45.716Z] $ docker top 19b41538447272453e7c97e84a9be7ee21b2d591e2d16771eda1237917628a33 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:23:45.794Z] provisioning config files... [2023-03-15T16:23:45.801Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6875296247207084147tmp [2023-03-15T16:23:45.811Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12943817610299247541tmp [2023-03-15T16:23:45.819Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config168001454695738188tmp [Pipeline] { [Pipeline] echo [2023-03-15T16:23:45.832Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:23:46.113Z] ---> sigul-configuration.sh [2023-03-15T16:23:46.113Z] gpg: directory `/root/.gnupg' created [2023-03-15T16:23:46.113Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-03-15T16:23:46.113Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-03-15T16:23:46.113Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-03-15T16:23:46.113Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-03-15T16:23:46.113Z] gpg: CAST5 encrypted data [2023-03-15T16:23:46.113Z] gpg: encrypted with 1 passphrase [2023-03-15T16:23:46.113Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-03-15T16:23:46.401Z] + mkdir /home/jenkins [2023-03-15T16:23:46.401Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-03-15T16:23:46.684Z] + 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-15T16:23:46.691Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:23:46.980Z] ---> sigul-install.sh [2023-03-15T16:23:46.980Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-03-15T16:23:47.262Z] + git tag --list [2023-03-15T16:23:47.262Z] 0.7.1 [2023-03-15T16:23:47.262Z] v1.0.0 [2023-03-15T16:23:47.262Z] v1.1.0 [2023-03-15T16:23:47.262Z] v1.1.1 [2023-03-15T16:23:47.262Z] v1.2.2 [2023-03-15T16:23:47.262Z] v1.3.0 [2023-03-15T16:23:47.262Z] v1.3.1 [2023-03-15T16:23:47.262Z] v2.0.0 [2023-03-15T16:23:47.262Z] v2.1.0 [2023-03-15T16:23:47.262Z] v2.1.1 [2023-03-15T16:23:47.262Z] v2.1.1-dev.1 [2023-03-15T16:23:47.262Z] v2.1.1-dev.2 [2023-03-15T16:23:47.262Z] v2.1.1-dev.3 [2023-03-15T16:23:47.262Z] v2.2.0 [2023-03-15T16:23:47.262Z] v2.2.1-dev.1 [2023-03-15T16:23:47.262Z] v2.2.1-dev.2 [2023-03-15T16:23:47.262Z] v2.2.1-dev.3 [2023-03-15T16:23:47.262Z] v2.2.1-dev.4 [2023-03-15T16:23:47.262Z] v2.2.1-dev.5 [2023-03-15T16:23:47.262Z] v2.2.1-dev.6 [2023-03-15T16:23:47.262Z] v2.2.1-dev.7 [2023-03-15T16:23:47.262Z] v2.3.0 [2023-03-15T16:23:47.262Z] v2.3.0-dev.10 [2023-03-15T16:23:47.262Z] v2.3.0-dev.11 [2023-03-15T16:23:47.262Z] v2.3.0-dev.12 [2023-03-15T16:23:47.262Z] v2.3.0-dev.13 [2023-03-15T16:23:47.262Z] v2.3.0-dev.14 [2023-03-15T16:23:47.262Z] v2.3.0-dev.15 [2023-03-15T16:23:47.262Z] v2.3.0-dev.16 [2023-03-15T16:23:47.262Z] v2.3.0-dev.17 [2023-03-15T16:23:47.262Z] v2.3.0-dev.18 [2023-03-15T16:23:47.262Z] v2.3.0-dev.19 [2023-03-15T16:23:47.262Z] v2.3.0-dev.20 [2023-03-15T16:23:47.262Z] v2.3.0-dev.21 [2023-03-15T16:23:47.262Z] v2.3.0-dev.22 [2023-03-15T16:23:47.262Z] v2.3.0-dev.23 [2023-03-15T16:23:47.262Z] v2.3.0-dev.24 [2023-03-15T16:23:47.262Z] v2.3.0-dev.25 [2023-03-15T16:23:47.262Z] v2.3.0-dev.7 [2023-03-15T16:23:47.262Z] v2.3.0-dev.8 [2023-03-15T16:23:47.262Z] v2.3.0-dev.9 [2023-03-15T16:23:47.262Z] v3.0.0-dev.1 [2023-03-15T16:23:47.262Z] v3.0.0-dev.10 [2023-03-15T16:23:47.262Z] v3.0.0-dev.11 [2023-03-15T16:23:47.262Z] v3.0.0-dev.12 [2023-03-15T16:23:47.262Z] v3.0.0-dev.13 [2023-03-15T16:23:47.262Z] v3.0.0-dev.14 [2023-03-15T16:23:47.262Z] v3.0.0-dev.15 [2023-03-15T16:23:47.262Z] v3.0.0-dev.16 [2023-03-15T16:23:47.262Z] v3.0.0-dev.17 [2023-03-15T16:23:47.262Z] v3.0.0-dev.18 [2023-03-15T16:23:47.262Z] v3.0.0-dev.2 [2023-03-15T16:23:47.262Z] v3.0.0-dev.3 [2023-03-15T16:23:47.262Z] v3.0.0-dev.4 [2023-03-15T16:23:47.262Z] v3.0.0-dev.5 [2023-03-15T16:23:47.262Z] v3.0.0-dev.6 [2023-03-15T16:23:47.262Z] v3.0.0-dev.7 [2023-03-15T16:23:47.262Z] v3.0.0-dev.8 [2023-03-15T16:23:47.262Z] v3.0.0-dev.9 [Pipeline] sh [2023-03-15T16:23:47.544Z] + lftools sign git-tag v3.0.0-dev.18 [2023-03-15T16:23:48.111Z] Signing Git tag with Sigul... [2023-03-15T16:23:48.111Z] Signing v3.0.0-dev.18 [Pipeline] echo [2023-03-15T16:23:48.377Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:23:48.661Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-03-15T16:23:48.669Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-03-15T16:23:48.686Z] $ docker stop --time=1 19b41538447272453e7c97e84a9be7ee21b2d591e2d16771eda1237917628a33 [2023-03-15T16:23:50.003Z] $ docker rm -f --volumes 19b41538447272453e7c97e84a9be7ee21b2d591e2d16771eda1237917628a33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-03-15T16:23:50.396Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T16:23:50.396Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:23:50.690Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:23:50.690Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:23:50.757Z] prd-ubuntu20.04-docker-8c-8g-849 does not seem to be running inside a container [2023-03-15T16:23:50.787Z] $ 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-15T16:23:51.153Z] $ docker top a2980e1a90a7d47d3b81e189def3d0fd8a78f74a49e0199c043ab868a63ca674 -eo pid,comm [2023-03-15T16:23:51.201Z] 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-15T16:23:51.201Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T16:23:51.235Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:23:51.235Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:23:51.351Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:23:51.351Z] $ docker exec a2980e1a90a7d47d3b81e189def3d0fd8a78f74a49e0199c043ab868a63ca674 ssh-agent [2023-03-15T16:23:51.462Z] SSH_AUTH_SOCK=/tmp/ssh-HRVtwNNjJHXh/agent.32 [2023-03-15T16:23:51.462Z] SSH_AGENT_PID=38 [2023-03-15T16:23:51.466Z] Running ssh-add (command line suppressed) [2023-03-15T16:23:51.553Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16614145428265056366.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16614145428265056366.key) [2023-03-15T16:23:51.568Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:23:51.852Z] + git semver bump pre [2023-03-15T16:23:52.112Z] 2023-03-15 16:23:52,021 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-15T16:23:52.112Z] 2023-03-15 16:23:52,021 [bump_version] DEBUG bumping version:3.0.0-dev.18 on axis:pre with prefix:dev [2023-03-15T16:23:52.112Z] 2023-03-15 16:23:52,021 [bump_version] DEBUG bumped version:3.0.0-dev.19 [2023-03-15T16:23:52.112Z] 2023-03-15 16:23:52,021 [write_version] DEBUG write version:3.0.0-dev.19 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-03-15T16:23:52.112Z] 2023-03-15 16:23:52,021 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-15T16:23:52.112Z] 2023-03-15 16:23:52,022 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-15T16:23:52.112Z] 2023-03-15 16:23:52,023 [execute] INFO git cat-file --batch-check [2023-03-15T16:23:52.112Z] 2023-03-15 16:23:52,023 [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-15T16:23:52.112Z] 2023-03-15 16:23:52,028 [execute] INFO git cat-file --batch [2023-03-15T16:23:52.112Z] 2023-03-15 16:23:52,028 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T16:23:52.112Z] 2023-03-15 16:23:52,033 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-15T16:23:52.112Z] 3.0.0-dev.19 [Pipeline] } [2023-03-15T16:23:52.119Z] $ docker exec --env ******** --env ******** a2980e1a90a7d47d3b81e189def3d0fd8a78f74a49e0199c043ab868a63ca674 ssh-agent -k [2023-03-15T16:23:52.236Z] unset SSH_AUTH_SOCK; [2023-03-15T16:23:52.236Z] unset SSH_AGENT_PID; [2023-03-15T16:23:52.236Z] echo Agent pid 38 killed; [2023-03-15T16:23:52.247Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T16:23:52.548Z] + git semver [Pipeline] } [2023-03-15T16:23:52.815Z] $ docker stop --time=1 a2980e1a90a7d47d3b81e189def3d0fd8a78f74a49e0199c043ab868a63ca674 [2023-03-15T16:23:54.058Z] $ docker rm -f --volumes a2980e1a90a7d47d3b81e189def3d0fd8a78f74a49e0199c043ab868a63ca674 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:23:54.402Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T16:23:54.402Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:23:54.698Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:23:54.698Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:23:54.761Z] prd-ubuntu20.04-docker-8c-8g-849 does not seem to be running inside a container [2023-03-15T16:23:54.790Z] $ 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-15T16:23:55.174Z] $ docker top df48cee1db2efda789ab3fbd2df7c01f40971248ad74a4ce31adf222871fd679 -eo pid,comm [2023-03-15T16:23:55.217Z] 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-15T16:23:55.217Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T16:23:55.256Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:23:55.256Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:23:55.373Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:23:55.372Z] $ docker exec df48cee1db2efda789ab3fbd2df7c01f40971248ad74a4ce31adf222871fd679 ssh-agent [2023-03-15T16:23:55.487Z] SSH_AUTH_SOCK=/tmp/ssh-86NjUv1hB83N/agent.32 [2023-03-15T16:23:55.487Z] SSH_AGENT_PID=38 [2023-03-15T16:23:55.494Z] Running ssh-add (command line suppressed) [2023-03-15T16:23:55.579Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3184475042851295631.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3184475042851295631.key) [2023-03-15T16:23:55.594Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:23:55.880Z] + git semver push [2023-03-15T16:23:56.140Z] 2023-03-15 16:23:56,089 [run_push] DEBUG push [2023-03-15T16:23:56.140Z] 2023-03-15 16:23:56,090 [execute] INFO git cat-file --batch-check [2023-03-15T16:23:56.140Z] 2023-03-15 16:23:56,090 [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-15T16:23:56.140Z] 2023-03-15 16:23:56,092 [execute] INFO git rev-list e6675ef5b7b27c46219382c5fdc9f3400ca33a3b -- [2023-03-15T16:23:56.140Z] 2023-03-15 16:23:56,092 [execute] DEBUG Popen(['git', 'rev-list', 'e6675ef5b7b27c46219382c5fdc9f3400ca33a3b', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-15T16:23:56.140Z] 2023-03-15 16:23:56,099 [execute] INFO git fetch -v origin [2023-03-15T16:23:56.140Z] 2023-03-15 16:23:56,099 [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-15T16:23:56.710Z] 2023-03-15 16:23:56,580 [run_push] DEBUG no remote changes detected [2023-03-15T16:23:56.710Z] 2023-03-15 16:23:56,581 [execute] INFO git push origin semver [2023-03-15T16:23:56.710Z] 2023-03-15 16:23:56,581 [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-15T16:23:57.653Z] 2023-03-15 16:23:57,624 [run_push] DEBUG push all version tags [2023-03-15T16:23:57.654Z] 2023-03-15 16:23:57,625 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-03-15T16:23:57.654Z] 2023-03-15 16:23:57,625 [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-15T16:23:58.590Z] 2023-03-15 16:23:58,447 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-15T16:23:58.590Z] 3.0.0-dev.19 [Pipeline] } [2023-03-15T16:23:58.595Z] $ docker exec --env ******** --env ******** df48cee1db2efda789ab3fbd2df7c01f40971248ad74a4ce31adf222871fd679 ssh-agent -k [2023-03-15T16:23:58.689Z] unset SSH_AUTH_SOCK; [2023-03-15T16:23:58.689Z] unset SSH_AGENT_PID; [2023-03-15T16:23:58.689Z] echo Agent pid 38 killed; [2023-03-15T16:23:58.706Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T16:23:59.010Z] + git semver [Pipeline] } [2023-03-15T16:23:59.277Z] $ docker stop --time=1 df48cee1db2efda789ab3fbd2df7c01f40971248ad74a4ce31adf222871fd679 [2023-03-15T16:24:00.577Z] $ docker rm -f --volumes df48cee1db2efda789ab3fbd2df7c01f40971248ad74a4ce31adf222871fd679 [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-15T16:24:01.129Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-03-15T16:24:01.129Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-03-15T16:24:01.129Z] total 16 [2023-03-15T16:24:01.129Z] drwxr-xr-x 3 root root 4096 Mar 15 16:11 . [2023-03-15T16:24:01.129Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 16:23 .. [2023-03-15T16:24:01.129Z] drwxr-xr-x 2 root root 4096 Mar 15 16:11 cost [2023-03-15T16:24:01.129Z] -rw-r--r-- 1 root root 87 Mar 15 16:11 cost.csv [2023-03-15T16:24:01.129Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-03-15T16:24:01.129Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-03-15T16:24:01.129Z] total 16 [2023-03-15T16:24:01.129Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:11 . [2023-03-15T16:24:01.129Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 16:23 .. [2023-03-15T16:24:01.129Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 16:11 cost [2023-03-15T16:24:01.129Z] -rw-r--r-- 1 jenkins jenkins 87 Mar 15 16:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:24:01.417Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:24:02.277Z] ---> package-listing.sh [2023-03-15T16:24:02.277Z] ++ facter osfamily [2023-03-15T16:24:02.277Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T16:24:02.535Z] + OS_FAMILY=debian [2023-03-15T16:24:02.535Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-03-15T16:24:02.535Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T16:24:02.535Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T16:24:02.535Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T16:24:02.535Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T16:24:02.535Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-03-15T16:24:02.535Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T16:24:02.535Z] + case "${OS_FAMILY}" in [2023-03-15T16:24:02.535Z] + dpkg -l [2023-03-15T16:24:02.535Z] + grep '^ii' [2023-03-15T16:24:02.535Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T16:24:02.535Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T16:24:02.535Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T16:24:02.535Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-03-15T16:24:02.535Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-03-15T16:24:02.535Z] + 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-15T16:24:02.546Z] 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-15T16:24:02.826Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:24:03.434Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:24:03.434Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:24:03.588Z] prd-ubuntu20.04-docker-8c-8g-849 does not seem to be running inside a container [2023-03-15T16:24:03.656Z] $ 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-15T16:24:03.865Z] $ docker top 6f36ca61db771c1f2e6fa565057057199a3183d9e01b678eb0fe9b384d685748 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:24:04.213Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T16:24:04.494Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T16:24:04.781Z] + ls /var/log/sa-host [2023-03-15T16:24:04.781Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:24:04.858Z] provisioning config files... [2023-03-15T16:24:04.864Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9377421728858735226tmp [Pipeline] { [Pipeline] echo [2023-03-15T16:24:04.880Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:24:05.157Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T16:24:05.164Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:24:05.489Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T16:24:05.497Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:24:05.785Z] ---> sudo-logs.sh [2023-03-15T16:24:05.785Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T16:24:05.813Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:24:06.095Z] ---> job-cost.sh [2023-03-15T16:24:06.095Z] lf-activate-venv: SKIPPING [2023-03-15T16:24:06.095Z] DEBUG: total: 0.2199999988079071 [2023-03-15T16:24:06.095Z] INFO: Retrieving Stack Cost... [2023-03-15T16:24:06.353Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T16:24:06.919Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T16:24:06.930Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:24:07.213Z] ---> logs-deploy.sh [2023-03-15T16:24:07.213Z] lf-activate-venv: SKIPPING [2023-03-15T16:24:07.213Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/84 [2023-03-15T16:24:07.213Z] INFO: archiving workspace using pattern(s): [2023-03-15T16:24:08.147Z] Archives upload complete. [2023-03-15T16:24:08.147Z] INFO: archiving logs to Nexus