Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from aaadd7fbda2364c2efb57d494d7ebea4b574ed12 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-ssh12429950248198247942.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh733787478670445139.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh12688765806665802332.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh117581638476263055.key Verifying host key using known hosts file > 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-ssh17719172758379422189.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-117322 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 aaadd7fbda2364c2efb57d494d7ebea4b574ed12 (main) Commit message: "build: Latest go-mods, config and Dockerfile fix (#387)" > 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 aaadd7fbda2364c2efb57d494d7ebea4b574ed12 # timeout=10 > git rev-list --no-walk fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T20:41:16.567Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T20:41:16.622Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T20:41:16.637Z] ========================================================= [2022-10-26T20:41:16.637Z] EdgeX Global Pipelines Version Info [2022-10-26T20:41:16.637Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:41:17.392Z] ------------------- [2022-10-26T20:41:17.393Z] stable info: [2022-10-26T20:41:17.393Z] ------------------- [2022-10-26T20:41:17.393Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T20:41:17.393Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T20:41:17.393Z] Message: update stable to v1.0.243 [2022-10-26T20:41:17.961Z] ------------------- [2022-10-26T20:41:17.961Z] experimental info: [2022-10-26T20:41:17.961Z] ------------------- [2022-10-26T20:41:17.961Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T20:41:17.961Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T20:41:17.961Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T20:41:18.131Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-10-26T20:41:18.149Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-10-26T20:41:18.165Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T20:41:18.178Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T20:41:18.191Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T20:41:18.204Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T20:41:18.216Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T20:41:18.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-26T20:41:18.240Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T20:41:18.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T20:41:18.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T20:41:18.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-10-26T20:41:18.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T20:41:18.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T20:41:18.325Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T20:41:18.338Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T20:41:18.349Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T20:41:18.365Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T20:41:18.380Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T20:41:18.399Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T20:41:18.412Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-26T20:41:18.425Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-26T20:41:18.435Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T20:41:18.451Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T20:41:18.461Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T20:41:18.474Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T20:41:18.488Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T20:41:18.501Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-10-26T20:41:18.513Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-10-26T20:41:18.531Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-10-26T20:41:18.544Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [Pipeline] echo [2022-10-26T20:41:18.557Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aaadd7f [Pipeline] echo [2022-10-26T20:41:18.570Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:41:18.612Z] provisioning config files... [2022-10-26T20:41:18.625Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17539727104442545152tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:41:18.925Z] ---> docker-login.sh [2022-10-26T20:41:18.925Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:41:19.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:41:19.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:41:19.449Z] Configure a credential helper to remove this warning. See [2022-10-26T20:41:19.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:41:19.449Z] [2022-10-26T20:41:19.449Z] Login Succeeded [2022-10-26T20:41:19.449Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:41:19.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:41:19.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:41:19.449Z] Configure a credential helper to remove this warning. See [2022-10-26T20:41:19.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:41:19.449Z] [2022-10-26T20:41:19.449Z] Login Succeeded [2022-10-26T20:41:19.449Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:41:19.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:41:19.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:41:19.449Z] Configure a credential helper to remove this warning. See [2022-10-26T20:41:19.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:41:19.449Z] [2022-10-26T20:41:19.450Z] Login Succeeded [2022-10-26T20:41:19.450Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:41:19.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:41:19.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:41:19.709Z] Configure a credential helper to remove this warning. See [2022-10-26T20:41:19.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:41:19.710Z] [2022-10-26T20:41:19.710Z] Login Succeeded [2022-10-26T20:41:19.710Z] docker.io [2022-10-26T20:41:19.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:41:19.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:41:19.969Z] Configure a credential helper to remove this warning. See [2022-10-26T20:41:19.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:41:19.969Z] [2022-10-26T20:41:19.969Z] Login Succeeded [2022-10-26T20:41:19.969Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:41:19.977Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T20:41:20.345Z] + git rev-list -1 --merges aaadd7fbda2364c2efb57d494d7ebea4b574ed12~1..aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [Pipeline] echo [2022-10-26T20:41:20.376Z] -----------> git rev-list -1 --merges aaadd7fbda2364c2efb57d494d7ebea4b574ed12~1..aaadd7fbda2364c2efb57d494d7ebea4b574ed12 aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [false] [Pipeline] sh [2022-10-26T20:41:20.665Z] + git log --format=format:%s -1 aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [Pipeline] echo [2022-10-26T20:41:20.677Z] ========================================================= [2022-10-26T20:41:20.677Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T20:41:20.677Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:41:20.995Z] + git log --format=format:%s -1 aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [Pipeline] echo [2022-10-26T20:41:21.006Z] [semverPrep] GIT_COMMIT: aaadd7fbda2364c2efb57d494d7ebea4b574ed12, Commit Message: build: Latest go-mods, config and Dockerfile fix (#387) [Pipeline] echo [2022-10-26T20:41:21.019Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T20:41:21.364Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T20:41:21.364Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T20:41:21.364Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T20:41:21.364Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T20:41:21.364Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T20:41:21.364Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T20:41:21.364Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:41:21.731Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:41:21.731Z] [2022-10-26T20:41:21.731Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:41:22.027Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:41:22.027Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T20:41:22.027Z] b85a868b505f: Pulling fs layer [2022-10-26T20:41:22.027Z] e2be974225ed: Pulling fs layer [2022-10-26T20:41:22.027Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T20:41:22.027Z] 988bab9f4d93: Pulling fs layer [2022-10-26T20:41:22.027Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T20:41:22.027Z] eaf3925da568: Pulling fs layer [2022-10-26T20:41:22.027Z] bab4dde63d76: Pulling fs layer [2022-10-26T20:41:22.027Z] bde34c3a00c8: Pulling fs layer [2022-10-26T20:41:22.027Z] b352a97aabf1: Pulling fs layer [2022-10-26T20:41:22.027Z] 988bab9f4d93: Waiting [2022-10-26T20:41:22.027Z] bab4dde63d76: Waiting [2022-10-26T20:41:22.027Z] eaf3925da568: Waiting [2022-10-26T20:41:22.027Z] bde34c3a00c8: Waiting [2022-10-26T20:41:22.027Z] 1469e6f7b9e6: Waiting [2022-10-26T20:41:22.027Z] b352a97aabf1: Waiting [2022-10-26T20:41:22.027Z] 4872d77fe225: Pulling fs layer [2022-10-26T20:41:22.027Z] 5851b861e8e6: Pulling fs layer [2022-10-26T20:41:22.027Z] 4872d77fe225: Waiting [2022-10-26T20:41:22.027Z] 5851b861e8e6: Waiting [2022-10-26T20:41:22.027Z] e2be974225ed: Download complete [2022-10-26T20:41:22.027Z] 988bab9f4d93: Verifying Checksum [2022-10-26T20:41:22.027Z] 988bab9f4d93: Download complete [2022-10-26T20:41:22.285Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T20:41:22.285Z] 1469e6f7b9e6: Download complete [2022-10-26T20:41:22.285Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T20:41:22.285Z] 339a4e72a1f5: Download complete [2022-10-26T20:41:22.285Z] eaf3925da568: Verifying Checksum [2022-10-26T20:41:22.285Z] eaf3925da568: Download complete [2022-10-26T20:41:22.285Z] bde34c3a00c8: Verifying Checksum [2022-10-26T20:41:22.285Z] bde34c3a00c8: Download complete [2022-10-26T20:41:22.285Z] b352a97aabf1: Download complete [2022-10-26T20:41:22.285Z] 4872d77fe225: Download complete [2022-10-26T20:41:22.285Z] 5851b861e8e6: Verifying Checksum [2022-10-26T20:41:22.285Z] 5851b861e8e6: Download complete [2022-10-26T20:41:22.285Z] b85a868b505f: Verifying Checksum [2022-10-26T20:41:22.285Z] b85a868b505f: Download complete [2022-10-26T20:41:22.544Z] bab4dde63d76: Verifying Checksum [2022-10-26T20:41:22.544Z] bab4dde63d76: Download complete [2022-10-26T20:41:23.479Z] b85a868b505f: Pull complete [2022-10-26T20:41:23.738Z] e2be974225ed: Pull complete [2022-10-26T20:41:24.304Z] 339a4e72a1f5: Pull complete [2022-10-26T20:41:24.304Z] 988bab9f4d93: Pull complete [2022-10-26T20:41:24.562Z] 1469e6f7b9e6: Pull complete [2022-10-26T20:41:24.562Z] eaf3925da568: Pull complete [2022-10-26T20:41:26.462Z] bab4dde63d76: Pull complete [2022-10-26T20:41:26.462Z] bde34c3a00c8: Pull complete [2022-10-26T20:41:26.462Z] b352a97aabf1: Pull complete [2022-10-26T20:41:26.462Z] 4872d77fe225: Pull complete [2022-10-26T20:41:26.722Z] 5851b861e8e6: Pull complete [2022-10-26T20:41:26.722Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T20:41:26.722Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:41:26.722Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:41:26.801Z] prd-ubuntu20.04-docker-8c-8g-117322 does not seem to be running inside a container [2022-10-26T20:41:26.837Z] $ 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 [2022-10-26T20:41:27.886Z] $ docker top 72e65455353a38b3587f0a8f7812eb0843a3e5c30eb0146cb2e90152c0597e06 -eo pid,comm [2022-10-26T20:41:27.937Z] 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). [2022-10-26T20:41:27.937Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T20:41:27.977Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:41:27.977Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:41:28.095Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:41:28.099Z] $ docker exec 72e65455353a38b3587f0a8f7812eb0843a3e5c30eb0146cb2e90152c0597e06 ssh-agent [2022-10-26T20:41:28.210Z] SSH_AUTH_SOCK=/tmp/ssh-OiqS3BO18Rhu/agent.33 [2022-10-26T20:41:28.210Z] SSH_AGENT_PID=39 [2022-10-26T20:41:28.215Z] Running ssh-add (command line suppressed) [2022-10-26T20:41:28.332Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3714474360951127379.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3714474360951127379.key) [2022-10-26T20:41:28.343Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:41:28.629Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T20:41:28.641Z] $ docker exec --env ******** --env ******** 72e65455353a38b3587f0a8f7812eb0843a3e5c30eb0146cb2e90152c0597e06 ssh-agent -k [2022-10-26T20:41:28.743Z] unset SSH_AUTH_SOCK; [2022-10-26T20:41:28.743Z] unset SSH_AGENT_PID; [2022-10-26T20:41:28.743Z] echo Agent pid 39 killed; [2022-10-26T20:41:28.750Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T20:41:28.774Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:41:28.774Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:41:28.889Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:41:28.893Z] $ docker exec 72e65455353a38b3587f0a8f7812eb0843a3e5c30eb0146cb2e90152c0597e06 ssh-agent [2022-10-26T20:41:29.018Z] SSH_AUTH_SOCK=/tmp/ssh-E4oluekHJWw2/agent.71 [2022-10-26T20:41:29.018Z] SSH_AGENT_PID=77 [2022-10-26T20:41:29.023Z] Running ssh-add (command line suppressed) [2022-10-26T20:41:29.130Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5490675882789786382.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5490675882789786382.key) [2022-10-26T20:41:29.148Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:41:29.439Z] + git semver init [2022-10-26T20:41:29.697Z] 2022-10-26 20:41:29,622 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T20:41:29.698Z] 2022-10-26 20:41:29,623 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-10-26T20:41:29.698Z] 2022-10-26 20:41:29,623 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-10-26T20:41:29.698Z] 2022-10-26 20:41:29,623 [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) [2022-10-26T20:41:30.634Z] 2022-10-26 20:41:30,524 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2022-10-26T20:41:30.635Z] 2022-10-26 20:41:30,524 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2022-10-26T20:41:30.635Z] 2022-10-26 20:41:30,525 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-10-26T20:41:30.635Z] 2022-10-26 20:41:30,525 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-10-26T20:41:30.635Z] 2.3.0-dev.22 [Pipeline] } [2022-10-26T20:41:30.645Z] $ docker exec --env ******** --env ******** 72e65455353a38b3587f0a8f7812eb0843a3e5c30eb0146cb2e90152c0597e06 ssh-agent -k [2022-10-26T20:41:30.746Z] unset SSH_AUTH_SOCK; [2022-10-26T20:41:30.746Z] unset SSH_AGENT_PID; [2022-10-26T20:41:30.746Z] echo Agent pid 77 killed; [2022-10-26T20:41:30.754Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T20:41:31.060Z] + git semver [Pipeline] } [2022-10-26T20:41:31.330Z] $ docker stop --time=1 72e65455353a38b3587f0a8f7812eb0843a3e5c30eb0146cb2e90152c0597e06 [2022-10-26T20:41:32.638Z] $ docker rm -f 72e65455353a38b3587f0a8f7812eb0843a3e5c30eb0146cb2e90152c0597e06 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:41:32.981Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T20:41:33.148Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T20:41:33.150Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.22 [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 [2022-10-26T20:41:33.285Z] provisioning config files... [2022-10-26T20:41:33.295Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8248021703942970019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:41:33.591Z] ---> docker-login.sh [2022-10-26T20:41:33.592Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:41:33.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:41:33.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:41:33.592Z] Configure a credential helper to remove this warning. See [2022-10-26T20:41:33.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:41:33.592Z] [2022-10-26T20:41:33.592Z] Login Succeeded [2022-10-26T20:41:33.592Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:41:33.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:41:33.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:41:33.592Z] Configure a credential helper to remove this warning. See [2022-10-26T20:41:33.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:41:33.592Z] [2022-10-26T20:41:33.592Z] Login Succeeded [2022-10-26T20:41:33.592Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:41:33.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:41:33.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:41:33.850Z] Configure a credential helper to remove this warning. See [2022-10-26T20:41:33.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:41:33.850Z] [2022-10-26T20:41:33.850Z] Login Succeeded [2022-10-26T20:41:33.850Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:41:33.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:41:33.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:41:33.850Z] Configure a credential helper to remove this warning. See [2022-10-26T20:41:33.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:41:33.850Z] [2022-10-26T20:41:33.850Z] Login Succeeded [2022-10-26T20:41:33.850Z] docker.io [2022-10-26T20:41:34.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:41:34.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:41:34.371Z] Configure a credential helper to remove this warning. See [2022-10-26T20:41:34.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:41:34.371Z] [2022-10-26T20:41:34.371Z] Login Succeeded [2022-10-26T20:41:34.371Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:41:34.377Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T20:41:34.437Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:41:34.454Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:41:34.463Z] ========================================================= [2022-10-26T20:41:34.463Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T20:41:34.463Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:41:34.775Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-26T20:41:34.775Z] Sending build context to Docker daemon 6.218MB [2022-10-26T20:41:34.775Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:41:34.775Z] Step 2/10 : FROM ${BASE} AS builder [2022-10-26T20:41:34.775Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T20:41:34.775Z] 213ec9aee27d: Pulling fs layer [2022-10-26T20:41:34.775Z] 4583459ba037: Pulling fs layer [2022-10-26T20:41:34.775Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T20:41:34.775Z] 53926ce57604: Pulling fs layer [2022-10-26T20:41:34.775Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T20:41:34.775Z] 30f14e443154: Pulling fs layer [2022-10-26T20:41:34.775Z] 801331c1e519: Pulling fs layer [2022-10-26T20:41:34.775Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T20:41:34.775Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T20:41:34.775Z] 53926ce57604: Waiting [2022-10-26T20:41:34.775Z] 99cc6dd402b0: Waiting [2022-10-26T20:41:34.775Z] 21b2b0c7a3f4: Waiting [2022-10-26T20:41:34.775Z] 7d9ed39f4882: Waiting [2022-10-26T20:41:34.775Z] 801331c1e519: Waiting [2022-10-26T20:41:34.775Z] 93c1e223e6f2: Verifying Checksum [2022-10-26T20:41:34.775Z] 93c1e223e6f2: Download complete [2022-10-26T20:41:34.775Z] 4583459ba037: Download complete [2022-10-26T20:41:34.775Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-26T20:41:34.775Z] 21b2b0c7a3f4: Download complete [2022-10-26T20:41:34.775Z] 30f14e443154: Verifying Checksum [2022-10-26T20:41:34.775Z] 30f14e443154: Download complete [2022-10-26T20:41:35.039Z] 213ec9aee27d: Verifying Checksum [2022-10-26T20:41:35.039Z] 213ec9aee27d: Download complete [2022-10-26T20:41:35.039Z] 801331c1e519: Download complete [2022-10-26T20:41:35.039Z] 213ec9aee27d: Pull complete [2022-10-26T20:41:35.315Z] 4583459ba037: Pull complete [2022-10-26T20:41:35.315Z] 93c1e223e6f2: Pull complete [2022-10-26T20:41:35.578Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T20:41:35.578Z] 7d9ed39f4882: Download complete [2022-10-26T20:41:35.578Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T20:41:35.578Z] 99cc6dd402b0: Download complete [2022-10-26T20:41:35.578Z] 53926ce57604: Verifying Checksum [2022-10-26T20:41:35.578Z] 53926ce57604: Download complete [2022-10-26T20:41:39.764Z] 53926ce57604: Pull complete [2022-10-26T20:41:39.764Z] 21b2b0c7a3f4: Pull complete [2022-10-26T20:41:39.764Z] 30f14e443154: Pull complete [2022-10-26T20:41:39.764Z] 801331c1e519: Pull complete [2022-10-26T20:41:41.135Z] 99cc6dd402b0: Pull complete [2022-10-26T20:41:42.069Z] 7d9ed39f4882: Pull complete [2022-10-26T20:41:42.069Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T20:41:42.069Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T20:41:42.069Z] ---> 1dedd983c030 [2022-10-26T20:41:42.069Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:41:43.006Z] ---> Running in bf48e409e179 [2022-10-26T20:41:43.278Z] Removing intermediate container bf48e409e179 [2022-10-26T20:41:43.279Z] ---> 6f11dec13323 [2022-10-26T20:41:43.279Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:41:43.279Z] ---> Running in 369e1b6fa1fa [2022-10-26T20:41:43.279Z] Removing intermediate container 369e1b6fa1fa [2022-10-26T20:41:43.279Z] ---> fec466fde1ce [2022-10-26T20:41:43.279Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T20:41:43.279Z] ---> Running in 22a92b48788d [2022-10-26T20:41:43.559Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:41:43.821Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:41:43.821Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T20:41:44.079Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-26T20:41:44.079Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T20:41:44.079Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T20:41:44.079Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-26T20:41:44.079Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-26T20:41:44.079Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-26T20:41:44.079Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-26T20:41:44.079Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:41:44.079Z] OK: 217 MiB in 59 packages [2022-10-26T20:41:44.651Z] Removing intermediate container 22a92b48788d [2022-10-26T20:41:44.651Z] ---> e42750aa3113 [2022-10-26T20:41:44.651Z] Step 6/10 : WORKDIR /device-modbus-go [2022-10-26T20:41:44.651Z] ---> Running in 31f52feb3cc3 [2022-10-26T20:41:44.651Z] Removing intermediate container 31f52feb3cc3 [2022-10-26T20:41:44.651Z] ---> 37e9ae755001 [2022-10-26T20:41:44.651Z] Step 7/10 : COPY go.mod vendor* ./ [2022-10-26T20:41:44.651Z] ---> 92bee379210f [2022-10-26T20:41:44.651Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:41:44.651Z] ---> Running in 63abd0ddd58b [2022-10-26T20:41:48.242Z] Still waiting to schedule task [2022-10-26T20:41:48.242Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T20:42:02.742Z] Removing intermediate container 63abd0ddd58b [2022-10-26T20:42:02.742Z] ---> 506a17ba9e80 [2022-10-26T20:42:02.742Z] Step 9/10 : COPY . . [2022-10-26T20:42:02.742Z] ---> 08d532787f02 [2022-10-26T20:42:02.742Z] Step 10/10 : RUN ${MAKE} [2022-10-26T20:42:02.742Z] ---> Running in d14bdfa1686b [2022-10-26T20:42:02.742Z] noop [2022-10-26T20:42:02.742Z] Removing intermediate container d14bdfa1686b [2022-10-26T20:42:02.742Z] ---> 7abc695458ca [2022-10-26T20:42:02.742Z] Successfully built 7abc695458ca [2022-10-26T20:42:02.742Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:42:03.052Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T20:42:03.052Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:42:03.130Z] prd-ubuntu20.04-docker-8c-8g-117322 does not seem to be running inside a container [2022-10-26T20:42:03.162Z] $ 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 [2022-10-26T20:42:03.477Z] $ docker top 394f1a31088776e977c42ff70d2c05d786d53c36608307d11c710ceaa4f6af8f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:42:03.816Z] + go version [2022-10-26T20:42:03.817Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T20:42:03.829Z] $ docker stop --time=1 394f1a31088776e977c42ff70d2c05d786d53c36608307d11c710ceaa4f6af8f [2022-10-26T20:42:05.103Z] $ docker rm -f 394f1a31088776e977c42ff70d2c05d786d53c36608307d11c710ceaa4f6af8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:42:05.517Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T20:42:05.517Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:42:05.585Z] prd-ubuntu20.04-docker-8c-8g-117322 does not seem to be running inside a container [2022-10-26T20:42:05.618Z] $ 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 [2022-10-26T20:42:05.935Z] $ docker top aac895b65775d1644c9319b977897ae6cb23bd3a76b065e8b4d7767e4762eb00 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:42:06.268Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2022-10-26T20:42:06.562Z] + make test [2022-10-26T20:42:06.562Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-26T20:42:06.821Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-26T20:42:16.786Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-26T20:42:16.786Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.7% of statements [2022-10-26T20:42:22.074Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-26T20:42:22.074Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T20:42:25.357Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T20:42:25.357Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T20:42:25.357Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T20:42:25.385Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T20:42:25.399Z] $ docker stop --time=1 aac895b65775d1644c9319b977897ae6cb23bd3a76b065e8b4d7767e4762eb00 [2022-10-26T20:42:26.950Z] $ docker rm -f aac895b65775d1644c9319b977897ae6cb23bd3a76b065e8b4d7767e4762eb00 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:42:27.379Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T20:42:27.431Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T20:42:27.869Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T20:42:28.157Z] + ls -al . [2022-10-26T20:42:28.157Z] total 196 [2022-10-26T20:42:28.157Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:42 . [2022-10-26T20:42:28.157Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:41 .. [2022-10-26T20:42:28.157Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 20:41 .dockerignore [2022-10-26T20:42:28.157Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:42 .git [2022-10-26T20:42:28.157Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:41 .github [2022-10-26T20:42:28.157Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 26 20:41 .gitignore [2022-10-26T20:42:28.157Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:41 .golangci.yml [2022-10-26T20:42:28.157Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:41 .semver [2022-10-26T20:42:28.157Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 26 20:41 Attribution.txt [2022-10-26T20:42:28.157Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 26 20:41 CHANGELOG.md [2022-10-26T20:42:28.157Z] -rw-rw-r-- 1 jenkins jenkins 1428 Oct 26 20:41 Dockerfile [2022-10-26T20:42:28.157Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:41 GOVERNANCE.md [2022-10-26T20:42:28.157Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 20:41 Jenkinsfile [2022-10-26T20:42:28.157Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:41 LICENSE [2022-10-26T20:42:28.157Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 26 20:41 Makefile [2022-10-26T20:42:28.157Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 26 20:41 OWNERS.md [2022-10-26T20:42:28.157Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 26 20:41 README.md [2022-10-26T20:42:28.157Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 20:41 VERSION [2022-10-26T20:42:28.157Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:41 bin [2022-10-26T20:42:28.157Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:41 cmd [2022-10-26T20:42:28.157Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 26 20:42 coverage.out [2022-10-26T20:42:28.157Z] -rw-rw-r-- 1 jenkins jenkins 3632 Oct 26 20:41 go.mod [2022-10-26T20:42:28.157Z] -rw-rw-r-- 1 jenkins jenkins 45309 Oct 26 20:41 go.sum [2022-10-26T20:42:28.157Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:41 internal [2022-10-26T20:42:28.157Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:41 simulator [2022-10-26T20:42:28.157Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:41 snap [2022-10-26T20:42:28.157Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 26 20:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:42:28.456Z] + 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=aaadd7fbda2364c2efb57d494d7ebea4b574ed12 --label arch=amd64 --label version=2.3.0-dev.22 . [2022-10-26T20:42:28.456Z] Sending build context to Docker daemon 6.242MB [2022-10-26T20:42:28.456Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:42:28.457Z] Step 2/22 : FROM ${BASE} AS builder [2022-10-26T20:42:28.457Z] ---> 7abc695458ca [2022-10-26T20:42:28.457Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:42:28.457Z] ---> Running in a36e2e81c6a8 [2022-10-26T20:42:28.457Z] Removing intermediate container a36e2e81c6a8 [2022-10-26T20:42:28.457Z] ---> 5fab29d2a939 [2022-10-26T20:42:28.457Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:42:28.457Z] ---> Running in dfa32eb89690 [2022-10-26T20:42:28.715Z] Removing intermediate container dfa32eb89690 [2022-10-26T20:42:28.715Z] ---> 85e03601167e [2022-10-26T20:42:28.715Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T20:42:28.715Z] ---> Running in 8a4535d9229d [2022-10-26T20:42:28.974Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:42:28.974Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:42:29.233Z] OK: 217 MiB in 59 packages [2022-10-26T20:42:29.491Z] Removing intermediate container 8a4535d9229d [2022-10-26T20:42:29.491Z] ---> 375d6bf13ae5 [2022-10-26T20:42:29.491Z] Step 6/22 : WORKDIR /device-modbus-go [2022-10-26T20:42:29.491Z] ---> Running in c9014ac738a2 [2022-10-26T20:42:29.491Z] Removing intermediate container c9014ac738a2 [2022-10-26T20:42:29.491Z] ---> 38d1d1c77dd1 [2022-10-26T20:42:29.491Z] Step 7/22 : COPY go.mod vendor* ./ [2022-10-26T20:42:29.750Z] ---> c7ae1f86505b [2022-10-26T20:42:29.750Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:42:29.750Z] ---> Running in 13c4eae80588 [2022-10-26T20:42:30.317Z] Removing intermediate container 13c4eae80588 [2022-10-26T20:42:30.317Z] ---> e963d327475e [2022-10-26T20:42:30.317Z] Step 9/22 : COPY . . [2022-10-26T20:42:30.577Z] ---> 65f7a3e7ef5b [2022-10-26T20:42:30.577Z] Step 10/22 : RUN ${MAKE} [2022-10-26T20:42:30.577Z] ---> Running in 6d74ac9d1cd2 [2022-10-26T20:42:30.836Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.22" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-10-26T20:42:52.755Z] Removing intermediate container 6d74ac9d1cd2 [2022-10-26T20:42:52.755Z] ---> 7a94aa668e3c [2022-10-26T20:42:52.755Z] Step 11/22 : FROM alpine:3.14 [2022-10-26T20:42:52.755Z] 3.14: Pulling from library/alpine [2022-10-26T20:42:52.755Z] c7ed990a2339: Pulling fs layer [2022-10-26T20:42:52.755Z] c7ed990a2339: Verifying Checksum [2022-10-26T20:42:52.755Z] c7ed990a2339: Download complete [2022-10-26T20:42:52.755Z] c7ed990a2339: Pull complete [2022-10-26T20:42:52.755Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-26T20:42:52.755Z] Status: Downloaded newer image for alpine:3.14 [2022-10-26T20:42:52.755Z] ---> dd53f409bf0b [2022-10-26T20:42:52.755Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-26T20:42:52.755Z] ---> Running in 992f6e98f411 [2022-10-26T20:42:52.755Z] Removing intermediate container 992f6e98f411 [2022-10-26T20:42:52.755Z] ---> 83c446b65242 [2022-10-26T20:42:52.755Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T20:42:52.755Z] ---> Running in 151f230bae3d [2022-10-26T20:42:52.755Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:42:52.755Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:42:52.755Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T20:42:52.755Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-26T20:42:52.755Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T20:42:52.755Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-26T20:42:52.755Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T20:42:52.755Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T20:42:52.755Z] Executing busybox-1.33.1-r8.trigger [2022-10-26T20:42:52.755Z] OK: 8 MiB in 20 packages [2022-10-26T20:42:52.755Z] Removing intermediate container 151f230bae3d [2022-10-26T20:42:52.755Z] ---> 0e63b42aba0a [2022-10-26T20:42:52.755Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-10-26T20:42:52.755Z] ---> 2f7e2f3038fa [2022-10-26T20:42:52.755Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-26T20:42:52.755Z] ---> 58b8a804af25 [2022-10-26T20:42:52.755Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-26T20:42:52.755Z] ---> e154922ab576 [2022-10-26T20:42:52.755Z] Step 17/22 : EXPOSE 59901 [2022-10-26T20:42:52.755Z] ---> Running in b414ada8b086 [2022-10-26T20:42:52.755Z] Removing intermediate container b414ada8b086 [2022-10-26T20:42:52.755Z] ---> c03ff775fca6 [2022-10-26T20:42:52.755Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-10-26T20:42:52.755Z] ---> Running in e18b684334c7 [2022-10-26T20:42:52.755Z] Removing intermediate container e18b684334c7 [2022-10-26T20:42:52.755Z] ---> 70ba504fdbaa [2022-10-26T20:42:52.755Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T20:42:52.755Z] ---> Running in f9afa6a27114 [2022-10-26T20:42:52.755Z] Removing intermediate container f9afa6a27114 [2022-10-26T20:42:52.755Z] ---> 1c1458bc6fa8 [2022-10-26T20:42:52.755Z] Step 20/22 : LABEL arch=amd64 [2022-10-26T20:42:52.755Z] ---> Running in 4ed0f7625a37 [2022-10-26T20:42:52.755Z] Removing intermediate container 4ed0f7625a37 [2022-10-26T20:42:52.755Z] ---> 2076705d5c45 [2022-10-26T20:42:52.755Z] Step 21/22 : LABEL git_sha=aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [2022-10-26T20:42:52.755Z] ---> Running in cd0c41b9f156 [2022-10-26T20:42:52.755Z] Removing intermediate container cd0c41b9f156 [2022-10-26T20:42:52.755Z] ---> e9ede103ced3 [2022-10-26T20:42:52.755Z] Step 22/22 : LABEL version=2.3.0-dev.22 [2022-10-26T20:42:52.755Z] ---> Running in 2cfc1369aa69 [2022-10-26T20:42:53.013Z] Removing intermediate container 2cfc1369aa69 [2022-10-26T20:42:53.013Z] ---> faa24fad15e1 [2022-10-26T20:42:53.013Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T20:42:53.013Z] Successfully built faa24fad15e1 [2022-10-26T20:42:53.013Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:42:53.110Z] provisioning config files... [2022-10-26T20:42:53.119Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3951915981002705873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:42:53.412Z] ---> docker-login.sh [2022-10-26T20:42:53.412Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:42:53.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:42:53.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:42:53.412Z] Configure a credential helper to remove this warning. See [2022-10-26T20:42:53.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:42:53.412Z] [2022-10-26T20:42:53.412Z] Login Succeeded [2022-10-26T20:42:53.412Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:42:53.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:42:53.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:42:53.412Z] Configure a credential helper to remove this warning. See [2022-10-26T20:42:53.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:42:53.412Z] [2022-10-26T20:42:53.412Z] Login Succeeded [2022-10-26T20:42:53.412Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:42:53.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:42:53.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:42:53.671Z] Configure a credential helper to remove this warning. See [2022-10-26T20:42:53.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:42:53.671Z] [2022-10-26T20:42:53.671Z] Login Succeeded [2022-10-26T20:42:53.671Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:42:53.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:42:53.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:42:53.671Z] Configure a credential helper to remove this warning. See [2022-10-26T20:42:53.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:42:53.671Z] [2022-10-26T20:42:53.671Z] Login Succeeded [2022-10-26T20:42:53.671Z] docker.io [2022-10-26T20:42:53.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:42:54.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:42:54.237Z] Configure a credential helper to remove this warning. See [2022-10-26T20:42:54.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:42:54.237Z] [2022-10-26T20:42:54.237Z] Login Succeeded [2022-10-26T20:42:54.237Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:42:54.245Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-26T20:42:54.285Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:42:54.307Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-10-26T20:42:54.307Z] aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [2022-10-26T20:42:54.307Z] latest [2022-10-26T20:42:54.307Z] 2.3.0-dev.22 [2022-10-26T20:42:54.307Z] aaadd7fbda2364c2efb57d494d7ebea4b574ed12-2.3.0-dev.22 [2022-10-26T20:42:54.307Z] main [2022-10-26T20:42:54.307Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:42:54.659Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:42:55.028Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [2022-10-26T20:42:55.028Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-10-26T20:42:55.028Z] a6b2bbb25794: Preparing [2022-10-26T20:42:55.028Z] 9c50ce5e02fd: Preparing [2022-10-26T20:42:55.028Z] 098b788379f5: Preparing [2022-10-26T20:42:55.028Z] 4f4899e50f93: Preparing [2022-10-26T20:42:55.028Z] 63493a9ab2d4: Preparing [2022-10-26T20:42:55.028Z] 63493a9ab2d4: Layer already exists [2022-10-26T20:42:55.028Z] a6b2bbb25794: Pushed [2022-10-26T20:42:55.028Z] 9c50ce5e02fd: Pushed [2022-10-26T20:42:55.291Z] 4f4899e50f93: Pushed [2022-10-26T20:42:57.227Z] 098b788379f5: Pushed [2022-10-26T20:42:57.487Z] aaadd7fbda2364c2efb57d494d7ebea4b574ed12: digest: sha256:9b7d41205b1309dd90e959f9c8aff7ff4561db1b5721281cb7b3d4e4721dd9d1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:42:57.793Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:42:58.093Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-10-26T20:42:58.093Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-10-26T20:42:58.093Z] a6b2bbb25794: Preparing [2022-10-26T20:42:58.093Z] 9c50ce5e02fd: Preparing [2022-10-26T20:42:58.093Z] 098b788379f5: Preparing [2022-10-26T20:42:58.093Z] 4f4899e50f93: Preparing [2022-10-26T20:42:58.093Z] 63493a9ab2d4: Preparing [2022-10-26T20:42:58.093Z] 9c50ce5e02fd: Layer already exists [2022-10-26T20:42:58.093Z] 63493a9ab2d4: Layer already exists [2022-10-26T20:42:58.093Z] 098b788379f5: Layer already exists [2022-10-26T20:42:58.093Z] a6b2bbb25794: Layer already exists [2022-10-26T20:42:58.093Z] 4f4899e50f93: Layer already exists [2022-10-26T20:42:58.093Z] latest: digest: sha256:9b7d41205b1309dd90e959f9c8aff7ff4561db1b5721281cb7b3d4e4721dd9d1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:42:58.402Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:42:58.712Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.22 [2022-10-26T20:42:58.712Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-10-26T20:42:58.712Z] a6b2bbb25794: Preparing [2022-10-26T20:42:58.712Z] 9c50ce5e02fd: Preparing [2022-10-26T20:42:58.712Z] 098b788379f5: Preparing [2022-10-26T20:42:58.712Z] 4f4899e50f93: Preparing [2022-10-26T20:42:58.712Z] 63493a9ab2d4: Preparing [2022-10-26T20:42:58.712Z] 9c50ce5e02fd: Layer already exists [2022-10-26T20:42:58.712Z] 4f4899e50f93: Layer already exists [2022-10-26T20:42:58.712Z] 63493a9ab2d4: Layer already exists [2022-10-26T20:42:58.712Z] 098b788379f5: Layer already exists [2022-10-26T20:42:58.712Z] a6b2bbb25794: Layer already exists [2022-10-26T20:42:58.712Z] 2.3.0-dev.22: digest: sha256:9b7d41205b1309dd90e959f9c8aff7ff4561db1b5721281cb7b3d4e4721dd9d1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:42:59.024Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:aaadd7fbda2364c2efb57d494d7ebea4b574ed12-2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:42:59.334Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:aaadd7fbda2364c2efb57d494d7ebea4b574ed12-2.3.0-dev.22 [2022-10-26T20:42:59.334Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-10-26T20:42:59.334Z] a6b2bbb25794: Preparing [2022-10-26T20:42:59.334Z] 9c50ce5e02fd: Preparing [2022-10-26T20:42:59.334Z] 098b788379f5: Preparing [2022-10-26T20:42:59.334Z] 4f4899e50f93: Preparing [2022-10-26T20:42:59.334Z] 63493a9ab2d4: Preparing [2022-10-26T20:42:59.334Z] 098b788379f5: Layer already exists [2022-10-26T20:42:59.334Z] a6b2bbb25794: Layer already exists [2022-10-26T20:42:59.334Z] 63493a9ab2d4: Layer already exists [2022-10-26T20:42:59.334Z] 4f4899e50f93: Layer already exists [2022-10-26T20:42:59.334Z] 9c50ce5e02fd: Layer already exists [2022-10-26T20:42:59.334Z] aaadd7fbda2364c2efb57d494d7ebea4b574ed12-2.3.0-dev.22: digest: sha256:9b7d41205b1309dd90e959f9c8aff7ff4561db1b5721281cb7b3d4e4721dd9d1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:42:59.651Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:42:59.952Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-10-26T20:42:59.953Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-10-26T20:42:59.953Z] a6b2bbb25794: Preparing [2022-10-26T20:42:59.953Z] 9c50ce5e02fd: Preparing [2022-10-26T20:42:59.953Z] 098b788379f5: Preparing [2022-10-26T20:42:59.953Z] 4f4899e50f93: Preparing [2022-10-26T20:42:59.953Z] 63493a9ab2d4: Preparing [2022-10-26T20:42:59.953Z] a6b2bbb25794: Layer already exists [2022-10-26T20:42:59.953Z] 63493a9ab2d4: Layer already exists [2022-10-26T20:42:59.953Z] 098b788379f5: Layer already exists [2022-10-26T20:42:59.953Z] 4f4899e50f93: Layer already exists [2022-10-26T20:42:59.953Z] 9c50ce5e02fd: Layer already exists [2022-10-26T20:42:59.953Z] main: digest: sha256:9b7d41205b1309dd90e959f9c8aff7ff4561db1b5721281cb7b3d4e4721dd9d1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-26T20:42:59.996Z] ===================================================== [Pipeline] echo [2022-10-26T20:43:00.002Z] taggedImages: [2022-10-26T20:43:00.002Z] - nexus3.edgexfoundry.org:10004/device-modbus:aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [2022-10-26T20:43:00.002Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-10-26T20:43:00.002Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.22 [2022-10-26T20:43:00.002Z] - nexus3.edgexfoundry.org:10004/device-modbus:aaadd7fbda2364c2efb57d494d7ebea4b574ed12-2.3.0-dev.22 [2022-10-26T20:43:00.002Z] - 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 [2022-10-26T20:43:00.370Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:43:00.370Z] [2022-10-26T20:43:00.370Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:43:00.663Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:43:00.663Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T20:43:00.663Z] 5eb5b503b376: Pulling fs layer [2022-10-26T20:43:00.663Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T20:43:00.663Z] ec43610c2a17: Pulling fs layer [2022-10-26T20:43:00.663Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T20:43:00.663Z] 33b1e0a273af: Pulling fs layer [2022-10-26T20:43:00.663Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T20:43:00.663Z] 2f39f015ded8: Pulling fs layer [2022-10-26T20:43:00.663Z] 3a2ae6a8a46f: Waiting [2022-10-26T20:43:00.663Z] 33b1e0a273af: Waiting [2022-10-26T20:43:00.663Z] 5d3b04190fa2: Waiting [2022-10-26T20:43:00.663Z] 2f39f015ded8: Waiting [2022-10-26T20:43:00.663Z] 5c69ac0246d0: Verifying Checksum [2022-10-26T20:43:00.663Z] 5c69ac0246d0: Download complete [2022-10-26T20:43:00.663Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-26T20:43:00.663Z] 3a2ae6a8a46f: Download complete [2022-10-26T20:43:00.663Z] 33b1e0a273af: Verifying Checksum [2022-10-26T20:43:00.663Z] 33b1e0a273af: Download complete [2022-10-26T20:43:00.663Z] ec43610c2a17: Verifying Checksum [2022-10-26T20:43:00.663Z] ec43610c2a17: Download complete [2022-10-26T20:43:00.663Z] 5d3b04190fa2: Verifying Checksum [2022-10-26T20:43:00.663Z] 5d3b04190fa2: Download complete [2022-10-26T20:43:00.922Z] 5eb5b503b376: Verifying Checksum [2022-10-26T20:43:00.922Z] 5eb5b503b376: Download complete [2022-10-26T20:43:01.492Z] 2f39f015ded8: Download complete [2022-10-26T20:43:02.057Z] 5eb5b503b376: Pull complete [2022-10-26T20:43:02.316Z] 5c69ac0246d0: Pull complete [2022-10-26T20:43:02.576Z] ec43610c2a17: Pull complete [2022-10-26T20:43:02.834Z] 3a2ae6a8a46f: Pull complete [2022-10-26T20:43:02.834Z] 33b1e0a273af: Pull complete [2022-10-26T20:43:03.092Z] 5d3b04190fa2: Pull complete [2022-10-26T20:43:07.273Z] 2f39f015ded8: Pull complete [2022-10-26T20:43:07.273Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T20:43:07.273Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:43:07.273Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:43:07.343Z] prd-ubuntu20.04-docker-8c-8g-117322 does not seem to be running inside a container [2022-10-26T20:43:07.369Z] $ 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 [2022-10-26T20:43:08.374Z] $ docker top 9555312291a960b7200ee943928ae31a7b9b95035846085e6363826e37f2fd9e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:43:08.741Z] ---> job-cost.sh [2022-10-26T20:43:08.741Z] lf-activate-venv: SKIPPING [2022-10-26T20:43:08.741Z] INFO: No Stack... [2022-10-26T20:43:09.000Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T20:43:09.569Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T20:43:09.856Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-10-26T20:43:09.856Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T20:43:09.869Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-62-stack-cost] [2022-10-26T20:43:09.876Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-62-stack-cost] did not exist. Created. [2022-10-26T20:43:09.876Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-62-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T20:43:10.177Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T20:43:10.212Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T20:43:10.222Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-62-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T20:43:10.243Z] $ docker stop --time=1 9555312291a960b7200ee943928ae31a7b9b95035846085e6363826e37f2fd9e [2022-10-26T20:43:11.385Z] $ docker rm -f 9555312291a960b7200ee943928ae31a7b9b95035846085e6363826e37f2fd9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T20:44:56.304Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117327 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-10-26T20:44:56.319Z] Running in /w/workspace/device-modbus-go/62 [Pipeline] { [Pipeline] checkout [2022-10-26T20:44:56.395Z] Selected Git installation does not exist. Using Default [2022-10-26T20:44:56.395Z] The recommended git tool is: NONE [2022-10-26T20:45:05.656Z] using credential edgex-jenkins-ssh [2022-10-26T20:45:05.707Z] Cloning the remote Git repository [2022-10-26T20:45:05.806Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-10-26T20:45:05.920Z] > git init /w/workspace/device-modbus-go/62 # timeout=10 [2022-10-26T20:45:06.132Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-26T20:45:06.134Z] > git --version # timeout=10 [2022-10-26T20:45:06.160Z] > git --version # 'git version 2.25.1' [2022-10-26T20:45:06.163Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T20:45:06.232Z] Verifying host key using known hosts file [2022-10-26T20:45:06.691Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T20:45:06.705Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T20:45:10.236Z] Avoid second fetch [2022-10-26T20:45:10.237Z] Checking out Revision aaadd7fbda2364c2efb57d494d7ebea4b574ed12 (main) [2022-10-26T20:45:08.998Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-26T20:45:09.027Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T20:45:10.894Z] Commit message: "build: Latest go-mods, config and Dockerfile fix (#387)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:45:10.261Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T20:45:10.285Z] > git checkout -f aaadd7fbda2364c2efb57d494d7ebea4b574ed12 # timeout=10 [2022-10-26T20:45:11.871Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T20:45:11.871Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T20:45:11.871Z] Dload Upload Total Spent Left Speed [2022-10-26T20:45:11.871Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 189k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh [2022-10-26T20:45:12.525Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T20:45:12.872Z] + + sudo tee /etc/docker/daemon.newsudo [2022-10-26T20:45:12.872Z] jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T20:45:12.872Z] { [2022-10-26T20:45:12.872Z] "registry-mirrors": [ [2022-10-26T20:45:12.872Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T20:45:12.872Z] ], [2022-10-26T20:45:12.872Z] "bip": "10.250.0.254/24", [2022-10-26T20:45:12.872Z] "hosts": [ [2022-10-26T20:45:12.872Z] "tcp://0.0.0.0:5555", [2022-10-26T20:45:12.872Z] "unix:///var/run/docker.sock" [2022-10-26T20:45:12.872Z] ], [2022-10-26T20:45:12.872Z] "mtu": 1458, [2022-10-26T20:45:12.872Z] "selinux-enabled": true, [2022-10-26T20:45:12.872Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T20:45:12.872Z] } [Pipeline] sh [2022-10-26T20:45:13.229Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T20:45:13.591Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:45:31.901Z] provisioning config files... [2022-10-26T20:45:31.932Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/62@tmp/config13619585456150599641tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:45:32.297Z] ---> docker-login.sh [2022-10-26T20:45:32.297Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:45:32.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:45:32.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:45:32.891Z] Configure a credential helper to remove this warning. See [2022-10-26T20:45:32.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:45:32.891Z] [2022-10-26T20:45:32.891Z] Login Succeeded [2022-10-26T20:45:32.891Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:45:33.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:45:33.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:45:33.433Z] Configure a credential helper to remove this warning. See [2022-10-26T20:45:33.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:45:33.433Z] [2022-10-26T20:45:33.433Z] Login Succeeded [2022-10-26T20:45:33.433Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:45:33.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:45:33.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:45:33.705Z] Configure a credential helper to remove this warning. See [2022-10-26T20:45:33.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:45:33.705Z] [2022-10-26T20:45:33.705Z] Login Succeeded [2022-10-26T20:45:33.705Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:45:33.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:45:33.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:45:33.979Z] Configure a credential helper to remove this warning. See [2022-10-26T20:45:33.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:45:33.979Z] [2022-10-26T20:45:33.979Z] Login Succeeded [2022-10-26T20:45:34.253Z] docker.io [2022-10-26T20:45:34.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:45:34.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:45:34.844Z] Configure a credential helper to remove this warning. See [2022-10-26T20:45:34.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:45:34.844Z] [2022-10-26T20:45:34.844Z] Login Succeeded [2022-10-26T20:45:34.844Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:45:34.858Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T20:45:35.041Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:45:35.051Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:45:35.059Z] ========================================================= [2022-10-26T20:45:35.059Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T20:45:35.059Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:45:35.422Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-26T20:45:35.694Z] Sending build context to Docker daemon 3.237MB [2022-10-26T20:45:35.694Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:45:35.694Z] Step 2/10 : FROM ${BASE} AS builder [2022-10-26T20:45:35.966Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T20:45:35.966Z] 9b18e9b68314: Pulling fs layer [2022-10-26T20:45:35.966Z] d32db5db7311: Pulling fs layer [2022-10-26T20:45:35.966Z] d0c4b47475fc: Pulling fs layer [2022-10-26T20:45:35.966Z] 5831b945b038: Pulling fs layer [2022-10-26T20:45:35.966Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T20:45:35.966Z] e10730c5d714: Pulling fs layer [2022-10-26T20:45:35.966Z] 5dd5c2283517: Pulling fs layer [2022-10-26T20:45:35.966Z] d5ac0230b979: Pulling fs layer [2022-10-26T20:45:35.966Z] 5831b945b038: Waiting [2022-10-26T20:45:35.966Z] 86bbec2aaacd: Waiting [2022-10-26T20:45:35.966Z] e10730c5d714: Waiting [2022-10-26T20:45:35.966Z] d5ac0230b979: Waiting [2022-10-26T20:45:35.966Z] 5dd5c2283517: Waiting [2022-10-26T20:45:35.966Z] d0c4b47475fc: Download complete [2022-10-26T20:45:35.966Z] d32db5db7311: Verifying Checksum [2022-10-26T20:45:35.966Z] d32db5db7311: Download complete [2022-10-26T20:45:35.966Z] 86bbec2aaacd: Verifying Checksum [2022-10-26T20:45:35.966Z] 86bbec2aaacd: Download complete [2022-10-26T20:45:35.966Z] e10730c5d714: Verifying Checksum [2022-10-26T20:45:35.966Z] e10730c5d714: Download complete [2022-10-26T20:45:35.966Z] 9b18e9b68314: Verifying Checksum [2022-10-26T20:45:35.966Z] 9b18e9b68314: Download complete [2022-10-26T20:45:36.982Z] 9b18e9b68314: Pull complete [2022-10-26T20:45:37.255Z] d5ac0230b979: Verifying Checksum [2022-10-26T20:45:37.255Z] d5ac0230b979: Download complete [2022-10-26T20:45:37.847Z] d32db5db7311: Pull complete [2022-10-26T20:45:38.124Z] d0c4b47475fc: Pull complete [2022-10-26T20:45:38.726Z] 5dd5c2283517: Verifying Checksum [2022-10-26T20:45:38.726Z] 5dd5c2283517: Download complete [2022-10-26T20:45:39.312Z] 5831b945b038: Verifying Checksum [2022-10-26T20:45:39.312Z] 5831b945b038: Download complete [2022-10-26T20:45:51.794Z] 5831b945b038: Pull complete [2022-10-26T20:45:52.065Z] 86bbec2aaacd: Pull complete [2022-10-26T20:45:52.334Z] e10730c5d714: Pull complete [2022-10-26T20:45:59.030Z] 5dd5c2283517: Pull complete [2022-10-26T20:46:00.451Z] d5ac0230b979: Pull complete [2022-10-26T20:46:00.451Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T20:46:00.451Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T20:46:00.451Z] ---> 59b3b1a385d4 [2022-10-26T20:46:00.451Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:46:01.877Z] ---> Running in 420b6d39f0d7 [2022-10-26T20:46:02.147Z] Removing intermediate container 420b6d39f0d7 [2022-10-26T20:46:02.147Z] ---> 2293ce247970 [2022-10-26T20:46:02.147Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:46:02.147Z] ---> Running in 3b7a88a9aaa6 [2022-10-26T20:46:02.738Z] Removing intermediate container 3b7a88a9aaa6 [2022-10-26T20:46:02.738Z] ---> 33e839f6530c [2022-10-26T20:46:02.738Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T20:46:02.738Z] ---> Running in 940ecbb26ecd [2022-10-26T20:46:05.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:46:05.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:46:06.752Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T20:46:06.752Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-26T20:46:06.752Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T20:46:06.752Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T20:46:06.752Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-26T20:46:06.752Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-26T20:46:06.752Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-26T20:46:06.752Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-26T20:46:06.752Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:46:06.752Z] OK: 228 MiB in 59 packages [2022-10-26T20:46:08.173Z] Removing intermediate container 940ecbb26ecd [2022-10-26T20:46:08.173Z] ---> 9e06b7102d7b [2022-10-26T20:46:08.173Z] Step 6/10 : WORKDIR /device-modbus-go [2022-10-26T20:46:08.173Z] ---> Running in affab908119c [2022-10-26T20:46:08.450Z] Removing intermediate container affab908119c [2022-10-26T20:46:08.450Z] ---> 5a82e39c0b4b [2022-10-26T20:46:08.450Z] Step 7/10 : COPY go.mod vendor* ./ [2022-10-26T20:46:08.749Z] ---> c6a42d19ec67 [2022-10-26T20:46:08.749Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:46:09.018Z] ---> Running in 04e547af0399 [2022-10-26T20:47:05.493Z] Removing intermediate container 04e547af0399 [2022-10-26T20:47:05.493Z] ---> 084f6dc771ed [2022-10-26T20:47:05.493Z] Step 9/10 : COPY . . [2022-10-26T20:47:05.493Z] ---> 91c1598939bb [2022-10-26T20:47:05.493Z] Step 10/10 : RUN ${MAKE} [2022-10-26T20:47:05.493Z] ---> Running in c72024ee9c10 [2022-10-26T20:47:05.493Z] noop [2022-10-26T20:47:06.077Z] Removing intermediate container c72024ee9c10 [2022-10-26T20:47:06.077Z] ---> 9526d4e759df [2022-10-26T20:47:06.077Z] Successfully built 9526d4e759df [2022-10-26T20:47:06.077Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:47:06.441Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T20:47:06.441Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:47:06.639Z] prd-ubuntu20.04-docker-arm64-4c-16g-117327 does not seem to be running inside a container [2022-10-26T20:47:06.716Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/62 -v /w/workspace/device-modbus-go/62:/w/workspace/device-modbus-go/62:rw,z -v /w/workspace/device-modbus-go/62@tmp:/w/workspace/device-modbus-go/62@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 [2022-10-26T20:47:07.994Z] $ docker top 7426c242ddb2d9f03e8de419092d615b97ad48f42b723babf00364040c42c65c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:47:08.911Z] + go version [2022-10-26T20:47:08.911Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T20:47:08.934Z] $ docker stop --time=1 7426c242ddb2d9f03e8de419092d615b97ad48f42b723babf00364040c42c65c [2022-10-26T20:47:10.600Z] $ docker rm -f 7426c242ddb2d9f03e8de419092d615b97ad48f42b723babf00364040c42c65c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:47:11.161Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T20:47:11.161Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:47:11.338Z] prd-ubuntu20.04-docker-arm64-4c-16g-117327 does not seem to be running inside a container [2022-10-26T20:47:11.413Z] $ 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/62 -v /w/workspace/device-modbus-go/62:/w/workspace/device-modbus-go/62:rw,z -v /w/workspace/device-modbus-go/62@tmp:/w/workspace/device-modbus-go/62@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 [2022-10-26T20:47:12.910Z] $ docker top 73c50eca8003e9baf152bd7ce3c9f68ad714d62d3e4caa45220cf53f1484b17e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:47:13.751Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/62 [Pipeline] fileExists [Pipeline] sh [2022-10-26T20:47:14.415Z] + make test [2022-10-26T20:47:14.415Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-26T20:47:16.384Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-26T20:48:53.068Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-26T20:48:53.068Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.065s coverage: 47.7% of statements [2022-10-26T20:48:53.068Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T20:48:53.068Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T20:49:15.165Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T20:49:15.165Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T20:49:15.165Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T20:49:15.774Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T20:49:15.788Z] $ docker stop --time=1 73c50eca8003e9baf152bd7ce3c9f68ad714d62d3e4caa45220cf53f1484b17e [2022-10-26T20:49:17.645Z] $ docker rm -f 73c50eca8003e9baf152bd7ce3c9f68ad714d62d3e4caa45220cf53f1484b17e [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:49:18.638Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T20:49:18.654Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T20:49:19.060Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:49:19.465Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T20:49:19.791Z] + ls -al . [2022-10-26T20:49:19.791Z] total 192 [2022-10-26T20:49:19.791Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 20:47 . [2022-10-26T20:49:19.791Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:45 .. [2022-10-26T20:49:19.791Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 20:45 .dockerignore [2022-10-26T20:49:19.791Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:45 .git [2022-10-26T20:49:19.791Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:45 .github [2022-10-26T20:49:19.791Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 26 20:45 .gitignore [2022-10-26T20:49:19.791Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:45 .golangci.yml [2022-10-26T20:49:19.791Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 26 20:45 Attribution.txt [2022-10-26T20:49:19.791Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 26 20:45 CHANGELOG.md [2022-10-26T20:49:19.791Z] -rw-rw-r-- 1 jenkins jenkins 1428 Oct 26 20:45 Dockerfile [2022-10-26T20:49:19.791Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:45 GOVERNANCE.md [2022-10-26T20:49:19.791Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 20:45 Jenkinsfile [2022-10-26T20:49:19.791Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:45 LICENSE [2022-10-26T20:49:19.791Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 26 20:45 Makefile [2022-10-26T20:49:19.791Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 26 20:45 OWNERS.md [2022-10-26T20:49:19.791Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 26 20:45 README.md [2022-10-26T20:49:19.791Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 20:41 VERSION [2022-10-26T20:49:19.791Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:45 bin [2022-10-26T20:49:19.791Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:45 cmd [2022-10-26T20:49:19.791Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 26 20:48 coverage.out [2022-10-26T20:49:19.791Z] -rw-rw-r-- 1 jenkins jenkins 3632 Oct 26 20:45 go.mod [2022-10-26T20:49:19.791Z] -rw-rw-r-- 1 jenkins jenkins 45309 Oct 26 20:45 go.sum [2022-10-26T20:49:19.791Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:45 internal [2022-10-26T20:49:19.791Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:45 simulator [2022-10-26T20:49:19.791Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:45 snap [2022-10-26T20:49:19.791Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 26 20:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:49:20.135Z] + 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=aaadd7fbda2364c2efb57d494d7ebea4b574ed12 --label arch=arm64 --label version=2.3.0-dev.22 . [2022-10-26T20:49:20.407Z] Sending build context to Docker daemon 3.261MB [2022-10-26T20:49:20.407Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:49:20.407Z] Step 2/22 : FROM ${BASE} AS builder [2022-10-26T20:49:20.407Z] ---> 9526d4e759df [2022-10-26T20:49:20.407Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:49:20.676Z] ---> Running in 10ee7d5580a9 [2022-10-26T20:49:20.944Z] Removing intermediate container 10ee7d5580a9 [2022-10-26T20:49:20.944Z] ---> 56aed17e39f7 [2022-10-26T20:49:20.944Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:49:20.944Z] ---> Running in 3e252b15c1f5 [2022-10-26T20:49:21.215Z] Removing intermediate container 3e252b15c1f5 [2022-10-26T20:49:21.215Z] ---> 238a958768c1 [2022-10-26T20:49:21.215Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T20:49:21.215Z] ---> Running in 0b7479a145fa [2022-10-26T20:49:22.183Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:49:22.450Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:49:23.417Z] OK: 228 MiB in 59 packages [2022-10-26T20:49:25.379Z] Removing intermediate container 0b7479a145fa [2022-10-26T20:49:25.379Z] ---> b4350afa0861 [2022-10-26T20:49:25.379Z] Step 6/22 : WORKDIR /device-modbus-go [2022-10-26T20:49:25.379Z] ---> Running in 7a03dd8cbbdc [2022-10-26T20:49:25.648Z] Removing intermediate container 7a03dd8cbbdc [2022-10-26T20:49:25.648Z] ---> b2036299a413 [2022-10-26T20:49:25.648Z] Step 7/22 : COPY go.mod vendor* ./ [2022-10-26T20:49:26.235Z] ---> 8d22bd3bd89a [2022-10-26T20:49:26.235Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:49:26.508Z] ---> Running in 4a0a38b9a4f4 [2022-10-26T20:49:28.469Z] Removing intermediate container 4a0a38b9a4f4 [2022-10-26T20:49:28.469Z] ---> f690a82ff262 [2022-10-26T20:49:28.469Z] Step 9/22 : COPY . . [2022-10-26T20:49:29.433Z] ---> d988fc1973c4 [2022-10-26T20:49:29.433Z] Step 10/22 : RUN ${MAKE} [2022-10-26T20:49:29.433Z] ---> Running in 0c90a9d8218d [2022-10-26T20:49:30.398Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.22" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-10-26T20:52:07.154Z] Removing intermediate container 0c90a9d8218d [2022-10-26T20:52:07.154Z] ---> 523dd744851a [2022-10-26T20:52:07.154Z] Step 11/22 : FROM alpine:3.14 [2022-10-26T20:52:07.154Z] 3.14: Pulling from library/alpine [2022-10-26T20:52:07.154Z] 90cda3b7c325: Pulling fs layer [2022-10-26T20:52:07.154Z] 90cda3b7c325: Verifying Checksum [2022-10-26T20:52:07.154Z] 90cda3b7c325: Download complete [2022-10-26T20:52:07.154Z] 90cda3b7c325: Pull complete [2022-10-26T20:52:07.154Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-26T20:52:07.154Z] Status: Downloaded newer image for alpine:3.14 [2022-10-26T20:52:07.154Z] ---> 376ba31ae3da [2022-10-26T20:52:07.154Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-26T20:52:07.154Z] ---> Running in bc15bf1a3e79 [2022-10-26T20:52:07.154Z] Removing intermediate container bc15bf1a3e79 [2022-10-26T20:52:07.154Z] ---> 5dba3fdcc507 [2022-10-26T20:52:07.154Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T20:52:07.154Z] ---> Running in a5d0fbff54e1 [2022-10-26T20:52:07.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:52:07.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:52:07.154Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T20:52:07.154Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-26T20:52:07.154Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T20:52:07.154Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-26T20:52:07.154Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T20:52:07.154Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T20:52:07.154Z] Executing busybox-1.33.1-r8.trigger [2022-10-26T20:52:07.154Z] OK: 8 MiB in 20 packages [2022-10-26T20:52:07.745Z] Removing intermediate container a5d0fbff54e1 [2022-10-26T20:52:07.745Z] ---> 8c603497cf4a [2022-10-26T20:52:07.745Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-10-26T20:52:09.164Z] ---> ad914b3588ac [2022-10-26T20:52:09.164Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-26T20:52:09.773Z] ---> ee8cee0318ef [2022-10-26T20:52:09.773Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-26T20:52:10.368Z] ---> e59acedb79cf [2022-10-26T20:52:10.368Z] Step 17/22 : EXPOSE 59901 [2022-10-26T20:52:10.368Z] ---> Running in e50817a39354 [2022-10-26T20:52:10.636Z] Removing intermediate container e50817a39354 [2022-10-26T20:52:10.636Z] ---> 094ff2579abd [2022-10-26T20:52:10.636Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-10-26T20:52:10.636Z] ---> Running in 7b016819b6b6 [2022-10-26T20:52:11.229Z] Removing intermediate container 7b016819b6b6 [2022-10-26T20:52:11.229Z] ---> 6cc04c4ea6dd [2022-10-26T20:52:11.229Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T20:52:11.229Z] ---> Running in 1bcfa1f325e0 [2022-10-26T20:52:11.499Z] Removing intermediate container 1bcfa1f325e0 [2022-10-26T20:52:11.499Z] ---> 7f4cd043003b [2022-10-26T20:52:11.499Z] Step 20/22 : LABEL arch=arm64 [2022-10-26T20:52:11.499Z] ---> Running in f4e79f66be35 [2022-10-26T20:52:11.776Z] Removing intermediate container f4e79f66be35 [2022-10-26T20:52:11.776Z] ---> 029527cf467c [2022-10-26T20:52:11.776Z] Step 21/22 : LABEL git_sha=aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [2022-10-26T20:52:12.044Z] ---> Running in b25e21bb1ffc [2022-10-26T20:52:12.312Z] Removing intermediate container b25e21bb1ffc [2022-10-26T20:52:12.312Z] ---> fef9e8952e2c [2022-10-26T20:52:12.312Z] Step 22/22 : LABEL version=2.3.0-dev.22 [2022-10-26T20:52:12.312Z] ---> Running in 5b3b220c1bb1 [2022-10-26T20:52:12.580Z] Removing intermediate container 5b3b220c1bb1 [2022-10-26T20:52:12.580Z] ---> a4325079d556 [2022-10-26T20:52:12.580Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T20:52:12.580Z] Successfully built a4325079d556 [2022-10-26T20:52:12.580Z] 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 [2022-10-26T20:52:12.676Z] provisioning config files... [2022-10-26T20:52:12.693Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/62@tmp/config14651759790067242097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:52:13.038Z] ---> docker-login.sh [2022-10-26T20:52:13.038Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:52:13.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:52:13.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:52:13.305Z] Configure a credential helper to remove this warning. See [2022-10-26T20:52:13.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:52:13.305Z] [2022-10-26T20:52:13.305Z] Login Succeeded [2022-10-26T20:52:13.305Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:52:13.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:52:13.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:52:13.839Z] Configure a credential helper to remove this warning. See [2022-10-26T20:52:13.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:52:13.839Z] [2022-10-26T20:52:13.839Z] Login Succeeded [2022-10-26T20:52:13.839Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:52:14.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:52:14.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:52:14.109Z] Configure a credential helper to remove this warning. See [2022-10-26T20:52:14.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:52:14.109Z] [2022-10-26T20:52:14.109Z] Login Succeeded [2022-10-26T20:52:14.109Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:52:14.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:52:14.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:52:14.646Z] Configure a credential helper to remove this warning. See [2022-10-26T20:52:14.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:52:14.646Z] [2022-10-26T20:52:14.646Z] Login Succeeded [2022-10-26T20:52:14.646Z] docker.io [2022-10-26T20:52:14.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:52:15.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:52:15.184Z] Configure a credential helper to remove this warning. See [2022-10-26T20:52:15.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:52:15.184Z] [2022-10-26T20:52:15.184Z] Login Succeeded [2022-10-26T20:52:15.184Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:52:15.199Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-26T20:52:15.229Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:52:15.322Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-10-26T20:52:15.322Z] aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [2022-10-26T20:52:15.322Z] latest [2022-10-26T20:52:15.322Z] 2.3.0-dev.22 [2022-10-26T20:52:15.322Z] aaadd7fbda2364c2efb57d494d7ebea4b574ed12-2.3.0-dev.22 [2022-10-26T20:52:15.322Z] main [2022-10-26T20:52:15.322Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:52:15.707Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:52:16.163Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [2022-10-26T20:52:16.163Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-10-26T20:52:16.163Z] 06175edd7721: Preparing [2022-10-26T20:52:16.163Z] e3c06e25de9e: Preparing [2022-10-26T20:52:16.163Z] 0c0c397b1390: Preparing [2022-10-26T20:52:16.163Z] b957b7be72b5: Preparing [2022-10-26T20:52:16.163Z] 28c3ef001483: Preparing [2022-10-26T20:52:16.440Z] 28c3ef001483: Layer already exists [2022-10-26T20:52:16.440Z] e3c06e25de9e: Pushed [2022-10-26T20:52:16.440Z] 06175edd7721: Pushed [2022-10-26T20:52:17.054Z] b957b7be72b5: Pushed [2022-10-26T20:52:22.498Z] 0c0c397b1390: Pushed [2022-10-26T20:52:22.767Z] aaadd7fbda2364c2efb57d494d7ebea4b574ed12: digest: sha256:c22a20d7d25af97a56870bb5380f4a1e00cff71cbf1fda01e890ee423de7053c size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:52:23.128Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:52:23.487Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-10-26T20:52:23.487Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-10-26T20:52:23.487Z] 06175edd7721: Preparing [2022-10-26T20:52:23.487Z] e3c06e25de9e: Preparing [2022-10-26T20:52:23.487Z] 0c0c397b1390: Preparing [2022-10-26T20:52:23.487Z] b957b7be72b5: Preparing [2022-10-26T20:52:23.487Z] 28c3ef001483: Preparing [2022-10-26T20:52:23.487Z] e3c06e25de9e: Layer already exists [2022-10-26T20:52:23.487Z] 06175edd7721: Layer already exists [2022-10-26T20:52:23.487Z] b957b7be72b5: Layer already exists [2022-10-26T20:52:23.487Z] 28c3ef001483: Layer already exists [2022-10-26T20:52:23.487Z] 0c0c397b1390: Layer already exists [2022-10-26T20:52:23.758Z] latest: digest: sha256:c22a20d7d25af97a56870bb5380f4a1e00cff71cbf1fda01e890ee423de7053c size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:52:24.133Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:52:24.480Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.22 [2022-10-26T20:52:24.480Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-10-26T20:52:24.480Z] 06175edd7721: Preparing [2022-10-26T20:52:24.480Z] e3c06e25de9e: Preparing [2022-10-26T20:52:24.480Z] 0c0c397b1390: Preparing [2022-10-26T20:52:24.480Z] b957b7be72b5: Preparing [2022-10-26T20:52:24.480Z] 28c3ef001483: Preparing [2022-10-26T20:52:24.480Z] 0c0c397b1390: Layer already exists [2022-10-26T20:52:24.480Z] 06175edd7721: Layer already exists [2022-10-26T20:52:24.480Z] e3c06e25de9e: Layer already exists [2022-10-26T20:52:24.480Z] 28c3ef001483: Layer already exists [2022-10-26T20:52:24.480Z] b957b7be72b5: Layer already exists [2022-10-26T20:52:24.753Z] 2.3.0-dev.22: digest: sha256:c22a20d7d25af97a56870bb5380f4a1e00cff71cbf1fda01e890ee423de7053c size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:52:25.108Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:aaadd7fbda2364c2efb57d494d7ebea4b574ed12-2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:52:25.477Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:aaadd7fbda2364c2efb57d494d7ebea4b574ed12-2.3.0-dev.22 [2022-10-26T20:52:25.477Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-10-26T20:52:25.477Z] 06175edd7721: Preparing [2022-10-26T20:52:25.477Z] e3c06e25de9e: Preparing [2022-10-26T20:52:25.477Z] 0c0c397b1390: Preparing [2022-10-26T20:52:25.477Z] b957b7be72b5: Preparing [2022-10-26T20:52:25.477Z] 28c3ef001483: Preparing [2022-10-26T20:52:25.477Z] 0c0c397b1390: Layer already exists [2022-10-26T20:52:25.477Z] b957b7be72b5: Layer already exists [2022-10-26T20:52:25.477Z] 28c3ef001483: Layer already exists [2022-10-26T20:52:25.477Z] 06175edd7721: Layer already exists [2022-10-26T20:52:25.477Z] e3c06e25de9e: Layer already exists [2022-10-26T20:52:25.747Z] aaadd7fbda2364c2efb57d494d7ebea4b574ed12-2.3.0-dev.22: digest: sha256:c22a20d7d25af97a56870bb5380f4a1e00cff71cbf1fda01e890ee423de7053c size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:52:26.101Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:52:26.451Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-10-26T20:52:26.451Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-10-26T20:52:26.451Z] 06175edd7721: Preparing [2022-10-26T20:52:26.451Z] e3c06e25de9e: Preparing [2022-10-26T20:52:26.451Z] 0c0c397b1390: Preparing [2022-10-26T20:52:26.451Z] b957b7be72b5: Preparing [2022-10-26T20:52:26.451Z] 28c3ef001483: Preparing [2022-10-26T20:52:26.451Z] 28c3ef001483: Layer already exists [2022-10-26T20:52:26.451Z] 0c0c397b1390: Layer already exists [2022-10-26T20:52:26.451Z] b957b7be72b5: Layer already exists [2022-10-26T20:52:26.451Z] 06175edd7721: Layer already exists [2022-10-26T20:52:26.451Z] e3c06e25de9e: Layer already exists [2022-10-26T20:52:26.722Z] main: digest: sha256:c22a20d7d25af97a56870bb5380f4a1e00cff71cbf1fda01e890ee423de7053c size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-26T20:52:26.788Z] ===================================================== [Pipeline] echo [2022-10-26T20:52:26.797Z] taggedImages: [2022-10-26T20:52:26.797Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [2022-10-26T20:52:26.797Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-10-26T20:52:26.797Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.22 [2022-10-26T20:52:26.797Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:aaadd7fbda2364c2efb57d494d7ebea4b574ed12-2.3.0-dev.22 [2022-10-26T20:52:26.797Z] - 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 [2022-10-26T20:52:27.209Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:52:27.209Z] [2022-10-26T20:52:27.209Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:52:27.585Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:52:27.857Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T20:52:27.857Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T20:52:27.857Z] 04944245beec: Pulling fs layer [2022-10-26T20:52:27.857Z] 699f458cf7ca: Pulling fs layer [2022-10-26T20:52:27.857Z] 765212b225bb: Pulling fs layer [2022-10-26T20:52:27.857Z] f23df028b6ca: Pulling fs layer [2022-10-26T20:52:27.857Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T20:52:27.857Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T20:52:27.857Z] 765212b225bb: Waiting [2022-10-26T20:52:27.857Z] f23df028b6ca: Waiting [2022-10-26T20:52:27.857Z] d65c8cfc05b1: Waiting [2022-10-26T20:52:27.857Z] 2437ff75d9bd: Waiting [2022-10-26T20:52:27.857Z] 04944245beec: Verifying Checksum [2022-10-26T20:52:27.857Z] 04944245beec: Download complete [2022-10-26T20:52:27.857Z] 765212b225bb: Verifying Checksum [2022-10-26T20:52:27.857Z] 765212b225bb: Download complete [2022-10-26T20:52:28.413Z] f23df028b6ca: Verifying Checksum [2022-10-26T20:52:28.413Z] f23df028b6ca: Download complete [2022-10-26T20:52:28.413Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T20:52:28.413Z] d65c8cfc05b1: Download complete [2022-10-26T20:52:28.413Z] 699f458cf7ca: Verifying Checksum [2022-10-26T20:52:28.413Z] 699f458cf7ca: Download complete [2022-10-26T20:52:28.688Z] 8998bd30e6a1: Verifying Checksum [2022-10-26T20:52:28.688Z] 8998bd30e6a1: Download complete [2022-10-26T20:52:31.311Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T20:52:31.311Z] 2437ff75d9bd: Download complete [2022-10-26T20:52:32.717Z] 8998bd30e6a1: Pull complete [2022-10-26T20:52:32.981Z] 04944245beec: Pull complete [2022-10-26T20:52:34.390Z] 699f458cf7ca: Pull complete [2022-10-26T20:52:34.390Z] 765212b225bb: Pull complete [2022-10-26T20:52:35.357Z] f23df028b6ca: Pull complete [2022-10-26T20:52:35.357Z] d65c8cfc05b1: Pull complete [2022-10-26T20:52:50.361Z] 2437ff75d9bd: Pull complete [2022-10-26T20:52:50.361Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T20:52:50.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:52:50.361Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:52:50.575Z] prd-ubuntu20.04-docker-arm64-4c-16g-117327 does not seem to be running inside a container [2022-10-26T20:52:50.654Z] $ 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/62 -v /w/workspace/device-modbus-go/62:/w/workspace/device-modbus-go/62:rw,z -v /w/workspace/device-modbus-go/62@tmp:/w/workspace/device-modbus-go/62@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 [2022-10-26T20:52:53.627Z] $ docker top 7d57b3e338bb0a53f829be69f56de5698c47aeb0d7fab320ec67eb69a97dde96 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:52:54.493Z] ---> job-cost.sh [2022-10-26T20:52:54.493Z] lf-activate-venv: SKIPPING [2022-10-26T20:52:54.493Z] INFO: No Stack... [2022-10-26T20:52:55.079Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T20:52:55.662Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T20:52:56.305Z] + cat /w/workspace/device-modbus-go/62/archives/cost.csv [2022-10-26T20:52:56.305Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T20:52:56.382Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-62-stack-cost] [2022-10-26T20:52:56.390Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-62-stack-cost] did not exist. Created. [2022-10-26T20:52:56.390Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-62-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T20:52:57.060Z] /w/workspace/device-modbus-go/62@tmp/durable-4ab85d62/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T20:52:57.724Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T20:52:57.744Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T20:52:57.806Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T20:52:57.815Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-62-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T20:52:57.835Z] $ docker stop --time=1 7d57b3e338bb0a53f829be69f56de5698c47aeb0d7fab320ec67eb69a97dde96 [2022-10-26T20:52:59.350Z] $ docker rm -f 7d57b3e338bb0a53f829be69f56de5698c47aeb0d7fab320ec67eb69a97dde96 [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 [2022-10-26T20:52:59.751Z] provisioning config files... [2022-10-26T20:52:59.757Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4406636068765338431tmp [Pipeline] { [Pipeline] sh [2022-10-26T20:53:00.052Z] + set +x [2022-10-26T20:53:00.052Z] + bash -s -- [2022-10-26T20:53:00.052Z] + curl -s https://codecov.io/bash [2022-10-26T20:53:00.052Z] [2022-10-26T20:53:00.052Z] _____ _ [2022-10-26T20:53:00.052Z] / ____| | | [2022-10-26T20:53:00.052Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T20:53:00.052Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T20:53:00.052Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T20:53:00.052Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T20:53:00.052Z] Bash-1.0.6 [2022-10-26T20:53:00.052Z] [2022-10-26T20:53:00.052Z] [2022-10-26T20:53:00.052Z] ==> git version 2.25.1 found [2022-10-26T20:53:00.052Z] ==> 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 [2022-10-26T20:53:00.052Z] Release-Date: 2020-01-08 [2022-10-26T20:53:00.052Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-26T20:53:00.052Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T20:53:00.052Z] ==> Jenkins CI detected. [2022-10-26T20:53:00.052Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-10-26T20:53:00.052Z] project root: . [2022-10-26T20:53:00.052Z] --> token set from env [2022-10-26T20:53:00.052Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T20:53:00.052Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T20:53:00.052Z] ==> Python coveragepy not found [2022-10-26T20:53:00.052Z] ==> Searching for coverage reports in: [2022-10-26T20:53:00.052Z] + . [2022-10-26T20:53:00.052Z] -> Found 1 reports [2022-10-26T20:53:00.052Z] ==> Detecting git/mercurial file structure [2022-10-26T20:53:00.052Z] ==> Reading reports [2022-10-26T20:53:00.052Z] + ./coverage.out bytes=23241 [2022-10-26T20:53:00.052Z] ==> Appending adjustments [2022-10-26T20:53:00.052Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T20:53:00.322Z] + Found adjustments [2022-10-26T20:53:00.322Z] ==> Gzipping contents [2022-10-26T20:53:00.322Z] 4.0K /tmp/codecov.9kvmZE.gz [2022-10-26T20:53:00.322Z] ==> Uploading reports [2022-10-26T20:53:00.322Z] url: https://codecov.io [2022-10-26T20:53:00.322Z] query: branch=main&commit=aaadd7fbda2364c2efb57d494d7ebea4b574ed12&build=62&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F62%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-10-26T20:53:00.322Z] -> Pinging Codecov [2022-10-26T20:53:00.322Z] 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=aaadd7fbda2364c2efb57d494d7ebea4b574ed12&build=62&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F62%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-10-26T20:53:00.585Z] -> Uploading to [2022-10-26T20:53:00.585Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/55DBCA73C666E3227836607328DD7E49/aaadd7fbda2364c2efb57d494d7ebea4b574ed12/fc3f52c1-3f9b-4743-846a-f0e87bfc2ee9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T205300Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1c4f0e083a722be968a416cd8ce5d3c4428208e44c13496767c59115a2652281 [2022-10-26T20:53:00.585Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T20:53:00.585Z] Dload Upload Total Spent Left Speed [2022-10-26T20:53:00.846Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3930 0 0 100 3930 0 19077 --:--:-- --:--:-- --:--:-- 18985 100 3930 0 0 100 3930 0 15000 --:--:-- --:--:-- --:--:-- 14942 [2022-10-26T20:53:00.846Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [Pipeline] } [2022-10-26T20:53:00.852Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-10-26T20:53:00.975Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-10-26T20:53:00.985Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:53:01.283Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-26T20:53:01.283Z] [2022-10-26T20:53:01.283Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:53:01.588Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-26T20:53:01.588Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-10-26T20:53:01.588Z] df9b9388f04a: Pulling fs layer [2022-10-26T20:53:01.588Z] 52dc419b0ee2: Pulling fs layer [2022-10-26T20:53:01.588Z] 25bc292e5bac: Pulling fs layer [2022-10-26T20:53:01.588Z] 114826534d7a: Pulling fs layer [2022-10-26T20:53:01.588Z] 4657fd5d0bcf: Pulling fs layer [2022-10-26T20:53:01.588Z] 6ad1cebc031e: Pulling fs layer [2022-10-26T20:53:01.588Z] 8a3aa393b2d8: Pulling fs layer [2022-10-26T20:53:01.588Z] 4657fd5d0bcf: Waiting [2022-10-26T20:53:01.588Z] 6ad1cebc031e: Waiting [2022-10-26T20:53:01.588Z] 114826534d7a: Waiting [2022-10-26T20:53:01.588Z] 8a3aa393b2d8: Waiting [2022-10-26T20:53:01.588Z] 25bc292e5bac: Download complete [2022-10-26T20:53:01.588Z] 52dc419b0ee2: Download complete [2022-10-26T20:53:01.588Z] 4657fd5d0bcf: Verifying Checksum [2022-10-26T20:53:01.588Z] 4657fd5d0bcf: Download complete [2022-10-26T20:53:01.588Z] df9b9388f04a: Verifying Checksum [2022-10-26T20:53:01.588Z] df9b9388f04a: Download complete [2022-10-26T20:53:01.856Z] df9b9388f04a: Pull complete [2022-10-26T20:53:01.856Z] 52dc419b0ee2: Pull complete [2022-10-26T20:53:01.856Z] 25bc292e5bac: Pull complete [2022-10-26T20:53:01.856Z] 6ad1cebc031e: Verifying Checksum [2022-10-26T20:53:01.856Z] 6ad1cebc031e: Download complete [2022-10-26T20:53:03.334Z] 114826534d7a: Verifying Checksum [2022-10-26T20:53:03.334Z] 114826534d7a: Download complete [2022-10-26T20:53:04.281Z] 8a3aa393b2d8: Verifying Checksum [2022-10-26T20:53:04.281Z] 8a3aa393b2d8: Download complete [2022-10-26T20:53:06.812Z] 114826534d7a: Pull complete [2022-10-26T20:53:06.812Z] 4657fd5d0bcf: Pull complete [2022-10-26T20:53:06.812Z] 6ad1cebc031e: Pull complete [2022-10-26T20:53:09.335Z] 8a3aa393b2d8: Pull complete [2022-10-26T20:53:09.335Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-10-26T20:53:09.335Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-26T20:53:09.335Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:53:09.412Z] prd-ubuntu20.04-docker-8c-8g-117322 does not seem to be running inside a container [2022-10-26T20:53:09.440Z] $ 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 [2022-10-26T20:53:10.733Z] $ docker top f8d975a893d92d70467a20a501e2c7289308f731c4169c0face5a7eea76249e2 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-10-26T20:53:10.791Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2022-10-26T20:53:11.067Z] + set -o pipefail [2022-10-26T20:53:11.067Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2022-10-26T20:53:19.174Z] [2022-10-26T20:53:19.174Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-10-26T20:53:19.174Z] [2022-10-26T20:53:19.174Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/9a65870a-22d7-4e03-bdb6-e6797cd6e61b [2022-10-26T20:53:19.174Z] [2022-10-26T20:53:19.174Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-10-26T20:53:19.174Z] [2022-10-26T20:53:19.174Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-10-26T20:53:19.174Z] [2022-10-26T20:53:19.431Z] [2022-10-26T20:53:19.431Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2022-10-26T20:53:19.431Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2022-10-26T20:53:19.431Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2022-10-26T20:53:19.441Z] $ docker stop --time=1 f8d975a893d92d70467a20a501e2c7289308f731c4169c0face5a7eea76249e2 [2022-10-26T20:53:21.302Z] $ docker rm -f f8d975a893d92d70467a20a501e2c7289308f731c4169c0face5a7eea76249e2 [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 [2022-10-26T20:53:21.997Z] + git log --format=format:%s -1 aaadd7fbda2364c2efb57d494d7ebea4b574ed12 [Pipeline] sh [2022-10-26T20:53:22.283Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T20:53:22.283Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:53:22.571Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:53:22.571Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:53:22.642Z] prd-ubuntu20.04-docker-8c-8g-117322 does not seem to be running inside a container [2022-10-26T20:53:22.674Z] $ 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 [2022-10-26T20:53:23.013Z] $ docker top 612ef89224500957cc21bce85f3d7b2bd4a1e2eee66f7d320bb881c1fe1584d2 -eo pid,comm [2022-10-26T20:53:23.060Z] 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). [2022-10-26T20:53:23.060Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T20:53:23.089Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:53:23.089Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:53:23.205Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:53:23.207Z] $ docker exec 612ef89224500957cc21bce85f3d7b2bd4a1e2eee66f7d320bb881c1fe1584d2 ssh-agent [2022-10-26T20:53:23.314Z] SSH_AUTH_SOCK=/tmp/ssh-xD1IOy9U1w5M/agent.33 [2022-10-26T20:53:23.314Z] SSH_AGENT_PID=39 [2022-10-26T20:53:23.319Z] Running ssh-add (command line suppressed) [2022-10-26T20:53:23.418Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7948391972364290793.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7948391972364290793.key) [2022-10-26T20:53:23.431Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:53:23.713Z] + git semver tag [2022-10-26T20:53:23.972Z] 2022-10-26 20:53:23,873 [run_tag] DEBUG tag force:False [2022-10-26T20:53:23.972Z] 2022-10-26 20:53:23,873 [check_head_tag] DEBUG check head tag [2022-10-26T20:53:23.972Z] 2022-10-26 20:53:23,874 [execute] INFO git cat-file --batch-check [2022-10-26T20:53:23.972Z] 2022-10-26 20:53:23,874 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-10-26T20:53:23.972Z] 2022-10-26 20:53:23,877 [execute] INFO git cat-file --batch [2022-10-26T20:53:23.972Z] 2022-10-26 20:53:23,877 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-10-26T20:53:23.972Z] 2022-10-26 20:53:23,890 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-10-26T20:53:23.972Z] 2022-10-26 20:53:23,890 [execute] INFO git tag -a v2.3.0-dev.22 -m v2.3.0-dev.22 [2022-10-26T20:53:23.972Z] 2022-10-26 20:53:23,890 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.22', '-m', 'v2.3.0-dev.22'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-10-26T20:53:23.972Z] 2022-10-26 20:53:23,894 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-10-26T20:53:23.972Z] 2.3.0-dev.22 [Pipeline] } [2022-10-26T20:53:23.980Z] $ docker exec --env ******** --env ******** 612ef89224500957cc21bce85f3d7b2bd4a1e2eee66f7d320bb881c1fe1584d2 ssh-agent -k [2022-10-26T20:53:24.088Z] unset SSH_AUTH_SOCK; [2022-10-26T20:53:24.088Z] unset SSH_AGENT_PID; [2022-10-26T20:53:24.088Z] echo Agent pid 39 killed; [2022-10-26T20:53:24.098Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T20:53:24.403Z] + git semver [Pipeline] } [2022-10-26T20:53:24.672Z] $ docker stop --time=1 612ef89224500957cc21bce85f3d7b2bd4a1e2eee66f7d320bb881c1fe1584d2 [2022-10-26T20:53:25.926Z] $ docker rm -f 612ef89224500957cc21bce85f3d7b2bd4a1e2eee66f7d320bb881c1fe1584d2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:53:26.307Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-26T20:53:26.307Z] [2022-10-26T20:53:26.307Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:53:26.604Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-26T20:53:26.604Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-10-26T20:53:26.604Z] ab5ef0e58194: Pulling fs layer [2022-10-26T20:53:26.604Z] 9712f1f96733: Pulling fs layer [2022-10-26T20:53:26.604Z] 63f879dbbcfc: Pulling fs layer [2022-10-26T20:53:26.604Z] 0d9ebad4ef96: Pulling fs layer [2022-10-26T20:53:26.604Z] e9a5061849ea: Pulling fs layer [2022-10-26T20:53:26.604Z] d747dcd14b5f: Pulling fs layer [2022-10-26T20:53:26.604Z] 2de7ff778b66: Pulling fs layer [2022-10-26T20:53:26.604Z] d747dcd14b5f: Waiting [2022-10-26T20:53:26.604Z] 0d9ebad4ef96: Waiting [2022-10-26T20:53:26.604Z] e9a5061849ea: Waiting [2022-10-26T20:53:26.604Z] 2de7ff778b66: Waiting [2022-10-26T20:53:26.604Z] 9712f1f96733: Verifying Checksum [2022-10-26T20:53:26.604Z] 9712f1f96733: Download complete [2022-10-26T20:53:26.865Z] 63f879dbbcfc: Verifying Checksum [2022-10-26T20:53:26.865Z] 63f879dbbcfc: Download complete [2022-10-26T20:53:27.124Z] e9a5061849ea: Verifying Checksum [2022-10-26T20:53:27.124Z] e9a5061849ea: Download complete [2022-10-26T20:53:27.124Z] d747dcd14b5f: Verifying Checksum [2022-10-26T20:53:27.124Z] d747dcd14b5f: Download complete [2022-10-26T20:53:27.124Z] ab5ef0e58194: Verifying Checksum [2022-10-26T20:53:27.124Z] ab5ef0e58194: Download complete [2022-10-26T20:53:27.381Z] 2de7ff778b66: Verifying Checksum [2022-10-26T20:53:27.381Z] 2de7ff778b66: Download complete [2022-10-26T20:53:27.381Z] 0d9ebad4ef96: Verifying Checksum [2022-10-26T20:53:27.381Z] 0d9ebad4ef96: Download complete [2022-10-26T20:53:29.903Z] ab5ef0e58194: Pull complete [2022-10-26T20:53:29.903Z] 9712f1f96733: Pull complete [2022-10-26T20:53:30.160Z] 63f879dbbcfc: Pull complete [2022-10-26T20:53:33.439Z] 0d9ebad4ef96: Pull complete [2022-10-26T20:53:33.439Z] e9a5061849ea: Pull complete [2022-10-26T20:53:33.439Z] d747dcd14b5f: Pull complete [2022-10-26T20:53:34.371Z] 2de7ff778b66: Pull complete [2022-10-26T20:53:34.371Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-10-26T20:53:34.371Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-26T20:53:34.371Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:53:34.441Z] prd-ubuntu20.04-docker-8c-8g-117322 does not seem to be running inside a container [2022-10-26T20:53:34.469Z] $ 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 [2022-10-26T20:53:35.834Z] $ docker top 17fac79a9001443272272c18d2309a0b1c88f8f0ad47dd59d0ad66548c1075fc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:53:35.897Z] provisioning config files... [2022-10-26T20:53:35.901Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10166993721328079916tmp [2022-10-26T20:53:35.910Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15935025775949971559tmp [2022-10-26T20:53:35.916Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8957248874881833025tmp [Pipeline] { [Pipeline] echo [2022-10-26T20:53:35.926Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:53:36.208Z] ---> sigul-configuration.sh [2022-10-26T20:53:36.208Z] gpg: directory `/root/.gnupg' created [2022-10-26T20:53:36.208Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-10-26T20:53:36.208Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-10-26T20:53:36.208Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-10-26T20:53:36.208Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-10-26T20:53:36.208Z] gpg: CAST5 encrypted data [2022-10-26T20:53:36.208Z] gpg: encrypted with 1 passphrase [2022-10-26T20:53:36.208Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-10-26T20:53:36.492Z] + mkdir /home/jenkins [2022-10-26T20:53:36.492Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-10-26T20:53:36.772Z] + 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 [2022-10-26T20:53:36.780Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:53:37.061Z] ---> sigul-install.sh [2022-10-26T20:53:37.061Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-10-26T20:53:37.345Z] + git tag --list [2022-10-26T20:53:37.345Z] 0.7.1 [2022-10-26T20:53:37.345Z] v1.0.0 [2022-10-26T20:53:37.345Z] v1.1.0 [2022-10-26T20:53:37.345Z] v1.1.1 [2022-10-26T20:53:37.345Z] v1.2.2 [2022-10-26T20:53:37.345Z] v1.3.0 [2022-10-26T20:53:37.345Z] v1.3.1 [2022-10-26T20:53:37.345Z] v2.0.0 [2022-10-26T20:53:37.345Z] v2.1.0 [2022-10-26T20:53:37.345Z] v2.1.1 [2022-10-26T20:53:37.345Z] v2.1.1-dev.1 [2022-10-26T20:53:37.345Z] v2.1.1-dev.2 [2022-10-26T20:53:37.345Z] v2.1.1-dev.3 [2022-10-26T20:53:37.345Z] v2.2.0 [2022-10-26T20:53:37.345Z] v2.2.1-dev.1 [2022-10-26T20:53:37.345Z] v2.2.1-dev.2 [2022-10-26T20:53:37.345Z] v2.2.1-dev.3 [2022-10-26T20:53:37.345Z] v2.2.1-dev.4 [2022-10-26T20:53:37.345Z] v2.2.1-dev.5 [2022-10-26T20:53:37.345Z] v2.2.1-dev.6 [2022-10-26T20:53:37.345Z] v2.2.1-dev.7 [2022-10-26T20:53:37.345Z] v2.3.0-dev.10 [2022-10-26T20:53:37.345Z] v2.3.0-dev.11 [2022-10-26T20:53:37.345Z] v2.3.0-dev.12 [2022-10-26T20:53:37.345Z] v2.3.0-dev.13 [2022-10-26T20:53:37.345Z] v2.3.0-dev.14 [2022-10-26T20:53:37.345Z] v2.3.0-dev.15 [2022-10-26T20:53:37.345Z] v2.3.0-dev.16 [2022-10-26T20:53:37.345Z] v2.3.0-dev.17 [2022-10-26T20:53:37.345Z] v2.3.0-dev.18 [2022-10-26T20:53:37.345Z] v2.3.0-dev.19 [2022-10-26T20:53:37.345Z] v2.3.0-dev.20 [2022-10-26T20:53:37.345Z] v2.3.0-dev.21 [2022-10-26T20:53:37.345Z] v2.3.0-dev.22 [2022-10-26T20:53:37.345Z] v2.3.0-dev.7 [2022-10-26T20:53:37.345Z] v2.3.0-dev.8 [2022-10-26T20:53:37.345Z] v2.3.0-dev.9 [Pipeline] sh [2022-10-26T20:53:37.627Z] + lftools sign git-tag v2.3.0-dev.22 [2022-10-26T20:53:38.194Z] Signing Git tag with Sigul... [2022-10-26T20:53:38.194Z] Signing v2.3.0-dev.22 [Pipeline] echo [2022-10-26T20:53:38.459Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:53:38.737Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-10-26T20:53:38.743Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-10-26T20:53:38.767Z] $ docker stop --time=1 17fac79a9001443272272c18d2309a0b1c88f8f0ad47dd59d0ad66548c1075fc [2022-10-26T20:53:40.049Z] $ docker rm -f 17fac79a9001443272272c18d2309a0b1c88f8f0ad47dd59d0ad66548c1075fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-10-26T20:53:40.450Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T20:53:40.450Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:53:40.749Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:53:40.749Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:53:40.815Z] prd-ubuntu20.04-docker-8c-8g-117322 does not seem to be running inside a container [2022-10-26T20:53:40.838Z] $ 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 [2022-10-26T20:53:41.165Z] $ docker top 2d575da2a4011e29b6396de57bccee7341095f5b57fbfa152c6245cff9c1a7c2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T20:53:41.252Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:53:41.252Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:53:41.372Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:53:41.373Z] $ docker exec 2d575da2a4011e29b6396de57bccee7341095f5b57fbfa152c6245cff9c1a7c2 ssh-agent [2022-10-26T20:53:41.484Z] SSH_AUTH_SOCK=/tmp/ssh-xOVf8RNFlWON/agent.33 [2022-10-26T20:53:41.484Z] SSH_AGENT_PID=39 [2022-10-26T20:53:41.489Z] Running ssh-add (command line suppressed) [2022-10-26T20:53:41.588Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7481613223825347074.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7481613223825347074.key) [2022-10-26T20:53:41.600Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:53:41.882Z] + git semver bump pre [2022-10-26T20:53:42.142Z] 2022-10-26 20:53:42,060 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-10-26T20:53:42.142Z] 2022-10-26 20:53:42,060 [bump_version] DEBUG bumping version:2.3.0-dev.22 on axis:pre with prefix:dev [2022-10-26T20:53:42.142Z] 2022-10-26 20:53:42,060 [bump_version] DEBUG bumped version:2.3.0-dev.23 [2022-10-26T20:53:42.142Z] 2022-10-26 20:53:42,060 [write_version] DEBUG write version:2.3.0-dev.23 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2022-10-26T20:53:42.142Z] 2022-10-26 20:53:42,060 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-10-26T20:53:42.142Z] 2022-10-26 20:53:42,061 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-10-26T20:53:42.142Z] 2022-10-26 20:53:42,063 [execute] INFO git cat-file --batch-check [2022-10-26T20:53:42.142Z] 2022-10-26 20:53:42,063 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T20:53:42.142Z] 2022-10-26 20:53:42,069 [execute] INFO git cat-file --batch [2022-10-26T20:53:42.142Z] 2022-10-26 20:53:42,070 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T20:53:42.142Z] 2022-10-26 20:53:42,075 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-10-26T20:53:42.142Z] 2.3.0-dev.23 [Pipeline] } [2022-10-26T20:53:42.153Z] $ docker exec --env ******** --env ******** 2d575da2a4011e29b6396de57bccee7341095f5b57fbfa152c6245cff9c1a7c2 ssh-agent -k [2022-10-26T20:53:42.258Z] unset SSH_AUTH_SOCK; [2022-10-26T20:53:42.258Z] unset SSH_AGENT_PID; [2022-10-26T20:53:42.258Z] echo Agent pid 39 killed; [2022-10-26T20:53:42.269Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T20:53:42.569Z] + git semver [Pipeline] } [2022-10-26T20:53:42.839Z] $ docker stop --time=1 2d575da2a4011e29b6396de57bccee7341095f5b57fbfa152c6245cff9c1a7c2 [2022-10-26T20:53:44.127Z] $ docker rm -f 2d575da2a4011e29b6396de57bccee7341095f5b57fbfa152c6245cff9c1a7c2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:53:44.454Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T20:53:44.454Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:53:44.762Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:53:44.762Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:53:44.830Z] prd-ubuntu20.04-docker-8c-8g-117322 does not seem to be running inside a container [2022-10-26T20:53:44.858Z] $ 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 [2022-10-26T20:53:45.170Z] $ docker top ae5df5c28014eea1d462753e9ea8c8ffbbf5f0e22049e4fcc489cc3fa742e141 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T20:53:45.263Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:53:45.263Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:53:45.368Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:53:45.370Z] $ docker exec ae5df5c28014eea1d462753e9ea8c8ffbbf5f0e22049e4fcc489cc3fa742e141 ssh-agent [2022-10-26T20:53:45.475Z] SSH_AUTH_SOCK=/tmp/ssh-0ITAK1jHolDI/agent.32 [2022-10-26T20:53:45.475Z] SSH_AGENT_PID=38 [2022-10-26T20:53:45.480Z] Running ssh-add (command line suppressed) [2022-10-26T20:53:45.601Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10955490046691599332.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10955490046691599332.key) [2022-10-26T20:53:45.612Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:53:45.889Z] + git semver push [2022-10-26T20:53:46.147Z] 2022-10-26 20:53:46,072 [run_push] DEBUG push [2022-10-26T20:53:46.147Z] 2022-10-26 20:53:46,072 [execute] INFO git cat-file --batch-check [2022-10-26T20:53:46.147Z] 2022-10-26 20:53:46,072 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T20:53:46.147Z] 2022-10-26 20:53:46,076 [execute] INFO git rev-list 41d6eb2facf0f711b3e878ac322d2e949a9bc99c -- [2022-10-26T20:53:46.148Z] 2022-10-26 20:53:46,076 [execute] DEBUG Popen(['git', 'rev-list', '41d6eb2facf0f711b3e878ac322d2e949a9bc99c', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-10-26T20:53:46.148Z] 2022-10-26 20:53:46,083 [execute] INFO git fetch -v origin [2022-10-26T20:53:46.148Z] 2022-10-26 20:53:46,083 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-10-26T20:53:46.715Z] 2022-10-26 20:53:46,676 [run_push] DEBUG no remote changes detected [2022-10-26T20:53:46.715Z] 2022-10-26 20:53:46,676 [execute] INFO git push origin semver [2022-10-26T20:53:46.715Z] 2022-10-26 20:53:46,677 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-10-26T20:53:47.650Z] 2022-10-26 20:53:47,487 [run_push] DEBUG push all version tags [2022-10-26T20:53:47.650Z] 2022-10-26 20:53:47,488 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-10-26T20:53:47.650Z] 2022-10-26 20:53:47,488 [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) [2022-10-26T20:53:48.583Z] 2022-10-26 20:53:48,293 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-10-26T20:53:48.583Z] 2.3.0-dev.23 [Pipeline] } [2022-10-26T20:53:48.590Z] $ docker exec --env ******** --env ******** ae5df5c28014eea1d462753e9ea8c8ffbbf5f0e22049e4fcc489cc3fa742e141 ssh-agent -k [2022-10-26T20:53:48.673Z] unset SSH_AUTH_SOCK; [2022-10-26T20:53:48.673Z] unset SSH_AGENT_PID; [2022-10-26T20:53:48.673Z] echo Agent pid 38 killed; [2022-10-26T20:53:48.684Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T20:53:48.977Z] + git semver [Pipeline] } [2022-10-26T20:53:49.244Z] $ docker stop --time=1 ae5df5c28014eea1d462753e9ea8c8ffbbf5f0e22049e4fcc489cc3fa742e141 [2022-10-26T20:53:50.522Z] $ docker rm -f ae5df5c28014eea1d462753e9ea8c8ffbbf5f0e22049e4fcc489cc3fa742e141 [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 [2022-10-26T20:53:51.058Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-10-26T20:53:51.058Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-10-26T20:53:51.058Z] total 16 [2022-10-26T20:53:51.058Z] drwxr-xr-x 3 root root 4096 Oct 26 20:43 . [2022-10-26T20:53:51.058Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 20:53 .. [2022-10-26T20:53:51.058Z] drwxr-xr-x 2 root root 4096 Oct 26 20:43 cost [2022-10-26T20:53:51.058Z] -rw-r--r-- 1 root root 87 Oct 26 20:43 cost.csv [2022-10-26T20:53:51.058Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-10-26T20:53:51.058Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-10-26T20:53:51.058Z] total 16 [2022-10-26T20:53:51.058Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:43 . [2022-10-26T20:53:51.058Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 20:53 .. [2022-10-26T20:53:51.058Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 20:43 cost [2022-10-26T20:53:51.058Z] -rw-r--r-- 1 jenkins jenkins 87 Oct 26 20:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:53:51.343Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:53:52.195Z] ---> package-listing.sh [2022-10-26T20:53:52.196Z] ++ facter osfamily [2022-10-26T20:53:52.196Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T20:53:52.455Z] + OS_FAMILY=debian [2022-10-26T20:53:52.455Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-10-26T20:53:52.455Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T20:53:52.455Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T20:53:52.455Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T20:53:52.455Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T20:53:52.455Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-10-26T20:53:52.455Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T20:53:52.455Z] + case "${OS_FAMILY}" in [2022-10-26T20:53:52.455Z] + dpkg -l [2022-10-26T20:53:52.455Z] + grep '^ii' [2022-10-26T20:53:52.455Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T20:53:52.455Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T20:53:52.455Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T20:53:52.455Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-10-26T20:53:52.455Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-10-26T20:53:52.455Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2022-10-26T20:53:52.466Z] 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 [2022-10-26T20:53:52.743Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:53:53.303Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:53:53.303Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:53:53.372Z] prd-ubuntu20.04-docker-8c-8g-117322 does not seem to be running inside a container [2022-10-26T20:53:53.400Z] $ 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 [2022-10-26T20:53:53.584Z] $ docker top bf2ea28bec22394a2e955b92b783a1fb53a28f04d238d8c2f687be9e38ce9649 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:53:53.917Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T20:53:54.198Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T20:53:54.594Z] + ls /var/log/sa-host [2022-10-26T20:53:54.594Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:53:54.685Z] provisioning config files... [2022-10-26T20:53:54.705Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1148019588148786969tmp [Pipeline] { [Pipeline] echo [2022-10-26T20:53:54.729Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:53:55.124Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T20:53:55.131Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:53:55.458Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T20:53:55.465Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:53:55.756Z] ---> sudo-logs.sh [2022-10-26T20:53:55.756Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T20:53:55.782Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:53:56.062Z] ---> job-cost.sh [2022-10-26T20:53:56.063Z] lf-activate-venv: SKIPPING [2022-10-26T20:53:56.063Z] DEBUG: total: 0.2199999988079071 [2022-10-26T20:53:56.063Z] INFO: Retrieving Stack Cost... [2022-10-26T20:53:56.630Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T20:53:56.888Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T20:53:56.898Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:53:57.180Z] ---> logs-deploy.sh [2022-10-26T20:53:57.180Z] lf-activate-venv: SKIPPING [2022-10-26T20:53:57.180Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/62 [2022-10-26T20:53:57.180Z] INFO: archiving workspace using pattern(s): [2022-10-26T20:53:58.113Z] Archives upload complete. [2022-10-26T20:53:58.113Z] INFO: archiving logs to Nexus