Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 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-ssh855082014847097268.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh15451908404400377017.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10202614321305947252.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > 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-ssh2623234129588706072.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-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7466692911344319621.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-rest-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-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 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-rest 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-4393 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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 6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#477)" > git rev-list --no-walk d0980f3671d730af7436baa654813d49e60ecc67 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:30:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:30:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:30:18 ========================================================= 01:30:18 EdgeX Global Pipelines Version Info 01:30:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:30:19 ------------------- 01:30:19 stable info: 01:30:19 ------------------- 01:30:19 Commited By: Ginny Guan ginny@iotechsys.com 01:30:19 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 01:30:19 Message: update stable to v1.0.274 01:30:20 ------------------- 01:30:20 experimental info: 01:30:20 ------------------- 01:30:20 Commited By: Ginny Guan ginny@iotechsys.com 01:30:20 Commit SHA: 274fe4ad960081a284537894dddd28d0c782a18e 01:30:20 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:30:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 01:30:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 01:30:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:30:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:30:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:30:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 01:30:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:30:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:30:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:30:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:30:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:30:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 01:30:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:30:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:30:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:30:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:30:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:30:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:30:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:30:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:30:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:30:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:30:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:30:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:30:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:30:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:30:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:30:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:30:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:30:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:30:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 [Pipeline] echo 01:30:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6836131 [Pipeline] echo 01:30:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:30:21 provisioning config files... 01:30:21 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11365554271773832334tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:30:21 ---> ****-login.sh 01:30:21 nexus3.edgexfoundry.org:10001 01:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:21 01:30:21 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:30:21 Configure a credential helper to remove this warning. See 01:30:21 https://docs.****.com/go/credential-store/ 01:30:21 01:30:21 Login Succeeded 01:30:21 nexus3.edgexfoundry.org:10002 01:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:21 01:30:21 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:30:21 Configure a credential helper to remove this warning. See 01:30:21 https://docs.****.com/go/credential-store/ 01:30:21 01:30:21 Login Succeeded 01:30:21 nexus3.edgexfoundry.org:10003 01:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:21 01:30:21 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:30:21 Configure a credential helper to remove this warning. See 01:30:21 https://docs.****.com/go/credential-store/ 01:30:21 01:30:21 Login Succeeded 01:30:22 nexus3.edgexfoundry.org:10004 01:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:22 01:30:22 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:30:22 Configure a credential helper to remove this warning. See 01:30:22 https://docs.****.com/go/credential-store/ 01:30:22 01:30:22 Login Succeeded 01:30:22 ****.io 01:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:22 01:30:22 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:30:22 Configure a credential helper to remove this warning. See 01:30:22 https://docs.****.com/go/credential-store/ 01:30:22 01:30:22 Login Succeeded 01:30:22 ---> ****-login.sh ends [Pipeline] } 01:30:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:30:22 + git rev-list -1 --merges 6836131fe303b61572fae9eb95d6f8fc2f5ccfc2~1..6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 [Pipeline] echo 01:30:22 -----------> git rev-list -1 --merges 6836131fe303b61572fae9eb95d6f8fc2f5ccfc2~1..6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 [false] [Pipeline] sh 01:30:23 + git log --format=format:%s -1 6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 [Pipeline] echo 01:30:23 ========================================================= 01:30:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:30:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:30:23 + git log --format=format:%s -1 6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 [Pipeline] echo 01:30:23 [semverPrep] GIT_COMMIT: 6836131fe303b61572fae9eb95d6f8fc2f5ccfc2, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#477) [Pipeline] echo 01:30:23 [semverPrep] This is not a build commit. [Pipeline] sh 01:30:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:30:24 + grep -v github /etc/ssh/ssh_known_hosts 01:30:24 + [ -e /tmp/ssh_known_hosts ] 01:30:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:30:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:30:24 + sudo tee -a /etc/ssh/ssh_known_hosts 01:30:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:30:24 01:30:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:30:24 0.1.4: Pulling from edgex-devops/py-git-semver 01:30:24 3dae71ba6b94: Pulling fs layer 01:30:24 6bf1a483ea7c: Pulling fs layer 01:30:24 f5dfc541a4d3: Pulling fs layer 01:30:24 461d9e800cba: Pulling fs layer 01:30:24 80192f66455f: Pulling fs layer 01:30:24 2e8e34ca0e6c: Pulling fs layer 01:30:24 a29436f7fd5d: Pulling fs layer 01:30:24 923cac83aea3: Pulling fs layer 01:30:24 25ad8b0a4227: Pulling fs layer 01:30:24 db01528c6b51: Pulling fs layer 01:30:24 28988de357af: Pulling fs layer 01:30:24 80192f66455f: Waiting 01:30:24 2e8e34ca0e6c: Waiting 01:30:24 a29436f7fd5d: Waiting 01:30:24 923cac83aea3: Waiting 01:30:24 28988de357af: Waiting 01:30:24 461d9e800cba: Waiting 01:30:24 25ad8b0a4227: Waiting 01:30:24 db01528c6b51: Waiting 01:30:24 6bf1a483ea7c: Download complete 01:30:24 461d9e800cba: Verifying Checksum 01:30:24 461d9e800cba: Download complete 01:30:24 80192f66455f: Verifying Checksum 01:30:24 80192f66455f: Download complete 01:30:25 f5dfc541a4d3: Verifying Checksum 01:30:25 f5dfc541a4d3: Download complete 01:30:25 3dae71ba6b94: Verifying Checksum 01:30:25 3dae71ba6b94: Download complete 01:30:25 923cac83aea3: Download complete 01:30:25 25ad8b0a4227: Verifying Checksum 01:30:25 25ad8b0a4227: Download complete 01:30:25 db01528c6b51: Verifying Checksum 01:30:25 db01528c6b51: Download complete 01:30:25 28988de357af: Verifying Checksum 01:30:25 28988de357af: Download complete 01:30:25 a29436f7fd5d: Verifying Checksum 01:30:25 a29436f7fd5d: Download complete 01:30:25 2e8e34ca0e6c: Verifying Checksum 01:30:25 2e8e34ca0e6c: Download complete 01:30:26 3dae71ba6b94: Pull complete 01:30:26 6bf1a483ea7c: Pull complete 01:30:27 f5dfc541a4d3: Pull complete 01:30:27 461d9e800cba: Pull complete 01:30:27 80192f66455f: Pull complete 01:30:32 2e8e34ca0e6c: Pull complete 01:30:33 a29436f7fd5d: Pull complete 01:30:33 923cac83aea3: Pull complete 01:30:33 25ad8b0a4227: Pull complete 01:30:33 db01528c6b51: Pull complete 01:30:33 28988de357af: Pull complete 01:30:33 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 01:30:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:30:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:30:33 prd-ubuntu20.04-docker-8c-8g-4393 does not seem to be running inside a container 01:30:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:30:35 $ docker top 142c08b7aa4bd16546dbb0c2fa76f32d2b939a9c6067f040da66ca6e80344438 -eo pid,comm 01:30:35 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). 01:30:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:30:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:30:35 [ssh-agent] Looking for ssh-agent implementation... 01:30:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:30:35 $ docker exec 142c08b7aa4bd16546dbb0c2fa76f32d2b939a9c6067f040da66ca6e80344438 ssh-agent 01:30:35 SSH_AUTH_SOCK=/tmp/ssh-KKUHjUAZR9aw/agent.34 01:30:35 SSH_AGENT_PID=41 01:30:35 Running ssh-add (command line suppressed) 01:30:36 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16911925785938581702.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16911925785938581702.key) 01:30:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:30:36 + git tag --points-at HEAD [Pipeline] } 01:30:36 $ docker exec --env ******** --env ******** 142c08b7aa4bd16546dbb0c2fa76f32d2b939a9c6067f040da66ca6e80344438 ssh-agent -k 01:30:36 unset SSH_AUTH_SOCK; 01:30:36 unset SSH_AGENT_PID; 01:30:36 echo Agent pid 41 killed; 01:30:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:30:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:30:36 [ssh-agent] Looking for ssh-agent implementation... 01:30:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:30:36 $ docker exec 142c08b7aa4bd16546dbb0c2fa76f32d2b939a9c6067f040da66ca6e80344438 ssh-agent 01:30:36 SSH_AUTH_SOCK=/tmp/ssh-7QvFQaZII1js/agent.75 01:30:36 SSH_AGENT_PID=82 01:30:36 Running ssh-add (command line suppressed) 01:30:36 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14942714105075890123.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14942714105075890123.key) 01:30:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:30:37 + git semver init 01:30:37 2025-07-02 01:30:37,365 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 01:30:37 2025-07-02 01:30:37,369 [run_init] DEBUG init version:0.0.0 force:False 01:30:37 2025-07-02 01:30:37,370 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 01:30:37 2025-07-02 01:30:37,371 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 01:30:37 2025-07-02 01:30:37,371 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=None, shell=False, universal_newlines=False) 01:30:39 2025-07-02 01:30:38,902 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 01:30:39 2025-07-02 01:30:38,904 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 01:30:39 2025-07-02 01:30:38,904 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:30:39 2025-07-02 01:30:38,904 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:30:39 4.1.0-dev.5 [Pipeline] } 01:30:39 $ docker exec --env ******** --env ******** 142c08b7aa4bd16546dbb0c2fa76f32d2b939a9c6067f040da66ca6e80344438 ssh-agent -k 01:30:39 unset SSH_AUTH_SOCK; 01:30:39 unset SSH_AGENT_PID; 01:30:39 echo Agent pid 82 killed; 01:30:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:30:39 + git semver [Pipeline] } 01:30:40 $ docker stop --time=1 142c08b7aa4bd16546dbb0c2fa76f32d2b939a9c6067f040da66ca6e80344438 01:30:41 $ docker rm -f --volumes 142c08b7aa4bd16546dbb0c2fa76f32d2b939a9c6067f040da66ca6e80344438 [Pipeline] // withDockerContainer [Pipeline] sh 01:30:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:30:41 Stashed 1 file(s) [Pipeline] echo 01:30:41 [edgeXSemver]: initialized semver on version 4.1.0-dev.5 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:30:42 provisioning config files... 01:30:42 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7362586724471639636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:30:42 ---> ****-login.sh 01:30:42 nexus3.edgexfoundry.org:10001 01:30:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:42 Login Succeeded 01:30:42 nexus3.edgexfoundry.org:10002 01:30:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:42 Login Succeeded 01:30:42 nexus3.edgexfoundry.org:10003 01:30:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:42 Login Succeeded 01:30:42 nexus3.edgexfoundry.org:10004 01:30:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:42 Login Succeeded 01:30:42 ****.io 01:30:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:42 Login Succeeded 01:30:42 ---> ****-login.sh ends [Pipeline] } 01:30:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:30:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:30:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:30:43 ========================================================= 01:30:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 01:30:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:43 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 01:30:43 #0 building with "default" instance using docker driver 01:30:43 01:30:43 #1 [internal] load build definition from Dockerfile 01:30:43 #1 transferring dockerfile: 1.74kB 0.0s done 01:30:43 #1 DONE 0.0s 01:30:43 01:30:43 #2 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:30:43 #2 DONE 0.1s 01:30:44 01:30:44 #3 [internal] load .dockerignore 01:30:44 #3 transferring context: 193B done 01:30:44 #3 DONE 0.0s 01:30:44 01:30:44 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:78acc44d7358ce6d4c7aa33580a27963993e9e743f98955b43cedd959d54cb65 01:30:44 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:78acc44d7358ce6d4c7aa33580a27963993e9e743f98955b43cedd959d54cb65 0.0s done 01:30:44 #4 sha256:e873195afa03f66c4477d62a47bde445cf4ea723c241a30f98137b48a10af2e9 2.08kB / 2.08kB done 01:30:44 #4 sha256:ea6120ae94a0356f97603cf7c451f67990211a3e020e5a30d412335b108fdc34 4.22kB / 4.22kB done 01:30:44 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 3.15MB / 74.06MB 0.1s 01:30:44 #4 sha256:78acc44d7358ce6d4c7aa33580a27963993e9e743f98955b43cedd959d54cb65 685B / 685B done 01:30:44 #4 sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 3.63MB / 3.63MB 0.1s 01:30:44 #4 sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 294.40kB / 294.40kB 0.1s done 01:30:44 #4 sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 126B / 126B 0.1s 01:30:44 #4 ... 01:30:44 01:30:44 #5 [internal] load build context 01:30:44 #5 transferring context: 21.60MB 0.2s done 01:30:44 #5 DONE 0.2s 01:30:44 01:30:44 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:78acc44d7358ce6d4c7aa33580a27963993e9e743f98955b43cedd959d54cb65 01:30:44 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 13.63MB / 74.06MB 0.2s 01:30:44 #4 sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 3.63MB / 3.63MB 0.1s done 01:30:44 #4 sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 126B / 126B 0.1s done 01:30:44 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 0.1s 01:30:44 #4 sha256:8213a616a21b5155355248bdcdb47b1049aac55141930530c39a6268e6623549 440B / 440B 0.1s done 01:30:44 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 2.10MB / 100.52MB 0.2s 01:30:44 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.1s done 01:30:44 #4 sha256:98558614340527eace9316d30bb3f3e5cf3a2e8f676d5fb62ad843cd3fb4f971 2.38MB / 2.38MB 0.2s 01:30:44 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 24.12MB / 74.06MB 0.3s 01:30:44 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 0.1s done 01:30:44 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 11.53MB / 100.52MB 0.3s 01:30:44 #4 sha256:98558614340527eace9316d30bb3f3e5cf3a2e8f676d5fb62ad843cd3fb4f971 2.38MB / 2.38MB 0.2s done 01:30:44 #4 sha256:d3ac315be8c589f68f6ac08e7595bd7737acfb5834b5e7c23c55a9ef887f3179 4.19MB / 13.29MB 0.3s 01:30:44 #4 extracting sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 0.0s done 01:30:44 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 48.23MB / 74.06MB 0.5s 01:30:44 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 33.55MB / 100.52MB 0.5s 01:30:44 #4 sha256:d3ac315be8c589f68f6ac08e7595bd7737acfb5834b5e7c23c55a9ef887f3179 13.29MB / 13.29MB 0.4s done 01:30:44 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 74.06MB / 74.06MB 0.7s 01:30:44 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 54.53MB / 100.52MB 0.7s 01:30:44 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 70.25MB / 100.52MB 0.8s 01:30:44 #4 extracting sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 01:30:44 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 74.06MB / 74.06MB 0.8s done 01:30:44 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 89.13MB / 100.52MB 0.9s 01:30:45 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 100.52MB / 100.52MB 1.0s 01:30:45 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 100.52MB / 100.52MB 1.1s done 01:30:49 #4 extracting sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 4.1s done 01:30:49 #4 extracting sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 01:30:49 #4 extracting sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 done 01:30:49 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 01:30:49 #4 extracting sha256:8213a616a21b5155355248bdcdb47b1049aac55141930530c39a6268e6623549 done 01:30:49 #4 extracting sha256:98558614340527eace9316d30bb3f3e5cf3a2e8f676d5fb62ad843cd3fb4f971 01:30:49 #4 extracting sha256:98558614340527eace9316d30bb3f3e5cf3a2e8f676d5fb62ad843cd3fb4f971 0.0s done 01:30:49 #4 extracting sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 0.1s 01:30:52 #4 extracting sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 2.6s done 01:30:52 #4 extracting sha256:d3ac315be8c589f68f6ac08e7595bd7737acfb5834b5e7c23c55a9ef887f3179 01:30:53 #4 extracting sha256:d3ac315be8c589f68f6ac08e7595bd7737acfb5834b5e7c23c55a9ef887f3179 0.7s done 01:30:53 #4 DONE 8.9s 01:30:53 01:30:53 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 01:30:53 #6 0.202 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:30:53 #6 0.374 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:30:53 #6 0.705 (1/4) Installing openssh-keygen (9.7_p1-r5) 01:30:53 #6 0.713 (2/4) Installing libedit (20240517.3.1-r0) 01:30:53 #6 0.719 (3/4) Installing openssh-client-common (9.7_p1-r5) 01:30:53 #6 0.744 (4/4) Installing openssh-client-default (9.7_p1-r5) 01:30:53 #6 0.758 Executing busybox-1.36.1-r29.trigger 01:30:53 #6 0.767 OK: 252 MiB in 62 packages 01:30:55 #6 DONE 2.5s 01:30:55 01:30:55 #7 [builder 3/7] WORKDIR /device-rest-go 01:30:55 #7 DONE 0.0s 01:30:55 01:30:55 #8 [builder 4/7] COPY go.mod vendor* ./ 01:30:55 #8 DONE 0.0s 01:30:55 01:30:55 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:30:57 Still waiting to schedule task 01:30:57 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:31:42 #9 DONE 44.5s 01:31:42 01:31:42 #10 [builder 6/7] COPY . . 01:31:42 #10 DONE 0.1s 01:31:42 01:31:42 #11 [builder 7/7] RUN echo noop 01:31:42 #11 0.202 noop 01:31:42 #11 DONE 0.2s 01:31:42 01:31:42 #12 exporting to image 01:31:42 #12 exporting layers 01:31:47 #12 exporting layers 6.8s done 01:31:47 #12 writing image sha256:6c3636ce2cd40177acdc104b64c44081f1d469f6e170dd96bedb1de30274d4e1 done 01:31:47 #12 naming to docker.io/library/ci-base-image-x86_64 done 01:31:47 #12 DONE 6.8s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:47 + docker inspect -f . ci-base-image-x86_64 01:31:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:47 prd-ubuntu20.04-docker-8c-8g-4393 does not seem to be running inside a container 01:31:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:31:48 $ docker top bf3a13e60132623b3799b0c0cfc8f1c139a3a83b0fc4dad20c2930b6e4596eed -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:48 + go version 01:31:48 go version go1.23.9 linux/amd64 [Pipeline] } 01:31:48 $ docker stop --time=1 bf3a13e60132623b3799b0c0cfc8f1c139a3a83b0fc4dad20c2930b6e4596eed 01:31:49 $ docker rm -f --volumes bf3a13e60132623b3799b0c0cfc8f1c139a3a83b0fc4dad20c2930b6e4596eed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:50 + docker inspect -f . ci-base-image-x86_64 01:31:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:50 prd-ubuntu20.04-docker-8c-8g-4393 does not seem to be running inside a container 01:31:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:31:50 $ docker top 3ba0c506b555fd307509984169baed1690135ad4220609e16269f1cc7335f07d -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:51 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 01:31:51 + make test 01:31:51 go test ./... -coverprofile=coverage.out ./... 01:31:52 ? github.com/edgexfoundry/device-rest-go [no test files] 01:32:14 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 01:32:14 ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 32.2% of statements 01:32:24 go vet ./... 01:32:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:32:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:32:29 ./bin/test-attribution-txt.sh 01:32:29 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 01:32:29 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add 01:32:29 An attribution for github.com/zitadel/logging is missing from Attribution.txt, please add 01:32:29 An attribution for github.com/zitadel/oidc/v3 is missing from Attribution.txt, please add 01:32:29 An attribution for github.com/zitadel/schema is missing from Attribution.txt, please add [Pipeline] echo 01:32:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 01:32:29 $ docker stop --time=1 3ba0c506b555fd307509984169baed1690135ad4220609e16269f1cc7335f07d 01:32:32 $ docker rm -f --volumes 3ba0c506b555fd307509984169baed1690135ad4220609e16269f1cc7335f07d [Pipeline] // withDockerContainer [Pipeline] sh 01:32:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:32:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:32:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:32:33 + ls -al . 01:32:33 total 244 01:32:33 drwxrwxr-x 9 jenkins jenkins 4096 Jul 2 01:31 . 01:32:33 drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 01:30 .. 01:32:33 -rw-rw-r-- 1 jenkins jenkins 151 Jul 2 01:30 .dockerignore 01:32:33 drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 01:32 .git 01:32:33 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 01:30 .github 01:32:33 -rw-rw-r-- 1 jenkins jenkins 264 Jul 2 01:30 .gitignore 01:32:33 -rw-rw-r-- 1 jenkins jenkins 41 Jul 2 01:30 .golangci.yml 01:32:33 drwxr-xr-x 3 jenkins jenkins 4096 Jul 2 01:30 .semver 01:32:33 -rw-rw-r-- 1 jenkins jenkins 20138 Jul 2 01:30 Attribution.txt 01:32:33 -rw-rw-r-- 1 jenkins jenkins 18492 Jul 2 01:30 CHANGELOG.md 01:32:33 -rw-rw-r-- 1 jenkins jenkins 1697 Jul 2 01:30 Dockerfile 01:32:33 -rw-rw-r-- 1 jenkins jenkins 677 Jul 2 01:30 GOVERNANCE.md 01:32:33 -rw-rw-r-- 1 jenkins jenkins 680 Jul 2 01:30 Jenkinsfile 01:32:33 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 2 01:30 LICENSE 01:32:33 -rw-rw-r-- 1 jenkins jenkins 2598 Jul 2 01:30 Makefile 01:32:33 -rw-rw-r-- 1 jenkins jenkins 620 Jul 2 01:30 OWNERS.md 01:32:33 -rw-rw-r-- 1 jenkins jenkins 3989 Jul 2 01:30 README.md 01:32:33 -rw-rw-r-- 1 jenkins jenkins 11 Jul 2 01:30 VERSION 01:32:33 drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 01:30 bin 01:32:33 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 01:30 cmd 01:32:33 -rw-r--r-- 1 jenkins jenkins 14565 Jul 2 01:32 coverage.out 01:32:33 drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 01:30 driver 01:32:33 -rw-rw-r-- 1 jenkins jenkins 6272 Jul 2 01:30 go.mod 01:32:33 -rw-rw-r-- 1 jenkins jenkins 86763 Jul 2 01:30 go.sum 01:32:33 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 01:30 openapi 01:32:33 -rw-rw-r-- 1 jenkins jenkins 713 Jul 2 01:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:33 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 --label arch=amd64 --label version=4.1.0-dev.5 . 01:32:34 #0 building with "default" instance using docker driver 01:32:34 01:32:34 #1 [internal] load build definition from Dockerfile 01:32:34 #1 transferring dockerfile: 1.74kB done 01:32:34 #1 DONE 0.0s 01:32:34 01:32:34 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 01:32:34 #2 DONE 0.0s 01:32:34 01:32:34 #3 [internal] load metadata for docker.io/library/alpine:3.20 01:32:34 #3 DONE 0.1s 01:32:34 01:32:34 #4 [internal] load .dockerignore 01:32:34 #4 transferring context: 193B done 01:32:34 #4 DONE 0.0s 01:32:34 01:32:34 #5 [internal] load build context 01:32:34 #5 transferring context: 18.46kB done 01:32:34 #5 DONE 0.0s 01:32:34 01:32:34 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 01:32:34 #6 resolve docker.io/library/alpine:3.20@sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 0.0s done 01:32:34 #6 sha256:43180c492a5e6cedd8232e8f77a454f666f247586853eecb90258b26688ad1d3 1.02kB / 1.02kB done 01:32:34 #6 sha256:ff221270b9fb7387b0ad9ff8f69fbbd841af263842e62217392f18c3b5226f38 581B / 581B done 01:32:34 #6 sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 9.22kB / 9.22kB done 01:32:34 #6 DONE 0.0s 01:32:34 01:32:34 #7 [builder 1/7] FROM docker.io/library/ci-base-image-x86_64:latest 01:32:34 #7 DONE 0.1s 01:32:34 01:32:34 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 01:32:34 #8 0.254 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:32:34 #8 0.410 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:32:34 #8 0.769 (1/1) Installing dumb-init (1.2.5-r3) 01:32:34 #8 ... 01:32:34 01:32:34 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 01:32:34 #9 0.210 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:32:34 #9 0.362 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:32:34 #9 0.732 OK: 252 MiB in 62 packages 01:32:34 #9 DONE 0.8s 01:32:34 01:32:34 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 01:32:34 #8 0.780 Executing busybox-1.36.1-r29.trigger 01:32:34 #8 0.782 OK: 8 MiB in 15 packages 01:32:35 #8 DONE 0.9s 01:32:35 01:32:35 #10 [builder 3/7] WORKDIR /device-rest-go 01:32:35 #10 DONE 0.0s 01:32:35 01:32:35 #11 [builder 4/7] COPY go.mod vendor* ./ 01:32:35 #11 DONE 0.0s 01:32:35 01:32:35 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:32:35 #12 DONE 0.5s 01:32:35 01:32:35 #13 [stage-1 3/6] RUN apk --no-cache upgrade 01:32:35 #13 0.358 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:32:35 #13 0.421 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:32:35 #13 ... 01:32:35 01:32:35 #14 [builder 6/7] COPY . . 01:32:35 #14 DONE 0.1s 01:32:35 01:32:35 #13 [stage-1 3/6] RUN apk --no-cache upgrade 01:32:35 #13 0.781 OK: 8 MiB in 15 packages 01:32:36 #13 DONE 0.9s 01:32:36 01:32:36 #15 [builder 7/7] RUN make build 01:32:36 #15 0.228 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.19 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 01:33:02 #15 DONE 23.9s 01:33:02 01:33:02 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 01:33:02 #16 DONE 0.1s 01:33:02 01:33:02 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 01:33:02 #17 DONE 0.0s 01:33:02 01:33:02 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 01:33:02 #18 DONE 0.0s 01:33:02 01:33:02 #19 exporting to image 01:33:02 #19 exporting layers 0.1s done 01:33:02 #19 writing image sha256:56365dbbd4ad1e808a82c17a433f180036d03ff054cdd1b7776cbd85ca235fc4 done 01:33:02 #19 naming to docker.io/library/device-rest done 01:33:02 #19 DONE 0.1s 01:33:02 01:33:02 1 warning found (use docker --debug to expand): 01:33:02  - UndefinedVar: Usage of undefined variable '$VERSION' (line 41) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:33:02 provisioning config files... 01:33:02 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7491261998475867445tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:33:03 ---> ****-login.sh 01:33:03 nexus3.edgexfoundry.org:10001 01:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:03 Login Succeeded 01:33:03 nexus3.edgexfoundry.org:10002 01:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:03 Login Succeeded 01:33:03 nexus3.edgexfoundry.org:10003 01:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:03 Login Succeeded 01:33:03 nexus3.edgexfoundry.org:10004 01:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:03 Login Succeeded 01:33:03 ****.io 01:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:03 Login Succeeded 01:33:03 ---> ****-login.sh ends [Pipeline] } 01:33:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:33:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:33:03 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 01:33:03 6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 01:33:03 latest 01:33:03 4.1.0-dev.5 01:33:03 6836131fe303b61572fae9eb95d6f8fc2f5ccfc2-4.1.0-dev.5 01:33:03 main 01:33:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:04 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:04 + docker push nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 01:33:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:33:04 aefd2cf7ab6d: Preparing 01:33:04 dc4687237958: Preparing 01:33:04 bf2b041b4b8d: Preparing 01:33:04 e4ff9fe68450: Preparing 01:33:04 92d7b2e82fd1: Preparing 01:33:04 994456c4fd7b: Preparing 01:33:04 994456c4fd7b: Waiting 01:33:04 92d7b2e82fd1: Pushed 01:33:04 aefd2cf7ab6d: Pushed 01:33:04 dc4687237958: Pushed 01:33:04 e4ff9fe68450: Pushed 01:33:04 994456c4fd7b: Layer already exists 01:33:08 bf2b041b4b8d: Pushed 01:33:08 6836131fe303b61572fae9eb95d6f8fc2f5ccfc2: digest: sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:08 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:09 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 01:33:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:33:09 aefd2cf7ab6d: Preparing 01:33:09 dc4687237958: Preparing 01:33:09 bf2b041b4b8d: Preparing 01:33:09 e4ff9fe68450: Preparing 01:33:09 92d7b2e82fd1: Preparing 01:33:09 994456c4fd7b: Preparing 01:33:09 994456c4fd7b: Waiting 01:33:09 aefd2cf7ab6d: Layer already exists 01:33:09 e4ff9fe68450: Layer already exists 01:33:09 92d7b2e82fd1: Layer already exists 01:33:09 bf2b041b4b8d: Layer already exists 01:33:09 dc4687237958: Layer already exists 01:33:09 994456c4fd7b: Layer already exists 01:33:09 latest: digest: sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:09 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:09 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.5 01:33:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:33:09 aefd2cf7ab6d: Preparing 01:33:09 dc4687237958: Preparing 01:33:09 bf2b041b4b8d: Preparing 01:33:09 e4ff9fe68450: Preparing 01:33:09 92d7b2e82fd1: Preparing 01:33:09 994456c4fd7b: Preparing 01:33:09 994456c4fd7b: Waiting 01:33:09 dc4687237958: Layer already exists 01:33:09 92d7b2e82fd1: Layer already exists 01:33:09 e4ff9fe68450: Layer already exists 01:33:09 bf2b041b4b8d: Layer already exists 01:33:09 aefd2cf7ab6d: Layer already exists 01:33:09 994456c4fd7b: Layer already exists 01:33:09 4.1.0-dev.5: digest: sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:10 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2-4.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:10 + docker push nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2-4.1.0-dev.5 01:33:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:33:10 aefd2cf7ab6d: Preparing 01:33:10 dc4687237958: Preparing 01:33:10 bf2b041b4b8d: Preparing 01:33:10 e4ff9fe68450: Preparing 01:33:10 92d7b2e82fd1: Preparing 01:33:10 994456c4fd7b: Preparing 01:33:10 994456c4fd7b: Waiting 01:33:10 aefd2cf7ab6d: Layer already exists 01:33:10 bf2b041b4b8d: Layer already exists 01:33:10 92d7b2e82fd1: Layer already exists 01:33:10 dc4687237958: Layer already exists 01:33:10 e4ff9fe68450: Layer already exists 01:33:10 994456c4fd7b: Layer already exists 01:33:10 6836131fe303b61572fae9eb95d6f8fc2f5ccfc2-4.1.0-dev.5: digest: sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:10 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:11 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 01:33:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:33:11 aefd2cf7ab6d: Preparing 01:33:11 dc4687237958: Preparing 01:33:11 bf2b041b4b8d: Preparing 01:33:11 e4ff9fe68450: Preparing 01:33:11 92d7b2e82fd1: Preparing 01:33:11 994456c4fd7b: Preparing 01:33:11 994456c4fd7b: Waiting 01:33:11 92d7b2e82fd1: Layer already exists 01:33:11 dc4687237958: Layer already exists 01:33:11 aefd2cf7ab6d: Layer already exists 01:33:11 e4ff9fe68450: Layer already exists 01:33:11 bf2b041b4b8d: Layer already exists 01:33:11 994456c4fd7b: Layer already exists 01:33:11 main: digest: sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:33:11 ===================================================== [Pipeline] echo 01:33:11 taggedImages: 01:33:11 - nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 01:33:11 - nexus3.edgexfoundry.org:10004/device-rest:latest 01:33:11 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.5 01:33:11 - nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2-4.1.0-dev.5 01:33:11 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] echo 01:33:11 ========================================================= 01:33:11 [edgeXBuildMultiArch] RAW Config: 01:33:11 images: 01:33:11 - nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 01:33:11 - nexus3.edgexfoundry.org:10004/device-rest:latest 01:33:11 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.5 01:33:11 - nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2-4.1.0-dev.5 01:33:11 - nexus3.edgexfoundry.org:10004/device-rest:main 01:33:11 settingsFile: 01:33:11 device-rest-go-settings 01:33:11 ========================================================= [Pipeline] node 01:33:26 Still waiting to schedule task 01:33:26 All nodes of label ‘centos7-docker-4c-2g’ are offline 01:34:15 Running on prd-centos7-docker-4c-2g-4395 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:34:15 provisioning config files... 01:34:15 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16370807907093254283tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:34:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4394 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 01:34:15 Running in /w/workspace/device-rest-go/204 [Pipeline] { [Pipeline] checkout 01:34:15 The recommended git tool is: git 01:34:16 ---> ****-login.sh 01:34:16 nexus3.edgexfoundry.org:10001 01:34:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:34:16 Configure a credential helper to remove this warning. See 01:34:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:34:16 01:34:16 Login Succeeded 01:34:16 nexus3.edgexfoundry.org:10002 01:34:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:34:16 Configure a credential helper to remove this warning. See 01:34:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:34:16 01:34:16 Login Succeeded 01:34:16 nexus3.edgexfoundry.org:10003 01:34:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:34:16 Configure a credential helper to remove this warning. See 01:34:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:34:16 01:34:16 Login Succeeded 01:34:16 nexus3.edgexfoundry.org:10004 01:34:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:34:16 Configure a credential helper to remove this warning. See 01:34:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:34:16 01:34:16 Login Succeeded 01:34:16 ****.io 01:34:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:34:16 Configure a credential helper to remove this warning. See 01:34:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:34:16 01:34:16 Login Succeeded 01:34:16 ---> ****-login.sh ends [Pipeline] } 01:34:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:34:17 + docker buildx ls 01:34:17 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 01:34:17 default * docker 01:34:17 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 01:34:17 + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use 01:34:17 edgex-builder [Pipeline] sh 01:34:17 + docker buildx inspect --bootstrap 01:34:17 #1 [internal] booting buildkit 01:34:17 #1 pulling image moby/buildkit:buildx-stable-1 01:34:20 using credential edgex-jenkins-ssh 01:34:20 Cloning the remote Git repository 01:34:20 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:34:20 > git init /w/workspace/device-rest-go/204 # timeout=10 01:34:20 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:34:20 > git --version # timeout=10 01:34:20 > git --version # 'git version 2.25.1' 01:34:20 using GIT_SSH to set credentials SSH Credentials for GitHub 01:34:21 #1 pulling image moby/buildkit:buildx-stable-1 4.2s done 01:34:21 #1 creating container buildx_buildkit_edgex-builder0 01:34:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:34:22 #1 creating container buildx_buildkit_edgex-builder0 1.1s done 01:34:22 #1 DONE 5.4s 01:34:22 Name: edgex-builder 01:34:22 Driver: docker-container 01:34:22 01:34:22 Nodes: 01:34:22 Name: edgex-builder0 01:34:22 Endpoint: unix:///var/run/docker.sock 01:34:22 Status: running 01:34:22 Buildkit: v0.22.0 01:34:22 Platforms: linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 [Pipeline] sh 01:34:23 + docker buildx ls 01:34:23 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 01:34:23 edgex-builder * docker-container 01:34:23 edgex-builder0 unix:///var/run/docker.sock running v0.22.0 linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 01:34:23 default docker 01:34:23 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 01:34:23 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 --push - 01:34:23 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2' 01:34:23 #1 [internal] load build definition from Dockerfile 01:34:23 #1 transferring dockerfile: 196B done 01:34:23 #1 DONE 0.0s 01:34:23 01:34:23 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 01:34:23 #2 DONE 0.1s 01:34:23 01:34:23 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 01:34:23 #3 DONE 0.1s 01:34:23 01:34:23 #4 [internal] load .dockerignore 01:34:23 #4 transferring context: 2B done 01:34:23 #4 DONE 0.0s 01:34:23 01:34:23 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2@sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 01:34:23 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2@sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 0.0s done 01:34:23 #5 DONE 0.0s 01:34:23 01:34:23 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2@sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 01:34:23 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2@sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 0.0s done 01:34:23 #6 DONE 0.1s 01:34:24 01:34:24 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:34:24 #7 DONE 0.0s 01:34:24 01:34:24 #8 exporting to image 01:34:24 #8 exporting layers done 01:34:24 #8 exporting manifest sha256:405f78de929531dbc86427ce718dd0fdda657b23026df83b71037276d375b2f3 done 01:34:24 #8 exporting config sha256:56365dbbd4ad1e808a82c17a433f180036d03ff054cdd1b7776cbd85ca235fc4 done 01:34:24 #8 exporting manifest sha256:adf756ed3358584fbb0134ce754f55f8661340e3566f48a5eb4ebcd246f3600c 0.0s done 01:34:24 #8 exporting config sha256:32f6caa87aa43761264c60832beb415a2f103eda03b2baf63d2cdb486cf6a7de done 01:34:24 #8 exporting manifest list sha256:4740d5c5ccfd5e3ec364b35d0df208017394b1cae85e4ace8647a5899ab182ef done 01:34:24 #8 pushing layers 0.1s done 01:34:24 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2@sha256:4740d5c5ccfd5e3ec364b35d0df208017394b1cae85e4ace8647a5899ab182ef 01:34:24 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:34:24 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2@sha256:4740d5c5ccfd5e3ec364b35d0df208017394b1cae85e4ace8647a5899ab182ef 0.1s done 01:34:24 #8 DONE 0.2s 01:34:24 01:34:24 1 warning found (use --debug to expand): 01:34:24  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:34:24 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:latest --push - 01:34:24 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:latest' 01:34:24 #1 [internal] load build definition from Dockerfile 01:34:24 #1 transferring dockerfile: 162B done 01:34:24 #1 DONE 0.0s 01:34:24 01:34:24 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:latest 01:34:24 #2 DONE 0.0s 01:34:24 01:34:24 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:latest 01:34:24 #3 DONE 0.0s 01:34:24 01:34:24 #4 [internal] load .dockerignore 01:34:24 #4 transferring context: 2B done 01:34:24 #4 DONE 0.0s 01:34:24 01:34:24 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 01:34:24 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 0.0s done 01:34:24 #5 DONE 0.0s 01:34:24 01:34:24 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 01:34:24 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 0.0s done 01:34:24 #6 CACHED 01:34:24 01:34:24 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 01:34:24 #5 CACHED 01:34:24 01:34:24 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:34:24 #7 DONE 0.0s 01:34:24 01:34:24 #8 exporting to image 01:34:24 #8 exporting layers done 01:34:24 #8 exporting manifest sha256:405f78de929531dbc86427ce718dd0fdda657b23026df83b71037276d375b2f3 done 01:34:24 #8 exporting config sha256:56365dbbd4ad1e808a82c17a433f180036d03ff054cdd1b7776cbd85ca235fc4 done 01:34:24 #8 exporting manifest sha256:adf756ed3358584fbb0134ce754f55f8661340e3566f48a5eb4ebcd246f3600c done 01:34:24 #8 exporting config sha256:32f6caa87aa43761264c60832beb415a2f103eda03b2baf63d2cdb486cf6a7de done 01:34:24 #8 exporting manifest list sha256:4740d5c5ccfd5e3ec364b35d0df208017394b1cae85e4ace8647a5899ab182ef done 01:34:24 #8 pushing layers 0.0s done 01:34:24 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:4740d5c5ccfd5e3ec364b35d0df208017394b1cae85e4ace8647a5899ab182ef 0.1s done 01:34:24 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:34:24 #8 DONE 0.1s 01:34:24 01:34:24 1 warning found (use --debug to expand): 01:34:24  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:34:24 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:34:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:34:24 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.5' 01:34:24 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.5 --push - 01:34:25 #1 [internal] load build definition from Dockerfile 01:34:25 #1 transferring dockerfile: 167B done 01:34:25 #1 DONE 0.0s 01:34:25 01:34:25 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.5 01:34:25 #2 DONE 0.0s 01:34:25 01:34:25 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.5 01:34:25 #3 DONE 0.0s 01:34:25 01:34:25 #4 [internal] load .dockerignore 01:34:25 #4 transferring context: 2B done 01:34:25 #4 DONE 0.0s 01:34:25 01:34:25 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.5@sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 01:34:25 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.5@sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 0.0s done 01:34:25 #5 CACHED 01:34:25 01:34:25 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.5@sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 01:34:25 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.5@sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 0.0s done 01:34:25 #6 CACHED 01:34:25 01:34:25 #7 exporting to image 01:34:25 #7 exporting layers done 01:34:25 #7 exporting manifest sha256:405f78de929531dbc86427ce718dd0fdda657b23026df83b71037276d375b2f3 done 01:34:25 #7 exporting config sha256:56365dbbd4ad1e808a82c17a433f180036d03ff054cdd1b7776cbd85ca235fc4 done 01:34:25 #7 exporting manifest sha256:adf756ed3358584fbb0134ce754f55f8661340e3566f48a5eb4ebcd246f3600c done 01:34:25 #7 exporting config sha256:32f6caa87aa43761264c60832beb415a2f103eda03b2baf63d2cdb486cf6a7de done 01:34:25 #7 exporting manifest list sha256:4740d5c5ccfd5e3ec364b35d0df208017394b1cae85e4ace8647a5899ab182ef done 01:34:25 #7 pushing layers 0.0s done 01:34:25 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.5@sha256:4740d5c5ccfd5e3ec364b35d0df208017394b1cae85e4ace8647a5899ab182ef 01:34:25 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:34:25 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.5@sha256:4740d5c5ccfd5e3ec364b35d0df208017394b1cae85e4ace8647a5899ab182ef 0.1s done 01:34:25 #7 DONE 0.1s 01:34:25 01:34:25 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:34:25 #8 DONE 0.0s 01:34:25 01:34:25 1 warning found (use --debug to expand): 01:34:25  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:34:25 Avoid second fetch 01:34:25 Checking out Revision 6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 (main) 01:34:25 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2-4.1.0-dev.5' 01:34:25 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2-4.1.0-dev.5 --push - 01:34:25 #1 [internal] load build definition from Dockerfile 01:34:25 #1 transferring dockerfile: 208B done 01:34:25 #1 DONE 0.0s 01:34:25 01:34:25 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2-4.1.0-dev.5 01:34:25 #2 DONE 0.0s 01:34:25 01:34:25 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2-4.1.0-dev.5 01:34:25 #3 DONE 0.0s 01:34:25 01:34:25 #4 [internal] load .dockerignore 01:34:25 #4 transferring context: 2B done 01:34:25 #4 DONE 0.0s 01:34:25 01:34:25 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2-4.1.0-dev.5@sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 01:34:25 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2-4.1.0-dev.5@sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 done 01:34:25 #5 CACHED 01:34:25 01:34:25 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2-4.1.0-dev.5@sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 01:34:25 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2-4.1.0-dev.5@sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 0.0s done 01:34:25 #6 CACHED 01:34:25 01:34:25 #7 exporting to image 01:34:25 #7 exporting layers done 01:34:25 #7 exporting manifest sha256:405f78de929531dbc86427ce718dd0fdda657b23026df83b71037276d375b2f3 done 01:34:25 #7 exporting config sha256:56365dbbd4ad1e808a82c17a433f180036d03ff054cdd1b7776cbd85ca235fc4 done 01:34:25 #7 exporting manifest sha256:adf756ed3358584fbb0134ce754f55f8661340e3566f48a5eb4ebcd246f3600c done 01:34:25 #7 exporting config sha256:32f6caa87aa43761264c60832beb415a2f103eda03b2baf63d2cdb486cf6a7de done 01:34:25 #7 exporting manifest list sha256:4740d5c5ccfd5e3ec364b35d0df208017394b1cae85e4ace8647a5899ab182ef done 01:34:25 #7 pushing layers 0.0s done 01:34:25 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2-4.1.0-dev.5@sha256:4740d5c5ccfd5e3ec364b35d0df208017394b1cae85e4ace8647a5899ab182ef 01:34:25 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:34:25 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2-4.1.0-dev.5@sha256:4740d5c5ccfd5e3ec364b35d0df208017394b1cae85e4ace8647a5899ab182ef 0.1s done 01:34:25 #7 DONE 0.1s 01:34:25 01:34:25 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:34:25 #8 DONE 0.0s 01:34:25 01:34:25 1 warning found (use --debug to expand): 01:34:25  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:34:25 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#477)" 01:34:25 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:main' 01:34:25 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:main --push - 01:34:25 #1 [internal] load build definition from Dockerfile 01:34:25 #1 transferring dockerfile: 160B done 01:34:25 #1 DONE 0.0s 01:34:25 01:34:25 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:main 01:34:25 #2 DONE 0.0s 01:34:25 01:34:25 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:main 01:34:25 #3 DONE 0.0s 01:34:25 01:34:25 #4 [internal] load .dockerignore 01:34:25 #4 transferring context: 2B done 01:34:25 #4 DONE 0.0s 01:34:25 01:34:25 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:main@sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 01:34:25 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:main@sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 0.0s done 01:34:25 #5 CACHED 01:34:25 01:34:25 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:main@sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 01:34:25 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:main@sha256:a6324fcde166ada5eff4ad642ac94ab0a2fb45170970120025ede0727cdebd71 0.0s done 01:34:25 #6 CACHED 01:34:25 01:34:25 #7 exporting to image 01:34:25 #7 exporting layers done 01:34:25 #7 exporting manifest sha256:405f78de929531dbc86427ce718dd0fdda657b23026df83b71037276d375b2f3 done 01:34:25 #7 exporting config sha256:56365dbbd4ad1e808a82c17a433f180036d03ff054cdd1b7776cbd85ca235fc4 done 01:34:25 #7 exporting manifest sha256:adf756ed3358584fbb0134ce754f55f8661340e3566f48a5eb4ebcd246f3600c done 01:34:25 #7 exporting config sha256:32f6caa87aa43761264c60832beb415a2f103eda03b2baf63d2cdb486cf6a7de done 01:34:25 #7 exporting manifest list sha256:4740d5c5ccfd5e3ec364b35d0df208017394b1cae85e4ace8647a5899ab182ef 01:34:25 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:34:25 > git config core.sparsecheckout # timeout=10 01:34:25 > git checkout -f 6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 # timeout=10 01:34:26 #7 exporting manifest list sha256:4740d5c5ccfd5e3ec364b35d0df208017394b1cae85e4ace8647a5899ab182ef done 01:34:26 #7 pushing layers 0.0s done 01:34:26 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:main@sha256:4740d5c5ccfd5e3ec364b35d0df208017394b1cae85e4ace8647a5899ab182ef 0.1s done 01:34:26 #7 DONE 0.1s 01:34:26 01:34:26 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:34:26 #8 DONE 0.0s 01:34:26 01:34:26 1 warning found (use --debug to expand): 01:34:26  - 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 01:34:26 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 01:34:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:34:27 ---> package-listing.sh 01:34:27 ++ tr '[:upper:]' '[:lower:]' 01:34:27 ++ facter osfamily 01:34:27 + OS_FAMILY=redhat 01:34:27 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 01:34:27 + START_PACKAGES=/tmp/packages_start.txt 01:34:27 + END_PACKAGES=/tmp/packages_end.txt 01:34:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:34:27 + PACKAGES=/tmp/packages_start.txt 01:34:27 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:34:27 + PACKAGES=/tmp/packages_end.txt 01:34:27 + case "${OS_FAMILY}" in 01:34:27 + rpm -qa 01:34:27 + sort 01:34:28 + '[' -f /tmp/packages_start.txt ']' 01:34:28 + '[' -f /tmp/packages_end.txt ']' 01:34:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:34:28 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:34:28 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 01:34:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 01:34:28 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:34:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:34:29 01:34:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:34:29 latest: Pulling from edgex-lftools-log-publisher 01:34:29 5eb5b503b376: Pulling fs layer 01:34:29 5c69ac0246d0: Pulling fs layer 01:34:29 ec43610c2a17: Pulling fs layer 01:34:29 3a2ae6a8a46f: Pulling fs layer 01:34:29 33b1e0a273af: Pulling fs layer 01:34:29 5d3b04190fa2: Pulling fs layer 01:34:29 2f39f015ded8: Pulling fs layer 01:34:29 3a2ae6a8a46f: Waiting 01:34:29 33b1e0a273af: Waiting 01:34:29 5d3b04190fa2: Waiting 01:34:29 2f39f015ded8: Waiting 01:34:29 5c69ac0246d0: Verifying Checksum 01:34:29 5c69ac0246d0: Download complete 01:34:29 3a2ae6a8a46f: Verifying Checksum 01:34:29 3a2ae6a8a46f: Download complete 01:34:29 33b1e0a273af: Verifying Checksum 01:34:29 33b1e0a273af: Download complete 01:34:29 5d3b04190fa2: Verifying Checksum 01:34:29 5d3b04190fa2: Download complete 01:34:29 ec43610c2a17: Verifying Checksum 01:34:29 ec43610c2a17: Download complete 01:34:29 5eb5b503b376: Verifying Checksum 01:34:29 5eb5b503b376: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:34:30 2f39f015ded8: Verifying Checksum 01:34:30 2f39f015ded8: Download complete 01:34:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:34:30 % Total % Received % Xferd Average Speed Time Time Time Current 01:34:30 Dload Upload Total Spent Left Speed 01:34:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13063 100 13063 0 0 117k 0 --:--:-- --:--:-- --:--:-- 117k [Pipeline] sh 01:34:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:34:31 5eb5b503b376: Pull complete 01:34:31 5c69ac0246d0: Pull complete 01:34:31 + sudo tee /etc/docker/daemon.new 01:34:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:34:31 { 01:34:31 "registry-mirrors": [ 01:34:31 "https://nexus3.edgexfoundry.org:10001" 01:34:31 ], 01:34:31 "bip": "10.250.0.254/24", 01:34:31 "hosts": [ 01:34:31 "tcp://0.0.0.0:5555", 01:34:31 "unix:///var/run/docker.sock" 01:34:31 ], 01:34:31 "mtu": 1458, 01:34:31 "selinux-enabled": true, 01:34:31 "seccomp-profile": "/etc/docker/seccomp.json" 01:34:31 } [Pipeline] sh 01:34:31 ec43610c2a17: Pull complete 01:34:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:34:31 3a2ae6a8a46f: Pull complete 01:34:31 33b1e0a273af: Pull complete 01:34:32 + sudo service docker restart 01:34:32 5d3b04190fa2: Pull complete 01:34:36 2f39f015ded8: Pull complete 01:34:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:34:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:34:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:34:36 prd-centos7-docker-4c-2g-4395 does not seem to be running inside a container 01:34:36 $ 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:34:39 $ docker top c37ac33ec0d2cb8dfd992e52e482cde1348a80c79d3943217b2b93a915d02701 -eo pid,comm [Pipeline] { [Pipeline] sh 01:34:40 + touch /tmp/pre-build-complete [Pipeline] sh 01:34:40 + mkdir -p /var/log/sysstat [Pipeline] sh 01:34:40 + ls /var/log/sa-host 01:34:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:34:40 provisioning config files... 01:34:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1112942661260772196tmp [Pipeline] { [Pipeline] echo 01:34:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:34:41 ---> create-netrc.sh [Pipeline] } 01:34:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:34:41 ---> python-tools-install.sh [Pipeline] echo 01:34:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:34:41 ---> sudo-logs.sh 01:34:41 Archiving 'sudo' log.. 01:34:41 sudo: unable to resolve host prd-centos7-docker-4c-2g-4395.novalocal: Name or service not known 01:34:41 sudo: unable to resolve host prd-centos7-docker-4c-2g-4395.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 01:34:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:34:42 ---> job-cost.sh 01:34:42 lf-activate-venv: SKIPPING 01:34:42 INFO: No Stack... 01:34:43 INFO: Retrieving Pricing Info for: v3-standard-2 01:34:43 INFO: Archiving Costs [Pipeline] echo 01:34:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:34:44 ---> logs-deploy.sh 01:34:44 lf-activate-venv: SKIPPING 01:34:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/204 01:34:44 INFO: archiving workspace using pattern(s): 01:34:45 Archives upload complete. 01:34:45 INFO: archiving logs to Nexus 01:34:46 ---> uname -a: 01:34:46 Linux prd-centos7-docker-4c-2g-4395.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 01:34:46 01:34:46 01:34:46 ---> lscpu: 01:34:46 Architecture: x86_64 01:34:46 CPU op-mode(s): 32-bit, 64-bit 01:34:46 Byte Order: Little Endian 01:34:46 Address sizes: 40 bits physical, 48 bits virtual 01:34:46 CPU(s): 2 01:34:46 On-line CPU(s) list: 0,1 01:34:46 Thread(s) per core: 1 01:34:46 Core(s) per socket: 1 01:34:46 Socket(s): 2 01:34:46 NUMA node(s): 1 01:34:46 Vendor ID: AuthenticAMD 01:34:46 CPU family: 23 01:34:46 Model: 49 01:34:46 Model name: AMD EPYC-Rome Processor 01:34:46 Stepping: 0 01:34:46 CPU MHz: 2800.000 01:34:46 BogoMIPS: 5600.00 01:34:46 Virtualization: AMD-V 01:34:46 Hypervisor vendor: KVM 01:34:46 Virtualization type: full 01:34:46 L1d cache: 64 KiB 01:34:46 L1i cache: 64 KiB 01:34:46 L2 cache: 1 MiB 01:34:46 L3 cache: 32 MiB 01:34:46 NUMA node0 CPU(s): 0,1 01:34:46 Vulnerability Itlb multihit: Not affected 01:34:46 Vulnerability L1tf: Not affected 01:34:46 Vulnerability Mds: Not affected 01:34:46 Vulnerability Meltdown: Not affected 01:34:46 Vulnerability Mmio stale data: Not affected 01:34:46 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:34:46 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 01:34:46 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 01:34:46 Vulnerability Srbds: Not affected 01:34:46 Vulnerability Tsx async abort: Not affected 01:34:46 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 01:34:46 01:34:46 01:34:46 ---> nproc: 01:34:46 2 01:34:46 01:34:46 01:34:46 ---> df -h: 01:34:46 Filesystem Size Used Avail Use% Mounted on 01:34:46 overlay 40G 7.3G 33G 19% / 01:34:46 tmpfs 64M 0 64M 0% /dev 01:34:46 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 01:34:46 shm 64M 0 64M 0% /dev/shm 01:34:46 /dev/vda1 40G 7.3G 33G 19% /facter-os 01:34:46 01:34:46 01:34:46 Cannot open /var/log/sysstat/sa02: No such file or directory 01:34:46 Please check if data collecting is enabled 01:34:46 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:34:46 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 01:34:46 $ docker stop --time=1 c37ac33ec0d2cb8dfd992e52e482cde1348a80c79d3943217b2b93a915d02701 01:34:47 $ docker rm -f --volumes c37ac33ec0d2cb8dfd992e52e482cde1348a80c79d3943217b2b93a915d02701 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 01:34:47 [WS-CLEANUP] Deleting project workspace... 01:34:47 [WS-CLEANUP] Deferred wipeout is used... 01:34:47 [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 01:34:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:34:48 01:34:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:34:48 latest: Pulling from edgex-lftools-log-publisher 01:34:48 5eb5b503b376: Pulling fs layer 01:34:48 5c69ac0246d0: Pulling fs layer 01:34:48 ec43610c2a17: Pulling fs layer 01:34:48 3a2ae6a8a46f: Pulling fs layer 01:34:48 33b1e0a273af: Pulling fs layer 01:34:48 5d3b04190fa2: Pulling fs layer 01:34:48 2f39f015ded8: Pulling fs layer 01:34:48 3a2ae6a8a46f: Waiting 01:34:48 33b1e0a273af: Waiting 01:34:48 2f39f015ded8: Waiting 01:34:48 5d3b04190fa2: Waiting 01:34:48 5c69ac0246d0: Download complete 01:34:48 3a2ae6a8a46f: Download complete 01:34:48 33b1e0a273af: Verifying Checksum 01:34:48 33b1e0a273af: Download complete 01:34:48 5d3b04190fa2: Verifying Checksum 01:34:48 5d3b04190fa2: Download complete 01:34:48 ec43610c2a17: Verifying Checksum 01:34:48 ec43610c2a17: Download complete 01:34:48 5eb5b503b376: Download complete 01:34:49 2f39f015ded8: Verifying Checksum 01:34:49 2f39f015ded8: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:34:50 provisioning config files... 01:34:50 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/204@tmp/config12477567852889741464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:34:50 5eb5b503b376: Pull complete 01:34:50 5c69ac0246d0: Pull complete 01:34:50 ---> ****-login.sh 01:34:50 nexus3.edgexfoundry.org:10001 01:34:50 ec43610c2a17: Pull complete 01:34:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:51 3a2ae6a8a46f: Pull complete 01:34:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:34:51 Configure a credential helper to remove this warning. See 01:34:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:34:51 01:34:51 Login Succeeded 01:34:51 nexus3.edgexfoundry.org:10002 01:34:51 33b1e0a273af: Pull complete 01:34:51 5d3b04190fa2: Pull complete 01:34:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:34:51 Configure a credential helper to remove this warning. See 01:34:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:34:51 01:34:51 Login Succeeded 01:34:51 nexus3.edgexfoundry.org:10003 01:34:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:34:52 Configure a credential helper to remove this warning. See 01:34:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:34:52 01:34:52 Login Succeeded 01:34:52 nexus3.edgexfoundry.org:10004 01:34:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:34:52 Configure a credential helper to remove this warning. See 01:34:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:34:52 01:34:52 Login Succeeded 01:34:52 ****.io 01:34:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:34:52 Configure a credential helper to remove this warning. See 01:34:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:34:52 01:34:52 Login Succeeded 01:34:52 ---> ****-login.sh ends [Pipeline] } 01:34:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:34:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:34:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:34:53 ========================================================= 01:34:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 01:34:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:53 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 01:34:53 Sending build context to Docker daemon 141.8kB 01:34:54 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 01:34:54 Step 2/12 : FROM ${BASE} AS builder 01:34:54 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:34:54 94e9d8af2201: Pulling fs layer 01:34:54 a6c56e8762df: Pulling fs layer 01:34:54 f0f3c8884826: Pulling fs layer 01:34:54 c7e7622c144d: Pulling fs layer 01:34:54 4f4fb700ef54: Pulling fs layer 01:34:54 e8859aadc426: Pulling fs layer 01:34:54 b4813487a9f6: Pulling fs layer 01:34:54 502a3d64fb4b: Pulling fs layer 01:34:54 4f4fb700ef54: Waiting 01:34:54 e8859aadc426: Waiting 01:34:54 b4813487a9f6: Waiting 01:34:54 502a3d64fb4b: Waiting 01:34:54 c7e7622c144d: Waiting 01:34:54 a6c56e8762df: Verifying Checksum 01:34:54 a6c56e8762df: Download complete 01:34:54 c7e7622c144d: Download complete 01:34:54 4f4fb700ef54: Verifying Checksum 01:34:54 4f4fb700ef54: Download complete 01:34:54 e8859aadc426: Verifying Checksum 01:34:54 e8859aadc426: Download complete 01:34:54 94e9d8af2201: Verifying Checksum 01:34:54 94e9d8af2201: Download complete 01:34:54 502a3d64fb4b: Verifying Checksum 01:34:54 502a3d64fb4b: Download complete 01:34:55 94e9d8af2201: Pull complete 01:34:55 a6c56e8762df: Pull complete 01:34:56 f0f3c8884826: Verifying Checksum 01:34:56 f0f3c8884826: Download complete 01:34:57 b4813487a9f6: Verifying Checksum 01:34:57 b4813487a9f6: Download complete 01:34:58 2f39f015ded8: Pull complete 01:34:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:34:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:34:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:34:58 prd-ubuntu20.04-docker-8c-8g-4393 does not seem to be running inside a container 01:34:58 $ 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/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:34:59 $ docker top d49534e820287d328db6a8bdee22f7cb20b2e6e58fb8110b853e41ecfccec6e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:35:00 ---> job-cost.sh 01:35:00 lf-activate-venv: SKIPPING 01:35:00 INFO: No Stack... 01:35:00 INFO: Retrieving Pricing Info for: v3-standard-8 01:35:00 INFO: Archiving Costs [Pipeline] sh 01:35:01 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 01:35:01 + cut -d, -f6 [Pipeline] lock 01:35:01 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-204-stack-cost] 01:35:01 Resource [jenkins-edgexfoundry-device-rest-go-main-204-stack-cost] did not exist. Created. 01:35:01 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-204-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:35:01 + echo total: 0.2199999988079071 [Pipeline] stash 01:35:01 Stashed 1 file(s) [Pipeline] } 01:35:01 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-204-stack-cost] [Pipeline] // lock [Pipeline] } 01:35:01 $ docker stop --time=1 d49534e820287d328db6a8bdee22f7cb20b2e6e58fb8110b853e41ecfccec6e7 01:35:02 $ docker rm -f --volumes d49534e820287d328db6a8bdee22f7cb20b2e6e58fb8110b853e41ecfccec6e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:35:12 f0f3c8884826: Pull complete 01:35:12 c7e7622c144d: Pull complete 01:35:12 4f4fb700ef54: Pull complete 01:35:12 e8859aadc426: Pull complete 01:35:20 b4813487a9f6: Pull complete 01:35:20 502a3d64fb4b: Pull complete 01:35:20 Digest: sha256:ccce412edaf9646599052987b87cd187cc8535800fd55ebf268fc97f1e5e6dde 01:35:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 01:35:20 ---> 3bb21d53e231 01:35:20 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:35:21 ---> Running in a77547044056 01:35:21 Removing intermediate container a77547044056 01:35:21 ---> fbf655e62164 01:35:21 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:35:22 ---> Running in f4c4cfdccba9 01:35:22 Removing intermediate container f4c4cfdccba9 01:35:22 ---> 233c74b6d1fe 01:35:22 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:35:22 ---> Running in f12972bae96e 01:35:22 Removing intermediate container f12972bae96e 01:35:22 ---> 5348e1dd8ed3 01:35:22 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:35:22 ---> Running in c20dae19eb83 01:35:22 Removing intermediate container c20dae19eb83 01:35:22 ---> 88008238518d 01:35:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:35:22 ---> Running in af4a6d265388 01:35:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:35:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:35:26 (1/4) Installing openssh-keygen (9.7_p1-r5) 01:35:26 (2/4) Installing libedit (20240517.3.1-r0) 01:35:26 (3/4) Installing openssh-client-common (9.7_p1-r5) 01:35:26 (4/4) Installing openssh-client-default (9.7_p1-r5) 01:35:26 Executing busybox-1.36.1-r29.trigger 01:35:26 OK: 244 MiB in 62 packages 01:35:26 Removing intermediate container af4a6d265388 01:35:26 ---> 9008604c810e 01:35:26 Step 8/12 : WORKDIR /device-rest-go 01:35:27 ---> Running in 217b80fffa59 01:35:27 Removing intermediate container 217b80fffa59 01:35:27 ---> 134e36b6c7ff 01:35:27 Step 9/12 : COPY go.mod vendor* ./ 01:35:28 ---> a21a856d3340 01:35:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:35:28 ---> Running in 67d9387c2af4 01:37:49 Removing intermediate container 67d9387c2af4 01:37:49 ---> f37f8f67b0f8 01:37:49 Step 11/12 : COPY . . 01:37:49 ---> 1da37b50a64c 01:37:49 Step 12/12 : RUN $MAKE 01:37:49 ---> Running in 94f64ae9a7c1 01:37:50 noop 01:37:51 Removing intermediate container 94f64ae9a7c1 01:37:51 ---> 9f74d59c4167 01:37:51 Successfully built 9f74d59c4167 01:37:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:51 + docker inspect -f . ci-base-image-arm64 01:37:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:52 prd-ubuntu20.04-docker-arm64-4c-16g-4394 does not seem to be running inside a container 01:37:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/204 -v /w/workspace/device-rest-go/204:/w/workspace/device-rest-go/204:rw,z -v /w/workspace/device-rest-go/204@tmp:/w/workspace/device-rest-go/204@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 01:37:53 $ docker top 8a5fd49cc8f8722830fde57d888381ceebc068afb2b6f76217a5e034b1d7ea54 -eo pid,comm [Pipeline] { [Pipeline] sh 01:37:54 + go version 01:37:54 go version go1.23.9 linux/arm64 [Pipeline] } 01:37:54 $ docker stop --time=1 8a5fd49cc8f8722830fde57d888381ceebc068afb2b6f76217a5e034b1d7ea54 01:37:55 $ docker rm -f --volumes 8a5fd49cc8f8722830fde57d888381ceebc068afb2b6f76217a5e034b1d7ea54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:56 + docker inspect -f . ci-base-image-arm64 01:37:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:56 prd-ubuntu20.04-docker-arm64-4c-16g-4394 does not seem to be running inside a container 01:37:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/204 -v /w/workspace/device-rest-go/204:/w/workspace/device-rest-go/204:rw,z -v /w/workspace/device-rest-go/204@tmp:/w/workspace/device-rest-go/204@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 01:37:57 $ docker top 3fd460c4c757c97482b5404337906363a9e521754561a99fe2ff514fdda65a8c -eo pid,comm [Pipeline] { [Pipeline] sh 01:37:58 + git config --global --add safe.directory /w/workspace/device-rest-go/204 [Pipeline] fileExists [Pipeline] sh 01:37:58 + make test 01:37:59 go test ./... -coverprofile=coverage.out ./... 01:38:04 ? github.com/edgexfoundry/device-rest-go [no test files] 01:41:26 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 01:41:26 ok github.com/edgexfoundry/device-rest-go/driver 0.041s coverage: 32.2% of statements 01:41:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:41:26 go vet ./... 01:42:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:42:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:42:13 ./bin/test-attribution-txt.sh 01:42:13 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 01:42:13 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add 01:42:13 An attribution for github.com/zitadel/logging is missing from Attribution.txt, please add 01:42:13 An attribution for github.com/zitadel/oidc/v3 is missing from Attribution.txt, please add 01:42:13 An attribution for github.com/zitadel/schema is missing from Attribution.txt, please add [Pipeline] echo 01:42:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 01:42:13 $ docker stop --time=1 3fd460c4c757c97482b5404337906363a9e521754561a99fe2ff514fdda65a8c 01:42:14 $ docker rm -f --volumes 3fd460c4c757c97482b5404337906363a9e521754561a99fe2ff514fdda65a8c [Pipeline] // withDockerContainer [Pipeline] sh 01:42:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:42:16 Warning: overwriting stash ‘coverage-report’ 01:42:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:42:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:42:17 + ls -al . 01:42:17 total 240 01:42:17 drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 01:38 . 01:42:17 drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 01:34 .. 01:42:17 -rw-rw-r-- 1 jenkins jenkins 151 Jul 2 01:34 .dockerignore 01:42:17 drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 01:34 .git 01:42:17 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 01:34 .github 01:42:17 -rw-rw-r-- 1 jenkins jenkins 264 Jul 2 01:34 .gitignore 01:42:17 -rw-rw-r-- 1 jenkins jenkins 41 Jul 2 01:34 .golangci.yml 01:42:17 -rw-rw-r-- 1 jenkins jenkins 20138 Jul 2 01:34 Attribution.txt 01:42:17 -rw-rw-r-- 1 jenkins jenkins 18492 Jul 2 01:34 CHANGELOG.md 01:42:17 -rw-rw-r-- 1 jenkins jenkins 1697 Jul 2 01:34 Dockerfile 01:42:17 -rw-rw-r-- 1 jenkins jenkins 677 Jul 2 01:34 GOVERNANCE.md 01:42:17 -rw-rw-r-- 1 jenkins jenkins 680 Jul 2 01:34 Jenkinsfile 01:42:17 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 2 01:34 LICENSE 01:42:17 -rw-rw-r-- 1 jenkins jenkins 2598 Jul 2 01:34 Makefile 01:42:17 -rw-rw-r-- 1 jenkins jenkins 620 Jul 2 01:34 OWNERS.md 01:42:17 -rw-rw-r-- 1 jenkins jenkins 3989 Jul 2 01:34 README.md 01:42:17 -rw-rw-r-- 1 jenkins jenkins 11 Jul 2 01:30 VERSION 01:42:17 drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 01:34 bin 01:42:17 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 01:34 cmd 01:42:17 -rw-r--r-- 1 jenkins jenkins 14565 Jul 2 01:41 coverage.out 01:42:17 drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 01:34 driver 01:42:17 -rw-rw-r-- 1 jenkins jenkins 6272 Jul 2 01:34 go.mod 01:42:17 -rw-rw-r-- 1 jenkins jenkins 86763 Jul 2 01:34 go.sum 01:42:17 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 01:34 openapi 01:42:17 -rw-rw-r-- 1 jenkins jenkins 713 Jul 2 01:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:17 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 --label arch=arm64 --label version=4.1.0-dev.5 . 01:42:17 Sending build context to Docker daemon 157.2kB 01:42:18 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 01:42:18 Step 2/26 : FROM ${BASE} AS builder 01:42:18 ---> 9f74d59c4167 01:42:18 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:42:18 ---> Running in 6397c7c9e16d 01:42:18 Removing intermediate container 6397c7c9e16d 01:42:18 ---> f9687c783150 01:42:18 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:42:18 ---> Running in a0e69f558042 01:42:19 Removing intermediate container a0e69f558042 01:42:19 ---> 96f02bc0b9b8 01:42:19 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:42:19 ---> Running in 57084e004661 01:42:19 Removing intermediate container 57084e004661 01:42:19 ---> b71a9fef7d0b 01:42:19 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:42:19 ---> Running in 00050236266f 01:42:19 Removing intermediate container 00050236266f 01:42:19 ---> 6ae6c086611c 01:42:19 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:42:19 ---> Running in f16dd6cff453 01:42:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:42:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:42:22 OK: 244 MiB in 62 packages 01:42:23 Removing intermediate container f16dd6cff453 01:42:23 ---> a1e60b8b8fa5 01:42:23 Step 8/26 : WORKDIR /device-rest-go 01:42:23 ---> Running in 6eea3fabea7f 01:42:23 Removing intermediate container 6eea3fabea7f 01:42:23 ---> 9ea5cef7d973 01:42:23 Step 9/26 : COPY go.mod vendor* ./ 01:42:24 ---> b44b2ee05287 01:42:24 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:42:24 ---> Running in cb448d5b5f5c 01:42:27 Removing intermediate container cb448d5b5f5c 01:42:27 ---> a54f846f3299 01:42:27 Step 11/26 : COPY . . 01:42:27 ---> ad90aca500f8 01:42:27 Step 12/26 : RUN $MAKE 01:42:28 ---> Running in 64a28d0df633 01:42:29 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.19 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 01:45:50 Removing intermediate container 64a28d0df633 01:45:50 ---> 11409b0caa48 01:45:50 Step 13/26 : FROM alpine:3.20 01:45:50 3.20: Pulling from library/alpine 01:45:50 94e9d8af2201: Already exists 01:45:50 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 01:45:50 Status: Downloaded newer image for alpine:3.20 01:45:50 ---> 7aab056cecc6 01:45:50 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:45:50 ---> Running in 26d266d9e69c 01:45:50 Removing intermediate container 26d266d9e69c 01:45:50 ---> b056bdba3865 01:45:50 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 01:45:50 ---> Running in 673604990e59 01:45:50 Removing intermediate container 673604990e59 01:45:50 ---> a9dd96493de4 01:45:50 Step 16/26 : RUN apk add --update --no-cache dumb-init 01:45:50 ---> Running in 3fbe1051bd45 01:45:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:45:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:45:50 (1/1) Installing dumb-init (1.2.5-r3) 01:45:50 Executing busybox-1.36.1-r29.trigger 01:45:50 OK: 9 MiB in 15 packages 01:45:51 Removing intermediate container 3fbe1051bd45 01:45:51 ---> 9a4bfd08b96b 01:45:51 Step 17/26 : RUN apk --no-cache upgrade 01:45:51 ---> Running in 993fdb06f8bf 01:45:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:45:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:45:54 OK: 9 MiB in 15 packages 01:45:55 Removing intermediate container 993fdb06f8bf 01:45:55 ---> 44959f57df3f 01:45:55 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 01:45:57 ---> bd3f4186daab 01:45:57 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 01:45:58 ---> 479a7f5f9a8f 01:45:58 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 01:45:58 ---> eafd54caeae0 01:45:58 Step 21/26 : EXPOSE 59986 01:45:58 ---> Running in 9b84c20c18f5 01:45:58 Removing intermediate container 9b84c20c18f5 01:45:58 ---> d2fbcfc7e920 01:45:58 Step 22/26 : ENTRYPOINT ["/device-rest"] 01:45:59 ---> Running in 29d46d644764 01:45:59 Removing intermediate container 29d46d644764 01:45:59 ---> 867b1aec395a 01:45:59 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 01:45:59 ---> Running in 4ee6d197b81c 01:45:59 Removing intermediate container 4ee6d197b81c 01:45:59 ---> b5f77e1a665b 01:45:59 Step 24/26 : LABEL arch=arm64 01:45:59 ---> Running in c761e263aa73 01:46:00 Removing intermediate container c761e263aa73 01:46:00 ---> d01feeb32bb7 01:46:00 Step 25/26 : LABEL git_sha=6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 01:46:00 ---> Running in a60a91118477 01:46:00 Removing intermediate container a60a91118477 01:46:00 ---> e98b94b6cc05 01:46:00 Step 26/26 : LABEL version=4.1.0-dev.5 01:46:00 ---> Running in bcd978294398 01:46:00 Removing intermediate container bcd978294398 01:46:00 ---> a03c47983e88 01:46:00 [Warning] One or more build-args [ARCH] were not consumed 01:46:00 Successfully built a03c47983e88 01:46:00 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:46:01 provisioning config files... 01:46:01 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/204@tmp/config3664157338677067494tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:46:01 ---> ****-login.sh 01:46:01 nexus3.edgexfoundry.org:10001 01:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:46:01 Configure a credential helper to remove this warning. See 01:46:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:46:01 01:46:01 Login Succeeded 01:46:01 nexus3.edgexfoundry.org:10002 01:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:46:01 Configure a credential helper to remove this warning. See 01:46:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:46:01 01:46:01 Login Succeeded 01:46:01 nexus3.edgexfoundry.org:10003 01:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:46:02 Configure a credential helper to remove this warning. See 01:46:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:46:02 01:46:02 Login Succeeded 01:46:02 nexus3.edgexfoundry.org:10004 01:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:46:02 Configure a credential helper to remove this warning. See 01:46:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:46:02 01:46:02 Login Succeeded 01:46:02 ****.io 01:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:46:03 Configure a credential helper to remove this warning. See 01:46:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:46:03 01:46:03 Login Succeeded 01:46:03 ---> ****-login.sh ends [Pipeline] } 01:46:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:46:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:46:03 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 01:46:03 6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 01:46:03 latest 01:46:03 4.1.0-dev.5 01:46:03 6836131fe303b61572fae9eb95d6f8fc2f5ccfc2-4.1.0-dev.5 01:46:03 main 01:46:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:03 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:04 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 01:46:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:46:04 cf97fe0bb920: Preparing 01:46:04 378937898a73: Preparing 01:46:04 e0590f235755: Preparing 01:46:04 470840179fb9: Preparing 01:46:04 ef85666a099b: Preparing 01:46:04 dd9c8f8612c8: Preparing 01:46:04 dd9c8f8612c8: Waiting 01:46:04 378937898a73: Pushed 01:46:04 cf97fe0bb920: Pushed 01:46:04 470840179fb9: Pushed 01:46:04 ef85666a099b: Pushed 01:46:04 dd9c8f8612c8: Layer already exists 01:46:12 e0590f235755: Pushed 01:46:12 6836131fe303b61572fae9eb95d6f8fc2f5ccfc2: digest: sha256:8f1c1fecd769151c1d2d3dba8bc6a6dd8bc85dcbd448a7615c982082736cdbec size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:12 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:13 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:46:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:46:13 cf97fe0bb920: Preparing 01:46:13 378937898a73: Preparing 01:46:13 e0590f235755: Preparing 01:46:13 470840179fb9: Preparing 01:46:13 ef85666a099b: Preparing 01:46:13 dd9c8f8612c8: Preparing 01:46:13 dd9c8f8612c8: Waiting 01:46:13 cf97fe0bb920: Layer already exists 01:46:13 470840179fb9: Layer already exists 01:46:13 e0590f235755: Layer already exists 01:46:13 ef85666a099b: Layer already exists 01:46:13 378937898a73: Layer already exists 01:46:13 dd9c8f8612c8: Layer already exists 01:46:13 latest: digest: sha256:8f1c1fecd769151c1d2d3dba8bc6a6dd8bc85dcbd448a7615c982082736cdbec size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:13 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:13 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.5 01:46:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:46:13 cf97fe0bb920: Preparing 01:46:13 378937898a73: Preparing 01:46:13 e0590f235755: Preparing 01:46:13 470840179fb9: Preparing 01:46:13 ef85666a099b: Preparing 01:46:13 dd9c8f8612c8: Preparing 01:46:13 dd9c8f8612c8: Waiting 01:46:13 cf97fe0bb920: Layer already exists 01:46:13 e0590f235755: Layer already exists 01:46:13 ef85666a099b: Layer already exists 01:46:13 470840179fb9: Layer already exists 01:46:13 378937898a73: Layer already exists 01:46:13 dd9c8f8612c8: Layer already exists 01:46:13 4.1.0-dev.5: digest: sha256:8f1c1fecd769151c1d2d3dba8bc6a6dd8bc85dcbd448a7615c982082736cdbec size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:14 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2-4.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:14 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2-4.1.0-dev.5 01:46:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:46:14 cf97fe0bb920: Preparing 01:46:14 378937898a73: Preparing 01:46:14 e0590f235755: Preparing 01:46:14 470840179fb9: Preparing 01:46:14 ef85666a099b: Preparing 01:46:14 dd9c8f8612c8: Preparing 01:46:14 dd9c8f8612c8: Waiting 01:46:14 ef85666a099b: Layer already exists 01:46:14 378937898a73: Layer already exists 01:46:14 cf97fe0bb920: Layer already exists 01:46:14 470840179fb9: Layer already exists 01:46:14 e0590f235755: Layer already exists 01:46:14 dd9c8f8612c8: Layer already exists 01:46:14 6836131fe303b61572fae9eb95d6f8fc2f5ccfc2-4.1.0-dev.5: digest: sha256:8f1c1fecd769151c1d2d3dba8bc6a6dd8bc85dcbd448a7615c982082736cdbec size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:15 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:15 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 01:46:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:46:15 cf97fe0bb920: Preparing 01:46:15 378937898a73: Preparing 01:46:15 e0590f235755: Preparing 01:46:15 470840179fb9: Preparing 01:46:15 ef85666a099b: Preparing 01:46:15 dd9c8f8612c8: Preparing 01:46:15 dd9c8f8612c8: Waiting 01:46:15 470840179fb9: Layer already exists 01:46:15 378937898a73: Layer already exists 01:46:15 cf97fe0bb920: Layer already exists 01:46:15 e0590f235755: Layer already exists 01:46:15 ef85666a099b: Layer already exists 01:46:15 dd9c8f8612c8: Layer already exists 01:46:15 main: digest: sha256:8f1c1fecd769151c1d2d3dba8bc6a6dd8bc85dcbd448a7615c982082736cdbec size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:46:15 ===================================================== [Pipeline] echo 01:46:15 taggedImages: 01:46:15 - nexus3.edgexfoundry.org:10004/device-rest-arm64:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 01:46:15 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:46:15 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.5 01:46:15 - nexus3.edgexfoundry.org:10004/device-rest-arm64:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2-4.1.0-dev.5 01:46:15 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] echo 01:46:16 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 [Pipeline] echo 01:46:16 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] echo 01:46:16 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.5 [Pipeline] echo 01:46:16 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:6836131fe303b61572fae9eb95d6f8fc2f5ccfc2-4.1.0-dev.5 [Pipeline] echo 01:46:16 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:46:16 01:46:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:46:16 arm64: Pulling from edgex-lftools-log-publisher 01:46:16 8998bd30e6a1: Pulling fs layer 01:46:16 04944245beec: Pulling fs layer 01:46:16 699f458cf7ca: Pulling fs layer 01:46:16 765212b225bb: Pulling fs layer 01:46:16 f23df028b6ca: Pulling fs layer 01:46:16 d65c8cfc05b1: Pulling fs layer 01:46:16 2437ff75d9bd: Pulling fs layer 01:46:16 765212b225bb: Waiting 01:46:16 f23df028b6ca: Waiting 01:46:16 d65c8cfc05b1: Waiting 01:46:16 2437ff75d9bd: Waiting 01:46:17 04944245beec: Verifying Checksum 01:46:17 04944245beec: Download complete 01:46:17 765212b225bb: Verifying Checksum 01:46:17 765212b225bb: Download complete 01:46:17 f23df028b6ca: Verifying Checksum 01:46:17 f23df028b6ca: Download complete 01:46:17 d65c8cfc05b1: Verifying Checksum 01:46:17 d65c8cfc05b1: Download complete 01:46:17 699f458cf7ca: Verifying Checksum 01:46:17 699f458cf7ca: Download complete 01:46:17 8998bd30e6a1: Verifying Checksum 01:46:17 8998bd30e6a1: Download complete 01:46:20 2437ff75d9bd: Verifying Checksum 01:46:20 2437ff75d9bd: Download complete 01:46:22 8998bd30e6a1: Pull complete 01:46:22 04944245beec: Pull complete 01:46:24 699f458cf7ca: Pull complete 01:46:24 765212b225bb: Pull complete 01:46:25 f23df028b6ca: Pull complete 01:46:25 d65c8cfc05b1: Pull complete 01:46:43 2437ff75d9bd: Pull complete 01:46:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:46:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:46:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:46:44 prd-ubuntu20.04-docker-arm64-4c-16g-4394 does not seem to be running inside a container 01:46:44 $ 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-rest-go/204 -v /w/workspace/device-rest-go/204:/w/workspace/device-rest-go/204:rw,z -v /w/workspace/device-rest-go/204@tmp:/w/workspace/device-rest-go/204@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 01:46:46 $ docker top 04d947689ebc11b7e1c44134d86d2a8cd1ab6e2f30f19fbf057bfef9a9698c71 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:46:47 ---> job-cost.sh 01:46:47 lf-activate-venv: SKIPPING 01:46:47 INFO: No Stack... 01:46:48 INFO: Retrieving Pricing Info for: v3-standard-4 01:46:48 INFO: Archiving Costs [Pipeline] sh 01:46:49 + cut -d, -f6 01:46:49 + cat /w/workspace/device-rest-go/204/archives/cost.csv [Pipeline] lock 01:46:49 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-204-stack-cost] 01:46:49 Resource [jenkins-edgexfoundry-device-rest-go-main-204-stack-cost] did not exist. Created. 01:46:49 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-204-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:46:50 /w/workspace/device-rest-go/204@tmp/durable-d7cd3fa7/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:46:51 + echo total: 0.10999999940395355 [Pipeline] stash 01:46:51 Warning: overwriting stash ‘stack-cost’ 01:46:51 Stashed 1 file(s) [Pipeline] } 01:46:51 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-204-stack-cost] [Pipeline] // lock [Pipeline] } 01:46:51 $ docker stop --time=1 04d947689ebc11b7e1c44134d86d2a8cd1ab6e2f30f19fbf057bfef9a9698c71 01:46:52 $ docker rm -f --volumes 04d947689ebc11b7e1c44134d86d2a8cd1ab6e2f30f19fbf057bfef9a9698c71 [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 01:46:53 provisioning config files... 01:46:53 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5284989737694839591tmp [Pipeline] { [Pipeline] sh 01:46:53 + set +x 01:46:53 + curl -s https://codecov.io/bash 01:46:53 + bash -s -- 01:46:53 01:46:53 _____ _ 01:46:53 / ____| | | 01:46:53 | | ___ __| | ___ ___ _____ __ 01:46:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:46:53 | |___| (_) | (_| | __/ (_| (_) \ V / 01:46:53 \_____\___/ \__,_|\___|\___\___/ \_/ 01:46:53 Bash-1.0.6 01:46:53 01:46:53 01:46:53 ==> git version 2.25.1 found 01:46:53 ==> 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 01:46:53 Release-Date: 2020-01-08 01:46:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:46:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:46:53 ==> Jenkins CI detected. 01:46:53 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 01:46:53 project root: . 01:46:53 --> token set from env 01:46:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:46:53 ==> Running gcov in . (disable via -X gcov) 01:46:53 ==> Python coveragepy not found 01:46:53 ==> Searching for coverage reports in: 01:46:53 + . 01:46:53 -> Found 1 reports 01:46:53 ==> Detecting git/mercurial file structure 01:46:53 ==> Reading reports 01:46:53 + ./coverage.out bytes=14565 01:46:53 ==> Appending adjustments 01:46:53 https://docs.codecov.io/docs/fixing-reports 01:46:53 + Found adjustments 01:46:53 ==> Gzipping contents 01:46:53 4.0K /tmp/codecov.9javXv.gz 01:46:53 ==> Uploading reports 01:46:53 url: https://codecov.io 01:46:53 query: branch=main&commit=6836131fe303b61572fae9eb95d6f8fc2f5ccfc2&build=204&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F204%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:46:53 -> Pinging Codecov 01:46:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=6836131fe303b61572fae9eb95d6f8fc2f5ccfc2&build=204&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F204%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:46:53 -> Uploading to 01:46:53 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/6836131fe303b61572fae9eb95d6f8fc2f5ccfc2/e3c63f6f-d26f-45b0-b465-b3571359cdc1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250702%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250702T014653Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=47a7965033e86ff06ded8afed23577aedf43ed8e5ae441bced5da39e628e0b0a 01:46:53 % Total % Received % Xferd Average Speed Time Time Time Current 01:46:53 Dload Upload Total Spent Left Speed 01:46:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2326 0 0 100 2326 0 8777 --:--:-- --:--:-- --:--:-- 8777 01:46:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 [Pipeline] } 01:46:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:46:54 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:46:54 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:46:54 01:46:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:46:55 latest: Pulling from edgex-devops/edgex-snyk-go 01:46:55 0a9a5dfd008f: Already exists 01:46:55 36466aa92d05: Already exists 01:46:55 e10405b45d13: Already exists 01:46:55 096b7ceb2af7: Already exists 01:46:55 4f4fb700ef54: Already exists 01:46:55 e50aa161e22a: Pulling fs layer 01:46:55 d3c8db5fb9df: Pulling fs layer 01:46:55 e50aa161e22a: Download complete 01:46:55 e50aa161e22a: Pull complete 01:46:56 d3c8db5fb9df: Verifying Checksum 01:46:56 d3c8db5fb9df: Download complete 01:47:00 d3c8db5fb9df: Pull complete 01:47:00 Digest: sha256:dd1bc05e8109ba836052a65277634c2595aaffbf12b6b6479deaea63345484be 01:47:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:47:00 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:00 prd-ubuntu20.04-docker-8c-8g-4393 does not seem to be running inside a container 01:47:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 01:47:01 $ docker top c4e112d6097469f2fe79a2b20d2b53928a3e9640930ed54c6902cc0301f51f58 -eo pid,comm [Pipeline] { [Pipeline] sh 01:47:01 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 01:47:01 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 01:47:02 + set -o pipefail 01:47:02 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 01:47:12 01:47:12 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 01:47:12 01:47:12 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/80a30194-45aa-4d5f-8b26-5bc5a0c6420f 01:47:12 01:47:12 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:47:12 [Pipeline] } 01:47:12 $ docker stop --time=1 c4e112d6097469f2fe79a2b20d2b53928a3e9640930ed54c6902cc0301f51f58 01:47:14 $ docker rm -f --volumes c4e112d6097469f2fe79a2b20d2b53928a3e9640930ed54c6902cc0301f51f58 [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 01:47:15 + git log --format=format:%s -1 6836131fe303b61572fae9eb95d6f8fc2f5ccfc2 [Pipeline] sh 01:47:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:47:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:47:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:16 prd-ubuntu20.04-docker-8c-8g-4393 does not seem to be running inside a container 01:47:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:47:16 $ docker top 22fcdd31d353b5b707cf709093e66cdd1c48ebb3cd0fccc7c5c5c8ef4144a66f -eo pid,comm 01:47:16 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). 01:47:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:47:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:47:16 [ssh-agent] Looking for ssh-agent implementation... 01:47:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:47:16 $ docker exec 22fcdd31d353b5b707cf709093e66cdd1c48ebb3cd0fccc7c5c5c8ef4144a66f ssh-agent 01:47:16 SSH_AUTH_SOCK=/tmp/ssh-9k0awLVkkBcc/agent.32 01:47:16 SSH_AGENT_PID=38 01:47:16 Running ssh-add (command line suppressed) 01:47:16 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13108882473944497304.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13108882473944497304.key) 01:47:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:47:17 + git semver tag 01:47:17 2025-07-02 01:47:17,370 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 01:47:17 2025-07-02 01:47:17,374 [run_tag] DEBUG tag force:False 01:47:17 2025-07-02 01:47:17,374 [check_head_tag] DEBUG check head tag 01:47:17 2025-07-02 01:47:17,374 [execute] INFO git cat-file --batch-check 01:47:17 2025-07-02 01:47:17,374 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=, shell=False, universal_newlines=False) 01:47:17 2025-07-02 01:47:17,377 [execute] INFO git cat-file --batch 01:47:17 2025-07-02 01:47:17,377 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=, shell=False, universal_newlines=False) 01:47:17 2025-07-02 01:47:17,385 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:47:17 2025-07-02 01:47:17,385 [execute] INFO git tag -a v4.1.0-dev.5 -m v4.1.0-dev.5 01:47:17 2025-07-02 01:47:17,385 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.1.0-dev.5', '-m', 'v4.1.0-dev.5'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=None, shell=False, universal_newlines=False) 01:47:17 2025-07-02 01:47:17,388 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:47:17 4.1.0-dev.5 [Pipeline] } 01:47:17 $ docker exec --env ******** --env ******** 22fcdd31d353b5b707cf709093e66cdd1c48ebb3cd0fccc7c5c5c8ef4144a66f ssh-agent -k 01:47:17 unset SSH_AUTH_SOCK; 01:47:17 unset SSH_AGENT_PID; 01:47:17 echo Agent pid 38 killed; 01:47:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:47:18 + git semver [Pipeline] } 01:47:18 $ docker stop --time=1 22fcdd31d353b5b707cf709093e66cdd1c48ebb3cd0fccc7c5c5c8ef4144a66f 01:47:19 $ docker rm -f --volumes 22fcdd31d353b5b707cf709093e66cdd1c48ebb3cd0fccc7c5c5c8ef4144a66f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:47:20 01:47:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:47:20 0.23.1-centos7: Pulling from edgex-lftools 01:47:20 ab5ef0e58194: Pulling fs layer 01:47:20 9712f1f96733: Pulling fs layer 01:47:20 63f879dbbcfc: Pulling fs layer 01:47:20 0d9ebad4ef96: Pulling fs layer 01:47:20 e9a5061849ea: Pulling fs layer 01:47:20 d747dcd14b5f: Pulling fs layer 01:47:20 2de7ff778b66: Pulling fs layer 01:47:20 0d9ebad4ef96: Waiting 01:47:20 e9a5061849ea: Waiting 01:47:20 d747dcd14b5f: Waiting 01:47:20 2de7ff778b66: Waiting 01:47:20 63f879dbbcfc: Verifying Checksum 01:47:20 63f879dbbcfc: Download complete 01:47:20 e9a5061849ea: Verifying Checksum 01:47:20 e9a5061849ea: Download complete 01:47:20 d747dcd14b5f: Download complete 01:47:20 ab5ef0e58194: Verifying Checksum 01:47:20 ab5ef0e58194: Download complete 01:47:20 2de7ff778b66: Verifying Checksum 01:47:20 2de7ff778b66: Download complete 01:47:20 0d9ebad4ef96: Download complete 01:47:25 ab5ef0e58194: Pull complete 01:47:25 9712f1f96733: Pull complete 01:47:25 63f879dbbcfc: Pull complete 01:47:32 0d9ebad4ef96: Pull complete 01:47:32 e9a5061849ea: Pull complete 01:47:32 d747dcd14b5f: Pull complete 01:47:33 2de7ff778b66: Pull complete 01:47:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:47:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:47:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:33 prd-ubuntu20.04-docker-8c-8g-4393 does not seem to be running inside a container 01:47:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:47:35 $ docker top 210d01f6dd428b0b40a091e2593161073c081c202c69d5a5fc1d9c05a744d249 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:47:35 provisioning config files... 01:47:35 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12963338310786397148tmp 01:47:35 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18319460092577039320tmp 01:47:35 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13740925985318570313tmp [Pipeline] { [Pipeline] echo 01:47:35 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:47:35 ---> sigul-configuration.sh 01:47:35 gpg: directory `/root/.gnupg' created 01:47:35 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:47:35 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:47:35 gpg: keyring `/root/.gnupg/secring.gpg' created 01:47:35 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:47:35 gpg: CAST5 encrypted data 01:47:35 gpg: encrypted with 1 passphrase 01:47:35 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:47:35 + mkdir /home/jenkins 01:47:35 + mkdir /home/jenkins/sigul [Pipeline] sh 01:47:36 + 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 01:47:36 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:47:36 ---> sigul-install.sh 01:47:36 Sigul already installed; skipping installation. [Pipeline] sh 01:47:36 + git tag --list 01:47:36 v1.0.0 01:47:36 v1.1.0 01:47:36 v1.1.1 01:47:36 v1.1.2 01:47:36 v1.2.0 01:47:36 v1.2.1 01:47:36 v2.0.0 01:47:36 v2.1.0 01:47:36 v2.1.1 01:47:36 v2.2.0 01:47:36 v2.3.0 01:47:36 v3.0 01:47:36 v3.0.0 01:47:36 v3.1 01:47:36 v3.1.0 01:47:36 v3.1.1 01:47:36 v4.0 01:47:36 v4.0.0 01:47:36 v4.1.0-dev.1 01:47:36 v4.1.0-dev.2 01:47:36 v4.1.0-dev.3 01:47:36 v4.1.0-dev.4 01:47:36 v4.1.0-dev.5 [Pipeline] sh 01:47:36 + lftools sign git-tag v4.1.0-dev.5 01:47:37 Signing Git tag with Sigul... 01:47:37 Signing v4.1.0-dev.5 [Pipeline] echo 01:47:37 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:47:38 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:47:38 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:47:38 $ docker stop --time=1 210d01f6dd428b0b40a091e2593161073c081c202c69d5a5fc1d9c05a744d249 01:47:39 $ docker rm -f --volumes 210d01f6dd428b0b40a091e2593161073c081c202c69d5a5fc1d9c05a744d249 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:47:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:47:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:47:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:40 prd-ubuntu20.04-docker-8c-8g-4393 does not seem to be running inside a container 01:47:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:47:40 $ docker top 188f454143faf171fbea11f1267c33b0670cb69bfaaeaf904030031592843f42 -eo pid,comm 01:47:40 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). 01:47:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:47:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:47:40 [ssh-agent] Looking for ssh-agent implementation... 01:47:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:47:40 $ docker exec 188f454143faf171fbea11f1267c33b0670cb69bfaaeaf904030031592843f42 ssh-agent 01:47:40 SSH_AUTH_SOCK=/tmp/ssh-NjACHXYngL6d/agent.33 01:47:40 SSH_AGENT_PID=40 01:47:40 Running ssh-add (command line suppressed) 01:47:41 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1640765148628879561.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1640765148628879561.key) 01:47:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:47:41 + git semver bump pre 01:47:41 2025-07-02 01:47:41,549 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 01:47:41 2025-07-02 01:47:41,554 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:47:41 2025-07-02 01:47:41,554 [bump_version] DEBUG bumping version:4.1.0-dev.5 on axis:pre with prefix:dev 01:47:41 2025-07-02 01:47:41,554 [bump_version] DEBUG bumped version:4.1.0-dev.6 01:47:41 2025-07-02 01:47:41,554 [write_version] DEBUG write version:4.1.0-dev.6 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 01:47:41 2025-07-02 01:47:41,554 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:47:41 2025-07-02 01:47:41,554 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:47:41 2025-07-02 01:47:41,556 [execute] INFO git cat-file --batch-check 01:47:41 2025-07-02 01:47:41,556 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=, shell=False, universal_newlines=False) 01:47:41 2025-07-02 01:47:41,559 [execute] INFO git cat-file --batch 01:47:41 2025-07-02 01:47:41,559 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=, shell=False, universal_newlines=False) 01:47:41 2025-07-02 01:47:41,562 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:47:41 4.1.0-dev.6 [Pipeline] } 01:47:41 $ docker exec --env ******** --env ******** 188f454143faf171fbea11f1267c33b0670cb69bfaaeaf904030031592843f42 ssh-agent -k 01:47:41 unset SSH_AUTH_SOCK; 01:47:41 unset SSH_AGENT_PID; 01:47:41 echo Agent pid 40 killed; 01:47:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:47:42 + git semver [Pipeline] } 01:47:42 $ docker stop --time=1 188f454143faf171fbea11f1267c33b0670cb69bfaaeaf904030031592843f42 01:47:43 $ docker rm -f --volumes 188f454143faf171fbea11f1267c33b0670cb69bfaaeaf904030031592843f42 [Pipeline] // withDockerContainer [Pipeline] sh 01:47:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:47:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:47:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:44 prd-ubuntu20.04-docker-8c-8g-4393 does not seem to be running inside a container 01:47:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:47:44 $ docker top 6c1157e0a16a2d7810b10f8d22c0c636a5d315acd9d9ee49434df6df5f26edcc -eo pid,comm 01:47:44 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). 01:47:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:47:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:47:44 [ssh-agent] Looking for ssh-agent implementation... 01:47:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:47:44 $ docker exec 6c1157e0a16a2d7810b10f8d22c0c636a5d315acd9d9ee49434df6df5f26edcc ssh-agent 01:47:44 SSH_AUTH_SOCK=/tmp/ssh-9tWNNl4uXEHR/agent.32 01:47:44 SSH_AGENT_PID=38 01:47:44 Running ssh-add (command line suppressed) 01:47:45 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14064545934955625343.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14064545934955625343.key) 01:47:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:47:45 + git semver push 01:47:45 2025-07-02 01:47:45,557 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 01:47:45 2025-07-02 01:47:45,562 [run_push] DEBUG push 01:47:45 2025-07-02 01:47:45,563 [execute] INFO git cat-file --batch-check 01:47:45 2025-07-02 01:47:45,563 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=, shell=False, universal_newlines=False) 01:47:45 2025-07-02 01:47:45,565 [execute] INFO git rev-list 6cfe9fba546f656fc0cfd20082785b08dc28acae -- 01:47:45 2025-07-02 01:47:45,565 [execute] DEBUG Popen(['git', 'rev-list', '6cfe9fba546f656fc0cfd20082785b08dc28acae', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=None, shell=False, universal_newlines=False) 01:47:45 2025-07-02 01:47:45,571 [execute] INFO git fetch -v -- origin 01:47:45 2025-07-02 01:47:45,571 [execute] DEBUG Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=None, shell=False, universal_newlines=True) 01:47:46 2025-07-02 01:47:46,054 [run_push] DEBUG no remote changes detected 01:47:46 2025-07-02 01:47:46,054 [execute] INFO git push origin semver 01:47:46 2025-07-02 01:47:46,055 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=None, shell=False, universal_newlines=False) 01:47:47 2025-07-02 01:47:46,755 [run_push] DEBUG push all version tags 01:47:47 2025-07-02 01:47:46,755 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:47:47 2025-07-02 01:47:46,756 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=None, shell=False, universal_newlines=False) 01:47:47 2025-07-02 01:47:47,388 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:47:47 4.1.0-dev.6 [Pipeline] } 01:47:47 $ docker exec --env ******** --env ******** 6c1157e0a16a2d7810b10f8d22c0c636a5d315acd9d9ee49434df6df5f26edcc ssh-agent -k 01:47:47 unset SSH_AUTH_SOCK; 01:47:47 unset SSH_AGENT_PID; 01:47:47 echo Agent pid 38 killed; 01:47:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:47:48 + git semver [Pipeline] } 01:47:48 $ docker stop --time=1 6c1157e0a16a2d7810b10f8d22c0c636a5d315acd9d9ee49434df6df5f26edcc 01:47:49 $ docker rm -f --volumes 6c1157e0a16a2d7810b10f8d22c0c636a5d315acd9d9ee49434df6df5f26edcc [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 01:47:50 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 01:47:50 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:47:50 total 16 01:47:50 drwxr-xr-x 3 root root 4096 Jul 2 01:35 . 01:47:50 drwxrwxr-x 10 jenkins jenkins 4096 Jul 2 01:47 .. 01:47:50 drwxr-xr-x 2 root root 4096 Jul 2 01:35 cost 01:47:50 -rw-r--r-- 1 root root 86 Jul 2 01:35 cost.csv 01:47:50 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 01:47:50 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:47:50 total 16 01:47:50 drwxr-xr-x 3 jenkins jenkins 4096 Jul 2 01:35 . 01:47:50 drwxrwxr-x 10 jenkins jenkins 4096 Jul 2 01:47 .. 01:47:50 drwxr-xr-x 2 jenkins jenkins 4096 Jul 2 01:35 cost 01:47:50 -rw-r--r-- 1 jenkins jenkins 86 Jul 2 01:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:47:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:47:51 ---> package-listing.sh 01:47:51 ++ facter osfamily 01:47:51 ++ tr '[:upper:]' '[:lower:]' 01:47:51 + OS_FAMILY=debian 01:47:51 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 01:47:51 + START_PACKAGES=/tmp/packages_start.txt 01:47:51 + END_PACKAGES=/tmp/packages_end.txt 01:47:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:47:51 + PACKAGES=/tmp/packages_start.txt 01:47:51 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:47:51 + PACKAGES=/tmp/packages_end.txt 01:47:51 + case "${OS_FAMILY}" in 01:47:51 + dpkg -l 01:47:51 + grep '^ii' 01:47:51 + '[' -f /tmp/packages_start.txt ']' 01:47:51 + '[' -f /tmp/packages_end.txt ']' 01:47:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:47:51 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:47:51 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 01:47:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 01:47: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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:47:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:47:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:52 prd-ubuntu20.04-docker-8c-8g-4393 does not seem to be running inside a container 01:47:52 $ 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:47:52 $ docker top b781614f6aee556c0611e183f57cbf75ba9cb89dc1bdd49c07e7d18125b50ec9 -eo pid,comm [Pipeline] { [Pipeline] sh 01:47:53 + touch /tmp/pre-build-complete [Pipeline] sh 01:47:53 + mkdir -p /var/log/sysstat [Pipeline] sh 01:47:53 + ls /var/log/sa-host 01:47:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:47:53 provisioning config files... 01:47:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1211133079033816302tmp [Pipeline] { [Pipeline] echo 01:47:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:47:54 ---> create-netrc.sh [Pipeline] } 01:47:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:47:54 ---> python-tools-install.sh [Pipeline] echo 01:47:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:47:54 ---> sudo-logs.sh 01:47:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:47:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:47:55 ---> job-cost.sh 01:47:55 lf-activate-venv: SKIPPING 01:47:55 DEBUG: total: 0.2199999988079071 01:47:55 INFO: Retrieving Stack Cost... 01:47:55 INFO: Retrieving Pricing Info for: v3-standard-8 01:47:55 INFO: Archiving Costs [Pipeline] echo 01:47:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:47:56 ---> logs-deploy.sh 01:47:56 lf-activate-venv: SKIPPING 01:47:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/204 01:47:56 INFO: archiving workspace using pattern(s): 01:47:57 Archives upload complete. 01:47:57 INFO: archiving logs to Nexus