Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d0980f3671d730af7436baa654813d49e60ecc67 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-ssh12001192751975451339.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-ssh3055319818800439817.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-ssh14660486955336935181.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-ssh14796335478440021474.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-ssh8606857872237531719.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-4296 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 d0980f3671d730af7436baa654813d49e60ecc67 (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 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#476)" > git config core.sparsecheckout # timeout=10 > git checkout -f d0980f3671d730af7436baa654813d49e60ecc67 # timeout=10 > git rev-list --no-walk 3abeddea7bee697e1193a102564220052236ef04 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:15:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:15:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:15:05 ========================================================= 01:15:05 EdgeX Global Pipelines Version Info 01:15:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:15:05 ------------------- 01:15:05 stable info: 01:15:05 ------------------- 01:15:05 Commited By: Ginny Guan ginny@iotechsys.com 01:15:05 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 01:15:05 Message: update stable to v1.0.274 01:15:06 ------------------- 01:15:06 experimental info: 01:15:06 ------------------- 01:15:06 Commited By: **** collab-it+edgex@linuxfoundation.org 01:15:06 Commit SHA: 8bc3b1671107dfff59e2863929571a4024cd8906 01:15:06 Message: update experimental to v1.0.275 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:15:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 01:15:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 01:15:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:15:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:15:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:15:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 01:15:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:15:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:15:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:15:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:15:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:15:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 01:15:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:15:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:15:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:15:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:15:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:15:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:15:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:15:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:15:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:15:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:15:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:15:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:15:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:15:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:15:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:15:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:15:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:15:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:15:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d0980f3671d730af7436baa654813d49e60ecc67 [Pipeline] echo 01:15:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d0980f3 [Pipeline] echo 01:15:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:15:07 provisioning config files... 01:15:07 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5234407685168977441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:15:07 ---> ****-login.sh 01:15:07 nexus3.edgexfoundry.org:10001 01:15:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:08 01:15:08 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:15:08 Configure a credential helper to remove this warning. See 01:15:08 https://docs.****.com/go/credential-store/ 01:15:08 01:15:08 Login Succeeded 01:15:08 nexus3.edgexfoundry.org:10002 01:15:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:08 01:15:08 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:15:08 Configure a credential helper to remove this warning. See 01:15:08 https://docs.****.com/go/credential-store/ 01:15:08 01:15:08 Login Succeeded 01:15:08 nexus3.edgexfoundry.org:10003 01:15:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:08 01:15:08 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:15:08 Configure a credential helper to remove this warning. See 01:15:08 https://docs.****.com/go/credential-store/ 01:15:08 01:15:08 Login Succeeded 01:15:08 nexus3.edgexfoundry.org:10004 01:15:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:08 01:15:08 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:15:08 Configure a credential helper to remove this warning. See 01:15:08 https://docs.****.com/go/credential-store/ 01:15:08 01:15:08 Login Succeeded 01:15:08 ****.io 01:15:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:08 01:15:08 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:15:08 Configure a credential helper to remove this warning. See 01:15:08 https://docs.****.com/go/credential-store/ 01:15:08 01:15:08 Login Succeeded 01:15:08 ---> ****-login.sh ends [Pipeline] } 01:15:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:15:08 + git rev-list -1 --merges d0980f3671d730af7436baa654813d49e60ecc67~1..d0980f3671d730af7436baa654813d49e60ecc67 [Pipeline] echo 01:15:09 -----------> git rev-list -1 --merges d0980f3671d730af7436baa654813d49e60ecc67~1..d0980f3671d730af7436baa654813d49e60ecc67 d0980f3671d730af7436baa654813d49e60ecc67 [false] [Pipeline] sh 01:15:09 + git log --format=format:%s -1 d0980f3671d730af7436baa654813d49e60ecc67 [Pipeline] echo 01:15:09 ========================================================= 01:15:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:15:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:15:09 + git log --format=format:%s -1 d0980f3671d730af7436baa654813d49e60ecc67 [Pipeline] echo 01:15:09 [semverPrep] GIT_COMMIT: d0980f3671d730af7436baa654813d49e60ecc67, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#476) [Pipeline] echo 01:15:09 [semverPrep] This is not a build commit. [Pipeline] sh 01:15:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:15:10 + grep -v github /etc/ssh/ssh_known_hosts 01:15:10 + [ -e /tmp/ssh_known_hosts ] 01:15:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:15:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:15:10 + sudo tee -a /etc/ssh/ssh_known_hosts 01:15:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:15:10 01:15:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:15:10 0.1.4: Pulling from edgex-devops/py-git-semver 01:15:10 3dae71ba6b94: Pulling fs layer 01:15:10 6bf1a483ea7c: Pulling fs layer 01:15:10 f5dfc541a4d3: Pulling fs layer 01:15:10 461d9e800cba: Pulling fs layer 01:15:10 80192f66455f: Pulling fs layer 01:15:10 2e8e34ca0e6c: Pulling fs layer 01:15:10 a29436f7fd5d: Pulling fs layer 01:15:10 80192f66455f: Waiting 01:15:10 461d9e800cba: Waiting 01:15:10 923cac83aea3: Pulling fs layer 01:15:10 25ad8b0a4227: Pulling fs layer 01:15:10 db01528c6b51: Pulling fs layer 01:15:10 28988de357af: Pulling fs layer 01:15:10 25ad8b0a4227: Waiting 01:15:10 db01528c6b51: Waiting 01:15:10 28988de357af: Waiting 01:15:10 6bf1a483ea7c: Verifying Checksum 01:15:10 6bf1a483ea7c: Download complete 01:15:10 461d9e800cba: Verifying Checksum 01:15:10 461d9e800cba: Download complete 01:15:11 80192f66455f: Verifying Checksum 01:15:11 80192f66455f: Download complete 01:15:11 f5dfc541a4d3: Verifying Checksum 01:15:11 f5dfc541a4d3: Download complete 01:15:11 3dae71ba6b94: Download complete 01:15:11 923cac83aea3: Verifying Checksum 01:15:11 923cac83aea3: Download complete 01:15:11 25ad8b0a4227: Verifying Checksum 01:15:11 25ad8b0a4227: Download complete 01:15:11 db01528c6b51: Verifying Checksum 01:15:11 db01528c6b51: Download complete 01:15:11 28988de357af: Verifying Checksum 01:15:11 28988de357af: Download complete 01:15:11 a29436f7fd5d: Verifying Checksum 01:15:11 a29436f7fd5d: Download complete 01:15:11 2e8e34ca0e6c: Verifying Checksum 01:15:11 2e8e34ca0e6c: Download complete 01:15:12 3dae71ba6b94: Pull complete 01:15:12 6bf1a483ea7c: Pull complete 01:15:13 f5dfc541a4d3: Pull complete 01:15:13 461d9e800cba: Pull complete 01:15:13 80192f66455f: Pull complete 01:15:17 2e8e34ca0e6c: Pull complete 01:15:18 a29436f7fd5d: Pull complete 01:15:18 923cac83aea3: Pull complete 01:15:18 25ad8b0a4227: Pull complete 01:15:18 db01528c6b51: Pull complete 01:15:18 28988de357af: Pull complete 01:15:18 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 01:15:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:15:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:15:18 prd-ubuntu20.04-docker-8c-8g-4296 does not seem to be running inside a container 01:15:18 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:15:20 $ docker top acd85ed898e33528b1ca244f681a267859f867f9c2ab5d08b917f3ec8831b160 -eo pid,comm 01:15:21 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:15:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:15:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:15:21 [ssh-agent] Looking for ssh-agent implementation... 01:15:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:15:21 $ docker exec acd85ed898e33528b1ca244f681a267859f867f9c2ab5d08b917f3ec8831b160 ssh-agent 01:15:21 SSH_AUTH_SOCK=/tmp/ssh-HtZPg6QatfJv/agent.32 01:15:21 SSH_AGENT_PID=38 01:15:21 Running ssh-add (command line suppressed) 01:15:21 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1421054611484799915.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1421054611484799915.key) 01:15:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:15:21 + git tag --points-at HEAD [Pipeline] } 01:15:21 $ docker exec --env ******** --env ******** acd85ed898e33528b1ca244f681a267859f867f9c2ab5d08b917f3ec8831b160 ssh-agent -k 01:15:21 unset SSH_AUTH_SOCK; 01:15:21 unset SSH_AGENT_PID; 01:15:21 echo Agent pid 38 killed; 01:15:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:15:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:15:21 [ssh-agent] Looking for ssh-agent implementation... 01:15:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:15:21 $ docker exec acd85ed898e33528b1ca244f681a267859f867f9c2ab5d08b917f3ec8831b160 ssh-agent 01:15:22 SSH_AUTH_SOCK=/tmp/ssh-fYL127XojZeN/agent.71 01:15:22 SSH_AGENT_PID=77 01:15:22 Running ssh-add (command line suppressed) 01:15:22 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17436247756745104504.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17436247756745104504.key) 01:15:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:15:22 + git semver init 01:15:22 2025-07-01 01:15:22,638 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 01:15:22 2025-07-01 01:15:22,643 [run_init] DEBUG init version:0.0.0 force:False 01:15:22 2025-07-01 01:15:22,644 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 01:15:22 2025-07-01 01:15:22,644 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 01:15:22 2025-07-01 01:15:22,644 [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:15:24 2025-07-01 01:15:24,086 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 01:15:24 2025-07-01 01:15:24,086 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 01:15:24 2025-07-01 01:15:24,086 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:15:24 2025-07-01 01:15:24,087 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:15:24 4.1.0-dev.4 [Pipeline] } 01:15:24 $ docker exec --env ******** --env ******** acd85ed898e33528b1ca244f681a267859f867f9c2ab5d08b917f3ec8831b160 ssh-agent -k 01:15:24 unset SSH_AUTH_SOCK; 01:15:24 unset SSH_AGENT_PID; 01:15:24 echo Agent pid 77 killed; 01:15:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:15:25 + git semver [Pipeline] } 01:15:25 $ docker stop --time=1 acd85ed898e33528b1ca244f681a267859f867f9c2ab5d08b917f3ec8831b160 01:15:26 $ docker rm -f --volumes acd85ed898e33528b1ca244f681a267859f867f9c2ab5d08b917f3ec8831b160 [Pipeline] // withDockerContainer [Pipeline] sh 01:15:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:15:27 Stashed 1 file(s) [Pipeline] echo 01:15:27 [edgeXSemver]: initialized semver on version 4.1.0-dev.4 [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:15:27 provisioning config files... 01:15:27 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8804541390481816679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:15:27 ---> ****-login.sh 01:15:27 nexus3.edgexfoundry.org:10001 01:15:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:27 Login Succeeded 01:15:27 nexus3.edgexfoundry.org:10002 01:15:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:27 Login Succeeded 01:15:27 nexus3.edgexfoundry.org:10003 01:15:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:28 Login Succeeded 01:15:28 nexus3.edgexfoundry.org:10004 01:15:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:28 Login Succeeded 01:15:28 ****.io 01:15:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:28 Login Succeeded 01:15:28 ---> ****-login.sh ends [Pipeline] } 01:15:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:15:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:15:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:15:28 ========================================================= 01:15:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 01:15:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:28 + 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:15:29 #0 building with "default" instance using docker driver 01:15:29 01:15:29 #1 [internal] load build definition from Dockerfile 01:15:29 #1 transferring dockerfile: 1.74kB done 01:15:29 #1 DONE 0.0s 01:15:29 01:15:29 #2 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:15:29 #2 DONE 0.1s 01:15:29 01:15:29 #3 [internal] load .dockerignore 01:15:29 #3 transferring context: 193B done 01:15:29 #3 DONE 0.0s 01:15:29 01:15:29 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:78acc44d7358ce6d4c7aa33580a27963993e9e743f98955b43cedd959d54cb65 01:15:29 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:78acc44d7358ce6d4c7aa33580a27963993e9e743f98955b43cedd959d54cb65 0.0s done 01:15:29 #4 sha256:e873195afa03f66c4477d62a47bde445cf4ea723c241a30f98137b48a10af2e9 2.08kB / 2.08kB done 01:15:29 #4 sha256:ea6120ae94a0356f97603cf7c451f67990211a3e020e5a30d412335b108fdc34 4.22kB / 4.22kB done 01:15:29 #4 sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 2.10MB / 3.63MB 0.1s 01:15:29 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 5.24MB / 74.06MB 0.1s 01:15:29 #4 sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 126B / 126B 0.1s done 01:15:29 #4 sha256:78acc44d7358ce6d4c7aa33580a27963993e9e743f98955b43cedd959d54cb65 685B / 685B done 01:15:29 #4 sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 294.40kB / 294.40kB 0.1s done 01:15:29 #4 ... 01:15:29 01:15:29 #5 [internal] load build context 01:15:29 #5 transferring context: 21.59MB 0.2s done 01:15:29 #5 DONE 0.2s 01:15:29 01:15:29 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:78acc44d7358ce6d4c7aa33580a27963993e9e743f98955b43cedd959d54cb65 01:15:29 #4 sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 3.63MB / 3.63MB 0.1s done 01:15:29 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 14.68MB / 74.06MB 0.2s 01:15:29 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 01:15:29 #4 sha256:8213a616a21b5155355248bdcdb47b1049aac55141930530c39a6268e6623549 440B / 440B 0.1s done 01:15:29 #4 sha256:98558614340527eace9316d30bb3f3e5cf3a2e8f676d5fb62ad843cd3fb4f971 1.05MB / 2.38MB 0.2s 01:15:29 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 0B / 100.52MB 0.2s 01:15:29 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.1s done 01:15:29 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 27.64MB / 74.06MB 0.3s 01:15:29 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 0.1s done 01:15:29 #4 sha256:98558614340527eace9316d30bb3f3e5cf3a2e8f676d5fb62ad843cd3fb4f971 2.38MB / 2.38MB 0.2s done 01:15:29 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 6.29MB / 100.52MB 0.3s 01:15:29 #4 sha256:d3ac315be8c589f68f6ac08e7595bd7737acfb5834b5e7c23c55a9ef887f3179 2.83MB / 13.29MB 0.3s 01:15:29 #4 extracting sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 01:15:29 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 56.62MB / 74.06MB 0.5s 01:15:29 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 29.36MB / 100.52MB 0.5s 01:15:29 #4 sha256:d3ac315be8c589f68f6ac08e7595bd7737acfb5834b5e7c23c55a9ef887f3179 13.29MB / 13.29MB 0.5s 01:15:29 #4 extracting sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 0.1s done 01:15:30 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 74.06MB / 74.06MB 0.7s 01:15:30 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 57.67MB / 100.52MB 0.7s 01:15:30 #4 sha256:d3ac315be8c589f68f6ac08e7595bd7737acfb5834b5e7c23c55a9ef887f3179 13.29MB / 13.29MB 0.5s done 01:15:30 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 81.79MB / 100.52MB 0.8s 01:15:30 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 100.52MB / 100.52MB 1.0s 01:15:30 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 74.06MB / 74.06MB 1.1s done 01:15:30 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 100.52MB / 100.52MB 1.1s done 01:15:30 #4 extracting sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 0.1s 01:15:35 #4 extracting sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 4.4s done 01:15:35 #4 extracting sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 01:15:35 #4 extracting sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 done 01:15:35 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 01:15:35 #4 extracting sha256:8213a616a21b5155355248bdcdb47b1049aac55141930530c39a6268e6623549 done 01:15:35 #4 extracting sha256:98558614340527eace9316d30bb3f3e5cf3a2e8f676d5fb62ad843cd3fb4f971 01:15:35 #4 extracting sha256:98558614340527eace9316d30bb3f3e5cf3a2e8f676d5fb62ad843cd3fb4f971 0.0s done 01:15:35 #4 extracting sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 0.1s 01:15:38 #4 extracting sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 2.6s done 01:15:38 #4 extracting sha256:d3ac315be8c589f68f6ac08e7595bd7737acfb5834b5e7c23c55a9ef887f3179 0.1s 01:15:38 #4 extracting sha256:d3ac315be8c589f68f6ac08e7595bd7737acfb5834b5e7c23c55a9ef887f3179 0.5s done 01:15:38 #4 DONE 9.4s 01:15:39 01:15:39 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 01:15:39 #6 0.219 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:15:39 #6 0.383 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:15:39 #6 0.751 (1/4) Installing openssh-keygen (9.7_p1-r5) 01:15:39 #6 0.760 (2/4) Installing libedit (20240517.3.1-r0) 01:15:39 #6 0.766 (3/4) Installing openssh-client-common (9.7_p1-r5) 01:15:39 #6 0.790 (4/4) Installing openssh-client-default (9.7_p1-r5) 01:15:39 #6 0.800 Executing busybox-1.36.1-r29.trigger 01:15:39 #6 0.807 OK: 252 MiB in 62 packages 01:15:42 #6 DONE 3.1s 01:15:42 01:15:42 #7 [builder 3/7] WORKDIR /device-rest-go 01:15:42 #7 DONE 0.0s 01:15:42 01:15:42 #8 [builder 4/7] COPY go.mod vendor* ./ 01:15:42 #8 DONE 0.0s 01:15:42 01:15:42 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:15:42 Still waiting to schedule task 01:15:42 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4293’ 01:16:29 #9 DONE 43.4s 01:16:29 01:16:29 #10 [builder 6/7] COPY . . 01:16:29 #10 DONE 0.1s 01:16:29 01:16:29 #11 [builder 7/7] RUN echo noop 01:16:29 #11 0.202 noop 01:16:29 #11 DONE 0.2s 01:16:29 01:16:29 #12 exporting to image 01:16:29 #12 exporting layers 01:16:32 #12 exporting layers 6.5s done 01:16:32 #12 writing image sha256:ea6ac2b2787687a820c1dc55d89bed2f0beb1e17db398d9a8c153382e14ccc65 done 01:16:32 #12 naming to docker.io/library/ci-base-image-x86_64 done 01:16:32 #12 DONE 6.5s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:16:32 + docker inspect -f . ci-base-image-x86_64 01:16:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:16:32 prd-ubuntu20.04-docker-8c-8g-4296 does not seem to be running inside a container 01:16:32 $ 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 ******** -e ******** ci-base-image-x86_64 cat 01:16:33 $ docker top aab24a51dc0dabb87d2a55131234fff89bef0b4f34b6167c82fe955702923f44 -eo pid,comm [Pipeline] { [Pipeline] sh 01:16:33 + go version 01:16:33 go version go1.23.9 linux/amd64 [Pipeline] } 01:16:33 $ docker stop --time=1 aab24a51dc0dabb87d2a55131234fff89bef0b4f34b6167c82fe955702923f44 01:16:34 $ docker rm -f --volumes aab24a51dc0dabb87d2a55131234fff89bef0b4f34b6167c82fe955702923f44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:16:35 + docker inspect -f . ci-base-image-x86_64 01:16:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:16:35 prd-ubuntu20.04-docker-8c-8g-4296 does not seem to be running inside a container 01:16:35 $ 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 ******** -e ******** ci-base-image-x86_64 cat 01:16:35 $ docker top 3d663cbf980c208cb7bd0815919fc55b43b282b0a7c87d24439c5d11e83c6a5e -eo pid,comm [Pipeline] { [Pipeline] sh 01:16:35 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 01:16:36 + make test 01:16:36 go test ./... -coverprofile=coverage.out ./... 01:16:37 ? github.com/edgexfoundry/device-rest-go [no test files] 01:16:55 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 01:16:55 ok github.com/edgexfoundry/device-rest-go/driver 0.007s coverage: 32.2% of statements 01:17:05 go vet ./... 01:17:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:17:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:17:09 ./bin/test-attribution-txt.sh 01:17:09 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 01:17:09 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add 01:17:09 An attribution for github.com/zitadel/logging is missing from Attribution.txt, please add 01:17:09 An attribution for github.com/zitadel/oidc/v3 is missing from Attribution.txt, please add 01:17:09 An attribution for github.com/zitadel/schema is missing from Attribution.txt, please add [Pipeline] echo 01:17:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 01:17:09 $ docker stop --time=1 3d663cbf980c208cb7bd0815919fc55b43b282b0a7c87d24439c5d11e83c6a5e 01:17:12 $ docker rm -f --volumes 3d663cbf980c208cb7bd0815919fc55b43b282b0a7c87d24439c5d11e83c6a5e [Pipeline] // withDockerContainer [Pipeline] sh 01:17:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:17:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:17:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:17:13 + ls -al . 01:17:13 total 244 01:17:13 drwxrwxr-x 9 jenkins jenkins 4096 Jul 1 01:16 . 01:17:13 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 01:14 .. 01:17:13 -rw-rw-r-- 1 jenkins jenkins 151 Jul 1 01:15 .dockerignore 01:17:13 drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 01:16 .git 01:17:13 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 01:15 .github 01:17:13 -rw-rw-r-- 1 jenkins jenkins 264 Jul 1 01:15 .gitignore 01:17:13 -rw-rw-r-- 1 jenkins jenkins 41 Jul 1 01:15 .golangci.yml 01:17:13 drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 01:15 .semver 01:17:13 -rw-rw-r-- 1 jenkins jenkins 20138 Jul 1 01:15 Attribution.txt 01:17:13 -rw-rw-r-- 1 jenkins jenkins 18492 Jul 1 01:15 CHANGELOG.md 01:17:13 -rw-rw-r-- 1 jenkins jenkins 1697 Jul 1 01:15 Dockerfile 01:17:13 -rw-rw-r-- 1 jenkins jenkins 677 Jul 1 01:15 GOVERNANCE.md 01:17:13 -rw-rw-r-- 1 jenkins jenkins 680 Jul 1 01:15 Jenkinsfile 01:17:13 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 1 01:15 LICENSE 01:17:13 -rw-rw-r-- 1 jenkins jenkins 2598 Jul 1 01:15 Makefile 01:17:13 -rw-rw-r-- 1 jenkins jenkins 620 Jul 1 01:15 OWNERS.md 01:17:13 -rw-rw-r-- 1 jenkins jenkins 3989 Jul 1 01:15 README.md 01:17:13 -rw-rw-r-- 1 jenkins jenkins 11 Jul 1 01:15 VERSION 01:17:13 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 01:15 bin 01:17:13 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 01:15 cmd 01:17:13 -rw-r--r-- 1 jenkins jenkins 14565 Jul 1 01:16 coverage.out 01:17:13 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 01:15 driver 01:17:13 -rw-rw-r-- 1 jenkins jenkins 6272 Jul 1 01:15 go.mod 01:17:13 -rw-rw-r-- 1 jenkins jenkins 86763 Jul 1 01:15 go.sum 01:17:13 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 01:15 openapi 01:17:13 -rw-rw-r-- 1 jenkins jenkins 713 Jul 1 01:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:13 + 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=d0980f3671d730af7436baa654813d49e60ecc67 --label arch=amd64 --label version=4.1.0-dev.4 . 01:17:14 #0 building with "default" instance using docker driver 01:17:14 01:17:14 #1 [internal] load build definition from Dockerfile 01:17:14 #1 transferring dockerfile: 1.74kB done 01:17:14 #1 DONE 0.0s 01:17:14 01:17:14 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 01:17:14 #2 DONE 0.0s 01:17:14 01:17:14 #3 [internal] load metadata for docker.io/library/alpine:3.20 01:17:14 #3 DONE 0.2s 01:17:14 01:17:14 #4 [internal] load .dockerignore 01:17:14 #4 transferring context: 193B done 01:17:14 #4 DONE 0.0s 01:17:14 01:17:14 #5 [internal] load build context 01:17:14 #5 transferring context: 18.46kB done 01:17:14 #5 DONE 0.0s 01:17:14 01:17:14 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 01:17:14 #6 resolve docker.io/library/alpine:3.20@sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 0.0s done 01:17:14 #6 sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 9.22kB / 9.22kB done 01:17:14 #6 sha256:43180c492a5e6cedd8232e8f77a454f666f247586853eecb90258b26688ad1d3 1.02kB / 1.02kB done 01:17:14 #6 sha256:ff221270b9fb7387b0ad9ff8f69fbbd841af263842e62217392f18c3b5226f38 581B / 581B done 01:17:14 #6 DONE 0.0s 01:17:14 01:17:14 #7 [builder 1/7] FROM docker.io/library/ci-base-image-x86_64:latest 01:17:14 #7 DONE 0.1s 01:17:14 01:17:14 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 01:17:14 #8 0.270 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:17:14 #8 0.435 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:17:14 #8 ... 01:17:14 01:17:14 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 01:17:14 #9 0.205 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:17:14 #9 0.363 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:17:14 #9 0.690 OK: 252 MiB in 62 packages 01:17:14 #9 DONE 0.8s 01:17:14 01:17:14 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 01:17:14 #8 0.761 (1/1) Installing dumb-init (1.2.5-r3) 01:17:14 #8 0.766 Executing busybox-1.36.1-r29.trigger 01:17:14 #8 0.772 OK: 8 MiB in 15 packages 01:17:15 #8 DONE 0.9s 01:17:15 01:17:15 #10 [builder 3/7] WORKDIR /device-rest-go 01:17:15 #10 DONE 0.0s 01:17:15 01:17:15 #11 [builder 4/7] COPY go.mod vendor* ./ 01:17:15 #11 DONE 0.0s 01:17:15 01:17:15 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:17:15 #12 DONE 0.5s 01:17:15 01:17:15 #13 [stage-1 3/6] RUN apk --no-cache upgrade 01:17:15 #13 0.242 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:17:15 #13 0.310 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:17:15 #13 0.668 OK: 8 MiB in 15 packages 01:17:15 #13 DONE 0.8s 01:17:15 01:17:15 #14 [builder 6/7] COPY . . 01:17:15 #14 DONE 0.2s 01:17:15 01:17:15 #15 [builder 7/7] RUN make build 01:17:15 #15 0.283 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.18 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 01:17:37 #15 DONE 21.3s 01:17:37 01:17:37 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 01:17:37 #16 DONE 0.2s 01:17:37 01:17:37 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 01:17:37 #17 DONE 0.0s 01:17:37 01:17:37 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 01:17:37 #18 DONE 0.0s 01:17:37 01:17:37 #19 exporting to image 01:17:37 #19 exporting layers 0.1s done 01:17:37 #19 writing image sha256:6ae63cf3e1a941384b891b4805ab58f4acd89cbd9392a0d9d383855632d3a095 done 01:17:37 #19 naming to docker.io/library/device-rest done 01:17:37 #19 DONE 0.1s 01:17:37 01:17:37 1 warning found (use docker --debug to expand): 01:17:37  - 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:17:38 provisioning config files... 01:17:38 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14719062564791938955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:17:38 ---> ****-login.sh 01:17:38 nexus3.edgexfoundry.org:10001 01:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:38 Login Succeeded 01:17:38 nexus3.edgexfoundry.org:10002 01:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:38 Login Succeeded 01:17:38 nexus3.edgexfoundry.org:10003 01:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:38 Login Succeeded 01:17:38 nexus3.edgexfoundry.org:10004 01:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:38 Login Succeeded 01:17:38 ****.io 01:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:38 Login Succeeded 01:17:38 ---> ****-login.sh ends [Pipeline] } 01:17:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:17:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:17:38 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 01:17:38 d0980f3671d730af7436baa654813d49e60ecc67 01:17:38 latest 01:17:38 4.1.0-dev.4 01:17:38 d0980f3671d730af7436baa654813d49e60ecc67-4.1.0-dev.4 01:17:38 main 01:17:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:39 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:39 + docker push nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67 01:17:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:17:39 9ed2dee1e07f: Preparing 01:17:39 574129c3d7ac: Preparing 01:17:39 0ad1e2f7839f: Preparing 01:17:39 85d45c18884b: Preparing 01:17:39 6f05b753f7e8: Preparing 01:17:39 994456c4fd7b: Preparing 01:17:39 994456c4fd7b: Waiting 01:17:39 574129c3d7ac: Pushed 01:17:39 6f05b753f7e8: Pushed 01:17:39 994456c4fd7b: Layer already exists 01:17:39 9ed2dee1e07f: Pushed 01:17:39 85d45c18884b: Pushed 01:17:42 0ad1e2f7839f: Pushed 01:17:42 d0980f3671d730af7436baa654813d49e60ecc67: digest: sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:43 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:43 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 01:17:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:17:43 9ed2dee1e07f: Preparing 01:17:43 574129c3d7ac: Preparing 01:17:43 0ad1e2f7839f: Preparing 01:17:43 85d45c18884b: Preparing 01:17:43 6f05b753f7e8: Preparing 01:17:43 994456c4fd7b: Preparing 01:17:43 994456c4fd7b: Waiting 01:17:43 9ed2dee1e07f: Layer already exists 01:17:43 6f05b753f7e8: Layer already exists 01:17:43 0ad1e2f7839f: Layer already exists 01:17:43 574129c3d7ac: Layer already exists 01:17:43 85d45c18884b: Layer already exists 01:17:43 994456c4fd7b: Layer already exists 01:17:43 latest: digest: sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:43 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:44 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.4 01:17:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:17:44 9ed2dee1e07f: Preparing 01:17:44 574129c3d7ac: Preparing 01:17:44 0ad1e2f7839f: Preparing 01:17:44 85d45c18884b: Preparing 01:17:44 6f05b753f7e8: Preparing 01:17:44 994456c4fd7b: Preparing 01:17:44 994456c4fd7b: Waiting 01:17:44 574129c3d7ac: Layer already exists 01:17:44 85d45c18884b: Layer already exists 01:17:44 9ed2dee1e07f: Layer already exists 01:17:44 6f05b753f7e8: Layer already exists 01:17:44 0ad1e2f7839f: Layer already exists 01:17:44 994456c4fd7b: Layer already exists 01:17:44 4.1.0-dev.4: digest: sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:44 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67-4.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:44 + docker push nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67-4.1.0-dev.4 01:17:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:17:44 9ed2dee1e07f: Preparing 01:17:44 574129c3d7ac: Preparing 01:17:44 0ad1e2f7839f: Preparing 01:17:44 85d45c18884b: Preparing 01:17:44 6f05b753f7e8: Preparing 01:17:44 994456c4fd7b: Preparing 01:17:44 994456c4fd7b: Waiting 01:17:44 6f05b753f7e8: Layer already exists 01:17:44 9ed2dee1e07f: Layer already exists 01:17:44 85d45c18884b: Layer already exists 01:17:44 0ad1e2f7839f: Layer already exists 01:17:44 574129c3d7ac: Layer already exists 01:17:44 994456c4fd7b: Layer already exists 01:17:44 d0980f3671d730af7436baa654813d49e60ecc67-4.1.0-dev.4: digest: sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:45 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:45 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 01:17:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:17:45 9ed2dee1e07f: Preparing 01:17:45 574129c3d7ac: Preparing 01:17:45 0ad1e2f7839f: Preparing 01:17:45 85d45c18884b: Preparing 01:17:45 6f05b753f7e8: Preparing 01:17:45 994456c4fd7b: Preparing 01:17:45 994456c4fd7b: Waiting 01:17:45 9ed2dee1e07f: Layer already exists 01:17:45 6f05b753f7e8: Layer already exists 01:17:45 0ad1e2f7839f: Layer already exists 01:17:45 574129c3d7ac: Layer already exists 01:17:45 85d45c18884b: Layer already exists 01:17:45 994456c4fd7b: Layer already exists 01:17:45 main: digest: sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:17:45 ===================================================== [Pipeline] echo 01:17:45 taggedImages: 01:17:45 - nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67 01:17:45 - nexus3.edgexfoundry.org:10004/device-rest:latest 01:17:45 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.4 01:17:45 - nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67-4.1.0-dev.4 01:17:45 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] echo 01:17:45 ========================================================= 01:17:45 [edgeXBuildMultiArch] RAW Config: 01:17:45 images: 01:17:45 - nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67 01:17:45 - nexus3.edgexfoundry.org:10004/device-rest:latest 01:17:45 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.4 01:17:45 - nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67-4.1.0-dev.4 01:17:45 - nexus3.edgexfoundry.org:10004/device-rest:main 01:17:45 settingsFile: 01:17:45 device-rest-go-settings 01:17:45 ========================================================= [Pipeline] node 01:18:00 Still waiting to schedule task 01:18:00 All nodes of label ‘centos7-docker-4c-2g’ are offline 01:18:30 Running on prd-centos7-docker-4c-2g-4298 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:18:30 provisioning config files... 01:18:31 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8384778243236497675tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:18:32 ---> ****-login.sh 01:18:32 nexus3.edgexfoundry.org:10001 01:18:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:18:33 Configure a credential helper to remove this warning. See 01:18:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:18:33 01:18:33 Login Succeeded 01:18:33 nexus3.edgexfoundry.org:10002 01:18:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:18:34 Configure a credential helper to remove this warning. See 01:18:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:18:34 01:18:34 Login Succeeded 01:18:34 nexus3.edgexfoundry.org:10003 01:18:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:18:34 Configure a credential helper to remove this warning. See 01:18:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:18:34 01:18:34 Login Succeeded 01:18:34 nexus3.edgexfoundry.org:10004 01:18:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:18:34 Configure a credential helper to remove this warning. See 01:18:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:18:34 01:18:34 Login Succeeded 01:18:34 ****.io 01:18:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:18:34 Configure a credential helper to remove this warning. See 01:18:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:18:34 01:18:34 Login Succeeded 01:18:34 ---> ****-login.sh ends [Pipeline] } 01:18:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:18:34 + docker buildx ls 01:18:34 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 01:18:34 default * docker 01:18:34 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 01:18:35 + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use 01:18:35 edgex-builder [Pipeline] sh 01:18:35 + docker buildx inspect --bootstrap 01:18:35 #1 [internal] booting buildkit 01:18:35 #1 pulling image moby/buildkit:buildx-stable-1 01:18:39 #1 pulling image moby/buildkit:buildx-stable-1 3.7s done 01:18:39 #1 creating container buildx_buildkit_edgex-builder0 01:18:40 #1 creating container buildx_buildkit_edgex-builder0 1.2s done 01:18:40 #1 DONE 4.9s 01:18:40 Name: edgex-builder 01:18:40 Driver: docker-container 01:18:40 01:18:40 Nodes: 01:18:40 Name: edgex-builder0 01:18:40 Endpoint: unix:///var/run/docker.sock 01:18:40 Status: running 01:18:40 Buildkit: v0.22.0 01:18:40 Platforms: linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 [Pipeline] sh 01:18:40 + docker buildx ls 01:18:40 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 01:18:40 edgex-builder * docker-container 01:18:40 edgex-builder0 unix:///var/run/docker.sock running v0.22.0 linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 01:18:40 default docker 01:18:40 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 01:18:40 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67' 01:18:40 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67 --push - 01:18:40 #1 [internal] load build definition from Dockerfile 01:18:40 #1 transferring dockerfile: 196B done 01:18:40 #1 DONE 0.0s 01:18:40 01:18:40 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67 01:18:40 #2 DONE 0.1s 01:18:40 01:18:40 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67 01:18:41 #3 DONE 0.1s 01:18:41 01:18:41 #4 [internal] load .dockerignore 01:18:41 #4 transferring context: 2B done 01:18:41 #4 DONE 0.0s 01:18:41 01:18:41 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67@sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 01:18:41 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67@sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 0.0s done 01:18:41 #5 DONE 0.0s 01:18:41 01:18:41 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67@sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 01:18:41 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67@sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 0.0s done 01:18:41 #6 DONE 0.1s 01:18:41 01:18:41 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:18:41 #7 DONE 0.0s 01:18:41 01:18:41 #8 exporting to image 01:18:41 #8 exporting layers done 01:18:41 #8 exporting manifest sha256:7f48d201d4804871ea9539599ad240d9c26e51a56b2d62423f3008369b7a4006 0.0s done 01:18:41 #8 exporting config sha256:6ae63cf3e1a941384b891b4805ab58f4acd89cbd9392a0d9d383855632d3a095 done 01:18:41 #8 exporting manifest sha256:3ecbc718bfcf818fee294962bd272383ba89ae21259c2ba2eae391417bd74ad9 done 01:18:41 #8 exporting config sha256:ca6dedda1049e65de1443fea472f2dfc970265bdd7a029202b19d3ac552c247b done 01:18:41 #8 exporting manifest list sha256:d0792231eab8dd3c5a18fff073ca843ae12b13ba89979e437bf98e2c413971c1 done 01:18:41 #8 pushing layers 0.1s done 01:18:41 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67@sha256:d0792231eab8dd3c5a18fff073ca843ae12b13ba89979e437bf98e2c413971c1 01:18:41 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:18:41 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67@sha256:d0792231eab8dd3c5a18fff073ca843ae12b13ba89979e437bf98e2c413971c1 0.1s done 01:18:41 #8 DONE 0.2s 01:18:41 01:18:41 1 warning found (use --debug to expand): 01:18:41  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:18:41 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:latest' 01:18:41 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:latest --push - 01:18:41 #1 [internal] load build definition from Dockerfile 01:18:41 #1 transferring dockerfile: 162B done 01:18:41 #1 DONE 0.0s 01:18:41 01:18:41 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:latest 01:18:41 #2 DONE 0.0s 01:18:41 01:18:41 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:latest 01:18:41 #3 DONE 0.0s 01:18:41 01:18:41 #4 [internal] load .dockerignore 01:18:41 #4 transferring context: 2B done 01:18:41 #4 DONE 0.0s 01:18:41 01:18:41 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 01:18:41 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 0.0s done 01:18:41 #5 DONE 0.0s 01:18:41 01:18:41 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 01:18:41 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 0.0s done 01:18:41 #6 CACHED 01:18:41 01:18:41 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 01:18:41 #5 CACHED 01:18:41 01:18:41 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:18:41 #7 DONE 0.0s 01:18:41 01:18:41 #8 exporting to image 01:18:41 #8 exporting layers done 01:18:41 #8 exporting manifest sha256:7f48d201d4804871ea9539599ad240d9c26e51a56b2d62423f3008369b7a4006 done 01:18:41 #8 exporting config sha256:6ae63cf3e1a941384b891b4805ab58f4acd89cbd9392a0d9d383855632d3a095 done 01:18:41 #8 exporting manifest sha256:3ecbc718bfcf818fee294962bd272383ba89ae21259c2ba2eae391417bd74ad9 done 01:18:41 #8 exporting config sha256:ca6dedda1049e65de1443fea472f2dfc970265bdd7a029202b19d3ac552c247b done 01:18:41 #8 exporting manifest list sha256:d0792231eab8dd3c5a18fff073ca843ae12b13ba89979e437bf98e2c413971c1 done 01:18:41 #8 pushing layers 0.0s done 01:18:41 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:d0792231eab8dd3c5a18fff073ca843ae12b13ba89979e437bf98e2c413971c1 0.1s done 01:18:41 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:18:41 #8 DONE 0.1s 01:18:41 01:18:41 1 warning found (use --debug to expand): 01:18:41  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:18:42 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.4 --push - 01:18:42 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.4' 01:18:42 #1 [internal] load build definition from Dockerfile 01:18:42 #1 transferring dockerfile: 167B done 01:18:42 #1 DONE 0.0s 01:18:42 01:18:42 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.4 01:18:42 #2 DONE 0.0s 01:18:42 01:18:42 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.4 01:18:42 #3 DONE 0.0s 01:18:42 01:18:42 #4 [internal] load .dockerignore 01:18:42 #4 transferring context: 2B done 01:18:42 #4 DONE 0.0s 01:18:42 01:18:42 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.4@sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 01:18:42 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.4@sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 0.0s done 01:18:42 #5 CACHED 01:18:42 01:18:42 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.4@sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 01:18:42 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.4@sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 0.0s done 01:18:42 #6 CACHED 01:18:42 01:18:42 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:18:42 #7 DONE 0.0s 01:18:42 01:18:42 #8 exporting to image 01:18:42 #8 exporting layers done 01:18:42 #8 exporting manifest sha256:7f48d201d4804871ea9539599ad240d9c26e51a56b2d62423f3008369b7a4006 done 01:18:42 #8 exporting config sha256:6ae63cf3e1a941384b891b4805ab58f4acd89cbd9392a0d9d383855632d3a095 done 01:18:42 #8 exporting manifest sha256:3ecbc718bfcf818fee294962bd272383ba89ae21259c2ba2eae391417bd74ad9 done 01:18:42 #8 exporting config sha256:ca6dedda1049e65de1443fea472f2dfc970265bdd7a029202b19d3ac552c247b done 01:18:42 #8 exporting manifest list sha256:d0792231eab8dd3c5a18fff073ca843ae12b13ba89979e437bf98e2c413971c1 done 01:18:42 #8 pushing layers 0.0s done 01:18:42 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.4@sha256:d0792231eab8dd3c5a18fff073ca843ae12b13ba89979e437bf98e2c413971c1 0.1s done 01:18:42 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:18:42 #8 DONE 0.1s 01:18:42 01:18:42 1 warning found (use --debug to expand): 01:18:42  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:18:42 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67-4.1.0-dev.4' 01:18:42 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67-4.1.0-dev.4 --push - 01:18:42 #1 [internal] load build definition from Dockerfile 01:18:42 #1 transferring dockerfile: 208B done 01:18:42 #1 DONE 0.0s 01:18:42 01:18:42 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67-4.1.0-dev.4 01:18:42 #2 DONE 0.0s 01:18:42 01:18:42 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67-4.1.0-dev.4 01:18:42 #3 DONE 0.0s 01:18:42 01:18:42 #4 [internal] load .dockerignore 01:18:42 #4 transferring context: 2B done 01:18:42 #4 DONE 0.0s 01:18:42 01:18:42 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67-4.1.0-dev.4@sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 01:18:42 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67-4.1.0-dev.4@sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 0.0s done 01:18:42 #5 CACHED 01:18:42 01:18:42 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67-4.1.0-dev.4@sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 01:18:42 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67-4.1.0-dev.4@sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 0.0s done 01:18:42 #6 CACHED 01:18:42 01:18:42 #7 exporting to image 01:18:42 #7 exporting layers done 01:18:42 #7 exporting manifest sha256:7f48d201d4804871ea9539599ad240d9c26e51a56b2d62423f3008369b7a4006 done 01:18:42 #7 exporting config sha256:6ae63cf3e1a941384b891b4805ab58f4acd89cbd9392a0d9d383855632d3a095 done 01:18:42 #7 exporting manifest sha256:3ecbc718bfcf818fee294962bd272383ba89ae21259c2ba2eae391417bd74ad9 done 01:18:42 #7 exporting config sha256:ca6dedda1049e65de1443fea472f2dfc970265bdd7a029202b19d3ac552c247b done 01:18:42 #7 exporting manifest list sha256:d0792231eab8dd3c5a18fff073ca843ae12b13ba89979e437bf98e2c413971c1 done 01:18:42 #7 pushing layers 0.0s done 01:18:42 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67-4.1.0-dev.4@sha256:d0792231eab8dd3c5a18fff073ca843ae12b13ba89979e437bf98e2c413971c1 01:18:42 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:18:42 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:d0980f3671d730af7436baa654813d49e60ecc67-4.1.0-dev.4@sha256:d0792231eab8dd3c5a18fff073ca843ae12b13ba89979e437bf98e2c413971c1 0.1s done 01:18:42 #7 DONE 0.1s 01:18:42 01:18:42 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:18:42 #8 DONE 0.0s 01:18:42 01:18:42 1 warning found (use --debug to expand): 01:18:42  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:18:43 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:main' 01:18:43 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:main --push - 01:18:43 #1 [internal] load build definition from Dockerfile 01:18:43 #1 transferring dockerfile: 160B done 01:18:43 #1 DONE 0.0s 01:18:43 01:18:43 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:main 01:18:43 #2 DONE 0.0s 01:18:43 01:18:43 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:main 01:18:43 #3 DONE 0.0s 01:18:43 01:18:43 #4 [internal] load .dockerignore 01:18:43 #4 transferring context: 2B done 01:18:43 #4 DONE 0.0s 01:18:43 01:18:43 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:main@sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 01:18:43 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:main@sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 0.0s done 01:18:43 #5 CACHED 01:18:43 01:18:43 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:main@sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 01:18:43 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:main@sha256:df62e735fd964205e54989b671e932b7019d5af9b7491a0bbaf7587e200ab885 0.0s done 01:18:43 #6 CACHED 01:18:43 01:18:43 #7 exporting to image 01:18:43 #7 exporting layers done 01:18:43 #7 exporting manifest sha256:7f48d201d4804871ea9539599ad240d9c26e51a56b2d62423f3008369b7a4006 done 01:18:43 #7 exporting config sha256:6ae63cf3e1a941384b891b4805ab58f4acd89cbd9392a0d9d383855632d3a095 done 01:18:43 #7 exporting manifest sha256:3ecbc718bfcf818fee294962bd272383ba89ae21259c2ba2eae391417bd74ad9 done 01:18:43 #7 exporting config sha256:ca6dedda1049e65de1443fea472f2dfc970265bdd7a029202b19d3ac552c247b done 01:18:43 #7 exporting manifest list sha256:d0792231eab8dd3c5a18fff073ca843ae12b13ba89979e437bf98e2c413971c1 done 01:18:43 #7 pushing layers 0.0s done 01:18:43 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:main@sha256:d0792231eab8dd3c5a18fff073ca843ae12b13ba89979e437bf98e2c413971c1 01:18:43 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:18:43 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:main@sha256:d0792231eab8dd3c5a18fff073ca843ae12b13ba89979e437bf98e2c413971c1 0.1s done 01:18:43 #7 DONE 0.1s 01:18:43 01:18:43 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:18:43 #8 DONE 0.0s 01:18:43 01:18:43 1 warning found (use --debug to expand): 01:18:43  - 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:18:43 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 01:18:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:18:44 ---> package-listing.sh 01:18:44 ++ facter osfamily 01:18:44 ++ tr '[:upper:]' '[:lower:]' 01:18:45 + OS_FAMILY=redhat 01:18:45 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 01:18:45 + START_PACKAGES=/tmp/packages_start.txt 01:18:45 + END_PACKAGES=/tmp/packages_end.txt 01:18:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:18:45 + PACKAGES=/tmp/packages_start.txt 01:18:45 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:18:45 + PACKAGES=/tmp/packages_end.txt 01:18:45 + case "${OS_FAMILY}" in 01:18:45 + rpm -qa 01:18:45 + sort 01:18:45 + '[' -f /tmp/packages_start.txt ']' 01:18:45 + '[' -f /tmp/packages_end.txt ']' 01:18:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:18:45 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:18:45 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 01:18:45 + 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:18:45 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:18:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:18:46 01:18:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:18:46 latest: Pulling from edgex-lftools-log-publisher 01:18:46 5eb5b503b376: Pulling fs layer 01:18:46 5c69ac0246d0: Pulling fs layer 01:18:46 ec43610c2a17: Pulling fs layer 01:18:46 3a2ae6a8a46f: Pulling fs layer 01:18:46 33b1e0a273af: Pulling fs layer 01:18:46 5d3b04190fa2: Pulling fs layer 01:18:46 2f39f015ded8: Pulling fs layer 01:18:46 33b1e0a273af: Waiting 01:18:46 5d3b04190fa2: Waiting 01:18:46 2f39f015ded8: Waiting 01:18:46 3a2ae6a8a46f: Waiting 01:18:46 5c69ac0246d0: Verifying Checksum 01:18:46 5c69ac0246d0: Download complete 01:18:46 3a2ae6a8a46f: Verifying Checksum 01:18:46 3a2ae6a8a46f: Download complete 01:18:46 33b1e0a273af: Verifying Checksum 01:18:46 33b1e0a273af: Download complete 01:18:46 5d3b04190fa2: Download complete 01:18:46 ec43610c2a17: Verifying Checksum 01:18:46 ec43610c2a17: Download complete 01:18:47 5eb5b503b376: Verifying Checksum 01:18:47 5eb5b503b376: Download complete 01:18:47 2f39f015ded8: Verifying Checksum 01:18:47 2f39f015ded8: Download complete 01:18:48 5eb5b503b376: Pull complete 01:18:48 5c69ac0246d0: Pull complete 01:18:48 ec43610c2a17: Pull complete 01:18:48 3a2ae6a8a46f: Pull complete 01:18:49 33b1e0a273af: Pull complete 01:18:49 5d3b04190fa2: Pull complete 01:18:53 2f39f015ded8: Pull complete 01:18:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:18:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:18:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:18:53 prd-centos7-docker-4c-2g-4298 does not seem to be running inside a container 01:18:53 $ 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:18:57 $ docker top 5172ca5b80597970c9cb287b663b2f0bad71d4c32f3fe7600c54fbb0c3ab71cb -eo pid,comm [Pipeline] { [Pipeline] sh 01:18:57 + touch /tmp/pre-build-complete [Pipeline] sh 01:18:57 + mkdir -p /var/log/sysstat [Pipeline] sh 01:18:58 + ls /var/log/sa-host 01:18:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:18:58 provisioning config files... 01:18:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2360044183684427480tmp [Pipeline] { [Pipeline] echo 01:18:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:18:58 ---> create-netrc.sh [Pipeline] } 01:18:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:18:58 ---> python-tools-install.sh [Pipeline] echo 01:18:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:18:59 ---> sudo-logs.sh 01:18:59 Archiving 'sudo' log.. 01:18:59 sudo: unable to resolve host prd-centos7-docker-4c-2g-4298.novalocal: Name or service not known 01:18:59 sudo: unable to resolve host prd-centos7-docker-4c-2g-4298.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 01:18:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:18:59 ---> job-cost.sh 01:18:59 lf-activate-venv: SKIPPING 01:18:59 INFO: No Stack... 01:18:59 INFO: Retrieving Pricing Info for: v3-standard-2 01:18:59 INFO: Archiving Costs [Pipeline] echo 01:18:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:19:00 ---> logs-deploy.sh 01:19:00 lf-activate-venv: SKIPPING 01:19:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/203 01:19:00 INFO: archiving workspace using pattern(s): 01:19:01 Archives upload complete. 01:19:01 INFO: archiving logs to Nexus 01:19:01 ---> uname -a: 01:19:01 Linux prd-centos7-docker-4c-2g-4298.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:19:01 01:19:01 01:19:01 ---> lscpu: 01:19:01 Architecture: x86_64 01:19:01 CPU op-mode(s): 32-bit, 64-bit 01:19:01 Byte Order: Little Endian 01:19:01 Address sizes: 40 bits physical, 48 bits virtual 01:19:01 CPU(s): 2 01:19:01 On-line CPU(s) list: 0,1 01:19:01 Thread(s) per core: 1 01:19:01 Core(s) per socket: 1 01:19:01 Socket(s): 2 01:19:01 NUMA node(s): 1 01:19:01 Vendor ID: AuthenticAMD 01:19:01 CPU family: 23 01:19:01 Model: 49 01:19:01 Model name: AMD EPYC-Rome Processor 01:19:01 Stepping: 0 01:19:01 CPU MHz: 2799.998 01:19:01 BogoMIPS: 5599.99 01:19:01 Virtualization: AMD-V 01:19:01 Hypervisor vendor: KVM 01:19:01 Virtualization type: full 01:19:01 L1d cache: 64 KiB 01:19:01 L1i cache: 64 KiB 01:19:01 L2 cache: 1 MiB 01:19:01 L3 cache: 32 MiB 01:19:01 NUMA node0 CPU(s): 0,1 01:19:01 Vulnerability Itlb multihit: Not affected 01:19:01 Vulnerability L1tf: Not affected 01:19:01 Vulnerability Mds: Not affected 01:19:01 Vulnerability Meltdown: Not affected 01:19:01 Vulnerability Mmio stale data: Not affected 01:19:01 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:19:01 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 01:19:01 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 01:19:01 Vulnerability Srbds: Not affected 01:19:01 Vulnerability Tsx async abort: Not affected 01:19:01 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:19:01 01:19:01 01:19:01 ---> nproc: 01:19:01 2 01:19:01 01:19:01 01:19:01 ---> df -h: 01:19:01 Filesystem Size Used Avail Use% Mounted on 01:19:01 overlay 40G 7.3G 33G 19% / 01:19:01 tmpfs 64M 0 64M 0% /dev 01:19:01 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 01:19:01 shm 64M 0 64M 0% /dev/shm 01:19:01 /dev/vda1 40G 7.3G 33G 19% /facter-os 01:19:01 01:19:01 01:19:01 Cannot open /var/log/sysstat/sa01: No such file or directory 01:19:01 Please check if data collecting is enabled 01:19:01 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:19:02 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 01:19:02 $ docker stop --time=1 5172ca5b80597970c9cb287b663b2f0bad71d4c32f3fe7600c54fbb0c3ab71cb 01:19:03 $ docker rm -f --volumes 5172ca5b80597970c9cb287b663b2f0bad71d4c32f3fe7600c54fbb0c3ab71cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 01:19:03 [WS-CLEANUP] Deleting project workspace... 01:19:03 [WS-CLEANUP] Deferred wipeout is used... 01:19:03 [WS-CLEANUP] done [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // script 01:19:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4297 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] stage [Pipeline] { (Snap) [Pipeline] ws 01:19:03 Running in /w/workspace/device-rest-go/203 [Pipeline] { [Pipeline] checkout Stage "Snap" skipped due to when conditional 01:19:06 The recommended git tool is: git [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:19:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:19:06 01:19:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:19:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:19:07 latest: Pulling from edgex-lftools-log-publisher 01:19:07 5eb5b503b376: Pulling fs layer 01:19:07 5c69ac0246d0: Pulling fs layer 01:19:07 ec43610c2a17: Pulling fs layer 01:19:07 3a2ae6a8a46f: Pulling fs layer 01:19:07 33b1e0a273af: Pulling fs layer 01:19:07 5d3b04190fa2: Pulling fs layer 01:19:07 2f39f015ded8: Pulling fs layer 01:19:07 3a2ae6a8a46f: Waiting 01:19:07 33b1e0a273af: Waiting 01:19:07 5d3b04190fa2: Waiting 01:19:07 2f39f015ded8: Waiting 01:19:07 5c69ac0246d0: Download complete 01:19:07 3a2ae6a8a46f: Verifying Checksum 01:19:07 3a2ae6a8a46f: Download complete 01:19:07 33b1e0a273af: Verifying Checksum 01:19:07 33b1e0a273af: Download complete 01:19:07 5d3b04190fa2: Verifying Checksum 01:19:07 5d3b04190fa2: Download complete 01:19:07 ec43610c2a17: Verifying Checksum 01:19:07 ec43610c2a17: Download complete 01:19:07 5eb5b503b376: Verifying Checksum 01:19:07 5eb5b503b376: Download complete 01:19:07 2f39f015ded8: Verifying Checksum 01:19:07 2f39f015ded8: Download complete 01:19:08 5eb5b503b376: Pull complete 01:19:09 5c69ac0246d0: Pull complete 01:19:09 ec43610c2a17: Pull complete 01:19:09 3a2ae6a8a46f: Pull complete 01:19:09 33b1e0a273af: Pull complete 01:19:09 5d3b04190fa2: Pull complete 01:19:11 using credential edgex-jenkins-ssh 01:19:11 Cloning the remote Git repository 01:19:11 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:19:11 > git init /w/workspace/device-rest-go/203 # timeout=10 01:19:11 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:19:11 > git --version # timeout=10 01:19:11 > git --version # 'git version 2.25.1' 01:19:11 using GIT_SSH to set credentials SSH Credentials for GitHub 01:19:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:19:15 2f39f015ded8: Pull complete 01:19:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:19:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:19:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:19:15 prd-ubuntu20.04-docker-8c-8g-4296 does not seem to be running inside a container 01:19:15 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:19:16 Avoid second fetch 01:19:16 Checking out Revision d0980f3671d730af7436baa654813d49e60ecc67 (main) 01:19:15 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:19:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:19:16 > git config core.sparsecheckout # timeout=10 01:19:16 > git checkout -f d0980f3671d730af7436baa654813d49e60ecc67 # timeout=10 01:19:16 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#476)" 01:19:17 $ docker top 7f74dd8b217e161956c87206476caa69a7489805f86df694197cda50f8c2594e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:19:17 ---> job-cost.sh 01:19:17 lf-activate-venv: SKIPPING 01:19:17 INFO: No Stack... 01:19:18 INFO: Retrieving Pricing Info for: v3-standard-8 01:19:18 INFO: Archiving Costs [Pipeline] sh 01:19:18 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 01:19:18 + cut -d, -f6 [Pipeline] lock 01:19:18 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-203-stack-cost] 01:19:18 Resource [jenkins-edgexfoundry-device-rest-go-main-203-stack-cost] did not exist. Created. 01:19:18 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-203-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:19:18 + echo total: 0.2199999988079071 [Pipeline] stash 01:19:18 Stashed 1 file(s) [Pipeline] } 01:19:18 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-203-stack-cost] [Pipeline] // lock [Pipeline] } 01:19:19 $ docker stop --time=1 7f74dd8b217e161956c87206476caa69a7489805f86df694197cda50f8c2594e 01:19:20 $ docker rm -f --volumes 7f74dd8b217e161956c87206476caa69a7489805f86df694197cda50f8c2594e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:19:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:19:21 % Total % Received % Xferd Average Speed Time Time Time Current 01:19:21 Dload Upload Total Spent Left Speed 01:19:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13063 100 13063 0 0 98218 0 --:--:-- --:--:-- --:--:-- 98962 [Pipeline] sh 01:19:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:19:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:19:21 + sudo tee /etc/docker/daemon.new 01:19:21 { 01:19:21 "registry-mirrors": [ 01:19:21 "https://nexus3.edgexfoundry.org:10001" 01:19:21 ], 01:19:21 "bip": "10.250.0.254/24", 01:19:21 "hosts": [ 01:19:21 "tcp://0.0.0.0:5555", 01:19:21 "unix:///var/run/docker.sock" 01:19:21 ], 01:19:21 "mtu": 1458, 01:19:21 "selinux-enabled": true, 01:19:21 "seccomp-profile": "/etc/docker/seccomp.json" 01:19:21 } [Pipeline] sh 01:19:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:19:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:19:40 provisioning config files... 01:19:40 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/203@tmp/config5915721505909785351tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:19:41 ---> ****-login.sh 01:19:41 nexus3.edgexfoundry.org:10001 01:19:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:19:41 Configure a credential helper to remove this warning. See 01:19:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:19:41 01:19:41 Login Succeeded 01:19:41 nexus3.edgexfoundry.org:10002 01:19:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:19:42 Configure a credential helper to remove this warning. See 01:19:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:19:42 01:19:42 Login Succeeded 01:19:42 nexus3.edgexfoundry.org:10003 01:19:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:19:42 Configure a credential helper to remove this warning. See 01:19:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:19:42 01:19:42 Login Succeeded 01:19:42 nexus3.edgexfoundry.org:10004 01:19:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:19:42 Configure a credential helper to remove this warning. See 01:19:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:19:42 01:19:42 Login Succeeded 01:19:42 ****.io 01:19:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:19:43 Configure a credential helper to remove this warning. See 01:19:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:19:43 01:19:43 Login Succeeded 01:19:43 ---> ****-login.sh ends [Pipeline] } 01:19:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:19:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:19:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:19:43 ========================================================= 01:19:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 01:19:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:19:44 + 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:19:44 Sending build context to Docker daemon 141.8kB 01:19:44 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 01:19:44 Step 2/12 : FROM ${BASE} AS builder 01:19:44 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:19:44 94e9d8af2201: Pulling fs layer 01:19:44 a6c56e8762df: Pulling fs layer 01:19:44 f0f3c8884826: Pulling fs layer 01:19:44 c7e7622c144d: Pulling fs layer 01:19:44 4f4fb700ef54: Pulling fs layer 01:19:44 e8859aadc426: Pulling fs layer 01:19:44 b4813487a9f6: Pulling fs layer 01:19:44 502a3d64fb4b: Pulling fs layer 01:19:44 e8859aadc426: Waiting 01:19:44 b4813487a9f6: Waiting 01:19:44 502a3d64fb4b: Waiting 01:19:44 4f4fb700ef54: Waiting 01:19:44 c7e7622c144d: Waiting 01:19:44 a6c56e8762df: Verifying Checksum 01:19:44 a6c56e8762df: Download complete 01:19:44 c7e7622c144d: Verifying Checksum 01:19:44 c7e7622c144d: Download complete 01:19:44 4f4fb700ef54: Download complete 01:19:44 e8859aadc426: Verifying Checksum 01:19:44 e8859aadc426: Download complete 01:19:44 94e9d8af2201: Download complete 01:19:45 502a3d64fb4b: Verifying Checksum 01:19:45 502a3d64fb4b: Download complete 01:19:45 94e9d8af2201: Pull complete 01:19:46 a6c56e8762df: Pull complete 01:19:46 f0f3c8884826: Download complete 01:19:47 b4813487a9f6: Verifying Checksum 01:19:47 b4813487a9f6: Download complete 01:20:02 f0f3c8884826: Pull complete 01:20:02 c7e7622c144d: Pull complete 01:20:02 4f4fb700ef54: Pull complete 01:20:02 e8859aadc426: Pull complete 01:20:08 b4813487a9f6: Pull complete 01:20:10 502a3d64fb4b: Pull complete 01:20:10 Digest: sha256:ccce412edaf9646599052987b87cd187cc8535800fd55ebf268fc97f1e5e6dde 01:20:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 01:20:10 ---> 3bb21d53e231 01:20:10 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:20:12 ---> Running in 589d6e16c05f 01:20:12 Removing intermediate container 589d6e16c05f 01:20:12 ---> 5ee1967ef7cf 01:20:12 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:20:12 ---> Running in b2e65d400195 01:20:12 Removing intermediate container b2e65d400195 01:20:12 ---> a567e5b27b6e 01:20:12 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:20:12 ---> Running in d66cf614d520 01:20:12 Removing intermediate container d66cf614d520 01:20:12 ---> 63f520fa4b66 01:20:12 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:20:12 ---> Running in beb454578ce9 01:20:13 Removing intermediate container beb454578ce9 01:20:13 ---> a883ea160f2b 01:20:13 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:20:13 ---> Running in 748d674e8505 01:20:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:20:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:20:16 (1/4) Installing openssh-keygen (9.7_p1-r5) 01:20:16 (2/4) Installing libedit (20240517.3.1-r0) 01:20:16 (3/4) Installing openssh-client-common (9.7_p1-r5) 01:20:16 (4/4) Installing openssh-client-default (9.7_p1-r5) 01:20:16 Executing busybox-1.36.1-r29.trigger 01:20:16 OK: 244 MiB in 62 packages 01:20:17 Removing intermediate container 748d674e8505 01:20:17 ---> ecd17c52f9a0 01:20:17 Step 8/12 : WORKDIR /device-rest-go 01:20:17 ---> Running in b836638a7218 01:20:17 Removing intermediate container b836638a7218 01:20:17 ---> 2b08fee89e6e 01:20:17 Step 9/12 : COPY go.mod vendor* ./ 01:20:18 ---> cbd0cfffad13 01:20:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:20:18 ---> Running in c2d7eafd30b6 01:22:39 Removing intermediate container c2d7eafd30b6 01:22:39 ---> 492ef92bc568 01:22:39 Step 11/12 : COPY . . 01:22:39 ---> 94d50fd66315 01:22:39 Step 12/12 : RUN $MAKE 01:22:39 ---> Running in e9ba1cf2e228 01:22:39 noop 01:22:40 Removing intermediate container e9ba1cf2e228 01:22:40 ---> ab4172fabf73 01:22:40 Successfully built ab4172fabf73 01:22:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:41 + docker inspect -f . ci-base-image-arm64 01:22:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:22:41 prd-ubuntu20.04-docker-arm64-4c-16g-4297 does not seem to be running inside a container 01:22:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/203 -v /w/workspace/device-rest-go/203:/w/workspace/device-rest-go/203:rw,z -v /w/workspace/device-rest-go/203@tmp:/w/workspace/device-rest-go/203@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:22:42 $ docker top 9716c64c591672627ec0dc9f6dcfa508ae986bf0f6c6b79863273bd4f9948290 -eo pid,comm [Pipeline] { [Pipeline] sh 01:22:43 + go version 01:22:43 go version go1.23.9 linux/arm64 [Pipeline] } 01:22:43 $ docker stop --time=1 9716c64c591672627ec0dc9f6dcfa508ae986bf0f6c6b79863273bd4f9948290 01:22:44 $ docker rm -f --volumes 9716c64c591672627ec0dc9f6dcfa508ae986bf0f6c6b79863273bd4f9948290 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:45 + docker inspect -f . ci-base-image-arm64 01:22:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:22:45 prd-ubuntu20.04-docker-arm64-4c-16g-4297 does not seem to be running inside a container 01:22:45 $ 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/203 -v /w/workspace/device-rest-go/203:/w/workspace/device-rest-go/203:rw,z -v /w/workspace/device-rest-go/203@tmp:/w/workspace/device-rest-go/203@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:22:46 $ docker top 389d06a487b98f0cf3f9b92fedf79b61d520fbc8ef10f2fbf2fac5f501e90185 -eo pid,comm [Pipeline] { [Pipeline] sh 01:22:47 + git config --global --add safe.directory /w/workspace/device-rest-go/203 [Pipeline] fileExists [Pipeline] sh 01:22:47 + make test 01:22:47 go test ./... -coverprofile=coverage.out ./... 01:22:53 ? github.com/edgexfoundry/device-rest-go [no test files] 01:26:29 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 01:26:32 ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 32.2% of statements 01:26:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:26:33 go vet ./... 01:27:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:27:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:27:20 ./bin/test-attribution-txt.sh 01:27:20 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 01:27:20 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add 01:27:20 An attribution for github.com/zitadel/logging is missing from Attribution.txt, please add 01:27:21 An attribution for github.com/zitadel/oidc/v3 is missing from Attribution.txt, please add 01:27:21 An attribution for github.com/zitadel/schema is missing from Attribution.txt, please add [Pipeline] echo 01:27:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 01:27:21 $ docker stop --time=1 389d06a487b98f0cf3f9b92fedf79b61d520fbc8ef10f2fbf2fac5f501e90185 01:27:23 $ docker rm -f --volumes 389d06a487b98f0cf3f9b92fedf79b61d520fbc8ef10f2fbf2fac5f501e90185 [Pipeline] // withDockerContainer [Pipeline] sh 01:27:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:27:24 Warning: overwriting stash ‘coverage-report’ 01:27:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:27:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:27:25 + ls -al . 01:27:25 total 240 01:27:25 drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 01:22 . 01:27:25 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 01:19 .. 01:27:25 -rw-rw-r-- 1 jenkins jenkins 151 Jul 1 01:19 .dockerignore 01:27:25 drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 01:19 .git 01:27:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 01:19 .github 01:27:25 -rw-rw-r-- 1 jenkins jenkins 264 Jul 1 01:19 .gitignore 01:27:25 -rw-rw-r-- 1 jenkins jenkins 41 Jul 1 01:19 .golangci.yml 01:27:25 -rw-rw-r-- 1 jenkins jenkins 20138 Jul 1 01:19 Attribution.txt 01:27:25 -rw-rw-r-- 1 jenkins jenkins 18492 Jul 1 01:19 CHANGELOG.md 01:27:25 -rw-rw-r-- 1 jenkins jenkins 1697 Jul 1 01:19 Dockerfile 01:27:25 -rw-rw-r-- 1 jenkins jenkins 677 Jul 1 01:19 GOVERNANCE.md 01:27:25 -rw-rw-r-- 1 jenkins jenkins 680 Jul 1 01:19 Jenkinsfile 01:27:25 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 1 01:19 LICENSE 01:27:25 -rw-rw-r-- 1 jenkins jenkins 2598 Jul 1 01:19 Makefile 01:27:25 -rw-rw-r-- 1 jenkins jenkins 620 Jul 1 01:19 OWNERS.md 01:27:25 -rw-rw-r-- 1 jenkins jenkins 3989 Jul 1 01:19 README.md 01:27:25 -rw-rw-r-- 1 jenkins jenkins 11 Jul 1 01:15 VERSION 01:27:25 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 01:19 bin 01:27:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 01:19 cmd 01:27:25 -rw-r--r-- 1 jenkins jenkins 14565 Jul 1 01:26 coverage.out 01:27:25 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 01:19 driver 01:27:25 -rw-rw-r-- 1 jenkins jenkins 6272 Jul 1 01:19 go.mod 01:27:25 -rw-rw-r-- 1 jenkins jenkins 86763 Jul 1 01:19 go.sum 01:27:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 01:19 openapi 01:27:25 -rw-rw-r-- 1 jenkins jenkins 713 Jul 1 01:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:26 + 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=d0980f3671d730af7436baa654813d49e60ecc67 --label arch=arm64 --label version=4.1.0-dev.4 . 01:27:26 Sending build context to Docker daemon 157.2kB 01:27:26 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 01:27:26 Step 2/26 : FROM ${BASE} AS builder 01:27:26 ---> ab4172fabf73 01:27:26 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:27:26 ---> Running in 84f70cedf6cb 01:27:26 Removing intermediate container 84f70cedf6cb 01:27:26 ---> 3d5baaa51076 01:27:26 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:27:26 ---> Running in 6984fba24a70 01:27:27 Removing intermediate container 6984fba24a70 01:27:27 ---> 5fa2508ee1ac 01:27:27 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:27:27 ---> Running in 7d644fad589e 01:27:27 Removing intermediate container 7d644fad589e 01:27:27 ---> 9c1e2ecef304 01:27:27 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:27:27 ---> Running in 7d529b7e4546 01:27:27 Removing intermediate container 7d529b7e4546 01:27:27 ---> d9bee15a58c8 01:27:27 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:27:27 ---> Running in 62053b1303fc 01:27:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:27:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:27:30 OK: 244 MiB in 62 packages 01:27:31 Removing intermediate container 62053b1303fc 01:27:31 ---> 0025c2230a1c 01:27:31 Step 8/26 : WORKDIR /device-rest-go 01:27:31 ---> Running in 998ca4076208 01:27:32 Removing intermediate container 998ca4076208 01:27:32 ---> e0600e1fa5a8 01:27:32 Step 9/26 : COPY go.mod vendor* ./ 01:27:33 ---> ae00a9b92528 01:27:33 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:27:33 ---> Running in b865f08d9598 01:27:35 Removing intermediate container b865f08d9598 01:27:35 ---> 37aecf47b106 01:27:35 Step 11/26 : COPY . . 01:27:35 ---> 0d877b77c3db 01:27:35 Step 12/26 : RUN $MAKE 01:27:35 ---> Running in b8b437f64801 01:27:36 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.18 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 01:30:58 Removing intermediate container b8b437f64801 01:30:58 ---> 5e9d3a7d894b 01:30:58 Step 13/26 : FROM alpine:3.20 01:30:58 3.20: Pulling from library/alpine 01:30:58 94e9d8af2201: Already exists 01:30:58 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 01:30:58 Status: Downloaded newer image for alpine:3.20 01:30:58 ---> 7aab056cecc6 01:30:58 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:30:58 ---> Running in af12ef67c95b 01:30:58 Removing intermediate container af12ef67c95b 01:30:58 ---> a5fdd9083ded 01:30:58 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 01:30:58 ---> Running in 870befb0124c 01:30:58 Removing intermediate container 870befb0124c 01:30:58 ---> c3810ffc1ba2 01:30:58 Step 16/26 : RUN apk add --update --no-cache dumb-init 01:30:58 ---> Running in 9588bcbe9bd2 01:30:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:30:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:30:58 (1/1) Installing dumb-init (1.2.5-r3) 01:30:58 Executing busybox-1.36.1-r29.trigger 01:30:58 OK: 9 MiB in 15 packages 01:30:58 Removing intermediate container 9588bcbe9bd2 01:30:58 ---> ae2107f1bbb4 01:30:58 Step 17/26 : RUN apk --no-cache upgrade 01:30:58 ---> Running in 5442bf0084c5 01:30:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:30:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:30:58 OK: 9 MiB in 15 packages 01:30:58 Removing intermediate container 5442bf0084c5 01:30:58 ---> f21c407c9cde 01:30:58 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 01:30:58 ---> ae90484b5cf6 01:30:58 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 01:30:58 ---> f5b28796afc0 01:30:58 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 01:30:58 ---> 21d453322820 01:30:58 Step 21/26 : EXPOSE 59986 01:30:58 ---> Running in 08ddaf0b01e6 01:30:58 Removing intermediate container 08ddaf0b01e6 01:30:58 ---> 13f65b17a9f0 01:30:58 Step 22/26 : ENTRYPOINT ["/device-rest"] 01:30:58 ---> Running in d20cc2670811 01:30:59 Removing intermediate container d20cc2670811 01:30:59 ---> 58f1b79d206a 01:30:59 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 01:30:59 ---> Running in 93a0980fdadd 01:30:59 Removing intermediate container 93a0980fdadd 01:30:59 ---> 4371adfed0e2 01:30:59 Step 24/26 : LABEL arch=arm64 01:30:59 ---> Running in 1886dbf6b72d 01:30:59 Removing intermediate container 1886dbf6b72d 01:30:59 ---> f824a5d35199 01:30:59 Step 25/26 : LABEL git_sha=d0980f3671d730af7436baa654813d49e60ecc67 01:30:59 ---> Running in 878dd5182dd1 01:31:00 Removing intermediate container 878dd5182dd1 01:31:00 ---> 16cca9cb6de3 01:31:00 Step 26/26 : LABEL version=4.1.0-dev.4 01:31:00 ---> Running in a609b0ac3c9b 01:31:00 Removing intermediate container a609b0ac3c9b 01:31:00 ---> b2d612e986b3 01:31:00 [Warning] One or more build-args [ARCH] were not consumed 01:31:00 Successfully built b2d612e986b3 01:31: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:31:00 provisioning config files... 01:31:00 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/203@tmp/config5762271499957461119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:31:01 ---> ****-login.sh 01:31:01 nexus3.edgexfoundry.org:10001 01:31:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:31:01 Configure a credential helper to remove this warning. See 01:31:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:31:01 01:31:01 Login Succeeded 01:31:01 nexus3.edgexfoundry.org:10002 01:31:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:31:01 Configure a credential helper to remove this warning. See 01:31:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:31:01 01:31:01 Login Succeeded 01:31:01 nexus3.edgexfoundry.org:10003 01:31:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:31:02 Configure a credential helper to remove this warning. See 01:31:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:31:02 01:31:02 Login Succeeded 01:31:02 nexus3.edgexfoundry.org:10004 01:31:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:31:02 Configure a credential helper to remove this warning. See 01:31:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:31:02 01:31:02 Login Succeeded 01:31:02 ****.io 01:31:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:31:02 Configure a credential helper to remove this warning. See 01:31:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:31:02 01:31:02 Login Succeeded 01:31:02 ---> ****-login.sh ends [Pipeline] } 01:31:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:31:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:31:03 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 01:31:03 d0980f3671d730af7436baa654813d49e60ecc67 01:31:03 latest 01:31:03 4.1.0-dev.4 01:31:03 d0980f3671d730af7436baa654813d49e60ecc67-4.1.0-dev.4 01:31:03 main 01:31:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:03 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:d0980f3671d730af7436baa654813d49e60ecc67 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:03 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:d0980f3671d730af7436baa654813d49e60ecc67 01:31:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:31:03 e96b237bd716: Preparing 01:31:03 b8ec6fb6f81d: Preparing 01:31:03 6ef3df132f02: Preparing 01:31:03 b39746c4a914: Preparing 01:31:03 cad6d782d408: Preparing 01:31:03 dd9c8f8612c8: Preparing 01:31:03 dd9c8f8612c8: Waiting 01:31:04 cad6d782d408: Pushed 01:31:04 b39746c4a914: Pushed 01:31:04 b8ec6fb6f81d: Pushed 01:31:04 e96b237bd716: Pushed 01:31:04 dd9c8f8612c8: Layer already exists 01:31:10 6ef3df132f02: Pushed 01:31:10 d0980f3671d730af7436baa654813d49e60ecc67: digest: sha256:e5551fbb3e3b899b6d1bd47e3d5f17de1b730de15ae87ce9c1de634dcc75a745 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:11 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:11 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:31:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:31:11 e96b237bd716: Preparing 01:31:11 b8ec6fb6f81d: Preparing 01:31:11 6ef3df132f02: Preparing 01:31:11 b39746c4a914: Preparing 01:31:11 cad6d782d408: Preparing 01:31:11 dd9c8f8612c8: Preparing 01:31:11 dd9c8f8612c8: Waiting 01:31:11 cad6d782d408: Layer already exists 01:31:11 6ef3df132f02: Layer already exists 01:31:11 b39746c4a914: Layer already exists 01:31:11 b8ec6fb6f81d: Layer already exists 01:31:11 e96b237bd716: Layer already exists 01:31:11 dd9c8f8612c8: Layer already exists 01:31:11 latest: digest: sha256:e5551fbb3e3b899b6d1bd47e3d5f17de1b730de15ae87ce9c1de634dcc75a745 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:11 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:12 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.4 01:31:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:31:12 e96b237bd716: Preparing 01:31:12 b8ec6fb6f81d: Preparing 01:31:12 6ef3df132f02: Preparing 01:31:12 b39746c4a914: Preparing 01:31:12 cad6d782d408: Preparing 01:31:12 dd9c8f8612c8: Preparing 01:31:12 dd9c8f8612c8: Waiting 01:31:12 b8ec6fb6f81d: Layer already exists 01:31:12 cad6d782d408: Layer already exists 01:31:12 6ef3df132f02: Layer already exists 01:31:12 b39746c4a914: Layer already exists 01:31:12 e96b237bd716: Layer already exists 01:31:12 dd9c8f8612c8: Layer already exists 01:31:12 4.1.0-dev.4: digest: sha256:e5551fbb3e3b899b6d1bd47e3d5f17de1b730de15ae87ce9c1de634dcc75a745 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:12 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:d0980f3671d730af7436baa654813d49e60ecc67-4.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:13 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:d0980f3671d730af7436baa654813d49e60ecc67-4.1.0-dev.4 01:31:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:31:13 e96b237bd716: Preparing 01:31:13 b8ec6fb6f81d: Preparing 01:31:13 6ef3df132f02: Preparing 01:31:13 b39746c4a914: Preparing 01:31:13 cad6d782d408: Preparing 01:31:13 dd9c8f8612c8: Preparing 01:31:13 dd9c8f8612c8: Waiting 01:31:13 6ef3df132f02: Layer already exists 01:31:13 b8ec6fb6f81d: Layer already exists 01:31:13 e96b237bd716: Layer already exists 01:31:13 b39746c4a914: Layer already exists 01:31:13 cad6d782d408: Layer already exists 01:31:13 dd9c8f8612c8: Layer already exists 01:31:13 d0980f3671d730af7436baa654813d49e60ecc67-4.1.0-dev.4: digest: sha256:e5551fbb3e3b899b6d1bd47e3d5f17de1b730de15ae87ce9c1de634dcc75a745 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:13 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:13 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 01:31:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:31:13 e96b237bd716: Preparing 01:31:13 b8ec6fb6f81d: Preparing 01:31:13 6ef3df132f02: Preparing 01:31:13 b39746c4a914: Preparing 01:31:13 cad6d782d408: Preparing 01:31:13 dd9c8f8612c8: Preparing 01:31:13 dd9c8f8612c8: Waiting 01:31:13 b39746c4a914: Layer already exists 01:31:13 cad6d782d408: Layer already exists 01:31:13 e96b237bd716: Layer already exists 01:31:13 b8ec6fb6f81d: Layer already exists 01:31:13 6ef3df132f02: Layer already exists 01:31:13 dd9c8f8612c8: Layer already exists 01:31:13 main: digest: sha256:e5551fbb3e3b899b6d1bd47e3d5f17de1b730de15ae87ce9c1de634dcc75a745 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:31:14 ===================================================== [Pipeline] echo 01:31:14 taggedImages: 01:31:14 - nexus3.edgexfoundry.org:10004/device-rest-arm64:d0980f3671d730af7436baa654813d49e60ecc67 01:31:14 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:31:14 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.4 01:31:14 - nexus3.edgexfoundry.org:10004/device-rest-arm64:d0980f3671d730af7436baa654813d49e60ecc67-4.1.0-dev.4 01:31:14 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] echo 01:31:14 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:d0980f3671d730af7436baa654813d49e60ecc67 [Pipeline] echo 01:31:14 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] echo 01:31:14 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.4 [Pipeline] echo 01:31:14 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:d0980f3671d730af7436baa654813d49e60ecc67-4.1.0-dev.4 [Pipeline] echo 01:31:14 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:31:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:31:14 01:31:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:31:14 arm64: Pulling from edgex-lftools-log-publisher 01:31:14 8998bd30e6a1: Pulling fs layer 01:31:14 04944245beec: Pulling fs layer 01:31:14 699f458cf7ca: Pulling fs layer 01:31:14 765212b225bb: Pulling fs layer 01:31:14 f23df028b6ca: Pulling fs layer 01:31:14 d65c8cfc05b1: Pulling fs layer 01:31:14 2437ff75d9bd: Pulling fs layer 01:31:14 d65c8cfc05b1: Waiting 01:31:14 765212b225bb: Waiting 01:31:14 f23df028b6ca: Waiting 01:31:14 2437ff75d9bd: Waiting 01:31:15 04944245beec: Verifying Checksum 01:31:15 04944245beec: Download complete 01:31:15 765212b225bb: Verifying Checksum 01:31:15 765212b225bb: Download complete 01:31:15 f23df028b6ca: Verifying Checksum 01:31:15 f23df028b6ca: Download complete 01:31:15 d65c8cfc05b1: Verifying Checksum 01:31:15 d65c8cfc05b1: Download complete 01:31:15 699f458cf7ca: Verifying Checksum 01:31:15 699f458cf7ca: Download complete 01:31:15 8998bd30e6a1: Verifying Checksum 01:31:15 8998bd30e6a1: Download complete 01:31:18 2437ff75d9bd: Verifying Checksum 01:31:18 2437ff75d9bd: Download complete 01:31:20 8998bd30e6a1: Pull complete 01:31:20 04944245beec: Pull complete 01:31:22 699f458cf7ca: Pull complete 01:31:22 765212b225bb: Pull complete 01:31:23 f23df028b6ca: Pull complete 01:31:23 d65c8cfc05b1: Pull complete 01:31:41 2437ff75d9bd: Pull complete 01:31:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:31:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:31:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:41 prd-ubuntu20.04-docker-arm64-4c-16g-4297 does not seem to be running inside a container 01:31:41 $ 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/203 -v /w/workspace/device-rest-go/203:/w/workspace/device-rest-go/203:rw,z -v /w/workspace/device-rest-go/203@tmp:/w/workspace/device-rest-go/203@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:31:44 $ docker top 3b7fb119a291bf993ae865fbd8765e36f52f948082aed830cb87f9128fe84ee8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:31:45 ---> job-cost.sh 01:31:45 lf-activate-venv: SKIPPING 01:31:45 INFO: No Stack... 01:31:46 INFO: Retrieving Pricing Info for: v3-standard-4 01:31:46 INFO: Archiving Costs [Pipeline] sh 01:31:46 + cat /w/workspace/device-rest-go/203/archives/cost.csv+ 01:31:46 cut -d, -f6 [Pipeline] lock 01:31:46 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-203-stack-cost] 01:31:46 Resource [jenkins-edgexfoundry-device-rest-go-main-203-stack-cost] did not exist. Created. 01:31:47 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-203-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:31:47 /w/workspace/device-rest-go/203@tmp/durable-0ca36bd1/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:31:47 + echo total: 0.10999999940395355 [Pipeline] stash 01:31:47 Warning: overwriting stash ‘stack-cost’ 01:31:47 Stashed 1 file(s) [Pipeline] } 01:31:47 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-203-stack-cost] [Pipeline] // lock [Pipeline] } 01:31:47 $ docker stop --time=1 3b7fb119a291bf993ae865fbd8765e36f52f948082aed830cb87f9128fe84ee8 01:31:49 $ docker rm -f --volumes 3b7fb119a291bf993ae865fbd8765e36f52f948082aed830cb87f9128fe84ee8 [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:31:49 provisioning config files... 01:31:49 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16085373218716206598tmp [Pipeline] { [Pipeline] sh 01:31:49 + set +x 01:31:49 + curl -s https://codecov.io/bash 01:31:49 + bash -s -- 01:31:49 01:31:49 _____ _ 01:31:49 / ____| | | 01:31:49 | | ___ __| | ___ ___ _____ __ 01:31:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:31:49 | |___| (_) | (_| | __/ (_| (_) \ V / 01:31:49 \_____\___/ \__,_|\___|\___\___/ \_/ 01:31:49 Bash-1.0.6 01:31:49 01:31:49 01:31:49 ==> git version 2.25.1 found 01:31:49 ==> 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:31:49 Release-Date: 2020-01-08 01:31:49 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:31:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:31:49 ==> Jenkins CI detected. 01:31:49 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 01:31:49 project root: . 01:31:49 --> token set from env 01:31:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:31:50 ==> Running gcov in . (disable via -X gcov) 01:31:50 ==> Python coveragepy not found 01:31:50 ==> Searching for coverage reports in: 01:31:50 + . 01:31:50 -> Found 1 reports 01:31:50 ==> Detecting git/mercurial file structure 01:31:50 ==> Reading reports 01:31:50 + ./coverage.out bytes=14565 01:31:50 ==> Appending adjustments 01:31:50 https://docs.codecov.io/docs/fixing-reports 01:31:50 + Found adjustments 01:31:50 ==> Gzipping contents 01:31:50 4.0K /tmp/codecov.HIhgVK.gz 01:31:50 ==> Uploading reports 01:31:50 url: https://codecov.io 01:31:50 query: branch=main&commit=d0980f3671d730af7436baa654813d49e60ecc67&build=203&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F203%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:31:50 -> Pinging Codecov 01:31:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=d0980f3671d730af7436baa654813d49e60ecc67&build=203&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F203%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:31:50 -> Uploading to 01:31:50 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/d0980f3671d730af7436baa654813d49e60ecc67/08f6f7e3-16ec-4a9a-8ffa-c42cb90cf84b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250701%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250701T013150Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=78f877e5b11a6800fb18a3a0986b93324b75e27df49ffa2ba279de1987c0ac28 01:31:50 % Total % Received % Xferd Average Speed Time Time Time Current 01:31:50 Dload Upload Total Spent Left Speed 01:31:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2326 0 0 100 2326 0 10572 --:--:-- --:--:-- --:--:-- 10524 100 2326 0 0 100 2326 0 8911 --:--:-- --:--:-- --:--:-- 8877 01:31:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/d0980f3671d730af7436baa654813d49e60ecc67 [Pipeline] } 01:31:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:31:50 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:31:51 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:31:51 01:31:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:31:51 latest: Pulling from edgex-devops/edgex-snyk-go 01:31:51 0a9a5dfd008f: Already exists 01:31:51 36466aa92d05: Already exists 01:31:51 e10405b45d13: Already exists 01:31:51 096b7ceb2af7: Already exists 01:31:51 4f4fb700ef54: Already exists 01:31:51 e50aa161e22a: Pulling fs layer 01:31:51 d3c8db5fb9df: Pulling fs layer 01:31:51 e50aa161e22a: Verifying Checksum 01:31:51 e50aa161e22a: Download complete 01:31:52 e50aa161e22a: Pull complete 01:31:53 d3c8db5fb9df: Verifying Checksum 01:31:53 d3c8db5fb9df: Download complete 01:31:57 d3c8db5fb9df: Pull complete 01:31:57 Digest: sha256:dd1bc05e8109ba836052a65277634c2595aaffbf12b6b6479deaea63345484be 01:31:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:31:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:57 prd-ubuntu20.04-docker-8c-8g-4296 does not seem to be running inside a container 01:31:57 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 01:31:58 $ docker top e8a3983a63cfd64881f9d85847992d921afb8aaae373f8db4212c53edeebb23d -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:59 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 01:31:59 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 01:31:59 + set -o pipefail 01:31:59 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 01:32:10 01:32:10 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 01:32:10 01:32:10 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/472e3686-ff32-4cfa-8b8a-9dc7f5dd64e4 01:32:10 01:32:10 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:32:10 [Pipeline] } 01:32:10 $ docker stop --time=1 e8a3983a63cfd64881f9d85847992d921afb8aaae373f8db4212c53edeebb23d 01:32:13 $ docker rm -f --volumes e8a3983a63cfd64881f9d85847992d921afb8aaae373f8db4212c53edeebb23d [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:32:14 + git log --format=format:%s -1 d0980f3671d730af7436baa654813d49e60ecc67 [Pipeline] sh 01:32:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:32:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:32:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:15 prd-ubuntu20.04-docker-8c-8g-4296 does not seem to be running inside a container 01:32:15 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:32:15 $ docker top 96fe5c8ea7ddf69b2bb1537968f7468f8a58e68a947030ca5a3b1b7648e8401f -eo pid,comm 01:32:15 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:32:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:32:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:32:15 [ssh-agent] Looking for ssh-agent implementation... 01:32:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:32:15 $ docker exec 96fe5c8ea7ddf69b2bb1537968f7468f8a58e68a947030ca5a3b1b7648e8401f ssh-agent 01:32:15 SSH_AUTH_SOCK=/tmp/ssh-ongG5SLUO5Pj/agent.34 01:32:15 SSH_AGENT_PID=40 01:32:15 Running ssh-add (command line suppressed) 01:32:15 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15654218793875983797.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15654218793875983797.key) 01:32:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:32:16 + git semver tag 01:32:16 2025-07-01 01:32:16,447 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 01:32:16 2025-07-01 01:32:16,452 [run_tag] DEBUG tag force:False 01:32:16 2025-07-01 01:32:16,452 [check_head_tag] DEBUG check head tag 01:32:16 2025-07-01 01:32:16,453 [execute] INFO git cat-file --batch-check 01:32:16 2025-07-01 01:32:16,453 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=, shell=False, universal_newlines=False) 01:32:16 2025-07-01 01:32:16,456 [execute] INFO git cat-file --batch 01:32:16 2025-07-01 01:32:16,456 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=, shell=False, universal_newlines=False) 01:32:16 2025-07-01 01:32:16,470 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:32:16 2025-07-01 01:32:16,470 [execute] INFO git tag -a v4.1.0-dev.4 -m v4.1.0-dev.4 01:32:16 2025-07-01 01:32:16,470 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.1.0-dev.4', '-m', 'v4.1.0-dev.4'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=None, shell=False, universal_newlines=False) 01:32:16 2025-07-01 01:32:16,474 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:32:16 4.1.0-dev.4 [Pipeline] } 01:32:16 $ docker exec --env ******** --env ******** 96fe5c8ea7ddf69b2bb1537968f7468f8a58e68a947030ca5a3b1b7648e8401f ssh-agent -k 01:32:16 unset SSH_AUTH_SOCK; 01:32:16 unset SSH_AGENT_PID; 01:32:16 echo Agent pid 40 killed; 01:32:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:32:17 + git semver [Pipeline] } 01:32:17 $ docker stop --time=1 96fe5c8ea7ddf69b2bb1537968f7468f8a58e68a947030ca5a3b1b7648e8401f 01:32:18 $ docker rm -f --volumes 96fe5c8ea7ddf69b2bb1537968f7468f8a58e68a947030ca5a3b1b7648e8401f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:32:19 01:32:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:32:19 0.23.1-centos7: Pulling from edgex-lftools 01:32:19 ab5ef0e58194: Pulling fs layer 01:32:19 9712f1f96733: Pulling fs layer 01:32:19 63f879dbbcfc: Pulling fs layer 01:32:19 0d9ebad4ef96: Pulling fs layer 01:32:19 e9a5061849ea: Pulling fs layer 01:32:19 d747dcd14b5f: Pulling fs layer 01:32:19 2de7ff778b66: Pulling fs layer 01:32:19 d747dcd14b5f: Waiting 01:32:19 0d9ebad4ef96: Waiting 01:32:19 2de7ff778b66: Waiting 01:32:19 e9a5061849ea: Waiting 01:32:19 9712f1f96733: Download complete 01:32:19 63f879dbbcfc: Verifying Checksum 01:32:19 63f879dbbcfc: Download complete 01:32:19 e9a5061849ea: Verifying Checksum 01:32:19 e9a5061849ea: Download complete 01:32:19 d747dcd14b5f: Verifying Checksum 01:32:19 d747dcd14b5f: Download complete 01:32:20 2de7ff778b66: Verifying Checksum 01:32:20 2de7ff778b66: Download complete 01:32:20 0d9ebad4ef96: Verifying Checksum 01:32:20 0d9ebad4ef96: Download complete 01:32:20 ab5ef0e58194: Verifying Checksum 01:32:20 ab5ef0e58194: Download complete 01:32:24 ab5ef0e58194: Pull complete 01:32:24 9712f1f96733: Pull complete 01:32:25 63f879dbbcfc: Pull complete 01:32:30 0d9ebad4ef96: Pull complete 01:32:30 e9a5061849ea: Pull complete 01:32:30 d747dcd14b5f: Pull complete 01:32:32 2de7ff778b66: Pull complete 01:32:32 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:32:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:32:32 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:32 prd-ubuntu20.04-docker-8c-8g-4296 does not seem to be running inside a container 01:32:32 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:32:34 $ docker top c07e41249798fd757c815ba42fab7abb81aacfe6df6d29c47e3c05e2461cb1cb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:32:34 provisioning config files... 01:32:34 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10602281090393057738tmp 01:32:34 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10307452903695279811tmp 01:32:34 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9543215529218797501tmp [Pipeline] { [Pipeline] echo 01:32:34 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:32:35 ---> sigul-configuration.sh 01:32:35 gpg: directory `/root/.gnupg' created 01:32:35 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:32:35 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:32:35 gpg: keyring `/root/.gnupg/secring.gpg' created 01:32:35 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:32:35 gpg: CAST5 encrypted data 01:32:35 gpg: encrypted with 1 passphrase 01:32:35 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:32:35 + mkdir /home/jenkins 01:32:35 + mkdir /home/jenkins/sigul [Pipeline] sh 01:32:35 + 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:32:35 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:32:36 ---> sigul-install.sh 01:32:36 Sigul already installed; skipping installation. [Pipeline] sh 01:32:36 + git tag --list 01:32:36 v1.0.0 01:32:36 v1.1.0 01:32:36 v1.1.1 01:32:36 v1.1.2 01:32:36 v1.2.0 01:32:36 v1.2.1 01:32:36 v2.0.0 01:32:36 v2.1.0 01:32:36 v2.1.1 01:32:36 v2.2.0 01:32:36 v2.3.0 01:32:36 v3.0 01:32:36 v3.0.0 01:32:36 v3.1 01:32:36 v3.1.0 01:32:36 v3.1.1 01:32:36 v4.0 01:32:36 v4.0.0 01:32:36 v4.1.0-dev.1 01:32:36 v4.1.0-dev.2 01:32:36 v4.1.0-dev.3 01:32:36 v4.1.0-dev.4 [Pipeline] sh 01:32:36 + lftools sign git-tag v4.1.0-dev.4 01:32:37 Signing Git tag with Sigul... 01:32:37 Signing v4.1.0-dev.4 [Pipeline] echo 01:32:37 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:32:38 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:32:38 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:32:38 $ docker stop --time=1 c07e41249798fd757c815ba42fab7abb81aacfe6df6d29c47e3c05e2461cb1cb 01:32:39 $ docker rm -f --volumes c07e41249798fd757c815ba42fab7abb81aacfe6df6d29c47e3c05e2461cb1cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:32:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:32:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:32:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:40 prd-ubuntu20.04-docker-8c-8g-4296 does not seem to be running inside a container 01:32: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:32:40 $ docker top e7c72376f57d87be1290007b0c86230d10271c842bbfbffc92581e2616392f25 -eo pid,comm 01:32: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:32:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:32:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:32:40 [ssh-agent] Looking for ssh-agent implementation... 01:32:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:32:41 $ docker exec e7c72376f57d87be1290007b0c86230d10271c842bbfbffc92581e2616392f25 ssh-agent 01:32:41 SSH_AUTH_SOCK=/tmp/ssh-VNjrxuJPYoxO/agent.32 01:32:41 SSH_AGENT_PID=39 01:32:41 Running ssh-add (command line suppressed) 01:32:41 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10893817955658756872.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10893817955658756872.key) 01:32:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:32:41 + git semver bump pre 01:32:41 2025-07-01 01:32:41,779 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 01:32:41 2025-07-01 01:32:41,782 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:32:41 2025-07-01 01:32:41,782 [bump_version] DEBUG bumping version:4.1.0-dev.4 on axis:pre with prefix:dev 01:32:41 2025-07-01 01:32:41,782 [bump_version] DEBUG bumped version:4.1.0-dev.5 01:32:41 2025-07-01 01:32:41,782 [write_version] DEBUG write version:4.1.0-dev.5 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 01:32:41 2025-07-01 01:32:41,782 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:32:41 2025-07-01 01:32:41,782 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:32:41 2025-07-01 01:32:41,784 [execute] INFO git cat-file --batch-check 01:32:41 2025-07-01 01:32:41,784 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=, shell=False, universal_newlines=False) 01:32:41 2025-07-01 01:32:41,787 [execute] INFO git cat-file --batch 01:32:41 2025-07-01 01:32:41,788 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=, shell=False, universal_newlines=False) 01:32:41 2025-07-01 01:32:41,790 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:32:41 4.1.0-dev.5 [Pipeline] } 01:32:42 $ docker exec --env ******** --env ******** e7c72376f57d87be1290007b0c86230d10271c842bbfbffc92581e2616392f25 ssh-agent -k 01:32:42 unset SSH_AUTH_SOCK; 01:32:42 unset SSH_AGENT_PID; 01:32:42 echo Agent pid 39 killed; 01:32:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:32:42 + git semver [Pipeline] } 01:32:42 $ docker stop --time=1 e7c72376f57d87be1290007b0c86230d10271c842bbfbffc92581e2616392f25 01:32:44 $ docker rm -f --volumes e7c72376f57d87be1290007b0c86230d10271c842bbfbffc92581e2616392f25 [Pipeline] // withDockerContainer [Pipeline] sh 01:32:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:32:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:32:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:44 prd-ubuntu20.04-docker-8c-8g-4296 does not seem to be running inside a container 01:32: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:32:45 $ docker top c73cbecd467f3c58d5a2dbf269c3f7fbe3ae630c7e361bac4defefb2e608721b -eo pid,comm 01:32:45 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:32:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:32:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:32:45 [ssh-agent] Looking for ssh-agent implementation... 01:32:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:32:45 $ docker exec c73cbecd467f3c58d5a2dbf269c3f7fbe3ae630c7e361bac4defefb2e608721b ssh-agent 01:32:45 SSH_AUTH_SOCK=/tmp/ssh-9XDVUFmLiH8V/agent.33 01:32:45 SSH_AGENT_PID=39 01:32:45 Running ssh-add (command line suppressed) 01:32:45 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3400260086464751676.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3400260086464751676.key) 01:32:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:32:45 + git semver push 01:32:46 2025-07-01 01:32:46,043 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 01:32:46 2025-07-01 01:32:46,047 [run_push] DEBUG push 01:32:46 2025-07-01 01:32:46,048 [execute] INFO git cat-file --batch-check 01:32:46 2025-07-01 01:32:46,048 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=, shell=False, universal_newlines=False) 01:32:46 2025-07-01 01:32:46,051 [execute] INFO git rev-list dae1aaffb5a5f9ca727d6bb65f91a0ad650b62fb -- 01:32:46 2025-07-01 01:32:46,051 [execute] DEBUG Popen(['git', 'rev-list', 'dae1aaffb5a5f9ca727d6bb65f91a0ad650b62fb', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=None, shell=False, universal_newlines=False) 01:32:46 2025-07-01 01:32:46,060 [execute] INFO git fetch -v -- origin 01:32:46 2025-07-01 01:32:46,060 [execute] DEBUG Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=None, shell=False, universal_newlines=True) 01:32:46 2025-07-01 01:32:46,541 [run_push] DEBUG no remote changes detected 01:32:46 2025-07-01 01:32:46,542 [execute] INFO git push origin semver 01:32:46 2025-07-01 01:32:46,542 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=None, shell=False, universal_newlines=False) 01:32:47 2025-07-01 01:32:47,266 [run_push] DEBUG push all version tags 01:32:47 2025-07-01 01:32:47,266 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:32:47 2025-07-01 01:32:47,267 [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:32:48 2025-07-01 01:32:47,999 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:32:48 4.1.0-dev.5 [Pipeline] } 01:32:48 $ docker exec --env ******** --env ******** c73cbecd467f3c58d5a2dbf269c3f7fbe3ae630c7e361bac4defefb2e608721b ssh-agent -k 01:32:48 unset SSH_AUTH_SOCK; 01:32:48 unset SSH_AGENT_PID; 01:32:48 echo Agent pid 39 killed; 01:32:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:32:48 + git semver [Pipeline] } 01:32:48 $ docker stop --time=1 c73cbecd467f3c58d5a2dbf269c3f7fbe3ae630c7e361bac4defefb2e608721b 01:32:50 $ docker rm -f --volumes c73cbecd467f3c58d5a2dbf269c3f7fbe3ae630c7e361bac4defefb2e608721b [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:32:50 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 01:32:50 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:32:50 total 16 01:32:50 drwxr-xr-x 3 root root 4096 Jul 1 01:19 . 01:32:50 drwxrwxr-x 10 jenkins jenkins 4096 Jul 1 01:32 .. 01:32:50 drwxr-xr-x 2 root root 4096 Jul 1 01:19 cost 01:32:50 -rw-r--r-- 1 root root 86 Jul 1 01:19 cost.csv 01:32:50 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 01:32:50 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:32:50 total 16 01:32:50 drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 01:19 . 01:32:50 drwxrwxr-x 10 jenkins jenkins 4096 Jul 1 01:32 .. 01:32:50 drwxr-xr-x 2 jenkins jenkins 4096 Jul 1 01:19 cost 01:32:50 -rw-r--r-- 1 jenkins jenkins 86 Jul 1 01:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:32:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:32:51 ---> package-listing.sh 01:32:51 ++ facter osfamily 01:32:51 ++ tr '[:upper:]' '[:lower:]' 01:32:52 + OS_FAMILY=debian 01:32:52 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 01:32:52 + START_PACKAGES=/tmp/packages_start.txt 01:32:52 + END_PACKAGES=/tmp/packages_end.txt 01:32:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:32:52 + PACKAGES=/tmp/packages_start.txt 01:32:52 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:32:52 + PACKAGES=/tmp/packages_end.txt 01:32:52 + case "${OS_FAMILY}" in 01:32:52 + dpkg -l 01:32:52 + grep '^ii' 01:32:52 + '[' -f /tmp/packages_start.txt ']' 01:32:52 + '[' -f /tmp/packages_end.txt ']' 01:32:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:32:52 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:32:52 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 01:32:52 + 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:32:52 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:32:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:32:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:53 prd-ubuntu20.04-docker-8c-8g-4296 does not seem to be running inside a container 01:32:53 $ 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:32:53 $ docker top 8c5292eeffc25d793896e9b85a9cc7973700e821ef5045f8fe9db7edef5703ad -eo pid,comm [Pipeline] { [Pipeline] sh 01:32:53 + touch /tmp/pre-build-complete [Pipeline] sh 01:32:53 + mkdir -p /var/log/sysstat [Pipeline] sh 01:32:54 + ls /var/log/sa-host 01:32:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:32:54 provisioning config files... 01:32:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7082610677967821682tmp [Pipeline] { [Pipeline] echo 01:32:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:32:54 ---> create-netrc.sh [Pipeline] } 01:32:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:32:54 ---> python-tools-install.sh [Pipeline] echo 01:32:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:32:55 ---> sudo-logs.sh 01:32:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:32:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:32:55 ---> job-cost.sh 01:32:55 lf-activate-venv: SKIPPING 01:32:55 DEBUG: total: 0.2199999988079071 01:32:55 INFO: Retrieving Stack Cost... 01:32:55 INFO: Retrieving Pricing Info for: v3-standard-8 01:32:56 INFO: Archiving Costs [Pipeline] echo 01:32:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:32:56 ---> logs-deploy.sh 01:32:56 lf-activate-venv: SKIPPING 01:32:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/203 01:32:56 INFO: archiving workspace using pattern(s): 01:32:57 Archives upload complete. 01:32:57 INFO: archiving logs to Nexus