Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17 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-ssh2588187644694138326.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh11470313457960730964.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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/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-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2385687061093018429.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh2091561279447672690.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/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-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12892015812259039712.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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 ‘prd-centos7-blackbox-4c-2g-27551’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-27552’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-27972’ is offline ‘prd-ubuntu20.04-docker-8c-8g-27973’ is offline Running on prd-ubuntu20.04-docker-8c-8g-27976 in /w/workspace/foundry_device-onvif-camera_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-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # 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 Avoid second fetch Checking out Revision b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17 # timeout=10 Commit message: "Merge pull request #425 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.7" > git rev-list --no-walk 30f2e04c1e5a9bcedf43d76deea8330b142364ec # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:32:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:32:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:32:31 ========================================================= 06:32:31 EdgeX Global Pipelines Version Info 06:32:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:32:32 ------------------- 06:32:32 stable info: 06:32:32 ------------------- 06:32:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:32:32 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 06:32:32 Message: update stable to v1.0.258 06:32:32 ------------------- 06:32:32 experimental info: 06:32:32 ------------------- 06:32:32 Commited By: **** collab-it+edgex@linuxfoundation.org 06:32:32 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 06:32:32 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:32:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 06:32:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 06:32:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:32:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:32:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:32:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 06:32:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:32:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:32:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:32:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:32:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17 [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b5e79b7 [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:32:33 provisioning config files... 06:32:33 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13778164927026265272tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:32:34 ---> ****-login.sh 06:32:34 nexus3.edgexfoundry.org:10001 06:32:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:32:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:32:34 Configure a credential helper to remove this warning. See 06:32:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:32:34 06:32:34 Login Succeeded 06:32:34 nexus3.edgexfoundry.org:10002 06:32:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:32:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:32:34 Configure a credential helper to remove this warning. See 06:32:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:32:34 06:32:34 Login Succeeded 06:32:34 nexus3.edgexfoundry.org:10003 06:32:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:32:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:32:34 Configure a credential helper to remove this warning. See 06:32:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:32:34 06:32:34 Login Succeeded 06:32:34 nexus3.edgexfoundry.org:10004 06:32:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:32:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:32:34 Configure a credential helper to remove this warning. See 06:32:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:32:34 06:32:34 Login Succeeded 06:32:34 ****.io 06:32:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:32:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:32:35 Configure a credential helper to remove this warning. See 06:32:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:32:35 06:32:35 Login Succeeded 06:32:35 ---> ****-login.sh ends [Pipeline] } 06:32:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:32:35 + git rev-list -1 --merges b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17~1..b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17 [Pipeline] echo 06:32:35 -----------> git rev-list -1 --merges b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17~1..b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17 b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17 06:32:35 b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17 [false] [Pipeline] sh 06:32:35 + git log --format=format:%s -1 b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17 [Pipeline] echo 06:32:35 ========================================================= 06:32:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:32:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:32:36 + git log --format=format:%s -1 b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17 [Pipeline] echo 06:32:36 [semverPrep] GIT_COMMIT: b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17, Commit Message: Merge pull request #425 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.7 [Pipeline] echo 06:32:36 [semverPrep] This is not a build commit. [Pipeline] sh 06:32:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:32:36 + grep -v github /etc/ssh/ssh_known_hosts 06:32:36 + [ -e /tmp/ssh_known_hosts ] 06:32:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:32:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:32:36 + sudo tee -a /etc/ssh/ssh_known_hosts 06:32:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:32:37 06:32:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:32:37 0.1.4: Pulling from edgex-devops/py-git-semver 06:32:37 b85a868b505f: Pulling fs layer 06:32:37 e2be974225ed: Pulling fs layer 06:32:37 339a4e72a1f5: Pulling fs layer 06:32:37 988bab9f4d93: Pulling fs layer 06:32:37 1469e6f7b9e6: Pulling fs layer 06:32:37 eaf3925da568: Pulling fs layer 06:32:37 bab4dde63d76: Pulling fs layer 06:32:37 bde34c3a00c8: Pulling fs layer 06:32:37 b352a97aabf1: Pulling fs layer 06:32:37 4872d77fe225: Pulling fs layer 06:32:37 988bab9f4d93: Waiting 06:32:37 5851b861e8e6: Pulling fs layer 06:32:37 1469e6f7b9e6: Waiting 06:32:37 eaf3925da568: Waiting 06:32:37 bab4dde63d76: Waiting 06:32:37 bde34c3a00c8: Waiting 06:32:37 b352a97aabf1: Waiting 06:32:37 4872d77fe225: Waiting 06:32:37 5851b861e8e6: Waiting 06:32:37 e2be974225ed: Verifying Checksum 06:32:37 e2be974225ed: Download complete 06:32:37 988bab9f4d93: Download complete 06:32:37 1469e6f7b9e6: Download complete 06:32:37 eaf3925da568: Verifying Checksum 06:32:37 eaf3925da568: Download complete 06:32:37 339a4e72a1f5: Verifying Checksum 06:32:37 339a4e72a1f5: Download complete 06:32:37 bde34c3a00c8: Verifying Checksum 06:32:37 bde34c3a00c8: Download complete 06:32:37 b352a97aabf1: Verifying Checksum 06:32:37 b352a97aabf1: Download complete 06:32:37 4872d77fe225: Verifying Checksum 06:32:37 4872d77fe225: Download complete 06:32:37 5851b861e8e6: Download complete 06:32:37 b85a868b505f: Verifying Checksum 06:32:37 b85a868b505f: Download complete 06:32:38 bab4dde63d76: Verifying Checksum 06:32:38 bab4dde63d76: Download complete 06:32:38 b85a868b505f: Pull complete 06:32:38 e2be974225ed: Pull complete 06:32:39 339a4e72a1f5: Pull complete 06:32:39 988bab9f4d93: Pull complete 06:32:39 1469e6f7b9e6: Pull complete 06:32:40 eaf3925da568: Pull complete 06:32:41 bab4dde63d76: Pull complete 06:32:41 bde34c3a00c8: Pull complete 06:32:41 b352a97aabf1: Pull complete 06:32:41 4872d77fe225: Pull complete 06:32:41 5851b861e8e6: Pull complete 06:32:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:32:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:32:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:32:42 prd-ubuntu20.04-docker-8c-8g-27976 does not seem to be running inside a container 06:32:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_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 06:32:48 $ docker top f56b207f096bdfdf8f2e8b99b50927161dd8b38b91897c17077cb4d75de0d410 -eo pid,comm 06:32:48 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). 06:32:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:32:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:32:48 [ssh-agent] Looking for ssh-agent implementation... 06:32:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:32:48 $ docker exec f56b207f096bdfdf8f2e8b99b50927161dd8b38b91897c17077cb4d75de0d410 ssh-agent 06:32:49 SSH_AUTH_SOCK=/tmp/ssh-xeMOBPFgI8pT/agent.32 06:32:49 SSH_AGENT_PID=39 06:32:49 Running ssh-add (command line suppressed) 06:32:49 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14038414265030690917.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14038414265030690917.key) 06:32:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:32:49 + git tag --points-at HEAD [Pipeline] } 06:32:49 $ docker exec --env ******** --env ******** f56b207f096bdfdf8f2e8b99b50927161dd8b38b91897c17077cb4d75de0d410 ssh-agent -k 06:32:49 unset SSH_AUTH_SOCK; 06:32:49 unset SSH_AGENT_PID; 06:32:49 echo Agent pid 39 killed; 06:32:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:32:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:32:49 [ssh-agent] Looking for ssh-agent implementation... 06:32:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:32:49 $ docker exec f56b207f096bdfdf8f2e8b99b50927161dd8b38b91897c17077cb4d75de0d410 ssh-agent 06:32:49 SSH_AUTH_SOCK=/tmp/ssh-JDrqC0tg5ZAR/agent.72 06:32:49 SSH_AGENT_PID=78 06:32:49 Running ssh-add (command line suppressed) 06:32:50 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9687799188057629885.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9687799188057629885.key) 06:32:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:32:50 + git semver init 06:32:50 2024-01-26 06:32:50,500 [run_init] DEBUG init version:0.0.0 force:False 06:32:50 2024-01-26 06:32:50,501 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 06:32:50 2024-01-26 06:32:50,501 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 06:32:50 2024-01-26 06:32:50,501 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 06:32:52 2024-01-26 06:32:52,021 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 06:32:52 2024-01-26 06:32:52,021 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 06:32:52 2024-01-26 06:32:52,022 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:32:52 2024-01-26 06:32:52,022 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:32:52 3.2.0-dev.8 [Pipeline] } 06:32:52 $ docker exec --env ******** --env ******** f56b207f096bdfdf8f2e8b99b50927161dd8b38b91897c17077cb4d75de0d410 ssh-agent -k 06:32:52 unset SSH_AUTH_SOCK; 06:32:52 unset SSH_AGENT_PID; 06:32:52 echo Agent pid 78 killed; 06:32:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:32:53 + git semver [Pipeline] } 06:32:53 $ docker stop --time=1 f56b207f096bdfdf8f2e8b99b50927161dd8b38b91897c17077cb4d75de0d410 06:32:54 $ docker rm -f --volumes f56b207f096bdfdf8f2e8b99b50927161dd8b38b91897c17077cb4d75de0d410 [Pipeline] // withDockerContainer [Pipeline] sh 06:32:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:32:55 Stashed 1 file(s) [Pipeline] echo 06:32:55 [edgeXSemver]: initialized semver on version 3.2.0-dev.8 [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 06:32:55 provisioning config files... 06:32:55 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3689422213763345646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:32:55 ---> ****-login.sh 06:32:55 nexus3.edgexfoundry.org:10001 06:32:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:32:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:32:55 Configure a credential helper to remove this warning. See 06:32:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:32:55 06:32:55 Login Succeeded 06:32:55 nexus3.edgexfoundry.org:10002 06:32:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:32:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:32:55 Configure a credential helper to remove this warning. See 06:32:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:32:55 06:32:55 Login Succeeded 06:32:55 nexus3.edgexfoundry.org:10003 06:32:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:32:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:32:56 Configure a credential helper to remove this warning. See 06:32:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:32:56 06:32:56 Login Succeeded 06:32:56 nexus3.edgexfoundry.org:10004 06:32:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:32:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:32:56 Configure a credential helper to remove this warning. See 06:32:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:32:56 06:32:56 Login Succeeded 06:32:56 ****.io 06:32:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:32:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:32:56 Configure a credential helper to remove this warning. See 06:32:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:32:56 06:32:56 Login Succeeded 06:32:56 ---> ****-login.sh ends [Pipeline] } 06:32:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:32:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:32:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:32:56 ========================================================= 06:32:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:32:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:57 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 06:32:57 Sending build context to Docker daemon 34.23MB 06:32:57 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 06:32:57 Step 2/13 : FROM ${BASE} AS builder 06:32:57 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:32:57 7264a8db6415: Pulling fs layer 06:32:57 c4d48a809fc2: Pulling fs layer 06:32:57 4f1c88b9dad5: Pulling fs layer 06:32:57 ad3a456e5733: Pulling fs layer 06:32:57 69c7f0334f64: Pulling fs layer 06:32:57 1f1c1a5573a3: Pulling fs layer 06:32:57 ce7588e14bc9: Pulling fs layer 06:32:57 b5e4710f87ac: Pulling fs layer 06:32:57 ad3a456e5733: Waiting 06:32:57 69c7f0334f64: Waiting 06:32:57 1f1c1a5573a3: Waiting 06:32:57 ce7588e14bc9: Waiting 06:32:57 b5e4710f87ac: Waiting 06:32:57 c4d48a809fc2: Download complete 06:32:57 ad3a456e5733: Verifying Checksum 06:32:57 ad3a456e5733: Download complete 06:32:57 69c7f0334f64: Download complete 06:32:57 7264a8db6415: Verifying Checksum 06:32:57 7264a8db6415: Download complete 06:32:57 1f1c1a5573a3: Verifying Checksum 06:32:57 1f1c1a5573a3: Download complete 06:32:57 7264a8db6415: Pull complete 06:32:57 b5e4710f87ac: Verifying Checksum 06:32:57 b5e4710f87ac: Download complete 06:32:57 c4d48a809fc2: Pull complete 06:32:57 4f1c88b9dad5: Download complete 06:32:58 ce7588e14bc9: Verifying Checksum 06:32:58 ce7588e14bc9: Download complete 06:33:00 4f1c88b9dad5: Pull complete 06:33:00 ad3a456e5733: Pull complete 06:33:00 69c7f0334f64: Pull complete 06:33:00 1f1c1a5573a3: Pull complete 06:33:03 ce7588e14bc9: Pull complete 06:33:03 b5e4710f87ac: Pull complete 06:33:03 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 06:33:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:33:03 ---> 88b5674ff536 06:33:03 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:33:09 ---> Running in 2a94913381de 06:33:09 Removing intermediate container 2a94913381de 06:33:09 ---> 8eb1c8c70016 06:33:09 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:33:09 ---> Running in f584a1ee4126 06:33:09 Removing intermediate container f584a1ee4126 06:33:09 ---> 96383c16d76e 06:33:09 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 06:33:09 ---> Running in 1584776b8744 06:33:09 Removing intermediate container 1584776b8744 06:33:09 ---> 735c42b1dd88 06:33:09 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:33:09 ---> Running in 5d81253c44c1 06:33:09 Removing intermediate container 5d81253c44c1 06:33:09 ---> 994b8cd013b0 06:33:09 Step 7/13 : LABEL Name=edgex-device-onvif-camera 06:33:09 ---> Running in 0b7b19d6be43 06:33:09 Removing intermediate container 0b7b19d6be43 06:33:09 ---> 343dbec8147d 06:33:09 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:33:09 ---> Running in 612aede9d468 06:33:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:33:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:33:10 OK: 264 MiB in 52 packages 06:33:10 Still waiting to schedule task 06:33:10 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-27971’ 06:33:10 Removing intermediate container 612aede9d468 06:33:10 ---> 8fc8dccbaaa7 06:33:10 Step 9/13 : WORKDIR /device-onvif-camera 06:33:10 ---> Running in 557ea0f8be26 06:33:10 Removing intermediate container 557ea0f8be26 06:33:10 ---> 757fff090697 06:33:10 Step 10/13 : COPY go.mod vendor* ./ 06:33:10 ---> 9b64f327dd60 06:33:10 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:33:10 ---> Running in bb86cb04c44d 06:33:43 Removing intermediate container bb86cb04c44d 06:33:43 ---> 31027ccdf8cc 06:33:43 Step 12/13 : COPY . . 06:33:43 ---> 9f4bc9047a14 06:33:43 Step 13/13 : RUN ${MAKE} 06:33:43 ---> Running in 156a3e82c284 06:33:43 noop 06:33:43 Removing intermediate container 156a3e82c284 06:33:43 ---> 01013ded5a15 06:33:43 Successfully built 01013ded5a15 06:33:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:43 + docker inspect -f . ci-base-image-x86_64 06:33:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:33:43 prd-ubuntu20.04-docker-8c-8g-27976 does not seem to be running inside a container 06:33:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_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 06:33:43 $ docker top 6d66234994c87b54a0a06f3faab76d0f62afdb347162d4281a8c99bc39d5310e -eo pid,comm [Pipeline] { [Pipeline] sh 06:33:44 + go version 06:33:44 go version go1.21.0 linux/amd64 [Pipeline] } 06:33:44 $ docker stop --time=1 6d66234994c87b54a0a06f3faab76d0f62afdb347162d4281a8c99bc39d5310e 06:33:45 $ docker rm -f --volumes 6d66234994c87b54a0a06f3faab76d0f62afdb347162d4281a8c99bc39d5310e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:46 + docker inspect -f . ci-base-image-x86_64 06:33:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:33:46 prd-ubuntu20.04-docker-8c-8g-27976 does not seem to be running inside a container 06:33:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_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 06:33:46 $ docker top d2d1991fe6cde96921f934728ef8d4683614c8b4b992532520bd409fcc4faa43 -eo pid,comm [Pipeline] { [Pipeline] sh 06:33:47 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 06:33:47 + make test 06:33:47 go test ./... -coverprofile=coverage.out ./... 06:33:48 ? github.com/edgexfoundry/device-onvif-camera [no test files] 06:33:58 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 06:33:58 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 06:34:01 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.031s coverage: 31.5% of statements 06:34:01 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.075s coverage: 86.5% of statements 06:34:08 go vet ./... 06:34:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:34:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:34:10 ./bin/test-attribution-txt.sh 06:34:10 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 06:34:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:34:10 $ docker stop --time=1 d2d1991fe6cde96921f934728ef8d4683614c8b4b992532520bd409fcc4faa43 06:34:13 $ docker rm -f --volumes d2d1991fe6cde96921f934728ef8d4683614c8b4b992532520bd409fcc4faa43 [Pipeline] // withDockerContainer [Pipeline] sh 06:34:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:34:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:34:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:34:15 + ls -al . 06:34:15 total 244 06:34:15 drwxrwxr-x 9 jenkins jenkins 4096 Jan 26 06:33 . 06:34:15 drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 06:32 .. 06:34:15 drwxrwxr-x 8 jenkins jenkins 4096 Jan 26 06:34 .git 06:34:15 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 06:32 .github 06:34:15 -rw-rw-r-- 1 jenkins jenkins 493 Jan 26 06:32 .gitignore 06:34:15 -rw-rw-r-- 1 jenkins jenkins 42 Jan 26 06:32 .golangci.yml 06:34:15 drwxr-xr-x 3 jenkins jenkins 4096 Jan 26 06:32 .semver 06:34:15 -rw-rw-r-- 1 jenkins jenkins 11155 Jan 26 06:32 Attribution.txt 06:34:15 -rw-rw-r-- 1 jenkins jenkins 17665 Jan 26 06:32 CHANGELOG.md 06:34:15 -rw-rw-r-- 1 jenkins jenkins 1683 Jan 26 06:32 Dockerfile 06:34:15 -rw-rw-r-- 1 jenkins jenkins 677 Jan 26 06:32 GOVERNANCE.md 06:34:15 -rw-rw-r-- 1 jenkins jenkins 739 Jan 26 06:32 Jenkinsfile 06:34:15 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 26 06:32 LICENSE 06:34:15 -rw-rw-r-- 1 jenkins jenkins 2883 Jan 26 06:32 Makefile 06:34:15 -rw-rw-r-- 1 jenkins jenkins 625 Jan 26 06:32 OWNERS.md 06:34:15 -rw-rw-r-- 1 jenkins jenkins 2620 Jan 26 06:32 README.md 06:34:15 -rw-rw-r-- 1 jenkins jenkins 11 Jan 26 06:32 VERSION 06:34:15 drwxrwxr-x 2 jenkins jenkins 4096 Jan 26 06:32 bin 06:34:15 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 06:32 cmd 06:34:15 -rw-r--r-- 1 jenkins jenkins 78456 Jan 26 06:34 coverage.out 06:34:15 drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 06:32 doc 06:34:15 -rw-rw-r-- 1 jenkins jenkins 4130 Jan 26 06:32 go.mod 06:34:15 -rw-rw-r-- 1 jenkins jenkins 35283 Jan 26 06:32 go.sum 06:34:15 drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 06:32 internal 06:34:15 -rw-rw-r-- 1 jenkins jenkins 236 Jan 26 06:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:15 + 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=b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17 --label arch=amd64 --label version=3.2.0-dev.8 . 06:34:15 Sending build context to Docker daemon 34.31MB 06:34:15 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 06:34:15 Step 2/27 : FROM ${BASE} AS builder 06:34:15 ---> 01013ded5a15 06:34:15 Step 3/27 : ARG ADD_BUILD_TAGS="" 06:34:16 ---> Running in 8f843b2f3f4a 06:34:16 Removing intermediate container 8f843b2f3f4a 06:34:16 ---> a81cae347c7d 06:34:16 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:34:16 ---> Running in 06790f36f6c7 06:34:16 Removing intermediate container 06790f36f6c7 06:34:16 ---> 488a26beb9bd 06:34:16 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 06:34:16 ---> Running in d22643de8bec 06:34:16 Removing intermediate container d22643de8bec 06:34:16 ---> fca89bd2be0b 06:34:16 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 06:34:16 ---> Running in bc55e0c2e231 06:34:16 Removing intermediate container bc55e0c2e231 06:34:16 ---> c8c3db43c7f4 06:34:16 Step 7/27 : LABEL Name=edgex-device-onvif-camera 06:34:16 ---> Running in 2e99007d1777 06:34:16 Removing intermediate container 2e99007d1777 06:34:16 ---> 75173fe0263b 06:34:16 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:34:16 ---> Running in 29c9aa841f9f 06:34:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:34:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:34:17 OK: 264 MiB in 52 packages 06:34:17 Removing intermediate container 29c9aa841f9f 06:34:17 ---> e19bc81dcdde 06:34:17 Step 9/27 : WORKDIR /device-onvif-camera 06:34:17 ---> Running in 896fe0eb766a 06:34:17 Removing intermediate container 896fe0eb766a 06:34:17 ---> 1cd9ed8173b2 06:34:17 Step 10/27 : COPY go.mod vendor* ./ 06:34:17 ---> 38ed84ffbadf 06:34:17 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:34:17 ---> Running in 54e22d699f50 06:34:18 Removing intermediate container 54e22d699f50 06:34:18 ---> 52904be85ecb 06:34:18 Step 12/27 : COPY . . 06:34:19 ---> d2b6579a0694 06:34:19 Step 13/27 : RUN ${MAKE} 06:34:19 ---> Running in bc65f865d791 06:34:19 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.7" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 06:34:41 Removing intermediate container bc65f865d791 06:34:41 ---> 2bebe1929ae7 06:34:41 Step 14/27 : FROM alpine:3.18 06:34:41 3.18: Pulling from library/alpine 06:34:41 c926b61bad3b: Pulling fs layer 06:34:41 c926b61bad3b: Verifying Checksum 06:34:41 c926b61bad3b: Download complete 06:34:41 c926b61bad3b: Pull complete 06:34:41 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 06:34:41 Status: Downloaded newer image for alpine:3.18 06:34:41 ---> b541f2080109 06:34:41 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 06:34:41 ---> Running in 705280a728d3 06:34:41 Removing intermediate container 705280a728d3 06:34:41 ---> 2f035b13c920 06:34:41 Step 16/27 : RUN apk add --update --no-cache dumb-init 06:34:41 ---> Running in 4a67742c7c03 06:34:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:34:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:34:41 (1/1) Installing dumb-init (1.2.5-r2) 06:34:41 Executing busybox-1.36.1-r5.trigger 06:34:41 OK: 7 MiB in 16 packages 06:34:41 Removing intermediate container 4a67742c7c03 06:34:41 ---> 82677fd17e9f 06:34:41 Step 17/27 : RUN apk --no-cache upgrade 06:34:41 ---> Running in 0b723a1c4484 06:34:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:34:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:34:41 (1/2) Upgrading libcrypto3 (3.1.4-r1 -> 3.1.4-r5) 06:34:41 (2/2) Upgrading libssl3 (3.1.4-r1 -> 3.1.4-r5) 06:34:41 OK: 7 MiB in 16 packages 06:34:41 Removing intermediate container 0b723a1c4484 06:34:41 ---> 0ed209dc4700 06:34:41 Step 18/27 : WORKDIR / 06:34:41 ---> Running in 1b2285964d73 06:34:41 Removing intermediate container 1b2285964d73 06:34:41 ---> e530bef9e88a 06:34:41 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 06:34:42 ---> fe02e797bd4b 06:34:42 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 06:34:42 ---> 2ff47dea3c62 06:34:42 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 06:34:42 ---> ac24c768e18e 06:34:42 Step 22/27 : EXPOSE 59984 06:34:42 ---> Running in 7a2d06766ebe 06:34:42 Removing intermediate container 7a2d06766ebe 06:34:42 ---> f134e197d9d9 06:34:42 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 06:34:42 ---> Running in 6e73f2f4d8bc 06:34:42 Removing intermediate container 6e73f2f4d8bc 06:34:42 ---> c9f5ef1681d3 06:34:42 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:34:42 ---> Running in f3ee5a4e20f5 06:34:42 Removing intermediate container f3ee5a4e20f5 06:34:42 ---> f12819122b66 06:34:42 Step 25/27 : LABEL arch=amd64 06:34:42 ---> Running in 3e6a51f0cb25 06:34:42 Removing intermediate container 3e6a51f0cb25 06:34:42 ---> 9f77664af576 06:34:42 Step 26/27 : LABEL git_sha=b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17 06:34:42 ---> Running in 5810907731ee 06:34:42 Removing intermediate container 5810907731ee 06:34:42 ---> 01111850bd70 06:34:42 Step 27/27 : LABEL version=3.2.0-dev.8 06:34:42 ---> Running in a72a0135a714 06:34:42 Removing intermediate container a72a0135a714 06:34:42 ---> ae332cdfac85 06:34:42 [Warning] One or more build-args [ARCH] were not consumed 06:34:42 Successfully built ae332cdfac85 06:34:42 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:34:42 provisioning config files... 06:34:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10216444726541584349tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:34:43 ---> ****-login.sh 06:34:43 nexus3.edgexfoundry.org:10001 06:34:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:34:43 Configure a credential helper to remove this warning. See 06:34:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:34:43 06:34:43 Login Succeeded 06:34:43 nexus3.edgexfoundry.org:10002 06:34:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:34:43 Configure a credential helper to remove this warning. See 06:34:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:34:43 06:34:43 Login Succeeded 06:34:43 nexus3.edgexfoundry.org:10003 06:34:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:34:43 Configure a credential helper to remove this warning. See 06:34:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:34:43 06:34:43 Login Succeeded 06:34:43 nexus3.edgexfoundry.org:10004 06:34:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:34:43 Configure a credential helper to remove this warning. See 06:34:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:34:43 06:34:43 Login Succeeded 06:34:43 ****.io 06:34:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:34:43 Configure a credential helper to remove this warning. See 06:34:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:34:43 06:34:43 Login Succeeded 06:34:43 ---> ****-login.sh ends [Pipeline] } 06:34:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:34:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:34:44 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 06:34:44 b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17 06:34:44 latest 06:34:44 3.2.0-dev.8 06:34:44 b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17-3.2.0-dev.8 06:34:44 main 06:34:44 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:44 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:44 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17 06:34:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 06:34:44 10e303393b97: Preparing 06:34:44 ebc6ddbb93b4: Preparing 06:34:44 03c62ded5a80: Preparing 06:34:44 1bc3da36cc55: Preparing 06:34:44 c7bfc4deb697: Preparing 06:34:44 9fe9a137fd00: Preparing 06:34:44 9fe9a137fd00: Waiting 06:34:44 c7bfc4deb697: Pushed 06:34:44 ebc6ddbb93b4: Pushed 06:34:44 10e303393b97: Pushed 06:34:44 9fe9a137fd00: Layer already exists 06:34:45 1bc3da36cc55: Pushed 06:34:46 03c62ded5a80: Pushed 06:34:47 b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17: digest: sha256:6f9019219db2c535764420c488978e8ff505d25ebc10ff3d93d6cfb5b5081ecc size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:47 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:47 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 06:34:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 06:34:47 10e303393b97: Preparing 06:34:47 ebc6ddbb93b4: Preparing 06:34:47 03c62ded5a80: Preparing 06:34:47 1bc3da36cc55: Preparing 06:34:47 c7bfc4deb697: Preparing 06:34:47 9fe9a137fd00: Preparing 06:34:47 9fe9a137fd00: Waiting 06:34:47 c7bfc4deb697: Layer already exists 06:34:47 ebc6ddbb93b4: Layer already exists 06:34:47 03c62ded5a80: Layer already exists 06:34:47 1bc3da36cc55: Layer already exists 06:34:47 10e303393b97: Layer already exists 06:34:47 9fe9a137fd00: Layer already exists 06:34:47 latest: digest: sha256:6f9019219db2c535764420c488978e8ff505d25ebc10ff3d93d6cfb5b5081ecc size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:48 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:48 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.8 06:34:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 06:34:48 10e303393b97: Preparing 06:34:48 ebc6ddbb93b4: Preparing 06:34:48 03c62ded5a80: Preparing 06:34:48 1bc3da36cc55: Preparing 06:34:48 c7bfc4deb697: Preparing 06:34:48 9fe9a137fd00: Preparing 06:34:48 9fe9a137fd00: Waiting 06:34:48 c7bfc4deb697: Layer already exists 06:34:48 03c62ded5a80: Layer already exists 06:34:48 ebc6ddbb93b4: Layer already exists 06:34:48 1bc3da36cc55: Layer already exists 06:34:48 10e303393b97: Layer already exists 06:34:48 9fe9a137fd00: Layer already exists 06:34:48 3.2.0-dev.8: digest: sha256:6f9019219db2c535764420c488978e8ff505d25ebc10ff3d93d6cfb5b5081ecc size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:49 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17-3.2.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:49 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17-3.2.0-dev.8 06:34:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 06:34:49 10e303393b97: Preparing 06:34:49 ebc6ddbb93b4: Preparing 06:34:49 03c62ded5a80: Preparing 06:34:49 1bc3da36cc55: Preparing 06:34:49 c7bfc4deb697: Preparing 06:34:49 9fe9a137fd00: Preparing 06:34:49 9fe9a137fd00: Waiting 06:34:49 03c62ded5a80: Layer already exists 06:34:49 ebc6ddbb93b4: Layer already exists 06:34:49 1bc3da36cc55: Layer already exists 06:34:49 c7bfc4deb697: Layer already exists 06:34:49 10e303393b97: Layer already exists 06:34:49 9fe9a137fd00: Layer already exists 06:34:49 b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17-3.2.0-dev.8: digest: sha256:6f9019219db2c535764420c488978e8ff505d25ebc10ff3d93d6cfb5b5081ecc size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:50 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:50 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 06:34:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 06:34:50 10e303393b97: Preparing 06:34:50 ebc6ddbb93b4: Preparing 06:34:50 03c62ded5a80: Preparing 06:34:50 1bc3da36cc55: Preparing 06:34:50 c7bfc4deb697: Preparing 06:34:50 9fe9a137fd00: Preparing 06:34:50 9fe9a137fd00: Waiting 06:34:50 03c62ded5a80: Layer already exists 06:34:50 c7bfc4deb697: Layer already exists 06:34:50 1bc3da36cc55: Layer already exists 06:34:50 ebc6ddbb93b4: Layer already exists 06:34:50 10e303393b97: Layer already exists 06:34:50 9fe9a137fd00: Layer already exists 06:34:50 main: digest: sha256:6f9019219db2c535764420c488978e8ff505d25ebc10ff3d93d6cfb5b5081ecc size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:34:50 ===================================================== [Pipeline] echo 06:34:50 taggedImages: 06:34:50 - nexus3.edgexfoundry.org:10004/device-onvif-camera:b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17 06:34:50 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 06:34:50 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.8 06:34:50 - nexus3.edgexfoundry.org:10004/device-onvif-camera:b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17-3.2.0-dev.8 06:34:50 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:34:51 06:34:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:34:51 latest: Pulling from edgex-lftools-log-publisher 06:34:51 5eb5b503b376: Pulling fs layer 06:34:51 5c69ac0246d0: Pulling fs layer 06:34:51 ec43610c2a17: Pulling fs layer 06:34:51 3a2ae6a8a46f: Pulling fs layer 06:34:51 33b1e0a273af: Pulling fs layer 06:34:51 5d3b04190fa2: Pulling fs layer 06:34:51 2f39f015ded8: Pulling fs layer 06:34:51 33b1e0a273af: Waiting 06:34:51 5d3b04190fa2: Waiting 06:34:51 2f39f015ded8: Waiting 06:34:51 3a2ae6a8a46f: Waiting 06:34:51 5c69ac0246d0: Verifying Checksum 06:34:51 5c69ac0246d0: Download complete 06:34:51 3a2ae6a8a46f: Verifying Checksum 06:34:51 3a2ae6a8a46f: Download complete 06:34:51 33b1e0a273af: Verifying Checksum 06:34:51 33b1e0a273af: Download complete 06:34:51 5d3b04190fa2: Verifying Checksum 06:34:51 5d3b04190fa2: Download complete 06:34:51 ec43610c2a17: Verifying Checksum 06:34:51 ec43610c2a17: Download complete 06:34:51 5eb5b503b376: Verifying Checksum 06:34:51 5eb5b503b376: Download complete 06:34:52 2f39f015ded8: Download complete 06:34:53 5eb5b503b376: Pull complete 06:34:53 5c69ac0246d0: Pull complete 06:34:53 ec43610c2a17: Pull complete 06:34:53 3a2ae6a8a46f: Pull complete 06:34:53 33b1e0a273af: Pull complete 06:34:53 5d3b04190fa2: Pull complete 06:34:57 2f39f015ded8: Pull complete 06:34:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:34:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:34:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:34:57 prd-ubuntu20.04-docker-8c-8g-27976 does not seem to be running inside a container 06:34:57 $ 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/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_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 06:35:01 $ docker top bd548f2fb84ad3c8d343b61d91bd2a87676a63e03c29001483a1c6a8cb468ba9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:35:01 ---> job-cost.sh 06:35:01 lf-activate-venv: SKIPPING 06:35:01 INFO: No Stack... 06:35:01 INFO: Retrieving Pricing Info for: v3-standard-8 06:35:01 INFO: Archiving Costs [Pipeline] sh 06:35:02 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 06:35:02 + cut -d, -f6 [Pipeline] lock 06:35:02 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-193-stack-cost] 06:35:02 Resource [jenkins-edgexfoundry-device-onvif-camera-main-193-stack-cost] did not exist. Created. 06:35:02 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-193-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:35:02 + echo total: 0.2199999988079071 [Pipeline] stash 06:35:02 Stashed 1 file(s) [Pipeline] } 06:35:02 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-193-stack-cost] [Pipeline] // lock [Pipeline] } 06:35:02 $ docker stop --time=1 bd548f2fb84ad3c8d343b61d91bd2a87676a63e03c29001483a1c6a8cb468ba9 06:35:04 $ docker rm -f --volumes bd548f2fb84ad3c8d343b61d91bd2a87676a63e03c29001483a1c6a8cb468ba9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:36:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-27984 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 06:36:10 Running in /w/workspace/device-onvif-camera/193 [Pipeline] { [Pipeline] checkout 06:36:13 The recommended git tool is: git 06:36:20 using credential edgex-jenkins-ssh 06:36:20 Cloning the remote Git repository 06:36:20 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 06:36:20 > git init /w/workspace/device-onvif-camera/193 # timeout=10 06:36:21 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 06:36:21 > git --version # timeout=10 06:36:21 > git --version # 'git version 2.25.1' 06:36:21 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:36:23 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 06:36:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:36:24 Avoid second fetch 06:36:24 Checking out Revision b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17 (main) 06:36:25 Commit message: "Merge pull request #425 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.7" 06:36:24 > git config core.sparsecheckout # timeout=10 06:36:25 > git checkout -f b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:36:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:36:26 % Total % Received % Xferd Average Speed Time Time Time Current 06:36:26 Dload Upload Total Spent Left Speed 06:36:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 182k 0 --:--:-- --:--:-- --:--:-- 182k [Pipeline] sh 06:36:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:36:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:36:27 + sudo tee /etc/docker/daemon.new 06:36:27 { 06:36:27 "registry-mirrors": [ 06:36:27 "https://nexus3.edgexfoundry.org:10001" 06:36:27 ], 06:36:27 "bip": "10.250.0.254/24", 06:36:27 "hosts": [ 06:36:27 "tcp://0.0.0.0:5555", 06:36:27 "unix:///var/run/docker.sock" 06:36:27 ], 06:36:27 "mtu": 1458, 06:36:27 "selinux-enabled": true, 06:36:27 "seccomp-profile": "/etc/docker/seccomp.json" 06:36:27 } [Pipeline] sh 06:36:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:36:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:36:46 provisioning config files... 06:36:46 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/193@tmp/config7949026249496308735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:36:47 ---> ****-login.sh 06:36:47 nexus3.edgexfoundry.org:10001 06:36:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:36:48 Configure a credential helper to remove this warning. See 06:36:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:36:48 06:36:48 Login Succeeded 06:36:48 nexus3.edgexfoundry.org:10002 06:36:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:36:48 Configure a credential helper to remove this warning. See 06:36:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:36:48 06:36:48 Login Succeeded 06:36:48 nexus3.edgexfoundry.org:10003 06:36:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:36:48 Configure a credential helper to remove this warning. See 06:36:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:36:48 06:36:48 Login Succeeded 06:36:48 nexus3.edgexfoundry.org:10004 06:36:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:36:49 Configure a credential helper to remove this warning. See 06:36:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:36:49 06:36:49 Login Succeeded 06:36:49 ****.io 06:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:36:49 Configure a credential helper to remove this warning. See 06:36:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:36:49 06:36:49 Login Succeeded 06:36:49 ---> ****-login.sh ends [Pipeline] } 06:36:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:36:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:36:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:36:50 ========================================================= 06:36:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:36:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:50 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 06:36:52 #0 building with "default" instance using docker driver 06:36:52 06:36:52 #1 [internal] load .dockerignore 06:36:52 #1 transferring context: 2B 0.0s done 06:36:52 #1 DONE 0.1s 06:36:52 06:36:52 #2 [internal] load build definition from Dockerfile 06:36:52 #2 transferring dockerfile: 1.72kB done 06:36:52 #2 DONE 0.1s 06:36:52 06:36:52 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:36:52 #3 DONE 0.1s 06:36:52 06:36:52 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 06:36:52 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 06:36:52 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 06:36:52 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 716.80kB / 63.99MB 0.1s 06:36:52 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 06:36:52 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 06:36:52 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 06:36:52 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 7.34MB / 63.99MB 0.3s 06:36:52 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 2.90MB / 3.33MB 0.3s 06:36:52 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 06:36:52 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0B / 97.63MB 0.3s 06:36:53 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.3s done 06:36:53 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 06:36:53 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.4s 06:36:53 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.98MB / 63.99MB 0.6s 06:36:53 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 7.34MB / 97.63MB 0.6s 06:36:53 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 6.79MB / 11.40MB 0.6s 06:36:53 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 22.23MB / 63.99MB 0.7s 06:36:53 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 9.44MB / 11.40MB 0.7s 06:36:53 #4 ... 06:36:53 06:36:53 #5 [internal] load build context 06:36:53 #5 transferring context: 20.34MB 0.7s done 06:36:53 #5 DONE 0.8s 06:36:53 06:36:53 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 06:36:53 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 26.97MB / 63.99MB 0.8s 06:36:53 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 13.75MB / 97.63MB 0.8s 06:36:53 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.8s done 06:36:53 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 31.46MB / 63.99MB 0.9s 06:36:53 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.6s done 06:36:53 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 38.80MB / 63.99MB 1.1s 06:36:53 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 25.17MB / 97.63MB 1.1s 06:36:53 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 42.99MB / 63.99MB 1.2s 06:36:53 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 06:36:53 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 47.19MB / 63.99MB 1.3s 06:36:53 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 32.51MB / 97.63MB 1.3s 06:36:53 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 06:36:53 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 55.57MB / 63.99MB 1.5s 06:36:53 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 40.89MB / 97.63MB 1.5s 06:36:54 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 58.81MB / 63.99MB 1.6s 06:36:54 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.57MB / 63.99MB 1.7s 06:36:54 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 48.23MB / 97.63MB 1.7s 06:36:54 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.8s done 06:36:54 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 57.67MB / 97.63MB 1.9s 06:36:54 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0.1s 06:36:54 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 65.01MB / 97.63MB 2.1s 06:36:55 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 73.40MB / 97.63MB 2.3s 06:36:55 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 82.63MB / 97.63MB 2.5s 06:36:55 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 90.18MB / 97.63MB 2.7s 06:36:55 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.9s 06:36:55 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 3.0s done 06:37:00 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.8s 06:37:06 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.1s 06:37:13 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18.0s done 06:37:14 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 06:37:14 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 06:37:14 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 06:37:19 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.0s 06:37:23 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.7s done 06:37:23 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 06:37:25 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.7s done 06:37:28 #4 DONE 36.1s 06:37:28 06:37:28 #6 [builder 2/7] RUN apk add --no-cache make git 06:37:29 #6 0.788 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:37:29 #6 1.237 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:37:31 #6 2.493 OK: 266 MiB in 52 packages 06:37:33 #6 DONE 4.3s 06:37:33 06:37:33 #7 [builder 3/7] WORKDIR /device-onvif-camera 06:37:33 #7 DONE 0.1s 06:37:33 06:37:33 #8 [builder 4/7] COPY go.mod vendor* ./ 06:37:33 #8 DONE 0.1s 06:37:33 06:37:33 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:38:00 #9 DONE 24.0s 06:38:00 06:38:00 #10 [builder 6/7] COPY . . 06:38:00 #10 DONE 0.5s 06:38:00 06:38:00 #11 [builder 7/7] RUN echo noop 06:38:00 #11 0.695 noop 06:38:00 #11 DONE 0.8s 06:38:00 06:38:00 #12 exporting to image 06:38:00 #12 exporting layers 06:38:18 #12 exporting layers 19.3s done 06:38:18 #12 writing image sha256:9eb614404429516a4a9c13bdb61ff5b9c2ea443968eadb84db89dc445f753c12 done 06:38:18 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 06:38:18 #12 DONE 19.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:18 + docker inspect -f . ci-base-image-arm64 06:38:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:38:19 prd-ubuntu20.04-docker-arm64-4c-16g-27984 does not seem to be running inside a container 06:38:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/193 -v /w/workspace/device-onvif-camera/193:/w/workspace/device-onvif-camera/193:rw,z -v /w/workspace/device-onvif-camera/193@tmp:/w/workspace/device-onvif-camera/193@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 06:38:20 $ docker top a3b57509703980042c6dac3026fe5242ecc72bad6eb2cb13e58d84cae11dca37 -eo pid,comm [Pipeline] { [Pipeline] sh 06:38:21 + go version 06:38:21 go version go1.21.0 linux/arm64 [Pipeline] } 06:38:21 $ docker stop --time=1 a3b57509703980042c6dac3026fe5242ecc72bad6eb2cb13e58d84cae11dca37 06:38:23 $ docker rm -f --volumes a3b57509703980042c6dac3026fe5242ecc72bad6eb2cb13e58d84cae11dca37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:23 + docker inspect -f . ci-base-image-arm64 06:38:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:38:24 prd-ubuntu20.04-docker-arm64-4c-16g-27984 does not seem to be running inside a container 06:38:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/193 -v /w/workspace/device-onvif-camera/193:/w/workspace/device-onvif-camera/193:rw,z -v /w/workspace/device-onvif-camera/193@tmp:/w/workspace/device-onvif-camera/193@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 06:38:28 $ docker top c20a300ea14a01f2a1b0f94b12b1d080ca65520c98815f3288900a510b167fe4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:38:28 + git config --global --add safe.directory /w/workspace/device-onvif-camera/193 [Pipeline] fileExists [Pipeline] sh 06:38:29 + make test 06:38:29 go test ./... -coverprofile=coverage.out ./... 06:38:33 ? github.com/edgexfoundry/device-onvif-camera [no test files] 06:39:41 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 06:39:41 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 06:39:42 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.196s coverage: 31.5% of statements 06:39:57 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 16.619s coverage: 86.5% of statements 06:39:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:39:57 go vet ./... 06:40:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:40:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:40:19 ./bin/test-attribution-txt.sh 06:40:19 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 06:40:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:40:20 $ docker stop --time=1 c20a300ea14a01f2a1b0f94b12b1d080ca65520c98815f3288900a510b167fe4 06:40:21 $ docker rm -f --volumes c20a300ea14a01f2a1b0f94b12b1d080ca65520c98815f3288900a510b167fe4 [Pipeline] // withDockerContainer [Pipeline] sh 06:40:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:40:23 Warning: overwriting stash ‘coverage-report’ 06:40:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:40:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:40:28 + ls -al . 06:40:28 total 240 06:40:28 drwxrwxr-x 8 jenkins jenkins 4096 Jan 26 06:38 . 06:40:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 06:36 .. 06:40:28 drwxrwxr-x 8 jenkins jenkins 4096 Jan 26 06:36 .git 06:40:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 06:36 .github 06:40:28 -rw-rw-r-- 1 jenkins jenkins 493 Jan 26 06:36 .gitignore 06:40:28 -rw-rw-r-- 1 jenkins jenkins 42 Jan 26 06:36 .golangci.yml 06:40:28 -rw-rw-r-- 1 jenkins jenkins 11155 Jan 26 06:36 Attribution.txt 06:40:28 -rw-rw-r-- 1 jenkins jenkins 17665 Jan 26 06:36 CHANGELOG.md 06:40:28 -rw-rw-r-- 1 jenkins jenkins 1683 Jan 26 06:36 Dockerfile 06:40:28 -rw-rw-r-- 1 jenkins jenkins 677 Jan 26 06:36 GOVERNANCE.md 06:40:28 -rw-rw-r-- 1 jenkins jenkins 739 Jan 26 06:36 Jenkinsfile 06:40:28 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 26 06:36 LICENSE 06:40:28 -rw-rw-r-- 1 jenkins jenkins 2883 Jan 26 06:36 Makefile 06:40:28 -rw-rw-r-- 1 jenkins jenkins 625 Jan 26 06:36 OWNERS.md 06:40:28 -rw-rw-r-- 1 jenkins jenkins 2620 Jan 26 06:36 README.md 06:40:28 -rw-rw-r-- 1 jenkins jenkins 11 Jan 26 06:32 VERSION 06:40:28 drwxrwxr-x 2 jenkins jenkins 4096 Jan 26 06:36 bin 06:40:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 06:36 cmd 06:40:28 -rw-r--r-- 1 jenkins jenkins 78456 Jan 26 06:39 coverage.out 06:40:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 06:36 doc 06:40:28 -rw-rw-r-- 1 jenkins jenkins 4130 Jan 26 06:36 go.mod 06:40:28 -rw-rw-r-- 1 jenkins jenkins 35283 Jan 26 06:36 go.sum 06:40:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 06:36 internal 06:40:28 -rw-rw-r-- 1 jenkins jenkins 236 Jan 26 06:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:29 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17 --label arch=arm64 --label version=3.2.0-dev.8 . 06:40:30 #0 building with "default" instance using docker driver 06:40:30 06:40:30 #1 [internal] load .dockerignore 06:40:30 #1 transferring context: 2B done 06:40:30 #1 DONE 0.0s 06:40:30 06:40:30 #2 [internal] load build definition from Dockerfile 06:40:30 #2 transferring dockerfile: 1.72kB 0.0s done 06:40:30 #2 DONE 0.0s 06:40:30 06:40:30 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 06:40:30 #3 DONE 0.0s 06:40:30 06:40:30 #4 [internal] load metadata for docker.io/library/alpine:3.18 06:40:30 #4 DONE 0.3s 06:40:30 06:40:30 #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 06:40:30 #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 06:40:30 #5 ... 06:40:30 06:40:30 #6 [internal] load build context 06:40:30 #6 transferring context: 87.36kB 0.1s done 06:40:30 #6 DONE 0.1s 06:40:30 06:40:30 #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 06:40:30 #5 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 06:40:30 #5 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 06:40:30 #5 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 06:40:30 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 729.09kB / 3.33MB 0.1s 06:40:30 #5 ... 06:40:30 06:40:30 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 06:40:30 #7 DONE 0.3s 06:40:30 06:40:30 #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 06:40:30 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.2s done 06:40:30 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 06:40:31 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 06:40:31 #5 DONE 1.1s 06:40:31 06:40:31 #8 [builder 2/7] RUN apk add --no-cache make git 06:40:31 #8 0.897 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:40:32 #8 1.397 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:40:33 #8 2.749 OK: 266 MiB in 52 packages 06:40:34 #8 DONE 3.2s 06:40:34 06:40:34 #9 [builder 3/7] WORKDIR /device-onvif-camera 06:40:34 #9 DONE 0.1s 06:40:34 06:40:34 #10 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 06:40:34 #10 0.717 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:40:34 #10 1.116 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:40:34 #10 2.441 (1/1) Installing dumb-init (1.2.5-r2) 06:40:34 #10 2.456 Executing busybox-1.36.1-r5.trigger 06:40:34 #10 2.480 OK: 8 MiB in 16 packages 06:40:34 #10 DONE 2.8s 06:40:34 06:40:34 #11 [builder 4/7] COPY go.mod vendor* ./ 06:40:34 #11 DONE 0.2s 06:40:34 06:40:34 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:40:35 #12 DONE 1.5s 06:40:35 06:40:35 #13 [builder 6/7] COPY . . 06:40:36 #13 DONE 0.6s 06:40:36 06:40:36 #14 [stage-1 3/7] RUN apk --no-cache upgrade 06:40:36 #14 0.985 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:40:36 #14 1.396 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:40:37 #14 2.643 (1/2) Upgrading libcrypto3 (3.1.4-r1 -> 3.1.4-r5) 06:40:37 #14 2.749 (2/2) Upgrading libssl3 (3.1.4-r1 -> 3.1.4-r5) 06:40:37 #14 2.786 OK: 8 MiB in 16 packages 06:40:37 #14 DONE 3.1s 06:40:37 06:40:37 #15 [builder 7/7] RUN make build 06:40:37 #15 1.576 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.7" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 06:41:59 #15 DONE 82.2s 06:41:59 06:41:59 #16 [stage-1 4/7] COPY --from=builder /device-onvif-camera/cmd / 06:41:59 #16 DONE 0.3s 06:41:59 06:41:59 #17 [stage-1 5/7] COPY --from=builder /device-onvif-camera/LICENSE / 06:41:59 #17 DONE 0.1s 06:41:59 06:41:59 #18 [stage-1 6/7] COPY --from=builder /device-onvif-camera/Attribution.txt / 06:41:59 #18 DONE 0.1s 06:41:59 06:41:59 #19 exporting to image 06:41:59 #19 exporting layers 06:41:59 #19 exporting layers 0.3s done 06:41:59 #19 writing image sha256:cdd1d66883357e5cff80966e02497a0fff60fd893ba3ddf40d34d8c2e7634fcc done 06:41:59 #19 naming to docker.io/library/device-onvif-camera-arm64 done 06:41:59 #19 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:42:00 provisioning config files... 06:42:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/193@tmp/config1917067106109918383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:42:00 ---> ****-login.sh 06:42:00 nexus3.edgexfoundry.org:10001 06:42:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:42:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:42:00 Configure a credential helper to remove this warning. See 06:42:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:42:00 06:42:00 Login Succeeded 06:42:00 nexus3.edgexfoundry.org:10002 06:42:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:42:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:42:01 Configure a credential helper to remove this warning. See 06:42:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:42:01 06:42:01 Login Succeeded 06:42:01 nexus3.edgexfoundry.org:10003 06:42:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:42:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:42:01 Configure a credential helper to remove this warning. See 06:42:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:42:01 06:42:01 Login Succeeded 06:42:01 nexus3.edgexfoundry.org:10004 06:42:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:42:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:42:01 Configure a credential helper to remove this warning. See 06:42:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:42:01 06:42:01 Login Succeeded 06:42:01 ****.io 06:42:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:42:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:42:02 Configure a credential helper to remove this warning. See 06:42:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:42:02 06:42:02 Login Succeeded 06:42:02 ---> ****-login.sh ends [Pipeline] } 06:42:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:42:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:42:02 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 06:42:02 b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17 06:42:02 latest 06:42:02 3.2.0-dev.8 06:42:02 b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17-3.2.0-dev.8 06:42:02 main 06:42:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:02 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:03 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17 06:42:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 06:42:03 457ebd99f2e3: Preparing 06:42:03 70d102679c26: Preparing 06:42:03 1f0a2d7f843a: Preparing 06:42:03 302d49708f18: Preparing 06:42:03 2edd8a2cef43: Preparing 06:42:03 0faf9b67be60: Preparing 06:42:03 0faf9b67be60: Waiting 06:42:03 70d102679c26: Pushed 06:42:03 2edd8a2cef43: Pushed 06:42:03 457ebd99f2e3: Pushed 06:42:03 0faf9b67be60: Layer already exists 06:42:04 302d49708f18: Pushed 06:42:07 1f0a2d7f843a: Pushed 06:42:07 b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17: digest: sha256:4d64a15bc5db609b9be71106c7f6360689ffb09dad1d4bbc0a8dc56664cc7637 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:11 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:11 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 06:42:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 06:42:11 457ebd99f2e3: Preparing 06:42:11 70d102679c26: Preparing 06:42:11 1f0a2d7f843a: Preparing 06:42:11 302d49708f18: Preparing 06:42:11 2edd8a2cef43: Preparing 06:42:11 0faf9b67be60: Preparing 06:42:11 0faf9b67be60: Waiting 06:42:11 302d49708f18: Layer already exists 06:42:11 2edd8a2cef43: Layer already exists 06:42:11 1f0a2d7f843a: Layer already exists 06:42:11 457ebd99f2e3: Layer already exists 06:42:11 70d102679c26: Layer already exists 06:42:11 0faf9b67be60: Layer already exists 06:42:11 latest: digest: sha256:4d64a15bc5db609b9be71106c7f6360689ffb09dad1d4bbc0a8dc56664cc7637 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:12 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:12 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.8 06:42:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 06:42:12 457ebd99f2e3: Preparing 06:42:12 70d102679c26: Preparing 06:42:12 1f0a2d7f843a: Preparing 06:42:12 302d49708f18: Preparing 06:42:12 2edd8a2cef43: Preparing 06:42:12 0faf9b67be60: Preparing 06:42:12 0faf9b67be60: Waiting 06:42:12 457ebd99f2e3: Layer already exists 06:42:12 70d102679c26: Layer already exists 06:42:12 302d49708f18: Layer already exists 06:42:12 2edd8a2cef43: Layer already exists 06:42:12 1f0a2d7f843a: Layer already exists 06:42:12 0faf9b67be60: Layer already exists 06:42:13 3.2.0-dev.8: digest: sha256:4d64a15bc5db609b9be71106c7f6360689ffb09dad1d4bbc0a8dc56664cc7637 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:13 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17-3.2.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17-3.2.0-dev.8 06:42:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 06:42:14 457ebd99f2e3: Preparing 06:42:14 70d102679c26: Preparing 06:42:14 1f0a2d7f843a: Preparing 06:42:14 302d49708f18: Preparing 06:42:14 2edd8a2cef43: Preparing 06:42:14 0faf9b67be60: Preparing 06:42:14 0faf9b67be60: Waiting 06:42:14 2edd8a2cef43: Layer already exists 06:42:14 1f0a2d7f843a: Layer already exists 06:42:14 70d102679c26: Layer already exists 06:42:14 457ebd99f2e3: Layer already exists 06:42:14 302d49708f18: Layer already exists 06:42:14 0faf9b67be60: Layer already exists 06:42:14 b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17-3.2.0-dev.8: digest: sha256:4d64a15bc5db609b9be71106c7f6360689ffb09dad1d4bbc0a8dc56664cc7637 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:14 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:15 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 06:42:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 06:42:15 457ebd99f2e3: Preparing 06:42:15 70d102679c26: Preparing 06:42:15 1f0a2d7f843a: Preparing 06:42:15 302d49708f18: Preparing 06:42:15 2edd8a2cef43: Preparing 06:42:15 0faf9b67be60: Preparing 06:42:15 0faf9b67be60: Waiting 06:42:15 457ebd99f2e3: Layer already exists 06:42:15 70d102679c26: Layer already exists 06:42:15 302d49708f18: Layer already exists 06:42:15 2edd8a2cef43: Layer already exists 06:42:15 1f0a2d7f843a: Layer already exists 06:42:15 0faf9b67be60: Layer already exists 06:42:15 main: digest: sha256:4d64a15bc5db609b9be71106c7f6360689ffb09dad1d4bbc0a8dc56664cc7637 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:42:16 ===================================================== [Pipeline] echo 06:42:16 taggedImages: 06:42:16 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17 06:42:16 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 06:42:16 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.8 06:42:16 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17-3.2.0-dev.8 06:42:16 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:42:16 06:42:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:42:17 arm64: Pulling from edgex-lftools-log-publisher 06:42:17 8998bd30e6a1: Pulling fs layer 06:42:17 04944245beec: Pulling fs layer 06:42:17 699f458cf7ca: Pulling fs layer 06:42:17 765212b225bb: Pulling fs layer 06:42:17 f23df028b6ca: Pulling fs layer 06:42:17 d65c8cfc05b1: Pulling fs layer 06:42:17 2437ff75d9bd: Pulling fs layer 06:42:17 765212b225bb: Waiting 06:42:17 f23df028b6ca: Waiting 06:42:17 d65c8cfc05b1: Waiting 06:42:17 04944245beec: Verifying Checksum 06:42:17 04944245beec: Download complete 06:42:17 765212b225bb: Download complete 06:42:17 f23df028b6ca: Download complete 06:42:17 d65c8cfc05b1: Verifying Checksum 06:42:17 d65c8cfc05b1: Download complete 06:42:17 699f458cf7ca: Verifying Checksum 06:42:17 699f458cf7ca: Download complete 06:42:18 8998bd30e6a1: Verifying Checksum 06:42:18 8998bd30e6a1: Download complete 06:42:20 2437ff75d9bd: Verifying Checksum 06:42:20 2437ff75d9bd: Download complete 06:42:25 8998bd30e6a1: Pull complete 06:42:25 04944245beec: Pull complete 06:42:27 699f458cf7ca: Pull complete 06:42:27 765212b225bb: Pull complete 06:42:28 f23df028b6ca: Pull complete 06:42:28 d65c8cfc05b1: Pull complete 06:42:55 2437ff75d9bd: Pull complete 06:42:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:42:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:42:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:42:55 prd-ubuntu20.04-docker-arm64-4c-16g-27984 does not seem to be running inside a container 06:42:55 $ 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-onvif-camera/193 -v /w/workspace/device-onvif-camera/193:/w/workspace/device-onvif-camera/193:rw,z -v /w/workspace/device-onvif-camera/193@tmp:/w/workspace/device-onvif-camera/193@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 06:42:57 $ docker top bb168c9fe4ffab92700c57195fc48414f9978fa70e14262b0df7f74ca24deba9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:42:57 ---> job-cost.sh 06:42:58 lf-activate-venv: SKIPPING 06:42:58 INFO: No Stack... 06:42:58 INFO: Retrieving Pricing Info for: v3-standard-8 06:42:59 INFO: Archiving Costs [Pipeline] sh 06:42:59 + cat /w/workspace/device-onvif-camera/193/archives/cost.csv 06:42:59 + cut -d, -f6 [Pipeline] lock 06:42:59 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-193-stack-cost] 06:42:59 Resource [jenkins-edgexfoundry-device-onvif-camera-main-193-stack-cost] did not exist. Created. 06:42:59 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-193-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:42:59 /w/workspace/device-onvif-camera/193@tmp/durable-cd6870ed/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:43:00 + echo total: 0.2199999988079071 [Pipeline] stash 06:43:00 Warning: overwriting stash ‘stack-cost’ 06:43:00 Stashed 1 file(s) [Pipeline] } 06:43:00 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-193-stack-cost] [Pipeline] // lock [Pipeline] } 06:43:00 $ docker stop --time=1 bb168c9fe4ffab92700c57195fc48414f9978fa70e14262b0df7f74ca24deba9 06:43:02 $ docker rm -f --volumes bb168c9fe4ffab92700c57195fc48414f9978fa70e14262b0df7f74ca24deba9 [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 06:43:03 provisioning config files... 06:43:03 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3288425654004216291tmp [Pipeline] { [Pipeline] sh 06:43:04 + set +x 06:43:04 + curl -s https://codecov.io/bash 06:43:04 + bash -s -- 06:43:04 06:43:04 _____ _ 06:43:04 / ____| | | 06:43:04 | | ___ __| | ___ ___ _____ __ 06:43:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:43:04 | |___| (_) | (_| | __/ (_| (_) \ V / 06:43:04 \_____\___/ \__,_|\___|\___\___/ \_/ 06:43:04 Bash-1.0.6 06:43:04 06:43:04 06:43:04 ==> git version 2.25.1 found 06:43:04 ==> 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 06:43:04 Release-Date: 2020-01-08 06:43:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:43:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:43:04 ==> Jenkins CI detected. 06:43:04 current dir:  /w/workspace/foundry_device-onvif-camera_main 06:43:04 project root: . 06:43:04 --> token set from env 06:43:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:43:04 ==> Running gcov in . (disable via -X gcov) 06:43:04 ==> Python coveragepy not found 06:43:04 ==> Searching for coverage reports in: 06:43:04 + . 06:43:04 -> Found 1 reports 06:43:04 ==> Detecting git/mercurial file structure 06:43:04 ==> Reading reports 06:43:04 + ./coverage.out bytes=78456 06:43:04 ==> Appending adjustments 06:43:04 https://docs.codecov.io/docs/fixing-reports 06:43:04 + Found adjustments 06:43:04 ==> Gzipping contents 06:43:04 12K /tmp/codecov.dZu9HA.gz 06:43:04 ==> Uploading reports 06:43:04 url: https://codecov.io 06:43:04 query: branch=main&commit=b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17&build=193&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F193%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 06:43:04 -> Pinging Codecov 06:43:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17&build=193&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F193%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 06:43:04 -> Uploading to 06:43:04 https://storage.googleapis.com/codecov/v4/raw/2024-01-26/F29A59C45E3A92E06B3E522C9905F8EF/b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17/89ec70c0-c4fa-4c29-b98d-a9bcfbe74c64.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240126%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240126T064304Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3e47866f3b95994a3c91c90ed6f167a7a247d8071b1dcea5334d726f1a17d90a 06:43:04 % Total % Received % Xferd Average Speed Time Time Time Current 06:43:04 Dload Upload Total Spent Left Speed 06:43:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 34593 --:--:-- --:--:-- --:--:-- 34593 06:43:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17 [Pipeline] } 06:43:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:43:05 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:43:05 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:43:05 06:43:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:43:06 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:43:06 df9b9388f04a: Pulling fs layer 06:43:06 52dc419b0ee2: Pulling fs layer 06:43:06 25bc292e5bac: Pulling fs layer 06:43:06 114826534d7a: Pulling fs layer 06:43:06 4657fd5d0bcf: Pulling fs layer 06:43:06 6ad1cebc031e: Pulling fs layer 06:43:06 8a3aa393b2d8: Pulling fs layer 06:43:06 4657fd5d0bcf: Waiting 06:43:06 6ad1cebc031e: Waiting 06:43:06 8a3aa393b2d8: Waiting 06:43:06 114826534d7a: Waiting 06:43:06 25bc292e5bac: Verifying Checksum 06:43:06 25bc292e5bac: Download complete 06:43:06 52dc419b0ee2: Verifying Checksum 06:43:06 52dc419b0ee2: Download complete 06:43:06 4657fd5d0bcf: Download complete 06:43:06 df9b9388f04a: Download complete 06:43:06 6ad1cebc031e: Verifying Checksum 06:43:06 6ad1cebc031e: Download complete 06:43:06 df9b9388f04a: Pull complete 06:43:06 52dc419b0ee2: Pull complete 06:43:06 25bc292e5bac: Pull complete 06:43:06 8a3aa393b2d8: Verifying Checksum 06:43:06 8a3aa393b2d8: Download complete 06:43:06 114826534d7a: Download complete 06:43:10 114826534d7a: Pull complete 06:43:10 4657fd5d0bcf: Pull complete 06:43:10 6ad1cebc031e: Pull complete 06:43:13 8a3aa393b2d8: Pull complete 06:43:13 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:43:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:43:13 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:43:13 prd-ubuntu20.04-docker-8c-8g-27976 does not seem to be running inside a container 06:43:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_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:1.410.4 cat 06:43:17 $ docker top b9e45828938f6e86a9f568a43bd72fae910b2a4a2fd93413bc9ff99b773ac1d5 -eo pid,comm [Pipeline] { [Pipeline] echo 06:43:18 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 06:43:18 + set -o pipefail 06:43:18 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 06:43:23 06:43:23 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 06:43:23 06:43:23 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/f566a5f8-6ab8-4985-b483-d0ec3e60d70b 06:43:23 06:43:23 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:43:23 06:43:23 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:43:23 06:43:23 06:43:23 A medium severity vulnerability was found in the Snyk CLI versions you are using. 06:43:23 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 06:43:23 More details here: https://snyk.co/ue1NS 06:43:23 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 06:43:23 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:43:23 $ docker stop --time=1 b9e45828938f6e86a9f568a43bd72fae910b2a4a2fd93413bc9ff99b773ac1d5 06:43:26 $ docker rm -f --volumes b9e45828938f6e86a9f568a43bd72fae910b2a4a2fd93413bc9ff99b773ac1d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 06:43:27 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:43:27 provisioning config files... 06:43:27 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6910521686263328430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:43:28 --> edgex-publish-swagger.sh 06:43:28 === Publish doc/openapi/v3 API === 06:43:28 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 06:43:28 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 06:43:28 % Total % Received % Xferd Average Speed Time Time Time Current 06:43:28 Dload Upload Total Spent Left Speed 06:43:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 100 180 100 485k 361 974k --:--:-- --:--:-- --:--:-- 973k 06:43:28 {"code":403,"message":"This public API is blocked because you have exceeded your current plan's limits","messageCode":"PUBLIC_API_BLOCKED_UPGRADE_OR_DELETE","messageProperties":{}} 06:43:28 [Pipeline] } 06:43:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:43:29 + git log --format=format:%s -1 b5e79b7b143d4bc0281b6701ea20bd2dba6f5c17 [Pipeline] sh 06:43:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:43:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:43:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:43:30 prd-ubuntu20.04-docker-8c-8g-27976 does not seem to be running inside a container 06:43:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_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 06:43:30 $ docker top 73ec2c5764d8569554147be96db03efac0034b86c8b2e3280aba64d9aaf64e20 -eo pid,comm 06:43:30 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). 06:43:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:43:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:43:31 [ssh-agent] Looking for ssh-agent implementation... 06:43:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:43:31 $ docker exec 73ec2c5764d8569554147be96db03efac0034b86c8b2e3280aba64d9aaf64e20 ssh-agent 06:43:31 SSH_AUTH_SOCK=/tmp/ssh-KnfEqhP99Pu1/agent.33 06:43:31 SSH_AGENT_PID=39 06:43:31 Running ssh-add (command line suppressed) 06:43:31 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7583915154819733184.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7583915154819733184.key) 06:43:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:43:31 + git semver tag 06:43:32 2024-01-26 06:43:31,949 [run_tag] DEBUG tag force:False 06:43:32 2024-01-26 06:43:31,949 [check_head_tag] DEBUG check head tag 06:43:32 2024-01-26 06:43:31,950 [execute] INFO git cat-file --batch-check 06:43:32 2024-01-26 06:43:31,951 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 06:43:32 2024-01-26 06:43:31,954 [execute] INFO git cat-file --batch 06:43:32 2024-01-26 06:43:31,955 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 06:43:32 2024-01-26 06:43:31,970 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:43:32 2024-01-26 06:43:31,971 [execute] INFO git tag -a v3.2.0-dev.8 -m v3.2.0-dev.8 06:43:32 2024-01-26 06:43:31,971 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.8', '-m', 'v3.2.0-dev.8'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 06:43:32 2024-01-26 06:43:31,976 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:43:32 3.2.0-dev.8 [Pipeline] } 06:43:32 $ docker exec --env ******** --env ******** 73ec2c5764d8569554147be96db03efac0034b86c8b2e3280aba64d9aaf64e20 ssh-agent -k 06:43:32 unset SSH_AUTH_SOCK; 06:43:32 unset SSH_AGENT_PID; 06:43:32 echo Agent pid 39 killed; 06:43:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:43:32 + git semver [Pipeline] } 06:43:32 $ docker stop --time=1 73ec2c5764d8569554147be96db03efac0034b86c8b2e3280aba64d9aaf64e20 06:43:34 $ docker rm -f --volumes 73ec2c5764d8569554147be96db03efac0034b86c8b2e3280aba64d9aaf64e20 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:43:35 06:43:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:43:35 0.23.1-centos7: Pulling from edgex-lftools 06:43:35 ab5ef0e58194: Pulling fs layer 06:43:35 9712f1f96733: Pulling fs layer 06:43:35 63f879dbbcfc: Pulling fs layer 06:43:35 0d9ebad4ef96: Pulling fs layer 06:43:35 e9a5061849ea: Pulling fs layer 06:43:35 d747dcd14b5f: Pulling fs layer 06:43:35 2de7ff778b66: Pulling fs layer 06:43:35 d747dcd14b5f: Waiting 06:43:35 0d9ebad4ef96: Waiting 06:43:35 e9a5061849ea: Waiting 06:43:35 2de7ff778b66: Waiting 06:43:35 9712f1f96733: Download complete 06:43:35 63f879dbbcfc: Verifying Checksum 06:43:35 63f879dbbcfc: Download complete 06:43:35 e9a5061849ea: Verifying Checksum 06:43:35 e9a5061849ea: Download complete 06:43:35 0d9ebad4ef96: Verifying Checksum 06:43:35 0d9ebad4ef96: Download complete 06:43:35 d747dcd14b5f: Verifying Checksum 06:43:35 d747dcd14b5f: Download complete 06:43:35 ab5ef0e58194: Verifying Checksum 06:43:35 ab5ef0e58194: Download complete 06:43:36 2de7ff778b66: Verifying Checksum 06:43:36 2de7ff778b66: Download complete 06:43:39 ab5ef0e58194: Pull complete 06:43:39 9712f1f96733: Pull complete 06:43:39 63f879dbbcfc: Pull complete 06:43:43 0d9ebad4ef96: Pull complete 06:43:43 e9a5061849ea: Pull complete 06:43:43 d747dcd14b5f: Pull complete 06:43:44 2de7ff778b66: Pull complete 06:43:44 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:43:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:43:44 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:43:45 prd-ubuntu20.04-docker-8c-8g-27976 does not seem to be running inside a container 06:43:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_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 06:43:49 $ docker top 542b01567697d751bb1bded0befd9e5874227a4260861e0136457873863cb565 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:43:50 provisioning config files... 06:43:50 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17883715728049170908tmp 06:43:50 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6421327918579224558tmp 06:43:50 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config501671799325018910tmp [Pipeline] { [Pipeline] echo 06:43:50 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:43:50 ---> sigul-configuration.sh 06:43:50 gpg: directory `/root/.gnupg' created 06:43:50 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:43:50 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:43:50 gpg: keyring `/root/.gnupg/secring.gpg' created 06:43:50 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:43:50 gpg: CAST5 encrypted data 06:43:50 gpg: encrypted with 1 passphrase 06:43:50 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:43:50 + mkdir /home/jenkins 06:43:50 + mkdir /home/jenkins/sigul [Pipeline] sh 06:43:51 + 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 06:43:51 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:43:51 ---> sigul-install.sh 06:43:51 Sigul already installed; skipping installation. [Pipeline] sh 06:43:51 + git tag --list 06:43:51 v0.0.0 06:43:51 v2.2.0 06:43:51 v2.3.0 06:43:51 v2.3.1 06:43:51 v3.0 06:43:51 v3.0.0 06:43:51 v3.1 06:43:51 v3.1.0 06:43:51 v3.1.0-dev.1 06:43:51 v3.1.0-dev.10 06:43:51 v3.1.0-dev.11 06:43:51 v3.1.0-dev.12 06:43:51 v3.1.0-dev.13 06:43:51 v3.1.0-dev.14 06:43:51 v3.1.0-dev.15 06:43:51 v3.1.0-dev.16 06:43:51 v3.1.0-dev.17 06:43:51 v3.1.0-dev.18 06:43:51 v3.1.0-dev.19 06:43:51 v3.1.0-dev.2 06:43:51 v3.1.0-dev.20 06:43:51 v3.1.0-dev.21 06:43:51 v3.1.0-dev.22 06:43:51 v3.1.0-dev.23 06:43:51 v3.1.0-dev.24 06:43:51 v3.1.0-dev.25 06:43:51 v3.1.0-dev.26 06:43:51 v3.1.0-dev.27 06:43:51 v3.1.0-dev.28 06:43:51 v3.1.0-dev.3 06:43:51 v3.1.0-dev.4 06:43:51 v3.1.0-dev.5 06:43:51 v3.1.0-dev.6 06:43:51 v3.1.0-dev.7 06:43:51 v3.1.0-dev.8 06:43:51 v3.1.0-dev.9 06:43:51 v3.2.0-dev.1 06:43:51 v3.2.0-dev.2 06:43:51 v3.2.0-dev.3 06:43:51 v3.2.0-dev.4 06:43:51 v3.2.0-dev.5 06:43:51 v3.2.0-dev.6 06:43:51 v3.2.0-dev.7 06:43:51 v3.2.0-dev.8 [Pipeline] sh 06:43:52 + lftools sign git-tag v3.2.0-dev.8 06:43:52 Signing Git tag with Sigul... 06:43:52 Signing v3.2.0-dev.8 [Pipeline] echo 06:43:52 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:43:53 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:43:53 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:43:53 $ docker stop --time=1 542b01567697d751bb1bded0befd9e5874227a4260861e0136457873863cb565 06:43:54 $ docker rm -f --volumes 542b01567697d751bb1bded0befd9e5874227a4260861e0136457873863cb565 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:43:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:43:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:43:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:43:56 prd-ubuntu20.04-docker-8c-8g-27976 does not seem to be running inside a container 06:43:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_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 06:43:56 $ docker top 7677ae05a3aaa51a35040c72ab4b9e09630f6ad103d5ea7bed1c99fc9af7c3f9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:43:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:43:56 [ssh-agent] Looking for ssh-agent implementation... 06:43:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:43:56 $ docker exec 7677ae05a3aaa51a35040c72ab4b9e09630f6ad103d5ea7bed1c99fc9af7c3f9 ssh-agent 06:43:56 SSH_AUTH_SOCK=/tmp/ssh-kHA2dM4Tcze5/agent.32 06:43:56 SSH_AGENT_PID=39 06:43:56 Running ssh-add (command line suppressed) 06:43:57 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8904976783710076139.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8904976783710076139.key) 06:43:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:43:57 + git semver bump pre 06:43:57 2024-01-26 06:43:57,588 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:43:57 2024-01-26 06:43:57,588 [bump_version] DEBUG bumping version:3.2.0-dev.8 on axis:pre with prefix:dev 06:43:57 2024-01-26 06:43:57,589 [bump_version] DEBUG bumped version:3.2.0-dev.9 06:43:57 2024-01-26 06:43:57,589 [write_version] DEBUG write version:3.2.0-dev.9 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 06:43:57 2024-01-26 06:43:57,589 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:43:57 2024-01-26 06:43:57,589 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 06:43:57 2024-01-26 06:43:57,591 [execute] INFO git cat-file --batch-check 06:43:57 2024-01-26 06:43:57,592 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 06:43:57 2024-01-26 06:43:57,598 [execute] INFO git cat-file --batch 06:43:57 2024-01-26 06:43:57,599 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 06:43:57 2024-01-26 06:43:57,604 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:43:57 3.2.0-dev.9 [Pipeline] } 06:43:57 $ docker exec --env ******** --env ******** 7677ae05a3aaa51a35040c72ab4b9e09630f6ad103d5ea7bed1c99fc9af7c3f9 ssh-agent -k 06:43:57 unset SSH_AUTH_SOCK; 06:43:57 unset SSH_AGENT_PID; 06:43:57 echo Agent pid 39 killed; 06:43:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:43:58 + git semver [Pipeline] } 06:43:58 $ docker stop --time=1 7677ae05a3aaa51a35040c72ab4b9e09630f6ad103d5ea7bed1c99fc9af7c3f9 06:43:59 $ docker rm -f --volumes 7677ae05a3aaa51a35040c72ab4b9e09630f6ad103d5ea7bed1c99fc9af7c3f9 [Pipeline] // withDockerContainer [Pipeline] sh 06:44:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:44:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:44:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:44:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:44:00 prd-ubuntu20.04-docker-8c-8g-27976 does not seem to be running inside a container 06:44:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_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 06:44:01 $ docker top 5fdc0e211bfd7345818d580bfcf23d10bd17781d18c602fe1e55706b9fe308fd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:44:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:44:01 [ssh-agent] Looking for ssh-agent implementation... 06:44:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:44:01 $ docker exec 5fdc0e211bfd7345818d580bfcf23d10bd17781d18c602fe1e55706b9fe308fd ssh-agent 06:44:01 SSH_AUTH_SOCK=/tmp/ssh-mepyXa16Dilo/agent.32 06:44:01 SSH_AGENT_PID=38 06:44:01 Running ssh-add (command line suppressed) 06:44:01 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7674473555166000956.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7674473555166000956.key) 06:44:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:44:02 + git semver push 06:44:02 2024-01-26 06:44:02,457 [run_push] DEBUG push 06:44:02 2024-01-26 06:44:02,458 [execute] INFO git cat-file --batch-check 06:44:02 2024-01-26 06:44:02,458 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 06:44:02 2024-01-26 06:44:02,462 [execute] INFO git rev-list c9edb8f074582130a95a96fa43afd011af5d4a36 -- 06:44:02 2024-01-26 06:44:02,462 [execute] DEBUG Popen(['git', 'rev-list', 'c9edb8f074582130a95a96fa43afd011af5d4a36', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 06:44:02 2024-01-26 06:44:02,471 [execute] INFO git fetch -v origin 06:44:02 2024-01-26 06:44:02,472 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 06:44:03 2024-01-26 06:44:02,956 [run_push] DEBUG no remote changes detected 06:44:03 2024-01-26 06:44:02,957 [execute] INFO git push origin semver 06:44:03 2024-01-26 06:44:02,957 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 06:44:03 2024-01-26 06:44:03,677 [run_push] DEBUG push all version tags 06:44:03 2024-01-26 06:44:03,677 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:44:03 2024-01-26 06:44:03,678 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 06:44:04 2024-01-26 06:44:04,366 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:44:04 3.2.0-dev.9 [Pipeline] } 06:44:04 $ docker exec --env ******** --env ******** 5fdc0e211bfd7345818d580bfcf23d10bd17781d18c602fe1e55706b9fe308fd ssh-agent -k 06:44:04 unset SSH_AUTH_SOCK; 06:44:04 unset SSH_AGENT_PID; 06:44:04 echo Agent pid 38 killed; 06:44:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:44:05 + git semver [Pipeline] } 06:44:05 $ docker stop --time=1 5fdc0e211bfd7345818d580bfcf23d10bd17781d18c602fe1e55706b9fe308fd 06:44:06 $ docker rm -f --volumes 5fdc0e211bfd7345818d580bfcf23d10bd17781d18c602fe1e55706b9fe308fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:44:08 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 06:44:08 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 06:44:08 total 16 06:44:08 drwxr-xr-x 3 root root 4096 Jan 26 06:35 . 06:44:08 drwxrwxr-x 10 jenkins jenkins 4096 Jan 26 06:43 .. 06:44:08 drwxr-xr-x 2 root root 4096 Jan 26 06:35 cost 06:44:08 -rw-r--r-- 1 root root 91 Jan 26 06:35 cost.csv 06:44:08 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 06:44:08 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 06:44:08 total 16 06:44:08 drwxr-xr-x 3 jenkins jenkins 4096 Jan 26 06:35 . 06:44:08 drwxrwxr-x 10 jenkins jenkins 4096 Jan 26 06:43 .. 06:44:08 drwxr-xr-x 2 jenkins jenkins 4096 Jan 26 06:35 cost 06:44:08 -rw-r--r-- 1 jenkins jenkins 91 Jan 26 06:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:44:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:44:09 ---> package-listing.sh 06:44:09 ++ facter osfamily 06:44:09 ++ tr '[:upper:]' '[:lower:]' 06:44:09 + OS_FAMILY=debian 06:44:09 + workspace=/w/workspace/foundry_device-onvif-camera_main 06:44:09 + START_PACKAGES=/tmp/packages_start.txt 06:44:09 + END_PACKAGES=/tmp/packages_end.txt 06:44:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:44:09 + PACKAGES=/tmp/packages_start.txt 06:44:09 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 06:44:09 + PACKAGES=/tmp/packages_end.txt 06:44:09 + case "${OS_FAMILY}" in 06:44:09 + dpkg -l 06:44:09 + grep '^ii' 06:44:09 + '[' -f /tmp/packages_start.txt ']' 06:44:09 + '[' -f /tmp/packages_end.txt ']' 06:44:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:44:09 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 06:44:09 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 06:44:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 06:44:09 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:44:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:44:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:44:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:44:11 prd-ubuntu20.04-docker-8c-8g-27976 does not seem to be running inside a container 06:44:11 $ 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_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 06:44:11 $ docker top 58197e9c112e70eed4a8447211c3c05ef7a35cf7eff287f3f75eaf3cb120594e -eo pid,comm [Pipeline] { [Pipeline] sh 06:44:11 + touch /tmp/pre-build-complete [Pipeline] sh 06:44:12 + mkdir -p /var/log/sysstat [Pipeline] sh 06:44:12 + ls /var/log/sa-host 06:44:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:44:12 provisioning config files... 06:44:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9162484824066680287tmp [Pipeline] { [Pipeline] echo 06:44:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:44:12 ---> create-netrc.sh [Pipeline] } 06:44:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:44:13 ---> python-tools-install.sh [Pipeline] echo 06:44:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:44:13 ---> sudo-logs.sh 06:44:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:44:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:44:14 ---> job-cost.sh 06:44:14 lf-activate-venv: SKIPPING 06:44:14 DEBUG: total: 0.2199999988079071 06:44:14 INFO: Retrieving Stack Cost... 06:44:14 INFO: Retrieving Pricing Info for: v3-standard-8 06:44:14 INFO: Archiving Costs [Pipeline] echo 06:44:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:44:15 ---> logs-deploy.sh 06:44:15 lf-activate-venv: SKIPPING 06:44:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/193 06:44:15 INFO: archiving workspace using pattern(s): 06:44:15 Archives upload complete. 06:44:15 INFO: archiving logs to Nexus