Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 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-ssh7839054091708895452.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh3305737410861701469.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh17661698098714190826.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh9394593792712192775.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8323387635534713224.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1596 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 (main) > 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 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 # timeout=10 Commit message: "Merge pull request #554 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.16" > git rev-list --no-walk 6ffd961e50bad5aafcddb961eadc768a2e323cba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-30T07:36:00.881Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-30T07:36:00.964Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-30T07:36:00.990Z] ========================================================= [2024-05-30T07:36:00.990Z] EdgeX Global Pipelines Version Info [2024-05-30T07:36:00.990Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-30T07:36:01.718Z] ------------------- [2024-05-30T07:36:01.718Z] stable info: [2024-05-30T07:36:01.718Z] ------------------- [2024-05-30T07:36:01.718Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-30T07:36:01.718Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-05-30T07:36:01.718Z] Message: update stable to v1.0.260 [2024-05-30T07:36:02.287Z] ------------------- [2024-05-30T07:36:02.287Z] experimental info: [2024-05-30T07:36:02.287Z] ------------------- [2024-05-30T07:36:02.287Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-30T07:36:02.287Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-30T07:36:02.287Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-30T07:36:02.371Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-05-30T07:36:02.396Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-05-30T07:36:02.421Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-30T07:36:02.440Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-30T07:36:02.463Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-30T07:36:02.484Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-30T07:36:02.503Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-30T07:36:02.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-30T07:36:02.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-30T07:36:02.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-30T07:36:02.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-30T07:36:02.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-05-30T07:36:02.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-30T07:36:02.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-30T07:36:02.683Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-30T07:36:02.705Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-30T07:36:02.731Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-30T07:36:02.758Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-30T07:36:02.781Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-30T07:36:02.805Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-30T07:36:02.828Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-05-30T07:36:02.850Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-05-30T07:36:02.874Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-30T07:36:02.895Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-30T07:36:02.917Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-30T07:36:02.937Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-30T07:36:02.957Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-30T07:36:02.979Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-05-30T07:36:02.999Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-05-30T07:36:03.021Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-05-30T07:36:03.042Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [Pipeline] echo [2024-05-30T07:36:03.064Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 13e477b [Pipeline] echo [2024-05-30T07:36:03.085Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-30T07:36:03.153Z] provisioning config files... [2024-05-30T07:36:03.166Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10769193549961190839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-30T07:36:03.500Z] ---> ****-login.sh [2024-05-30T07:36:03.500Z] nexus3.edgexfoundry.org:10001 [2024-05-30T07:36:03.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T07:36:04.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T07:36:04.022Z] Configure a credential helper to remove this warning. See [2024-05-30T07:36:04.022Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T07:36:04.022Z] [2024-05-30T07:36:04.022Z] Login Succeeded [2024-05-30T07:36:04.022Z] nexus3.edgexfoundry.org:10002 [2024-05-30T07:36:04.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T07:36:04.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T07:36:04.022Z] Configure a credential helper to remove this warning. See [2024-05-30T07:36:04.022Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T07:36:04.022Z] [2024-05-30T07:36:04.022Z] Login Succeeded [2024-05-30T07:36:04.022Z] nexus3.edgexfoundry.org:10003 [2024-05-30T07:36:04.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T07:36:04.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T07:36:04.281Z] Configure a credential helper to remove this warning. See [2024-05-30T07:36:04.281Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T07:36:04.281Z] [2024-05-30T07:36:04.281Z] Login Succeeded [2024-05-30T07:36:04.281Z] nexus3.edgexfoundry.org:10004 [2024-05-30T07:36:04.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T07:36:04.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T07:36:04.540Z] Configure a credential helper to remove this warning. See [2024-05-30T07:36:04.540Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T07:36:04.540Z] [2024-05-30T07:36:04.540Z] Login Succeeded [2024-05-30T07:36:04.540Z] ****.io [2024-05-30T07:36:04.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T07:36:04.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T07:36:04.800Z] Configure a credential helper to remove this warning. See [2024-05-30T07:36:04.800Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T07:36:04.800Z] [2024-05-30T07:36:04.800Z] Login Succeeded [2024-05-30T07:36:04.800Z] ---> ****-login.sh ends [Pipeline] } [2024-05-30T07:36:04.808Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-30T07:36:05.220Z] + git rev-list -1 --merges 13e477b7e225234a84aaaa3becdbd9ca8ce93d09~1..13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [Pipeline] echo [2024-05-30T07:36:05.249Z] -----------> git rev-list -1 --merges 13e477b7e225234a84aaaa3becdbd9ca8ce93d09~1..13e477b7e225234a84aaaa3becdbd9ca8ce93d09 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [2024-05-30T07:36:05.249Z] 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [false] [Pipeline] sh [2024-05-30T07:36:05.543Z] + git log --format=format:%s -1 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [Pipeline] echo [2024-05-30T07:36:05.560Z] ========================================================= [2024-05-30T07:36:05.560Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-30T07:36:05.560Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-30T07:36:05.914Z] + git log --format=format:%s -1 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [Pipeline] echo [2024-05-30T07:36:05.926Z] [semverPrep] GIT_COMMIT: 13e477b7e225234a84aaaa3becdbd9ca8ce93d09, Commit Message: Merge pull request #554 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.16 [Pipeline] echo [2024-05-30T07:36:05.938Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-30T07:36:06.322Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-30T07:36:06.322Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-30T07:36:06.322Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-30T07:36:06.322Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-30T07:36:06.322Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-30T07:36:06.322Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-30T07:36:06.322Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:36:06.757Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-30T07:36:06.757Z] [2024-05-30T07:36:06.757Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:36:07.064Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-30T07:36:07.064Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-30T07:36:07.064Z] b85a868b505f: Pulling fs layer [2024-05-30T07:36:07.064Z] e2be974225ed: Pulling fs layer [2024-05-30T07:36:07.064Z] 339a4e72a1f5: Pulling fs layer [2024-05-30T07:36:07.064Z] 988bab9f4d93: Pulling fs layer [2024-05-30T07:36:07.064Z] 1469e6f7b9e6: Pulling fs layer [2024-05-30T07:36:07.064Z] eaf3925da568: Pulling fs layer [2024-05-30T07:36:07.064Z] bab4dde63d76: Pulling fs layer [2024-05-30T07:36:07.064Z] bde34c3a00c8: Pulling fs layer [2024-05-30T07:36:07.064Z] b352a97aabf1: Pulling fs layer [2024-05-30T07:36:07.064Z] 4872d77fe225: Pulling fs layer [2024-05-30T07:36:07.064Z] 5851b861e8e6: Pulling fs layer [2024-05-30T07:36:07.064Z] 988bab9f4d93: Waiting [2024-05-30T07:36:07.064Z] b352a97aabf1: Waiting [2024-05-30T07:36:07.064Z] eaf3925da568: Waiting [2024-05-30T07:36:07.064Z] 4872d77fe225: Waiting [2024-05-30T07:36:07.064Z] 5851b861e8e6: Waiting [2024-05-30T07:36:07.064Z] bab4dde63d76: Waiting [2024-05-30T07:36:07.064Z] bde34c3a00c8: Waiting [2024-05-30T07:36:07.064Z] e2be974225ed: Verifying Checksum [2024-05-30T07:36:07.064Z] e2be974225ed: Download complete [2024-05-30T07:36:07.064Z] 988bab9f4d93: Download complete [2024-05-30T07:36:07.325Z] 339a4e72a1f5: Verifying Checksum [2024-05-30T07:36:07.325Z] 339a4e72a1f5: Download complete [2024-05-30T07:36:07.325Z] 1469e6f7b9e6: Verifying Checksum [2024-05-30T07:36:07.325Z] 1469e6f7b9e6: Download complete [2024-05-30T07:36:07.325Z] eaf3925da568: Download complete [2024-05-30T07:36:07.325Z] bde34c3a00c8: Verifying Checksum [2024-05-30T07:36:07.325Z] bde34c3a00c8: Download complete [2024-05-30T07:36:07.325Z] b352a97aabf1: Download complete [2024-05-30T07:36:07.325Z] 4872d77fe225: Download complete [2024-05-30T07:36:07.325Z] 5851b861e8e6: Verifying Checksum [2024-05-30T07:36:07.325Z] 5851b861e8e6: Download complete [2024-05-30T07:36:07.325Z] b85a868b505f: Verifying Checksum [2024-05-30T07:36:07.325Z] b85a868b505f: Download complete [2024-05-30T07:36:07.897Z] bab4dde63d76: Verifying Checksum [2024-05-30T07:36:07.897Z] bab4dde63d76: Download complete [2024-05-30T07:36:08.533Z] b85a868b505f: Pull complete [2024-05-30T07:36:08.794Z] e2be974225ed: Pull complete [2024-05-30T07:36:09.367Z] 339a4e72a1f5: Pull complete [2024-05-30T07:36:09.367Z] 988bab9f4d93: Pull complete [2024-05-30T07:36:09.627Z] 1469e6f7b9e6: Pull complete [2024-05-30T07:36:09.888Z] eaf3925da568: Pull complete [2024-05-30T07:36:11.794Z] bab4dde63d76: Pull complete [2024-05-30T07:36:11.794Z] bde34c3a00c8: Pull complete [2024-05-30T07:36:12.054Z] b352a97aabf1: Pull complete [2024-05-30T07:36:12.055Z] 4872d77fe225: Pull complete [2024-05-30T07:36:12.055Z] 5851b861e8e6: Pull complete [2024-05-30T07:36:12.055Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-30T07:36:12.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-30T07:36:12.055Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-30T07:36:12.212Z] prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container [2024-05-30T07:36:12.246Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-30T07:36:16.946Z] $ docker top dd397546bb15f2dfe0828fac83f328a88fc013381c4c47f913882c37be95c593 -eo pid,comm [2024-05-30T07:36:17.009Z] 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). [2024-05-30T07:36:17.009Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-30T07:36:17.067Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-30T07:36:17.067Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-30T07:36:17.190Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-30T07:36:17.191Z] $ docker exec dd397546bb15f2dfe0828fac83f328a88fc013381c4c47f913882c37be95c593 ssh-agent [2024-05-30T07:36:17.307Z] SSH_AUTH_SOCK=/tmp/ssh-5Qy9KmsG5L1X/agent.32 [2024-05-30T07:36:17.307Z] SSH_AGENT_PID=38 [2024-05-30T07:36:17.313Z] Running ssh-add (command line suppressed) [2024-05-30T07:36:17.422Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1899673712056932019.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1899673712056932019.key) [2024-05-30T07:36:17.441Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-30T07:36:17.737Z] + git tag --points-at HEAD [Pipeline] } [2024-05-30T07:36:17.747Z] $ docker exec --env ******** --env ******** dd397546bb15f2dfe0828fac83f328a88fc013381c4c47f913882c37be95c593 ssh-agent -k [2024-05-30T07:36:17.847Z] unset SSH_AUTH_SOCK; [2024-05-30T07:36:17.847Z] unset SSH_AGENT_PID; [2024-05-30T07:36:17.847Z] echo Agent pid 38 killed; [2024-05-30T07:36:17.858Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-30T07:36:17.898Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-30T07:36:17.898Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-30T07:36:18.014Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-30T07:36:18.015Z] $ docker exec dd397546bb15f2dfe0828fac83f328a88fc013381c4c47f913882c37be95c593 ssh-agent [2024-05-30T07:36:18.140Z] SSH_AUTH_SOCK=/tmp/ssh-NwzyXfoEM8KO/agent.71 [2024-05-30T07:36:18.140Z] SSH_AGENT_PID=77 [2024-05-30T07:36:18.146Z] Running ssh-add (command line suppressed) [2024-05-30T07:36:18.259Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17801262196676338527.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17801262196676338527.key) [2024-05-30T07:36:18.285Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-30T07:36:18.586Z] + git semver init [2024-05-30T07:36:18.845Z] 2024-05-30 07:36:18,793 [run_init] DEBUG init version:0.0.0 force:False [2024-05-30T07:36:18.845Z] 2024-05-30 07:36:18,794 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2024-05-30T07:36:18.845Z] 2024-05-30 07:36:18,794 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2024-05-30T07:36:18.845Z] 2024-05-30 07:36:18,794 [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) [2024-05-30T07:36:20.232Z] 2024-05-30 07:36:19,929 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2024-05-30T07:36:20.232Z] 2024-05-30 07:36:19,930 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2024-05-30T07:36:20.232Z] 2024-05-30 07:36:19,930 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-05-30T07:36:20.232Z] 2024-05-30 07:36:19,930 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-05-30T07:36:20.232Z] 3.2.0-dev.13 [Pipeline] } [2024-05-30T07:36:20.241Z] $ docker exec --env ******** --env ******** dd397546bb15f2dfe0828fac83f328a88fc013381c4c47f913882c37be95c593 ssh-agent -k [2024-05-30T07:36:20.370Z] unset SSH_AUTH_SOCK; [2024-05-30T07:36:20.371Z] unset SSH_AGENT_PID; [2024-05-30T07:36:20.372Z] echo Agent pid 77 killed; [2024-05-30T07:36:20.383Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-30T07:36:20.704Z] + git semver [Pipeline] } [2024-05-30T07:36:20.976Z] $ docker stop --time=1 dd397546bb15f2dfe0828fac83f328a88fc013381c4c47f913882c37be95c593 [2024-05-30T07:36:22.387Z] $ docker rm -f --volumes dd397546bb15f2dfe0828fac83f328a88fc013381c4c47f913882c37be95c593 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-30T07:36:22.742Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-30T07:36:23.025Z] Stashed 1 file(s) [Pipeline] echo [2024-05-30T07:36:23.029Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.13 [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 [2024-05-30T07:36:23.206Z] provisioning config files... [2024-05-30T07:36:23.217Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14211101168291805205tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-30T07:36:23.520Z] ---> ****-login.sh [2024-05-30T07:36:23.521Z] nexus3.edgexfoundry.org:10001 [2024-05-30T07:36:23.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T07:36:23.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T07:36:23.521Z] Configure a credential helper to remove this warning. See [2024-05-30T07:36:23.521Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T07:36:23.521Z] [2024-05-30T07:36:23.521Z] Login Succeeded [2024-05-30T07:36:23.521Z] nexus3.edgexfoundry.org:10002 [2024-05-30T07:36:23.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T07:36:23.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T07:36:23.779Z] Configure a credential helper to remove this warning. See [2024-05-30T07:36:23.780Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T07:36:23.780Z] [2024-05-30T07:36:23.780Z] Login Succeeded [2024-05-30T07:36:23.780Z] nexus3.edgexfoundry.org:10003 [2024-05-30T07:36:23.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T07:36:23.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T07:36:23.780Z] Configure a credential helper to remove this warning. See [2024-05-30T07:36:23.780Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T07:36:23.780Z] [2024-05-30T07:36:23.780Z] Login Succeeded [2024-05-30T07:36:23.780Z] nexus3.edgexfoundry.org:10004 [2024-05-30T07:36:23.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T07:36:24.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T07:36:24.040Z] Configure a credential helper to remove this warning. See [2024-05-30T07:36:24.040Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T07:36:24.040Z] [2024-05-30T07:36:24.040Z] Login Succeeded [2024-05-30T07:36:24.040Z] ****.io [2024-05-30T07:36:24.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T07:36:24.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T07:36:24.299Z] Configure a credential helper to remove this warning. See [2024-05-30T07:36:24.299Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T07:36:24.299Z] [2024-05-30T07:36:24.299Z] Login Succeeded [2024-05-30T07:36:24.299Z] ---> ****-login.sh ends [Pipeline] } [2024-05-30T07:36:24.306Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-30T07:36:24.402Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-30T07:36:24.418Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-30T07:36:24.437Z] ========================================================= [2024-05-30T07:36:24.437Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-05-30T07:36:24.437Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:36:24.766Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-05-30T07:36:24.766Z] Sending build context to Docker daemon 17.69MB [2024-05-30T07:36:24.766Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-30T07:36:24.766Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-30T07:36:25.026Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-05-30T07:36:25.026Z] 619be1103602: Pulling fs layer [2024-05-30T07:36:25.026Z] 7862e08f4a3e: Pulling fs layer [2024-05-30T07:36:25.026Z] 5df492c9dc93: Pulling fs layer [2024-05-30T07:36:25.026Z] 7629e6793208: Pulling fs layer [2024-05-30T07:36:25.026Z] 4f4fb700ef54: Pulling fs layer [2024-05-30T07:36:25.026Z] fb5054dd5b73: Pulling fs layer [2024-05-30T07:36:25.026Z] eeca6798cff9: Pulling fs layer [2024-05-30T07:36:25.026Z] aa269ceb94a6: Pulling fs layer [2024-05-30T07:36:25.026Z] ada007ff1a6a: Pulling fs layer [2024-05-30T07:36:25.026Z] fb5054dd5b73: Waiting [2024-05-30T07:36:25.026Z] ada007ff1a6a: Waiting [2024-05-30T07:36:25.026Z] eeca6798cff9: Waiting [2024-05-30T07:36:25.026Z] aa269ceb94a6: Waiting [2024-05-30T07:36:25.026Z] 7629e6793208: Waiting [2024-05-30T07:36:25.026Z] 4f4fb700ef54: Waiting [2024-05-30T07:36:25.026Z] 7862e08f4a3e: Download complete [2024-05-30T07:36:25.026Z] 7629e6793208: Verifying Checksum [2024-05-30T07:36:25.026Z] 7629e6793208: Download complete [2024-05-30T07:36:25.026Z] 4f4fb700ef54: Verifying Checksum [2024-05-30T07:36:25.026Z] 4f4fb700ef54: Download complete [2024-05-30T07:36:25.026Z] fb5054dd5b73: Verifying Checksum [2024-05-30T07:36:25.026Z] fb5054dd5b73: Download complete [2024-05-30T07:36:25.026Z] 619be1103602: Verifying Checksum [2024-05-30T07:36:25.026Z] 619be1103602: Download complete [2024-05-30T07:36:25.026Z] eeca6798cff9: Verifying Checksum [2024-05-30T07:36:25.026Z] eeca6798cff9: Download complete [2024-05-30T07:36:25.285Z] 619be1103602: Pull complete [2024-05-30T07:36:25.285Z] ada007ff1a6a: Verifying Checksum [2024-05-30T07:36:25.285Z] ada007ff1a6a: Download complete [2024-05-30T07:36:25.285Z] 7862e08f4a3e: Pull complete [2024-05-30T07:36:25.545Z] 5df492c9dc93: Verifying Checksum [2024-05-30T07:36:25.545Z] 5df492c9dc93: Download complete [2024-05-30T07:36:25.806Z] aa269ceb94a6: Verifying Checksum [2024-05-30T07:36:25.806Z] aa269ceb94a6: Download complete [2024-05-30T07:36:29.107Z] 5df492c9dc93: Pull complete [2024-05-30T07:36:29.107Z] 7629e6793208: Pull complete [2024-05-30T07:36:29.107Z] 4f4fb700ef54: Pull complete [2024-05-30T07:36:29.107Z] fb5054dd5b73: Pull complete [2024-05-30T07:36:29.366Z] eeca6798cff9: Pull complete [2024-05-30T07:36:31.894Z] aa269ceb94a6: Pull complete [2024-05-30T07:36:32.167Z] ada007ff1a6a: Pull complete [2024-05-30T07:36:32.167Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-05-30T07:36:32.167Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-05-30T07:36:32.167Z] ---> f489d0715acc [2024-05-30T07:36:32.167Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-05-30T07:36:38.156Z] Still waiting to schedule task [2024-05-30T07:36:38.157Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1595’ [2024-05-30T07:36:42.175Z] ---> Running in 3863a8faa099 [2024-05-30T07:36:42.175Z] Removing intermediate container 3863a8faa099 [2024-05-30T07:36:42.175Z] ---> 5a7d30d2a5bb [2024-05-30T07:36:42.175Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-30T07:36:42.175Z] ---> Running in b29a1882a97c [2024-05-30T07:36:42.175Z] Removing intermediate container b29a1882a97c [2024-05-30T07:36:42.175Z] ---> 54b1610912ec [2024-05-30T07:36:42.175Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-05-30T07:36:42.175Z] ---> Running in b037d862ec9c [2024-05-30T07:36:42.175Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-30T07:36:44.084Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-30T07:36:44.084Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-05-30T07:36:44.084Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-05-30T07:36:44.084Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-05-30T07:36:44.084Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-05-30T07:36:44.345Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-05-30T07:36:44.345Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-05-30T07:36:44.345Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-05-30T07:36:44.345Z] (8/8) Installing openssh (9.3_p2-r1) [2024-05-30T07:36:44.345Z] Executing busybox-1.36.1-r5.trigger [2024-05-30T07:36:44.345Z] OK: 270 MiB in 60 packages [2024-05-30T07:36:44.914Z] Removing intermediate container b037d862ec9c [2024-05-30T07:36:44.914Z] ---> cabf34a50c55 [2024-05-30T07:36:44.914Z] Step 6/10 : WORKDIR /device-modbus-go [2024-05-30T07:36:44.914Z] ---> Running in aa59a297bcd4 [2024-05-30T07:36:44.914Z] Removing intermediate container aa59a297bcd4 [2024-05-30T07:36:44.914Z] ---> 7b05ca346960 [2024-05-30T07:36:44.914Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-30T07:36:45.173Z] ---> 65944412c278 [2024-05-30T07:36:45.173Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-30T07:36:45.173Z] ---> Running in c0bf6f314b70 [2024-05-30T07:38:06.711Z] Removing intermediate container c0bf6f314b70 [2024-05-30T07:38:06.711Z] ---> 6e6def7f3569 [2024-05-30T07:38:06.711Z] Step 9/10 : COPY . . [2024-05-30T07:38:06.711Z] ---> fed4a02cbdf5 [2024-05-30T07:38:06.711Z] Step 10/10 : RUN ${MAKE} [2024-05-30T07:38:06.711Z] ---> Running in 1ffd94c5b57f [2024-05-30T07:38:06.711Z] noop [2024-05-30T07:38:06.711Z] Removing intermediate container 1ffd94c5b57f [2024-05-30T07:38:06.711Z] ---> 85b23e9ba270 [2024-05-30T07:38:06.711Z] Successfully built 85b23e9ba270 [2024-05-30T07:38:06.711Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:38:07.052Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-30T07:38:07.052Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-30T07:38:07.145Z] prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container [2024-05-30T07:38:07.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-30T07:38:07.538Z] $ docker top d86750a548dd2f88028f67c92e06310d1289ecc3426bfd953451f04636bce066 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-30T07:38:07.889Z] + go version [2024-05-30T07:38:07.889Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-30T07:38:07.897Z] $ docker stop --time=1 d86750a548dd2f88028f67c92e06310d1289ecc3426bfd953451f04636bce066 [2024-05-30T07:38:09.257Z] $ docker rm -f --volumes d86750a548dd2f88028f67c92e06310d1289ecc3426bfd953451f04636bce066 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:38:09.751Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-30T07:38:09.751Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-30T07:38:09.840Z] prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container [2024-05-30T07:38:09.869Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-30T07:38:10.201Z] $ docker top 614e98bebb10512c20f99a38a23a303ebe694a078c3c1f222b442fefba722d42 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-30T07:38:10.556Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2024-05-30T07:38:10.855Z] + make test [2024-05-30T07:38:10.855Z] go test ./... -coverprofile=coverage.out [2024-05-30T07:38:12.757Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-05-30T07:38:30.834Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-05-30T07:38:30.834Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.9% of statements [2024-05-30T07:38:43.034Z] go vet ./... [2024-05-30T07:38:48.302Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-30T07:38:48.302Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-30T07:38:48.302Z] ./bin/test-attribution-txt.sh [2024-05-30T07:38:48.302Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-30T07:38:48.302Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-30T07:38:48.315Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-30T07:38:48.333Z] $ docker stop --time=1 614e98bebb10512c20f99a38a23a303ebe694a078c3c1f222b442fefba722d42 [2024-05-30T07:38:53.832Z] $ docker rm -f --volumes 614e98bebb10512c20f99a38a23a303ebe694a078c3c1f222b442fefba722d42 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-30T07:38:54.420Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-30T07:38:54.486Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-30T07:38:54.997Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-30T07:38:55.279Z] + ls -al . [2024-05-30T07:38:55.279Z] total 264 [2024-05-30T07:38:55.279Z] drwxrwxr-x 9 jenkins jenkins 4096 May 30 07:38 . [2024-05-30T07:38:55.279Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 07:35 .. [2024-05-30T07:38:55.279Z] -rw-rw-r-- 1 jenkins jenkins 140 May 30 07:35 .dockerignore [2024-05-30T07:38:55.279Z] drwxrwxr-x 8 jenkins jenkins 4096 May 30 07:38 .git [2024-05-30T07:38:55.279Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:35 .github [2024-05-30T07:38:55.279Z] -rw-rw-r-- 1 jenkins jenkins 266 May 30 07:35 .gitignore [2024-05-30T07:38:55.279Z] -rw-rw-r-- 1 jenkins jenkins 41 May 30 07:35 .golangci.yml [2024-05-30T07:38:55.279Z] drwxr-xr-x 3 jenkins jenkins 4096 May 30 07:36 .semver [2024-05-30T07:38:55.279Z] -rw-rw-r-- 1 jenkins jenkins 11101 May 30 07:35 Attribution.txt [2024-05-30T07:38:55.279Z] -rw-rw-r-- 1 jenkins jenkins 16388 May 30 07:35 CHANGELOG.md [2024-05-30T07:38:55.279Z] -rw-rw-r-- 1 jenkins jenkins 1474 May 30 07:35 Dockerfile [2024-05-30T07:38:55.279Z] -rw-rw-r-- 1 jenkins jenkins 677 May 30 07:35 GOVERNANCE.md [2024-05-30T07:38:55.279Z] -rw-rw-r-- 1 jenkins jenkins 658 May 30 07:35 Jenkinsfile [2024-05-30T07:38:55.279Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 30 07:35 LICENSE [2024-05-30T07:38:55.279Z] -rw-rw-r-- 1 jenkins jenkins 1942 May 30 07:35 Makefile [2024-05-30T07:38:55.279Z] -rw-rw-r-- 1 jenkins jenkins 622 May 30 07:35 OWNERS.md [2024-05-30T07:38:55.279Z] -rw-rw-r-- 1 jenkins jenkins 4463 May 30 07:35 README.md [2024-05-30T07:38:55.279Z] -rw-rw-r-- 1 jenkins jenkins 12 May 30 07:36 VERSION [2024-05-30T07:38:55.279Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 07:35 bin [2024-05-30T07:38:55.279Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:35 cmd [2024-05-30T07:38:55.279Z] -rw-r--r-- 1 jenkins jenkins 24601 May 30 07:38 coverage.out [2024-05-30T07:38:55.279Z] -rw-rw-r-- 1 jenkins jenkins 7241 May 30 07:35 go.mod [2024-05-30T07:38:55.279Z] -rw-rw-r-- 1 jenkins jenkins 101886 May 30 07:35 go.sum [2024-05-30T07:38:55.279Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:35 internal [2024-05-30T07:38:55.279Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 07:35 simulator [2024-05-30T07:38:55.279Z] -rw-rw-r-- 1 jenkins jenkins 229 May 30 07:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:38:55.598Z] + 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=13e477b7e225234a84aaaa3becdbd9ca8ce93d09 --label arch=amd64 --label version=3.2.0-dev.13 . [2024-05-30T07:38:55.598Z] Sending build context to Docker daemon 17.71MB [2024-05-30T07:38:55.598Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-30T07:38:55.598Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-30T07:38:55.598Z] ---> 85b23e9ba270 [2024-05-30T07:38:55.598Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-05-30T07:38:56.164Z] ---> Running in 3e43563b3d2a [2024-05-30T07:38:56.165Z] Removing intermediate container 3e43563b3d2a [2024-05-30T07:38:56.165Z] ---> de2f0867666a [2024-05-30T07:38:56.165Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-30T07:38:56.165Z] ---> Running in a7314929d8b2 [2024-05-30T07:38:56.165Z] Removing intermediate container a7314929d8b2 [2024-05-30T07:38:56.165Z] ---> 699ee2e932b5 [2024-05-30T07:38:56.165Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-05-30T07:38:56.165Z] ---> Running in e6a01759a28c [2024-05-30T07:38:56.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-30T07:38:56.685Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-30T07:38:57.252Z] OK: 270 MiB in 60 packages [2024-05-30T07:38:57.511Z] Removing intermediate container e6a01759a28c [2024-05-30T07:38:57.511Z] ---> 96d5586532f1 [2024-05-30T07:38:57.511Z] Step 6/23 : WORKDIR /device-modbus-go [2024-05-30T07:38:57.511Z] ---> Running in bd5afb3dd23f [2024-05-30T07:38:57.511Z] Removing intermediate container bd5afb3dd23f [2024-05-30T07:38:57.511Z] ---> ab5a3cce0603 [2024-05-30T07:38:57.511Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-30T07:38:57.769Z] ---> aae303df27bc [2024-05-30T07:38:57.769Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-30T07:38:57.769Z] ---> Running in 62f27ae81125 [2024-05-30T07:38:58.335Z] Removing intermediate container 62f27ae81125 [2024-05-30T07:38:58.335Z] ---> a658a02afdd8 [2024-05-30T07:38:58.335Z] Step 9/23 : COPY . . [2024-05-30T07:38:59.270Z] ---> 6c0f6e2854c3 [2024-05-30T07:38:59.270Z] Step 10/23 : RUN ${MAKE} [2024-05-30T07:38:59.270Z] ---> Running in 25473623043e [2024-05-30T07:38:59.529Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.16" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-05-30T07:39:38.613Z] Removing intermediate container 25473623043e [2024-05-30T07:39:38.613Z] ---> 3ce7d5fb9abb [2024-05-30T07:39:38.613Z] Step 11/23 : FROM alpine:3.18 [2024-05-30T07:39:38.613Z] 3.18: Pulling from library/alpine [2024-05-30T07:39:38.613Z] 619be1103602: Already exists [2024-05-30T07:39:38.613Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-30T07:39:38.613Z] Status: Downloaded newer image for alpine:3.18 [2024-05-30T07:39:38.613Z] ---> d3782b16ccc9 [2024-05-30T07:39:38.613Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-05-30T07:39:38.613Z] ---> Running in c635ed7e5225 [2024-05-30T07:39:38.613Z] Removing intermediate container c635ed7e5225 [2024-05-30T07:39:38.613Z] ---> fb04db765940 [2024-05-30T07:39:38.613Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-05-30T07:39:38.613Z] ---> Running in 1f79fb04728a [2024-05-30T07:39:38.873Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-30T07:39:38.873Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-30T07:39:39.132Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-30T07:39:39.132Z] Executing busybox-1.36.1-r5.trigger [2024-05-30T07:39:39.132Z] OK: 7 MiB in 16 packages [2024-05-30T07:39:39.701Z] Removing intermediate container 1f79fb04728a [2024-05-30T07:39:39.701Z] ---> 3a8a7dde70b2 [2024-05-30T07:39:39.701Z] Step 14/23 : RUN apk --no-cache upgrade [2024-05-30T07:39:39.701Z] ---> Running in 9cac7a826220 [2024-05-30T07:39:39.960Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-30T07:39:39.960Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-30T07:39:40.219Z] Upgrading critical system libraries and apk-tools: [2024-05-30T07:39:40.219Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-30T07:39:40.219Z] Executing busybox-1.36.1-r5.trigger [2024-05-30T07:39:40.219Z] Continuing the upgrade transaction with new apk-tools: [2024-05-30T07:39:40.219Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-30T07:39:40.219Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-30T07:39:40.478Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-30T07:39:40.478Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-30T07:39:40.478Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-30T07:39:40.478Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-30T07:39:40.478Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-30T07:39:40.478Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-30T07:39:40.478Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-30T07:39:40.478Z] Executing busybox-1.36.1-r6.trigger [2024-05-30T07:39:40.478Z] OK: 7 MiB in 16 packages [2024-05-30T07:39:41.417Z] Removing intermediate container 9cac7a826220 [2024-05-30T07:39:41.417Z] ---> 00587afa31f6 [2024-05-30T07:39:41.417Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-05-30T07:39:42.358Z] ---> c2b883e15667 [2024-05-30T07:39:42.358Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-05-30T07:39:42.927Z] ---> 56155d2ca38e [2024-05-30T07:39:42.927Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-05-30T07:39:43.195Z] ---> 7b5ee90009eb [2024-05-30T07:39:43.195Z] Step 18/23 : EXPOSE 59901 [2024-05-30T07:39:43.455Z] ---> Running in b44c396affc3 [2024-05-30T07:39:43.455Z] Removing intermediate container b44c396affc3 [2024-05-30T07:39:43.455Z] ---> aa9847a2189e [2024-05-30T07:39:43.455Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-05-30T07:39:43.455Z] ---> Running in 93029f950143 [2024-05-30T07:39:43.455Z] Removing intermediate container 93029f950143 [2024-05-30T07:39:43.455Z] ---> 9b1048f16771 [2024-05-30T07:39:43.455Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-30T07:39:43.716Z] ---> Running in 651280ad1095 [2024-05-30T07:39:43.716Z] Removing intermediate container 651280ad1095 [2024-05-30T07:39:43.716Z] ---> 8ea983b808ab [2024-05-30T07:39:43.716Z] Step 21/23 : LABEL arch=amd64 [2024-05-30T07:39:43.716Z] ---> Running in 144cc523b46d [2024-05-30T07:39:43.977Z] Removing intermediate container 144cc523b46d [2024-05-30T07:39:43.977Z] ---> 85a5e0560b50 [2024-05-30T07:39:43.977Z] Step 22/23 : LABEL git_sha=13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [2024-05-30T07:39:43.977Z] ---> Running in 36a2e1fdbece [2024-05-30T07:39:43.977Z] Removing intermediate container 36a2e1fdbece [2024-05-30T07:39:43.977Z] ---> 3dc377e15e2a [2024-05-30T07:39:43.977Z] Step 23/23 : LABEL version=3.2.0-dev.13 [2024-05-30T07:39:43.977Z] ---> Running in b40d9fd07cb6 [2024-05-30T07:39:44.237Z] Removing intermediate container b40d9fd07cb6 [2024-05-30T07:39:44.237Z] ---> 536dded508d0 [2024-05-30T07:39:44.237Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-30T07:39:44.237Z] Successfully built 536dded508d0 [2024-05-30T07:39:44.237Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-30T07:39:44.378Z] provisioning config files... [2024-05-30T07:39:44.387Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11140364891549354736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-30T07:39:44.699Z] ---> ****-login.sh [2024-05-30T07:39:44.699Z] nexus3.edgexfoundry.org:10001 [2024-05-30T07:39:44.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T07:39:44.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T07:39:44.699Z] Configure a credential helper to remove this warning. See [2024-05-30T07:39:44.699Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T07:39:44.699Z] [2024-05-30T07:39:44.699Z] Login Succeeded [2024-05-30T07:39:44.699Z] nexus3.edgexfoundry.org:10002 [2024-05-30T07:39:44.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T07:39:44.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T07:39:44.699Z] Configure a credential helper to remove this warning. See [2024-05-30T07:39:44.699Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T07:39:44.699Z] [2024-05-30T07:39:44.699Z] Login Succeeded [2024-05-30T07:39:44.699Z] nexus3.edgexfoundry.org:10003 [2024-05-30T07:39:44.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T07:39:44.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T07:39:44.960Z] Configure a credential helper to remove this warning. See [2024-05-30T07:39:44.960Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T07:39:44.960Z] [2024-05-30T07:39:44.960Z] Login Succeeded [2024-05-30T07:39:44.960Z] nexus3.edgexfoundry.org:10004 [2024-05-30T07:39:44.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T07:39:44.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T07:39:44.960Z] Configure a credential helper to remove this warning. See [2024-05-30T07:39:44.960Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T07:39:44.960Z] [2024-05-30T07:39:44.960Z] Login Succeeded [2024-05-30T07:39:44.960Z] ****.io [2024-05-30T07:39:45.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T07:39:45.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T07:39:45.220Z] Configure a credential helper to remove this warning. See [2024-05-30T07:39:45.220Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T07:39:45.220Z] [2024-05-30T07:39:45.220Z] Login Succeeded [2024-05-30T07:39:45.220Z] ---> ****-login.sh ends [Pipeline] } [2024-05-30T07:39:45.228Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-30T07:39:45.280Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-30T07:39:45.306Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2024-05-30T07:39:45.306Z] 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [2024-05-30T07:39:45.306Z] latest [2024-05-30T07:39:45.306Z] 3.2.0-dev.13 [2024-05-30T07:39:45.306Z] 13e477b7e225234a84aaaa3becdbd9ca8ce93d09-3.2.0-dev.13 [2024-05-30T07:39:45.306Z] main [2024-05-30T07:39:45.306Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:39:45.650Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:39:45.976Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [2024-05-30T07:39:45.976Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2024-05-30T07:39:45.976Z] 1525702ef9a5: Preparing [2024-05-30T07:39:45.976Z] 2b7c79976024: Preparing [2024-05-30T07:39:45.976Z] cf86a82c4506: Preparing [2024-05-30T07:39:45.976Z] 237833cdcb4e: Preparing [2024-05-30T07:39:45.976Z] c79607fee616: Preparing [2024-05-30T07:39:45.976Z] aedc3bda2944: Preparing [2024-05-30T07:39:45.976Z] aedc3bda2944: Waiting [2024-05-30T07:39:45.976Z] 2b7c79976024: Pushed [2024-05-30T07:39:45.976Z] aedc3bda2944: Layer already exists [2024-05-30T07:39:45.976Z] c79607fee616: Pushed [2024-05-30T07:39:45.976Z] 1525702ef9a5: Pushed [2024-05-30T07:39:46.914Z] 237833cdcb4e: Pushed [2024-05-30T07:39:49.454Z] cf86a82c4506: Pushed [2024-05-30T07:39:49.454Z] 13e477b7e225234a84aaaa3becdbd9ca8ce93d09: digest: sha256:5b3e546cc857daa63c5f455d38b20826ab1df7a5cf21db6a961c0856061d22da size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:39:49.798Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:39:50.118Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2024-05-30T07:39:50.118Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2024-05-30T07:39:50.118Z] 1525702ef9a5: Preparing [2024-05-30T07:39:50.118Z] 2b7c79976024: Preparing [2024-05-30T07:39:50.118Z] cf86a82c4506: Preparing [2024-05-30T07:39:50.118Z] 237833cdcb4e: Preparing [2024-05-30T07:39:50.118Z] c79607fee616: Preparing [2024-05-30T07:39:50.118Z] aedc3bda2944: Preparing [2024-05-30T07:39:50.118Z] aedc3bda2944: Waiting [2024-05-30T07:39:50.118Z] cf86a82c4506: Layer already exists [2024-05-30T07:39:50.118Z] 1525702ef9a5: Layer already exists [2024-05-30T07:39:50.118Z] 237833cdcb4e: Layer already exists [2024-05-30T07:39:50.118Z] c79607fee616: Layer already exists [2024-05-30T07:39:50.118Z] 2b7c79976024: Layer already exists [2024-05-30T07:39:50.118Z] aedc3bda2944: Layer already exists [2024-05-30T07:39:50.118Z] latest: digest: sha256:5b3e546cc857daa63c5f455d38b20826ab1df7a5cf21db6a961c0856061d22da size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:39:50.443Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:39:50.768Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.13 [2024-05-30T07:39:50.768Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2024-05-30T07:39:50.768Z] 1525702ef9a5: Preparing [2024-05-30T07:39:50.768Z] 2b7c79976024: Preparing [2024-05-30T07:39:50.768Z] cf86a82c4506: Preparing [2024-05-30T07:39:50.768Z] 237833cdcb4e: Preparing [2024-05-30T07:39:50.768Z] c79607fee616: Preparing [2024-05-30T07:39:50.768Z] aedc3bda2944: Preparing [2024-05-30T07:39:50.768Z] aedc3bda2944: Waiting [2024-05-30T07:39:50.768Z] 1525702ef9a5: Layer already exists [2024-05-30T07:39:50.768Z] 2b7c79976024: Layer already exists [2024-05-30T07:39:50.768Z] cf86a82c4506: Layer already exists [2024-05-30T07:39:50.768Z] 237833cdcb4e: Layer already exists [2024-05-30T07:39:50.768Z] c79607fee616: Layer already exists [2024-05-30T07:39:50.768Z] aedc3bda2944: Layer already exists [2024-05-30T07:39:50.768Z] 3.2.0-dev.13: digest: sha256:5b3e546cc857daa63c5f455d38b20826ab1df7a5cf21db6a961c0856061d22da size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:39:51.086Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:13e477b7e225234a84aaaa3becdbd9ca8ce93d09-3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:39:51.406Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:13e477b7e225234a84aaaa3becdbd9ca8ce93d09-3.2.0-dev.13 [2024-05-30T07:39:51.406Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2024-05-30T07:39:51.406Z] 1525702ef9a5: Preparing [2024-05-30T07:39:51.406Z] 2b7c79976024: Preparing [2024-05-30T07:39:51.406Z] cf86a82c4506: Preparing [2024-05-30T07:39:51.406Z] 237833cdcb4e: Preparing [2024-05-30T07:39:51.406Z] c79607fee616: Preparing [2024-05-30T07:39:51.406Z] aedc3bda2944: Preparing [2024-05-30T07:39:51.406Z] aedc3bda2944: Waiting [2024-05-30T07:39:51.406Z] c79607fee616: Layer already exists [2024-05-30T07:39:51.406Z] 1525702ef9a5: Layer already exists [2024-05-30T07:39:51.406Z] 237833cdcb4e: Layer already exists [2024-05-30T07:39:51.406Z] cf86a82c4506: Layer already exists [2024-05-30T07:39:51.406Z] 2b7c79976024: Layer already exists [2024-05-30T07:39:51.406Z] aedc3bda2944: Layer already exists [2024-05-30T07:39:51.406Z] 13e477b7e225234a84aaaa3becdbd9ca8ce93d09-3.2.0-dev.13: digest: sha256:5b3e546cc857daa63c5f455d38b20826ab1df7a5cf21db6a961c0856061d22da size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:39:51.731Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:39:52.048Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2024-05-30T07:39:52.048Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2024-05-30T07:39:52.048Z] 1525702ef9a5: Preparing [2024-05-30T07:39:52.048Z] 2b7c79976024: Preparing [2024-05-30T07:39:52.048Z] cf86a82c4506: Preparing [2024-05-30T07:39:52.048Z] 237833cdcb4e: Preparing [2024-05-30T07:39:52.048Z] c79607fee616: Preparing [2024-05-30T07:39:52.048Z] aedc3bda2944: Preparing [2024-05-30T07:39:52.048Z] aedc3bda2944: Waiting [2024-05-30T07:39:52.048Z] 237833cdcb4e: Layer already exists [2024-05-30T07:39:52.048Z] cf86a82c4506: Layer already exists [2024-05-30T07:39:52.048Z] c79607fee616: Layer already exists [2024-05-30T07:39:52.048Z] 1525702ef9a5: Layer already exists [2024-05-30T07:39:52.048Z] 2b7c79976024: Layer already exists [2024-05-30T07:39:52.048Z] aedc3bda2944: Layer already exists [2024-05-30T07:39:52.048Z] main: digest: sha256:5b3e546cc857daa63c5f455d38b20826ab1df7a5cf21db6a961c0856061d22da size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-30T07:39:52.123Z] ===================================================== [Pipeline] echo [2024-05-30T07:39:52.136Z] taggedImages: [2024-05-30T07:39:52.136Z] - nexus3.edgexfoundry.org:10004/device-modbus:13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [2024-05-30T07:39:52.136Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2024-05-30T07:39:52.136Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.13 [2024-05-30T07:39:52.136Z] - nexus3.edgexfoundry.org:10004/device-modbus:13e477b7e225234a84aaaa3becdbd9ca8ce93d09-3.2.0-dev.13 [2024-05-30T07:39:52.136Z] - 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:39:52.527Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-30T07:39:52.527Z] [2024-05-30T07:39:52.527Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:39:52.830Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-30T07:39:52.830Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-30T07:39:52.830Z] 5eb5b503b376: Pulling fs layer [2024-05-30T07:39:52.830Z] 5c69ac0246d0: Pulling fs layer [2024-05-30T07:39:52.830Z] ec43610c2a17: Pulling fs layer [2024-05-30T07:39:52.830Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-30T07:39:52.830Z] 33b1e0a273af: Pulling fs layer [2024-05-30T07:39:52.830Z] 5d3b04190fa2: Pulling fs layer [2024-05-30T07:39:52.830Z] 2f39f015ded8: Pulling fs layer [2024-05-30T07:39:52.830Z] 3a2ae6a8a46f: Waiting [2024-05-30T07:39:52.830Z] 5d3b04190fa2: Waiting [2024-05-30T07:39:52.830Z] 33b1e0a273af: Waiting [2024-05-30T07:39:52.830Z] 5c69ac0246d0: Verifying Checksum [2024-05-30T07:39:52.830Z] 5c69ac0246d0: Download complete [2024-05-30T07:39:52.830Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-30T07:39:52.830Z] 3a2ae6a8a46f: Download complete [2024-05-30T07:39:52.830Z] 33b1e0a273af: Verifying Checksum [2024-05-30T07:39:52.830Z] 33b1e0a273af: Download complete [2024-05-30T07:39:52.830Z] 5d3b04190fa2: Verifying Checksum [2024-05-30T07:39:52.830Z] 5d3b04190fa2: Download complete [2024-05-30T07:39:52.830Z] ec43610c2a17: Verifying Checksum [2024-05-30T07:39:52.830Z] ec43610c2a17: Download complete [2024-05-30T07:39:53.088Z] 5eb5b503b376: Verifying Checksum [2024-05-30T07:39:53.088Z] 5eb5b503b376: Download complete [2024-05-30T07:39:53.654Z] 2f39f015ded8: Download complete [2024-05-30T07:39:54.588Z] 5eb5b503b376: Pull complete [2024-05-30T07:39:54.588Z] 5c69ac0246d0: Pull complete [2024-05-30T07:39:55.154Z] ec43610c2a17: Pull complete [2024-05-30T07:39:55.154Z] 3a2ae6a8a46f: Pull complete [2024-05-30T07:39:55.412Z] 33b1e0a273af: Pull complete [2024-05-30T07:39:55.412Z] 5d3b04190fa2: Pull complete [2024-05-30T07:40:00.680Z] 2f39f015ded8: Pull complete [2024-05-30T07:40:00.680Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-30T07:40:00.680Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-30T07:40:00.680Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-30T07:40:00.785Z] prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container [2024-05-30T07:40:00.815Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-30T07:40:10.605Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1597 in /w/workspace/gexfoundry_device-modbus-go_main [2024-05-30T07:40:10.968Z] $ docker top 8408d6b9821f756d03dd3634d56aa9f8ef73707be1a342ba578ce47feaabb64d -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2024-05-30T07:40:11.153Z] Running in /w/workspace/device-modbus-go/152 [Pipeline] { [Pipeline] checkout [2024-05-30T07:40:11.411Z] ---> job-cost.sh [2024-05-30T07:40:11.411Z] lf-activate-venv: SKIPPING [2024-05-30T07:40:11.411Z] INFO: No Stack... [2024-05-30T07:40:11.671Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-30T07:40:12.240Z] INFO: Archiving Costs [Pipeline] sh [2024-05-30T07:40:14.211Z] The recommended git tool is: git [2024-05-30T07:40:14.481Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2024-05-30T07:40:14.481Z] + cut -d, -f6 [Pipeline] lock [2024-05-30T07:40:14.491Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-152-stack-cost] [2024-05-30T07:40:14.498Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-152-stack-cost] did not exist. Created. [2024-05-30T07:40:14.505Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-152-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-30T07:40:14.821Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-30T07:40:14.844Z] Stashed 1 file(s) [Pipeline] } [2024-05-30T07:40:14.852Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-152-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-30T07:40:14.879Z] $ docker stop --time=1 8408d6b9821f756d03dd3634d56aa9f8ef73707be1a342ba578ce47feaabb64d [2024-05-30T07:40:16.214Z] $ docker rm -f --volumes 8408d6b9821f756d03dd3634d56aa9f8ef73707be1a342ba578ce47feaabb64d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-30T07:40:22.536Z] using credential edgex-jenkins-ssh [2024-05-30T07:40:22.560Z] Cloning the remote Git repository [2024-05-30T07:40:22.620Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-05-30T07:40:22.738Z] > git init /w/workspace/device-modbus-go/152 # timeout=10 [2024-05-30T07:40:23.014Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-05-30T07:40:23.016Z] > git --version # timeout=10 [2024-05-30T07:40:23.052Z] > git --version # 'git version 2.25.1' [2024-05-30T07:40:23.055Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-30T07:40:23.297Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-30T07:40:25.481Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-05-30T07:40:25.521Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-30T07:40:26.984Z] Avoid second fetch [2024-05-30T07:40:26.985Z] Checking out Revision 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 (main) [2024-05-30T07:40:28.028Z] Commit message: "Merge pull request #554 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.16" [2024-05-30T07:40:27.018Z] > git config core.sparsecheckout # timeout=10 [2024-05-30T07:40:27.145Z] > git checkout -f 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-30T07:40:32.867Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-30T07:40:32.867Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-30T07:40:32.867Z] Dload Upload Total Spent Left Speed [2024-05-30T07:40:32.867Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 113k 0 --:--:-- --:--:-- --:--:-- 113k [Pipeline] sh [2024-05-30T07:40:33.206Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-30T07:40:33.534Z] + sudo tee /etc/docker/daemon.new [2024-05-30T07:40:33.534Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-30T07:40:33.534Z] { [2024-05-30T07:40:33.534Z] "registry-mirrors": [ [2024-05-30T07:40:33.534Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-30T07:40:33.534Z] ], [2024-05-30T07:40:33.534Z] "bip": "10.250.0.254/24", [2024-05-30T07:40:33.534Z] "hosts": [ [2024-05-30T07:40:33.534Z] "tcp://0.0.0.0:5555", [2024-05-30T07:40:33.534Z] "unix:///var/run/docker.sock" [2024-05-30T07:40:33.534Z] ], [2024-05-30T07:40:33.534Z] "mtu": 1458, [2024-05-30T07:40:33.534Z] "selinux-enabled": true, [2024-05-30T07:40:33.534Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-30T07:40:33.534Z] } [Pipeline] sh [2024-05-30T07:40:33.863Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-30T07:40:34.196Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-30T07:40:52.472Z] provisioning config files... [2024-05-30T07:40:52.496Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/152@tmp/config6328425590452399696tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-30T07:40:52.935Z] ---> ****-login.sh [2024-05-30T07:40:52.935Z] nexus3.edgexfoundry.org:10001 [2024-05-30T07:40:53.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T07:40:53.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T07:40:53.524Z] Configure a credential helper to remove this warning. See [2024-05-30T07:40:53.524Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T07:40:53.524Z] [2024-05-30T07:40:53.524Z] Login Succeeded [2024-05-30T07:40:53.524Z] nexus3.edgexfoundry.org:10002 [2024-05-30T07:40:53.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T07:40:53.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T07:40:53.794Z] Configure a credential helper to remove this warning. See [2024-05-30T07:40:53.794Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T07:40:53.794Z] [2024-05-30T07:40:53.794Z] Login Succeeded [2024-05-30T07:40:53.794Z] nexus3.edgexfoundry.org:10003 [2024-05-30T07:40:54.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T07:40:54.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T07:40:54.331Z] Configure a credential helper to remove this warning. See [2024-05-30T07:40:54.331Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T07:40:54.331Z] [2024-05-30T07:40:54.331Z] Login Succeeded [2024-05-30T07:40:54.331Z] nexus3.edgexfoundry.org:10004 [2024-05-30T07:40:54.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T07:40:54.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T07:40:54.600Z] Configure a credential helper to remove this warning. See [2024-05-30T07:40:54.600Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T07:40:54.600Z] [2024-05-30T07:40:54.600Z] Login Succeeded [2024-05-30T07:40:54.600Z] ****.io [2024-05-30T07:40:54.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T07:40:55.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T07:40:55.135Z] Configure a credential helper to remove this warning. See [2024-05-30T07:40:55.135Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T07:40:55.135Z] [2024-05-30T07:40:55.135Z] Login Succeeded [2024-05-30T07:40:55.135Z] ---> ****-login.sh ends [Pipeline] } [2024-05-30T07:40:55.148Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-30T07:40:55.505Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-30T07:40:55.530Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-30T07:40:55.554Z] ========================================================= [2024-05-30T07:40:55.554Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-05-30T07:40:55.554Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:40:55.921Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-05-30T07:40:56.523Z] Sending build context to Docker daemon 8.984MB [2024-05-30T07:40:56.523Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-30T07:40:56.523Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-30T07:40:56.523Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-30T07:40:56.523Z] c6b39de5b339: Pulling fs layer [2024-05-30T07:40:56.523Z] a69c41024577: Pulling fs layer [2024-05-30T07:40:56.523Z] d6de4b400683: Pulling fs layer [2024-05-30T07:40:56.523Z] 35cb2a7552d0: Pulling fs layer [2024-05-30T07:40:56.523Z] 4f4fb700ef54: Pulling fs layer [2024-05-30T07:40:56.523Z] 464afbd9ba4c: Pulling fs layer [2024-05-30T07:40:56.523Z] 00f215d4a9da: Pulling fs layer [2024-05-30T07:40:56.523Z] d496ad576159: Pulling fs layer [2024-05-30T07:40:56.523Z] 35cb2a7552d0: Waiting [2024-05-30T07:40:56.523Z] 4f4fb700ef54: Waiting [2024-05-30T07:40:56.523Z] 464afbd9ba4c: Waiting [2024-05-30T07:40:56.523Z] 00f215d4a9da: Waiting [2024-05-30T07:40:56.523Z] d496ad576159: Waiting [2024-05-30T07:40:56.523Z] a69c41024577: Verifying Checksum [2024-05-30T07:40:56.523Z] a69c41024577: Download complete [2024-05-30T07:40:56.523Z] 35cb2a7552d0: Verifying Checksum [2024-05-30T07:40:56.523Z] 35cb2a7552d0: Download complete [2024-05-30T07:40:56.523Z] 4f4fb700ef54: Verifying Checksum [2024-05-30T07:40:56.523Z] 4f4fb700ef54: Download complete [2024-05-30T07:40:56.793Z] 464afbd9ba4c: Verifying Checksum [2024-05-30T07:40:56.793Z] 464afbd9ba4c: Download complete [2024-05-30T07:40:56.793Z] c6b39de5b339: Download complete [2024-05-30T07:40:57.408Z] d496ad576159: Verifying Checksum [2024-05-30T07:40:57.408Z] d496ad576159: Download complete [2024-05-30T07:40:57.676Z] c6b39de5b339: Pull complete [2024-05-30T07:40:58.264Z] a69c41024577: Pull complete [2024-05-30T07:40:58.532Z] d6de4b400683: Verifying Checksum [2024-05-30T07:40:58.532Z] d6de4b400683: Download complete [2024-05-30T07:40:59.949Z] 00f215d4a9da: Verifying Checksum [2024-05-30T07:40:59.949Z] 00f215d4a9da: Download complete [2024-05-30T07:41:12.270Z] d6de4b400683: Pull complete [2024-05-30T07:41:12.270Z] 35cb2a7552d0: Pull complete [2024-05-30T07:41:12.270Z] 4f4fb700ef54: Pull complete [2024-05-30T07:41:12.540Z] 464afbd9ba4c: Pull complete [2024-05-30T07:41:22.645Z] 00f215d4a9da: Pull complete [2024-05-30T07:41:22.920Z] d496ad576159: Pull complete [2024-05-30T07:41:22.920Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-05-30T07:41:22.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-05-30T07:41:22.920Z] ---> f246e2811388 [2024-05-30T07:41:22.920Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-05-30T07:41:23.892Z] ---> Running in 7d39cc352c9f [2024-05-30T07:41:24.159Z] Removing intermediate container 7d39cc352c9f [2024-05-30T07:41:24.159Z] ---> fb6c484d3493 [2024-05-30T07:41:24.159Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-30T07:41:24.159Z] ---> Running in 67f14111ef5c [2024-05-30T07:41:24.425Z] Removing intermediate container 67f14111ef5c [2024-05-30T07:41:24.425Z] ---> 9f3f3848f9e4 [2024-05-30T07:41:24.425Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-05-30T07:41:24.691Z] ---> Running in 3cde8b08ded0 [2024-05-30T07:41:25.718Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-30T07:41:26.312Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-30T07:41:27.276Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-05-30T07:41:27.276Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-05-30T07:41:27.276Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-05-30T07:41:27.276Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-05-30T07:41:27.276Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-05-30T07:41:27.276Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-05-30T07:41:27.276Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-05-30T07:41:27.276Z] (8/8) Installing openssh (9.3_p2-r1) [2024-05-30T07:41:27.276Z] Executing busybox-1.36.1-r5.trigger [2024-05-30T07:41:27.276Z] OK: 272 MiB in 60 packages [2024-05-30T07:41:28.237Z] Removing intermediate container 3cde8b08ded0 [2024-05-30T07:41:28.237Z] ---> dcb62b160fb6 [2024-05-30T07:41:28.237Z] Step 6/10 : WORKDIR /device-modbus-go [2024-05-30T07:41:28.506Z] ---> Running in cddf3d9f5003 [2024-05-30T07:41:28.775Z] Removing intermediate container cddf3d9f5003 [2024-05-30T07:41:28.775Z] ---> 0c9a2fd8d47b [2024-05-30T07:41:28.775Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-30T07:41:30.736Z] ---> 3a7b97e98c18 [2024-05-30T07:41:30.736Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-30T07:41:30.736Z] ---> Running in 845a02133636 [2024-05-30T07:43:22.421Z] Removing intermediate container 845a02133636 [2024-05-30T07:43:22.421Z] ---> 2b210c1a42cc [2024-05-30T07:43:22.421Z] Step 9/10 : COPY . . [2024-05-30T07:43:22.421Z] ---> fb66440ef7e8 [2024-05-30T07:43:22.421Z] Step 10/10 : RUN ${MAKE} [2024-05-30T07:43:22.421Z] ---> Running in 8b84c2b540ac [2024-05-30T07:43:22.421Z] noop [2024-05-30T07:43:22.421Z] Removing intermediate container 8b84c2b540ac [2024-05-30T07:43:22.421Z] ---> d2b0ffec2f29 [2024-05-30T07:43:22.421Z] Successfully built d2b0ffec2f29 [2024-05-30T07:43:22.421Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:43:22.821Z] + docker inspect -f . ci-base-image-arm64 [2024-05-30T07:43:22.821Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-30T07:43:23.029Z] prd-ubuntu20.04-docker-arm64-4c-16g-1597 does not seem to be running inside a container [2024-05-30T07:43:23.110Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/152 -v /w/workspace/device-modbus-go/152:/w/workspace/device-modbus-go/152:rw,z -v /w/workspace/device-modbus-go/152@tmp:/w/workspace/device-modbus-go/152@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 [2024-05-30T07:43:24.365Z] $ docker top 84f16b335e67f5c6d651ec00598578152b2348e2fb90ff26b2db80dee869605c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-30T07:43:25.205Z] + go version [2024-05-30T07:43:25.205Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-30T07:43:25.227Z] $ docker stop --time=1 84f16b335e67f5c6d651ec00598578152b2348e2fb90ff26b2db80dee869605c [2024-05-30T07:43:26.839Z] $ docker rm -f --volumes 84f16b335e67f5c6d651ec00598578152b2348e2fb90ff26b2db80dee869605c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:43:27.415Z] + docker inspect -f . ci-base-image-arm64 [2024-05-30T07:43:27.415Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-30T07:43:27.610Z] prd-ubuntu20.04-docker-arm64-4c-16g-1597 does not seem to be running inside a container [2024-05-30T07:43:27.681Z] $ 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/152 -v /w/workspace/device-modbus-go/152:/w/workspace/device-modbus-go/152:rw,z -v /w/workspace/device-modbus-go/152@tmp:/w/workspace/device-modbus-go/152@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 [2024-05-30T07:43:28.818Z] $ docker top 0b50d956b988997517e31dc969adbd5fd699e9e9f49eac277570595015045d36 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-30T07:43:29.319Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/152 [Pipeline] fileExists [Pipeline] sh [2024-05-30T07:43:30.268Z] + make test [2024-05-30T07:43:30.268Z] go test ./... -coverprofile=coverage.out [2024-05-30T07:43:36.917Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-05-30T07:46:58.689Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-05-30T07:47:02.029Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.081s coverage: 47.9% of statements [2024-05-30T07:47:02.993Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-30T07:47:02.993Z] go vet ./... [2024-05-30T07:47:49.857Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-30T07:47:49.857Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-30T07:47:49.857Z] ./bin/test-attribution-txt.sh [2024-05-30T07:47:49.857Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-30T07:47:49.857Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-30T07:47:49.857Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-30T07:47:49.857Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-30T07:47:49.857Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-30T07:47:49.857Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-30T07:47:49.857Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-30T07:47:49.857Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-30T07:47:49.857Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-30T07:47:49.857Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-30T07:47:49.857Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-30T07:47:49.857Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-30T07:47:49.857Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-30T07:47:49.857Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-30T07:47:49.857Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-30T07:47:49.858Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-30T07:47:50.128Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-30T07:47:50.128Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-30T07:47:50.128Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-30T07:47:50.128Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-30T07:47:50.128Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-30T07:47:50.128Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-30T07:47:50.128Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-30T07:47:50.128Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-30T07:47:50.128Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-30T07:47:50.128Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-30T07:47:50.128Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-30T07:47:50.128Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-30T07:47:50.128Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-30T07:47:50.128Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-30T07:47:50.128Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-30T07:47:50.128Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-30T07:47:50.128Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-30T07:47:50.128Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-30T07:47:50.148Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-30T07:47:50.171Z] $ docker stop --time=1 0b50d956b988997517e31dc969adbd5fd699e9e9f49eac277570595015045d36 [2024-05-30T07:47:52.200Z] $ docker rm -f --volumes 0b50d956b988997517e31dc969adbd5fd699e9e9f49eac277570595015045d36 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-30T07:47:53.952Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-30T07:47:53.968Z] Warning: overwriting stash ‘coverage-report’ [2024-05-30T07:47:54.484Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-30T07:47:54.902Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-30T07:47:55.229Z] + ls -al . [2024-05-30T07:47:55.229Z] total 260 [2024-05-30T07:47:55.229Z] drwxrwxr-x 8 jenkins jenkins 4096 May 30 07:43 . [2024-05-30T07:47:55.229Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 07:40 .. [2024-05-30T07:47:55.229Z] -rw-rw-r-- 1 jenkins jenkins 140 May 30 07:40 .dockerignore [2024-05-30T07:47:55.229Z] drwxrwxr-x 8 jenkins jenkins 4096 May 30 07:40 .git [2024-05-30T07:47:55.229Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:40 .github [2024-05-30T07:47:55.229Z] -rw-rw-r-- 1 jenkins jenkins 266 May 30 07:40 .gitignore [2024-05-30T07:47:55.229Z] -rw-rw-r-- 1 jenkins jenkins 41 May 30 07:40 .golangci.yml [2024-05-30T07:47:55.229Z] -rw-rw-r-- 1 jenkins jenkins 11101 May 30 07:40 Attribution.txt [2024-05-30T07:47:55.229Z] -rw-rw-r-- 1 jenkins jenkins 16388 May 30 07:40 CHANGELOG.md [2024-05-30T07:47:55.229Z] -rw-rw-r-- 1 jenkins jenkins 1474 May 30 07:40 Dockerfile [2024-05-30T07:47:55.229Z] -rw-rw-r-- 1 jenkins jenkins 677 May 30 07:40 GOVERNANCE.md [2024-05-30T07:47:55.229Z] -rw-rw-r-- 1 jenkins jenkins 658 May 30 07:40 Jenkinsfile [2024-05-30T07:47:55.229Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 30 07:40 LICENSE [2024-05-30T07:47:55.229Z] -rw-rw-r-- 1 jenkins jenkins 1942 May 30 07:40 Makefile [2024-05-30T07:47:55.229Z] -rw-rw-r-- 1 jenkins jenkins 622 May 30 07:40 OWNERS.md [2024-05-30T07:47:55.229Z] -rw-rw-r-- 1 jenkins jenkins 4463 May 30 07:40 README.md [2024-05-30T07:47:55.229Z] -rw-rw-r-- 1 jenkins jenkins 12 May 30 07:36 VERSION [2024-05-30T07:47:55.229Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 07:40 bin [2024-05-30T07:47:55.229Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:40 cmd [2024-05-30T07:47:55.229Z] -rw-r--r-- 1 jenkins jenkins 24601 May 30 07:47 coverage.out [2024-05-30T07:47:55.229Z] -rw-rw-r-- 1 jenkins jenkins 7241 May 30 07:40 go.mod [2024-05-30T07:47:55.229Z] -rw-rw-r-- 1 jenkins jenkins 101886 May 30 07:40 go.sum [2024-05-30T07:47:55.229Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:40 internal [2024-05-30T07:47:55.229Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 07:40 simulator [2024-05-30T07:47:55.229Z] -rw-rw-r-- 1 jenkins jenkins 229 May 30 07:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:47:55.699Z] + 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=13e477b7e225234a84aaaa3becdbd9ca8ce93d09 --label arch=arm64 --label version=3.2.0-dev.13 . [2024-05-30T07:47:55.976Z] Sending build context to Docker daemon 9.009MB [2024-05-30T07:47:55.976Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-30T07:47:55.976Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-30T07:47:55.976Z] ---> d2b0ffec2f29 [2024-05-30T07:47:55.976Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-05-30T07:47:56.253Z] ---> Running in b6085d6b0f84 [2024-05-30T07:47:56.528Z] Removing intermediate container b6085d6b0f84 [2024-05-30T07:47:56.528Z] ---> a8182e3e48d0 [2024-05-30T07:47:56.528Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-30T07:47:56.528Z] ---> Running in b1ec2bdcb812 [2024-05-30T07:47:56.822Z] Removing intermediate container b1ec2bdcb812 [2024-05-30T07:47:56.822Z] ---> 2ad867f942c5 [2024-05-30T07:47:56.822Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-05-30T07:47:57.089Z] ---> Running in 9fe8484c94a4 [2024-05-30T07:47:58.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-30T07:47:58.632Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-30T07:47:59.604Z] OK: 272 MiB in 60 packages [2024-05-30T07:48:00.574Z] Removing intermediate container 9fe8484c94a4 [2024-05-30T07:48:00.574Z] ---> ce6271876a40 [2024-05-30T07:48:00.574Z] Step 6/23 : WORKDIR /device-modbus-go [2024-05-30T07:48:00.574Z] ---> Running in b27a46cd70af [2024-05-30T07:48:00.852Z] Removing intermediate container b27a46cd70af [2024-05-30T07:48:00.852Z] ---> fdd7c1d17d84 [2024-05-30T07:48:00.852Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-30T07:48:01.119Z] ---> e614636c2af3 [2024-05-30T07:48:01.119Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-30T07:48:01.387Z] ---> Running in e7604600a152 [2024-05-30T07:48:03.970Z] Removing intermediate container e7604600a152 [2024-05-30T07:48:03.970Z] ---> 8cc5cfc8bf29 [2024-05-30T07:48:03.970Z] Step 9/23 : COPY . . [2024-05-30T07:48:04.933Z] ---> 330bf5b0dbb7 [2024-05-30T07:48:04.933Z] Step 10/23 : RUN ${MAKE} [2024-05-30T07:48:04.933Z] ---> Running in 780d86cf05bf [2024-05-30T07:48:05.897Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.16" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-05-30T07:51:42.686Z] Removing intermediate container 780d86cf05bf [2024-05-30T07:51:42.686Z] ---> d0d8a2e5566e [2024-05-30T07:51:42.686Z] Step 11/23 : FROM alpine:3.18 [2024-05-30T07:51:42.686Z] 3.18: Pulling from library/alpine [2024-05-30T07:51:42.686Z] c6b39de5b339: Already exists [2024-05-30T07:51:42.686Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-30T07:51:42.686Z] Status: Downloaded newer image for alpine:3.18 [2024-05-30T07:51:42.686Z] ---> 33abbf032149 [2024-05-30T07:51:42.686Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-05-30T07:51:42.686Z] ---> Running in 4cacd3fd75a2 [2024-05-30T07:51:42.686Z] Removing intermediate container 4cacd3fd75a2 [2024-05-30T07:51:42.686Z] ---> 3e0d06eb344a [2024-05-30T07:51:42.686Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-05-30T07:51:42.686Z] ---> Running in 92e21cbdba6c [2024-05-30T07:51:42.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-30T07:51:42.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-30T07:51:42.686Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-30T07:51:42.686Z] Executing busybox-1.36.1-r5.trigger [2024-05-30T07:51:42.686Z] OK: 8 MiB in 16 packages [2024-05-30T07:51:42.686Z] Removing intermediate container 92e21cbdba6c [2024-05-30T07:51:42.686Z] ---> 2fa96642185e [2024-05-30T07:51:42.686Z] Step 14/23 : RUN apk --no-cache upgrade [2024-05-30T07:51:42.686Z] ---> Running in 741621c386fa [2024-05-30T07:51:43.648Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-30T07:51:43.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-30T07:51:45.328Z] Upgrading critical system libraries and apk-tools: [2024-05-30T07:51:45.328Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-30T07:51:45.328Z] Executing busybox-1.36.1-r5.trigger [2024-05-30T07:51:45.596Z] Continuing the upgrade transaction with new apk-tools: [2024-05-30T07:51:45.596Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-30T07:51:45.864Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-30T07:51:47.276Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-30T07:51:47.276Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-30T07:51:47.276Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-30T07:51:47.276Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-30T07:51:47.276Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-30T07:51:47.276Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-30T07:51:47.276Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-30T07:51:47.276Z] Executing busybox-1.36.1-r6.trigger [2024-05-30T07:51:47.276Z] OK: 8 MiB in 16 packages [2024-05-30T07:51:48.695Z] Removing intermediate container 741621c386fa [2024-05-30T07:51:48.695Z] ---> 4ab05f13fc0c [2024-05-30T07:51:48.695Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-05-30T07:51:50.639Z] ---> ced2c765e89d [2024-05-30T07:51:50.639Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-05-30T07:51:50.906Z] ---> 77f2afb069f4 [2024-05-30T07:51:50.906Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-05-30T07:51:51.489Z] ---> 716f2b8e1048 [2024-05-30T07:51:51.489Z] Step 18/23 : EXPOSE 59901 [2024-05-30T07:51:51.489Z] ---> Running in 068f633277b9 [2024-05-30T07:51:51.762Z] Removing intermediate container 068f633277b9 [2024-05-30T07:51:51.762Z] ---> b167db84a585 [2024-05-30T07:51:51.762Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-05-30T07:51:51.762Z] ---> Running in d4140401d16b [2024-05-30T07:51:52.345Z] Removing intermediate container d4140401d16b [2024-05-30T07:51:52.345Z] ---> 55d295def9e0 [2024-05-30T07:51:52.345Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-30T07:51:52.345Z] ---> Running in b812c7f17660 [2024-05-30T07:51:52.612Z] Removing intermediate container b812c7f17660 [2024-05-30T07:51:52.612Z] ---> f830c223e930 [2024-05-30T07:51:52.612Z] Step 21/23 : LABEL arch=arm64 [2024-05-30T07:51:52.612Z] ---> Running in c283e0e14695 [2024-05-30T07:51:52.877Z] Removing intermediate container c283e0e14695 [2024-05-30T07:51:52.877Z] ---> 88c0648f8331 [2024-05-30T07:51:52.877Z] Step 22/23 : LABEL git_sha=13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [2024-05-30T07:51:53.143Z] ---> Running in 7035f8ae240b [2024-05-30T07:51:53.411Z] Removing intermediate container 7035f8ae240b [2024-05-30T07:51:53.411Z] ---> 39215a47c487 [2024-05-30T07:51:53.411Z] Step 23/23 : LABEL version=3.2.0-dev.13 [2024-05-30T07:51:53.411Z] ---> Running in 2ed514f61e20 [2024-05-30T07:51:53.678Z] Removing intermediate container 2ed514f61e20 [2024-05-30T07:51:53.678Z] ---> 065ba2a4ade5 [2024-05-30T07:51:53.678Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-30T07:51:53.678Z] Successfully built 065ba2a4ade5 [2024-05-30T07:51:53.678Z] 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 [2024-05-30T07:51:53.818Z] provisioning config files... [2024-05-30T07:51:53.832Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/152@tmp/config16247843016913678759tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-30T07:51:54.175Z] ---> ****-login.sh [2024-05-30T07:51:54.175Z] nexus3.edgexfoundry.org:10001 [2024-05-30T07:51:54.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T07:51:54.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T07:51:54.444Z] Configure a credential helper to remove this warning. See [2024-05-30T07:51:54.444Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T07:51:54.444Z] [2024-05-30T07:51:54.444Z] Login Succeeded [2024-05-30T07:51:54.444Z] nexus3.edgexfoundry.org:10002 [2024-05-30T07:51:54.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T07:51:54.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T07:51:54.712Z] Configure a credential helper to remove this warning. See [2024-05-30T07:51:54.712Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T07:51:54.712Z] [2024-05-30T07:51:54.712Z] Login Succeeded [2024-05-30T07:51:54.712Z] nexus3.edgexfoundry.org:10003 [2024-05-30T07:51:54.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T07:51:55.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T07:51:55.250Z] Configure a credential helper to remove this warning. See [2024-05-30T07:51:55.250Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T07:51:55.250Z] [2024-05-30T07:51:55.250Z] Login Succeeded [2024-05-30T07:51:55.250Z] nexus3.edgexfoundry.org:10004 [2024-05-30T07:51:55.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T07:51:55.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T07:51:55.517Z] Configure a credential helper to remove this warning. See [2024-05-30T07:51:55.517Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T07:51:55.517Z] [2024-05-30T07:51:55.517Z] Login Succeeded [2024-05-30T07:51:55.517Z] ****.io [2024-05-30T07:51:55.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T07:51:56.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T07:51:56.367Z] Configure a credential helper to remove this warning. See [2024-05-30T07:51:56.367Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T07:51:56.367Z] [2024-05-30T07:51:56.367Z] Login Succeeded [2024-05-30T07:51:56.367Z] ---> ****-login.sh ends [Pipeline] } [2024-05-30T07:51:56.379Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-30T07:51:56.433Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-30T07:51:56.468Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2024-05-30T07:51:56.468Z] 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [2024-05-30T07:51:56.468Z] latest [2024-05-30T07:51:56.468Z] 3.2.0-dev.13 [2024-05-30T07:51:56.468Z] 13e477b7e225234a84aaaa3becdbd9ca8ce93d09-3.2.0-dev.13 [2024-05-30T07:51:56.468Z] main [2024-05-30T07:51:56.468Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:51:56.837Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:51:57.205Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [2024-05-30T07:51:57.205Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2024-05-30T07:51:57.205Z] 1dc343cf3e8f: Preparing [2024-05-30T07:51:57.205Z] daa20dc2a5c5: Preparing [2024-05-30T07:51:57.205Z] 2dc5d1013c19: Preparing [2024-05-30T07:51:57.205Z] a2af4dce70cf: Preparing [2024-05-30T07:51:57.205Z] 56f56d61e380: Preparing [2024-05-30T07:51:57.205Z] 7c504f21be85: Preparing [2024-05-30T07:51:57.205Z] 7c504f21be85: Waiting [2024-05-30T07:51:57.784Z] daa20dc2a5c5: Pushed [2024-05-30T07:51:57.784Z] 56f56d61e380: Pushed [2024-05-30T07:51:57.784Z] 1dc343cf3e8f: Pushed [2024-05-30T07:51:57.784Z] 7c504f21be85: Layer already exists [2024-05-30T07:51:59.187Z] a2af4dce70cf: Pushed [2024-05-30T07:52:05.248Z] 2dc5d1013c19: Pushed [2024-05-30T07:52:05.248Z] 13e477b7e225234a84aaaa3becdbd9ca8ce93d09: digest: sha256:81eefe7fc87984341fe0f53991a8678ebb604b343a62cac32c89185919b996b7 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:52:05.605Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:52:05.970Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2024-05-30T07:52:05.970Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2024-05-30T07:52:05.970Z] 1dc343cf3e8f: Preparing [2024-05-30T07:52:05.970Z] daa20dc2a5c5: Preparing [2024-05-30T07:52:05.970Z] 2dc5d1013c19: Preparing [2024-05-30T07:52:05.970Z] a2af4dce70cf: Preparing [2024-05-30T07:52:05.970Z] 56f56d61e380: Preparing [2024-05-30T07:52:05.970Z] 7c504f21be85: Preparing [2024-05-30T07:52:05.970Z] 7c504f21be85: Waiting [2024-05-30T07:52:05.970Z] 1dc343cf3e8f: Layer already exists [2024-05-30T07:52:05.970Z] daa20dc2a5c5: Layer already exists [2024-05-30T07:52:05.970Z] 56f56d61e380: Layer already exists [2024-05-30T07:52:05.970Z] 2dc5d1013c19: Layer already exists [2024-05-30T07:52:05.970Z] a2af4dce70cf: Layer already exists [2024-05-30T07:52:05.970Z] 7c504f21be85: Layer already exists [2024-05-30T07:52:06.237Z] latest: digest: sha256:81eefe7fc87984341fe0f53991a8678ebb604b343a62cac32c89185919b996b7 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:52:06.594Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:52:06.955Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.13 [2024-05-30T07:52:06.956Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2024-05-30T07:52:06.956Z] 1dc343cf3e8f: Preparing [2024-05-30T07:52:06.956Z] daa20dc2a5c5: Preparing [2024-05-30T07:52:06.956Z] 2dc5d1013c19: Preparing [2024-05-30T07:52:06.956Z] a2af4dce70cf: Preparing [2024-05-30T07:52:06.956Z] 56f56d61e380: Preparing [2024-05-30T07:52:06.956Z] 7c504f21be85: Preparing [2024-05-30T07:52:06.956Z] 7c504f21be85: Waiting [2024-05-30T07:52:06.956Z] 56f56d61e380: Layer already exists [2024-05-30T07:52:06.956Z] 1dc343cf3e8f: Layer already exists [2024-05-30T07:52:06.956Z] 2dc5d1013c19: Layer already exists [2024-05-30T07:52:06.956Z] daa20dc2a5c5: Layer already exists [2024-05-30T07:52:06.956Z] a2af4dce70cf: Layer already exists [2024-05-30T07:52:06.956Z] 7c504f21be85: Layer already exists [2024-05-30T07:52:06.956Z] 3.2.0-dev.13: digest: sha256:81eefe7fc87984341fe0f53991a8678ebb604b343a62cac32c89185919b996b7 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:52:07.312Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:13e477b7e225234a84aaaa3becdbd9ca8ce93d09-3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:52:07.667Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:13e477b7e225234a84aaaa3becdbd9ca8ce93d09-3.2.0-dev.13 [2024-05-30T07:52:07.667Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2024-05-30T07:52:07.667Z] 1dc343cf3e8f: Preparing [2024-05-30T07:52:07.667Z] daa20dc2a5c5: Preparing [2024-05-30T07:52:07.667Z] 2dc5d1013c19: Preparing [2024-05-30T07:52:07.667Z] a2af4dce70cf: Preparing [2024-05-30T07:52:07.667Z] 56f56d61e380: Preparing [2024-05-30T07:52:07.667Z] 7c504f21be85: Preparing [2024-05-30T07:52:07.667Z] 7c504f21be85: Waiting [2024-05-30T07:52:07.667Z] 56f56d61e380: Layer already exists [2024-05-30T07:52:07.667Z] daa20dc2a5c5: Layer already exists [2024-05-30T07:52:07.667Z] 2dc5d1013c19: Layer already exists [2024-05-30T07:52:07.667Z] a2af4dce70cf: Layer already exists [2024-05-30T07:52:07.667Z] 1dc343cf3e8f: Layer already exists [2024-05-30T07:52:07.667Z] 7c504f21be85: Layer already exists [2024-05-30T07:52:07.931Z] 13e477b7e225234a84aaaa3becdbd9ca8ce93d09-3.2.0-dev.13: digest: sha256:81eefe7fc87984341fe0f53991a8678ebb604b343a62cac32c89185919b996b7 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:52:08.374Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:52:08.721Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2024-05-30T07:52:08.721Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2024-05-30T07:52:08.721Z] 1dc343cf3e8f: Preparing [2024-05-30T07:52:08.721Z] daa20dc2a5c5: Preparing [2024-05-30T07:52:08.721Z] 2dc5d1013c19: Preparing [2024-05-30T07:52:08.721Z] a2af4dce70cf: Preparing [2024-05-30T07:52:08.721Z] 56f56d61e380: Preparing [2024-05-30T07:52:08.721Z] 7c504f21be85: Preparing [2024-05-30T07:52:08.721Z] 7c504f21be85: Waiting [2024-05-30T07:52:08.721Z] a2af4dce70cf: Layer already exists [2024-05-30T07:52:08.721Z] 1dc343cf3e8f: Layer already exists [2024-05-30T07:52:08.721Z] 56f56d61e380: Layer already exists [2024-05-30T07:52:08.721Z] 2dc5d1013c19: Layer already exists [2024-05-30T07:52:08.721Z] daa20dc2a5c5: Layer already exists [2024-05-30T07:52:08.721Z] 7c504f21be85: Layer already exists [2024-05-30T07:52:08.984Z] main: digest: sha256:81eefe7fc87984341fe0f53991a8678ebb604b343a62cac32c89185919b996b7 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-30T07:52:09.067Z] ===================================================== [Pipeline] echo [2024-05-30T07:52:09.082Z] taggedImages: [2024-05-30T07:52:09.083Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [2024-05-30T07:52:09.083Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2024-05-30T07:52:09.083Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.13 [2024-05-30T07:52:09.083Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:13e477b7e225234a84aaaa3becdbd9ca8ce93d09-3.2.0-dev.13 [2024-05-30T07:52:09.083Z] - 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 [2024-05-30T07:52:09.465Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-30T07:52:09.465Z] [2024-05-30T07:52:09.465Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:52:09.796Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-30T07:52:09.796Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-30T07:52:09.796Z] 8998bd30e6a1: Pulling fs layer [2024-05-30T07:52:09.796Z] 04944245beec: Pulling fs layer [2024-05-30T07:52:09.796Z] 699f458cf7ca: Pulling fs layer [2024-05-30T07:52:09.796Z] 765212b225bb: Pulling fs layer [2024-05-30T07:52:09.796Z] f23df028b6ca: Pulling fs layer [2024-05-30T07:52:09.796Z] d65c8cfc05b1: Pulling fs layer [2024-05-30T07:52:09.796Z] 2437ff75d9bd: Pulling fs layer [2024-05-30T07:52:09.796Z] f23df028b6ca: Waiting [2024-05-30T07:52:09.796Z] d65c8cfc05b1: Waiting [2024-05-30T07:52:09.796Z] 2437ff75d9bd: Waiting [2024-05-30T07:52:09.796Z] 765212b225bb: Waiting [2024-05-30T07:52:10.066Z] 04944245beec: Verifying Checksum [2024-05-30T07:52:10.066Z] 04944245beec: Download complete [2024-05-30T07:52:10.066Z] 765212b225bb: Verifying Checksum [2024-05-30T07:52:10.066Z] 765212b225bb: Download complete [2024-05-30T07:52:10.066Z] f23df028b6ca: Verifying Checksum [2024-05-30T07:52:10.066Z] f23df028b6ca: Download complete [2024-05-30T07:52:10.334Z] d65c8cfc05b1: Verifying Checksum [2024-05-30T07:52:10.334Z] d65c8cfc05b1: Download complete [2024-05-30T07:52:10.334Z] 699f458cf7ca: Verifying Checksum [2024-05-30T07:52:10.334Z] 699f458cf7ca: Download complete [2024-05-30T07:52:10.601Z] 8998bd30e6a1: Verifying Checksum [2024-05-30T07:52:10.601Z] 8998bd30e6a1: Download complete [2024-05-30T07:52:13.174Z] 2437ff75d9bd: Verifying Checksum [2024-05-30T07:52:13.174Z] 2437ff75d9bd: Download complete [2024-05-30T07:52:15.759Z] 8998bd30e6a1: Pull complete [2024-05-30T07:52:16.025Z] 04944245beec: Pull complete [2024-05-30T07:52:17.437Z] 699f458cf7ca: Pull complete [2024-05-30T07:52:17.703Z] 765212b225bb: Pull complete [2024-05-30T07:52:18.671Z] f23df028b6ca: Pull complete [2024-05-30T07:52:18.936Z] d65c8cfc05b1: Pull complete [2024-05-30T07:52:37.129Z] 2437ff75d9bd: Pull complete [2024-05-30T07:52:37.129Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-30T07:52:37.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-30T07:52:37.129Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-30T07:52:37.346Z] prd-ubuntu20.04-docker-arm64-4c-16g-1597 does not seem to be running inside a container [2024-05-30T07:52:37.403Z] $ 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/152 -v /w/workspace/device-modbus-go/152:/w/workspace/device-modbus-go/152:rw,z -v /w/workspace/device-modbus-go/152@tmp:/w/workspace/device-modbus-go/152@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 [2024-05-30T07:52:39.965Z] $ docker top 6e0858e3db7a5885999fcdfa42cca68f9957c02314407ba00546186f51bd11f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-30T07:52:40.467Z] ---> job-cost.sh [2024-05-30T07:52:40.732Z] lf-activate-venv: SKIPPING [2024-05-30T07:52:40.732Z] INFO: No Stack... [2024-05-30T07:52:41.312Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-30T07:52:41.896Z] INFO: Archiving Costs [Pipeline] sh [2024-05-30T07:52:42.226Z] + cut -d, -f6+ [2024-05-30T07:52:42.226Z] cat /w/workspace/device-modbus-go/152/archives/cost.csv [Pipeline] lock [2024-05-30T07:52:42.525Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-152-stack-cost] [2024-05-30T07:52:42.534Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-152-stack-cost] did not exist. Created. [2024-05-30T07:52:42.540Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-152-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-30T07:52:43.184Z] /w/workspace/device-modbus-go/152@tmp/durable-e96642d1/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-30T07:52:43.775Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-30T07:52:43.787Z] Warning: overwriting stash ‘stack-cost’ [2024-05-30T07:52:43.837Z] Stashed 1 file(s) [Pipeline] } [2024-05-30T07:52:43.847Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-152-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-30T07:52:43.881Z] $ docker stop --time=1 6e0858e3db7a5885999fcdfa42cca68f9957c02314407ba00546186f51bd11f2 [2024-05-30T07:52:45.363Z] $ docker rm -f --volumes 6e0858e3db7a5885999fcdfa42cca68f9957c02314407ba00546186f51bd11f2 [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 [2024-05-30T07:52:45.879Z] provisioning config files... [2024-05-30T07:52:45.888Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2547749926996037225tmp [Pipeline] { [Pipeline] sh [2024-05-30T07:52:46.185Z] + set +x [2024-05-30T07:52:46.185Z] + curl -s https://codecov.io/bash [2024-05-30T07:52:46.185Z] + bash -s -- [2024-05-30T07:52:46.185Z] [2024-05-30T07:52:46.185Z] _____ _ [2024-05-30T07:52:46.185Z] / ____| | | [2024-05-30T07:52:46.185Z] | | ___ __| | ___ ___ _____ __ [2024-05-30T07:52:46.185Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-30T07:52:46.185Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-30T07:52:46.185Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-30T07:52:46.185Z] Bash-1.0.6 [2024-05-30T07:52:46.185Z] [2024-05-30T07:52:46.185Z] [2024-05-30T07:52:46.185Z] ==> git version 2.25.1 found [2024-05-30T07:52:46.185Z] ==> 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 [2024-05-30T07:52:46.185Z] Release-Date: 2020-01-08 [2024-05-30T07:52:46.185Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-05-30T07:52:46.185Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-30T07:52:46.185Z] ==> Jenkins CI detected. [2024-05-30T07:52:46.185Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2024-05-30T07:52:46.185Z] project root: . [2024-05-30T07:52:46.185Z] --> token set from env [2024-05-30T07:52:46.185Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-05-30T07:52:46.185Z] ==> Running gcov in . (disable via -X gcov) [2024-05-30T07:52:46.185Z] ==> Python coveragepy not found [2024-05-30T07:52:46.185Z] ==> Searching for coverage reports in: [2024-05-30T07:52:46.185Z] + . [2024-05-30T07:52:46.185Z] -> Found 1 reports [2024-05-30T07:52:46.185Z] ==> Detecting git/mercurial file structure [2024-05-30T07:52:46.185Z] ==> Reading reports [2024-05-30T07:52:46.445Z] + ./coverage.out bytes=24601 [2024-05-30T07:52:46.445Z] ==> Appending adjustments [2024-05-30T07:52:46.445Z] https://docs.codecov.io/docs/fixing-reports [2024-05-30T07:52:46.445Z] + Found adjustments [2024-05-30T07:52:46.445Z] ==> Gzipping contents [2024-05-30T07:52:46.445Z] 4.0K /tmp/codecov.x72fME.gz [2024-05-30T07:52:46.445Z] ==> Uploading reports [2024-05-30T07:52:46.445Z] url: https://codecov.io [2024-05-30T07:52:46.445Z] query: branch=main&commit=13e477b7e225234a84aaaa3becdbd9ca8ce93d09&build=152&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F152%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-30T07:52:46.445Z] -> Pinging Codecov [2024-05-30T07:52:46.445Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=13e477b7e225234a84aaaa3becdbd9ca8ce93d09&build=152&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F152%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-30T07:52:46.445Z] -> Uploading to [2024-05-30T07:52:46.445Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-30/55DBCA73C666E3227836607328DD7E49/13e477b7e225234a84aaaa3becdbd9ca8ce93d09/4937e798-f114-406b-929d-4497f0f0ea53.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240530%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240530T075246Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c1f44cb989236d346fbd0d8b6997e30897996f6b15bc1a64ffe8f9c6965797bf [2024-05-30T07:52:46.445Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-30T07:52:46.445Z] Dload Upload Total Spent Left Speed [2024-05-30T07:52:46.705Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 16423 --:--:-- --:--:-- --:--:-- 16353 [2024-05-30T07:52:46.705Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [Pipeline] } [2024-05-30T07:52:46.713Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-05-30T07:52:46.928Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-05-30T07:52:46.945Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:52:47.245Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-30T07:52:47.245Z] [2024-05-30T07:52:47.245Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:52:47.553Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-30T07:52:47.553Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-05-30T07:52:47.553Z] 619be1103602: Already exists [2024-05-30T07:52:47.553Z] f8ea3408117e: Pulling fs layer [2024-05-30T07:52:47.553Z] 91320369b822: Pulling fs layer [2024-05-30T07:52:47.553Z] 0406650e8295: Pulling fs layer [2024-05-30T07:52:47.553Z] 4f4fb700ef54: Pulling fs layer [2024-05-30T07:52:47.553Z] 96d80e3f36e1: Pulling fs layer [2024-05-30T07:52:47.553Z] bcf3aedb951c: Pulling fs layer [2024-05-30T07:52:47.553Z] 4f4fb700ef54: Waiting [2024-05-30T07:52:47.553Z] 96d80e3f36e1: Waiting [2024-05-30T07:52:47.553Z] bcf3aedb951c: Waiting [2024-05-30T07:52:47.553Z] 0406650e8295: Verifying Checksum [2024-05-30T07:52:47.553Z] 0406650e8295: Download complete [2024-05-30T07:52:47.553Z] f8ea3408117e: Download complete [2024-05-30T07:52:47.553Z] 4f4fb700ef54: Download complete [2024-05-30T07:52:47.812Z] f8ea3408117e: Pull complete [2024-05-30T07:52:47.812Z] 96d80e3f36e1: Verifying Checksum [2024-05-30T07:52:47.812Z] 96d80e3f36e1: Download complete [2024-05-30T07:52:48.074Z] 91320369b822: Verifying Checksum [2024-05-30T07:52:48.074Z] 91320369b822: Download complete [2024-05-30T07:52:48.640Z] bcf3aedb951c: Verifying Checksum [2024-05-30T07:52:48.640Z] bcf3aedb951c: Download complete [2024-05-30T07:52:51.938Z] 91320369b822: Pull complete [2024-05-30T07:52:51.938Z] 0406650e8295: Pull complete [2024-05-30T07:52:51.938Z] 4f4fb700ef54: Pull complete [2024-05-30T07:52:51.938Z] 96d80e3f36e1: Pull complete [2024-05-30T07:52:55.222Z] bcf3aedb951c: Pull complete [2024-05-30T07:52:55.222Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-05-30T07:52:55.222Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-30T07:52:55.222Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-30T07:52:55.324Z] prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container [2024-05-30T07:52:55.353Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat [2024-05-30T07:53:02.438Z] $ docker top dc42019cb5022c8b7682180a4391917eebb1be9a726d1abb39791cb90fe14368 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-30T07:53:02.798Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo [2024-05-30T07:53:02.807Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2024-05-30T07:53:03.087Z] + set -o pipefail [2024-05-30T07:53:03.087Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2024-05-30T07:53:21.357Z] [2024-05-30T07:53:21.357Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2024-05-30T07:53:21.357Z] [2024-05-30T07:53:21.357Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/a2b4542c-8327-415e-963d-3f267a077bdf [2024-05-30T07:53:21.357Z] [2024-05-30T07:53:21.357Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2024-05-30T07:53:21.357Z] [2024-05-30T07:53:21.357Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-05-30T07:53:21.357Z] [2024-05-30T07:53:21.357Z] [2024-05-30T07:53:21.357Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2024-05-30T07:53:21.357Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2024-05-30T07:53:21.375Z] $ docker stop --time=1 dc42019cb5022c8b7682180a4391917eebb1be9a726d1abb39791cb90fe14368 [2024-05-30T07:53:28.790Z] $ docker rm -f --volumes dc42019cb5022c8b7682180a4391917eebb1be9a726d1abb39791cb90fe14368 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-30T07:53:29.722Z] + git log --format=format:%s -1 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [Pipeline] sh [2024-05-30T07:53:30.019Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-30T07:53:30.019Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:53:30.323Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-30T07:53:30.323Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-30T07:53:30.403Z] prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container [2024-05-30T07:53:30.427Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-30T07:53:31.182Z] $ docker top 4c2d4bd27d1bf54ba0a41014b4325d2b643f7f9d3575ccd132325f66239bd5df -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-30T07:53:31.307Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-30T07:53:31.307Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-30T07:53:31.418Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-30T07:53:31.415Z] $ docker exec 4c2d4bd27d1bf54ba0a41014b4325d2b643f7f9d3575ccd132325f66239bd5df ssh-agent [2024-05-30T07:53:31.543Z] SSH_AUTH_SOCK=/tmp/ssh-UqCRNx4RZwpV/agent.33 [2024-05-30T07:53:31.543Z] SSH_AGENT_PID=39 [2024-05-30T07:53:31.549Z] Running ssh-add (command line suppressed) [2024-05-30T07:53:31.648Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11430591909548165440.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11430591909548165440.key) [2024-05-30T07:53:31.668Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-30T07:53:31.960Z] + git semver tag [2024-05-30T07:53:32.220Z] 2024-05-30 07:53:32,129 [run_tag] DEBUG tag force:False [2024-05-30T07:53:32.220Z] 2024-05-30 07:53:32,129 [check_head_tag] DEBUG check head tag [2024-05-30T07:53:32.220Z] 2024-05-30 07:53:32,130 [execute] INFO git cat-file --batch-check [2024-05-30T07:53:32.220Z] 2024-05-30 07:53:32,131 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2024-05-30T07:53:32.220Z] 2024-05-30 07:53:32,134 [execute] INFO git cat-file --batch [2024-05-30T07:53:32.220Z] 2024-05-30 07:53:32,134 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2024-05-30T07:53:32.220Z] 2024-05-30 07:53:32,155 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-05-30T07:53:32.220Z] 2024-05-30 07:53:32,155 [execute] INFO git tag -a v3.2.0-dev.13 -m v3.2.0-dev.13 [2024-05-30T07:53:32.220Z] 2024-05-30 07:53:32,155 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.13', '-m', 'v3.2.0-dev.13'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2024-05-30T07:53:32.220Z] 2024-05-30 07:53:32,160 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-05-30T07:53:32.220Z] 3.2.0-dev.13 [Pipeline] } [2024-05-30T07:53:32.223Z] $ docker exec --env ******** --env ******** 4c2d4bd27d1bf54ba0a41014b4325d2b643f7f9d3575ccd132325f66239bd5df ssh-agent -k [2024-05-30T07:53:32.321Z] unset SSH_AUTH_SOCK; [2024-05-30T07:53:32.321Z] unset SSH_AGENT_PID; [2024-05-30T07:53:32.321Z] echo Agent pid 39 killed; [2024-05-30T07:53:32.335Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-30T07:53:32.666Z] + git semver [Pipeline] } [2024-05-30T07:53:32.933Z] $ docker stop --time=1 4c2d4bd27d1bf54ba0a41014b4325d2b643f7f9d3575ccd132325f66239bd5df [2024-05-30T07:53:34.233Z] $ docker rm -f --volumes 4c2d4bd27d1bf54ba0a41014b4325d2b643f7f9d3575ccd132325f66239bd5df [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:53:34.669Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-05-30T07:53:34.669Z] [2024-05-30T07:53:34.669Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:53:34.974Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-05-30T07:53:34.974Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-05-30T07:53:34.974Z] ab5ef0e58194: Pulling fs layer [2024-05-30T07:53:34.974Z] 9712f1f96733: Pulling fs layer [2024-05-30T07:53:34.974Z] 63f879dbbcfc: Pulling fs layer [2024-05-30T07:53:34.974Z] 0d9ebad4ef96: Pulling fs layer [2024-05-30T07:53:34.974Z] e9a5061849ea: Pulling fs layer [2024-05-30T07:53:34.974Z] d747dcd14b5f: Pulling fs layer [2024-05-30T07:53:34.974Z] 2de7ff778b66: Pulling fs layer [2024-05-30T07:53:34.974Z] 0d9ebad4ef96: Waiting [2024-05-30T07:53:34.974Z] e9a5061849ea: Waiting [2024-05-30T07:53:34.974Z] d747dcd14b5f: Waiting [2024-05-30T07:53:34.974Z] 2de7ff778b66: Waiting [2024-05-30T07:53:34.974Z] 9712f1f96733: Download complete [2024-05-30T07:53:35.233Z] 63f879dbbcfc: Verifying Checksum [2024-05-30T07:53:35.233Z] 63f879dbbcfc: Download complete [2024-05-30T07:53:35.491Z] e9a5061849ea: Verifying Checksum [2024-05-30T07:53:35.491Z] e9a5061849ea: Download complete [2024-05-30T07:53:35.491Z] d747dcd14b5f: Verifying Checksum [2024-05-30T07:53:35.491Z] d747dcd14b5f: Download complete [2024-05-30T07:53:35.491Z] ab5ef0e58194: Verifying Checksum [2024-05-30T07:53:35.491Z] ab5ef0e58194: Download complete [2024-05-30T07:53:35.491Z] 0d9ebad4ef96: Verifying Checksum [2024-05-30T07:53:35.491Z] 2de7ff778b66: Verifying Checksum [2024-05-30T07:53:35.491Z] 2de7ff778b66: Download complete [2024-05-30T07:53:38.777Z] ab5ef0e58194: Pull complete [2024-05-30T07:53:38.777Z] 9712f1f96733: Pull complete [2024-05-30T07:53:39.344Z] 63f879dbbcfc: Pull complete [2024-05-30T07:53:43.532Z] 0d9ebad4ef96: Pull complete [2024-05-30T07:53:43.790Z] e9a5061849ea: Pull complete [2024-05-30T07:53:44.049Z] d747dcd14b5f: Pull complete [2024-05-30T07:53:44.983Z] 2de7ff778b66: Pull complete [2024-05-30T07:53:44.983Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-05-30T07:53:44.983Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-05-30T07:53:44.983Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-30T07:53:45.084Z] prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container [2024-05-30T07:53:45.107Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2024-05-30T07:53:55.436Z] $ docker top 42461b838604c64f3f5b8c90c53c166c3cb0020dd2b83672ea4b5bde73cd6150 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-05-30T07:53:55.525Z] provisioning config files... [2024-05-30T07:53:55.532Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11051728511337359006tmp [2024-05-30T07:53:55.543Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7056963322114372730tmp [2024-05-30T07:53:55.553Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12648905602295492353tmp [Pipeline] { [Pipeline] echo [2024-05-30T07:53:55.581Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-30T07:53:55.870Z] ---> sigul-configuration.sh [2024-05-30T07:53:55.870Z] gpg: directory `/root/.gnupg' created [2024-05-30T07:53:55.870Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-05-30T07:53:55.870Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-05-30T07:53:55.870Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-05-30T07:53:55.870Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-05-30T07:53:55.870Z] gpg: CAST5 encrypted data [2024-05-30T07:53:55.870Z] gpg: encrypted with 1 passphrase [2024-05-30T07:53:55.870Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-05-30T07:53:56.158Z] + mkdir /home/jenkins [2024-05-30T07:53:56.158Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-05-30T07:53:56.447Z] + 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 [2024-05-30T07:53:56.463Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-30T07:53:56.768Z] ---> sigul-install.sh [2024-05-30T07:53:56.768Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-05-30T07:53:57.061Z] + git tag --list [2024-05-30T07:53:57.061Z] 0.7.1 [2024-05-30T07:53:57.061Z] v1.0.0 [2024-05-30T07:53:57.061Z] v1.1.0 [2024-05-30T07:53:57.061Z] v1.1.1 [2024-05-30T07:53:57.061Z] v1.2.2 [2024-05-30T07:53:57.061Z] v1.3.0 [2024-05-30T07:53:57.061Z] v1.3.1 [2024-05-30T07:53:57.061Z] v2.0.0 [2024-05-30T07:53:57.061Z] v2.1.0 [2024-05-30T07:53:57.061Z] v2.1.1 [2024-05-30T07:53:57.061Z] v2.2.0 [2024-05-30T07:53:57.061Z] v2.3.0 [2024-05-30T07:53:57.061Z] v3.0 [2024-05-30T07:53:57.061Z] v3.0.0 [2024-05-30T07:53:57.061Z] v3.1 [2024-05-30T07:53:57.061Z] v3.1.0 [2024-05-30T07:53:57.061Z] v3.1.0-dev.1 [2024-05-30T07:53:57.061Z] v3.1.0-dev.10 [2024-05-30T07:53:57.061Z] v3.1.0-dev.11 [2024-05-30T07:53:57.061Z] v3.1.0-dev.12 [2024-05-30T07:53:57.061Z] v3.1.0-dev.13 [2024-05-30T07:53:57.061Z] v3.1.0-dev.14 [2024-05-30T07:53:57.061Z] v3.1.0-dev.15 [2024-05-30T07:53:57.061Z] v3.1.0-dev.16 [2024-05-30T07:53:57.061Z] v3.1.0-dev.17 [2024-05-30T07:53:57.061Z] v3.1.0-dev.18 [2024-05-30T07:53:57.061Z] v3.1.0-dev.19 [2024-05-30T07:53:57.061Z] v3.1.0-dev.2 [2024-05-30T07:53:57.061Z] v3.1.0-dev.20 [2024-05-30T07:53:57.061Z] v3.1.0-dev.21 [2024-05-30T07:53:57.061Z] v3.1.0-dev.22 [2024-05-30T07:53:57.061Z] v3.1.0-dev.23 [2024-05-30T07:53:57.061Z] v3.1.0-dev.24 [2024-05-30T07:53:57.061Z] v3.1.0-dev.25 [2024-05-30T07:53:57.061Z] v3.1.0-dev.3 [2024-05-30T07:53:57.061Z] v3.1.0-dev.4 [2024-05-30T07:53:57.061Z] v3.1.0-dev.5 [2024-05-30T07:53:57.061Z] v3.1.0-dev.6 [2024-05-30T07:53:57.061Z] v3.1.0-dev.7 [2024-05-30T07:53:57.061Z] v3.1.0-dev.8 [2024-05-30T07:53:57.061Z] v3.1.0-dev.9 [2024-05-30T07:53:57.061Z] v3.1.1 [2024-05-30T07:53:57.061Z] v3.1.1-dev.1 [2024-05-30T07:53:57.061Z] v3.2.0-dev.1 [2024-05-30T07:53:57.061Z] v3.2.0-dev.10 [2024-05-30T07:53:57.061Z] v3.2.0-dev.11 [2024-05-30T07:53:57.061Z] v3.2.0-dev.12 [2024-05-30T07:53:57.061Z] v3.2.0-dev.13 [2024-05-30T07:53:57.061Z] v3.2.0-dev.2 [2024-05-30T07:53:57.061Z] v3.2.0-dev.3 [2024-05-30T07:53:57.061Z] v3.2.0-dev.4 [2024-05-30T07:53:57.061Z] v3.2.0-dev.5 [2024-05-30T07:53:57.061Z] v3.2.0-dev.6 [2024-05-30T07:53:57.061Z] v3.2.0-dev.7 [2024-05-30T07:53:57.061Z] v3.2.0-dev.8 [2024-05-30T07:53:57.061Z] v3.2.0-dev.9 [Pipeline] sh [2024-05-30T07:53:57.354Z] + lftools sign git-tag v3.2.0-dev.13 [2024-05-30T07:53:57.922Z] Signing Git tag with Sigul... [2024-05-30T07:53:57.922Z] Signing v3.2.0-dev.13 [Pipeline] echo [2024-05-30T07:53:58.514Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-30T07:53:58.812Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-05-30T07:53:58.820Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-05-30T07:53:58.842Z] $ docker stop --time=1 42461b838604c64f3f5b8c90c53c166c3cb0020dd2b83672ea4b5bde73cd6150 [2024-05-30T07:54:00.164Z] $ docker rm -f --volumes 42461b838604c64f3f5b8c90c53c166c3cb0020dd2b83672ea4b5bde73cd6150 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-05-30T07:54:00.616Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-30T07:54:00.616Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:54:00.916Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-30T07:54:00.916Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-30T07:54:00.996Z] prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container [2024-05-30T07:54:01.019Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-30T07:54:01.392Z] $ docker top 04f3728555574f7fea7c251bba10fe3d76da9289463fbf69cd01dd7c62e1be40 -eo pid,comm [2024-05-30T07:54:01.450Z] 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). [2024-05-30T07:54:01.450Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-30T07:54:01.500Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-30T07:54:01.500Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-30T07:54:01.613Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-30T07:54:01.611Z] $ docker exec 04f3728555574f7fea7c251bba10fe3d76da9289463fbf69cd01dd7c62e1be40 ssh-agent [2024-05-30T07:54:01.724Z] SSH_AUTH_SOCK=/tmp/ssh-rhvzr3D1Yhhq/agent.30 [2024-05-30T07:54:01.724Z] SSH_AGENT_PID=36 [2024-05-30T07:54:01.728Z] Running ssh-add (command line suppressed) [2024-05-30T07:54:01.832Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7526357294835116759.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7526357294835116759.key) [2024-05-30T07:54:01.850Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-30T07:54:02.141Z] + git semver bump pre [2024-05-30T07:54:02.402Z] 2024-05-30 07:54:02,327 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-05-30T07:54:02.402Z] 2024-05-30 07:54:02,327 [bump_version] DEBUG bumping version:3.2.0-dev.13 on axis:pre with prefix:dev [2024-05-30T07:54:02.402Z] 2024-05-30 07:54:02,327 [bump_version] DEBUG bumped version:3.2.0-dev.14 [2024-05-30T07:54:02.402Z] 2024-05-30 07:54:02,328 [write_version] DEBUG write version:3.2.0-dev.14 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2024-05-30T07:54:02.402Z] 2024-05-30 07:54:02,328 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-05-30T07:54:02.402Z] 2024-05-30 07:54:02,328 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-05-30T07:54:02.402Z] 2024-05-30 07:54:02,329 [execute] INFO git cat-file --batch-check [2024-05-30T07:54:02.402Z] 2024-05-30 07:54:02,330 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-05-30T07:54:02.402Z] 2024-05-30 07:54:02,335 [execute] INFO git cat-file --batch [2024-05-30T07:54:02.402Z] 2024-05-30 07:54:02,335 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-05-30T07:54:02.402Z] 2024-05-30 07:54:02,340 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-05-30T07:54:02.402Z] 3.2.0-dev.14 [Pipeline] } [2024-05-30T07:54:02.407Z] $ docker exec --env ******** --env ******** 04f3728555574f7fea7c251bba10fe3d76da9289463fbf69cd01dd7c62e1be40 ssh-agent -k [2024-05-30T07:54:02.510Z] unset SSH_AUTH_SOCK; [2024-05-30T07:54:02.510Z] unset SSH_AGENT_PID; [2024-05-30T07:54:02.510Z] echo Agent pid 36 killed; [2024-05-30T07:54:02.526Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-30T07:54:02.843Z] + git semver [Pipeline] } [2024-05-30T07:54:03.109Z] $ docker stop --time=1 04f3728555574f7fea7c251bba10fe3d76da9289463fbf69cd01dd7c62e1be40 [2024-05-30T07:54:04.398Z] $ docker rm -f --volumes 04f3728555574f7fea7c251bba10fe3d76da9289463fbf69cd01dd7c62e1be40 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-30T07:54:04.761Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-30T07:54:04.761Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:54:05.070Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-30T07:54:05.070Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-30T07:54:05.152Z] prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container [2024-05-30T07:54:05.177Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-30T07:54:05.570Z] $ docker top d34241b4e99faf134dcf4a107104003ec328bbe2cf2248945f04d6ab0187108d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-30T07:54:05.677Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-30T07:54:05.677Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-30T07:54:05.784Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-30T07:54:05.782Z] $ docker exec d34241b4e99faf134dcf4a107104003ec328bbe2cf2248945f04d6ab0187108d ssh-agent [2024-05-30T07:54:05.900Z] SSH_AUTH_SOCK=/tmp/ssh-lSb1E1f89UVB/agent.31 [2024-05-30T07:54:05.900Z] SSH_AGENT_PID=37 [2024-05-30T07:54:05.906Z] Running ssh-add (command line suppressed) [2024-05-30T07:54:06.017Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11012687013003303591.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11012687013003303591.key) [2024-05-30T07:54:06.036Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-30T07:54:06.332Z] + git semver push [2024-05-30T07:54:06.591Z] 2024-05-30 07:54:06,579 [run_push] DEBUG push [2024-05-30T07:54:06.591Z] 2024-05-30 07:54:06,580 [execute] INFO git cat-file --batch-check [2024-05-30T07:54:06.591Z] 2024-05-30 07:54:06,580 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-05-30T07:54:06.591Z] 2024-05-30 07:54:06,585 [execute] INFO git rev-list 035b45374632b66fd96a0308207d4a0d601b29a7 -- [2024-05-30T07:54:06.591Z] 2024-05-30 07:54:06,585 [execute] DEBUG Popen(['git', 'rev-list', '035b45374632b66fd96a0308207d4a0d601b29a7', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-05-30T07:54:06.854Z] 2024-05-30 07:54:06,596 [execute] INFO git fetch -v origin [2024-05-30T07:54:06.854Z] 2024-05-30 07:54:06,596 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-05-30T07:54:07.115Z] 2024-05-30 07:54:07,043 [run_push] DEBUG no remote changes detected [2024-05-30T07:54:07.115Z] 2024-05-30 07:54:07,043 [execute] INFO git push origin semver [2024-05-30T07:54:07.115Z] 2024-05-30 07:54:07,044 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-05-30T07:54:08.055Z] 2024-05-30 07:54:07,808 [run_push] DEBUG push all version tags [2024-05-30T07:54:08.055Z] 2024-05-30 07:54:07,809 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-05-30T07:54:08.055Z] 2024-05-30 07:54:07,810 [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) [2024-05-30T07:54:08.631Z] 2024-05-30 07:54:08,490 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-05-30T07:54:08.631Z] 3.2.0-dev.14 [Pipeline] } [2024-05-30T07:54:08.636Z] $ docker exec --env ******** --env ******** d34241b4e99faf134dcf4a107104003ec328bbe2cf2248945f04d6ab0187108d ssh-agent -k [2024-05-30T07:54:08.747Z] unset SSH_AUTH_SOCK; [2024-05-30T07:54:08.747Z] unset SSH_AGENT_PID; [2024-05-30T07:54:08.747Z] echo Agent pid 37 killed; [2024-05-30T07:54:08.763Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-30T07:54:09.095Z] + git semver [Pipeline] } [2024-05-30T07:54:09.362Z] $ docker stop --time=1 d34241b4e99faf134dcf4a107104003ec328bbe2cf2248945f04d6ab0187108d [2024-05-30T07:54:10.742Z] $ docker rm -f --volumes d34241b4e99faf134dcf4a107104003ec328bbe2cf2248945f04d6ab0187108d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-05-30T07:54:11.418Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2024-05-30T07:54:11.418Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2024-05-30T07:54:11.418Z] total 16 [2024-05-30T07:54:11.418Z] drwxr-xr-x 3 root root 4096 May 30 07:40 . [2024-05-30T07:54:11.418Z] drwxrwxr-x 10 jenkins jenkins 4096 May 30 07:53 .. [2024-05-30T07:54:11.418Z] drwxr-xr-x 2 root root 4096 May 30 07:40 cost [2024-05-30T07:54:11.418Z] -rw-r--r-- 1 root root 88 May 30 07:40 cost.csv [2024-05-30T07:54:11.418Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2024-05-30T07:54:11.418Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2024-05-30T07:54:11.418Z] total 16 [2024-05-30T07:54:11.418Z] drwxr-xr-x 3 jenkins jenkins 4096 May 30 07:40 . [2024-05-30T07:54:11.418Z] drwxrwxr-x 10 jenkins jenkins 4096 May 30 07:53 .. [2024-05-30T07:54:11.418Z] drwxr-xr-x 2 jenkins jenkins 4096 May 30 07:40 cost [2024-05-30T07:54:11.418Z] -rw-r--r-- 1 jenkins jenkins 88 May 30 07:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-30T07:54:11.707Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-30T07:54:12.565Z] ---> package-listing.sh [2024-05-30T07:54:12.565Z] ++ facter osfamily [2024-05-30T07:54:12.565Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-30T07:54:12.826Z] + OS_FAMILY=debian [2024-05-30T07:54:12.826Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2024-05-30T07:54:12.826Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-30T07:54:12.826Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-30T07:54:12.826Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-30T07:54:12.826Z] + PACKAGES=/tmp/packages_start.txt [2024-05-30T07:54:12.826Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2024-05-30T07:54:12.826Z] + PACKAGES=/tmp/packages_end.txt [2024-05-30T07:54:12.826Z] + case "${OS_FAMILY}" in [2024-05-30T07:54:12.826Z] + dpkg -l [2024-05-30T07:54:12.826Z] + grep '^ii' [2024-05-30T07:54:12.826Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-30T07:54:12.826Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-30T07:54:12.826Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-30T07:54:12.826Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2024-05-30T07:54:12.826Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2024-05-30T07:54:12.826Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2024-05-30T07:54:12.837Z] 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 [2024-05-30T07:54:13.136Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T07:54:13.704Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-30T07:54:13.704Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-30T07:54:13.786Z] prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container [2024-05-30T07:54:13.806Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-30T07:54:14.015Z] $ docker top 3dbdc7fb8117a601d1804fee484ace519e4c8a3ab51bd5dbbefdeab1c58e51c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-30T07:54:14.371Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-30T07:54:14.653Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-30T07:54:14.937Z] + ls /var/log/sa-host [2024-05-30T07:54:14.937Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-30T07:54:15.137Z] provisioning config files... [2024-05-30T07:54:15.147Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18114547489543577082tmp [Pipeline] { [Pipeline] echo [2024-05-30T07:54:15.166Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-30T07:54:15.452Z] ---> create-netrc.sh [Pipeline] } [2024-05-30T07:54:15.459Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-30T07:54:15.791Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-30T07:54:15.800Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-30T07:54:16.085Z] ---> sudo-logs.sh [2024-05-30T07:54:16.085Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-30T07:54:16.121Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-30T07:54:16.405Z] ---> job-cost.sh [2024-05-30T07:54:16.405Z] lf-activate-venv: SKIPPING [2024-05-30T07:54:16.405Z] DEBUG: total: 0.2199999988079071 [2024-05-30T07:54:16.405Z] INFO: Retrieving Stack Cost... [2024-05-30T07:54:16.975Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-30T07:54:17.235Z] INFO: Archiving Costs [Pipeline] echo [2024-05-30T07:54:17.247Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-30T07:54:17.532Z] ---> logs-deploy.sh [2024-05-30T07:54:17.533Z] lf-activate-venv: SKIPPING [2024-05-30T07:54:17.533Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/152 [2024-05-30T07:54:17.533Z] INFO: archiving workspace using pattern(s): [2024-05-30T07:54:18.472Z] Archives upload complete. [2024-05-30T07:54:18.472Z] INFO: archiving logs to Nexus