Started by upstream project "edgexfoundry/cd-management/release-lts" build number 120 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc 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-ssh6533660270582896770.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 67d2f908f88f8156fbe481f59f373e57362cafe7 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-ssh16886056274914726355.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 67d2f908f88f8156fbe481f59f373e57362cafe7 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/odessa/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/odessa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13260184832799149075.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 67d2f908f88f8156fbe481f59f373e57362cafe7 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 67d2f908f88f8156fbe481f59f373e57362cafe7 # timeout=10 Commit message: "Merge pull request #476 from cherrycl/issue-475" > 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-ssh6739368991296004860.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/odessa/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/odessa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7881385439006247782.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.25 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-773970 in /w/workspace/xfoundry_device-modbus-go_odessa [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/xfoundry_device-modbus-go_odessa # 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 56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc (odessa) > 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 56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc # timeout=10 Commit message: "ci(lts-release): LTS release v4.0.1 @98c9e0d" > git rev-list --no-walk 56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:43:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:43:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:43:06 ========================================================= 09:43:06 EdgeX Global Pipelines Version Info 09:43:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:43:07 ------------------- 09:43:07 stable info: 09:43:07 ------------------- 09:43:07 Commited By: Cherry Wang cherry@iotechsys.com 09:43:07 Commit SHA: 67d2f908f88f8156fbe481f59f373e57362cafe7 09:43:07 Message: update stable to v1.0.278 09:43:08 ------------------- 09:43:08 experimental info: 09:43:08 ------------------- 09:43:08 Commited By: **** collab-it+edgex@linuxfoundation.org 09:43:08 Commit SHA: cefbf83a7544ec8ad1f65f559367c3ce5893bda8 09:43:08 Message: update experimental to v1.0.279 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:43:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 09:43:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 09:43:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:43:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:43:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:43:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.25 [Pipeline] echo 09:43:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:43:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:43:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:43:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:43:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:43:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 09:43:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:43:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:43:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:43:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:43:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:43:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:43:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:43:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:43:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:43:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:43:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:43:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:43:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:43:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:43:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:43:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = odessa [Pipeline] echo 09:43:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = odessa [Pipeline] echo 09:43:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = odessa [Pipeline] echo 09:43:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc [Pipeline] echo 09:43:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 56a8fb4 [Pipeline] echo 09:43:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:43:09 provisioning config files... 09:43:09 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_odessa@tmp/config17466743564840219194tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:43:09 ---> ****-login.sh 09:43:09 nexus3.edgexfoundry.org:10001 09:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:09 09:43:09 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 09:43:09 Configure a credential helper to remove this warning. See 09:43:09 https://docs.****.com/go/credential-store/ 09:43:09 09:43:09 Login Succeeded 09:43:09 nexus3.edgexfoundry.org:10002 09:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:09 09:43:09 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 09:43:09 Configure a credential helper to remove this warning. See 09:43:09 https://docs.****.com/go/credential-store/ 09:43:09 09:43:09 Login Succeeded 09:43:09 nexus3.edgexfoundry.org:10003 09:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:09 09:43:09 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 09:43:09 Configure a credential helper to remove this warning. See 09:43:09 https://docs.****.com/go/credential-store/ 09:43:09 09:43:09 Login Succeeded 09:43:09 nexus3.edgexfoundry.org:10004 09:43:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:10 09:43:10 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 09:43:10 Configure a credential helper to remove this warning. See 09:43:10 https://docs.****.com/go/credential-store/ 09:43:10 09:43:10 Login Succeeded 09:43:10 ****.io 09:43:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:10 09:43:10 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 09:43:10 Configure a credential helper to remove this warning. See 09:43:10 https://docs.****.com/go/credential-store/ 09:43:10 09:43:10 Login Succeeded 09:43:10 ---> ****-login.sh ends [Pipeline] } 09:43:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:43:10 + git rev-list -1 --merges 56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc~1..56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc [Pipeline] echo 09:43:10 -----------> git rev-list -1 --merges 56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc~1..56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc 56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc [false] [Pipeline] sh 09:43:11 + git log --format=format:%s -1 56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc [Pipeline] echo 09:43:11 ========================================================= 09:43:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 09:43:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:43:11 + git log --format=format:%s -1 56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc [Pipeline] echo 09:43:11 [semverPrep] GIT_COMMIT: 56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc, Commit Message: ci(lts-release): LTS release v4.0.1 @98c9e0d [Pipeline] echo 09:43:11 [semverPrep] This is not a build commit. [Pipeline] sh 09:43:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:43:11 + grep -v github /etc/ssh/ssh_known_hosts 09:43:11 + [ -e /tmp/ssh_known_hosts ] 09:43:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:43:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:43:11 + sudo tee -a /etc/ssh/ssh_known_hosts 09:43:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:43:12 09:43:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:43:12 0.1.4: Pulling from edgex-devops/py-git-semver 09:43:12 3dae71ba6b94: Pulling fs layer 09:43:12 6bf1a483ea7c: Pulling fs layer 09:43:12 f5dfc541a4d3: Pulling fs layer 09:43:12 461d9e800cba: Pulling fs layer 09:43:12 80192f66455f: Pulling fs layer 09:43:12 461d9e800cba: Waiting 09:43:12 2e8e34ca0e6c: Pulling fs layer 09:43:12 a29436f7fd5d: Pulling fs layer 09:43:12 923cac83aea3: Pulling fs layer 09:43:12 80192f66455f: Waiting 09:43:12 25ad8b0a4227: Pulling fs layer 09:43:12 db01528c6b51: Pulling fs layer 09:43:12 2e8e34ca0e6c: Waiting 09:43:12 28988de357af: Pulling fs layer 09:43:12 25ad8b0a4227: Waiting 09:43:12 28988de357af: Waiting 09:43:12 db01528c6b51: Waiting 09:43:12 a29436f7fd5d: Waiting 09:43:12 6bf1a483ea7c: Verifying Checksum 09:43:12 6bf1a483ea7c: Download complete 09:43:12 461d9e800cba: Verifying Checksum 09:43:12 461d9e800cba: Download complete 09:43:12 80192f66455f: Download complete 09:43:13 f5dfc541a4d3: Verifying Checksum 09:43:13 f5dfc541a4d3: Download complete 09:43:13 3dae71ba6b94: Download complete 09:43:13 923cac83aea3: Download complete 09:43:13 25ad8b0a4227: Verifying Checksum 09:43:13 25ad8b0a4227: Download complete 09:43:13 db01528c6b51: Verifying Checksum 09:43:13 db01528c6b51: Download complete 09:43:13 28988de357af: Download complete 09:43:14 3dae71ba6b94: Pull complete 09:43:14 a29436f7fd5d: Verifying Checksum 09:43:14 a29436f7fd5d: Download complete 09:43:15 6bf1a483ea7c: Pull complete 09:43:15 f5dfc541a4d3: Pull complete 09:43:15 461d9e800cba: Pull complete 09:43:16 80192f66455f: Pull complete 09:43:16 2e8e34ca0e6c: Verifying Checksum 09:43:16 2e8e34ca0e6c: Download complete 09:43:19 2e8e34ca0e6c: Pull complete 09:43:20 a29436f7fd5d: Pull complete 09:43:20 923cac83aea3: Pull complete 09:43:20 25ad8b0a4227: Pull complete 09:43:20 db01528c6b51: Pull complete 09:43:20 28988de357af: Pull complete 09:43:20 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 09:43:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:43:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:43:20 prd-ubuntu20.04-docker-8c-8g-773970 does not seem to be running inside a container 09:43:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_odessa -v /w/workspace/xfoundry_device-modbus-go_odessa:/w/workspace/xfoundry_device-modbus-go_odessa:rw,z -v /w/workspace/xfoundry_device-modbus-go_odessa@tmp:/w/workspace/xfoundry_device-modbus-go_odessa@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 09:43:29 $ docker top 2995a58a08659c599c8d700fea91d791431dc70479256968a24633b5fabd1fc7 -eo pid,comm 09:43:29 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). 09:43:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:43:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:43:29 [ssh-agent] Looking for ssh-agent implementation... 09:43:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:43:29 $ docker exec 2995a58a08659c599c8d700fea91d791431dc70479256968a24633b5fabd1fc7 ssh-agent 09:43:29 SSH_AUTH_SOCK=/tmp/ssh-e7gatZOEDRkB/agent.32 09:43:29 SSH_AGENT_PID=38 09:43:29 Running ssh-add (command line suppressed) 09:43:29 Identity added: /w/workspace/xfoundry_device-modbus-go_odessa@tmp/private_key_4248971999506885252.key (/w/workspace/xfoundry_device-modbus-go_odessa@tmp/private_key_4248971999506885252.key) 09:43:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:43:30 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_odessa [Pipeline] sh 09:43:30 + git tag --points-at 56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc [Pipeline] } 09:43:30 $ docker exec --env ******** --env ******** 2995a58a08659c599c8d700fea91d791431dc70479256968a24633b5fabd1fc7 ssh-agent -k 09:43:30 unset SSH_AUTH_SOCK; 09:43:30 unset SSH_AGENT_PID; 09:43:30 echo Agent pid 38 killed; 09:43:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:43:30 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v4.0.1' [Pipeline] sshagent 09:43:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:43:30 [ssh-agent] Looking for ssh-agent implementation... 09:43:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:43:30 $ docker exec 2995a58a08659c599c8d700fea91d791431dc70479256968a24633b5fabd1fc7 ssh-agent 09:43:30 SSH_AUTH_SOCK=/tmp/ssh-5khJ4FGKnVtj/agent.86 09:43:30 SSH_AGENT_PID=92 09:43:30 Running ssh-add (command line suppressed) 09:43:31 Identity added: /w/workspace/xfoundry_device-modbus-go_odessa@tmp/private_key_13678329051994200777.key (/w/workspace/xfoundry_device-modbus-go_odessa@tmp/private_key_13678329051994200777.key) 09:43:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:43:31 + git semver init 09:43:31 2025-11-27 09:43:31,613 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 09:43:31 2025-11-27 09:43:31,616 [run_init] DEBUG init version:0.0.0 force:False 09:43:31 2025-11-27 09:43:31,617 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_odessa/.semver 09:43:31 2025-11-27 09:43:31,617 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_odessa/.semver 09:43:31 2025-11-27 09:43:31,617 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_odessa/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_odessa, stdin=None, shell=False, universal_newlines=False) 09:43:33 2025-11-27 09:43:33,106 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_odessa/.git/info/exclude 09:43:33 2025-11-27 09:43:33,106 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_odessa/.semver/odessa with force:False 09:43:33 2025-11-27 09:43:33,107 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_odessa/.semver/odessa 09:43:33 2025-11-27 09:43:33,107 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_odessa/.semver/odessa 09:43:33 4.0.1 [Pipeline] } 09:43:33 $ docker exec --env ******** --env ******** 2995a58a08659c599c8d700fea91d791431dc70479256968a24633b5fabd1fc7 ssh-agent -k 09:43:33 unset SSH_AUTH_SOCK; 09:43:33 unset SSH_AGENT_PID; 09:43:33 echo Agent pid 92 killed; 09:43:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:43:34 + git semver [Pipeline] } 09:43:34 $ docker stop --time=1 2995a58a08659c599c8d700fea91d791431dc70479256968a24633b5fabd1fc7 09:43:35 $ docker rm -f --volumes 2995a58a08659c599c8d700fea91d791431dc70479256968a24633b5fabd1fc7 [Pipeline] // withDockerContainer [Pipeline] sh 09:43:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:43:36 Stashed 1 file(s) [Pipeline] echo 09:43:36 [edgeXSemver]: initialized semver on version 4.0.1 [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] sh 09:43:36 + git checkout 56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc 09:43:36 HEAD is now at 56a8fb4 ci(lts-release): LTS release v4.0.1 @98c9e0d [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:43:36 provisioning config files... 09:43:36 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_odessa@tmp/config11881202716766333434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:43:37 ---> ****-login.sh 09:43:37 nexus3.edgexfoundry.org:10001 09:43:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:37 Login Succeeded 09:43:37 nexus3.edgexfoundry.org:10002 09:43:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:37 Login Succeeded 09:43:37 nexus3.edgexfoundry.org:10003 09:43:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:37 Login Succeeded 09:43:37 nexus3.edgexfoundry.org:10004 09:43:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:37 Login Succeeded 09:43:37 ****.io 09:43:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:37 Login Succeeded 09:43:37 ---> ****-login.sh ends [Pipeline] } 09:43:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:43:37 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 09:43:38 + grep ^go [0-9].[0-9]* go.mod 09:43:38 + cut -d -f 2 09:43:38 + cut -d . -f1-2 [Pipeline] echo 09:43:38 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 09:43:38 ========================================================= 09:43:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts] 09:43:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:38 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts --build-arg MAKE=echo noop --target=builder . 09:43:39 #0 building with "default" instance using docker driver 09:43:39 09:43:39 #1 [internal] load build definition from Dockerfile 09:43:39 #1 transferring dockerfile: 1.52kB done 09:43:39 #1 DONE 0.0s 09:43:39 09:43:39 #2 [internal] load metadata for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts 09:43:39 #2 DONE 0.1s 09:43:39 09:43:39 #3 [internal] load .dockerignore 09:43:39 #3 transferring context: 09:43:39 #3 transferring context: 182B done 09:43:39 #3 DONE 0.0s 09:43:39 09:43:39 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts@sha256:13490a1e6eed117a10b338392fa532bd4755c6135795303ade0591b05f77a5dd 09:43:39 #4 resolve nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts@sha256:13490a1e6eed117a10b338392fa532bd4755c6135795303ade0591b05f77a5dd 0.0s done 09:43:39 #4 sha256:13490a1e6eed117a10b338392fa532bd4755c6135795303ade0591b05f77a5dd 2.21kB / 2.21kB done 09:43:39 #4 sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 0B / 3.63MB 0.1s 09:43:39 #4 sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 0B / 74.06MB 0.1s 09:43:39 #4 sha256:bc3d7bf65e2363f1bcda3738ec6be7c8ddbd609a9cc249afb7684dc2b54dd356 5.43kB / 5.43kB done 09:43:39 #4 sha256:8833042f23b55b241bbb6352d36795dec58ceae053fa5e7f68b7da568ede5a71 294.38kB / 294.38kB 0.1s 09:43:39 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.2s 09:43:39 #4 sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 3.63MB / 3.63MB 0.3s done 09:43:39 #4 sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 9.44MB / 74.06MB 0.3s 09:43:39 #4 sha256:8833042f23b55b241bbb6352d36795dec58ceae053fa5e7f68b7da568ede5a71 294.38kB / 294.38kB 0.1s done 09:43:39 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.3s done 09:43:39 #4 sha256:b5acb76e968064ef973541dc9568ddcc77a62715cc268ca0282004a1349897d8 126B / 126B 0.1s done 09:43:39 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 09:43:39 #4 sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 16.78MB / 74.06MB 0.4s 09:43:39 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 0.2s done 09:43:39 #4 sha256:97255f1bc79db2b973305890b2e320f157ca5af50aa836c0a14faf68d42ccadb 0B / 2.38MB 0.4s 09:43:39 #4 sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 0B / 100.52MB 0.4s 09:43:39 #4 sha256:012bb1f9d321339749de0031ed7c0df5e7017753dd01ba413db26430b180a314 439B / 439B 0.3s done 09:43:39 #4 sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 30.41MB / 74.06MB 0.5s 09:43:39 #4 sha256:97255f1bc79db2b973305890b2e320f157ca5af50aa836c0a14faf68d42ccadb 2.38MB / 2.38MB 0.5s 09:43:39 #4 sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 47.19MB / 74.06MB 0.7s 09:43:39 #4 sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 13.63MB / 100.52MB 0.7s 09:43:40 #4 sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 61.87MB / 74.06MB 0.9s 09:43:40 #4 sha256:97255f1bc79db2b973305890b2e320f157ca5af50aa836c0a14faf68d42ccadb 2.38MB / 2.38MB 0.7s done 09:43:40 #4 sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 20.97MB / 100.52MB 0.9s 09:43:40 #4 sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 69.21MB / 74.06MB 1.0s 09:43:40 #4 sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 31.46MB / 100.52MB 1.0s 09:43:40 #4 extracting sha256:8833042f23b55b241bbb6352d36795dec58ceae053fa5e7f68b7da568ede5a71 0.1s done 09:43:40 #4 sha256:15f87924ceafe7c6d7d59f643af2171e5cf35b5e63c8addbcf3ade6075f018af 1.05MB / 13.29MB 1.0s 09:43:40 #4 sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 37.75MB / 100.52MB 1.1s 09:43:40 #4 sha256:15f87924ceafe7c6d7d59f643af2171e5cf35b5e63c8addbcf3ade6075f018af 4.19MB / 13.29MB 1.1s 09:43:40 #4 sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 74.06MB / 74.06MB 1.3s 09:43:40 #4 sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 60.82MB / 100.52MB 1.3s 09:43:40 #4 sha256:15f87924ceafe7c6d7d59f643af2171e5cf35b5e63c8addbcf3ade6075f018af 13.29MB / 13.29MB 1.3s 09:43:40 #4 sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 69.21MB / 100.52MB 1.4s 09:43:40 #4 sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 96.47MB / 100.52MB 1.6s 09:43:42 #4 ... 09:43:42 09:43:42 #5 [internal] load build context 09:43:42 #5 transferring context: 67.22MB 1.2s done 09:43:42 #5 DONE 2.6s 09:43:42 09:43:42 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts@sha256:13490a1e6eed117a10b338392fa532bd4755c6135795303ade0591b05f77a5dd 09:43:42 #4 sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 74.06MB / 74.06MB 2.5s done 09:43:42 #4 sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 100.52MB / 100.52MB 2.5s done 09:43:42 #4 sha256:15f87924ceafe7c6d7d59f643af2171e5cf35b5e63c8addbcf3ade6075f018af 13.29MB / 13.29MB 2.5s done 09:43:42 #4 extracting sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 0.1s 09:43:46 #4 extracting sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 4.4s done 09:43:46 #4 extracting sha256:b5acb76e968064ef973541dc9568ddcc77a62715cc268ca0282004a1349897d8 09:43:46 #4 extracting sha256:b5acb76e968064ef973541dc9568ddcc77a62715cc268ca0282004a1349897d8 done 09:43:46 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 09:43:46 #4 extracting sha256:012bb1f9d321339749de0031ed7c0df5e7017753dd01ba413db26430b180a314 done 09:43:46 #4 extracting sha256:97255f1bc79db2b973305890b2e320f157ca5af50aa836c0a14faf68d42ccadb 0.0s done 09:43:46 #4 extracting sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 09:43:49 #4 extracting sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 2.2s done 09:43:49 #4 extracting sha256:15f87924ceafe7c6d7d59f643af2171e5cf35b5e63c8addbcf3ade6075f018af 09:43:49 #4 extracting sha256:15f87924ceafe7c6d7d59f643af2171e5cf35b5e63c8addbcf3ade6075f018af 0.5s done 09:43:50 #4 DONE 10.9s 09:43:50 09:43:50 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh 09:43:50 #6 0.665 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:43:51 #6 0.743 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:43:51 #6 1.028 (1/8) Installing openssh-keygen (9.7_p1-r5) 09:43:51 #6 1.044 (2/8) Installing libedit (20240517.3.1-r0) 09:43:51 #6 1.050 (3/8) Installing openssh-client-common (9.7_p1-r5) 09:43:51 #6 1.073 (4/8) Installing openssh-client-default (9.7_p1-r5) 09:43:51 #6 1.083 (5/8) Installing openssh-sftp-server (9.7_p1-r5) 09:43:51 #6 1.088 (6/8) Installing openssh-server-common (9.7_p1-r5) 09:43:51 #6 1.091 (7/8) Installing openssh-server (9.7_p1-r5) 09:43:51 #6 1.108 (8/8) Installing openssh (9.7_p1-r5) 09:43:51 #6 1.115 Executing busybox-1.36.1-r29.trigger 09:43:51 #6 1.124 OK: 253 MiB in 66 packages 09:43:51 Still waiting to schedule task 09:43:51 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 09:43:59 #6 DONE 8.7s 09:43:59 09:43:59 #7 [builder 3/7] WORKDIR /device-modbus-go 09:43:59 #7 DONE 0.0s 09:43:59 09:43:59 #8 [builder 4/7] COPY go.mod vendor* ./ 09:43:59 #8 DONE 0.9s 09:43:59 09:43:59 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:44:21 #9 DONE 21.3s 09:44:21 09:44:21 #10 [builder 6/7] COPY . . 09:44:22 #10 DONE 1.2s 09:44:22 09:44:22 #11 [builder 7/7] RUN echo noop 09:44:22 #11 0.187 noop 09:44:22 #11 DONE 0.2s 09:44:22 09:44:22 #12 exporting to image 09:44:22 #12 exporting layers 09:44:29 #12 exporting layers 6.8s done 09:44:29 #12 writing image sha256:9b307282f479a402791b796bf9810bc353ff01d2cfdd2ccf3a14924460e472f6 0.0s done 09:44:29 #12 naming to docker.io/library/ci-base-image-x86_64 0.0s done 09:44:29 #12 DONE 6.9s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:29 + docker inspect -f . ci-base-image-x86_64 09:44:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:30 prd-ubuntu20.04-docker-8c-8g-773970 does not seem to be running inside a container 09:44:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_odessa -v /w/workspace/xfoundry_device-modbus-go_odessa:/w/workspace/xfoundry_device-modbus-go_odessa:rw,z -v /w/workspace/xfoundry_device-modbus-go_odessa@tmp:/w/workspace/xfoundry_device-modbus-go_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:44:30 $ docker top 99fbd781debf7613808a71e029604c3f2534e59f09cfa2ade64c71242e658081 -eo pid,comm [Pipeline] { [Pipeline] sh 09:44:31 + go version 09:44:31 go version go1.23.7 linux/amd64 [Pipeline] } 09:44:31 $ docker stop --time=1 99fbd781debf7613808a71e029604c3f2534e59f09cfa2ade64c71242e658081 09:44:32 $ docker rm -f --volumes 99fbd781debf7613808a71e029604c3f2534e59f09cfa2ade64c71242e658081 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:32 + docker inspect -f . ci-base-image-x86_64 09:44:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:33 prd-ubuntu20.04-docker-8c-8g-773970 does not seem to be running inside a container 09:44:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_odessa -v /w/workspace/xfoundry_device-modbus-go_odessa:/w/workspace/xfoundry_device-modbus-go_odessa:rw,z -v /w/workspace/xfoundry_device-modbus-go_odessa@tmp:/w/workspace/xfoundry_device-modbus-go_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:44:33 $ docker top 4e8b62bc4d9ddbac8e0a3e8fb476767d768eb6a66b269583afc52fa9d55224c2 -eo pid,comm [Pipeline] { [Pipeline] sh 09:44:33 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_odessa [Pipeline] fileExists [Pipeline] sh 09:44:34 + make test 09:44:34 go test ./... -coverprofile=coverage.out 09:44:38 ? github.com/edgexfoundry/device-modbus-go [no test files] 09:44:56 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 09:44:56 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 49.0% of statements 09:45:03 go vet ./... 09:45:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:45:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:45:09 ./bin/test-attribution-txt.sh [Pipeline] echo 09:45:09 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 09:45:09 + go mod tidy [Pipeline] } 09:45:10 $ docker stop --time=1 4e8b62bc4d9ddbac8e0a3e8fb476767d768eb6a66b269583afc52fa9d55224c2 09:45:18 $ docker rm -f --volumes 4e8b62bc4d9ddbac8e0a3e8fb476767d768eb6a66b269583afc52fa9d55224c2 [Pipeline] // withDockerContainer [Pipeline] sh 09:45:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:45:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:45:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:45:19 + ls -al . 09:45:19 total 264 09:45:19 drwxrwxr-x 10 jenkins jenkins 4096 Nov 27 09:44 . 09:45:19 drwxrwxr-x 4 jenkins jenkins 4096 Nov 27 09:43 .. 09:45:19 -rw-rw-r-- 1 jenkins jenkins 140 Nov 27 09:43 .dockerignore 09:45:19 drwxrwxr-x 8 jenkins jenkins 4096 Nov 27 09:44 .git 09:45:19 drwxrwxr-x 3 jenkins jenkins 4096 Nov 27 09:43 .github 09:45:19 -rw-rw-r-- 1 jenkins jenkins 258 Nov 27 09:43 .gitignore 09:45:19 -rw-rw-r-- 1 jenkins jenkins 199 Nov 27 09:43 .golangci.yml 09:45:19 drwxr-xr-x 3 jenkins jenkins 4096 Nov 27 09:43 .semver 09:45:19 -rw-rw-r-- 1 jenkins jenkins 19806 Nov 27 09:43 Attribution.txt 09:45:19 -rw-rw-r-- 1 jenkins jenkins 18441 Nov 27 09:43 CHANGELOG.md 09:45:19 -rw-rw-r-- 1 jenkins jenkins 1479 Nov 27 09:43 Dockerfile 09:45:19 -rw-rw-r-- 1 jenkins jenkins 677 Nov 27 09:43 GOVERNANCE.md 09:45:19 -rw-rw-r-- 1 jenkins jenkins 658 Nov 27 09:43 Jenkinsfile 09:45:19 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 27 09:43 LICENSE 09:45:19 -rw-rw-r-- 1 jenkins jenkins 2524 Nov 27 09:43 Makefile 09:45:19 -rw-rw-r-- 1 jenkins jenkins 622 Nov 27 09:43 OWNERS.md 09:45:19 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 27 09:43 README.md 09:45:19 -rw-rw-r-- 1 jenkins jenkins 5 Nov 27 09:43 VERSION 09:45:19 drwxrwxr-x 2 jenkins jenkins 4096 Nov 27 09:43 bin 09:45:19 drwxrwxr-x 3 jenkins jenkins 4096 Nov 27 09:43 cmd 09:45:19 -rw-r--r-- 1 jenkins jenkins 27945 Nov 27 09:44 coverage.out 09:45:19 -rw-rw-r-- 1 jenkins jenkins 6349 Nov 27 09:43 go.mod 09:45:19 -rw-rw-r-- 1 jenkins jenkins 87133 Nov 27 09:43 go.sum 09:45:19 drwxrwxr-x 3 jenkins jenkins 4096 Nov 27 09:43 internal 09:45:19 drwxrwxr-x 2 jenkins jenkins 4096 Nov 27 09:43 simulator 09:45:19 drwxrwxr-x 10 jenkins jenkins 4096 Nov 27 09:43 vendor 09:45:19 -rw-rw-r-- 1 jenkins jenkins 229 Nov 27 09:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:20 + 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=56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc --label arch=amd64 --label version=4.0.1 . 09:45:20 #0 building with "default" instance using docker driver 09:45:20 09:45:20 #1 [internal] load build definition from Dockerfile 09:45:20 #1 transferring dockerfile: 1.52kB done 09:45:20 #1 DONE 0.1s 09:45:20 09:45:20 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 09:45:20 #2 DONE 0.0s 09:45:20 09:45:20 #3 [internal] load metadata for docker.io/library/alpine:3.22 09:45:20 #3 DONE 0.1s 09:45:20 09:45:20 #4 [internal] load .dockerignore 09:45:20 #4 transferring context: 182B done 09:45:20 #4 DONE 0.0s 09:45:20 09:45:20 #5 [builder 1/7] FROM docker.io/library/ci-base-image-x86_64:latest 09:45:20 #5 DONE 0.1s 09:45:20 09:45:20 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.22@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 09:45:20 #6 resolve docker.io/library/alpine:3.22@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 0.0s done 09:45:20 #6 sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 9.22kB / 9.22kB done 09:45:20 #6 sha256:85f2b723e106c34644cd5851d7e81ee87da98ac54672b29947c052a45d31dc2f 1.02kB / 1.02kB done 09:45:20 #6 sha256:706db57fb2063f39f69632c5b5c9c439633fda35110e65587c5d85553fd1cc38 581B / 581B done 09:45:20 #6 sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 3.80MB / 3.80MB 0.1s 09:45:20 #6 ... 09:45:20 09:45:20 #7 [internal] load build context 09:45:20 #7 transferring context: 441.33kB 0.2s done 09:45:20 #7 DONE 0.3s 09:45:20 09:45:20 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.22@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 09:45:20 #6 sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 3.80MB / 3.80MB 0.2s done 09:45:20 #6 extracting sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 09:45:20 #6 extracting sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 0.2s done 09:45:20 #6 DONE 0.5s 09:45:20 09:45:20 #8 [builder 2/7] RUN apk add --update --no-cache make git openssh 09:45:21 #8 0.419 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:45:21 #8 0.568 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:45:21 #8 0.993 OK: 253 MiB in 66 packages 09:45:21 #8 DONE 1.3s 09:45:21 09:45:21 #9 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 09:45:21 #9 0.212 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 09:45:21 #9 0.285 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 09:45:21 #9 0.573 (1/1) Installing dumb-init (1.2.5-r3) 09:45:21 #9 0.578 Executing busybox-1.37.0-r19.trigger 09:45:21 #9 0.580 OK: 7 MiB in 17 packages 09:45:21 #9 DONE 0.9s 09:45:21 09:45:21 #10 [builder 3/7] WORKDIR /device-modbus-go 09:45:21 #10 DONE 0.0s 09:45:21 09:45:21 #11 [builder 4/7] COPY go.mod vendor* ./ 09:45:23 #11 DONE 1.3s 09:45:23 09:45:23 #12 [stage-1 3/6] RUN apk --no-cache upgrade 09:45:23 #12 0.719 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 09:45:23 #12 0.793 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 09:45:23 #12 1.155 (1/3) Upgrading busybox (1.37.0-r19 -> 1.37.0-r20) 09:45:23 #12 1.305 Executing busybox-1.37.0-r20.post-upgrade 09:45:23 #12 1.370 (2/3) Upgrading busybox-binsh (1.37.0-r19 -> 1.37.0-r20) 09:45:23 #12 1.370 (3/3) Upgrading ssl_client (1.37.0-r19 -> 1.37.0-r20) 09:45:23 #12 1.373 Executing busybox-1.37.0-r20.trigger 09:45:23 #12 1.382 OK: 7 MiB in 17 packages 09:45:23 #12 DONE 1.5s 09:45:23 09:45:23 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:45:23 #13 0.291 skipping... 09:45:23 #13 DONE 0.3s 09:45:23 09:45:23 #14 [builder 6/7] COPY . . 09:45:25 #14 DONE 1.7s 09:45:25 09:45:25 #15 [builder 7/7] RUN make build 09:45:25 #15 0.204 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.1 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 09:45:51 #15 DONE 25.3s 09:45:51 09:45:51 #16 [stage-1 4/6] COPY --from=builder /device-modbus-go/cmd / 09:45:51 #16 DONE 1.1s 09:45:51 09:45:51 #17 [stage-1 5/6] COPY --from=builder /device-modbus-go/LICENSE / 09:45:52 #17 DONE 0.5s 09:45:52 09:45:52 #18 [stage-1 6/6] COPY --from=builder /device-modbus-go/Attribution.txt / 09:45:52 #18 DONE 0.2s 09:45:52 09:45:52 #19 exporting to image 09:45:52 #19 exporting layers 09:45:52 #19 exporting layers 0.4s done 09:45:53 #19 writing image sha256:1acd1c0ac9a734f080266c586c9ec30dd7cae99acabcad4de755bb49a24c7418 done 09:45:53 #19 naming to docker.io/library/device-modbus 0.0s done 09:45:53 #19 DONE 0.5s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:45:53 provisioning config files... 09:45:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_odessa@tmp/config16708690677262290959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:45:53 ---> ****-login.sh 09:45:53 nexus3.edgexfoundry.org:10001 09:45:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:53 Login Succeeded 09:45:53 nexus3.edgexfoundry.org:10002 09:45:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:53 Login Succeeded 09:45:53 nexus3.edgexfoundry.org:10003 09:45:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:53 Login Succeeded 09:45:53 nexus3.edgexfoundry.org:10004 09:45:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:53 Login Succeeded 09:45:53 ****.io 09:45:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:54 Login Succeeded 09:45:54 ---> ****-login.sh ends [Pipeline] } 09:45:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:45:54 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 09:45:54 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 09:45:54 56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc 09:45:54 4.0.1 09:45:54 56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc-4.0.1 09:45:54 odessa 09:45:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:54 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:54 + docker push nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc 09:45:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:45:54 add04e8c4e96: Preparing 09:45:54 11bb08b986c8: Preparing 09:45:54 e9b564ef40d0: Preparing 09:45:54 9572e8a32e70: Preparing 09:45:54 0fc206d37bd1: Preparing 09:45:54 256f393e029f: Preparing 09:45:54 256f393e029f: Waiting 09:45:54 11bb08b986c8: Pushed 09:45:54 0fc206d37bd1: Pushed 09:45:54 256f393e029f: Layer already exists 09:45:54 add04e8c4e96: Pushed 09:45:54 9572e8a32e70: Pushed 09:45:58 e9b564ef40d0: Pushed 09:45:58 56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc: digest: sha256:fb360bccdd383eebe3a47875d7940c3e20a9edc09629b1da02b05b68b7adf34a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:58 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4.0.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:58 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4.0.1 09:45:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:45:58 add04e8c4e96: Preparing 09:45:58 11bb08b986c8: Preparing 09:45:58 e9b564ef40d0: Preparing 09:45:58 9572e8a32e70: Preparing 09:45:58 0fc206d37bd1: Preparing 09:45:58 256f393e029f: Preparing 09:45:58 256f393e029f: Waiting 09:45:58 0fc206d37bd1: Layer already exists 09:45:58 e9b564ef40d0: Layer already exists 09:45:58 add04e8c4e96: Layer already exists 09:45:58 11bb08b986c8: Layer already exists 09:45:58 9572e8a32e70: Layer already exists 09:45:58 256f393e029f: Layer already exists 09:45:58 4.0.1: digest: sha256:fb360bccdd383eebe3a47875d7940c3e20a9edc09629b1da02b05b68b7adf34a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:59 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc-4.0.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:59 + docker push nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc-4.0.1 09:45:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:45:59 add04e8c4e96: Preparing 09:45:59 11bb08b986c8: Preparing 09:45:59 e9b564ef40d0: Preparing 09:45:59 9572e8a32e70: Preparing 09:45:59 0fc206d37bd1: Preparing 09:45:59 256f393e029f: Preparing 09:45:59 256f393e029f: Waiting 09:45:59 0fc206d37bd1: Layer already exists 09:45:59 add04e8c4e96: Layer already exists 09:45:59 e9b564ef40d0: Layer already exists 09:45:59 11bb08b986c8: Layer already exists 09:45:59 9572e8a32e70: Layer already exists 09:45:59 256f393e029f: Layer already exists 09:45:59 56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc-4.0.1: digest: sha256:fb360bccdd383eebe3a47875d7940c3e20a9edc09629b1da02b05b68b7adf34a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:46:00 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:46:00 + docker push nexus3.edgexfoundry.org:10004/device-modbus:odessa 09:46:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:46:00 add04e8c4e96: Preparing 09:46:00 11bb08b986c8: Preparing 09:46:00 e9b564ef40d0: Preparing 09:46:00 9572e8a32e70: Preparing 09:46:00 0fc206d37bd1: Preparing 09:46:00 256f393e029f: Preparing 09:46:00 256f393e029f: Waiting 09:46:00 add04e8c4e96: Layer already exists 09:46:00 0fc206d37bd1: Layer already exists 09:46:00 e9b564ef40d0: Layer already exists 09:46:00 9572e8a32e70: Layer already exists 09:46:00 11bb08b986c8: Layer already exists 09:46:00 256f393e029f: Layer already exists 09:46:00 odessa: digest: sha256:fb360bccdd383eebe3a47875d7940c3e20a9edc09629b1da02b05b68b7adf34a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:46:00 ===================================================== [Pipeline] echo 09:46:00 taggedImages: 09:46:00 - nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc 09:46:00 - nexus3.edgexfoundry.org:10004/device-modbus:4.0.1 09:46:00 - nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc-4.0.1 09:46:00 - nexus3.edgexfoundry.org:10004/device-modbus:odessa [Pipeline] echo 09:46:00 ========================================================= 09:46:00 [edgeXBuildMultiArch] RAW Config: 09:46:00 images: 09:46:00 - nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc 09:46:00 - nexus3.edgexfoundry.org:10004/device-modbus:4.0.1 09:46:00 - nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc-4.0.1 09:46:00 - nexus3.edgexfoundry.org:10004/device-modbus:odessa 09:46:00 settingsFile: 09:46:00 device-modbus-go-settings 09:46:00 ========================================================= [Pipeline] node 09:46:15 Still waiting to schedule task 09:46:15 Waiting for next available executor on ‘centos7-docker-4c-2g’ 10:04:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-773997 in /w/workspace/xfoundry_device-modbus-go_odessa [Pipeline] { [Pipeline] ws 10:04:11 Running in /w/workspace/device-modbus-go/8 [Pipeline] { [Pipeline] checkout 10:04:14 The recommended git tool is: git 10:04:20 using credential edgex-jenkins-ssh 10:04:20 Cloning the remote Git repository 10:04:20 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 10:04:20 > git init /w/workspace/device-modbus-go/8 # timeout=10 10:04:20 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 10:04:20 > git --version # timeout=10 10:04:20 > git --version # 'git version 2.25.1' 10:04:20 using GIT_SSH to set credentials SSH Credentials for GitHub 10:04:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:04:24 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 10:04:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:04:25 Avoid second fetch 10:04:25 Checking out Revision 56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc (odessa) 10:04:25 > git config core.sparsecheckout # timeout=10 10:04:25 > git checkout -f 56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc # timeout=10 10:04:27 Commit message: "ci(lts-release): LTS release v4.0.1 @98c9e0d" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:04:33 + git checkout 56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc 10:04:33 HEAD is now at 56a8fb4 ci(lts-release): LTS release v4.0.1 @98c9e0d [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:04:33 provisioning config files... 10:04:33 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/8@tmp/config14388883127779058990tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:04:33 ---> ****-login.sh 10:04:33 nexus3.edgexfoundry.org:10001 10:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:34 Configure a credential helper to remove this warning. See 10:04:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:34 10:04:34 Login Succeeded 10:04:34 nexus3.edgexfoundry.org:10002 10:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:34 Configure a credential helper to remove this warning. See 10:04:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:34 10:04:34 Login Succeeded 10:04:34 nexus3.edgexfoundry.org:10003 10:04:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:35 Configure a credential helper to remove this warning. See 10:04:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:35 10:04:35 Login Succeeded 10:04:35 nexus3.edgexfoundry.org:10004 10:04:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:35 Configure a credential helper to remove this warning. See 10:04:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:35 10:04:35 Login Succeeded 10:04:35 ****.io 10:04:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:36 Configure a credential helper to remove this warning. See 10:04:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:36 10:04:36 Login Succeeded 10:04:36 ---> ****-login.sh ends [Pipeline] } 10:04:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:04:36 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 10:04:36 + + cutcut -d -d . -f -f1-2 2 10:04:36 10:04:36 + grep ^go [0-9].[0-9]* go.mod [Pipeline] echo 10:04:37 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 10:04:37 ========================================================= 10:04:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts] 10:04:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:37 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts --build-arg MAKE=echo noop --target=builder . 10:04:41 Sending build context to Docker daemon 55.99MB 10:04:41 Step 1/10 : ARG BASE=golang:1.23-alpine3.22 10:04:41 Step 2/10 : FROM ${BASE} AS builder 10:04:41 1.23-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 10:04:41 94e9d8af2201: Pulling fs layer 10:04:41 345fe9f21930: Pulling fs layer 10:04:41 b40fc9e46828: Pulling fs layer 10:04:41 c9804373a1e5: Pulling fs layer 10:04:41 4f4fb700ef54: Pulling fs layer 10:04:41 f5a772c54f75: Pulling fs layer 10:04:41 e2dd1b2a9dca: Pulling fs layer 10:04:41 0a0502178392: Pulling fs layer 10:04:41 f5a772c54f75: Waiting 10:04:41 e2dd1b2a9dca: Waiting 10:04:41 0a0502178392: Waiting 10:04:41 c9804373a1e5: Waiting 10:04:41 4f4fb700ef54: Waiting 10:04:41 345fe9f21930: Verifying Checksum 10:04:41 345fe9f21930: Download complete 10:04:41 c9804373a1e5: Verifying Checksum 10:04:41 c9804373a1e5: Download complete 10:04:41 4f4fb700ef54: Download complete 10:04:41 f5a772c54f75: Verifying Checksum 10:04:41 f5a772c54f75: Download complete 10:04:41 94e9d8af2201: Verifying Checksum 10:04:41 94e9d8af2201: Download complete 10:04:42 0a0502178392: Verifying Checksum 10:04:42 0a0502178392: Download complete 10:04:42 94e9d8af2201: Pull complete 10:04:43 345fe9f21930: Pull complete 10:04:43 b40fc9e46828: Verifying Checksum 10:04:43 b40fc9e46828: Download complete 10:04:44 e2dd1b2a9dca: Verifying Checksum 10:04:44 e2dd1b2a9dca: Download complete 10:04:59 b40fc9e46828: Pull complete 10:04:59 c9804373a1e5: Pull complete 10:04:59 4f4fb700ef54: Pull complete 10:04:59 f5a772c54f75: Pull complete 10:05:06 e2dd1b2a9dca: Pull complete 10:05:07 0a0502178392: Pull complete 10:05:07 Digest: sha256:cb630d247bcc3b1d0751040a39c4e103216f7d9e7edda4006e03146d987d6ddf 10:05:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts 10:05:07 ---> 72db82c1953f 10:05:07 Step 3/10 : ARG ADD_BUILD_TAGS="" 10:05:10 ---> Running in 669cca83f0da 10:05:10 Removing intermediate container 669cca83f0da 10:05:10 ---> d016f2611134 10:05:10 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:05:10 ---> Running in 5f8f9212ddc3 10:05:10 Removing intermediate container 5f8f9212ddc3 10:05:10 ---> cdcfacf70d6f 10:05:10 Step 5/10 : RUN apk add --update --no-cache make git openssh 10:05:11 ---> Running in e46ffaa1bef2 10:05:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:05:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:05:14 (1/8) Installing openssh-keygen (9.7_p1-r5) 10:05:14 (2/8) Installing libedit (20240517.3.1-r0) 10:05:14 (3/8) Installing openssh-client-common (9.7_p1-r5) 10:05:14 (4/8) Installing openssh-client-default (9.7_p1-r5) 10:05:14 (5/8) Installing openssh-sftp-server (9.7_p1-r5) 10:05:14 (6/8) Installing openssh-server-common (9.7_p1-r5) 10:05:14 (7/8) Installing openssh-server (9.7_p1-r5) 10:05:14 (8/8) Installing openssh (9.7_p1-r5) 10:05:14 Executing busybox-1.36.1-r29.trigger 10:05:14 OK: 245 MiB in 66 packages 10:05:16 Removing intermediate container e46ffaa1bef2 10:05:16 ---> 148d8eb4f5ec 10:05:16 Step 6/10 : WORKDIR /device-modbus-go 10:05:16 ---> Running in c510849ae673 10:05:16 Removing intermediate container c510849ae673 10:05:16 ---> 2a96c80fcc91 10:05:16 Step 7/10 : COPY go.mod vendor* ./ 10:05:31 ---> 7f3c10f346c6 10:05:31 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:05:31 ---> Running in 06d6ca1d6b21 10:07:23 Removing intermediate container 06d6ca1d6b21 10:07:23 ---> 9f5f23ee72a7 10:07:23 Step 9/10 : COPY . . 10:07:26 ---> 41f2d79bc12d 10:07:26 Step 10/10 : RUN ${MAKE} 10:07:26 ---> Running in 718cc65ed26f 10:07:27 noop 10:07:28 Removing intermediate container 718cc65ed26f 10:07:28 ---> b0cf0b596122 10:07:28 Successfully built b0cf0b596122 10:07:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:29 + docker inspect -f . ci-base-image-arm64 10:07:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:07:29 prd-ubuntu20.04-docker-arm64-4c-16g-773997 does not seem to be running inside a container 10:07:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/8 -v /w/workspace/device-modbus-go/8:/w/workspace/device-modbus-go/8:rw,z -v /w/workspace/device-modbus-go/8@tmp:/w/workspace/device-modbus-go/8@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 10:07:30 $ docker top 2c169d8ad7452d75c030cb8923bc870aeada12d00c02c7ab49224ec69862a913 -eo pid,comm [Pipeline] { [Pipeline] sh 10:07:31 + go version 10:07:31 go version go1.23.7 linux/arm64 [Pipeline] } 10:07:31 $ docker stop --time=1 2c169d8ad7452d75c030cb8923bc870aeada12d00c02c7ab49224ec69862a913 10:07:33 $ docker rm -f --volumes 2c169d8ad7452d75c030cb8923bc870aeada12d00c02c7ab49224ec69862a913 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:34 + docker inspect -f . ci-base-image-arm64 10:07:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:07:34 prd-ubuntu20.04-docker-arm64-4c-16g-773997 does not seem to be running inside a container 10:07:34 $ 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/8 -v /w/workspace/device-modbus-go/8:/w/workspace/device-modbus-go/8:rw,z -v /w/workspace/device-modbus-go/8@tmp:/w/workspace/device-modbus-go/8@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 10:07:35 $ docker top 6a05cf8e1ecf94f020c14f3e0396dcd98d2f81524c081bfc34418e2445018435 -eo pid,comm [Pipeline] { [Pipeline] sh 10:07:36 + git config --global --add safe.directory /w/workspace/device-modbus-go/8 [Pipeline] fileExists [Pipeline] sh 10:07:37 + make test 10:07:37 go test ./... -coverprofile=coverage.out 10:07:41 ? github.com/edgexfoundry/device-modbus-go [no test files] 10:11:48 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 10:11:48 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.065s coverage: 49.0% of statements 10:11:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:11:48 go vet ./... 10:12:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:12:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:12:35 ./bin/test-attribution-txt.sh [Pipeline] echo 10:12:36 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 10:12:37 + go mod tidy [Pipeline] } 10:12:42 $ docker stop --time=1 6a05cf8e1ecf94f020c14f3e0396dcd98d2f81524c081bfc34418e2445018435 10:12:44 $ docker rm -f --volumes 6a05cf8e1ecf94f020c14f3e0396dcd98d2f81524c081bfc34418e2445018435 [Pipeline] // withDockerContainer [Pipeline] sh 10:12:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:12:46 Warning: overwriting stash ‘coverage-report’ 10:12:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:12:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:12:48 + ls -al . 10:12:48 total 260 10:12:48 drwxrwxr-x 9 jenkins jenkins 4096 Nov 27 10:07 . 10:12:48 drwxrwxr-x 4 jenkins jenkins 4096 Nov 27 10:04 .. 10:12:48 -rw-rw-r-- 1 jenkins jenkins 140 Nov 27 10:04 .dockerignore 10:12:48 drwxrwxr-x 8 jenkins jenkins 4096 Nov 27 10:04 .git 10:12:48 drwxrwxr-x 3 jenkins jenkins 4096 Nov 27 10:04 .github 10:12:48 -rw-rw-r-- 1 jenkins jenkins 258 Nov 27 10:04 .gitignore 10:12:48 -rw-rw-r-- 1 jenkins jenkins 199 Nov 27 10:04 .golangci.yml 10:12:48 -rw-rw-r-- 1 jenkins jenkins 19806 Nov 27 10:04 Attribution.txt 10:12:48 -rw-rw-r-- 1 jenkins jenkins 18441 Nov 27 10:04 CHANGELOG.md 10:12:48 -rw-rw-r-- 1 jenkins jenkins 1479 Nov 27 10:04 Dockerfile 10:12:48 -rw-rw-r-- 1 jenkins jenkins 677 Nov 27 10:04 GOVERNANCE.md 10:12:48 -rw-rw-r-- 1 jenkins jenkins 658 Nov 27 10:04 Jenkinsfile 10:12:48 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 27 10:04 LICENSE 10:12:48 -rw-rw-r-- 1 jenkins jenkins 2524 Nov 27 10:04 Makefile 10:12:48 -rw-rw-r-- 1 jenkins jenkins 622 Nov 27 10:04 OWNERS.md 10:12:48 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 27 10:04 README.md 10:12:48 -rw-rw-r-- 1 jenkins jenkins 5 Nov 27 09:43 VERSION 10:12:48 drwxrwxr-x 2 jenkins jenkins 4096 Nov 27 10:04 bin 10:12:48 drwxrwxr-x 3 jenkins jenkins 4096 Nov 27 10:04 cmd 10:12:48 -rw-r--r-- 1 jenkins jenkins 27945 Nov 27 10:11 coverage.out 10:12:48 -rw-rw-r-- 1 jenkins jenkins 6349 Nov 27 10:04 go.mod 10:12:48 -rw-rw-r-- 1 jenkins jenkins 87133 Nov 27 10:04 go.sum 10:12:48 drwxrwxr-x 3 jenkins jenkins 4096 Nov 27 10:04 internal 10:12:48 drwxrwxr-x 2 jenkins jenkins 4096 Nov 27 10:04 simulator 10:12:48 drwxrwxr-x 10 jenkins jenkins 4096 Nov 27 10:04 vendor 10:12:48 -rw-rw-r-- 1 jenkins jenkins 229 Nov 27 10:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:48 + 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=56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc --label arch=arm64 --label version=4.0.1 . 10:12:53 Sending build context to Docker daemon 56.01MB 10:12:53 Step 1/23 : ARG BASE=golang:1.23-alpine3.22 10:12:53 Step 2/23 : FROM ${BASE} AS builder 10:12:53 ---> b0cf0b596122 10:12:53 Step 3/23 : ARG ADD_BUILD_TAGS="" 10:12:53 ---> Running in 4eae5e6fca42 10:12:53 Removing intermediate container 4eae5e6fca42 10:12:53 ---> 4a2d5cd70d53 10:12:53 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:12:54 ---> Running in 0d32a3ddf586 10:12:54 Removing intermediate container 0d32a3ddf586 10:12:54 ---> 16cfc12d15db 10:12:54 Step 5/23 : RUN apk add --update --no-cache make git openssh 10:12:54 ---> Running in c5a4d55cf2a8 10:12:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:12:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:12:57 OK: 245 MiB in 66 packages 10:12:58 Removing intermediate container c5a4d55cf2a8 10:12:58 ---> 862fadb6c87a 10:12:58 Step 6/23 : WORKDIR /device-modbus-go 10:12:58 ---> Running in f08d769fdd72 10:12:58 Removing intermediate container f08d769fdd72 10:12:58 ---> 6c8ed7077349 10:12:58 Step 7/23 : COPY go.mod vendor* ./ 10:13:13 ---> 5ed344c9bbc3 10:13:13 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:13:13 ---> Running in 228f73c7401c 10:13:13 skipping... 10:13:13 Removing intermediate container 228f73c7401c 10:13:13 ---> 8825964cec18 10:13:13 Step 9/23 : COPY . . 10:13:32 ---> 14322574d567 10:13:32 Step 10/23 : RUN ${MAKE} 10:13:32 ---> Running in 75ec5ee3667a 10:13:32 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.1 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 10:13:36 Running on prd-centos7-docker-4c-2g-774000 in /w/workspace/xfoundry_device-modbus-go_odessa [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:13:36 provisioning config files... 10:13:36 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_odessa@tmp/config2381547409908014072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:13:37 ---> ****-login.sh 10:13:37 nexus3.edgexfoundry.org:10001 10:13:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:13:37 Configure a credential helper to remove this warning. See 10:13:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:13:37 10:13:37 Login Succeeded 10:13:37 nexus3.edgexfoundry.org:10002 10:13:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:13:37 Configure a credential helper to remove this warning. See 10:13:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:13:37 10:13:37 Login Succeeded 10:13:37 nexus3.edgexfoundry.org:10003 10:13:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:13:37 Configure a credential helper to remove this warning. See 10:13:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:13:37 10:13:37 Login Succeeded 10:13:37 nexus3.edgexfoundry.org:10004 10:13:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:13:37 Configure a credential helper to remove this warning. See 10:13:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:13:37 10:13:37 Login Succeeded 10:13:37 ****.io 10:13:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:13:38 Configure a credential helper to remove this warning. See 10:13:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:13:38 10:13:38 Login Succeeded 10:13:38 ---> ****-login.sh ends [Pipeline] } 10:13:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:13:38 + docker buildx ls 10:13:38 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 10:13:38 default * docker 10:13:38 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 10:13:38 + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use 10:13:38 edgex-builder [Pipeline] sh 10:13:39 + docker buildx inspect --bootstrap 10:13:39 #1 [internal] booting buildkit 10:13:39 #1 pulling image moby/buildkit:buildx-stable-1 10:13:42 #1 pulling image moby/buildkit:buildx-stable-1 3.2s done 10:13:42 #1 creating container buildx_buildkit_edgex-builder0 10:13:45 #1 creating container buildx_buildkit_edgex-builder0 2.9s done 10:13:45 #1 DONE 6.1s 10:13:45 Name: edgex-builder 10:13:45 Driver: docker-container 10:13:45 10:13:45 Nodes: 10:13:45 Name: edgex-builder0 10:13:45 Endpoint: unix:///var/run/docker.sock 10:13:45 Status: running 10:13:45 Buildkit: v0.26.2 10:13:45 Platforms: linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 [Pipeline] sh 10:13:45 + docker buildx ls 10:13:45 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 10:13:45 edgex-builder * docker-container 10:13:45 edgex-builder0 unix:///var/run/docker.sock running v0.26.2 linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 10:13:45 default docker 10:13:45 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 10:13:46 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc' 10:13:46 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc --push - 10:13:46 #1 [internal] load build definition from Dockerfile 10:13:46 #1 transferring dockerfile: 198B done 10:13:46 #1 DONE 0.0s 10:13:46 10:13:46 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc 10:13:46 #2 DONE 0.1s 10:13:46 10:13:46 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc 10:13:46 #3 DONE 0.1s 10:13:46 10:13:46 #4 [internal] load .dockerignore 10:13:46 #4 transferring context: 2B done 10:13:46 #4 DONE 0.1s 10:13:46 10:13:46 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc@sha256:fb360bccdd383eebe3a47875d7940c3e20a9edc09629b1da02b05b68b7adf34a 10:13:46 #5 resolve nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc@sha256:fb360bccdd383eebe3a47875d7940c3e20a9edc09629b1da02b05b68b7adf34a 0.0s done 10:13:46 #5 DONE 0.0s 10:13:46 10:13:46 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc@sha256:fb360bccdd383eebe3a47875d7940c3e20a9edc09629b1da02b05b68b7adf34a 10:13:46 #6 resolve nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc@sha256:fb360bccdd383eebe3a47875d7940c3e20a9edc09629b1da02b05b68b7adf34a 0.0s done 10:13:46 #6 DONE 0.1s 10:13:46 10:13:46 #7 exporting to image 10:13:46 #7 exporting layers done 10:13:46 #7 exporting manifest sha256:a64714b638881abf74a1a27c67f160a8946d799087f22b6782a121b87a1f1022 0.0s done 10:13:46 #7 exporting config sha256:1acd1c0ac9a734f080266c586c9ec30dd7cae99acabcad4de755bb49a24c7418 done 10:13:46 #7 exporting manifest sha256:9e0279b0dbcabfda9871df77fdaf3c5b41bedcbf9f065fccdd565d23ce9addee 0.0s done 10:13:46 #7 exporting config sha256:df5fe100d0c04942c18eeeb36060e5f8796dd97711c1f05fafde87727554cbc9 done 10:13:46 #7 exporting manifest list sha256:b8e3454b3454cd25b22b8c0b4b0cc722aa5235e10428aa7aac280e81706e8e2d 0.0s done 10:13:46 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 10:13:46 #7 ... 10:13:46 10:13:46 #8 [auth] device-modbus:pull,push token for nexus3.edgexfoundry.org:10004 10:13:46 #8 DONE 0.0s 10:13:46 10:13:46 #7 exporting to image 10:13:46 #7 pushing layers 0.1s done 10:13:46 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc@sha256:b8e3454b3454cd25b22b8c0b4b0cc722aa5235e10428aa7aac280e81706e8e2d 10:13:47 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc@sha256:b8e3454b3454cd25b22b8c0b4b0cc722aa5235e10428aa7aac280e81706e8e2d 0.1s done 10:13:47 #7 DONE 0.2s 10:13:47 10:13:47 1 warning found (use --debug to expand): 10:13:47  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 10:13:47 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-modbus:4.0.1' 10:13:47 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-modbus:4.0.1 --push - 10:13:47 #1 [internal] load build definition from Dockerfile 10:13:47 #1 transferring dockerfile: 163B done 10:13:47 #1 DONE 0.0s 10:13:47 10:13:47 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-modbus:4.0.1 10:13:47 #2 DONE 0.0s 10:13:47 10:13:47 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-modbus:4.0.1 10:13:47 #3 DONE 0.0s 10:13:47 10:13:47 #4 [internal] load .dockerignore 10:13:47 #4 transferring context: 2B done 10:13:47 #4 DONE 0.0s 10:13:47 10:13:47 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-modbus:4.0.1@sha256:fb360bccdd383eebe3a47875d7940c3e20a9edc09629b1da02b05b68b7adf34a 10:13:47 #5 resolve nexus3.edgexfoundry.org:10004/device-modbus:4.0.1@sha256:fb360bccdd383eebe3a47875d7940c3e20a9edc09629b1da02b05b68b7adf34a done 10:13:47 #5 CACHED 10:13:47 10:13:47 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-modbus:4.0.1@sha256:fb360bccdd383eebe3a47875d7940c3e20a9edc09629b1da02b05b68b7adf34a 10:13:47 #6 resolve nexus3.edgexfoundry.org:10004/device-modbus:4.0.1@sha256:fb360bccdd383eebe3a47875d7940c3e20a9edc09629b1da02b05b68b7adf34a 0.0s done 10:13:47 #6 CACHED 10:13:47 10:13:47 #7 [auth] device-modbus:pull,push token for nexus3.edgexfoundry.org:10004 10:13:47 #7 DONE 0.0s 10:13:47 10:13:47 #8 exporting to image 10:13:47 #8 exporting layers done 10:13:47 #8 exporting manifest sha256:a64714b638881abf74a1a27c67f160a8946d799087f22b6782a121b87a1f1022 done 10:13:47 #8 exporting config sha256:1acd1c0ac9a734f080266c586c9ec30dd7cae99acabcad4de755bb49a24c7418 done 10:13:47 #8 exporting manifest sha256:9e0279b0dbcabfda9871df77fdaf3c5b41bedcbf9f065fccdd565d23ce9addee done 10:13:47 #8 exporting config sha256:df5fe100d0c04942c18eeeb36060e5f8796dd97711c1f05fafde87727554cbc9 done 10:13:47 #8 exporting manifest list sha256:b8e3454b3454cd25b22b8c0b4b0cc722aa5235e10428aa7aac280e81706e8e2d done 10:13:47 #8 pushing layers 0.0s done 10:13:47 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-modbus:4.0.1@sha256:b8e3454b3454cd25b22b8c0b4b0cc722aa5235e10428aa7aac280e81706e8e2d 0.1s done 10:13:47 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 10:13:47 #8 DONE 0.1s 10:13:47 10:13:47 1 warning found (use --debug to expand): 10:13:47  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 10:13:47 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc-4.0.1' 10:13:47 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc-4.0.1 --push - 10:13:48 #1 [internal] load build definition from Dockerfile 10:13:48 #1 transferring dockerfile: 204B done 10:13:48 #1 DONE 0.0s 10:13:48 10:13:48 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc-4.0.1 10:13:48 #2 DONE 0.0s 10:13:48 10:13:48 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc-4.0.1 10:13:48 #3 DONE 0.0s 10:13:48 10:13:48 #4 [internal] load .dockerignore 10:13:48 #4 transferring context: 2B done 10:13:48 #4 DONE 0.0s 10:13:48 10:13:48 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc-4.0.1@sha256:fb360bccdd383eebe3a47875d7940c3e20a9edc09629b1da02b05b68b7adf34a 10:13:48 #5 resolve nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc-4.0.1@sha256:fb360bccdd383eebe3a47875d7940c3e20a9edc09629b1da02b05b68b7adf34a 0.0s done 10:13:48 #5 CACHED 10:13:48 10:13:48 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc-4.0.1@sha256:fb360bccdd383eebe3a47875d7940c3e20a9edc09629b1da02b05b68b7adf34a 10:13:48 #6 resolve nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc-4.0.1@sha256:fb360bccdd383eebe3a47875d7940c3e20a9edc09629b1da02b05b68b7adf34a 0.0s done 10:13:48 #6 CACHED 10:13:48 10:13:48 #7 [auth] device-modbus:pull,push token for nexus3.edgexfoundry.org:10004 10:13:48 #7 DONE 0.0s 10:13:48 10:13:48 #8 exporting to image 10:13:48 #8 exporting layers done 10:13:48 #8 exporting manifest sha256:a64714b638881abf74a1a27c67f160a8946d799087f22b6782a121b87a1f1022 done 10:13:48 #8 exporting config sha256:1acd1c0ac9a734f080266c586c9ec30dd7cae99acabcad4de755bb49a24c7418 done 10:13:48 #8 exporting manifest sha256:9e0279b0dbcabfda9871df77fdaf3c5b41bedcbf9f065fccdd565d23ce9addee done 10:13:48 #8 exporting config sha256:df5fe100d0c04942c18eeeb36060e5f8796dd97711c1f05fafde87727554cbc9 done 10:13:48 #8 exporting manifest list sha256:b8e3454b3454cd25b22b8c0b4b0cc722aa5235e10428aa7aac280e81706e8e2d done 10:13:48 #8 pushing layers 0.0s done 10:13:48 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-modbus:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc-4.0.1@sha256:b8e3454b3454cd25b22b8c0b4b0cc722aa5235e10428aa7aac280e81706e8e2d 0.1s done 10:13:48 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 10:13:48 #8 DONE 0.1s 10:13:48 10:13:48 1 warning found (use --debug to expand): 10:13:48  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 10:13:48 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-modbus:odessa --push - 10:13:48 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-modbus:odessa' 10:13:48 #1 [internal] load build definition from Dockerfile 10:13:48 #1 transferring dockerfile: 164B done 10:13:48 #1 DONE 0.0s 10:13:48 10:13:48 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-modbus:odessa 10:13:48 #2 DONE 0.0s 10:13:48 10:13:48 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-modbus:odessa 10:13:48 #3 DONE 0.0s 10:13:48 10:13:48 #4 [internal] load .dockerignore 10:13:48 #4 transferring context: 2B done 10:13:48 #4 DONE 0.0s 10:13:48 10:13:48 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-modbus:odessa@sha256:fb360bccdd383eebe3a47875d7940c3e20a9edc09629b1da02b05b68b7adf34a 10:13:48 #5 resolve nexus3.edgexfoundry.org:10004/device-modbus:odessa@sha256:fb360bccdd383eebe3a47875d7940c3e20a9edc09629b1da02b05b68b7adf34a 0.0s done 10:13:48 #5 DONE 0.0s 10:13:48 10:13:48 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-modbus:odessa@sha256:fb360bccdd383eebe3a47875d7940c3e20a9edc09629b1da02b05b68b7adf34a 10:13:48 #6 resolve nexus3.edgexfoundry.org:10004/device-modbus:odessa@sha256:fb360bccdd383eebe3a47875d7940c3e20a9edc09629b1da02b05b68b7adf34a 0.0s done 10:13:48 #6 CACHED 10:13:48 10:13:48 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-modbus:odessa@sha256:fb360bccdd383eebe3a47875d7940c3e20a9edc09629b1da02b05b68b7adf34a 10:13:48 #5 CACHED 10:13:48 10:13:48 #7 [auth] device-modbus:pull,push token for nexus3.edgexfoundry.org:10004 10:13:48 #7 DONE 0.0s 10:13:48 10:13:48 #8 exporting to image 10:13:48 #8 exporting layers done 10:13:48 #8 exporting manifest sha256:a64714b638881abf74a1a27c67f160a8946d799087f22b6782a121b87a1f1022 done 10:13:48 #8 exporting config sha256:1acd1c0ac9a734f080266c586c9ec30dd7cae99acabcad4de755bb49a24c7418 done 10:13:48 #8 exporting manifest sha256:9e0279b0dbcabfda9871df77fdaf3c5b41bedcbf9f065fccdd565d23ce9addee done 10:13:48 #8 exporting config sha256:df5fe100d0c04942c18eeeb36060e5f8796dd97711c1f05fafde87727554cbc9 done 10:13:48 #8 exporting manifest list sha256:b8e3454b3454cd25b22b8c0b4b0cc722aa5235e10428aa7aac280e81706e8e2d done 10:13:48 #8 pushing layers 0.0s done 10:13:48 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-modbus:odessa@sha256:b8e3454b3454cd25b22b8c0b4b0cc722aa5235e10428aa7aac280e81706e8e2d 0.1s done 10:13:48 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 10:13:48 #8 DONE 0.1s 10:13:48 10:13:48 1 warning found (use --debug to expand): 10:13:48  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:13:49 + '[' -d /w/workspace/xfoundry_device-modbus-go_odessa/archives ']' [Pipeline] libraryResource [Pipeline] sh 10:13:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:13:50 ---> package-listing.sh 10:13:50 ++ facter osfamily 10:13:50 ++ tr '[:upper:]' '[:lower:]' 10:13:50 + OS_FAMILY=redhat 10:13:50 + workspace=/w/workspace/xfoundry_device-modbus-go_odessa 10:13:50 + START_PACKAGES=/tmp/packages_start.txt 10:13:50 + END_PACKAGES=/tmp/packages_end.txt 10:13:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:13:50 + PACKAGES=/tmp/packages_start.txt 10:13:50 + '[' /w/workspace/xfoundry_device-modbus-go_odessa ']' 10:13:50 + PACKAGES=/tmp/packages_end.txt 10:13:50 + case "${OS_FAMILY}" in 10:13:50 + sort 10:13:50 + rpm -qa 10:13:51 + '[' -f /tmp/packages_start.txt ']' 10:13:51 + '[' -f /tmp/packages_end.txt ']' 10:13:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:13:51 + '[' /w/workspace/xfoundry_device-modbus-go_odessa ']' 10:13:51 + mkdir -p /w/workspace/xfoundry_device-modbus-go_odessa/archives/ 10:13:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_odessa/archives/ [Pipeline] echo 10:13:51 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/xfoundry_device-modbus-go_odessa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:13:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:13:51 10:13:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:13:52 latest: Pulling from edgex-lftools-log-publisher 10:13:52 5eb5b503b376: Pulling fs layer 10:13:52 5c69ac0246d0: Pulling fs layer 10:13:52 ec43610c2a17: Pulling fs layer 10:13:52 3a2ae6a8a46f: Pulling fs layer 10:13:52 33b1e0a273af: Pulling fs layer 10:13:52 5d3b04190fa2: Pulling fs layer 10:13:52 2f39f015ded8: Pulling fs layer 10:13:52 3a2ae6a8a46f: Waiting 10:13:52 33b1e0a273af: Waiting 10:13:52 5d3b04190fa2: Waiting 10:13:52 2f39f015ded8: Waiting 10:13:52 5c69ac0246d0: Verifying Checksum 10:13:52 5c69ac0246d0: Download complete 10:13:52 3a2ae6a8a46f: Verifying Checksum 10:13:52 3a2ae6a8a46f: Download complete 10:13:52 33b1e0a273af: Verifying Checksum 10:13:52 33b1e0a273af: Download complete 10:13:52 ec43610c2a17: Verifying Checksum 10:13:52 ec43610c2a17: Download complete 10:13:52 5d3b04190fa2: Verifying Checksum 10:13:52 5d3b04190fa2: Download complete 10:13:52 5eb5b503b376: Download complete 10:13:53 2f39f015ded8: Verifying Checksum 10:13:53 2f39f015ded8: Download complete 10:13:54 5eb5b503b376: Pull complete 10:13:54 5c69ac0246d0: Pull complete 10:13:54 ec43610c2a17: Pull complete 10:13:54 3a2ae6a8a46f: Pull complete 10:13:54 33b1e0a273af: Pull complete 10:13:54 5d3b04190fa2: Pull complete 10:13:59 2f39f015ded8: Pull complete 10:13:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:13:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:13:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:59 prd-centos7-docker-4c-2g-774000 does not seem to be running inside a container 10:13:59 $ 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/xfoundry_device-modbus-go_odessa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_odessa -v /w/workspace/xfoundry_device-modbus-go_odessa:/w/workspace/xfoundry_device-modbus-go_odessa:rw,z -v /w/workspace/xfoundry_device-modbus-go_odessa@tmp:/w/workspace/xfoundry_device-modbus-go_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:14:08 $ docker top e1df15da118820b6edc9e29a9bddc0f85f6c2d6cb2312de7132ce9f98d41d0fb -eo pid,comm [Pipeline] { [Pipeline] sh 10:14:08 + touch /tmp/pre-build-complete [Pipeline] sh 10:14:09 + mkdir -p /var/log/sysstat [Pipeline] sh 10:14:09 + ls /var/log/sa-host 10:14:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:14:09 provisioning config files... 10:14:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_odessa@tmp/config17999978166267996437tmp [Pipeline] { [Pipeline] echo 10:14:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:14:09 ---> create-netrc.sh [Pipeline] } 10:14:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:14:10 ---> python-tools-install.sh [Pipeline] echo 10:14:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:14:10 ---> sudo-logs.sh 10:14:10 Archiving 'sudo' log.. 10:14:10 sudo: unable to resolve host prd-centos7-docker-4c-2g-774000.novalocal: Name or service not known 10:14:10 sudo: unable to resolve host prd-centos7-docker-4c-2g-774000.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 10:14:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:14:10 ---> job-cost.sh 10:14:10 lf-activate-venv: SKIPPING 10:14:10 INFO: No Stack... 10:14:11 INFO: Retrieving Pricing Info for: v3-standard-2 10:14:11 INFO: Archiving Costs [Pipeline] echo 10:14:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:14:11 ---> logs-deploy.sh 10:14:11 lf-activate-venv: SKIPPING 10:14:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/odessa/8 10:14:11 INFO: archiving workspace using pattern(s): 10:14:12 Archives upload complete. 10:14:12 INFO: archiving logs to Nexus 10:14:13 ---> uname -a: 10:14:13 Linux prd-centos7-docker-4c-2g-774000.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 10:14:13 10:14:13 10:14:13 ---> lscpu: 10:14:13 Architecture: x86_64 10:14:13 CPU op-mode(s): 32-bit, 64-bit 10:14:13 Byte Order: Little Endian 10:14:13 Address sizes: 40 bits physical, 48 bits virtual 10:14:13 CPU(s): 2 10:14:13 On-line CPU(s) list: 0,1 10:14:13 Thread(s) per core: 1 10:14:13 Core(s) per socket: 1 10:14:13 Socket(s): 2 10:14:13 NUMA node(s): 1 10:14:13 Vendor ID: AuthenticAMD 10:14:13 CPU family: 23 10:14:13 Model: 49 10:14:13 Model name: AMD EPYC-Rome Processor 10:14:13 Stepping: 0 10:14:13 CPU MHz: 2800.000 10:14:13 BogoMIPS: 5600.00 10:14:13 Virtualization: AMD-V 10:14:13 Hypervisor vendor: KVM 10:14:13 Virtualization type: full 10:14:13 L1d cache: 64 KiB 10:14:13 L1i cache: 64 KiB 10:14:13 L2 cache: 1 MiB 10:14:13 L3 cache: 32 MiB 10:14:13 NUMA node0 CPU(s): 0,1 10:14:13 Vulnerability Itlb multihit: Not affected 10:14:13 Vulnerability L1tf: Not affected 10:14:13 Vulnerability Mds: Not affected 10:14:13 Vulnerability Meltdown: Not affected 10:14:13 Vulnerability Mmio stale data: Not affected 10:14:13 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:14:13 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 10:14:13 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 10:14:13 Vulnerability Srbds: Not affected 10:14:13 Vulnerability Tsx async abort: Not affected 10:14:13 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 10:14:13 10:14:13 10:14:13 ---> nproc: 10:14:13 2 10:14:13 10:14:13 10:14:13 ---> df -h: 10:14:13 Filesystem Size Used Avail Use% Mounted on 10:14:13 overlay 40G 7.3G 33G 19% / 10:14:13 tmpfs 64M 0 64M 0% /dev 10:14:13 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 10:14:13 shm 64M 0 64M 0% /dev/shm 10:14:13 /dev/vda1 40G 7.3G 33G 19% /facter-os 10:14:13 10:14:13 10:14:13 Cannot open /var/log/sysstat/sa27: No such file or directory 10:14:13 Please check if data collecting is enabled 10:14:13 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:14:13 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 10:14:13 $ docker stop --time=1 e1df15da118820b6edc9e29a9bddc0f85f6c2d6cb2312de7132ce9f98d41d0fb 10:14:14 $ docker rm -f --volumes e1df15da118820b6edc9e29a9bddc0f85f6c2d6cb2312de7132ce9f98d41d0fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 10:14:14 [WS-CLEANUP] Deleting project workspace... 10:14:14 [WS-CLEANUP] Deferred wipeout is used... 10:14:14 [WS-CLEANUP] done [Pipeline] } [Pipeline] // node [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 10:14:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:14:15 10:14:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:14:15 latest: Pulling from edgex-lftools-log-publisher 10:14:15 5eb5b503b376: Pulling fs layer 10:14:15 5c69ac0246d0: Pulling fs layer 10:14:15 ec43610c2a17: Pulling fs layer 10:14:15 3a2ae6a8a46f: Pulling fs layer 10:14:15 33b1e0a273af: Pulling fs layer 10:14:15 5d3b04190fa2: Pulling fs layer 10:14:15 2f39f015ded8: Pulling fs layer 10:14:15 33b1e0a273af: Waiting 10:14:15 5d3b04190fa2: Waiting 10:14:15 2f39f015ded8: Waiting 10:14:15 3a2ae6a8a46f: Waiting 10:14:15 5c69ac0246d0: Verifying Checksum 10:14:15 5c69ac0246d0: Download complete 10:14:15 3a2ae6a8a46f: Verifying Checksum 10:14:15 3a2ae6a8a46f: Download complete 10:14:15 33b1e0a273af: Verifying Checksum 10:14:15 33b1e0a273af: Download complete 10:14:15 ec43610c2a17: Verifying Checksum 10:14:15 ec43610c2a17: Download complete 10:14:15 5d3b04190fa2: Download complete 10:14:15 5eb5b503b376: Verifying Checksum 10:14:15 5eb5b503b376: Download complete 10:14:16 2f39f015ded8: Verifying Checksum 10:14:16 2f39f015ded8: Download complete 10:14:17 5eb5b503b376: Pull complete 10:14:17 5c69ac0246d0: Pull complete 10:14:17 ec43610c2a17: Pull complete 10:14:17 3a2ae6a8a46f: Pull complete 10:14:17 33b1e0a273af: Pull complete 10:14:17 5d3b04190fa2: Pull complete 10:14:24 2f39f015ded8: Pull complete 10:14:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:14:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:14:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:24 prd-ubuntu20.04-docker-8c-8g-773970 does not seem to be running inside a container 10:14:24 $ 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/xfoundry_device-modbus-go_odessa -v /w/workspace/xfoundry_device-modbus-go_odessa:/w/workspace/xfoundry_device-modbus-go_odessa:rw,z -v /w/workspace/xfoundry_device-modbus-go_odessa@tmp:/w/workspace/xfoundry_device-modbus-go_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:14:33 $ docker top e188bec2217032911f690d224ad34809052feecdd084f0fa05e53cd350477918 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:14:34 ---> job-cost.sh 10:14:34 lf-activate-venv: SKIPPING 10:14:34 INFO: No Stack... 10:14:34 INFO: Retrieving Pricing Info for: v3-standard-8 10:14:35 INFO: Archiving Costs [Pipeline] sh 10:14:35 + cat /w/workspace/xfoundry_device-modbus-go_odessa/archives/cost.csv 10:14:35 + cut -d, -f6 [Pipeline] lock 10:14:35 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-odessa-8-stack-cost] 10:14:35 Resource [jenkins-edgexfoundry-device-modbus-go-odessa-8-stack-cost] did not exist. Created. 10:14:35 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-odessa-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:14:35 + echo total: 0.2199999988079071 [Pipeline] stash 10:14:35 Stashed 1 file(s) [Pipeline] } 10:14:35 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-odessa-8-stack-cost] [Pipeline] // lock [Pipeline] } 10:14:35 $ docker stop --time=1 e188bec2217032911f690d224ad34809052feecdd084f0fa05e53cd350477918 10:14:36 $ docker rm -f --volumes e188bec2217032911f690d224ad34809052feecdd084f0fa05e53cd350477918 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:17:23 Removing intermediate container 75ec5ee3667a 10:17:23 ---> d97018d48d47 10:17:23 Step 11/23 : FROM alpine:3.22 10:17:23 3.22: Pulling from library/alpine 10:17:23 6b59a28fa201: Pulling fs layer 10:17:23 6b59a28fa201: Download complete 10:17:23 6b59a28fa201: Pull complete 10:17:23 Digest: sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 10:17:23 Status: Downloaded newer image for alpine:3.22 10:17:23 ---> 171e65262c80 10:17:23 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 10:17:23 ---> Running in a388ddf5d47f 10:17:23 Removing intermediate container a388ddf5d47f 10:17:23 ---> 0280398e17ca 10:17:23 Step 13/23 : RUN apk add --update --no-cache dumb-init 10:17:23 ---> Running in e55fb746c14e 10:17:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 10:17:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 10:17:24 (1/1) Installing dumb-init (1.2.5-r3) 10:17:24 Executing busybox-1.37.0-r19.trigger 10:17:24 OK: 8 MiB in 17 packages 10:17:26 Removing intermediate container e55fb746c14e 10:17:26 ---> e9f2b108a976 10:17:26 Step 14/23 : RUN apk --no-cache upgrade 10:17:26 ---> Running in ef9ca2e32fb7 10:17:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 10:17:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 10:17:29 (1/3) Upgrading busybox (1.37.0-r19 -> 1.37.0-r20) 10:17:29 Executing busybox-1.37.0-r20.post-upgrade 10:17:29 (2/3) Upgrading busybox-binsh (1.37.0-r19 -> 1.37.0-r20) 10:17:29 (3/3) Upgrading ssl_client (1.37.0-r19 -> 1.37.0-r20) 10:17:29 Executing busybox-1.37.0-r20.trigger 10:17:29 OK: 8 MiB in 17 packages 10:17:30 Removing intermediate container ef9ca2e32fb7 10:17:30 ---> cb689269a9a9 10:17:30 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 10:17:32 ---> 3c50792ce3ab 10:17:32 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 10:17:32 ---> 6ad103268e96 10:17:32 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 10:17:33 ---> 076705840723 10:17:33 Step 18/23 : EXPOSE 59901 10:17:33 ---> Running in a09e14b335f3 10:17:33 Removing intermediate container a09e14b335f3 10:17:33 ---> 2df3d8c88472 10:17:33 Step 19/23 : ENTRYPOINT ["/device-modbus"] 10:17:33 ---> Running in ce261dbf497e 10:17:34 Removing intermediate container ce261dbf497e 10:17:34 ---> 21f8dac96455 10:17:34 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 10:17:34 ---> Running in fe731a094a34 10:17:34 Removing intermediate container fe731a094a34 10:17:34 ---> 7218ba216548 10:17:34 Step 21/23 : LABEL arch=arm64 10:17:34 ---> Running in 2b0d2b07b87a 10:17:35 Removing intermediate container 2b0d2b07b87a 10:17:35 ---> 3daff883e153 10:17:35 Step 22/23 : LABEL git_sha=56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc 10:17:35 ---> Running in be1f79e5e73b 10:17:35 Removing intermediate container be1f79e5e73b 10:17:35 ---> e479eb839c12 10:17:35 Step 23/23 : LABEL version=4.0.1 10:17:35 ---> Running in 96de78818f7b 10:17:35 Removing intermediate container 96de78818f7b 10:17:35 ---> 3ebecc8205f7 10:17:35 [Warning] One or more build-args [ARCH] were not consumed 10:17:36 Successfully built 3ebecc8205f7 10:17:36 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 10:17:36 provisioning config files... 10:17:36 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/8@tmp/config9968180298873705848tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:17:37 ---> ****-login.sh 10:17:37 nexus3.edgexfoundry.org:10001 10:17:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:17:37 Configure a credential helper to remove this warning. See 10:17:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:17:37 10:17:37 Login Succeeded 10:17:37 nexus3.edgexfoundry.org:10002 10:17:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:17:37 Configure a credential helper to remove this warning. See 10:17:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:17:37 10:17:37 Login Succeeded 10:17:38 nexus3.edgexfoundry.org:10003 10:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:17:38 Configure a credential helper to remove this warning. See 10:17:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:17:38 10:17:38 Login Succeeded 10:17:38 nexus3.edgexfoundry.org:10004 10:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:17:38 Configure a credential helper to remove this warning. See 10:17:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:17:38 10:17:38 Login Succeeded 10:17:38 ****.io 10:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:17:39 Configure a credential helper to remove this warning. See 10:17:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:17:39 10:17:39 Login Succeeded 10:17:39 ---> ****-login.sh ends [Pipeline] } 10:17:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:17:39 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 10:17:39 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 10:17:39 56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc 10:17:39 4.0.1 10:17:39 56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc-4.0.1 10:17:39 odessa 10:17:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:39 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:40 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc 10:17:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:17:40 f97f5a8a0629: Preparing 10:17:40 712d3c210175: Preparing 10:17:40 06706055fe7c: Preparing 10:17:40 86367cdfda79: Preparing 10:17:40 1a43bb699d1a: Preparing 10:17:40 0e64f2360a44: Preparing 10:17:40 0e64f2360a44: Waiting 10:17:40 712d3c210175: Pushed 10:17:40 f97f5a8a0629: Pushed 10:17:40 1a43bb699d1a: Pushed 10:17:40 0e64f2360a44: Layer already exists 10:17:40 86367cdfda79: Pushed 10:17:48 06706055fe7c: Pushed 10:17:48 56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc: digest: sha256:63822149804b466eecdce8b371c94d79bc2424f7b9c11d3f9bb8fed53a99375d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:49 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:49 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.1 10:17:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:17:49 f97f5a8a0629: Preparing 10:17:49 712d3c210175: Preparing 10:17:49 06706055fe7c: Preparing 10:17:49 86367cdfda79: Preparing 10:17:49 1a43bb699d1a: Preparing 10:17:49 0e64f2360a44: Preparing 10:17:49 0e64f2360a44: Waiting 10:17:49 1a43bb699d1a: Layer already exists 10:17:49 86367cdfda79: Layer already exists 10:17:49 06706055fe7c: Layer already exists 10:17:49 f97f5a8a0629: Layer already exists 10:17:49 712d3c210175: Layer already exists 10:17:49 0e64f2360a44: Layer already exists 10:17:49 4.0.1: digest: sha256:63822149804b466eecdce8b371c94d79bc2424f7b9c11d3f9bb8fed53a99375d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:50 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc-4.0.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:50 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc-4.0.1 10:17:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:17:50 f97f5a8a0629: Preparing 10:17:50 712d3c210175: Preparing 10:17:50 06706055fe7c: Preparing 10:17:50 86367cdfda79: Preparing 10:17:50 1a43bb699d1a: Preparing 10:17:50 0e64f2360a44: Preparing 10:17:50 0e64f2360a44: Waiting 10:17:50 712d3c210175: Layer already exists 10:17:50 86367cdfda79: Layer already exists 10:17:50 06706055fe7c: Layer already exists 10:17:50 f97f5a8a0629: Layer already exists 10:17:50 1a43bb699d1a: Layer already exists 10:17:50 0e64f2360a44: Layer already exists 10:17:50 56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc-4.0.1: digest: sha256:63822149804b466eecdce8b371c94d79bc2424f7b9c11d3f9bb8fed53a99375d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:51 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:52 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:odessa 10:17:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:17:52 f97f5a8a0629: Preparing 10:17:52 712d3c210175: Preparing 10:17:52 06706055fe7c: Preparing 10:17:52 86367cdfda79: Preparing 10:17:52 1a43bb699d1a: Preparing 10:17:52 0e64f2360a44: Preparing 10:17:52 0e64f2360a44: Waiting 10:17:52 712d3c210175: Layer already exists 10:17:52 06706055fe7c: Layer already exists 10:17:52 1a43bb699d1a: Layer already exists 10:17:52 f97f5a8a0629: Layer already exists 10:17:52 86367cdfda79: Layer already exists 10:17:52 0e64f2360a44: Layer already exists 10:17:52 odessa: digest: sha256:63822149804b466eecdce8b371c94d79bc2424f7b9c11d3f9bb8fed53a99375d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:17:52 ===================================================== [Pipeline] echo 10:17:52 taggedImages: 10:17:52 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc 10:17:52 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.1 10:17:52 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc-4.0.1 10:17:52 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:odessa [Pipeline] echo 10:17:52 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-modbus-arm64:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc [Pipeline] echo 10:17:52 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.1 [Pipeline] echo 10:17:52 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-modbus-arm64:56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc-4.0.1 [Pipeline] echo 10:17:52 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-modbus-arm64:odessa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:17:53 10:17:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:17:53 arm64: Pulling from edgex-lftools-log-publisher 10:17:53 8998bd30e6a1: Pulling fs layer 10:17:53 04944245beec: Pulling fs layer 10:17:53 699f458cf7ca: Pulling fs layer 10:17:53 765212b225bb: Pulling fs layer 10:17:53 f23df028b6ca: Pulling fs layer 10:17:53 d65c8cfc05b1: Pulling fs layer 10:17:53 2437ff75d9bd: Pulling fs layer 10:17:53 f23df028b6ca: Waiting 10:17:53 765212b225bb: Waiting 10:17:53 d65c8cfc05b1: Waiting 10:17:53 2437ff75d9bd: Waiting 10:17:53 04944245beec: Verifying Checksum 10:17:53 04944245beec: Download complete 10:17:53 765212b225bb: Verifying Checksum 10:17:53 765212b225bb: Download complete 10:17:53 f23df028b6ca: Verifying Checksum 10:17:53 f23df028b6ca: Download complete 10:17:53 d65c8cfc05b1: Verifying Checksum 10:17:53 d65c8cfc05b1: Download complete 10:17:54 699f458cf7ca: Verifying Checksum 10:17:54 699f458cf7ca: Download complete 10:17:54 8998bd30e6a1: Verifying Checksum 10:17:54 8998bd30e6a1: Download complete 10:17:57 2437ff75d9bd: Verifying Checksum 10:17:57 2437ff75d9bd: Download complete 10:17:58 8998bd30e6a1: Pull complete 10:17:59 04944245beec: Pull complete 10:18:01 699f458cf7ca: Pull complete 10:18:01 765212b225bb: Pull complete 10:18:03 f23df028b6ca: Pull complete 10:18:03 d65c8cfc05b1: Pull complete 10:18:22 2437ff75d9bd: Pull complete 10:18:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:18:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:18:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:18:22 prd-ubuntu20.04-docker-arm64-4c-16g-773997 does not seem to be running inside a container 10:18:22 $ 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/8 -v /w/workspace/device-modbus-go/8:/w/workspace/device-modbus-go/8:rw,z -v /w/workspace/device-modbus-go/8@tmp:/w/workspace/device-modbus-go/8@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 10:18:27 $ docker top eebf87d854da4702dd3b48f7e843b7fb901c8ca9b6dbba6f11428883b603f283 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:18:32 ---> job-cost.sh 10:18:32 lf-activate-venv: SKIPPING 10:18:32 INFO: No Stack... 10:18:32 INFO: Retrieving Pricing Info for: v3-standard-4 10:18:33 INFO: Archiving Costs [Pipeline] sh 10:18:34 + cat /w/workspace/device-modbus-go/8/archives/cost.csv 10:18:34 + cut -d, -f6 [Pipeline] lock 10:18:34 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-odessa-8-stack-cost] 10:18:34 Resource [jenkins-edgexfoundry-device-modbus-go-odessa-8-stack-cost] did not exist. Created. 10:18:34 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-odessa-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:18:35 /w/workspace/device-modbus-go/8@tmp/durable-4ad85159/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:18:35 + echo total: 0.10999999940395355 [Pipeline] stash 10:18:35 Warning: overwriting stash ‘stack-cost’ 10:18:36 Stashed 1 file(s) [Pipeline] } 10:18:36 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-odessa-8-stack-cost] [Pipeline] // lock [Pipeline] } 10:18:36 $ docker stop --time=1 eebf87d854da4702dd3b48f7e843b7fb901c8ca9b6dbba6f11428883b603f283 10:18:40 $ docker rm -f --volumes eebf87d854da4702dd3b48f7e843b7fb901c8ca9b6dbba6f11428883b603f283 [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 10:18:40 provisioning config files... 10:18:40 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_odessa@tmp/config12265617653832018387tmp [Pipeline] { [Pipeline] sh 10:18:41 + set +x 10:18:41 + + bashcurl -s -s -- https://codecov.io/bash 10:18:41 10:18:41 10:18:41 _____ _ 10:18:41 / ____| | | 10:18:41 | | ___ __| | ___ ___ _____ __ 10:18:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:18:41 | |___| (_) | (_| | __/ (_| (_) \ V / 10:18:41 \_____\___/ \__,_|\___|\___\___/ \_/ 10:18:41 Bash-1.0.6 10:18:41 10:18:41 10:18:41 ==> git version 2.25.1 found 10:18:41 ==> 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 10:18:41 Release-Date: 2020-01-08 10:18:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:18:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:18:41 ==> Jenkins CI detected. 10:18:41 current dir:  /w/workspace/xfoundry_device-modbus-go_odessa 10:18:41 project root: . 10:18:41 --> token set from env 10:18:41 Yaml found at: vendor/github.com/go-openapi/analysis/.codecov.yml 10:18:41 ==> Running gcov in . (disable via -X gcov) 10:18:41 ==> Python coveragepy not found 10:18:41 ==> Searching for coverage reports in: 10:18:41 + . 10:18:41 -> Found 1 reports 10:18:41 ==> Detecting git/mercurial file structure 10:18:41 ==> Reading reports 10:18:41 + ./coverage.out bytes=27945 10:18:41 ==> Appending adjustments 10:18:41 https://docs.codecov.io/docs/fixing-reports 10:18:41 + Found adjustments 10:18:41 ==> Gzipping contents 10:18:41 32K /tmp/codecov.Uvd6JH.gz 10:18:41 ==> Uploading reports 10:18:41 url: https://codecov.io 10:18:41 query: branch=odessa&commit=56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fodessa%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:18:41 -> Pinging Codecov 10:18:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=odessa&commit=56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fodessa%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:18:41 -> Uploading to 10:18:41 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-modbus-go/56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc/f30478c8-cbdb-4761-bca1-7b66192e875b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20251127%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20251127T101841Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=e83b226dc3be13dfbaab927840439341f86d0ae551d2f14c9e9cf23535e287a7 10:18:41 % Total % Received % Xferd Average Speed Time Time Time Current 10:18:41 Dload Upload Total Spent Left Speed 10:18:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 29468 0 0 100 29468 0 198k --:--:-- --:--:-- --:--:-- 199k 10:18:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc [Pipeline] } 10:18:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:18:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:18:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:18:42 10:18:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:18:42 latest: Pulling from edgex-devops/edgex-snyk-go 10:18:42 2d35ebdb57d9: Already exists 10:18:42 85e8836fcdb2: Pulling fs layer 10:18:42 91631faa732a: Pulling fs layer 10:18:42 f3f5ae8826fa: Pulling fs layer 10:18:42 4f4fb700ef54: Pulling fs layer 10:18:42 7861252a18e6: Pulling fs layer 10:18:42 9130f900ef6f: Pulling fs layer 10:18:42 4f4fb700ef54: Waiting 10:18:42 7861252a18e6: Waiting 10:18:42 9130f900ef6f: Waiting 10:18:42 f3f5ae8826fa: Verifying Checksum 10:18:42 f3f5ae8826fa: Download complete 10:18:42 85e8836fcdb2: Verifying Checksum 10:18:42 85e8836fcdb2: Download complete 10:18:42 4f4fb700ef54: Verifying Checksum 10:18:42 4f4fb700ef54: Download complete 10:18:42 85e8836fcdb2: Pull complete 10:18:43 7861252a18e6: Verifying Checksum 10:18:43 7861252a18e6: Download complete 10:18:43 91631faa732a: Verifying Checksum 10:18:43 91631faa732a: Download complete 10:18:43 9130f900ef6f: Verifying Checksum 10:18:43 9130f900ef6f: Download complete 10:18:48 91631faa732a: Pull complete 10:18:48 f3f5ae8826fa: Pull complete 10:18:48 4f4fb700ef54: Pull complete 10:18:48 7861252a18e6: Pull complete 10:18:53 9130f900ef6f: Pull complete 10:18:53 Digest: sha256:56ae2c276304682a5b16c7ecab195a3e707c8b22ba01ba591248577dbd21f89e 10:18:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:18:53 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:18:53 prd-ubuntu20.04-docker-8c-8g-773970 does not seem to be running inside a container 10:18:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/xfoundry_device-modbus-go_odessa -v /w/workspace/xfoundry_device-modbus-go_odessa:/w/workspace/xfoundry_device-modbus-go_odessa:rw,z -v /w/workspace/xfoundry_device-modbus-go_odessa@tmp:/w/workspace/xfoundry_device-modbus-go_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 10:18:57 $ docker top f373758764643519b79e77a4255acc463a14485d6b92b5c97b7b3d809f4e94e1 -eo pid,comm [Pipeline] { [Pipeline] sh 10:18:57 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_odessa [Pipeline] echo 10:18:57 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:odessa' [Pipeline] sh 10:18:58 + set -o pipefail 10:18:58 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:odessa' 10:19:04 10:19:04 Monitoring /w/workspace/xfoundry_device-modbus-go_odessa (github.com/edgexfoundry/device-modbus-go)... 10:19:04 10:19:04 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c58c7743-9caa-446e-9fe1-04a48e755148/history/8d4a17cc-bde8-4562-8933-391173b48597 10:19:04 10:19:04 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 10:19:04 10:19:04 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:19:04 [Pipeline] } 10:19:04 $ docker stop --time=1 f373758764643519b79e77a4255acc463a14485d6b92b5c97b7b3d809f4e94e1 10:19:06 $ docker rm -f --volumes f373758764643519b79e77a4255acc463a14485d6b92b5c97b7b3d809f4e94e1 [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 10:19:07 + git log --format=format:%s -1 56a8fb4acf8c70c0f4b193874dc66cb5d4a900fc [Pipeline] sh 10:19:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:19:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:19:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:19:07 prd-ubuntu20.04-docker-8c-8g-773970 does not seem to be running inside a container 10:19:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_odessa -v /w/workspace/xfoundry_device-modbus-go_odessa:/w/workspace/xfoundry_device-modbus-go_odessa:rw,z -v /w/workspace/xfoundry_device-modbus-go_odessa@tmp:/w/workspace/xfoundry_device-modbus-go_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:19:08 $ docker top 78a2e769fa3c34875d8f18d70a5fd4e31d95a6605a49576979f844e8889af0f4 -eo pid,comm 10:19:08 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). 10:19:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:19:08 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v4.0.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:19:08 + git semver [Pipeline] } 10:19:08 $ docker stop --time=1 78a2e769fa3c34875d8f18d70a5fd4e31d95a6605a49576979f844e8889af0f4 10:19:10 $ docker rm -f --volumes 78a2e769fa3c34875d8f18d70a5fd4e31d95a6605a49576979f844e8889af0f4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:19:10 10:19:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:19:10 0.23.1-centos7: Pulling from edgex-lftools 10:19:10 ab5ef0e58194: Pulling fs layer 10:19:10 9712f1f96733: Pulling fs layer 10:19:10 63f879dbbcfc: Pulling fs layer 10:19:10 0d9ebad4ef96: Pulling fs layer 10:19:10 e9a5061849ea: Pulling fs layer 10:19:10 d747dcd14b5f: Pulling fs layer 10:19:10 2de7ff778b66: Pulling fs layer 10:19:10 0d9ebad4ef96: Waiting 10:19:10 e9a5061849ea: Waiting 10:19:10 2de7ff778b66: Waiting 10:19:10 d747dcd14b5f: Waiting 10:19:10 9712f1f96733: Verifying Checksum 10:19:10 9712f1f96733: Download complete 10:19:11 63f879dbbcfc: Verifying Checksum 10:19:11 63f879dbbcfc: Download complete 10:19:11 e9a5061849ea: Verifying Checksum 10:19:11 e9a5061849ea: Download complete 10:19:11 d747dcd14b5f: Verifying Checksum 10:19:11 d747dcd14b5f: Download complete 10:19:11 2de7ff778b66: Verifying Checksum 10:19:11 2de7ff778b66: Download complete 10:19:11 ab5ef0e58194: Verifying Checksum 10:19:11 ab5ef0e58194: Download complete 10:19:11 0d9ebad4ef96: Verifying Checksum 10:19:11 0d9ebad4ef96: Download complete 10:19:15 ab5ef0e58194: Pull complete 10:19:15 9712f1f96733: Pull complete 10:19:16 63f879dbbcfc: Pull complete 10:19:21 0d9ebad4ef96: Pull complete 10:19:21 e9a5061849ea: Pull complete 10:19:21 d747dcd14b5f: Pull complete 10:19:23 2de7ff778b66: Pull complete 10:19:23 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:19:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:19:23 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:19:23 prd-ubuntu20.04-docker-8c-8g-773970 does not seem to be running inside a container 10:19:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_odessa -v /w/workspace/xfoundry_device-modbus-go_odessa:/w/workspace/xfoundry_device-modbus-go_odessa:rw,z -v /w/workspace/xfoundry_device-modbus-go_odessa@tmp:/w/workspace/xfoundry_device-modbus-go_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:19:28 $ docker top 24f6f7ab2dfae7a7b4b71beda65947498f0c4ef8ba493523675667786e4dd058 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:19:28 provisioning config files... 10:19:28 copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_odessa@tmp/config9044375276004392894tmp 10:19:28 copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_odessa@tmp/config16710046263554351967tmp 10:19:28 copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_odessa@tmp/config4951210850581224248tmp [Pipeline] { [Pipeline] echo 10:19:28 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:19:28 ---> sigul-configuration.sh 10:19:28 gpg: directory `/root/.gnupg' created 10:19:28 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:19:28 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:19:28 gpg: keyring `/root/.gnupg/secring.gpg' created 10:19:28 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:19:28 gpg: CAST5 encrypted data 10:19:28 gpg: encrypted with 1 passphrase 10:19:28 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:19:28 + mkdir /home/jenkins 10:19:28 + mkdir /home/jenkins/sigul [Pipeline] sh 10:19:29 + 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 10:19:29 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:19:29 ---> sigul-install.sh 10:19:29 Sigul already installed; skipping installation. [Pipeline] sh 10:19:29 + git tag --list 10:19:29 0.7.1 10:19:29 v1.0.0 10:19:29 v1.1.0 10:19:29 v1.1.1 10:19:29 v1.2.2 10:19:29 v1.3.0 10:19:29 v1.3.1 10:19:29 v2.0.0 10:19:29 v2.1.0 10:19:29 v2.1.1 10:19:29 v2.2.0 10:19:29 v2.3.0 10:19:29 v3.0 10:19:29 v3.0.0 10:19:29 v3.1 10:19:29 v3.1.0 10:19:29 v3.1.1 10:19:29 v4.0 10:19:29 v4.0.0 10:19:29 v4.0.1 10:19:29 v4.0.1-dev.1 10:19:29 v4.0.1-dev.2 10:19:29 v4.0.1-dev.3 10:19:29 v4.0.1-dev.4 10:19:29 v4.1.0-dev.1 10:19:29 v4.1.0-dev.10 10:19:29 v4.1.0-dev.11 10:19:29 v4.1.0-dev.12 10:19:29 v4.1.0-dev.13 10:19:29 v4.1.0-dev.14 10:19:29 v4.1.0-dev.15 10:19:29 v4.1.0-dev.2 10:19:29 v4.1.0-dev.3 10:19:29 v4.1.0-dev.4 10:19:29 v4.1.0-dev.5 10:19:29 v4.1.0-dev.6 10:19:29 v4.1.0-dev.7 10:19:29 v4.1.0-dev.8 10:19:29 v4.1.0-dev.9 [Pipeline] sh 10:19:30 + lftools sign git-tag v4.0.1 10:19:30 Signing Git tag with Sigul... 10:19:30 Signing v4.0.1 [Pipeline] echo 10:19:31 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:19:31 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:19:31 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:19:31 $ docker stop --time=1 24f6f7ab2dfae7a7b4b71beda65947498f0c4ef8ba493523675667786e4dd058 10:19:32 $ docker rm -f --volumes 24f6f7ab2dfae7a7b4b71beda65947498f0c4ef8ba493523675667786e4dd058 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:19:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:19:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:19:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:19:33 prd-ubuntu20.04-docker-8c-8g-773970 does not seem to be running inside a container 10:19:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_odessa -v /w/workspace/xfoundry_device-modbus-go_odessa:/w/workspace/xfoundry_device-modbus-go_odessa:rw,z -v /w/workspace/xfoundry_device-modbus-go_odessa@tmp:/w/workspace/xfoundry_device-modbus-go_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:19:33 $ docker top 350bd6fd3ccb3d383b5db3079ced8c436ea35620912d2769e71e9e17a18c5c6b -eo pid,comm 10:19:33 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). 10:19:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:19:34 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v4.0.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:19:34 + git semver [Pipeline] } 10:19:34 $ docker stop --time=1 350bd6fd3ccb3d383b5db3079ced8c436ea35620912d2769e71e9e17a18c5c6b 10:19:35 $ docker rm -f --volumes 350bd6fd3ccb3d383b5db3079ced8c436ea35620912d2769e71e9e17a18c5c6b [Pipeline] // withDockerContainer [Pipeline] sh 10:19:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:19:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:19:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:19:36 prd-ubuntu20.04-docker-8c-8g-773970 does not seem to be running inside a container 10:19:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_odessa -v /w/workspace/xfoundry_device-modbus-go_odessa:/w/workspace/xfoundry_device-modbus-go_odessa:rw,z -v /w/workspace/xfoundry_device-modbus-go_odessa@tmp:/w/workspace/xfoundry_device-modbus-go_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:19:36 $ docker top 1c55947eb78502bbeac369affbefe0b61a3616a1d333c922c25e2b7a1308d6ea -eo pid,comm 10:19:36 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). 10:19:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:19:36 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v4.0.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:19:37 + git semver [Pipeline] } 10:19:37 $ docker stop --time=1 1c55947eb78502bbeac369affbefe0b61a3616a1d333c922c25e2b7a1308d6ea 10:19:38 $ docker rm -f --volumes 1c55947eb78502bbeac369affbefe0b61a3616a1d333c922c25e2b7a1308d6ea [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 10:19:39 + [ -d /w/workspace/xfoundry_device-modbus-go_odessa/archives ] 10:19:39 + ls -al /w/workspace/xfoundry_device-modbus-go_odessa/archives 10:19:39 total 16 10:19:39 drwxr-xr-x 3 root root 4096 Nov 27 10:14 . 10:19:39 drwxrwxr-x 11 jenkins jenkins 4096 Nov 27 10:19 .. 10:19:39 drwxr-xr-x 2 root root 4096 Nov 27 10:14 cost 10:19:39 -rw-r--r-- 1 root root 89 Nov 27 10:14 cost.csv 10:19:39 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_odessa/archives 10:19:39 + ls -al /w/workspace/xfoundry_device-modbus-go_odessa/archives 10:19:39 total 16 10:19:39 drwxr-xr-x 3 jenkins jenkins 4096 Nov 27 10:14 . 10:19:39 drwxrwxr-x 11 jenkins jenkins 4096 Nov 27 10:19 .. 10:19:39 drwxr-xr-x 2 jenkins jenkins 4096 Nov 27 10:14 cost 10:19:39 -rw-r--r-- 1 jenkins jenkins 89 Nov 27 10:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:19:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:19:40 ---> package-listing.sh 10:19:40 ++ facter osfamily 10:19:40 ++ tr '[:upper:]' '[:lower:]' 10:19:40 + OS_FAMILY=debian 10:19:40 + workspace=/w/workspace/xfoundry_device-modbus-go_odessa 10:19:40 + START_PACKAGES=/tmp/packages_start.txt 10:19:40 + END_PACKAGES=/tmp/packages_end.txt 10:19:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:19:40 + PACKAGES=/tmp/packages_start.txt 10:19:40 + '[' /w/workspace/xfoundry_device-modbus-go_odessa ']' 10:19:40 + PACKAGES=/tmp/packages_end.txt 10:19:40 + case "${OS_FAMILY}" in 10:19:40 + dpkg -l 10:19:40 + grep '^ii' 10:19:40 + '[' -f /tmp/packages_start.txt ']' 10:19:40 + '[' -f /tmp/packages_end.txt ']' 10:19:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:19:40 + '[' /w/workspace/xfoundry_device-modbus-go_odessa ']' 10:19:40 + mkdir -p /w/workspace/xfoundry_device-modbus-go_odessa/archives/ 10:19:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_odessa/archives/ [Pipeline] echo 10:19:40 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/xfoundry_device-modbus-go_odessa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:19:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:19:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:19:41 prd-ubuntu20.04-docker-8c-8g-773970 does not seem to be running inside a container 10:19:41 $ 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/xfoundry_device-modbus-go_odessa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_odessa -v /w/workspace/xfoundry_device-modbus-go_odessa:/w/workspace/xfoundry_device-modbus-go_odessa:rw,z -v /w/workspace/xfoundry_device-modbus-go_odessa@tmp:/w/workspace/xfoundry_device-modbus-go_odessa@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 10:19:41 $ docker top 9bcccc56f6789856f53567d2182a43b3b11450077d1adee07e1196cb4d0678cd -eo pid,comm [Pipeline] { [Pipeline] sh 10:19:42 + touch /tmp/pre-build-complete [Pipeline] sh 10:19:42 + mkdir -p /var/log/sysstat [Pipeline] sh 10:19:42 + ls /var/log/sa-host 10:19:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:19:42 provisioning config files... 10:19:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_odessa@tmp/config6093371075767288395tmp [Pipeline] { [Pipeline] echo 10:19:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:19:43 ---> create-netrc.sh [Pipeline] } 10:19:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:19:43 ---> python-tools-install.sh [Pipeline] echo 10:19:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:19:43 ---> sudo-logs.sh 10:19:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:19:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:19:44 ---> job-cost.sh 10:19:44 lf-activate-venv: SKIPPING 10:19:44 DEBUG: total: 0.2199999988079071 10:19:44 INFO: Retrieving Stack Cost... 10:19:44 INFO: Retrieving Pricing Info for: v3-standard-8 10:19:45 INFO: Archiving Costs [Pipeline] echo 10:19:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:19:45 ---> logs-deploy.sh 10:19:45 lf-activate-venv: SKIPPING 10:19:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/odessa/8 10:19:45 INFO: archiving workspace using pattern(s): 10:19:46 Archives upload complete. 10:19:46 INFO: archiving logs to Nexus