Pull request #499 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jumpingliu for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from d91ea21beae7cfdaeba3cdfe1f15eda34d5fe207+89941b0a9895bc26ebe4c09e1e6b065cfac3867b (0f0f27507bcca9a95c43c93956be7cbf0227e8b1) 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-ssh15063634288602691449.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh13707934232405106767.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-499/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-onvif-camera/branches/PR-499/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10665188473718842468.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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-ssh17221120121300709768.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-onvif-camera/branches/PR-499/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-onvif-camera/branches/PR-499/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15311340624070234875.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-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [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-onvif-camera-settings PROJECT: device-onvif-camera 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-onvif-camera 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: true SWAGGER_API_FOLDERS: doc/openapi/v3 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 ‘prd-ubuntu20.04-docker-8c-8g-39674’ Running on prd-ubuntu20.04-docker-8c-8g-39676 in /w/workspace/undry_device-onvif-camera_PR-499 [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-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-499 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.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-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/499/head:refs/remotes/origin/PR-499 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 89941b0a9895bc26ebe4c09e1e6b065cfac3867b into PR head commit d91ea21beae7cfdaeba3cdfe1f15eda34d5fe207 Merge succeeded, producing d91ea21beae7cfdaeba3cdfe1f15eda34d5fe207 Checking out Revision d91ea21beae7cfdaeba3cdfe1f15eda34d5fe207 (PR-499) > git config core.sparsecheckout # timeout=10 > git checkout -f d91ea21beae7cfdaeba3cdfe1f15eda34d5fe207 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 89941b0a9895bc26ebe4c09e1e6b065cfac3867b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d91ea21beae7cfdaeba3cdfe1f15eda34d5fe207 # timeout=10 Commit message: "docs: Update changelog for 4.0 release" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:36:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:36:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:36:46 ========================================================= 07:36:46 EdgeX Global Pipelines Version Info 07:36:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 76233ba93f8805db0b7019cfe1fc18c85f22e3ec # timeout=10 07:36:47 ------------------- 07:36:47 stable info: 07:36:47 ------------------- 07:36:47 Commited By: Cherry Wang cherry@iotechsys.com 07:36:47 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 07:36:47 Message: update stable to v1.0.269 07:36:48 ------------------- 07:36:48 experimental info: 07:36:48 ------------------- 07:36:48 Commited By: **** collab-it+edgex@linuxfoundation.org 07:36:48 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 07:36:48 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-499 [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-499 [Pipeline] echo 07:36:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-499 [Pipeline] echo 07:36:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d91ea21beae7cfdaeba3cdfe1f15eda34d5fe207 [Pipeline] echo 07:36:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d91ea21 [Pipeline] echo 07:36:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:36:49 provisioning config files... 07:36:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-499@tmp/config15426035410291912799tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:36:49 ---> ****-login.sh 07:36:49 nexus3.edgexfoundry.org:10001 07:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:49 Configure a credential helper to remove this warning. See 07:36:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:49 07:36:49 Login Succeeded 07:36:49 nexus3.edgexfoundry.org:10002 07:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:49 Configure a credential helper to remove this warning. See 07:36:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:49 07:36:49 Login Succeeded 07:36:49 nexus3.edgexfoundry.org:10003 07:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:49 Configure a credential helper to remove this warning. See 07:36:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:49 07:36:49 Login Succeeded 07:36:49 nexus3.edgexfoundry.org:10004 07:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:49 Configure a credential helper to remove this warning. See 07:36:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:49 07:36:49 Login Succeeded 07:36:49 ****.io 07:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:50 Configure a credential helper to remove this warning. See 07:36:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:50 07:36:50 Login Succeeded 07:36:50 ---> ****-login.sh ends [Pipeline] } 07:36:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:36:50 + git rev-list -1 --merges d91ea21beae7cfdaeba3cdfe1f15eda34d5fe207~1..d91ea21beae7cfdaeba3cdfe1f15eda34d5fe207 [Pipeline] echo 07:36:50 -----------> git rev-list -1 --merges d91ea21beae7cfdaeba3cdfe1f15eda34d5fe207~1..d91ea21beae7cfdaeba3cdfe1f15eda34d5fe207 d91ea21beae7cfdaeba3cdfe1f15eda34d5fe207 [false] [Pipeline] sh 07:36:50 + git log --format=format:%s -1 d91ea21beae7cfdaeba3cdfe1f15eda34d5fe207 [Pipeline] echo 07:36:50 ========================================================= 07:36:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:36:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:36:51 + git log --format=format:%s -1 d91ea21beae7cfdaeba3cdfe1f15eda34d5fe207 [Pipeline] echo 07:36:51 [semverPrep] GIT_COMMIT: d91ea21beae7cfdaeba3cdfe1f15eda34d5fe207, Commit Message: docs: Update changelog for 4.0 release [Pipeline] echo 07:36:51 [semverPrep] This is not a build commit. [Pipeline] sh 07:36:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:36:51 + grep -v github /etc/ssh/ssh_known_hosts 07:36:51 + [ -e /tmp/ssh_known_hosts ] 07:36:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:36:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:36:51 + sudo tee -a /etc/ssh/ssh_known_hosts 07:36:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:36:52 07:36:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:36:52 0.1.4: Pulling from edgex-devops/py-git-semver 07:36:52 b85a868b505f: Pulling fs layer 07:36:52 e2be974225ed: Pulling fs layer 07:36:52 339a4e72a1f5: Pulling fs layer 07:36:52 988bab9f4d93: Pulling fs layer 07:36:52 1469e6f7b9e6: Pulling fs layer 07:36:52 eaf3925da568: Pulling fs layer 07:36:52 bab4dde63d76: Pulling fs layer 07:36:52 bde34c3a00c8: Pulling fs layer 07:36:52 b352a97aabf1: Pulling fs layer 07:36:52 4872d77fe225: Pulling fs layer 07:36:52 5851b861e8e6: Pulling fs layer 07:36:52 eaf3925da568: Waiting 07:36:52 bab4dde63d76: Waiting 07:36:52 bde34c3a00c8: Waiting 07:36:52 b352a97aabf1: Waiting 07:36:52 988bab9f4d93: Waiting 07:36:52 1469e6f7b9e6: Waiting 07:36:52 4872d77fe225: Waiting 07:36:52 5851b861e8e6: Waiting 07:36:52 e2be974225ed: Verifying Checksum 07:36:52 e2be974225ed: Download complete 07:36:52 988bab9f4d93: Verifying Checksum 07:36:52 988bab9f4d93: Download complete 07:36:52 1469e6f7b9e6: Verifying Checksum 07:36:52 1469e6f7b9e6: Download complete 07:36:52 eaf3925da568: Verifying Checksum 07:36:52 eaf3925da568: Download complete 07:36:52 339a4e72a1f5: Verifying Checksum 07:36:52 339a4e72a1f5: Download complete 07:36:52 bde34c3a00c8: Verifying Checksum 07:36:52 bde34c3a00c8: Download complete 07:36:52 b352a97aabf1: Download complete 07:36:52 4872d77fe225: Download complete 07:36:52 5851b861e8e6: Verifying Checksum 07:36:52 5851b861e8e6: Download complete 07:36:52 b85a868b505f: Verifying Checksum 07:36:52 b85a868b505f: Download complete 07:36:52 bab4dde63d76: Verifying Checksum 07:36:52 bab4dde63d76: Download complete 07:36:53 b85a868b505f: Pull complete 07:36:53 e2be974225ed: Pull complete 07:36:54 339a4e72a1f5: Pull complete 07:36:54 988bab9f4d93: Pull complete 07:36:54 1469e6f7b9e6: Pull complete 07:36:54 eaf3925da568: Pull complete 07:36:56 bab4dde63d76: Pull complete 07:36:56 bde34c3a00c8: Pull complete 07:36:56 b352a97aabf1: Pull complete 07:36:56 4872d77fe225: Pull complete 07:36:56 5851b861e8e6: Pull complete 07:36:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:36:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:36:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:36:56 prd-ubuntu20.04-docker-8c-8g-39676 does not seem to be running inside a container 07:36:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-499 -v /w/workspace/undry_device-onvif-camera_PR-499:/w/workspace/undry_device-onvif-camera_PR-499:rw,z -v /w/workspace/undry_device-onvif-camera_PR-499@tmp:/w/workspace/undry_device-onvif-camera_PR-499@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:36:58 $ docker top 0972aeae8e6724876ec0a2c3880fff57675d87ee3c08bdec53d191bb729432a1 -eo pid,comm 07:36:58 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). 07:36:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:36:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:36:58 [ssh-agent] Looking for ssh-agent implementation... 07:36:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:36:59 $ docker exec 0972aeae8e6724876ec0a2c3880fff57675d87ee3c08bdec53d191bb729432a1 ssh-agent 07:36:59 SSH_AUTH_SOCK=/tmp/ssh-2fLGJMRpNui6/agent.33 07:36:59 SSH_AGENT_PID=39 07:36:59 Running ssh-add (command line suppressed) 07:36:59 Identity added: /w/workspace/undry_device-onvif-camera_PR-499@tmp/private_key_12202119625567624378.key (/w/workspace/undry_device-onvif-camera_PR-499@tmp/private_key_12202119625567624378.key) 07:36:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:36:59 + git tag --points-at HEAD [Pipeline] } 07:36:59 $ docker exec --env ******** --env ******** 0972aeae8e6724876ec0a2c3880fff57675d87ee3c08bdec53d191bb729432a1 ssh-agent -k 07:36:59 unset SSH_AUTH_SOCK; 07:36:59 unset SSH_AGENT_PID; 07:36:59 echo Agent pid 39 killed; 07:36:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:36:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:36:59 [ssh-agent] Looking for ssh-agent implementation... 07:36:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:36:59 $ docker exec 0972aeae8e6724876ec0a2c3880fff57675d87ee3c08bdec53d191bb729432a1 ssh-agent 07:36:59 SSH_AUTH_SOCK=/tmp/ssh-ClA4FUD9P8su/agent.73 07:36:59 SSH_AGENT_PID=79 07:36:59 Running ssh-add (command line suppressed) 07:37:00 Identity added: /w/workspace/undry_device-onvif-camera_PR-499@tmp/private_key_5456122547194500967.key (/w/workspace/undry_device-onvif-camera_PR-499@tmp/private_key_5456122547194500967.key) 07:37:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:37:00 + git semver init 07:37:00 2025-02-25 07:37:00,542 [run_init] DEBUG init version:0.0.0 force:False 07:37:00 2025-02-25 07:37:00,543 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-499/.semver 07:37:00 2025-02-25 07:37:00,543 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-499/.semver 07:37:00 2025-02-25 07:37:00,543 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-499/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-499, universal_newlines=False, shell=None, istream=None) 07:37:01 2025-02-25 07:37:01,721 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-499/.git/info/exclude 07:37:01 2025-02-25 07:37:01,721 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-499/.semver/PR-499 with force:False 07:37:01 2025-02-25 07:37:01,721 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-499/.semver/PR-499 07:37:01 2025-02-25 07:37:01,726 [execute] INFO git cat-file --batch-check 07:37:01 2025-02-25 07:37:01,727 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-499/.semver, universal_newlines=False, shell=None, istream=) 07:37:01 2025-02-25 07:37:01,733 [execute] INFO git cat-file --batch 07:37:01 2025-02-25 07:37:01,733 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-499/.semver, universal_newlines=False, shell=None, istream=) 07:37:01 2025-02-25 07:37:01,737 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-499/.semver/PR-499 07:37:01 0.0.0 [Pipeline] } 07:37:01 $ docker exec --env ******** --env ******** 0972aeae8e6724876ec0a2c3880fff57675d87ee3c08bdec53d191bb729432a1 ssh-agent -k 07:37:02 unset SSH_AUTH_SOCK; 07:37:02 unset SSH_AGENT_PID; 07:37:02 echo Agent pid 79 killed; 07:37:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:37:02 + git semver [Pipeline] } 07:37:02 $ docker stop --time=1 0972aeae8e6724876ec0a2c3880fff57675d87ee3c08bdec53d191bb729432a1 07:37:03 $ docker rm -f --volumes 0972aeae8e6724876ec0a2c3880fff57675d87ee3c08bdec53d191bb729432a1 [Pipeline] // withDockerContainer [Pipeline] sh 07:37:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:37:04 Stashed 1 file(s) [Pipeline] echo 07:37:04 [edgeXSemver]: initialized semver on version 0.0.0 [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) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:37:04 provisioning config files... [Pipeline] // stage [Pipeline] } 07:37:04 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-499@tmp/config4284229922116103834tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 07:37:05 ---> ****-login.sh 07:37:05 nexus3.edgexfoundry.org:10001 07:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:05 Configure a credential helper to remove this warning. See 07:37:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:05 07:37:05 Login Succeeded 07:37:05 nexus3.edgexfoundry.org:10002 07:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:05 Configure a credential helper to remove this warning. See 07:37:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:05 07:37:05 Login Succeeded 07:37:05 nexus3.edgexfoundry.org:10003 07:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:05 Configure a credential helper to remove this warning. See 07:37:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:05 07:37:05 Login Succeeded 07:37:05 nexus3.edgexfoundry.org:10004 07:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:05 Configure a credential helper to remove this warning. See 07:37:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:05 07:37:05 Login Succeeded 07:37:05 ****.io 07:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:05 Configure a credential helper to remove this warning. See 07:37:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:05 07:37:05 Login Succeeded 07:37:05 ---> ****-login.sh ends [Pipeline] } 07:37:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:37:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:37:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:37:05 ========================================================= 07:37:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 07:37:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:06 + 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 . 07:37:06 Sending build context to Docker daemon 37.07MB 07:37:06 Step 1/13 : ARG BASE=golang:1.23-alpine3.20 07:37:06 Step 2/13 : FROM ${BASE} AS builder 07:37:06 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 07:37:06 da9db072f522: Pulling fs layer 07:37:06 6ef4a4ee8ca5: Pulling fs layer 07:37:06 06f05ace1117: Pulling fs layer 07:37:06 5fe327b54edc: Pulling fs layer 07:37:06 4f4fb700ef54: Pulling fs layer 07:37:06 92a5565b7b96: Pulling fs layer 07:37:06 ff9bb7016b71: Pulling fs layer 07:37:06 b67dba6c2c7d: Pulling fs layer 07:37:06 5fe327b54edc: Waiting 07:37:06 92a5565b7b96: Waiting 07:37:06 ff9bb7016b71: Waiting 07:37:06 a813b0c90790: Pulling fs layer 07:37:06 b67dba6c2c7d: Waiting 07:37:06 a813b0c90790: Waiting 07:37:06 6ef4a4ee8ca5: Download complete 07:37:06 5fe327b54edc: Verifying Checksum 07:37:06 5fe327b54edc: Download complete 07:37:06 4f4fb700ef54: Verifying Checksum 07:37:06 4f4fb700ef54: Download complete 07:37:06 da9db072f522: Download complete 07:37:06 92a5565b7b96: Verifying Checksum 07:37:06 92a5565b7b96: Download complete 07:37:06 ff9bb7016b71: Verifying Checksum 07:37:06 ff9bb7016b71: Download complete 07:37:06 da9db072f522: Pull complete 07:37:06 6ef4a4ee8ca5: Pull complete 07:37:06 a813b0c90790: Verifying Checksum 07:37:06 a813b0c90790: Download complete 07:37:07 06f05ace1117: Verifying Checksum 07:37:07 06f05ace1117: Download complete 07:37:07 b67dba6c2c7d: Verifying Checksum 07:37:07 b67dba6c2c7d: Download complete 07:37:09 06f05ace1117: Pull complete 07:37:10 5fe327b54edc: Pull complete 07:37:10 4f4fb700ef54: Pull complete 07:37:10 92a5565b7b96: Pull complete 07:37:10 ff9bb7016b71: Pull complete 07:37:12 b67dba6c2c7d: Pull complete 07:37:12 a813b0c90790: Pull complete 07:37:12 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 07:37:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 07:37:12 ---> 3ba60ce46760 07:37:12 Step 3/13 : ARG ADD_BUILD_TAGS="" 07:37:16 ---> Running in 37597bbaf715 07:37:16 Removing intermediate container 37597bbaf715 07:37:16 ---> 6477c3a4b902 07:37:16 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:37:16 ---> Running in 2199b8f9d3ae 07:37:16 Removing intermediate container 2199b8f9d3ae 07:37:16 ---> cc71e442dc7d 07:37:16 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 07:37:16 ---> Running in d36586bcd84a 07:37:16 Removing intermediate container d36586bcd84a 07:37:16 ---> a8dcc2dc3e65 07:37:16 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 07:37:16 ---> Running in b19c67aa0a18 07:37:16 Removing intermediate container b19c67aa0a18 07:37:16 ---> 9987e488f7b9 07:37:16 Step 7/13 : LABEL Name=edgex-device-onvif-camera 07:37:16 ---> Running in e15dca67bf2a 07:37:16 Removing intermediate container e15dca67bf2a 07:37:16 ---> 3e36ac8ca682 07:37:16 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:37:16 ---> Running in a4507497229a 07:37:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:37:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:37:17 OK: 248 MiB in 58 packages 07:37:17 Removing intermediate container a4507497229a 07:37:17 ---> 272da9a0c85f 07:37:17 Step 9/13 : WORKDIR /device-onvif-camera 07:37:17 ---> Running in bc92344296b5 07:37:17 Removing intermediate container bc92344296b5 07:37:17 ---> 8e066d92409b 07:37:17 Step 10/13 : COPY go.mod vendor* ./ 07:37:17 ---> 90b58cf40bea 07:37:17 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:37:17 ---> Running in 4da33dae8dfa 07:37:50 Removing intermediate container 4da33dae8dfa 07:37:50 ---> b6e1f810bbb1 07:37:50 Step 12/13 : COPY . . 07:37:50 ---> 607caf1269ac 07:37:50 Step 13/13 : RUN ${MAKE} 07:37:50 ---> Running in 2a0a88d55e14 07:37:50 noop 07:37:50 Removing intermediate container 2a0a88d55e14 07:37:50 ---> 277e9cd5fd7f 07:37:50 Successfully built 277e9cd5fd7f 07:37:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:51 + docker inspect -f . ci-base-image-x86_64 07:37:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:37:51 prd-ubuntu20.04-docker-8c-8g-39676 does not seem to be running inside a container 07:37:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-499 -v /w/workspace/undry_device-onvif-camera_PR-499:/w/workspace/undry_device-onvif-camera_PR-499:rw,z -v /w/workspace/undry_device-onvif-camera_PR-499@tmp:/w/workspace/undry_device-onvif-camera_PR-499@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:37:51 $ docker top 9ee6367a2e2cbfcd8ef22f08218f519610d453c39328e8c8b04e286277e6e00c -eo pid,comm [Pipeline] { [Pipeline] sh 07:37:51 + go version 07:37:51 go version go1.23.4 linux/amd64 [Pipeline] } 07:37:51 $ docker stop --time=1 9ee6367a2e2cbfcd8ef22f08218f519610d453c39328e8c8b04e286277e6e00c 07:37:53 $ docker rm -f --volumes 9ee6367a2e2cbfcd8ef22f08218f519610d453c39328e8c8b04e286277e6e00c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:53 + docker inspect -f . ci-base-image-x86_64 07:37:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:37:53 prd-ubuntu20.04-docker-8c-8g-39676 does not seem to be running inside a container 07:37:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-499 -v /w/workspace/undry_device-onvif-camera_PR-499:/w/workspace/undry_device-onvif-camera_PR-499:rw,z -v /w/workspace/undry_device-onvif-camera_PR-499@tmp:/w/workspace/undry_device-onvif-camera_PR-499@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:37:54 $ docker top 4d85da3ec8ac1e977db8e26d78c30f12ddbacd3c99c5b8d3f6c3ad32f627e85b -eo pid,comm [Pipeline] { [Pipeline] sh 07:37:54 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-499 [Pipeline] fileExists [Pipeline] sh 07:37:54 + make test 07:37:54 go test ./... -coverprofile=coverage.out ./... 07:37:56 ? github.com/edgexfoundry/device-onvif-camera [no test files] 07:38:14 github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements 07:38:14 github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements 07:38:16 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.027s coverage: 31.4% of statements 07:38:16 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.228s coverage: 86.5% of statements 07:38:26 go vet ./... 07:38:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:38:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:38:31 ./bin/test-attribution-txt.sh [Pipeline] echo 07:38:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:38:31 $ docker stop --time=1 4d85da3ec8ac1e977db8e26d78c30f12ddbacd3c99c5b8d3f6c3ad32f627e85b 07:38:34 $ docker rm -f --volumes 4d85da3ec8ac1e977db8e26d78c30f12ddbacd3c99c5b8d3f6c3ad32f627e85b [Pipeline] // withDockerContainer [Pipeline] sh 07:38:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:38:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:38:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:38:35 + ls -al . 07:38:35 total 316 07:38:35 drwxrwxr-x 9 jenkins jenkins 4096 Feb 25 07:37 . 07:38:35 drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 07:36 .. 07:38:35 drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 07:38 .git 07:38:35 drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 07:36 .github 07:38:35 -rw-rw-r-- 1 jenkins jenkins 493 Feb 25 07:36 .gitignore 07:38:35 -rw-rw-r-- 1 jenkins jenkins 199 Feb 25 07:36 .golangci.yml 07:38:35 drwxr-xr-x 3 jenkins jenkins 4096 Feb 25 07:37 .semver 07:38:35 -rw-rw-r-- 1 jenkins jenkins 19973 Feb 25 07:36 Attribution.txt 07:38:35 -rw-rw-r-- 1 jenkins jenkins 19022 Feb 25 07:36 CHANGELOG.md 07:38:35 -rw-rw-r-- 1 jenkins jenkins 1715 Feb 25 07:36 Dockerfile 07:38:35 -rw-rw-r-- 1 jenkins jenkins 677 Feb 25 07:36 GOVERNANCE.md 07:38:35 -rw-rw-r-- 1 jenkins jenkins 739 Feb 25 07:36 Jenkinsfile 07:38:35 -rw-rw-r-- 1 jenkins jenkins 11348 Feb 25 07:36 LICENSE 07:38:35 -rw-rw-r-- 1 jenkins jenkins 3465 Feb 25 07:36 Makefile 07:38:35 -rw-rw-r-- 1 jenkins jenkins 625 Feb 25 07:36 OWNERS.md 07:38:35 -rw-rw-r-- 1 jenkins jenkins 2620 Feb 25 07:36 README.md 07:38:35 -rw-rw-r-- 1 jenkins jenkins 5 Feb 25 07:37 VERSION 07:38:35 drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 07:36 bin 07:38:35 drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 07:36 cmd 07:38:35 -rw-r--r-- 1 jenkins jenkins 92466 Feb 25 07:38 coverage.out 07:38:35 drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 07:36 doc 07:38:35 -rw-rw-r-- 1 jenkins jenkins 6489 Feb 25 07:36 go.mod 07:38:35 -rw-rw-r-- 1 jenkins jenkins 87368 Feb 25 07:36 go.sum 07:38:35 drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 07:36 internal 07:38:35 -rw-rw-r-- 1 jenkins jenkins 236 Feb 25 07:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:35 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=d91ea21beae7cfdaeba3cdfe1f15eda34d5fe207 --label arch=amd64 --label version=0.0.0 . 07:38:35 Sending build context to Docker daemon 37.17MB 07:38:35 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 07:38:35 Step 2/27 : FROM ${BASE} AS builder 07:38:35 ---> 277e9cd5fd7f 07:38:35 Step 3/27 : ARG ADD_BUILD_TAGS="" 07:38:36 ---> Running in 6e2ccf3e2e1d 07:38:36 Removing intermediate container 6e2ccf3e2e1d 07:38:36 ---> 5926cf9e9def 07:38:36 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:38:36 ---> Running in b325cd9dd4b0 07:38:36 Removing intermediate container b325cd9dd4b0 07:38:36 ---> 0ca3332f0e8a 07:38:36 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 07:38:36 ---> Running in 16003ddcbf21 07:38:36 Removing intermediate container 16003ddcbf21 07:38:36 ---> e64207189a84 07:38:36 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 07:38:36 ---> Running in 8ee7d697a6e5 07:38:36 Removing intermediate container 8ee7d697a6e5 07:38:36 ---> fd0ee41f9643 07:38:36 Step 7/27 : LABEL Name=edgex-device-onvif-camera 07:38:36 ---> Running in 5eb1dd94dd00 07:38:36 Removing intermediate container 5eb1dd94dd00 07:38:36 ---> 34283086ea66 07:38:36 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:38:36 ---> Running in d7e67fed5f8e 07:38:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:38:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:38:37 OK: 248 MiB in 58 packages 07:38:37 Removing intermediate container d7e67fed5f8e 07:38:37 ---> ad4c906a0dbf 07:38:37 Step 9/27 : WORKDIR /device-onvif-camera 07:38:37 ---> Running in 45cee478ce93 07:38:37 Removing intermediate container 45cee478ce93 07:38:37 ---> b31a0a6b128b 07:38:37 Step 10/27 : COPY go.mod vendor* ./ 07:38:37 ---> 0e57e5d4549e 07:38:37 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:38:37 ---> Running in 31efd70b4cee 07:38:38 Removing intermediate container 31efd70b4cee 07:38:38 ---> a77114784dd2 07:38:38 Step 12/27 : COPY . . 07:38:39 ---> eb28852016a4 07:38:39 Step 13/27 : RUN ${MAKE} 07:38:39 ---> Running in 97961b1120cf 07:38:39 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.25 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 07:39:11 Removing intermediate container 97961b1120cf 07:39:11 ---> 176b8793c04b 07:39:11 Step 14/27 : FROM alpine:3.20 07:39:11 3.20: Pulling from library/alpine 07:39:11 0a9a5dfd008f: Pulling fs layer 07:39:11 0a9a5dfd008f: Verifying Checksum 07:39:11 0a9a5dfd008f: Download complete 07:39:11 0a9a5dfd008f: Pull complete 07:39:11 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 07:39:11 Status: Downloaded newer image for alpine:3.20 07:39:11 ---> ff221270b9fb 07:39:11 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 07:39:11 ---> Running in 0f705feb7e07 07:39:11 Removing intermediate container 0f705feb7e07 07:39:11 ---> 34fa2945a0b3 07:39:11 Step 16/27 : RUN apk add --update --no-cache dumb-init 07:39:11 ---> Running in 0990e328b70b 07:39:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:39:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:39:11 (1/1) Installing dumb-init (1.2.5-r3) 07:39:11 Executing busybox-1.36.1-r29.trigger 07:39:11 OK: 8 MiB in 15 packages 07:39:11 Removing intermediate container 0990e328b70b 07:39:11 ---> b858aa178095 07:39:11 Step 17/27 : RUN apk --no-cache upgrade 07:39:11 ---> Running in 9af848b240c8 07:39:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:39:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:39:11 OK: 8 MiB in 15 packages 07:39:11 Removing intermediate container 9af848b240c8 07:39:11 ---> 56b820d6f772 07:39:11 Step 18/27 : WORKDIR / 07:39:11 ---> Running in c484726aba30 07:39:11 Removing intermediate container c484726aba30 07:39:11 ---> f9a944bef532 07:39:11 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 07:39:11 ---> 6f3a6b731fb1 07:39:11 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 07:39:11 ---> 4a6fd1e3844f 07:39:11 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 07:39:11 ---> 6009074d25bc 07:39:11 Step 22/27 : EXPOSE 59984 07:39:11 ---> Running in 8aa5c9a97cbc 07:39:11 Removing intermediate container 8aa5c9a97cbc 07:39:11 ---> 47ff62676461 07:39:11 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 07:39:11 ---> Running in aceb3e86d151 07:39:11 Removing intermediate container aceb3e86d151 07:39:11 ---> 05522801ea08 07:39:11 Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 07:39:11 ---> Running in bf60cf73567b 07:39:11 Removing intermediate container bf60cf73567b 07:39:11 ---> faa5781cabe6 07:39:11 Step 25/27 : LABEL arch=amd64 07:39:11 ---> Running in ab230178c108 07:39:11 Removing intermediate container ab230178c108 07:39:11 ---> 2a41bc4b601c 07:39:11 Step 26/27 : LABEL git_sha=d91ea21beae7cfdaeba3cdfe1f15eda34d5fe207 07:39:11 ---> Running in ebc2c618ded3 07:39:11 Removing intermediate container ebc2c618ded3 07:39:11 ---> 41450801f076 07:39:11 Step 27/27 : LABEL version=0.0.0 07:39:11 ---> Running in 2ac8b1292856 07:39:11 Removing intermediate container 2ac8b1292856 07:39:11 ---> a54356a2c35d 07:39:11 [Warning] One or more build-args [ARCH] were not consumed 07:39:11 Successfully built a54356a2c35d 07:39:11 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:39:11 07:39:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:39:12 latest: Pulling from edgex-lftools-log-publisher 07:39:12 5eb5b503b376: Pulling fs layer 07:39:12 5c69ac0246d0: Pulling fs layer 07:39:12 ec43610c2a17: Pulling fs layer 07:39:12 3a2ae6a8a46f: Pulling fs layer 07:39:12 33b1e0a273af: Pulling fs layer 07:39:12 3a2ae6a8a46f: Waiting 07:39:12 5d3b04190fa2: Pulling fs layer 07:39:12 2f39f015ded8: Pulling fs layer 07:39:12 33b1e0a273af: Waiting 07:39:12 5d3b04190fa2: Waiting 07:39:12 5c69ac0246d0: Verifying Checksum 07:39:12 5c69ac0246d0: Download complete 07:39:12 3a2ae6a8a46f: Verifying Checksum 07:39:12 3a2ae6a8a46f: Download complete 07:39:12 33b1e0a273af: Verifying Checksum 07:39:12 33b1e0a273af: Download complete 07:39:12 5d3b04190fa2: Download complete 07:39:12 ec43610c2a17: Verifying Checksum 07:39:12 ec43610c2a17: Download complete 07:39:12 5eb5b503b376: Verifying Checksum 07:39:12 5eb5b503b376: Download complete 07:39:13 2f39f015ded8: Download complete 07:39:13 5eb5b503b376: Pull complete 07:39:13 5c69ac0246d0: Pull complete 07:39:13 ec43610c2a17: Pull complete 07:39:14 3a2ae6a8a46f: Pull complete 07:39:14 33b1e0a273af: Pull complete 07:39:14 5d3b04190fa2: Pull complete 07:39:18 2f39f015ded8: Pull complete 07:39:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:39:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:39:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:39:18 prd-ubuntu20.04-docker-8c-8g-39676 does not seem to be running inside a container 07:39:18 $ 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/undry_device-onvif-camera_PR-499 -v /w/workspace/undry_device-onvif-camera_PR-499:/w/workspace/undry_device-onvif-camera_PR-499:rw,z -v /w/workspace/undry_device-onvif-camera_PR-499@tmp:/w/workspace/undry_device-onvif-camera_PR-499@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:39:20 $ docker top 932ce1b2b2afbce15a9c292d26f41043afa4822eaec21c448b05a68167503b62 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:39:20 ---> job-cost.sh 07:39:20 lf-activate-venv: SKIPPING 07:39:20 INFO: No Stack... 07:39:21 INFO: Retrieving Pricing Info for: v3-standard-8 07:39:21 INFO: Archiving Costs [Pipeline] sh 07:39:21 + cat /w/workspace/undry_device-onvif-camera_PR-499/archives/cost.csv 07:39:21 + cut -d, -f6 [Pipeline] lock 07:39:21 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-499-2-stack-cost] 07:39:21 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-499-2-stack-cost] did not exist. Created. 07:39:21 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-499-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:39:22 + echo total: 0.2199999988079071 [Pipeline] stash 07:39:22 Stashed 1 file(s) [Pipeline] } 07:39:22 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-499-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:39:22 $ docker stop --time=1 932ce1b2b2afbce15a9c292d26f41043afa4822eaec21c448b05a68167503b62 07:39:23 $ docker rm -f --volumes 932ce1b2b2afbce15a9c292d26f41043afa4822eaec21c448b05a68167503b62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 07:39:23 provisioning config files... 07:39:23 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-499@tmp/config3401206654002510569tmp [Pipeline] { [Pipeline] sh 07:39:24 + set +x 07:39:24 + bash+ -s -- 07:39:24 curl -s https://codecov.io/bash 07:39:24 07:39:24 _____ _ 07:39:24 / ____| | | 07:39:24 | | ___ __| | ___ ___ _____ __ 07:39:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:39:24 | |___| (_) | (_| | __/ (_| (_) \ V / 07:39:24 \_____\___/ \__,_|\___|\___\___/ \_/ 07:39:24 Bash-1.0.6 07:39:24 07:39:24 07:39:24 ==> git version 2.25.1 found 07:39:24 ==> 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 07:39:24 Release-Date: 2020-01-08 07:39:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:39:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:39:24 ==> Jenkins CI detected. 07:39:24 current dir:  /w/workspace/undry_device-onvif-camera_PR-499 07:39:24 project root: . 07:39:24 --> token set from env 07:39:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:39:24 ==> Running gcov in . (disable via -X gcov) 07:39:24 ==> Python coveragepy not found 07:39:24 ==> Searching for coverage reports in: 07:39:24 + . 07:39:24 -> Found 1 reports 07:39:24 ==> Detecting git/mercurial file structure 07:39:24 ==> Reading reports 07:39:24 + ./coverage.out bytes=92466 07:39:24 ==> Appending adjustments 07:39:24 https://docs.codecov.io/docs/fixing-reports 07:39:24 + Found adjustments 07:39:24 ==> Gzipping contents 07:39:24 12K /tmp/codecov.sJSl9c.gz 07:39:24 ==> Uploading reports 07:39:24 url: https://codecov.io 07:39:24 query: branch=PR-499&commit=d91ea21beae7cfdaeba3cdfe1f15eda34d5fe207&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-499%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=499&job=&cmd_args= 07:39:24 -> Pinging Codecov 07:39:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-499&commit=d91ea21beae7cfdaeba3cdfe1f15eda34d5fe207&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-499%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=499&job=&cmd_args= 07:39:24 -> Uploading to 07:39:24 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-onvif-camera/d91ea21beae7cfdaeba3cdfe1f15eda34d5fe207/317a6b39-6ffd-42d2-bfec-37ec7d0a2d6a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250225%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250225T073924Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=fe2fca82b672df8ef4ff80cd22d1a3e2e40aee5ad979ffc75de9d62668a4ac99 07:39:24 % Total % Received % Xferd Average Speed Time Time Time Current 07:39:24 Dload Upload Total Spent Left Speed 07:39:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11482 0 0 100 11482 0 85686 --:--:-- --:--:-- --:--:-- 85686 100 11482 0 0 100 11482 0 85686 --:--:-- --:--:-- --:--:-- 85051 07:39:24 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/d91ea21beae7cfdaeba3cdfe1f15eda34d5fe207 [Pipeline] } 07:39:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [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) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 07:39:25 + [ -d /w/workspace/undry_device-onvif-camera_PR-499/archives ] 07:39:25 + ls -al /w/workspace/undry_device-onvif-camera_PR-499/archives 07:39:25 total 16 07:39:25 drwxr-xr-x 3 root root 4096 Feb 25 07:39 . 07:39:25 drwxrwxr-x 10 jenkins jenkins 4096 Feb 25 07:39 .. 07:39:25 drwxr-xr-x 2 root root 4096 Feb 25 07:39 cost 07:39:25 -rw-r--r-- 1 root root 91 Feb 25 07:39 cost.csv 07:39:25 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-499/archives 07:39:25 + ls -al /w/workspace/undry_device-onvif-camera_PR-499/archives 07:39:25 total 16 07:39:25 drwxr-xr-x 3 jenkins jenkins 4096 Feb 25 07:39 . 07:39:25 drwxrwxr-x 10 jenkins jenkins 4096 Feb 25 07:39 .. 07:39:25 drwxr-xr-x 2 jenkins jenkins 4096 Feb 25 07:39 cost 07:39:25 -rw-r--r-- 1 jenkins jenkins 91 Feb 25 07:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:39:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:39:26 ---> package-listing.sh 07:39:26 ++ facter osfamily 07:39:26 ++ tr '[:upper:]' '[:lower:]' 07:39:26 + OS_FAMILY=debian 07:39:26 + workspace=/w/workspace/undry_device-onvif-camera_PR-499 07:39:26 + START_PACKAGES=/tmp/packages_start.txt 07:39:26 + END_PACKAGES=/tmp/packages_end.txt 07:39:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:39:26 + PACKAGES=/tmp/packages_start.txt 07:39:26 + '[' /w/workspace/undry_device-onvif-camera_PR-499 ']' 07:39:26 + PACKAGES=/tmp/packages_end.txt 07:39:26 + case "${OS_FAMILY}" in 07:39:26 + dpkg -l 07:39:26 + grep '^ii' 07:39:26 + '[' -f /tmp/packages_start.txt ']' 07:39:26 + '[' -f /tmp/packages_end.txt ']' 07:39:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:39:26 + '[' /w/workspace/undry_device-onvif-camera_PR-499 ']' 07:39:26 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-499/archives/ 07:39:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-499/archives/ [Pipeline] echo 07:39:26 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/undry_device-onvif-camera_PR-499/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:39:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:39:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:39:27 prd-ubuntu20.04-docker-8c-8g-39676 does not seem to be running inside a container 07:39:27 $ 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/undry_device-onvif-camera_PR-499/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-499 -v /w/workspace/undry_device-onvif-camera_PR-499:/w/workspace/undry_device-onvif-camera_PR-499:rw,z -v /w/workspace/undry_device-onvif-camera_PR-499@tmp:/w/workspace/undry_device-onvif-camera_PR-499@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:39:28 $ docker top a54b8acc40d09d91385188f15a5d1d80902151045204d800cb5b81e84ecd2419 -eo pid,comm [Pipeline] { [Pipeline] sh 07:39:28 + touch /tmp/pre-build-complete [Pipeline] sh 07:39:28 + mkdir -p /var/log/sysstat [Pipeline] sh 07:39:29 + ls /var/log/sa-host 07:39:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:39:29 provisioning config files... 07:39:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-499@tmp/config7074589948503316159tmp [Pipeline] { [Pipeline] echo 07:39:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:39:29 ---> create-netrc.sh [Pipeline] } 07:39:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:39:29 ---> python-tools-install.sh [Pipeline] echo 07:39:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:39:30 ---> sudo-logs.sh 07:39:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:39:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:39:30 ---> job-cost.sh 07:39:30 lf-activate-venv: SKIPPING 07:39:30 DEBUG: total: 0.2199999988079071 07:39:30 INFO: Retrieving Stack Cost... 07:39:30 INFO: Retrieving Pricing Info for: v3-standard-8 07:39:30 INFO: Archiving Costs [Pipeline] echo 07:39:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:39:30 ---> logs-deploy.sh 07:39:30 lf-activate-venv: SKIPPING 07:39:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-499/2 07:39:30 INFO: archiving workspace using pattern(s): 07:39:31 Archives upload complete. 07:39:31 INFO: archiving logs to Nexus