Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 06d0f2addced559a6b629125c025b062c3ce01e9 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-ssh15322165891826834474.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh2899032632200495289.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh15472183238150322498.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh2456891355530324112.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-ssh15151934081180672180.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/v2]] ========================================================= [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.18 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/v2 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24282 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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 06d0f2addced559a6b629125c025b062c3ce01e9 (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 06d0f2addced559a6b629125c025b062c3ce01e9 # timeout=10 Commit message: "test: unit test additions (#149)" > git rev-list --no-walk dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:54:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:54:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:54:46 ========================================================= 03:54:46 EdgeX Global Pipelines Version Info 03:54:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:54:47 ------------------- 03:54:47 stable info: 03:54:47 ------------------- 03:54:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:54:47 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 03:54:47 Message: update stable to v1.0.239 03:54:47 ------------------- 03:54:47 experimental info: 03:54:47 ------------------- 03:54:47 Commited By: **** collab-it+edgex@linuxfoundation.org 03:54:47 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 03:54:47 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 06d0f2addced559a6b629125c025b062c3ce01e9 [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 06d0f2a [Pipeline] echo 03:54:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:54:48 provisioning config files... 03:54:48 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7523613585074212613tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:54:48 ---> docker-login.sh 03:54:48 nexus3.edgexfoundry.org:10001 03:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:49 Configure a credential helper to remove this warning. See 03:54:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:49 03:54:49 Login Succeeded 03:54:49 nexus3.edgexfoundry.org:10002 03:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:49 Configure a credential helper to remove this warning. See 03:54:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:49 03:54:49 Login Succeeded 03:54:49 nexus3.edgexfoundry.org:10003 03:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:49 Configure a credential helper to remove this warning. See 03:54:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:49 03:54:49 Login Succeeded 03:54:49 nexus3.edgexfoundry.org:10004 03:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:49 Configure a credential helper to remove this warning. See 03:54:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:49 03:54:49 Login Succeeded 03:54:49 docker.io 03:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:50 Configure a credential helper to remove this warning. See 03:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:50 03:54:50 Login Succeeded 03:54:50 ---> docker-login.sh ends [Pipeline] } 03:54:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:54:50 + git rev-list -1 --merges 06d0f2addced559a6b629125c025b062c3ce01e9~1..06d0f2addced559a6b629125c025b062c3ce01e9 [Pipeline] echo 03:54:50 -----------> git rev-list -1 --merges 06d0f2addced559a6b629125c025b062c3ce01e9~1..06d0f2addced559a6b629125c025b062c3ce01e9 06d0f2addced559a6b629125c025b062c3ce01e9 [false] [Pipeline] sh 03:54:50 + git log --format=format:%s -1 06d0f2addced559a6b629125c025b062c3ce01e9 [Pipeline] echo 03:54:50 ========================================================= 03:54:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:54:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:54:51 + git log --format=format:%s -1 06d0f2addced559a6b629125c025b062c3ce01e9 [Pipeline] echo 03:54:51 [semverPrep] GIT_COMMIT: 06d0f2addced559a6b629125c025b062c3ce01e9, Commit Message: test: unit test additions (#149) [Pipeline] echo 03:54:51 [semverPrep] This is not a build commit. [Pipeline] sh 03:54:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:54:51 + grep -v github /etc/ssh/ssh_known_hosts 03:54:51 + [ -e /tmp/ssh_known_hosts ] 03:54:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:54:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:54:51 + sudo tee -a /etc/ssh/ssh_known_hosts 03:54:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:54:52 03:54:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:54:52 0.1.4: Pulling from edgex-devops/py-git-semver 03:54:52 b85a868b505f: Pulling fs layer 03:54:52 e2be974225ed: Pulling fs layer 03:54:52 339a4e72a1f5: Pulling fs layer 03:54:52 988bab9f4d93: Pulling fs layer 03:54:52 1469e6f7b9e6: Pulling fs layer 03:54:52 eaf3925da568: Pulling fs layer 03:54:52 1469e6f7b9e6: Waiting 03:54:52 bab4dde63d76: Pulling fs layer 03:54:52 988bab9f4d93: Waiting 03:54:52 bab4dde63d76: Waiting 03:54:52 bde34c3a00c8: Pulling fs layer 03:54:52 b352a97aabf1: Pulling fs layer 03:54:52 4872d77fe225: Pulling fs layer 03:54:52 5851b861e8e6: Pulling fs layer 03:54:52 b352a97aabf1: Waiting 03:54:52 5851b861e8e6: Waiting 03:54:52 e2be974225ed: Verifying Checksum 03:54:52 e2be974225ed: Download complete 03:54:52 988bab9f4d93: Verifying Checksum 03:54:52 988bab9f4d93: Download complete 03:54:52 1469e6f7b9e6: Verifying Checksum 03:54:52 1469e6f7b9e6: Download complete 03:54:52 339a4e72a1f5: Verifying Checksum 03:54:52 339a4e72a1f5: Download complete 03:54:52 eaf3925da568: Download complete 03:54:52 bde34c3a00c8: Verifying Checksum 03:54:52 bde34c3a00c8: Download complete 03:54:52 b352a97aabf1: Verifying Checksum 03:54:52 b352a97aabf1: Download complete 03:54:52 4872d77fe225: Download complete 03:54:52 5851b861e8e6: Verifying Checksum 03:54:52 5851b861e8e6: Download complete 03:54:52 b85a868b505f: Verifying Checksum 03:54:52 b85a868b505f: Download complete 03:54:53 bab4dde63d76: Verifying Checksum 03:54:53 bab4dde63d76: Download complete 03:54:54 b85a868b505f: Pull complete 03:54:54 e2be974225ed: Pull complete 03:54:54 339a4e72a1f5: Pull complete 03:54:54 988bab9f4d93: Pull complete 03:54:55 1469e6f7b9e6: Pull complete 03:54:55 eaf3925da568: Pull complete 03:54:57 bab4dde63d76: Pull complete 03:54:57 bde34c3a00c8: Pull complete 03:54:57 b352a97aabf1: Pull complete 03:54:57 4872d77fe225: Pull complete 03:54:57 5851b861e8e6: Pull complete 03:54:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:54:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:54:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:54:57 prd-ubuntu20.04-docker-8c-8g-24282 does not seem to be running inside a container 03:54:57 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:55:01 $ docker top df5984cf19e4cd30286a615f86836e25cd85f948a3abb16faa5a314de34174d5 -eo pid,comm 03:55:01 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). 03:55:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:55:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:55:01 [ssh-agent] Looking for ssh-agent implementation... 03:55:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:55:01 $ docker exec df5984cf19e4cd30286a615f86836e25cd85f948a3abb16faa5a314de34174d5 ssh-agent 03:55:01 SSH_AUTH_SOCK=/tmp/ssh-Lhm5qfc00i81/agent.32 03:55:01 SSH_AGENT_PID=40 03:55:01 Running ssh-add (command line suppressed) 03:55:02 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3987302849108209563.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3987302849108209563.key) 03:55:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:55:02 + git tag --points-at HEAD [Pipeline] } 03:55:02 $ docker exec --env ******** --env ******** df5984cf19e4cd30286a615f86836e25cd85f948a3abb16faa5a314de34174d5 ssh-agent -k 03:55:02 unset SSH_AUTH_SOCK; 03:55:02 unset SSH_AGENT_PID; 03:55:02 echo Agent pid 40 killed; 03:55:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:55:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:55:02 [ssh-agent] Looking for ssh-agent implementation... 03:55:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:55:02 $ docker exec df5984cf19e4cd30286a615f86836e25cd85f948a3abb16faa5a314de34174d5 ssh-agent 03:55:02 SSH_AUTH_SOCK=/tmp/ssh-6h1637FFGj2u/agent.74 03:55:02 SSH_AGENT_PID=81 03:55:02 Running ssh-add (command line suppressed) 03:55:02 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8528845226888900892.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8528845226888900892.key) 03:55:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:55:03 + git semver init 03:55:03 2022-09-01 03:55:03,441 [run_init] DEBUG init version:0.0.0 force:False 03:55:03 2022-09-01 03:55:03,442 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 03:55:03 2022-09-01 03:55:03,442 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 03:55:03 2022-09-01 03:55:03,442 [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) 03:55:04 2022-09-01 03:55:04,377 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 03:55:04 2022-09-01 03:55:04,377 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 03:55:04 2022-09-01 03:55:04,378 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:55:04 2022-09-01 03:55:04,378 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:55:04 2.3.0-dev.14 [Pipeline] } 03:55:04 $ docker exec --env ******** --env ******** df5984cf19e4cd30286a615f86836e25cd85f948a3abb16faa5a314de34174d5 ssh-agent -k 03:55:04 unset SSH_AUTH_SOCK; 03:55:04 unset SSH_AGENT_PID; 03:55:04 echo Agent pid 81 killed; 03:55:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:55:04 + git semver [Pipeline] } 03:55:05 $ docker stop --time=1 df5984cf19e4cd30286a615f86836e25cd85f948a3abb16faa5a314de34174d5 03:55:06 $ docker rm -f df5984cf19e4cd30286a615f86836e25cd85f948a3abb16faa5a314de34174d5 [Pipeline] // withDockerContainer [Pipeline] sh 03:55:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:55:07 Stashed 1 file(s) [Pipeline] echo 03:55:07 [edgeXSemver]: initialized semver on version 2.3.0-dev.14 [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 03:55:07 provisioning config files... 03:55:07 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1721604322698397262tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:55:07 ---> docker-login.sh 03:55:07 nexus3.edgexfoundry.org:10001 03:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:07 Configure a credential helper to remove this warning. See 03:55:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:07 03:55:07 Login Succeeded 03:55:07 nexus3.edgexfoundry.org:10002 03:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:07 Configure a credential helper to remove this warning. See 03:55:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:07 03:55:07 Login Succeeded 03:55:07 nexus3.edgexfoundry.org:10003 03:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:07 Configure a credential helper to remove this warning. See 03:55:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:07 03:55:07 Login Succeeded 03:55:07 nexus3.edgexfoundry.org:10004 03:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:08 Configure a credential helper to remove this warning. See 03:55:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:08 03:55:08 Login Succeeded 03:55:08 docker.io 03:55:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:08 Configure a credential helper to remove this warning. See 03:55:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:08 03:55:08 Login Succeeded 03:55:08 ---> docker-login.sh ends [Pipeline] } 03:55:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:55:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:55:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:55:08 ========================================================= 03:55:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 03:55:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:08 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 03:55:08 Sending build context to Docker daemon 20.61MB 03:55:08 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 03:55:08 Step 2/13 : FROM ${BASE} AS builder 03:55:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 03:55:08 2408cc74d12b: Pulling fs layer 03:55:08 ea60b727a1ce: Pulling fs layer 03:55:08 30c4a7721957: Pulling fs layer 03:55:08 370296b7ddb6: Pulling fs layer 03:55:08 7c6cee850709: Pulling fs layer 03:55:08 39a5fcdaea64: Pulling fs layer 03:55:08 d94ebbe4e438: Pulling fs layer 03:55:08 bcfd1f05c69d: Pulling fs layer 03:55:08 59ccb84bbe0f: Pulling fs layer 03:55:08 7c6cee850709: Waiting 03:55:08 39a5fcdaea64: Waiting 03:55:08 d94ebbe4e438: Waiting 03:55:08 bcfd1f05c69d: Waiting 03:55:08 59ccb84bbe0f: Waiting 03:55:08 370296b7ddb6: Waiting 03:55:08 30c4a7721957: Download complete 03:55:08 ea60b727a1ce: Verifying Checksum 03:55:08 ea60b727a1ce: Download complete 03:55:08 7c6cee850709: Verifying Checksum 03:55:08 7c6cee850709: Download complete 03:55:08 39a5fcdaea64: Verifying Checksum 03:55:08 39a5fcdaea64: Download complete 03:55:08 2408cc74d12b: Verifying Checksum 03:55:08 d94ebbe4e438: Download complete 03:55:09 2408cc74d12b: Pull complete 03:55:09 ea60b727a1ce: Pull complete 03:55:09 30c4a7721957: Pull complete 03:55:09 59ccb84bbe0f: Verifying Checksum 03:55:09 59ccb84bbe0f: Download complete 03:55:09 bcfd1f05c69d: Verifying Checksum 03:55:09 bcfd1f05c69d: Download complete 03:55:09 370296b7ddb6: Verifying Checksum 03:55:09 370296b7ddb6: Download complete 03:55:13 370296b7ddb6: Pull complete 03:55:13 7c6cee850709: Pull complete 03:55:13 39a5fcdaea64: Pull complete 03:55:13 d94ebbe4e438: Pull complete 03:55:15 bcfd1f05c69d: Pull complete 03:55:16 59ccb84bbe0f: Pull complete 03:55:16 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 03:55:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 03:55:16 ---> a4fb48ad2a94 03:55:16 Step 3/13 : ARG MAKE="make build" 03:55:22 Still waiting to schedule task 03:55:22 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:55:22 ---> Running in fedba8668866 03:55:22 Removing intermediate container fedba8668866 03:55:22 ---> d11941c91bbe 03:55:22 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:55:22 ---> Running in 87cc9bfaad0a 03:55:22 Removing intermediate container 87cc9bfaad0a 03:55:22 ---> 4deb6e4324dd 03:55:22 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 03:55:22 ---> Running in 3c1916cc2747 03:55:22 Removing intermediate container 3c1916cc2747 03:55:22 ---> 9726c2700f3e 03:55:22 Step 6/13 : LABEL Name=edgex-device-onvif-camera 03:55:22 ---> Running in 1681d9db7553 03:55:22 Removing intermediate container 1681d9db7553 03:55:22 ---> 5dfd3c1cd874 03:55:22 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:55:22 ---> Running in a99302cead67 03:55:22 Removing intermediate container a99302cead67 03:55:22 ---> 78a236dd56c6 03:55:22 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:55:22 ---> Running in 01fad77712ae 03:55:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:55:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:55:24 OK: 211 MiB in 51 packages 03:55:24 Removing intermediate container 01fad77712ae 03:55:24 ---> 6fb426e89177 03:55:24 Step 9/13 : WORKDIR /device-onvif-camera 03:55:24 ---> Running in 35f87e8827d8 03:55:24 Removing intermediate container 35f87e8827d8 03:55:24 ---> 6764a24beb7a 03:55:24 Step 10/13 : COPY go.mod vendor* ./ 03:55:25 ---> 4e78cab5f54b 03:55:25 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:55:25 ---> Running in 4dbee8631cae 03:55:57 Removing intermediate container 4dbee8631cae 03:55:57 ---> 09aa043034a8 03:55:57 Step 12/13 : COPY . . 03:55:57 ---> 1abb0ec62ec7 03:55:57 Step 13/13 : RUN ${MAKE} 03:55:57 ---> Running in f9773dedd461 03:55:57 noop 03:55:57 Removing intermediate container f9773dedd461 03:55:57 ---> 0243b0b51d4a 03:55:57 Successfully built 0243b0b51d4a 03:55:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:57 + docker inspect -f . ci-base-image-x86_64 03:55:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:55:57 prd-ubuntu20.04-docker-8c-8g-24282 does not seem to be running inside a container 03:55:57 $ 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 ******** ci-base-image-x86_64 cat 03:55:58 $ docker top ae3dc34b3f3987ef17a8b8d9b133d5a245f6a74f51f589aa603c0977bf434942 -eo pid,comm [Pipeline] { [Pipeline] sh 03:55:58 + go version 03:55:58 go version go1.18.3 linux/amd64 [Pipeline] } 03:55:58 $ docker stop --time=1 ae3dc34b3f3987ef17a8b8d9b133d5a245f6a74f51f589aa603c0977bf434942 03:55:59 $ docker rm -f ae3dc34b3f3987ef17a8b8d9b133d5a245f6a74f51f589aa603c0977bf434942 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:00 + docker inspect -f . ci-base-image-x86_64 03:56:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:56:00 prd-ubuntu20.04-docker-8c-8g-24282 does not seem to be running inside a container 03:56:00 $ 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 ******** ci-base-image-x86_64 cat 03:56:00 $ docker top d92ac2880d08551c821a34f1bbf2644f4ee9d626075d02a19a18a9fea799892e -eo pid,comm [Pipeline] { [Pipeline] sh 03:56:01 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 03:56:01 + make test 03:56:01 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:56:01 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:56:11 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:56:12 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.035s coverage: 28.6% of statements 03:56:12 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:56:16 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.470s coverage: 13.8% of statements 03:56:24 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 03:56:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:56:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:56:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:56:27 ./bin/test-attribution-txt.sh [Pipeline] echo 03:56:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:56:27 $ docker stop --time=1 d92ac2880d08551c821a34f1bbf2644f4ee9d626075d02a19a18a9fea799892e 03:56:30 $ docker rm -f d92ac2880d08551c821a34f1bbf2644f4ee9d626075d02a19a18a9fea799892e [Pipeline] // withDockerContainer [Pipeline] sh 03:56:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:56:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:56:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:56:31 + ls -al . 03:56:31 total 232 03:56:31 drwxrwxr-x 10 jenkins jenkins 4096 Sep 1 03:56 . 03:56:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 03:54 .. 03:56:31 drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 03:56 .git 03:56:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 03:54 .github 03:56:31 -rw-rw-r-- 1 jenkins jenkins 418 Sep 1 03:54 .gitignore 03:56:31 -rw-rw-r-- 1 jenkins jenkins 42 Sep 1 03:54 .golangci.yml 03:56:31 drwxr-xr-x 3 jenkins jenkins 4096 Sep 1 03:55 .semver 03:56:31 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 1 03:54 Attribution.txt 03:56:31 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 1 03:54 CHANGELOG.md 03:56:31 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 1 03:54 Dockerfile 03:56:31 -rw-rw-r-- 1 jenkins jenkins 677 Sep 1 03:54 GOVERNANCE.md 03:56:31 -rw-rw-r-- 1 jenkins jenkins 734 Sep 1 03:54 Jenkinsfile 03:56:31 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 1 03:54 LICENSE 03:56:31 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 1 03:54 Makefile 03:56:31 -rw-rw-r-- 1 jenkins jenkins 625 Sep 1 03:54 OWNERS.md 03:56:31 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 1 03:54 README.md 03:56:31 -rw-rw-r-- 1 jenkins jenkins 12 Sep 1 03:55 VERSION 03:56:31 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 03:54 bin 03:56:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 03:54 cmd 03:56:31 -rw-r--r-- 1 jenkins jenkins 77457 Sep 1 03:56 coverage.out 03:56:31 drwxrwxr-x 6 jenkins jenkins 4096 Sep 1 03:54 doc 03:56:31 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 1 03:54 go.mod 03:56:31 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 1 03:54 go.sum 03:56:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 03:54 internal 03:56:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 03:54 snap 03:56:31 -rw-rw-r-- 1 jenkins jenkins 236 Sep 1 03:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:32 + 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=06d0f2addced559a6b629125c025b062c3ce01e9 --label arch=amd64 --label version=2.3.0-dev.14 . 03:56:32 Sending build context to Docker daemon 20.69MB 03:56:32 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 03:56:32 Step 2/26 : FROM ${BASE} AS builder 03:56:32 ---> 0243b0b51d4a 03:56:32 Step 3/26 : ARG MAKE="make build" 03:56:32 ---> Running in 160f4611688b 03:56:32 Removing intermediate container 160f4611688b 03:56:32 ---> 570015389b06 03:56:32 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:56:32 ---> Running in 035dfedd9f58 03:56:32 Removing intermediate container 035dfedd9f58 03:56:32 ---> 0c417a3a87b8 03:56:32 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 03:56:32 ---> Running in ad415f175760 03:56:33 Removing intermediate container ad415f175760 03:56:33 ---> df69356c135a 03:56:33 Step 6/26 : LABEL Name=edgex-device-onvif-camera 03:56:33 ---> Running in 45eaa10c0844 03:56:33 Removing intermediate container 45eaa10c0844 03:56:33 ---> 59f15feb7939 03:56:33 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:56:33 ---> Running in 60e07c25457b 03:56:34 Removing intermediate container 60e07c25457b 03:56:34 ---> 07ba996300e4 03:56:34 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:56:34 ---> Running in 9022fcc2ae89 03:56:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:56:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:56:35 OK: 211 MiB in 51 packages 03:56:36 Removing intermediate container 9022fcc2ae89 03:56:36 ---> c7aced0ed4d7 03:56:36 Step 9/26 : WORKDIR /device-onvif-camera 03:56:36 ---> Running in 741dbf241ce4 03:56:36 Removing intermediate container 741dbf241ce4 03:56:36 ---> 977776e6419c 03:56:36 Step 10/26 : COPY go.mod vendor* ./ 03:56:36 ---> dcf3de4be4cd 03:56:36 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:56:36 ---> Running in b84784c00705 03:56:36 Removing intermediate container b84784c00705 03:56:36 ---> 800b8b636f24 03:56:36 Step 12/26 : COPY . . 03:56:38 ---> ca52c7564b92 03:56:38 Step 13/26 : RUN ${MAKE} 03:56:38 ---> Running in bc94f94bd03c 03:56:38 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 03:56:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24283 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 03:56:56 Running in /w/workspace/device-onvif-camera/53 [Pipeline] { [Pipeline] checkout 03:56:56 Selected Git installation does not exist. Using Default 03:56:56 The recommended git tool is: NONE 03:57:03 using credential edgex-jenkins-ssh 03:57:03 Cloning the remote Git repository 03:57:03 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:57:04 > git init /w/workspace/device-onvif-camera/53 # timeout=10 03:57:04 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:57:04 > git --version # timeout=10 03:57:04 > git --version # 'git version 2.25.1' 03:57:04 using GIT_SSH to set credentials SSH Credentials for GitHub 03:57:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:57:04 Removing intermediate container bc94f94bd03c 03:57:04 ---> 7266ca16c0c9 03:57:04 Step 14/26 : FROM alpine:3.16 03:57:04 3.16: Pulling from library/alpine 03:57:04 213ec9aee27d: Pulling fs layer 03:57:04 213ec9aee27d: Verifying Checksum 03:57:04 213ec9aee27d: Download complete 03:57:04 213ec9aee27d: Pull complete 03:57:04 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 03:57:04 Status: Downloaded newer image for alpine:3.16 03:57:04 ---> 9c6f07244728 03:57:04 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:57:04 ---> Running in 80cb55c6bc17 03:57:04 Removing intermediate container 80cb55c6bc17 03:57:04 ---> 95d819984315 03:57:04 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 03:57:04 ---> Running in befc5b350618 03:57:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:57:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:57:05 (1/6) Installing dumb-init (1.2.5-r1) 03:57:05 (2/6) Installing libgcc (11.2.1_git20220219-r2) 03:57:05 (3/6) Installing libsodium (1.0.18-r0) 03:57:05 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 03:57:05 (5/6) Installing libzmq (4.3.4-r0) 03:57:05 (6/6) Installing zeromq (4.3.4-r0) 03:57:05 Executing busybox-1.35.0-r17.trigger 03:57:05 OK: 8 MiB in 20 packages 03:57:05 Avoid second fetch 03:57:05 Checking out Revision 06d0f2addced559a6b629125c025b062c3ce01e9 (main) 03:57:05 Removing intermediate container befc5b350618 03:57:05 ---> 55c34fb4a738 03:57:05 Step 17/26 : WORKDIR / 03:57:05 ---> Running in 697a38ea223a 03:57:05 Removing intermediate container 697a38ea223a 03:57:05 ---> 85290d6b22ab 03:57:05 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 03:57:05 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:57:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:57:05 > git config core.sparsecheckout # timeout=10 03:57:05 > git checkout -f 06d0f2addced559a6b629125c025b062c3ce01e9 # timeout=10 03:57:06 ---> 4fa3dca1ea47 03:57:06 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 03:57:06 ---> ea7e8a6e9125 03:57:06 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:57:07 ---> a2ca135a7a1e 03:57:07 Step 21/26 : EXPOSE 59984 03:57:07 ---> Running in 72ed47ceffc6 03:57:07 Removing intermediate container 72ed47ceffc6 03:57:07 ---> 35aab2d7e59e 03:57:07 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 03:57:07 ---> Running in 344bb65f3c19 03:57:07 Removing intermediate container 344bb65f3c19 03:57:07 ---> b032c5d9e82e 03:57:07 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:57:07 ---> Running in dc9f6d8c4019 03:57:07 Removing intermediate container dc9f6d8c4019 03:57:07 ---> 1928f28cceb3 03:57:07 Step 24/26 : LABEL arch=amd64 03:57:07 ---> Running in 454113dd5f10 03:57:07 Removing intermediate container 454113dd5f10 03:57:07 ---> 0b433655e04e 03:57:07 Step 25/26 : LABEL git_sha=06d0f2addced559a6b629125c025b062c3ce01e9 03:57:07 ---> Running in 8c7bd22565f4 03:57:07 Removing intermediate container 8c7bd22565f4 03:57:07 ---> 949db38b9b94 03:57:07 Step 26/26 : LABEL version=2.3.0-dev.14 03:57:07 ---> Running in 7d34e5eec7cc 03:57:07 Removing intermediate container 7d34e5eec7cc 03:57:07 ---> 1a033cddae6f 03:57:07 [Warning] One or more build-args [ARCH] were not consumed 03:57:07 Successfully built 1a033cddae6f 03:57:07 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 03:57:07 provisioning config files... 03:57:07 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7886418569075961844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:57:08 ---> docker-login.sh 03:57:08 nexus3.edgexfoundry.org:10001 03:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:08 Configure a credential helper to remove this warning. See 03:57:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:08 03:57:08 Login Succeeded 03:57:08 nexus3.edgexfoundry.org:10002 03:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:08 Configure a credential helper to remove this warning. See 03:57:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:08 03:57:08 Login Succeeded 03:57:08 nexus3.edgexfoundry.org:10003 03:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:08 Configure a credential helper to remove this warning. See 03:57:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:08 03:57:08 Login Succeeded 03:57:08 nexus3.edgexfoundry.org:10004 03:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:08 Configure a credential helper to remove this warning. See 03:57:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:08 03:57:08 Login Succeeded 03:57:08 docker.io 03:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:08 Configure a credential helper to remove this warning. See 03:57:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:08 03:57:08 Login Succeeded 03:57:08 ---> docker-login.sh ends [Pipeline] } 03:57:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:57:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:57:08 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 03:57:08 06d0f2addced559a6b629125c025b062c3ce01e9 03:57:08 latest 03:57:08 2.3.0-dev.14 03:57:08 06d0f2addced559a6b629125c025b062c3ce01e9-2.3.0-dev.14 03:57:08 main 03:57:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:09 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:06d0f2addced559a6b629125c025b062c3ce01e9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:09 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:06d0f2addced559a6b629125c025b062c3ce01e9 03:57:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 03:57:09 91aed76da825: Preparing 03:57:09 1cabc47bc6ff: Preparing 03:57:09 ee2712a2c374: Preparing 03:57:09 0268ab870136: Preparing 03:57:09 994393dc58e7: Preparing 03:57:09 994393dc58e7: Layer already exists 03:57:09 1cabc47bc6ff: Pushed 03:57:09 91aed76da825: Pushed 03:57:09 0268ab870136: Pushed 03:57:10 Commit message: "test: unit test additions (#149)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:57:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:57:11 % Total % Received % Xferd Average Speed Time Time Time Current 03:57:11 Dload Upload Total Spent Left Speed 03:57:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 03:57:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:57:12 + sudo tee /etc/docker/daemon.new 03:57:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:57:12 { 03:57:12 "registry-mirrors": [ 03:57:12 "https://nexus3.edgexfoundry.org:10001" 03:57:12 ], 03:57:12 "bip": "10.250.0.254/24", 03:57:12 "hosts": [ 03:57:12 "tcp://0.0.0.0:5555", 03:57:12 "unix:///var/run/docker.sock" 03:57:12 ], 03:57:12 "mtu": 1458, 03:57:12 "selinux-enabled": true, 03:57:12 "seccomp-profile": "/etc/docker/seccomp.json" 03:57:12 } [Pipeline] sh 03:57:12 ee2712a2c374: Pushed 03:57:12 06d0f2addced559a6b629125c025b062c3ce01e9: digest: sha256:194de0036d2d254ce493c7b06c38d51ef10b701ea38b2ae2d227e22e4c0ec838 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:57:12 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:12 + sudo service docker restart 03:57:12 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 03:57:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 03:57:12 91aed76da825: Preparing 03:57:12 1cabc47bc6ff: Preparing 03:57:12 ee2712a2c374: Preparing 03:57:12 0268ab870136: Preparing 03:57:12 994393dc58e7: Preparing 03:57:12 ee2712a2c374: Layer already exists 03:57:12 1cabc47bc6ff: Layer already exists 03:57:12 91aed76da825: Layer already exists 03:57:12 0268ab870136: Layer already exists 03:57:12 994393dc58e7: Layer already exists 03:57:12 latest: digest: sha256:194de0036d2d254ce493c7b06c38d51ef10b701ea38b2ae2d227e22e4c0ec838 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:13 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:13 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.14 03:57:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 03:57:13 91aed76da825: Preparing 03:57:13 1cabc47bc6ff: Preparing 03:57:13 ee2712a2c374: Preparing 03:57:13 0268ab870136: Preparing 03:57:13 994393dc58e7: Preparing 03:57:13 91aed76da825: Layer already exists 03:57:13 ee2712a2c374: Layer already exists 03:57:13 0268ab870136: Layer already exists 03:57:13 1cabc47bc6ff: Layer already exists 03:57:13 994393dc58e7: Layer already exists 03:57:13 2.3.0-dev.14: digest: sha256:194de0036d2d254ce493c7b06c38d51ef10b701ea38b2ae2d227e22e4c0ec838 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:13 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:06d0f2addced559a6b629125c025b062c3ce01e9-2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:06d0f2addced559a6b629125c025b062c3ce01e9-2.3.0-dev.14 03:57:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 03:57:14 91aed76da825: Preparing 03:57:14 1cabc47bc6ff: Preparing 03:57:14 ee2712a2c374: Preparing 03:57:14 0268ab870136: Preparing 03:57:14 994393dc58e7: Preparing 03:57:14 0268ab870136: Layer already exists 03:57:14 1cabc47bc6ff: Layer already exists 03:57:14 994393dc58e7: Layer already exists 03:57:14 ee2712a2c374: Layer already exists 03:57:14 91aed76da825: Layer already exists 03:57:14 06d0f2addced559a6b629125c025b062c3ce01e9-2.3.0-dev.14: digest: sha256:194de0036d2d254ce493c7b06c38d51ef10b701ea38b2ae2d227e22e4c0ec838 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:14 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 03:57:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 03:57:14 91aed76da825: Preparing 03:57:14 1cabc47bc6ff: Preparing 03:57:14 ee2712a2c374: Preparing 03:57:14 0268ab870136: Preparing 03:57:14 994393dc58e7: Preparing 03:57:14 91aed76da825: Layer already exists 03:57:14 1cabc47bc6ff: Layer already exists 03:57:14 994393dc58e7: Layer already exists 03:57:14 ee2712a2c374: Layer already exists 03:57:14 0268ab870136: Layer already exists 03:57:14 main: digest: sha256:194de0036d2d254ce493c7b06c38d51ef10b701ea38b2ae2d227e22e4c0ec838 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:57:14 ===================================================== [Pipeline] echo 03:57:14 taggedImages: 03:57:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera:06d0f2addced559a6b629125c025b062c3ce01e9 03:57:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 03:57:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.14 03:57:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera:06d0f2addced559a6b629125c025b062c3ce01e9-2.3.0-dev.14 03:57:14 - 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 03:57:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:57:15 03:57:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:57:15 latest: Pulling from edgex-lftools-log-publisher 03:57:15 5eb5b503b376: Pulling fs layer 03:57:15 5c69ac0246d0: Pulling fs layer 03:57:15 ec43610c2a17: Pulling fs layer 03:57:15 3a2ae6a8a46f: Pulling fs layer 03:57:15 33b1e0a273af: Pulling fs layer 03:57:15 3a2ae6a8a46f: Waiting 03:57:15 5d3b04190fa2: Pulling fs layer 03:57:15 2f39f015ded8: Pulling fs layer 03:57:15 5d3b04190fa2: Waiting 03:57:15 33b1e0a273af: Waiting 03:57:15 2f39f015ded8: Waiting 03:57:15 5c69ac0246d0: Download complete 03:57:15 3a2ae6a8a46f: Verifying Checksum 03:57:15 3a2ae6a8a46f: Download complete 03:57:15 33b1e0a273af: Verifying Checksum 03:57:15 33b1e0a273af: Download complete 03:57:15 ec43610c2a17: Verifying Checksum 03:57:15 ec43610c2a17: Download complete 03:57:15 5d3b04190fa2: Verifying Checksum 03:57:15 5d3b04190fa2: Download complete 03:57:15 5eb5b503b376: Verifying Checksum 03:57:15 5eb5b503b376: Download complete 03:57:16 2f39f015ded8: Download complete 03:57:17 5eb5b503b376: Pull complete 03:57:17 5c69ac0246d0: Pull complete 03:57:17 ec43610c2a17: Pull complete 03:57:17 3a2ae6a8a46f: Pull complete 03:57:17 33b1e0a273af: Pull complete 03:57:18 5d3b04190fa2: Pull complete 03:57:22 2f39f015ded8: Pull complete 03:57:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:57:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:57:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:57:22 prd-ubuntu20.04-docker-8c-8g-24282 does not seem to be running inside a container 03:57:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 03:57:27 $ docker top ebf05eaa4f2e9bea152dc1757a0616be5a98249830a926e7e70b1bbf010dd80a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:57:27 ---> job-cost.sh 03:57:27 lf-activate-venv: SKIPPING 03:57:27 INFO: No Stack... 03:57:27 INFO: Retrieving Pricing Info for: v3-standard-8 03:57:28 INFO: Archiving Costs [Pipeline] sh 03:57:28 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 03:57:28 + cut -d, -f6 [Pipeline] lock 03:57:28 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-53-stack-cost] 03:57:28 Resource [jenkins-edgexfoundry-device-onvif-camera-main-53-stack-cost] did not exist. Created. 03:57:28 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:57:29 + echo total: 0.2199999988079071 [Pipeline] stash 03:57:29 Stashed 1 file(s) [Pipeline] } 03:57:29 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-53-stack-cost] [Pipeline] // lock [Pipeline] } 03:57:29 $ docker stop --time=1 ebf05eaa4f2e9bea152dc1757a0616be5a98249830a926e7e70b1bbf010dd80a 03:57:30 $ docker rm -f ebf05eaa4f2e9bea152dc1757a0616be5a98249830a926e7e70b1bbf010dd80a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:57:31 provisioning config files... 03:57:31 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/53@tmp/config3423708558899263776tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:57:31 ---> docker-login.sh 03:57:31 nexus3.edgexfoundry.org:10001 03:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:32 Configure a credential helper to remove this warning. See 03:57:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:32 03:57:32 Login Succeeded 03:57:32 nexus3.edgexfoundry.org:10002 03:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:32 Configure a credential helper to remove this warning. See 03:57:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:32 03:57:32 Login Succeeded 03:57:32 nexus3.edgexfoundry.org:10003 03:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:33 Configure a credential helper to remove this warning. See 03:57:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:33 03:57:33 Login Succeeded 03:57:33 nexus3.edgexfoundry.org:10004 03:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:33 Configure a credential helper to remove this warning. See 03:57:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:33 03:57:33 Login Succeeded 03:57:33 docker.io 03:57:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:34 Configure a credential helper to remove this warning. See 03:57:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:34 03:57:34 Login Succeeded 03:57:34 ---> docker-login.sh ends [Pipeline] } 03:57:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:57:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:57:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:57:34 ========================================================= 03:57:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 03:57:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:35 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 03:57:35 Sending build context to Docker daemon 14.11MB 03:57:35 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 03:57:35 Step 2/13 : FROM ${BASE} AS builder 03:57:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:57:35 b3c136eddcbf: Pulling fs layer 03:57:35 c0a3192eca97: Pulling fs layer 03:57:35 a050256f5b6f: Pulling fs layer 03:57:35 656be50a0ddc: Pulling fs layer 03:57:35 2bbca73fdf42: Pulling fs layer 03:57:35 46d945488cbd: Pulling fs layer 03:57:35 8a5474983e97: Pulling fs layer 03:57:35 329c88fbcd65: Pulling fs layer 03:57:35 656be50a0ddc: Waiting 03:57:35 2bbca73fdf42: Waiting 03:57:35 46d945488cbd: Waiting 03:57:35 8a5474983e97: Waiting 03:57:35 329c88fbcd65: Waiting 03:57:35 a050256f5b6f: Verifying Checksum 03:57:35 a050256f5b6f: Download complete 03:57:35 c0a3192eca97: Verifying Checksum 03:57:35 c0a3192eca97: Download complete 03:57:35 2bbca73fdf42: Verifying Checksum 03:57:35 2bbca73fdf42: Download complete 03:57:36 46d945488cbd: Verifying Checksum 03:57:36 46d945488cbd: Download complete 03:57:36 b3c136eddcbf: Verifying Checksum 03:57:36 b3c136eddcbf: Download complete 03:57:37 b3c136eddcbf: Pull complete 03:57:37 329c88fbcd65: Verifying Checksum 03:57:37 329c88fbcd65: Download complete 03:57:37 c0a3192eca97: Pull complete 03:57:38 a050256f5b6f: Pull complete 03:57:38 8a5474983e97: Verifying Checksum 03:57:38 8a5474983e97: Download complete 03:57:39 656be50a0ddc: Verifying Checksum 03:57:39 656be50a0ddc: Download complete 03:57:54 656be50a0ddc: Pull complete 03:57:54 2bbca73fdf42: Pull complete 03:57:54 46d945488cbd: Pull complete 03:57:58 8a5474983e97: Pull complete 03:58:00 329c88fbcd65: Pull complete 03:58:00 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 03:58:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 03:58:00 ---> ff4287adb874 03:58:00 Step 3/13 : ARG MAKE="make build" 03:58:02 ---> Running in 651be3ea89f0 03:58:02 Removing intermediate container 651be3ea89f0 03:58:02 ---> 7a6709ad3c46 03:58:02 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:58:02 ---> Running in bfbf71feb3b2 03:58:02 Removing intermediate container bfbf71feb3b2 03:58:02 ---> 8b06aa936acc 03:58:02 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 03:58:02 ---> Running in e14ab809d874 03:58:03 Removing intermediate container e14ab809d874 03:58:03 ---> ac8b4dacf2a6 03:58:03 Step 6/13 : LABEL Name=edgex-device-onvif-camera 03:58:03 ---> Running in 6c152ea461dc 03:58:03 Removing intermediate container 6c152ea461dc 03:58:03 ---> 44d19d9ab836 03:58:03 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:58:03 ---> Running in 69c5ad5f88d6 03:58:05 Removing intermediate container 69c5ad5f88d6 03:58:05 ---> 9e63a79491e0 03:58:05 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:58:05 ---> Running in e7d9b32fa037 03:58:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:58:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:58:08 OK: 221 MiB in 51 packages 03:58:09 Removing intermediate container e7d9b32fa037 03:58:09 ---> 8df1da4adbc7 03:58:09 Step 9/13 : WORKDIR /device-onvif-camera 03:58:09 ---> Running in 6d564b2874b6 03:58:09 Removing intermediate container 6d564b2874b6 03:58:09 ---> 53fbbb580616 03:58:09 Step 10/13 : COPY go.mod vendor* ./ 03:58:10 ---> 972aeb9fc626 03:58:10 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:58:10 ---> Running in d19551fe45eb 03:59:06 Removing intermediate container d19551fe45eb 03:59:06 ---> 8c5c34eec17c 03:59:06 Step 12/13 : COPY . . 03:59:06 ---> 9e897f99b2b1 03:59:06 Step 13/13 : RUN ${MAKE} 03:59:06 ---> Running in db5c4c9ccf78 03:59:06 noop 03:59:06 Removing intermediate container db5c4c9ccf78 03:59:06 ---> 84abd10fe0ad 03:59:06 Successfully built 84abd10fe0ad 03:59:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:07 + docker inspect -f . ci-base-image-arm64 03:59:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:59:07 prd-ubuntu20.04-docker-arm64-4c-16g-24283 does not seem to be running inside a container 03:59:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/53 -v /w/workspace/device-onvif-camera/53:/w/workspace/device-onvif-camera/53:rw,z -v /w/workspace/device-onvif-camera/53@tmp:/w/workspace/device-onvif-camera/53@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 03:59:08 $ docker top 71e13706e0c19f497bc9f0bf34518b15d37307c054ce136bd88f5797e3687284 -eo pid,comm [Pipeline] { [Pipeline] sh 03:59:09 + go version 03:59:09 go version go1.18.3 linux/arm64 [Pipeline] } 03:59:09 $ docker stop --time=1 71e13706e0c19f497bc9f0bf34518b15d37307c054ce136bd88f5797e3687284 03:59:11 $ docker rm -f 71e13706e0c19f497bc9f0bf34518b15d37307c054ce136bd88f5797e3687284 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:11 + docker inspect -f . ci-base-image-arm64 03:59:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:59:12 prd-ubuntu20.04-docker-arm64-4c-16g-24283 does not seem to be running inside a container 03:59:12 $ 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/53 -v /w/workspace/device-onvif-camera/53:/w/workspace/device-onvif-camera/53:rw,z -v /w/workspace/device-onvif-camera/53@tmp:/w/workspace/device-onvif-camera/53@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 03:59:13 $ docker top 62215025e40dadf2cc81772715cfe739144e36b01bebbc4ccc0762658d6fc6c9 -eo pid,comm [Pipeline] { [Pipeline] sh 03:59:14 + git config --global --add safe.directory /w/workspace/device-onvif-camera/53 [Pipeline] fileExists [Pipeline] sh 03:59:14 + make test 03:59:14 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:59:16 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:00:38 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:00:47 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.162s coverage: 28.6% of statements 04:00:47 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:01:09 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.282s coverage: 13.8% of statements 04:01:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:01:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:01:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:01:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:01:31 ./bin/test-attribution-txt.sh [Pipeline] echo 04:01:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:01:31 $ docker stop --time=1 62215025e40dadf2cc81772715cfe739144e36b01bebbc4ccc0762658d6fc6c9 04:01:33 $ docker rm -f 62215025e40dadf2cc81772715cfe739144e36b01bebbc4ccc0762658d6fc6c9 [Pipeline] // withDockerContainer [Pipeline] sh 04:01:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:01:34 Warning: overwriting stash ‘coverage-report’ 04:01:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:01:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:01:35 + ls -al . 04:01:35 total 228 04:01:35 drwxrwxr-x 9 jenkins jenkins 4096 Sep 1 03:59 . 04:01:35 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 03:57 .. 04:01:35 drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 03:57 .git 04:01:35 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 03:57 .github 04:01:35 -rw-rw-r-- 1 jenkins jenkins 418 Sep 1 03:57 .gitignore 04:01:35 -rw-rw-r-- 1 jenkins jenkins 42 Sep 1 03:57 .golangci.yml 04:01:35 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 1 03:57 Attribution.txt 04:01:35 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 1 03:57 CHANGELOG.md 04:01:35 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 1 03:57 Dockerfile 04:01:35 -rw-rw-r-- 1 jenkins jenkins 677 Sep 1 03:57 GOVERNANCE.md 04:01:35 -rw-rw-r-- 1 jenkins jenkins 734 Sep 1 03:57 Jenkinsfile 04:01:35 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 1 03:57 LICENSE 04:01:35 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 1 03:57 Makefile 04:01:35 -rw-rw-r-- 1 jenkins jenkins 625 Sep 1 03:57 OWNERS.md 04:01:35 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 1 03:57 README.md 04:01:35 -rw-rw-r-- 1 jenkins jenkins 12 Sep 1 03:55 VERSION 04:01:35 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 03:57 bin 04:01:35 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 03:57 cmd 04:01:35 -rw-r--r-- 1 jenkins jenkins 77457 Sep 1 04:01 coverage.out 04:01:35 drwxrwxr-x 6 jenkins jenkins 4096 Sep 1 03:57 doc 04:01:35 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 1 03:57 go.mod 04:01:35 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 1 03:57 go.sum 04:01:35 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 03:57 internal 04:01:35 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 03:57 snap 04:01:35 -rw-rw-r-- 1 jenkins jenkins 236 Sep 1 03:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:35 + 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=06d0f2addced559a6b629125c025b062c3ce01e9 --label arch=arm64 --label version=2.3.0-dev.14 . 04:01:36 Sending build context to Docker daemon 14.19MB 04:01:36 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 04:01:36 Step 2/26 : FROM ${BASE} AS builder 04:01:36 ---> 84abd10fe0ad 04:01:36 Step 3/26 : ARG MAKE="make build" 04:01:36 ---> Running in 4129d9337c97 04:01:36 Removing intermediate container 4129d9337c97 04:01:36 ---> 8c1b98c8491b 04:01:36 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:01:37 ---> Running in aa68236fd1e7 04:01:37 Removing intermediate container aa68236fd1e7 04:01:37 ---> 3d122d85daf1 04:01:37 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 04:01:37 ---> Running in a4c6a17309ff 04:01:37 Removing intermediate container a4c6a17309ff 04:01:37 ---> bd01e8e001d7 04:01:37 Step 6/26 : LABEL Name=edgex-device-onvif-camera 04:01:37 ---> Running in 25b0d675a33f 04:01:37 Removing intermediate container 25b0d675a33f 04:01:37 ---> c2682c9ba671 04:01:37 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:01:38 ---> Running in 3264fe964280 04:01:39 Removing intermediate container 3264fe964280 04:01:39 ---> 7ff78286d73c 04:01:39 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:01:39 ---> Running in 0fea23e84861 04:01:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:01:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:01:42 OK: 221 MiB in 51 packages 04:01:43 Removing intermediate container 0fea23e84861 04:01:43 ---> 53a0633da802 04:01:43 Step 9/26 : WORKDIR /device-onvif-camera 04:01:43 ---> Running in 968483d8bc30 04:01:43 Removing intermediate container 968483d8bc30 04:01:43 ---> 3563a91455e9 04:01:43 Step 10/26 : COPY go.mod vendor* ./ 04:01:44 ---> 17d6a6de41c2 04:01:44 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:01:44 ---> Running in d2ce45bea337 04:01:46 Removing intermediate container d2ce45bea337 04:01:46 ---> f7e380785b6e 04:01:46 Step 12/26 : COPY . . 04:01:47 ---> e85a011b87cf 04:01:47 Step 13/26 : RUN ${MAKE} 04:01:47 ---> Running in 4fbe0263b279 04:01:49 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 04:03:56 Removing intermediate container 4fbe0263b279 04:03:56 ---> 5994d0037b91 04:03:56 Step 14/26 : FROM alpine:3.16 04:03:56 3.16: Pulling from library/alpine 04:03:56 9b18e9b68314: Pulling fs layer 04:03:57 9b18e9b68314: Verifying Checksum 04:03:57 9b18e9b68314: Download complete 04:03:57 9b18e9b68314: Pull complete 04:03:57 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:03:57 Status: Downloaded newer image for alpine:3.16 04:03:57 ---> a6215f271958 04:03:57 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:03:57 ---> Running in c14e194c1131 04:03:57 Removing intermediate container c14e194c1131 04:03:57 ---> ee1388487c1f 04:03:57 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 04:03:58 ---> Running in bdc457c21e96 04:03:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:03:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:04:00 (1/6) Installing dumb-init (1.2.5-r1) 04:04:00 (2/6) Installing libgcc (11.2.1_git20220219-r2) 04:04:00 (3/6) Installing libsodium (1.0.18-r0) 04:04:00 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 04:04:00 (5/6) Installing libzmq (4.3.4-r0) 04:04:00 (6/6) Installing zeromq (4.3.4-r0) 04:04:00 Executing busybox-1.35.0-r17.trigger 04:04:00 OK: 8 MiB in 20 packages 04:04:01 Removing intermediate container bdc457c21e96 04:04:01 ---> e78f5c72e162 04:04:01 Step 17/26 : WORKDIR / 04:04:01 ---> Running in ac613ecadb73 04:04:01 Removing intermediate container ac613ecadb73 04:04:01 ---> ffb3a277b1f4 04:04:01 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:04:02 ---> 9fee395cbdfb 04:04:02 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:04:03 ---> 82cee46f10ac 04:04:03 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:04:04 ---> 3f1c312b8c1a 04:04:04 Step 21/26 : EXPOSE 59984 04:04:04 ---> Running in b3da71d3bd0e 04:04:04 Removing intermediate container b3da71d3bd0e 04:04:04 ---> 13531a1a869a 04:04:04 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:04:04 ---> Running in a294db20218c 04:04:04 Removing intermediate container a294db20218c 04:04:04 ---> 748647e74daf 04:04:04 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:04:04 ---> Running in 9805a414daba 04:04:05 Removing intermediate container 9805a414daba 04:04:05 ---> 450ace93fdd4 04:04:05 Step 24/26 : LABEL arch=arm64 04:04:05 ---> Running in cffc3635a9e9 04:04:05 Removing intermediate container cffc3635a9e9 04:04:05 ---> d86e7fbb2160 04:04:05 Step 25/26 : LABEL git_sha=06d0f2addced559a6b629125c025b062c3ce01e9 04:04:05 ---> Running in 557d2c4dda8d 04:04:05 Removing intermediate container 557d2c4dda8d 04:04:05 ---> a350c80a1e47 04:04:05 Step 26/26 : LABEL version=2.3.0-dev.14 04:04:06 ---> Running in 5b6721ff61a1 04:04:06 Removing intermediate container 5b6721ff61a1 04:04:06 ---> ce536b789e05 04:04:06 [Warning] One or more build-args [ARCH] were not consumed 04:04:06 Successfully built ce536b789e05 04:04:06 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:04:06 provisioning config files... 04:04:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/53@tmp/config4510217627684606676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:06 ---> docker-login.sh 04:04:06 nexus3.edgexfoundry.org:10001 04:04:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:07 Configure a credential helper to remove this warning. See 04:04:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:07 04:04:07 Login Succeeded 04:04:07 nexus3.edgexfoundry.org:10002 04:04:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:07 Configure a credential helper to remove this warning. See 04:04:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:07 04:04:07 Login Succeeded 04:04:07 nexus3.edgexfoundry.org:10003 04:04:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:08 Configure a credential helper to remove this warning. See 04:04:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:08 04:04:08 Login Succeeded 04:04:08 nexus3.edgexfoundry.org:10004 04:04:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:08 Configure a credential helper to remove this warning. See 04:04:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:08 04:04:08 Login Succeeded 04:04:08 docker.io 04:04:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:09 Configure a credential helper to remove this warning. See 04:04:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:09 04:04:09 Login Succeeded 04:04:09 ---> docker-login.sh ends [Pipeline] } 04:04:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:04:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:09 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 04:04:09 06d0f2addced559a6b629125c025b062c3ce01e9 04:04:09 latest 04:04:09 2.3.0-dev.14 04:04:09 06d0f2addced559a6b629125c025b062c3ce01e9-2.3.0-dev.14 04:04:09 main 04:04:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:09 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:06d0f2addced559a6b629125c025b062c3ce01e9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:10 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:06d0f2addced559a6b629125c025b062c3ce01e9 04:04:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:04:10 b2209b8a963a: Preparing 04:04:10 3e966af95abf: Preparing 04:04:10 0363bd3932c2: Preparing 04:04:10 055d5a33ccda: Preparing 04:04:10 5d3e392a13a0: Preparing 04:04:10 5d3e392a13a0: Layer already exists 04:04:10 3e966af95abf: Pushed 04:04:10 b2209b8a963a: Pushed 04:04:11 055d5a33ccda: Pushed 04:04:16 0363bd3932c2: Pushed 04:04:16 06d0f2addced559a6b629125c025b062c3ce01e9: digest: sha256:1547c3bdaa25df9fb83d26c9bd7ba44bb9ec523f944c0f56d25147e69625fd4a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:16 + 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 04:04:17 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 04:04:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:04:17 b2209b8a963a: Preparing 04:04:17 3e966af95abf: Preparing 04:04:17 0363bd3932c2: Preparing 04:04:17 055d5a33ccda: Preparing 04:04:17 5d3e392a13a0: Preparing 04:04:17 055d5a33ccda: Layer already exists 04:04:17 5d3e392a13a0: Layer already exists 04:04:17 0363bd3932c2: Layer already exists 04:04:17 3e966af95abf: Layer already exists 04:04:17 b2209b8a963a: Layer already exists 04:04:17 latest: digest: sha256:1547c3bdaa25df9fb83d26c9bd7ba44bb9ec523f944c0f56d25147e69625fd4a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:17 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:18 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.14 04:04:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:04:18 b2209b8a963a: Preparing 04:04:18 3e966af95abf: Preparing 04:04:18 0363bd3932c2: Preparing 04:04:18 055d5a33ccda: Preparing 04:04:18 5d3e392a13a0: Preparing 04:04:18 b2209b8a963a: Layer already exists 04:04:18 3e966af95abf: Layer already exists 04:04:18 0363bd3932c2: Layer already exists 04:04:18 5d3e392a13a0: Layer already exists 04:04:18 055d5a33ccda: Layer already exists 04:04:18 2.3.0-dev.14: digest: sha256:1547c3bdaa25df9fb83d26c9bd7ba44bb9ec523f944c0f56d25147e69625fd4a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:18 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:06d0f2addced559a6b629125c025b062c3ce01e9-2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:19 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:06d0f2addced559a6b629125c025b062c3ce01e9-2.3.0-dev.14 04:04:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:04:19 b2209b8a963a: Preparing 04:04:19 3e966af95abf: Preparing 04:04:19 0363bd3932c2: Preparing 04:04:19 055d5a33ccda: Preparing 04:04:19 5d3e392a13a0: Preparing 04:04:19 5d3e392a13a0: Layer already exists 04:04:19 0363bd3932c2: Layer already exists 04:04:19 3e966af95abf: Layer already exists 04:04:19 b2209b8a963a: Layer already exists 04:04:19 055d5a33ccda: Layer already exists 04:04:19 06d0f2addced559a6b629125c025b062c3ce01e9-2.3.0-dev.14: digest: sha256:1547c3bdaa25df9fb83d26c9bd7ba44bb9ec523f944c0f56d25147e69625fd4a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:19 + 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 04:04:20 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 04:04:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:04:20 b2209b8a963a: Preparing 04:04:20 3e966af95abf: Preparing 04:04:20 0363bd3932c2: Preparing 04:04:20 055d5a33ccda: Preparing 04:04:20 5d3e392a13a0: Preparing 04:04:20 5d3e392a13a0: Layer already exists 04:04:20 0363bd3932c2: Layer already exists 04:04:20 b2209b8a963a: Layer already exists 04:04:20 055d5a33ccda: Layer already exists 04:04:20 3e966af95abf: Layer already exists 04:04:20 main: digest: sha256:1547c3bdaa25df9fb83d26c9bd7ba44bb9ec523f944c0f56d25147e69625fd4a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:04:20 ===================================================== [Pipeline] echo 04:04:20 taggedImages: 04:04:20 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:06d0f2addced559a6b629125c025b062c3ce01e9 04:04:20 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 04:04:20 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.14 04:04:20 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:06d0f2addced559a6b629125c025b062c3ce01e9-2.3.0-dev.14 04:04:20 - 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 04:04:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:04:21 04:04:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:04:21 arm64: Pulling from edgex-lftools-log-publisher 04:04:21 8998bd30e6a1: Pulling fs layer 04:04:21 04944245beec: Pulling fs layer 04:04:21 699f458cf7ca: Pulling fs layer 04:04:21 765212b225bb: Pulling fs layer 04:04:21 f23df028b6ca: Pulling fs layer 04:04:21 d65c8cfc05b1: Pulling fs layer 04:04:21 2437ff75d9bd: Pulling fs layer 04:04:21 765212b225bb: Waiting 04:04:21 f23df028b6ca: Waiting 04:04:21 d65c8cfc05b1: Waiting 04:04:21 2437ff75d9bd: Waiting 04:04:21 04944245beec: Verifying Checksum 04:04:21 04944245beec: Download complete 04:04:21 765212b225bb: Verifying Checksum 04:04:21 765212b225bb: Download complete 04:04:21 f23df028b6ca: Download complete 04:04:21 d65c8cfc05b1: Verifying Checksum 04:04:21 d65c8cfc05b1: Download complete 04:04:21 699f458cf7ca: Verifying Checksum 04:04:21 699f458cf7ca: Download complete 04:04:22 8998bd30e6a1: Verifying Checksum 04:04:22 8998bd30e6a1: Download complete 04:04:24 2437ff75d9bd: Verifying Checksum 04:04:24 2437ff75d9bd: Download complete 04:04:26 8998bd30e6a1: Pull complete 04:04:27 04944245beec: Pull complete 04:04:28 699f458cf7ca: Pull complete 04:04:28 765212b225bb: Pull complete 04:04:29 f23df028b6ca: Pull complete 04:04:29 d65c8cfc05b1: Pull complete 04:04:44 2437ff75d9bd: Pull complete 04:04:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:04:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:04:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:04:45 prd-ubuntu20.04-docker-arm64-4c-16g-24283 does not seem to be running inside a container 04:04:45 $ 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/53 -v /w/workspace/device-onvif-camera/53:/w/workspace/device-onvif-camera/53:rw,z -v /w/workspace/device-onvif-camera/53@tmp:/w/workspace/device-onvif-camera/53@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 04:04:47 $ docker top b075f252d42f8d00d5455a015fa4426f41951a98a84ef9cd96f8d29e0c4d75c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:48 ---> job-cost.sh 04:04:48 lf-activate-venv: SKIPPING 04:04:48 INFO: No Stack... 04:04:48 INFO: Retrieving Pricing Info for: v3-standard-4 04:04:49 INFO: Archiving Costs [Pipeline] sh 04:04:50 + + cut -d, -f6 04:04:50 cat /w/workspace/device-onvif-camera/53/archives/cost.csv [Pipeline] lock 04:04:50 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-53-stack-cost] 04:04:50 Resource [jenkins-edgexfoundry-device-onvif-camera-main-53-stack-cost] did not exist. Created. 04:04:50 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:04:51 /w/workspace/device-onvif-camera/53@tmp/durable-71f4ce03/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:04:52 + echo total: 0.10999999940395355 [Pipeline] stash 04:04:52 Warning: overwriting stash ‘stack-cost’ 04:04:52 Stashed 1 file(s) [Pipeline] } 04:04:52 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-53-stack-cost] [Pipeline] // lock [Pipeline] } 04:04:52 $ docker stop --time=1 b075f252d42f8d00d5455a015fa4426f41951a98a84ef9cd96f8d29e0c4d75c9 04:04:53 $ docker rm -f b075f252d42f8d00d5455a015fa4426f41951a98a84ef9cd96f8d29e0c4d75c9 [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 04:04:54 provisioning config files... 04:04:54 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1816481902182214928tmp [Pipeline] { [Pipeline] sh 04:04:54 + set +x 04:04:54 + curl -s+ https://codecov.io/bash 04:04:54 bash -s -- 04:04:54 04:04:54 _____ _ 04:04:54 / ____| | | 04:04:54 | | ___ __| | ___ ___ _____ __ 04:04:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:04:54 | |___| (_) | (_| | __/ (_| (_) \ V / 04:04:54 \_____\___/ \__,_|\___|\___\___/ \_/ 04:04:54 Bash-1.0.6 04:04:54 04:04:54 04:04:54 ==> git version 2.25.1 found 04:04:54 ==> 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 04:04:54 Release-Date: 2020-01-08 04:04:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:04:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:04:54 ==> Jenkins CI detected. 04:04:54 current dir:  /w/workspace/foundry_device-onvif-camera_main 04:04:54 project root: . 04:04:54 --> token set from env 04:04:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:04:54 ==> Running gcov in . (disable via -X gcov) 04:04:54 ==> Python coveragepy not found 04:04:54 ==> Searching for coverage reports in: 04:04:54 + . 04:04:54 -> Found 1 reports 04:04:54 ==> Detecting git/mercurial file structure 04:04:54 ==> Reading reports 04:04:54 + ./coverage.out bytes=77457 04:04:54 ==> Appending adjustments 04:04:54 https://docs.codecov.io/docs/fixing-reports 04:04:54 + Found adjustments 04:04:54 ==> Gzipping contents 04:04:54 12K /tmp/codecov.zXd9Md.gz 04:04:54 ==> Uploading reports 04:04:54 url: https://codecov.io 04:04:54 query: branch=main&commit=06d0f2addced559a6b629125c025b062c3ce01e9&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:04:54 -> Pinging Codecov 04:04:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=main&commit=06d0f2addced559a6b629125c025b062c3ce01e9&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:04:55 -> Uploading to 04:04:55 https://storage.googleapis.com/codecov/v4/raw/2022-09-01/F29A59C45E3A92E06B3E522C9905F8EF/06d0f2addced559a6b629125c025b062c3ce01e9/8f40cc6f-5cfd-4647-a03f-65043f324059.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220901%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220901T040455Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b199d00a5f1a7915c35e531c6ed69017e3920f65a63b5a4a7805c47b609ef2c3 04:04:55 % Total % Received % Xferd Average Speed Time Time Time Current 04:04:55 Dload Upload Total Spent Left Speed 04:04:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10696 0 0 100 10696 0 42110 --:--:-- --:--:-- --:--:-- 41945 100 10696 0 0 100 10696 0 42110 --:--:-- --:--:-- --:--:-- 41945 04:04:55 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/06d0f2addced559a6b629125c025b062c3ce01e9 [Pipeline] } 04:04:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:04:55 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:04:55 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:04:56 04:04:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:04:56 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:04:56 df9b9388f04a: Pulling fs layer 04:04:56 52dc419b0ee2: Pulling fs layer 04:04:56 25bc292e5bac: Pulling fs layer 04:04:56 114826534d7a: Pulling fs layer 04:04:56 4657fd5d0bcf: Pulling fs layer 04:04:56 6ad1cebc031e: Pulling fs layer 04:04:56 8a3aa393b2d8: Pulling fs layer 04:04:56 8a3aa393b2d8: Waiting 04:04:56 4657fd5d0bcf: Waiting 04:04:56 6ad1cebc031e: Waiting 04:04:56 114826534d7a: Waiting 04:04:56 25bc292e5bac: Download complete 04:04:56 52dc419b0ee2: Verifying Checksum 04:04:56 52dc419b0ee2: Download complete 04:04:56 4657fd5d0bcf: Download complete 04:04:56 df9b9388f04a: Download complete 04:04:56 6ad1cebc031e: Verifying Checksum 04:04:56 6ad1cebc031e: Download complete 04:04:56 df9b9388f04a: Pull complete 04:04:56 52dc419b0ee2: Pull complete 04:04:56 25bc292e5bac: Pull complete 04:04:57 114826534d7a: Verifying Checksum 04:04:57 114826534d7a: Download complete 04:04:57 8a3aa393b2d8: Verifying Checksum 04:04:57 8a3aa393b2d8: Download complete 04:05:00 114826534d7a: Pull complete 04:05:00 4657fd5d0bcf: Pull complete 04:05:01 6ad1cebc031e: Pull complete 04:05:04 8a3aa393b2d8: Pull complete 04:05:04 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:05:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:05:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:04 prd-ubuntu20.04-docker-8c-8g-24282 does not seem to be running inside a container 04:05:04 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:05:08 $ docker top d498289f8ae927cd8c18b8a37e859c8cc1d3ed0c37fe9f48d60ce54599077a3b -eo pid,comm [Pipeline] { [Pipeline] echo 04:05:09 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 04:05:09 + set -o pipefail 04:05:09 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 04:05:14 04:05:14 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 04:05:14 04:05:14 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/ea917ed3-f69e-4d28-a625-de284a2433db 04:05:14 04:05:14 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:05:14 04:05:14 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:05:14 04:05:14 [Pipeline] } 04:05:14 $ docker stop --time=1 d498289f8ae927cd8c18b8a37e859c8cc1d3ed0c37fe9f48d60ce54599077a3b 04:05:18 $ docker rm -f d498289f8ae927cd8c18b8a37e859c8cc1d3ed0c37fe9f48d60ce54599077a3b [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 04:05:19 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:05:19 provisioning config files... 04:05:19 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config49261935024416563tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:05:19 --> edgex-publish-swagger.sh 04:05:19 === Publish doc/openapi/v2 API === 04:05:19 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 04:05:19 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 04:05:19 % Total % Received % Xferd Average Speed Time Time Time Current 04:05:19 Dload Upload Total Spent Left Speed 04:05:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 139k 0 0 100 139k 0 184k --:--:-- --:--:-- --:--:-- 183k 100 139k 0 0 100 139k 0 184k --:--:-- --:--:-- --:--:-- 183k 04:05:19 04:05:19 [Pipeline] } 04:05:19 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 04:05:20 + git log --format=format:%s -1 06d0f2addced559a6b629125c025b062c3ce01e9 [Pipeline] sh 04:05:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:05:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:05:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:21 prd-ubuntu20.04-docker-8c-8g-24282 does not seem to be running inside a container 04:05:21 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:05:21 $ docker top a2d58596962a4e2c582a5337d5fd11d8156207300295b86659104cecff613c63 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:05:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:05:21 [ssh-agent] Looking for ssh-agent implementation... 04:05:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:05:21 $ docker exec a2d58596962a4e2c582a5337d5fd11d8156207300295b86659104cecff613c63 ssh-agent 04:05:22 SSH_AUTH_SOCK=/tmp/ssh-X0AXis8Fb5YC/agent.32 04:05:22 SSH_AGENT_PID=38 04:05:22 Running ssh-add (command line suppressed) 04:05:22 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6037017915168582315.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6037017915168582315.key) 04:05:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:05:22 + git semver tag 04:05:22 2022-09-01 04:05:22,689 [run_tag] DEBUG tag force:False 04:05:22 2022-09-01 04:05:22,689 [check_head_tag] DEBUG check head tag 04:05:22 2022-09-01 04:05:22,690 [execute] INFO git cat-file --batch-check 04:05:22 2022-09-01 04:05:22,690 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 04:05:22 2022-09-01 04:05:22,694 [execute] INFO git cat-file --batch 04:05:22 2022-09-01 04:05:22,694 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 04:05:22 2022-09-01 04:05:22,711 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:05:22 2022-09-01 04:05:22,711 [execute] INFO git tag -a v2.3.0-dev.14 -m v2.3.0-dev.14 04:05:22 2022-09-01 04:05:22,712 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.14', '-m', 'v2.3.0-dev.14'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 04:05:22 2022-09-01 04:05:22,717 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:05:22 2.3.0-dev.14 [Pipeline] } 04:05:22 $ docker exec --env ******** --env ******** a2d58596962a4e2c582a5337d5fd11d8156207300295b86659104cecff613c63 ssh-agent -k 04:05:22 unset SSH_AUTH_SOCK; 04:05:22 unset SSH_AGENT_PID; 04:05:22 echo Agent pid 38 killed; 04:05:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:05:23 + git semver [Pipeline] } 04:05:23 $ docker stop --time=1 a2d58596962a4e2c582a5337d5fd11d8156207300295b86659104cecff613c63 04:05:24 $ docker rm -f a2d58596962a4e2c582a5337d5fd11d8156207300295b86659104cecff613c63 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:05:25 04:05:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:05:25 0.23.1-centos7: Pulling from edgex-lftools 04:05:25 ab5ef0e58194: Pulling fs layer 04:05:25 9712f1f96733: Pulling fs layer 04:05:25 63f879dbbcfc: Pulling fs layer 04:05:25 0d9ebad4ef96: Pulling fs layer 04:05:25 e9a5061849ea: Pulling fs layer 04:05:25 d747dcd14b5f: Pulling fs layer 04:05:25 2de7ff778b66: Pulling fs layer 04:05:25 0d9ebad4ef96: Waiting 04:05:25 2de7ff778b66: Waiting 04:05:25 d747dcd14b5f: Waiting 04:05:25 9712f1f96733: Verifying Checksum 04:05:25 9712f1f96733: Download complete 04:05:25 63f879dbbcfc: Verifying Checksum 04:05:25 63f879dbbcfc: Download complete 04:05:26 0d9ebad4ef96: Verifying Checksum 04:05:26 0d9ebad4ef96: Download complete 04:05:26 e9a5061849ea: Verifying Checksum 04:05:26 e9a5061849ea: Download complete 04:05:26 d747dcd14b5f: Verifying Checksum 04:05:26 d747dcd14b5f: Download complete 04:05:26 ab5ef0e58194: Verifying Checksum 04:05:26 ab5ef0e58194: Download complete 04:05:26 2de7ff778b66: Verifying Checksum 04:05:26 2de7ff778b66: Download complete 04:05:29 ab5ef0e58194: Pull complete 04:05:29 9712f1f96733: Pull complete 04:05:29 63f879dbbcfc: Pull complete 04:05:34 0d9ebad4ef96: Pull complete 04:05:34 e9a5061849ea: Pull complete 04:05:34 d747dcd14b5f: Pull complete 04:05:36 2de7ff778b66: Pull complete 04:05:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:05:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:05:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:36 prd-ubuntu20.04-docker-8c-8g-24282 does not seem to be running inside a container 04:05:36 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:05:40 $ docker top eed5acbb210ee9e369723421d1be9a2aa47be65fa412c268f30cea5b2b86782c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:05:40 provisioning config files... 04:05:40 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8837658522470638732tmp 04:05:40 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6058751120080454542tmp 04:05:40 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8173010908391143511tmp [Pipeline] { [Pipeline] echo 04:05:40 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:05:40 ---> sigul-configuration.sh 04:05:40 gpg: directory `/root/.gnupg' created 04:05:40 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:05:40 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:05:40 gpg: keyring `/root/.gnupg/secring.gpg' created 04:05:40 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:05:40 gpg: CAST5 encrypted data 04:05:40 gpg: encrypted with 1 passphrase 04:05:40 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:05:41 + mkdir /home/jenkins 04:05:41 + mkdir /home/jenkins/sigul [Pipeline] sh 04:05:41 + 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 04:05:41 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:05:41 ---> sigul-install.sh 04:05:41 Sigul already installed; skipping installation. [Pipeline] sh 04:05:42 + git tag --list 04:05:42 v0.0.0 04:05:42 v0.0.1-dev.1 04:05:42 v0.0.1-dev.10 04:05:42 v0.0.1-dev.11 04:05:42 v0.0.1-dev.12 04:05:42 v0.0.1-dev.13 04:05:42 v0.0.1-dev.14 04:05:42 v0.0.1-dev.15 04:05:42 v0.0.1-dev.16 04:05:42 v0.0.1-dev.17 04:05:42 v0.0.1-dev.18 04:05:42 v0.0.1-dev.19 04:05:42 v0.0.1-dev.2 04:05:42 v0.0.1-dev.20 04:05:42 v0.0.1-dev.21 04:05:42 v0.0.1-dev.22 04:05:42 v0.0.1-dev.23 04:05:42 v0.0.1-dev.24 04:05:42 v0.0.1-dev.25 04:05:42 v0.0.1-dev.26 04:05:42 v0.0.1-dev.27 04:05:42 v0.0.1-dev.28 04:05:42 v0.0.1-dev.3 04:05:42 v0.0.1-dev.4 04:05:42 v0.0.1-dev.5 04:05:42 v0.0.1-dev.6 04:05:42 v0.0.1-dev.7 04:05:42 v0.0.1-dev.8 04:05:42 v0.0.1-dev.9 04:05:42 v2.2.0 04:05:42 v2.2.0-dev.29 04:05:42 v2.2.0-dev.30 04:05:42 v2.2.0-dev.31 04:05:42 v2.2.0-dev.32 04:05:42 v2.2.0-dev.33 04:05:42 v2.2.0-dev.34 04:05:42 v2.2.0-dev.35 04:05:42 v2.3.0-dev.1 04:05:42 v2.3.0-dev.10 04:05:42 v2.3.0-dev.11 04:05:42 v2.3.0-dev.12 04:05:42 v2.3.0-dev.13 04:05:42 v2.3.0-dev.14 04:05:42 v2.3.0-dev.2 04:05:42 v2.3.0-dev.3 04:05:42 v2.3.0-dev.4 04:05:42 v2.3.0-dev.5 04:05:42 v2.3.0-dev.6 04:05:42 v2.3.0-dev.7 04:05:42 v2.3.0-dev.8 04:05:42 v2.3.0-dev.9 [Pipeline] sh 04:05:42 + lftools sign git-tag v2.3.0-dev.14 04:05:43 Signing Git tag with Sigul... 04:05:43 Signing v2.3.0-dev.14 [Pipeline] echo 04:05:43 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:05:43 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:05:43 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:05:43 $ docker stop --time=1 eed5acbb210ee9e369723421d1be9a2aa47be65fa412c268f30cea5b2b86782c 04:05:45 $ docker rm -f eed5acbb210ee9e369723421d1be9a2aa47be65fa412c268f30cea5b2b86782c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:05:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:05:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:05:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:46 prd-ubuntu20.04-docker-8c-8g-24282 does not seem to be running inside a container 04:05:46 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:05:46 $ docker top 77f61a2483b3903f23357cd1796bf7bd09ffdf12c92e826b89deee9e30ef5ef9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:05:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:05:46 [ssh-agent] Looking for ssh-agent implementation... 04:05:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:05:46 $ docker exec 77f61a2483b3903f23357cd1796bf7bd09ffdf12c92e826b89deee9e30ef5ef9 ssh-agent 04:05:46 SSH_AUTH_SOCK=/tmp/ssh-148kAwDqqJAX/agent.32 04:05:46 SSH_AGENT_PID=39 04:05:46 Running ssh-add (command line suppressed) 04:05:46 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6251049371224889469.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6251049371224889469.key) 04:05:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:05:47 + git semver bump pre 04:05:47 2022-09-01 04:05:47,503 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:05:47 2022-09-01 04:05:47,503 [bump_version] DEBUG bumping version:2.3.0-dev.14 on axis:pre with prefix:dev 04:05:47 2022-09-01 04:05:47,503 [bump_version] DEBUG bumped version:2.3.0-dev.15 04:05:47 2022-09-01 04:05:47,503 [write_version] DEBUG write version:2.3.0-dev.15 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 04:05:47 2022-09-01 04:05:47,503 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:05:47 2022-09-01 04:05:47,503 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 04:05:47 2022-09-01 04:05:47,505 [execute] INFO git cat-file --batch-check 04:05:47 2022-09-01 04:05:47,505 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:05:47 2022-09-01 04:05:47,511 [execute] INFO git cat-file --batch 04:05:47 2022-09-01 04:05:47,511 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:05:47 2022-09-01 04:05:47,517 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:05:47 2.3.0-dev.15 [Pipeline] } 04:05:47 $ docker exec --env ******** --env ******** 77f61a2483b3903f23357cd1796bf7bd09ffdf12c92e826b89deee9e30ef5ef9 ssh-agent -k 04:05:47 unset SSH_AUTH_SOCK; 04:05:47 unset SSH_AGENT_PID; 04:05:47 echo Agent pid 39 killed; 04:05:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:05:48 + git semver [Pipeline] } 04:05:48 $ docker stop --time=1 77f61a2483b3903f23357cd1796bf7bd09ffdf12c92e826b89deee9e30ef5ef9 04:05:49 $ docker rm -f 77f61a2483b3903f23357cd1796bf7bd09ffdf12c92e826b89deee9e30ef5ef9 [Pipeline] // withDockerContainer [Pipeline] sh 04:05:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:05:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:05:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:50 prd-ubuntu20.04-docker-8c-8g-24282 does not seem to be running inside a container 04:05:50 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:05:50 $ docker top 9c1d2fc028d1f8a2b60db09ab8bbd5545dc5c3d30d6171ef74e01f59e1fa34ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:05:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:05:50 [ssh-agent] Looking for ssh-agent implementation... 04:05:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:05:51 $ docker exec 9c1d2fc028d1f8a2b60db09ab8bbd5545dc5c3d30d6171ef74e01f59e1fa34ff ssh-agent 04:05:51 SSH_AUTH_SOCK=/tmp/ssh-v7vviEQD4iFe/agent.33 04:05:51 SSH_AGENT_PID=39 04:05:51 Running ssh-add (command line suppressed) 04:05:51 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7268665469791646792.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7268665469791646792.key) 04:05:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:05:51 + git semver push 04:05:51 2022-09-01 04:05:51,774 [run_push] DEBUG push 04:05:51 2022-09-01 04:05:51,774 [execute] INFO git cat-file --batch-check 04:05:51 2022-09-01 04:05:51,775 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:05:51 2022-09-01 04:05:51,779 [execute] INFO git rev-list 1e79be5c54db77d888649e8d3ad24aed2c0ae2e1 -- 04:05:51 2022-09-01 04:05:51,779 [execute] DEBUG Popen(['git', 'rev-list', '1e79be5c54db77d888649e8d3ad24aed2c0ae2e1', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 04:05:51 2022-09-01 04:05:51,785 [execute] INFO git fetch -v origin 04:05:51 2022-09-01 04:05:51,786 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 04:05:52 2022-09-01 04:05:52,302 [run_push] DEBUG no remote changes detected 04:05:52 2022-09-01 04:05:52,303 [execute] INFO git push origin semver 04:05:52 2022-09-01 04:05:52,303 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 04:05:53 2022-09-01 04:05:53,117 [run_push] DEBUG push all version tags 04:05:53 2022-09-01 04:05:53,118 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:05:53 2022-09-01 04:05:53,118 [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) 04:05:53 2022-09-01 04:05:53,770 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:05:53 2.3.0-dev.15 [Pipeline] } 04:05:53 $ docker exec --env ******** --env ******** 9c1d2fc028d1f8a2b60db09ab8bbd5545dc5c3d30d6171ef74e01f59e1fa34ff ssh-agent -k 04:05:54 unset SSH_AUTH_SOCK; 04:05:54 unset SSH_AGENT_PID; 04:05:54 echo Agent pid 39 killed; 04:05:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:05:54 + git semver [Pipeline] } 04:05:54 $ docker stop --time=1 9c1d2fc028d1f8a2b60db09ab8bbd5545dc5c3d30d6171ef74e01f59e1fa34ff 04:05:55 $ docker rm -f 9c1d2fc028d1f8a2b60db09ab8bbd5545dc5c3d30d6171ef74e01f59e1fa34ff [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 04:05:56 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 04:05:56 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 04:05:56 total 16 04:05:56 drwxr-xr-x 3 root root 4096 Sep 1 03:57 . 04:05:56 drwxrwxr-x 11 jenkins jenkins 4096 Sep 1 04:05 .. 04:05:56 drwxr-xr-x 2 root root 4096 Sep 1 03:57 cost 04:05:56 -rw-r--r-- 1 root root 90 Sep 1 03:57 cost.csv 04:05:56 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 04:05:56 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 04:05:56 total 16 04:05:56 drwxr-xr-x 3 jenkins jenkins 4096 Sep 1 03:57 . 04:05:56 drwxrwxr-x 11 jenkins jenkins 4096 Sep 1 04:05 .. 04:05:56 drwxr-xr-x 2 jenkins jenkins 4096 Sep 1 03:57 cost 04:05:56 -rw-r--r-- 1 jenkins jenkins 90 Sep 1 03:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:05:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:05:57 ---> package-listing.sh 04:05:57 ++ facter osfamily 04:05:57 ++ tr '[:upper:]' '[:lower:]' 04:05:57 + OS_FAMILY=debian 04:05:57 + workspace=/w/workspace/foundry_device-onvif-camera_main 04:05:57 + START_PACKAGES=/tmp/packages_start.txt 04:05:57 + END_PACKAGES=/tmp/packages_end.txt 04:05:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:05:57 + PACKAGES=/tmp/packages_start.txt 04:05:57 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 04:05:57 + PACKAGES=/tmp/packages_end.txt 04:05:57 + case "${OS_FAMILY}" in 04:05:57 + dpkg -l 04:05:57 + grep '^ii' 04:05:57 + '[' -f /tmp/packages_start.txt ']' 04:05:57 + '[' -f /tmp/packages_end.txt ']' 04:05:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:05:57 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 04:05:57 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 04:05:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 04:05:57 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 04:05:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:05:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:58 prd-ubuntu20.04-docker-8c-8g-24282 does not seem to be running inside a container 04:05:58 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:05:59 $ docker top 80a4972574c68f809718e46646601036e53715da4f7b7f95c2c7cb38abf720fe -eo pid,comm [Pipeline] { [Pipeline] sh 04:05:59 + touch /tmp/pre-build-complete [Pipeline] sh 04:05:59 + mkdir -p /var/log/sysstat [Pipeline] sh 04:06:00 + ls /var/log/sa-host 04:06:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:06:00 provisioning config files... 04:06:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6308048580491377852tmp [Pipeline] { [Pipeline] echo 04:06:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:06:00 ---> create-netrc.sh [Pipeline] } 04:06:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:06:00 ---> python-tools-install.sh [Pipeline] echo 04:06:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:06:01 ---> sudo-logs.sh 04:06:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:06:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:06:01 ---> job-cost.sh 04:06:01 lf-activate-venv: SKIPPING 04:06:01 DEBUG: total: 0.2199999988079071 04:06:01 INFO: Retrieving Stack Cost... 04:06:02 INFO: Retrieving Pricing Info for: v3-standard-8 04:06:02 INFO: Archiving Costs [Pipeline] echo 04:06:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:06:02 ---> logs-deploy.sh 04:06:02 lf-activate-venv: SKIPPING 04:06:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/53 04:06:02 INFO: archiving workspace using pattern(s): 04:06:03 Archives upload complete. 04:06:03 INFO: archiving logs to Nexus