Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ca50ff0226266dec6d343d3687e79f892dd3f78d 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-ssh12791197343999770806.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh10302265761955948935.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh3724908780020052123.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh13204185461935659873.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-ssh10933773191048782893.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.20 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-12228 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision ca50ff0226266dec6d343d3687e79f892dd3f78d (main) Commit message: "docs: remove docs (#305)" > 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 ca50ff0226266dec6d343d3687e79f892dd3f78d # timeout=10 > git rev-list --no-walk 9a0357f8d9b433a12ba9d14d0949e92e6265fbd6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:53:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:53:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:53:31 ========================================================= 18:53:31 EdgeX Global Pipelines Version Info 18:53:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:53:32 ------------------- 18:53:32 stable info: 18:53:32 ------------------- 18:53:32 Commited By: Bill Mahoney bill.mahoney@intel.com 18:53:32 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 18:53:32 Message: update stable to v1.0.248 18:53:32 ------------------- 18:53:32 experimental info: 18:53:32 ------------------- 18:53:32 Commited By: **** collab-it+edgex@linuxfoundation.org 18:53:32 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:53:32 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:53:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:53:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:53:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:53:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:53:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:53:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:53:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ca50ff0226266dec6d343d3687e79f892dd3f78d [Pipeline] echo 18:53:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ca50ff0 [Pipeline] echo 18:53:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:53:33 provisioning config files... 18:53:33 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11753211125924385336tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:53:33 ---> docker-login.sh 18:53:33 nexus3.edgexfoundry.org:10001 18:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:33 Configure a credential helper to remove this warning. See 18:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:33 18:53:33 Login Succeeded 18:53:33 nexus3.edgexfoundry.org:10002 18:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:33 Configure a credential helper to remove this warning. See 18:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:33 18:53:33 Login Succeeded 18:53:33 nexus3.edgexfoundry.org:10003 18:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:33 Configure a credential helper to remove this warning. See 18:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:33 18:53:33 Login Succeeded 18:53:33 nexus3.edgexfoundry.org:10004 18:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:34 Configure a credential helper to remove this warning. See 18:53:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:34 18:53:34 Login Succeeded 18:53:34 docker.io 18:53:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:34 Configure a credential helper to remove this warning. See 18:53:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:34 18:53:34 Login Succeeded 18:53:34 ---> docker-login.sh ends [Pipeline] } 18:53:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:53:34 + git rev-list -1 --merges ca50ff0226266dec6d343d3687e79f892dd3f78d~1..ca50ff0226266dec6d343d3687e79f892dd3f78d [Pipeline] echo 18:53:34 -----------> git rev-list -1 --merges ca50ff0226266dec6d343d3687e79f892dd3f78d~1..ca50ff0226266dec6d343d3687e79f892dd3f78d ca50ff0226266dec6d343d3687e79f892dd3f78d [false] [Pipeline] sh 18:53:35 + git log --format=format:%s -1 ca50ff0226266dec6d343d3687e79f892dd3f78d [Pipeline] echo 18:53:35 ========================================================= 18:53:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:53:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:53:35 + git log --format=format:%s -1 ca50ff0226266dec6d343d3687e79f892dd3f78d [Pipeline] echo 18:53:35 [semverPrep] GIT_COMMIT: ca50ff0226266dec6d343d3687e79f892dd3f78d, Commit Message: docs: remove docs (#305) [Pipeline] echo 18:53:35 [semverPrep] This is not a build commit. [Pipeline] sh 18:53:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:53:36 + grep -v github /etc/ssh/ssh_known_hosts 18:53:36 + [ -e /tmp/ssh_known_hosts ] 18:53:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:53:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:53:36 + sudo tee -a /etc/ssh/ssh_known_hosts 18:53:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:53:36 18:53:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:53:36 0.1.4: Pulling from edgex-devops/py-git-semver 18:53:36 b85a868b505f: Pulling fs layer 18:53:36 e2be974225ed: Pulling fs layer 18:53:36 339a4e72a1f5: Pulling fs layer 18:53:36 988bab9f4d93: Pulling fs layer 18:53:36 1469e6f7b9e6: Pulling fs layer 18:53:36 eaf3925da568: Pulling fs layer 18:53:36 bab4dde63d76: Pulling fs layer 18:53:36 bde34c3a00c8: Pulling fs layer 18:53:36 b352a97aabf1: Pulling fs layer 18:53:36 4872d77fe225: Pulling fs layer 18:53:36 5851b861e8e6: Pulling fs layer 18:53:36 b352a97aabf1: Waiting 18:53:36 988bab9f4d93: Waiting 18:53:36 5851b861e8e6: Waiting 18:53:36 bde34c3a00c8: Waiting 18:53:36 bab4dde63d76: Waiting 18:53:36 eaf3925da568: Waiting 18:53:36 4872d77fe225: Waiting 18:53:36 e2be974225ed: Download complete 18:53:36 988bab9f4d93: Verifying Checksum 18:53:36 988bab9f4d93: Download complete 18:53:36 339a4e72a1f5: Verifying Checksum 18:53:36 339a4e72a1f5: Download complete 18:53:36 eaf3925da568: Verifying Checksum 18:53:36 1469e6f7b9e6: Verifying Checksum 18:53:36 1469e6f7b9e6: Download complete 18:53:36 bde34c3a00c8: Download complete 18:53:36 b352a97aabf1: Verifying Checksum 18:53:36 b352a97aabf1: Download complete 18:53:36 4872d77fe225: Download complete 18:53:36 5851b861e8e6: Verifying Checksum 18:53:36 5851b861e8e6: Download complete 18:53:36 b85a868b505f: Download complete 18:53:37 bab4dde63d76: Verifying Checksum 18:53:37 bab4dde63d76: Download complete 18:53:38 b85a868b505f: Pull complete 18:53:38 e2be974225ed: Pull complete 18:53:38 339a4e72a1f5: Pull complete 18:53:38 988bab9f4d93: Pull complete 18:53:39 1469e6f7b9e6: Pull complete 18:53:39 eaf3925da568: Pull complete 18:53:41 bab4dde63d76: Pull complete 18:53:41 bde34c3a00c8: Pull complete 18:53:41 b352a97aabf1: Pull complete 18:53:41 4872d77fe225: Pull complete 18:53:41 5851b861e8e6: Pull complete 18:53:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:53:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:53:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:41 prd-ubuntu20.04-docker-8c-8g-12228 does not seem to be running inside a container 18:53:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:53:43 $ docker top 7843d0ef50548ef2346cb8f8eee31ed47b5f4f0fd875dc299029b36745f2b3ed -eo pid,comm 18:53:43 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). 18:53:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:53:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:53:43 [ssh-agent] Looking for ssh-agent implementation... 18:53:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:53:44 $ docker exec 7843d0ef50548ef2346cb8f8eee31ed47b5f4f0fd875dc299029b36745f2b3ed ssh-agent 18:53:44 SSH_AUTH_SOCK=/tmp/ssh-Mhseool9kWdk/agent.33 18:53:44 SSH_AGENT_PID=39 18:53:44 Running ssh-add (command line suppressed) 18:53:44 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9854346164548332172.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9854346164548332172.key) 18:53:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:53:44 + git tag --points-at HEAD [Pipeline] } 18:53:44 $ docker exec --env ******** --env ******** 7843d0ef50548ef2346cb8f8eee31ed47b5f4f0fd875dc299029b36745f2b3ed ssh-agent -k 18:53:44 unset SSH_AUTH_SOCK; 18:53:44 unset SSH_AGENT_PID; 18:53:44 echo Agent pid 39 killed; 18:53:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:53:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:53:44 [ssh-agent] Looking for ssh-agent implementation... 18:53:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:53:44 $ docker exec 7843d0ef50548ef2346cb8f8eee31ed47b5f4f0fd875dc299029b36745f2b3ed ssh-agent 18:53:45 SSH_AUTH_SOCK=/tmp/ssh-IMIzbhLL5pxk/agent.72 18:53:45 SSH_AGENT_PID=78 18:53:45 Running ssh-add (command line suppressed) 18:53:45 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2137996850776264590.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2137996850776264590.key) 18:53:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:53:45 + git semver init 18:53:45 2023-05-01 18:53:45,618 [run_init] DEBUG init version:0.0.0 force:False 18:53:45 2023-05-01 18:53:45,619 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 18:53:45 2023-05-01 18:53:45,619 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 18:53:45 2023-05-01 18:53:45,620 [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) 18:53:46 2023-05-01 18:53:46,531 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 18:53:46 2023-05-01 18:53:46,531 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 18:53:46 2023-05-01 18:53:46,532 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:53:46 2023-05-01 18:53:46,532 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:53:46 3.0.0-dev.35 [Pipeline] } 18:53:46 $ docker exec --env ******** --env ******** 7843d0ef50548ef2346cb8f8eee31ed47b5f4f0fd875dc299029b36745f2b3ed ssh-agent -k 18:53:46 unset SSH_AUTH_SOCK; 18:53:46 unset SSH_AGENT_PID; 18:53:46 echo Agent pid 78 killed; 18:53:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:53:47 + git semver [Pipeline] } 18:53:47 $ docker stop --time=1 7843d0ef50548ef2346cb8f8eee31ed47b5f4f0fd875dc299029b36745f2b3ed 18:53:48 $ docker rm -f --volumes 7843d0ef50548ef2346cb8f8eee31ed47b5f4f0fd875dc299029b36745f2b3ed [Pipeline] // withDockerContainer [Pipeline] sh 18:53:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:53:49 Stashed 1 file(s) [Pipeline] echo 18:53:49 [edgeXSemver]: initialized semver on version 3.0.0-dev.35 [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 18:53:49 provisioning config files... 18:53:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12038228151074188457tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:53:49 ---> docker-login.sh 18:53:49 nexus3.edgexfoundry.org:10001 18:53:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:49 Configure a credential helper to remove this warning. See 18:53:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:49 18:53:49 Login Succeeded 18:53:49 nexus3.edgexfoundry.org:10002 18:53:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:49 Configure a credential helper to remove this warning. See 18:53:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:49 18:53:49 Login Succeeded 18:53:49 nexus3.edgexfoundry.org:10003 18:53:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:49 Configure a credential helper to remove this warning. See 18:53:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:49 18:53:49 Login Succeeded 18:53:49 nexus3.edgexfoundry.org:10004 18:53:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:49 Configure a credential helper to remove this warning. See 18:53:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:49 18:53:49 Login Succeeded 18:53:49 docker.io 18:53:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:50 Configure a credential helper to remove this warning. See 18:53:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:50 18:53:50 Login Succeeded 18:53:50 ---> docker-login.sh ends [Pipeline] } 18:53:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:53:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:53:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:53:50 ========================================================= 18:53:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:53:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:50 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:53:50 Sending build context to Docker daemon 21.41MB 18:53:50 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 18:53:50 Step 2/13 : FROM ${BASE} AS builder 18:53:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:53:50 f56be85fc22e: Pulling fs layer 18:53:50 85791d961cd3: Pulling fs layer 18:53:50 d694b5ae8c79: Pulling fs layer 18:53:50 9f32a84ed3da: Pulling fs layer 18:53:50 4d19c01a9841: Pulling fs layer 18:53:50 9325e15d5711: Pulling fs layer 18:53:50 556b6ee489ea: Pulling fs layer 18:53:50 c5a4b2cf53e6: Pulling fs layer 18:53:50 9f32a84ed3da: Waiting 18:53:50 9325e15d5711: Waiting 18:53:50 556b6ee489ea: Waiting 18:53:50 4d19c01a9841: Waiting 18:53:50 c5a4b2cf53e6: Waiting 18:53:50 85791d961cd3: Verifying Checksum 18:53:50 85791d961cd3: Download complete 18:53:50 9f32a84ed3da: Verifying Checksum 18:53:50 9f32a84ed3da: Download complete 18:53:50 4d19c01a9841: Download complete 18:53:50 f56be85fc22e: Verifying Checksum 18:53:50 f56be85fc22e: Download complete 18:53:50 9325e15d5711: Verifying Checksum 18:53:50 9325e15d5711: Download complete 18:53:51 f56be85fc22e: Pull complete 18:53:51 85791d961cd3: Pull complete 18:53:51 c5a4b2cf53e6: Verifying Checksum 18:53:51 c5a4b2cf53e6: Download complete 18:53:51 d694b5ae8c79: Download complete 18:53:51 556b6ee489ea: Verifying Checksum 18:53:51 556b6ee489ea: Download complete 18:53:54 d694b5ae8c79: Pull complete 18:53:54 9f32a84ed3da: Pull complete 18:53:54 4d19c01a9841: Pull complete 18:53:54 9325e15d5711: Pull complete 18:53:57 556b6ee489ea: Pull complete 18:53:58 c5a4b2cf53e6: Pull complete 18:53:58 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 18:53:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:53:58 ---> c4be618373d6 18:53:58 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:54:01 ---> Running in 45a0d3dd7d1f 18:54:01 Removing intermediate container 45a0d3dd7d1f 18:54:01 ---> e186f7368976 18:54:01 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:54:01 ---> Running in 4cdd62fc375f 18:54:01 Removing intermediate container 4cdd62fc375f 18:54:01 ---> d9749665e389 18:54:01 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 18:54:01 ---> Running in 221d6033b7eb 18:54:01 Removing intermediate container 221d6033b7eb 18:54:01 ---> 2d7801264fc1 18:54:01 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 18:54:01 ---> Running in 9204e412ca87 18:54:01 Removing intermediate container 9204e412ca87 18:54:01 ---> 81f61125f812 18:54:01 Step 7/13 : LABEL Name=edgex-device-onvif-camera 18:54:01 ---> Running in e4a83fc5aaed 18:54:01 Removing intermediate container e4a83fc5aaed 18:54:01 ---> fa4868e29839 18:54:01 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:54:01 ---> Running in 47ea29c3a939 18:54:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:54:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:54:02 OK: 265 MiB in 53 packages 18:54:02 Removing intermediate container 47ea29c3a939 18:54:02 ---> ac140f7b932b 18:54:02 Step 9/13 : WORKDIR /device-onvif-camera 18:54:02 ---> Running in 1e803541f068 18:54:03 Removing intermediate container 1e803541f068 18:54:03 ---> 58212c221d64 18:54:03 Step 10/13 : COPY go.mod vendor* ./ 18:54:03 ---> e61db887ff6d 18:54:03 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:54:03 ---> Running in d8c5761d8cab 18:54:04 Still waiting to schedule task 18:54:04 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:54:30 Removing intermediate container d8c5761d8cab 18:54:30 ---> cbe7ee335f84 18:54:30 Step 12/13 : COPY . . 18:54:30 ---> 903c9e5d33a5 18:54:30 Step 13/13 : RUN ${MAKE} 18:54:30 ---> Running in 0f1af7c4f7ac 18:54:30 noop 18:54:30 Removing intermediate container 0f1af7c4f7ac 18:54:30 ---> 1f21d7828787 18:54:30 Successfully built 1f21d7828787 18:54:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:30 + docker inspect -f . ci-base-image-x86_64 18:54:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:30 prd-ubuntu20.04-docker-8c-8g-12228 does not seem to be running inside a container 18:54:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:54:31 $ docker top b63cb09e56e3e0f5b90fd67bbefc7a87d08e092e8a414320cc38310bdd76e833 -eo pid,comm [Pipeline] { [Pipeline] sh 18:54:31 + go version 18:54:31 go version go1.20.2 linux/amd64 [Pipeline] } 18:54:31 $ docker stop --time=1 b63cb09e56e3e0f5b90fd67bbefc7a87d08e092e8a414320cc38310bdd76e833 18:54:32 $ docker rm -f --volumes b63cb09e56e3e0f5b90fd67bbefc7a87d08e092e8a414320cc38310bdd76e833 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:33 + docker inspect -f . ci-base-image-x86_64 18:54:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:33 prd-ubuntu20.04-docker-8c-8g-12228 does not seem to be running inside a container 18:54:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:54:33 $ docker top 71325a21c85683199ca07238b223493ffc0de276f57ad386af612d256f70cfa0 -eo pid,comm [Pipeline] { [Pipeline] sh 18:54:33 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 18:54:34 + make test 18:54:34 go test ./... -coverprofile=coverage.out ./... 18:54:39 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:54:49 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:54:49 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:54:51 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.040s coverage: 31.6% of statements 18:54:51 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.131s coverage: 86.5% of statements 18:55:00 go vet ./... 18:55:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:55:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:55:03 ./bin/test-attribution-txt.sh [Pipeline] echo 18:55:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:55:03 $ docker stop --time=1 71325a21c85683199ca07238b223493ffc0de276f57ad386af612d256f70cfa0 18:55:06 $ docker rm -f --volumes 71325a21c85683199ca07238b223493ffc0de276f57ad386af612d256f70cfa0 [Pipeline] // withDockerContainer [Pipeline] sh 18:55:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:55:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:55:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:55:07 + ls -al . 18:55:07 total 232 18:55:07 drwxrwxr-x 10 jenkins jenkins 4096 May 1 18:54 . 18:55:07 drwxrwxr-x 4 jenkins jenkins 4096 May 1 18:53 .. 18:55:07 drwxrwxr-x 8 jenkins jenkins 4096 May 1 18:53 .git 18:55:07 drwxrwxr-x 3 jenkins jenkins 4096 May 1 18:53 .github 18:55:07 -rw-rw-r-- 1 jenkins jenkins 496 May 1 18:53 .gitignore 18:55:07 -rw-rw-r-- 1 jenkins jenkins 42 May 1 18:53 .golangci.yml 18:55:07 drwxr-xr-x 3 jenkins jenkins 4096 May 1 18:53 .semver 18:55:07 -rw-rw-r-- 1 jenkins jenkins 9861 May 1 18:53 Attribution.txt 18:55:07 -rw-rw-r-- 1 jenkins jenkins 6312 May 1 18:53 CHANGELOG.md 18:55:07 -rw-rw-r-- 1 jenkins jenkins 1574 May 1 18:53 Dockerfile 18:55:07 -rw-rw-r-- 1 jenkins jenkins 677 May 1 18:53 GOVERNANCE.md 18:55:07 -rw-rw-r-- 1 jenkins jenkins 734 May 1 18:53 Jenkinsfile 18:55:07 -rw-rw-r-- 1 jenkins jenkins 11348 May 1 18:53 LICENSE 18:55:07 -rw-rw-r-- 1 jenkins jenkins 2751 May 1 18:53 Makefile 18:55:07 -rw-rw-r-- 1 jenkins jenkins 625 May 1 18:53 OWNERS.md 18:55:07 -rw-rw-r-- 1 jenkins jenkins 2591 May 1 18:53 README.md 18:55:07 -rw-rw-r-- 1 jenkins jenkins 12 May 1 18:53 VERSION 18:55:07 drwxrwxr-x 2 jenkins jenkins 4096 May 1 18:53 bin 18:55:07 drwxrwxr-x 3 jenkins jenkins 4096 May 1 18:53 cmd 18:55:07 -rw-r--r-- 1 jenkins jenkins 78922 May 1 18:54 coverage.out 18:55:07 drwxrwxr-x 4 jenkins jenkins 4096 May 1 18:53 doc 18:55:07 -rw-rw-r-- 1 jenkins jenkins 3557 May 1 18:53 go.mod 18:55:07 -rw-rw-r-- 1 jenkins jenkins 32947 May 1 18:53 go.sum 18:55:07 drwxrwxr-x 4 jenkins jenkins 4096 May 1 18:53 internal 18:55:07 drwxrwxr-x 4 jenkins jenkins 4096 May 1 18:53 snap 18:55:07 -rw-rw-r-- 1 jenkins jenkins 236 May 1 18:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:07 + 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=ca50ff0226266dec6d343d3687e79f892dd3f78d --label arch=amd64 --label version=3.0.0-dev.35 . 18:55:07 Sending build context to Docker daemon 21.49MB 18:55:07 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 18:55:07 Step 2/26 : FROM ${BASE} AS builder 18:55:07 ---> 1f21d7828787 18:55:07 Step 3/26 : ARG ADD_BUILD_TAGS="" 18:55:08 ---> Running in d8c300f2b553 18:55:08 Removing intermediate container d8c300f2b553 18:55:08 ---> 095662d9ac63 18:55:08 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:55:08 ---> Running in ba41e49fb4f4 18:55:08 Removing intermediate container ba41e49fb4f4 18:55:08 ---> 9ed44fc2dc0e 18:55:08 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 18:55:08 ---> Running in 1afeda33342c 18:55:08 Removing intermediate container 1afeda33342c 18:55:08 ---> 97f83e459590 18:55:08 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 18:55:08 ---> Running in 204248c8fe0e 18:55:08 Removing intermediate container 204248c8fe0e 18:55:08 ---> 994fd8e3b2d6 18:55:08 Step 7/26 : LABEL Name=edgex-device-onvif-camera 18:55:08 ---> Running in 51624900ff5e 18:55:08 Removing intermediate container 51624900ff5e 18:55:08 ---> 40d47e26b172 18:55:08 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:55:08 ---> Running in d54490c73ee3 18:55:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:55:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:55:09 OK: 265 MiB in 53 packages 18:55:09 Removing intermediate container d54490c73ee3 18:55:09 ---> e65717727265 18:55:09 Step 9/26 : WORKDIR /device-onvif-camera 18:55:09 ---> Running in 3821a907312d 18:55:09 Removing intermediate container 3821a907312d 18:55:09 ---> 3056d2b18e83 18:55:09 Step 10/26 : COPY go.mod vendor* ./ 18:55:09 ---> 5918abb21369 18:55:09 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:55:09 ---> Running in a6608c1e5b0b 18:55:10 Removing intermediate container a6608c1e5b0b 18:55:10 ---> e677cfc2911f 18:55:10 Step 12/26 : COPY . . 18:55:11 ---> e8cbcc356d23 18:55:11 Step 13/26 : RUN ${MAKE} 18:55:11 ---> Running in e23fc56ceb13 18:55:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.35" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 18:55:33 Removing intermediate container e23fc56ceb13 18:55:33 ---> ad9725dfdf87 18:55:33 Step 14/26 : FROM alpine:3.17 18:55:33 3.17: Pulling from library/alpine 18:55:33 f56be85fc22e: Already exists 18:55:33 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:55:33 Status: Downloaded newer image for alpine:3.17 18:55:33 ---> 9ed4aefc74f6 18:55:33 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:55:33 ---> Running in ad9d6318e071 18:55:33 Removing intermediate container ad9d6318e071 18:55:33 ---> 4b19fb301fe0 18:55:33 Step 16/26 : RUN apk add --update --no-cache dumb-init 18:55:33 ---> Running in 4e3c26b16398 18:55:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:55:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:55:33 (1/1) Installing dumb-init (1.2.5-r2) 18:55:33 Executing busybox-1.35.0-r29.trigger 18:55:33 OK: 7 MiB in 16 packages 18:55:33 Removing intermediate container 4e3c26b16398 18:55:33 ---> 3f7acae1d30a 18:55:33 Step 17/26 : WORKDIR / 18:55:33 ---> Running in d31116f2eeb2 18:55:33 Removing intermediate container d31116f2eeb2 18:55:33 ---> abb5a8c925f9 18:55:33 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:55:33 ---> 72ef27c9d213 18:55:33 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:55:33 ---> 2e90a5e538b4 18:55:33 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:55:34 ---> d897732aab8d 18:55:34 Step 21/26 : EXPOSE 59984 18:55:34 ---> Running in 63e7196849ae 18:55:34 Removing intermediate container 63e7196849ae 18:55:34 ---> c1e2db151f76 18:55:34 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:55:34 ---> Running in aaffc34fcaf9 18:55:34 Removing intermediate container aaffc34fcaf9 18:55:34 ---> 9fd8ec12a877 18:55:34 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:55:34 ---> Running in 9355011bdc87 18:55:34 Removing intermediate container 9355011bdc87 18:55:34 ---> 95114db1ccb7 18:55:34 Step 24/26 : LABEL arch=amd64 18:55:34 ---> Running in ef0cbf2fc685 18:55:34 Removing intermediate container ef0cbf2fc685 18:55:34 ---> ffc3ac546a82 18:55:34 Step 25/26 : LABEL git_sha=ca50ff0226266dec6d343d3687e79f892dd3f78d 18:55:34 ---> Running in 9acc0941866d 18:55:34 Removing intermediate container 9acc0941866d 18:55:34 ---> 1aeed3d40fa7 18:55:34 Step 26/26 : LABEL version=3.0.0-dev.35 18:55:34 ---> Running in b6bd55d6ea56 18:55:34 Removing intermediate container b6bd55d6ea56 18:55:34 ---> 7421b9f36edd 18:55:34 [Warning] One or more build-args [ARCH] were not consumed 18:55:34 Successfully built 7421b9f36edd 18:55:34 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 18:55:34 provisioning config files... 18:55:34 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10481194989873693016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:34 ---> docker-login.sh 18:55:34 nexus3.edgexfoundry.org:10001 18:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:34 Configure a credential helper to remove this warning. See 18:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:34 18:55:34 Login Succeeded 18:55:34 nexus3.edgexfoundry.org:10002 18:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:34 Configure a credential helper to remove this warning. See 18:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:34 18:55:34 Login Succeeded 18:55:34 nexus3.edgexfoundry.org:10003 18:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:35 Configure a credential helper to remove this warning. See 18:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:35 18:55:35 Login Succeeded 18:55:35 nexus3.edgexfoundry.org:10004 18:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:35 Configure a credential helper to remove this warning. See 18:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:35 18:55:35 Login Succeeded 18:55:35 docker.io 18:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:35 Configure a credential helper to remove this warning. See 18:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:35 18:55:35 Login Succeeded 18:55:35 ---> docker-login.sh ends [Pipeline] } 18:55:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:55:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:55:35 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 18:55:35 ca50ff0226266dec6d343d3687e79f892dd3f78d 18:55:35 latest 18:55:35 3.0.0-dev.35 18:55:35 ca50ff0226266dec6d343d3687e79f892dd3f78d-3.0.0-dev.35 18:55:35 main 18:55:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:35 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:ca50ff0226266dec6d343d3687e79f892dd3f78d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:36 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:ca50ff0226266dec6d343d3687e79f892dd3f78d 18:55:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:55:36 286aab1ccaf3: Preparing 18:55:36 a49501e81c9d: Preparing 18:55:36 ec7f55c1781f: Preparing 18:55:36 e8dfa8781170: Preparing 18:55:36 f1417ff83b31: Preparing 18:55:36 f1417ff83b31: Layer already exists 18:55:36 a49501e81c9d: Pushed 18:55:36 286aab1ccaf3: Pushed 18:55:36 e8dfa8781170: Pushed 18:55:39 ec7f55c1781f: Pushed 18:55:39 ca50ff0226266dec6d343d3687e79f892dd3f78d: digest: sha256:669dc3d4835d6dfe1fe373d5dc02f5f7a673b25726b190378d68187d6c4ae503 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:39 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:40 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 18:55:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:55:40 286aab1ccaf3: Preparing 18:55:40 a49501e81c9d: Preparing 18:55:40 ec7f55c1781f: Preparing 18:55:40 e8dfa8781170: Preparing 18:55:40 f1417ff83b31: Preparing 18:55:40 a49501e81c9d: Layer already exists 18:55:40 286aab1ccaf3: Layer already exists 18:55:40 e8dfa8781170: Layer already exists 18:55:40 ec7f55c1781f: Layer already exists 18:55:40 f1417ff83b31: Layer already exists 18:55:40 latest: digest: sha256:669dc3d4835d6dfe1fe373d5dc02f5f7a673b25726b190378d68187d6c4ae503 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:40 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:40 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.35 18:55:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:55:40 286aab1ccaf3: Preparing 18:55:40 a49501e81c9d: Preparing 18:55:40 ec7f55c1781f: Preparing 18:55:40 e8dfa8781170: Preparing 18:55:40 f1417ff83b31: Preparing 18:55:40 286aab1ccaf3: Layer already exists 18:55:40 e8dfa8781170: Layer already exists 18:55:40 ec7f55c1781f: Layer already exists 18:55:40 f1417ff83b31: Layer already exists 18:55:40 a49501e81c9d: Layer already exists 18:55:40 3.0.0-dev.35: digest: sha256:669dc3d4835d6dfe1fe373d5dc02f5f7a673b25726b190378d68187d6c4ae503 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:41 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:ca50ff0226266dec6d343d3687e79f892dd3f78d-3.0.0-dev.35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:41 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:ca50ff0226266dec6d343d3687e79f892dd3f78d-3.0.0-dev.35 18:55:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:55:41 286aab1ccaf3: Preparing 18:55:41 a49501e81c9d: Preparing 18:55:41 ec7f55c1781f: Preparing 18:55:41 e8dfa8781170: Preparing 18:55:41 f1417ff83b31: Preparing 18:55:41 f1417ff83b31: Layer already exists 18:55:41 e8dfa8781170: Layer already exists 18:55:41 a49501e81c9d: Layer already exists 18:55:41 286aab1ccaf3: Layer already exists 18:55:41 ec7f55c1781f: Layer already exists 18:55:41 ca50ff0226266dec6d343d3687e79f892dd3f78d-3.0.0-dev.35: digest: sha256:669dc3d4835d6dfe1fe373d5dc02f5f7a673b25726b190378d68187d6c4ae503 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:41 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:41 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 18:55:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:55:41 286aab1ccaf3: Preparing 18:55:41 a49501e81c9d: Preparing 18:55:41 ec7f55c1781f: Preparing 18:55:41 e8dfa8781170: Preparing 18:55:41 f1417ff83b31: Preparing 18:55:41 a49501e81c9d: Layer already exists 18:55:41 f1417ff83b31: Layer already exists 18:55:41 286aab1ccaf3: Layer already exists 18:55:41 e8dfa8781170: Layer already exists 18:55:41 ec7f55c1781f: Layer already exists 18:55:41 main: digest: sha256:669dc3d4835d6dfe1fe373d5dc02f5f7a673b25726b190378d68187d6c4ae503 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:55:41 ===================================================== [Pipeline] echo 18:55:41 taggedImages: 18:55:41 - nexus3.edgexfoundry.org:10004/device-onvif-camera:ca50ff0226266dec6d343d3687e79f892dd3f78d 18:55:41 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 18:55:41 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.35 18:55:41 - nexus3.edgexfoundry.org:10004/device-onvif-camera:ca50ff0226266dec6d343d3687e79f892dd3f78d-3.0.0-dev.35 18:55:41 - 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 18:55:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:42 18:55:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:42 latest: Pulling from edgex-lftools-log-publisher 18:55:42 5eb5b503b376: Pulling fs layer 18:55:42 5c69ac0246d0: Pulling fs layer 18:55:42 ec43610c2a17: Pulling fs layer 18:55:42 3a2ae6a8a46f: Pulling fs layer 18:55:42 33b1e0a273af: Pulling fs layer 18:55:42 5d3b04190fa2: Pulling fs layer 18:55:42 2f39f015ded8: Pulling fs layer 18:55:42 33b1e0a273af: Waiting 18:55:42 5d3b04190fa2: Waiting 18:55:42 2f39f015ded8: Waiting 18:55:42 3a2ae6a8a46f: Waiting 18:55:42 5c69ac0246d0: Download complete 18:55:42 3a2ae6a8a46f: Verifying Checksum 18:55:42 3a2ae6a8a46f: Download complete 18:55:42 33b1e0a273af: Verifying Checksum 18:55:42 33b1e0a273af: Download complete 18:55:42 5d3b04190fa2: Download complete 18:55:42 ec43610c2a17: Download complete 18:55:42 5eb5b503b376: Download complete 18:55:43 2f39f015ded8: Verifying Checksum 18:55:44 5eb5b503b376: Pull complete 18:55:44 5c69ac0246d0: Pull complete 18:55:44 ec43610c2a17: Pull complete 18:55:44 3a2ae6a8a46f: Pull complete 18:55:45 33b1e0a273af: Pull complete 18:55:45 5d3b04190fa2: Pull complete 18:55:50 2f39f015ded8: Pull complete 18:55:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:55:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:50 prd-ubuntu20.04-docker-8c-8g-12228 does not seem to be running inside a container 18:55:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:55:52 $ docker top eed0c6d7cb042fa66d9ea74d95685acfbd1be3d4805ea0535b0e5eebbfd10ee7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:53 ---> job-cost.sh 18:55:53 lf-activate-venv: SKIPPING 18:55:53 INFO: No Stack... 18:55:53 INFO: Retrieving Pricing Info for: v3-standard-8 18:55:53 INFO: Archiving Costs [Pipeline] sh 18:55:53 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 18:55:53 + cut -d, -f6 [Pipeline] lock 18:55:53 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-130-stack-cost] 18:55:53 Resource [jenkins-edgexfoundry-device-onvif-camera-main-130-stack-cost] did not exist. Created. 18:55:53 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-130-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:55:54 + echo total: 0.2199999988079071 [Pipeline] stash 18:55:54 Stashed 1 file(s) [Pipeline] } 18:55:54 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-130-stack-cost] [Pipeline] // lock [Pipeline] } 18:55:54 $ docker stop --time=1 eed0c6d7cb042fa66d9ea74d95685acfbd1be3d4805ea0535b0e5eebbfd10ee7 18:55:55 $ docker rm -f --volumes eed0c6d7cb042fa66d9ea74d95685acfbd1be3d4805ea0535b0e5eebbfd10ee7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:57:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12229 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 18:57:34 Running in /w/workspace/device-onvif-camera/130 [Pipeline] { [Pipeline] checkout 18:57:34 The recommended git tool is: git 18:57:41 using credential edgex-jenkins-ssh 18:57:41 Cloning the remote Git repository 18:57:41 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 18:57:41 > git init /w/workspace/device-onvif-camera/130 # timeout=10 18:57:41 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:57:41 > git --version # timeout=10 18:57:41 > git --version # 'git version 2.25.1' 18:57:41 using GIT_SSH to set credentials SSH Credentials for GitHub 18:57:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:57:44 Avoid second fetch 18:57:44 Checking out Revision ca50ff0226266dec6d343d3687e79f892dd3f78d (main) 18:57:43 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:57:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:57:44 > git config core.sparsecheckout # timeout=10 18:57:44 > git checkout -f ca50ff0226266dec6d343d3687e79f892dd3f78d # timeout=10 18:57:45 Commit message: "docs: remove docs (#305)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:57:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:57:46 % Total % Received % Xferd Average Speed Time Time Time Current 18:57:46 Dload Upload Total Spent Left Speed 18:57:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82264 0 --:--:-- --:--:-- --:--:-- 82264 [Pipeline] sh 18:57:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:57:47 + sudo tee /etc/docker/daemon.new 18:57:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:57:47 { 18:57:47 "registry-mirrors": [ 18:57:47 "https://nexus3.edgexfoundry.org:10001" 18:57:47 ], 18:57:47 "bip": "10.250.0.254/24", 18:57:47 "hosts": [ 18:57:47 "tcp://0.0.0.0:5555", 18:57:47 "unix:///var/run/docker.sock" 18:57:47 ], 18:57:47 "mtu": 1458, 18:57:47 "selinux-enabled": true, 18:57:47 "seccomp-profile": "/etc/docker/seccomp.json" 18:57:47 } [Pipeline] sh 18:57:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:57:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:58:06 provisioning config files... 18:58:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/130@tmp/config13690874829451658303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:58:07 ---> docker-login.sh 18:58:07 nexus3.edgexfoundry.org:10001 18:58:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:07 Configure a credential helper to remove this warning. See 18:58:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:07 18:58:07 Login Succeeded 18:58:07 nexus3.edgexfoundry.org:10002 18:58:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:08 Configure a credential helper to remove this warning. See 18:58:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:08 18:58:08 Login Succeeded 18:58:08 nexus3.edgexfoundry.org:10003 18:58:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:08 Configure a credential helper to remove this warning. See 18:58:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:08 18:58:08 Login Succeeded 18:58:08 nexus3.edgexfoundry.org:10004 18:58:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:08 Configure a credential helper to remove this warning. See 18:58:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:08 18:58:08 Login Succeeded 18:58:08 docker.io 18:58:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:09 Configure a credential helper to remove this warning. See 18:58:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:09 18:58:09 Login Succeeded 18:58:09 ---> docker-login.sh ends [Pipeline] } 18:58:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:58:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:58:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:58:09 ========================================================= 18:58:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:58:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:58:10 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:58:10 Sending build context to Docker daemon 14.12MB 18:58:10 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 18:58:10 Step 2/13 : FROM ${BASE} AS builder 18:58:11 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:58:11 c41833b44d91: Pulling fs layer 18:58:11 ed15518f5707: Pulling fs layer 18:58:11 feae8fd75edb: Pulling fs layer 18:58:11 242c74f7c9fa: Pulling fs layer 18:58:11 3cdef696dda3: Pulling fs layer 18:58:11 2ced38df9373: Pulling fs layer 18:58:11 58f1dce35555: Pulling fs layer 18:58:11 3cdef696dda3: Waiting 18:58:11 242c74f7c9fa: Waiting 18:58:11 2ced38df9373: Waiting 18:58:11 58f1dce35555: Waiting 18:58:11 ed15518f5707: Verifying Checksum 18:58:11 ed15518f5707: Download complete 18:58:11 242c74f7c9fa: Download complete 18:58:11 3cdef696dda3: Verifying Checksum 18:58:11 3cdef696dda3: Download complete 18:58:11 c41833b44d91: Verifying Checksum 18:58:11 c41833b44d91: Download complete 18:58:12 c41833b44d91: Pull complete 18:58:13 58f1dce35555: Verifying Checksum 18:58:13 58f1dce35555: Download complete 18:58:13 ed15518f5707: Pull complete 18:58:14 2ced38df9373: Verifying Checksum 18:58:14 2ced38df9373: Download complete 18:58:14 feae8fd75edb: Verifying Checksum 18:58:14 feae8fd75edb: Download complete 18:58:26 feae8fd75edb: Pull complete 18:58:26 242c74f7c9fa: Pull complete 18:58:26 3cdef696dda3: Pull complete 18:58:33 2ced38df9373: Pull complete 18:58:36 58f1dce35555: Pull complete 18:58:36 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 18:58:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:58:36 ---> fadd8f120f05 18:58:36 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:58:38 ---> Running in 6d080491cca5 18:58:38 Removing intermediate container 6d080491cca5 18:58:38 ---> fffbdf7cd1bd 18:58:38 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:58:38 ---> Running in bb4a4be6f4d6 18:58:38 Removing intermediate container bb4a4be6f4d6 18:58:38 ---> 68d6614526cd 18:58:38 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 18:58:39 ---> Running in 862aa4dc23e3 18:58:39 Removing intermediate container 862aa4dc23e3 18:58:39 ---> 0800f50a3000 18:58:39 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 18:58:39 ---> Running in 51022bbdf92f 18:58:39 Removing intermediate container 51022bbdf92f 18:58:39 ---> ac833ed010b7 18:58:39 Step 7/13 : LABEL Name=edgex-device-onvif-camera 18:58:39 ---> Running in e9c232ca34c4 18:58:39 Removing intermediate container e9c232ca34c4 18:58:39 ---> bc7381069f2e 18:58:39 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:58:40 ---> Running in fcc8a8229ed2 18:58:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:58:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:58:43 OK: 263 MiB in 53 packages 18:58:43 Removing intermediate container fcc8a8229ed2 18:58:43 ---> b332f54d3abe 18:58:43 Step 9/13 : WORKDIR /device-onvif-camera 18:58:44 ---> Running in cded03edf5e2 18:58:44 Removing intermediate container cded03edf5e2 18:58:44 ---> 863d4a9451db 18:58:44 Step 10/13 : COPY go.mod vendor* ./ 18:58:44 ---> 1403d9678bee 18:58:44 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:58:44 ---> Running in 74d1cb38a645 18:59:52 Removing intermediate container 74d1cb38a645 18:59:52 ---> 4c243956e5fd 18:59:52 Step 12/13 : COPY . . 18:59:52 ---> e0c490001b6b 18:59:52 Step 13/13 : RUN ${MAKE} 18:59:52 ---> Running in c06907dc9117 18:59:52 noop 18:59:52 Removing intermediate container c06907dc9117 18:59:52 ---> 3668fd8b19e6 18:59:52 Successfully built 3668fd8b19e6 18:59:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:53 + docker inspect -f . ci-base-image-arm64 18:59:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:59:53 prd-ubuntu20.04-docker-arm64-4c-16g-12229 does not seem to be running inside a container 18:59:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/130 -v /w/workspace/device-onvif-camera/130:/w/workspace/device-onvif-camera/130:rw,z -v /w/workspace/device-onvif-camera/130@tmp:/w/workspace/device-onvif-camera/130@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 18:59:54 $ docker top d0957e37bac9ee088d35ee8bc2f6a8c76034a102c79a2eae07f448759c0aa09b -eo pid,comm [Pipeline] { [Pipeline] sh 18:59:55 + go version 18:59:55 go version go1.20.2 linux/arm64 [Pipeline] } 18:59:55 $ docker stop --time=1 d0957e37bac9ee088d35ee8bc2f6a8c76034a102c79a2eae07f448759c0aa09b 18:59:59 $ docker rm -f --volumes d0957e37bac9ee088d35ee8bc2f6a8c76034a102c79a2eae07f448759c0aa09b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:00 + docker inspect -f . ci-base-image-arm64 19:00:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:00 prd-ubuntu20.04-docker-arm64-4c-16g-12229 does not seem to be running inside a container 19:00:00 $ 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/130 -v /w/workspace/device-onvif-camera/130:/w/workspace/device-onvif-camera/130:rw,z -v /w/workspace/device-onvif-camera/130@tmp:/w/workspace/device-onvif-camera/130@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 19:00:01 $ docker top e7cdfcf8cc2c36de1c3c1856a5c19fd4c0ada260eb5b1af01d066427d08a803b -eo pid,comm [Pipeline] { [Pipeline] sh 19:00:02 + git config --global --add safe.directory /w/workspace/device-onvif-camera/130 [Pipeline] fileExists [Pipeline] sh 19:00:02 + make test 19:00:02 go test ./... -coverprofile=coverage.out ./... 19:00:38 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:02:29 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:02:29 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:02:29 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.191s coverage: 31.6% of statements 19:02:51 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.832s coverage: 86.5% of statements 19:02:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:02:52 go vet ./... 19:03:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:03:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:03:19 ./bin/test-attribution-txt.sh [Pipeline] echo 19:03:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:03:19 $ docker stop --time=1 e7cdfcf8cc2c36de1c3c1856a5c19fd4c0ada260eb5b1af01d066427d08a803b 19:03:21 $ docker rm -f --volumes e7cdfcf8cc2c36de1c3c1856a5c19fd4c0ada260eb5b1af01d066427d08a803b [Pipeline] // withDockerContainer [Pipeline] sh 19:03:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:03:23 Warning: overwriting stash ‘coverage-report’ 19:03:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:03:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:03:24 + ls -al . 19:03:24 total 228 19:03:24 drwxrwxr-x 9 jenkins jenkins 4096 May 1 19:00 . 19:03:24 drwxrwxr-x 4 jenkins jenkins 4096 May 1 18:57 .. 19:03:24 drwxrwxr-x 8 jenkins jenkins 4096 May 1 18:57 .git 19:03:24 drwxrwxr-x 3 jenkins jenkins 4096 May 1 18:57 .github 19:03:24 -rw-rw-r-- 1 jenkins jenkins 496 May 1 18:57 .gitignore 19:03:24 -rw-rw-r-- 1 jenkins jenkins 42 May 1 18:57 .golangci.yml 19:03:24 -rw-rw-r-- 1 jenkins jenkins 9861 May 1 18:57 Attribution.txt 19:03:24 -rw-rw-r-- 1 jenkins jenkins 6312 May 1 18:57 CHANGELOG.md 19:03:24 -rw-rw-r-- 1 jenkins jenkins 1574 May 1 18:57 Dockerfile 19:03:24 -rw-rw-r-- 1 jenkins jenkins 677 May 1 18:57 GOVERNANCE.md 19:03:24 -rw-rw-r-- 1 jenkins jenkins 734 May 1 18:57 Jenkinsfile 19:03:24 -rw-rw-r-- 1 jenkins jenkins 11348 May 1 18:57 LICENSE 19:03:24 -rw-rw-r-- 1 jenkins jenkins 2751 May 1 18:57 Makefile 19:03:24 -rw-rw-r-- 1 jenkins jenkins 625 May 1 18:57 OWNERS.md 19:03:24 -rw-rw-r-- 1 jenkins jenkins 2591 May 1 18:57 README.md 19:03:24 -rw-rw-r-- 1 jenkins jenkins 12 May 1 18:53 VERSION 19:03:24 drwxrwxr-x 2 jenkins jenkins 4096 May 1 18:57 bin 19:03:24 drwxrwxr-x 3 jenkins jenkins 4096 May 1 18:57 cmd 19:03:24 -rw-r--r-- 1 jenkins jenkins 78922 May 1 19:02 coverage.out 19:03:24 drwxrwxr-x 4 jenkins jenkins 4096 May 1 18:57 doc 19:03:24 -rw-rw-r-- 1 jenkins jenkins 3557 May 1 18:57 go.mod 19:03:24 -rw-rw-r-- 1 jenkins jenkins 32947 May 1 18:57 go.sum 19:03:24 drwxrwxr-x 4 jenkins jenkins 4096 May 1 18:57 internal 19:03:24 drwxrwxr-x 4 jenkins jenkins 4096 May 1 18:57 snap 19:03:24 -rw-rw-r-- 1 jenkins jenkins 236 May 1 18:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:24 + 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=ca50ff0226266dec6d343d3687e79f892dd3f78d --label arch=arm64 --label version=3.0.0-dev.35 . 19:03:24 Sending build context to Docker daemon 14.2MB 19:03:25 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 19:03:25 Step 2/26 : FROM ${BASE} AS builder 19:03:25 ---> 3668fd8b19e6 19:03:25 Step 3/26 : ARG ADD_BUILD_TAGS="" 19:03:25 ---> Running in 7474697b084f 19:03:25 Removing intermediate container 7474697b084f 19:03:25 ---> 1b6d7ef14ba0 19:03:25 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:03:25 ---> Running in d5bd557cf02e 19:03:25 Removing intermediate container d5bd557cf02e 19:03:25 ---> bc53a45834e0 19:03:25 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 19:03:25 ---> Running in 784088a07775 19:03:26 Removing intermediate container 784088a07775 19:03:26 ---> 38ec64b11651 19:03:26 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 19:03:26 ---> Running in f1c02c60f1b5 19:03:26 Removing intermediate container f1c02c60f1b5 19:03:26 ---> 242e2353706d 19:03:26 Step 7/26 : LABEL Name=edgex-device-onvif-camera 19:03:26 ---> Running in 7145e42476fa 19:03:26 Removing intermediate container 7145e42476fa 19:03:26 ---> eba5b9c71768 19:03:26 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:03:26 ---> Running in ad59b246e56e 19:03:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:03:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:03:29 OK: 263 MiB in 53 packages 19:03:30 Removing intermediate container ad59b246e56e 19:03:30 ---> cc07a14c673d 19:03:30 Step 9/26 : WORKDIR /device-onvif-camera 19:03:30 ---> Running in 07aad8c5665f 19:03:30 Removing intermediate container 07aad8c5665f 19:03:30 ---> af2f319d35bb 19:03:30 Step 10/26 : COPY go.mod vendor* ./ 19:03:31 ---> 6e1322ede68f 19:03:31 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:03:31 ---> Running in 45287cb83fa5 19:03:35 Removing intermediate container 45287cb83fa5 19:03:35 ---> 925fefcace28 19:03:35 Step 12/26 : COPY . . 19:03:36 ---> 99d15bcfa7fd 19:03:36 Step 13/26 : RUN ${MAKE} 19:03:36 ---> Running in 7276c11e09aa 19:03:37 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.35" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 19:05:59 Removing intermediate container 7276c11e09aa 19:05:59 ---> 741f90037a6d 19:05:59 Step 14/26 : FROM alpine:3.17 19:05:59 3.17: Pulling from library/alpine 19:05:59 c41833b44d91: Already exists 19:05:59 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:05:59 Status: Downloaded newer image for alpine:3.17 19:05:59 ---> 51e60588ff2c 19:05:59 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:05:59 ---> Running in 5f7c1d3ddbaf 19:05:59 Removing intermediate container 5f7c1d3ddbaf 19:05:59 ---> 51ac88af5596 19:05:59 Step 16/26 : RUN apk add --update --no-cache dumb-init 19:05:59 ---> Running in 0b969db4c6a8 19:05:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:05:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:05:59 (1/1) Installing dumb-init (1.2.5-r2) 19:05:59 Executing busybox-1.35.0-r29.trigger 19:05:59 OK: 8 MiB in 16 packages 19:05:59 Removing intermediate container 0b969db4c6a8 19:05:59 ---> 66f161879462 19:05:59 Step 17/26 : WORKDIR / 19:05:59 ---> Running in ff39b8160a30 19:05:59 Removing intermediate container ff39b8160a30 19:05:59 ---> d526447258e2 19:05:59 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 19:05:59 ---> bc69e0b27714 19:05:59 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 19:05:59 ---> f18588231e07 19:05:59 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:05:59 ---> c332386b2609 19:05:59 Step 21/26 : EXPOSE 59984 19:05:59 ---> Running in d37b81b1d96d 19:05:59 Removing intermediate container d37b81b1d96d 19:05:59 ---> deeb57bad3eb 19:05:59 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 19:05:59 ---> Running in 1b4594cbf635 19:05:59 Removing intermediate container 1b4594cbf635 19:05:59 ---> 0672d221b518 19:05:59 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 19:05:59 ---> Running in abf94cad05f2 19:05:59 Removing intermediate container abf94cad05f2 19:05:59 ---> 7c1ab673c576 19:05:59 Step 24/26 : LABEL arch=arm64 19:05:59 ---> Running in 9054307810db 19:05:59 Removing intermediate container 9054307810db 19:05:59 ---> 8f8f955578c4 19:05:59 Step 25/26 : LABEL git_sha=ca50ff0226266dec6d343d3687e79f892dd3f78d 19:05:59 ---> Running in 4eaebe287989 19:05:59 Removing intermediate container 4eaebe287989 19:05:59 ---> 704e1cfd37d4 19:05:59 Step 26/26 : LABEL version=3.0.0-dev.35 19:05:59 ---> Running in 53556119d9f2 19:05:59 Removing intermediate container 53556119d9f2 19:05:59 ---> 771c1c830a58 19:05:59 [Warning] One or more build-args [ARCH] were not consumed 19:06:00 Successfully built 771c1c830a58 19:06:00 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 19:06:00 provisioning config files... 19:06:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/130@tmp/config12205513002821279396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:06:00 ---> docker-login.sh 19:06:00 nexus3.edgexfoundry.org:10001 19:06:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:06:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:06:00 Configure a credential helper to remove this warning. See 19:06:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:06:00 19:06:00 Login Succeeded 19:06:00 nexus3.edgexfoundry.org:10002 19:06:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:06:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:06:01 Configure a credential helper to remove this warning. See 19:06:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:06:01 19:06:01 Login Succeeded 19:06:01 nexus3.edgexfoundry.org:10003 19:06:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:06:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:06:01 Configure a credential helper to remove this warning. See 19:06:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:06:01 19:06:01 Login Succeeded 19:06:01 nexus3.edgexfoundry.org:10004 19:06:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:06:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:06:01 Configure a credential helper to remove this warning. See 19:06:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:06:01 19:06:01 Login Succeeded 19:06:01 docker.io 19:06:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:06:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:06:02 Configure a credential helper to remove this warning. See 19:06:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:06:02 19:06:02 Login Succeeded 19:06:02 ---> docker-login.sh ends [Pipeline] } 19:06:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:06:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:06:02 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 19:06:02 ca50ff0226266dec6d343d3687e79f892dd3f78d 19:06:02 latest 19:06:02 3.0.0-dev.35 19:06:02 ca50ff0226266dec6d343d3687e79f892dd3f78d-3.0.0-dev.35 19:06:02 main 19:06:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:02 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ca50ff0226266dec6d343d3687e79f892dd3f78d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:03 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ca50ff0226266dec6d343d3687e79f892dd3f78d 19:06:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 19:06:03 99743050e6d8: Preparing 19:06:03 db6c792c04d5: Preparing 19:06:03 ae1b67cd5966: Preparing 19:06:03 e1cc54785ff2: Preparing 19:06:03 26cbea5cba74: Preparing 19:06:03 26cbea5cba74: Layer already exists 19:06:03 e1cc54785ff2: Pushed 19:06:03 99743050e6d8: Pushed 19:06:03 db6c792c04d5: Pushed 19:06:08 ae1b67cd5966: Pushed 19:06:08 ca50ff0226266dec6d343d3687e79f892dd3f78d: digest: sha256:6d3950eda8a4a64153bca405e20c34e386abb6f5ece0cf7103e591d05091e318 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:09 + 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 19:06:09 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 19:06:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 19:06:09 99743050e6d8: Preparing 19:06:09 db6c792c04d5: Preparing 19:06:09 ae1b67cd5966: Preparing 19:06:09 e1cc54785ff2: Preparing 19:06:09 26cbea5cba74: Preparing 19:06:09 26cbea5cba74: Layer already exists 19:06:09 99743050e6d8: Layer already exists 19:06:09 ae1b67cd5966: Layer already exists 19:06:09 db6c792c04d5: Layer already exists 19:06:09 e1cc54785ff2: Layer already exists 19:06:09 latest: digest: sha256:6d3950eda8a4a64153bca405e20c34e386abb6f5ece0cf7103e591d05091e318 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:09 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:10 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.35 19:06:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 19:06:10 99743050e6d8: Preparing 19:06:10 db6c792c04d5: Preparing 19:06:10 ae1b67cd5966: Preparing 19:06:10 e1cc54785ff2: Preparing 19:06:10 26cbea5cba74: Preparing 19:06:10 e1cc54785ff2: Layer already exists 19:06:10 ae1b67cd5966: Layer already exists 19:06:10 db6c792c04d5: Layer already exists 19:06:10 26cbea5cba74: Layer already exists 19:06:10 99743050e6d8: Layer already exists 19:06:10 3.0.0-dev.35: digest: sha256:6d3950eda8a4a64153bca405e20c34e386abb6f5ece0cf7103e591d05091e318 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:10 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ca50ff0226266dec6d343d3687e79f892dd3f78d-3.0.0-dev.35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:10 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ca50ff0226266dec6d343d3687e79f892dd3f78d-3.0.0-dev.35 19:06:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 19:06:10 99743050e6d8: Preparing 19:06:10 db6c792c04d5: Preparing 19:06:10 ae1b67cd5966: Preparing 19:06:10 e1cc54785ff2: Preparing 19:06:10 26cbea5cba74: Preparing 19:06:10 db6c792c04d5: Layer already exists 19:06:10 ae1b67cd5966: Layer already exists 19:06:10 26cbea5cba74: Layer already exists 19:06:10 e1cc54785ff2: Layer already exists 19:06:10 99743050e6d8: Layer already exists 19:06:10 ca50ff0226266dec6d343d3687e79f892dd3f78d-3.0.0-dev.35: digest: sha256:6d3950eda8a4a64153bca405e20c34e386abb6f5ece0cf7103e591d05091e318 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:11 + 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 19:06:11 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 19:06:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 19:06:11 99743050e6d8: Preparing 19:06:11 db6c792c04d5: Preparing 19:06:11 ae1b67cd5966: Preparing 19:06:11 e1cc54785ff2: Preparing 19:06:11 26cbea5cba74: Preparing 19:06:11 e1cc54785ff2: Layer already exists 19:06:11 99743050e6d8: Layer already exists 19:06:11 26cbea5cba74: Layer already exists 19:06:11 ae1b67cd5966: Layer already exists 19:06:11 db6c792c04d5: Layer already exists 19:06:11 main: digest: sha256:6d3950eda8a4a64153bca405e20c34e386abb6f5ece0cf7103e591d05091e318 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:06:11 ===================================================== [Pipeline] echo 19:06:11 taggedImages: 19:06:11 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ca50ff0226266dec6d343d3687e79f892dd3f78d 19:06:11 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 19:06:11 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.35 19:06:11 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ca50ff0226266dec6d343d3687e79f892dd3f78d-3.0.0-dev.35 19:06:11 - 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 19:06:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:06:12 19:06:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:06:12 arm64: Pulling from edgex-lftools-log-publisher 19:06:12 8998bd30e6a1: Pulling fs layer 19:06:12 04944245beec: Pulling fs layer 19:06:12 699f458cf7ca: Pulling fs layer 19:06:12 765212b225bb: Pulling fs layer 19:06:12 f23df028b6ca: Pulling fs layer 19:06:12 d65c8cfc05b1: Pulling fs layer 19:06:12 2437ff75d9bd: Pulling fs layer 19:06:12 765212b225bb: Waiting 19:06:12 f23df028b6ca: Waiting 19:06:12 d65c8cfc05b1: Waiting 19:06:12 2437ff75d9bd: Waiting 19:06:12 04944245beec: Verifying Checksum 19:06:12 04944245beec: Download complete 19:06:12 765212b225bb: Verifying Checksum 19:06:12 765212b225bb: Download complete 19:06:12 f23df028b6ca: Verifying Checksum 19:06:12 f23df028b6ca: Download complete 19:06:12 d65c8cfc05b1: Verifying Checksum 19:06:12 d65c8cfc05b1: Download complete 19:06:12 699f458cf7ca: Verifying Checksum 19:06:12 699f458cf7ca: Download complete 19:06:13 8998bd30e6a1: Verifying Checksum 19:06:13 8998bd30e6a1: Download complete 19:06:15 2437ff75d9bd: Verifying Checksum 19:06:15 2437ff75d9bd: Download complete 19:06:17 8998bd30e6a1: Pull complete 19:06:17 04944245beec: Pull complete 19:06:18 699f458cf7ca: Pull complete 19:06:19 765212b225bb: Pull complete 19:06:19 f23df028b6ca: Pull complete 19:06:19 d65c8cfc05b1: Pull complete 19:06:34 2437ff75d9bd: Pull complete 19:06:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:06:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:06:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:06:35 prd-ubuntu20.04-docker-arm64-4c-16g-12229 does not seem to be running inside a container 19:06:35 $ 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/130 -v /w/workspace/device-onvif-camera/130:/w/workspace/device-onvif-camera/130:rw,z -v /w/workspace/device-onvif-camera/130@tmp:/w/workspace/device-onvif-camera/130@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 19:06:37 $ docker top 762ff45b7734dce3ff3ec797f046db9a493f2582e9212ad02cd5f6b8fc64de51 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:06:38 ---> job-cost.sh 19:06:38 lf-activate-venv: SKIPPING 19:06:38 INFO: No Stack... 19:06:38 INFO: Retrieving Pricing Info for: v3-standard-4 19:06:39 INFO: Archiving Costs [Pipeline] sh 19:06:40 + cut -d, -f6 19:06:40 + cat /w/workspace/device-onvif-camera/130/archives/cost.csv [Pipeline] lock 19:06:40 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-130-stack-cost] 19:06:40 Resource [jenkins-edgexfoundry-device-onvif-camera-main-130-stack-cost] did not exist. Created. 19:06:40 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-130-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:06:40 /w/workspace/device-onvif-camera/130@tmp/durable-ab6a36ee/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:06:41 + echo total: 0.10999999940395355 [Pipeline] stash 19:06:41 Warning: overwriting stash ‘stack-cost’ 19:06:41 Stashed 1 file(s) [Pipeline] } 19:06:41 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-130-stack-cost] [Pipeline] // lock [Pipeline] } 19:06:41 $ docker stop --time=1 762ff45b7734dce3ff3ec797f046db9a493f2582e9212ad02cd5f6b8fc64de51 19:06:45 $ docker rm -f --volumes 762ff45b7734dce3ff3ec797f046db9a493f2582e9212ad02cd5f6b8fc64de51 [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 19:06:46 provisioning config files... 19:06:46 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1809990665150021836tmp [Pipeline] { [Pipeline] sh 19:06:46 + set +x 19:06:46 + bash -s -- 19:06:46 + curl -s https://codecov.io/bash 19:06:46 19:06:46 _____ _ 19:06:46 / ____| | | 19:06:46 | | ___ __| | ___ ___ _____ __ 19:06:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:06:46 | |___| (_) | (_| | __/ (_| (_) \ V / 19:06:46 \_____\___/ \__,_|\___|\___\___/ \_/ 19:06:46 Bash-1.0.6 19:06:46 19:06:46 19:06:46 ==> git version 2.25.1 found 19:06:46 ==> 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 19:06:46 Release-Date: 2020-01-08 19:06:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:06:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:06:46 ==> Jenkins CI detected. 19:06:46 current dir:  /w/workspace/foundry_device-onvif-camera_main 19:06:46 project root: . 19:06:46 --> token set from env 19:06:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:06:46 ==> Running gcov in . (disable via -X gcov) 19:06:46 ==> Python coveragepy not found 19:06:46 ==> Searching for coverage reports in: 19:06:46 + . 19:06:46 -> Found 1 reports 19:06:46 ==> Detecting git/mercurial file structure 19:06:46 ==> Reading reports 19:06:46 + ./coverage.out bytes=78922 19:06:46 ==> Appending adjustments 19:06:46 https://docs.codecov.io/docs/fixing-reports 19:06:46 + Found adjustments 19:06:46 ==> Gzipping contents 19:06:46 12K /tmp/codecov.B7VbnA.gz 19:06:46 ==> Uploading reports 19:06:46 url: https://codecov.io 19:06:46 query: branch=main&commit=ca50ff0226266dec6d343d3687e79f892dd3f78d&build=130&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F130%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 19:06:46 -> Pinging Codecov 19:06:46 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=ca50ff0226266dec6d343d3687e79f892dd3f78d&build=130&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F130%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 19:06:47 -> Uploading to 19:06:47 https://storage.googleapis.com/codecov/v4/raw/2023-05-01/F29A59C45E3A92E06B3E522C9905F8EF/ca50ff0226266dec6d343d3687e79f892dd3f78d/2317b019-4dec-405e-8e92-0a2c369a8bca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230501%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230501T190647Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=de0b9c4bb4f3947828d09863eb2d38fc72305fc03b044150d4aa482958344246 19:06:47 % Total % Received % Xferd Average Speed Time Time Time Current 19:06:47 Dload Upload Total Spent Left Speed 19:06:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10501 0 0 100 10501 0 41836 --:--:-- --:--:-- --:--:-- 41836 19:06:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/ca50ff0226266dec6d343d3687e79f892dd3f78d [Pipeline] } 19:06:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:06:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:06:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:06:47 19:06:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:06:48 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:06:48 df9b9388f04a: Pulling fs layer 19:06:48 52dc419b0ee2: Pulling fs layer 19:06:48 25bc292e5bac: Pulling fs layer 19:06:48 114826534d7a: Pulling fs layer 19:06:48 4657fd5d0bcf: Pulling fs layer 19:06:48 6ad1cebc031e: Pulling fs layer 19:06:48 8a3aa393b2d8: Pulling fs layer 19:06:48 4657fd5d0bcf: Waiting 19:06:48 8a3aa393b2d8: Waiting 19:06:48 114826534d7a: Waiting 19:06:48 6ad1cebc031e: Waiting 19:06:48 25bc292e5bac: Download complete 19:06:48 52dc419b0ee2: Download complete 19:06:48 4657fd5d0bcf: Verifying Checksum 19:06:48 4657fd5d0bcf: Download complete 19:06:48 df9b9388f04a: Verifying Checksum 19:06:48 df9b9388f04a: Download complete 19:06:48 6ad1cebc031e: Verifying Checksum 19:06:48 6ad1cebc031e: Download complete 19:06:48 df9b9388f04a: Pull complete 19:06:48 52dc419b0ee2: Pull complete 19:06:48 25bc292e5bac: Pull complete 19:06:48 114826534d7a: Download complete 19:06:48 8a3aa393b2d8: Verifying Checksum 19:06:48 8a3aa393b2d8: Download complete 19:06:53 114826534d7a: Pull complete 19:06:53 4657fd5d0bcf: Pull complete 19:06:53 6ad1cebc031e: Pull complete 19:06:55 8a3aa393b2d8: Pull complete 19:06:55 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 19:06:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:06:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:06:55 prd-ubuntu20.04-docker-8c-8g-12228 does not seem to be running inside a container 19:06:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 19:06:58 $ docker top 5f4099df171e510563a420548f6b46112f9c11c43b5553784ea887069f164fbb -eo pid,comm [Pipeline] { [Pipeline] echo 19:06:59 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 19:06:59 + set -o pipefail 19:06:59 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 19:07:04 19:07:04 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 19:07:04 19:07:04 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/9af8ae1d-58f3-4eeb-913d-58b85d48b600 19:07:04 19:07:04 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 19:07:04 19:07:04 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:07:04 19:07:04 19:07:04 A medium severity vulnerability was found in the Snyk CLI versions you are using. 19:07:04 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 19:07:04 More details here: https://snyk.co/ue1NS [Pipeline] } 19:07:04 $ docker stop --time=1 5f4099df171e510563a420548f6b46112f9c11c43b5553784ea887069f164fbb 19:07:07 $ docker rm -f --volumes 5f4099df171e510563a420548f6b46112f9c11c43b5553784ea887069f164fbb [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 19:07:07 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:07:07 provisioning config files... 19:07:07 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8860836723326008090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:07:08 --> edgex-publish-swagger.sh 19:07:08 === Publish doc/openapi/v2 API === 19:07:08 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 19:07:08 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 19:07:08 % Total % Received % Xferd Average Speed Time Time Time Current 19:07:08 Dload Upload Total Spent Left Speed 19:07:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 564k --:--:-- --:--:-- --:--:-- 563k 100 469k 0 0 100 469k 0 564k --:--:-- --:--:-- --:--:-- 563k 19:07:09 19:07:09 [Pipeline] } 19:07:09 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 19:07:09 + git log --format=format:%s -1 ca50ff0226266dec6d343d3687e79f892dd3f78d [Pipeline] sh 19:07:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:07:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:07:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:07:10 prd-ubuntu20.04-docker-8c-8g-12228 does not seem to be running inside a container 19:07:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:07:10 $ docker top 441a264a9cf1770abce3dd24422d4d00e2a0acf60700165c9bfe3e38b75f4af3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:07:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:07:10 [ssh-agent] Looking for ssh-agent implementation... 19:07:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:07:10 $ docker exec 441a264a9cf1770abce3dd24422d4d00e2a0acf60700165c9bfe3e38b75f4af3 ssh-agent 19:07:10 SSH_AUTH_SOCK=/tmp/ssh-wufVUSM5zB4O/agent.32 19:07:10 SSH_AGENT_PID=38 19:07:10 Running ssh-add (command line suppressed) 19:07:11 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_440507120949098390.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_440507120949098390.key) 19:07:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:07:11 + git semver tag 19:07:11 2023-05-01 19:07:11,545 [run_tag] DEBUG tag force:False 19:07:11 2023-05-01 19:07:11,545 [check_head_tag] DEBUG check head tag 19:07:11 2023-05-01 19:07:11,547 [execute] INFO git cat-file --batch-check 19:07:11 2023-05-01 19:07:11,548 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 19:07:11 2023-05-01 19:07:11,552 [execute] INFO git cat-file --batch 19:07:11 2023-05-01 19:07:11,552 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 19:07:11 2023-05-01 19:07:11,588 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:07:11 2023-05-01 19:07:11,588 [execute] INFO git tag -a v3.0.0-dev.35 -m v3.0.0-dev.35 19:07:11 2023-05-01 19:07:11,589 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.35', '-m', 'v3.0.0-dev.35'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 19:07:11 2023-05-01 19:07:11,594 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:07:11 3.0.0-dev.35 [Pipeline] } 19:07:11 $ docker exec --env ******** --env ******** 441a264a9cf1770abce3dd24422d4d00e2a0acf60700165c9bfe3e38b75f4af3 ssh-agent -k 19:07:11 unset SSH_AUTH_SOCK; 19:07:11 unset SSH_AGENT_PID; 19:07:11 echo Agent pid 38 killed; 19:07:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:07:12 + git semver [Pipeline] } 19:07:12 $ docker stop --time=1 441a264a9cf1770abce3dd24422d4d00e2a0acf60700165c9bfe3e38b75f4af3 19:07:13 $ docker rm -f --volumes 441a264a9cf1770abce3dd24422d4d00e2a0acf60700165c9bfe3e38b75f4af3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:07:13 19:07:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:07:14 0.23.1-centos7: Pulling from edgex-lftools 19:07:14 ab5ef0e58194: Pulling fs layer 19:07:14 9712f1f96733: Pulling fs layer 19:07:14 63f879dbbcfc: Pulling fs layer 19:07:14 0d9ebad4ef96: Pulling fs layer 19:07:14 e9a5061849ea: Pulling fs layer 19:07:14 d747dcd14b5f: Pulling fs layer 19:07:14 2de7ff778b66: Pulling fs layer 19:07:14 0d9ebad4ef96: Waiting 19:07:14 e9a5061849ea: Waiting 19:07:14 2de7ff778b66: Waiting 19:07:14 d747dcd14b5f: Waiting 19:07:14 9712f1f96733: Verifying Checksum 19:07:14 9712f1f96733: Download complete 19:07:14 63f879dbbcfc: Verifying Checksum 19:07:14 63f879dbbcfc: Download complete 19:07:14 0d9ebad4ef96: Verifying Checksum 19:07:14 0d9ebad4ef96: Download complete 19:07:14 e9a5061849ea: Verifying Checksum 19:07:14 e9a5061849ea: Download complete 19:07:14 d747dcd14b5f: Verifying Checksum 19:07:14 d747dcd14b5f: Download complete 19:07:14 ab5ef0e58194: Verifying Checksum 19:07:14 ab5ef0e58194: Download complete 19:07:14 2de7ff778b66: Verifying Checksum 19:07:14 2de7ff778b66: Download complete 19:07:18 ab5ef0e58194: Pull complete 19:07:18 9712f1f96733: Pull complete 19:07:18 63f879dbbcfc: Pull complete 19:07:22 0d9ebad4ef96: Pull complete 19:07:22 e9a5061849ea: Pull complete 19:07:22 d747dcd14b5f: Pull complete 19:07:23 2de7ff778b66: Pull complete 19:07:23 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:07:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:07:23 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:07:23 prd-ubuntu20.04-docker-8c-8g-12228 does not seem to be running inside a container 19:07:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 19:07:27 $ docker top ef00940aadd3ae9a688002f50ebd2889a5b96828887443aa445cab4b6097b415 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:07:27 provisioning config files... 19:07:27 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7139344991419702404tmp 19:07:27 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16178467461686111549tmp 19:07:27 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13146991185260695193tmp [Pipeline] { [Pipeline] echo 19:07:27 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:07:27 ---> sigul-configuration.sh 19:07:27 gpg: directory `/root/.gnupg' created 19:07:27 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:07:27 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:07:27 gpg: keyring `/root/.gnupg/secring.gpg' created 19:07:27 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:07:27 gpg: CAST5 encrypted data 19:07:27 gpg: encrypted with 1 passphrase 19:07:27 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:07:27 + mkdir /home/jenkins 19:07:27 + mkdir /home/jenkins/sigul [Pipeline] sh 19:07:28 + 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 19:07:28 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:07:28 ---> sigul-install.sh 19:07:28 Sigul already installed; skipping installation. [Pipeline] sh 19:07:28 + git tag --list 19:07:28 v0.0.0 19:07:28 v0.0.1-dev.1 19:07:28 v0.0.1-dev.10 19:07:28 v0.0.1-dev.11 19:07:28 v0.0.1-dev.12 19:07:28 v0.0.1-dev.13 19:07:28 v0.0.1-dev.14 19:07:28 v0.0.1-dev.15 19:07:28 v0.0.1-dev.16 19:07:28 v0.0.1-dev.17 19:07:28 v0.0.1-dev.18 19:07:28 v0.0.1-dev.19 19:07:28 v0.0.1-dev.2 19:07:28 v0.0.1-dev.20 19:07:28 v0.0.1-dev.21 19:07:28 v0.0.1-dev.22 19:07:28 v0.0.1-dev.23 19:07:28 v0.0.1-dev.24 19:07:28 v0.0.1-dev.25 19:07:28 v0.0.1-dev.26 19:07:28 v0.0.1-dev.27 19:07:28 v0.0.1-dev.28 19:07:28 v0.0.1-dev.3 19:07:28 v0.0.1-dev.4 19:07:28 v0.0.1-dev.5 19:07:28 v0.0.1-dev.6 19:07:28 v0.0.1-dev.7 19:07:28 v0.0.1-dev.8 19:07:28 v0.0.1-dev.9 19:07:28 v2.2.0 19:07:28 v2.2.0-dev.29 19:07:28 v2.2.0-dev.30 19:07:28 v2.2.0-dev.31 19:07:28 v2.2.0-dev.32 19:07:28 v2.2.0-dev.33 19:07:28 v2.2.0-dev.34 19:07:28 v2.2.0-dev.35 19:07:28 v2.3.0 19:07:28 v2.3.0-dev.1 19:07:28 v2.3.0-dev.10 19:07:28 v2.3.0-dev.11 19:07:28 v2.3.0-dev.12 19:07:28 v2.3.0-dev.13 19:07:28 v2.3.0-dev.14 19:07:28 v2.3.0-dev.15 19:07:28 v2.3.0-dev.16 19:07:28 v2.3.0-dev.17 19:07:28 v2.3.0-dev.18 19:07:28 v2.3.0-dev.19 19:07:28 v2.3.0-dev.2 19:07:28 v2.3.0-dev.20 19:07:28 v2.3.0-dev.21 19:07:28 v2.3.0-dev.22 19:07:28 v2.3.0-dev.23 19:07:28 v2.3.0-dev.24 19:07:28 v2.3.0-dev.25 19:07:28 v2.3.0-dev.26 19:07:28 v2.3.0-dev.27 19:07:28 v2.3.0-dev.28 19:07:28 v2.3.0-dev.29 19:07:28 v2.3.0-dev.3 19:07:28 v2.3.0-dev.30 19:07:28 v2.3.0-dev.31 19:07:28 v2.3.0-dev.32 19:07:28 v2.3.0-dev.33 19:07:28 v2.3.0-dev.34 19:07:28 v2.3.0-dev.35 19:07:28 v2.3.0-dev.36 19:07:28 v2.3.0-dev.37 19:07:28 v2.3.0-dev.38 19:07:28 v2.3.0-dev.39 19:07:28 v2.3.0-dev.4 19:07:28 v2.3.0-dev.40 19:07:28 v2.3.0-dev.41 19:07:28 v2.3.0-dev.42 19:07:28 v2.3.0-dev.43 19:07:28 v2.3.0-dev.44 19:07:28 v2.3.0-dev.45 19:07:28 v2.3.0-dev.5 19:07:28 v2.3.0-dev.6 19:07:28 v2.3.0-dev.7 19:07:28 v2.3.0-dev.8 19:07:28 v2.3.0-dev.9 19:07:28 v2.3.1 19:07:28 v2.3.1-dev.1 19:07:28 v2.3.1-dev.4 19:07:28 v2.3.1-dev.5 19:07:28 v3.0.0-dev.1 19:07:28 v3.0.0-dev.10 19:07:28 v3.0.0-dev.11 19:07:28 v3.0.0-dev.12 19:07:28 v3.0.0-dev.13 19:07:28 v3.0.0-dev.14 19:07:28 v3.0.0-dev.15 19:07:28 v3.0.0-dev.16 19:07:28 v3.0.0-dev.17 19:07:28 v3.0.0-dev.18 19:07:28 v3.0.0-dev.19 19:07:28 v3.0.0-dev.2 19:07:28 v3.0.0-dev.20 19:07:28 v3.0.0-dev.21 19:07:28 v3.0.0-dev.22 19:07:28 v3.0.0-dev.23 19:07:28 v3.0.0-dev.24 19:07:28 v3.0.0-dev.25 19:07:28 v3.0.0-dev.26 19:07:28 v3.0.0-dev.27 19:07:28 v3.0.0-dev.28 19:07:28 v3.0.0-dev.29 19:07:28 v3.0.0-dev.3 19:07:28 v3.0.0-dev.30 19:07:28 v3.0.0-dev.31 19:07:28 v3.0.0-dev.32 19:07:28 v3.0.0-dev.33 19:07:28 v3.0.0-dev.34 19:07:28 v3.0.0-dev.35 19:07:28 v3.0.0-dev.4 19:07:28 v3.0.0-dev.5 19:07:28 v3.0.0-dev.6 19:07:28 v3.0.0-dev.7 19:07:28 v3.0.0-dev.8 19:07:28 v3.0.0-dev.9 [Pipeline] sh 19:07:29 + lftools sign git-tag v3.0.0-dev.35 19:07:29 Signing Git tag with Sigul... 19:07:29 Signing v3.0.0-dev.35 [Pipeline] echo 19:07:29 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:07:30 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:07:30 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:07:30 $ docker stop --time=1 ef00940aadd3ae9a688002f50ebd2889a5b96828887443aa445cab4b6097b415 19:07:31 $ docker rm -f --volumes ef00940aadd3ae9a688002f50ebd2889a5b96828887443aa445cab4b6097b415 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 19:07:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:07:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:07:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:07:32 prd-ubuntu20.04-docker-8c-8g-12228 does not seem to be running inside a container 19:07:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:07:32 $ docker top 620944b38958b15bbb57ccf43b97d3059053198d17e850c769f28b49a330003f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:07:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:07:32 [ssh-agent] Looking for ssh-agent implementation... 19:07:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:07:32 $ docker exec 620944b38958b15bbb57ccf43b97d3059053198d17e850c769f28b49a330003f ssh-agent 19:07:33 SSH_AUTH_SOCK=/tmp/ssh-Q1HBy8RzY9cV/agent.32 19:07:33 SSH_AGENT_PID=39 19:07:33 Running ssh-add (command line suppressed) 19:07:33 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5654602093350729708.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5654602093350729708.key) 19:07:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:07:33 + git semver bump pre 19:07:33 2023-05-01 19:07:33,613 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:07:33 2023-05-01 19:07:33,613 [bump_version] DEBUG bumping version:3.0.0-dev.35 on axis:pre with prefix:dev 19:07:33 2023-05-01 19:07:33,613 [bump_version] DEBUG bumped version:3.0.0-dev.36 19:07:33 2023-05-01 19:07:33,613 [write_version] DEBUG write version:3.0.0-dev.36 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 19:07:33 2023-05-01 19:07:33,613 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:07:33 2023-05-01 19:07:33,613 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 19:07:33 2023-05-01 19:07:33,615 [execute] INFO git cat-file --batch-check 19:07:33 2023-05-01 19:07:33,615 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 19:07:33 2023-05-01 19:07:33,621 [execute] INFO git cat-file --batch 19:07:33 2023-05-01 19:07:33,621 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 19:07:33 2023-05-01 19:07:33,627 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:07:33 3.0.0-dev.36 [Pipeline] } 19:07:33 $ docker exec --env ******** --env ******** 620944b38958b15bbb57ccf43b97d3059053198d17e850c769f28b49a330003f ssh-agent -k 19:07:33 unset SSH_AUTH_SOCK; 19:07:33 unset SSH_AGENT_PID; 19:07:33 echo Agent pid 39 killed; 19:07:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:07:34 + git semver [Pipeline] } 19:07:34 $ docker stop --time=1 620944b38958b15bbb57ccf43b97d3059053198d17e850c769f28b49a330003f 19:07:35 $ docker rm -f --volumes 620944b38958b15bbb57ccf43b97d3059053198d17e850c769f28b49a330003f [Pipeline] // withDockerContainer [Pipeline] sh 19:07:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:07:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:07:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:07:36 prd-ubuntu20.04-docker-8c-8g-12228 does not seem to be running inside a container 19:07:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:07:36 $ docker top c3711237802570c35a73ec46e637a1522e2ae1a87221c53a8419f070ac221039 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:07:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:07:36 [ssh-agent] Looking for ssh-agent implementation... 19:07:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:07:37 $ docker exec c3711237802570c35a73ec46e637a1522e2ae1a87221c53a8419f070ac221039 ssh-agent 19:07:37 SSH_AUTH_SOCK=/tmp/ssh-yhvRC4XkrHNC/agent.31 19:07:37 SSH_AGENT_PID=37 19:07:37 Running ssh-add (command line suppressed) 19:07:37 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7427637025998789437.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7427637025998789437.key) 19:07:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:07:37 + git semver push 19:07:37 2023-05-01 19:07:37,693 [run_push] DEBUG push 19:07:37 2023-05-01 19:07:37,694 [execute] INFO git cat-file --batch-check 19:07:37 2023-05-01 19:07:37,694 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 19:07:37 2023-05-01 19:07:37,698 [execute] INFO git rev-list 1cd078c1e372d1ea742b699b98f6c1214de5a356 -- 19:07:37 2023-05-01 19:07:37,699 [execute] DEBUG Popen(['git', 'rev-list', '1cd078c1e372d1ea742b699b98f6c1214de5a356', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 19:07:37 2023-05-01 19:07:37,707 [execute] INFO git fetch -v origin 19:07:37 2023-05-01 19:07:37,707 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 19:07:38 2023-05-01 19:07:38,161 [run_push] DEBUG no remote changes detected 19:07:38 2023-05-01 19:07:38,161 [execute] INFO git push origin semver 19:07:38 2023-05-01 19:07:38,162 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 19:07:39 2023-05-01 19:07:39,061 [run_push] DEBUG push all version tags 19:07:39 2023-05-01 19:07:39,062 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 19:07:39 2023-05-01 19:07:39,062 [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) 19:07:39 2023-05-01 19:07:39,812 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:07:39 3.0.0-dev.36 [Pipeline] } 19:07:39 $ docker exec --env ******** --env ******** c3711237802570c35a73ec46e637a1522e2ae1a87221c53a8419f070ac221039 ssh-agent -k 19:07:39 unset SSH_AUTH_SOCK; 19:07:39 unset SSH_AGENT_PID; 19:07:39 echo Agent pid 37 killed; 19:07:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:07:40 + git semver [Pipeline] } 19:07:40 $ docker stop --time=1 c3711237802570c35a73ec46e637a1522e2ae1a87221c53a8419f070ac221039 19:07:41 $ docker rm -f --volumes c3711237802570c35a73ec46e637a1522e2ae1a87221c53a8419f070ac221039 [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 19:07:42 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 19:07:42 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 19:07:42 total 16 19:07:42 drwxr-xr-x 3 root root 4096 May 1 18:55 . 19:07:42 drwxrwxr-x 11 jenkins jenkins 4096 May 1 19:07 .. 19:07:42 drwxr-xr-x 2 root root 4096 May 1 18:55 cost 19:07:42 -rw-r--r-- 1 root root 91 May 1 18:55 cost.csv 19:07:42 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 19:07:42 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 19:07:42 total 16 19:07:42 drwxr-xr-x 3 jenkins jenkins 4096 May 1 18:55 . 19:07:42 drwxrwxr-x 11 jenkins jenkins 4096 May 1 19:07 .. 19:07:42 drwxr-xr-x 2 jenkins jenkins 4096 May 1 18:55 cost 19:07:42 -rw-r--r-- 1 jenkins jenkins 91 May 1 18:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:07:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:07:43 ---> package-listing.sh 19:07:43 ++ facter osfamily 19:07:43 ++ tr '[:upper:]' '[:lower:]' 19:07:43 + OS_FAMILY=debian 19:07:43 + workspace=/w/workspace/foundry_device-onvif-camera_main 19:07:43 + START_PACKAGES=/tmp/packages_start.txt 19:07:43 + END_PACKAGES=/tmp/packages_end.txt 19:07:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:07:43 + PACKAGES=/tmp/packages_start.txt 19:07:43 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 19:07:43 + PACKAGES=/tmp/packages_end.txt 19:07:43 + case "${OS_FAMILY}" in 19:07:43 + dpkg -l 19:07:43 + grep '^ii' 19:07:43 + '[' -f /tmp/packages_start.txt ']' 19:07:43 + '[' -f /tmp/packages_end.txt ']' 19:07:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:07:43 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 19:07:43 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 19:07:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 19:07:43 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 19:07:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:07:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:07:44 prd-ubuntu20.04-docker-8c-8g-12228 does not seem to be running inside a container 19:07:44 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:07:44 $ docker top 5262467adf1dab4cd77b9bb1592be79e7c1aa0ff9ece517a69061bacac636c06 -eo pid,comm [Pipeline] { [Pipeline] sh 19:07:45 + touch /tmp/pre-build-complete [Pipeline] sh 19:07:45 + mkdir -p /var/log/sysstat [Pipeline] sh 19:07:45 + ls /var/log/sa-host 19:07:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:07:45 provisioning config files... 19:07:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10714371893230582796tmp [Pipeline] { [Pipeline] echo 19:07:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:07:46 ---> create-netrc.sh [Pipeline] } 19:07:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:07:46 ---> python-tools-install.sh [Pipeline] echo 19:07:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:07:46 ---> sudo-logs.sh 19:07:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:07:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:07:47 ---> job-cost.sh 19:07:47 lf-activate-venv: SKIPPING 19:07:47 DEBUG: total: 0.2199999988079071 19:07:47 INFO: Retrieving Stack Cost... 19:07:47 INFO: Retrieving Pricing Info for: v3-standard-8 19:07:47 INFO: Archiving Costs [Pipeline] echo 19:07:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:07:48 ---> logs-deploy.sh 19:07:48 lf-activate-venv: SKIPPING 19:07:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/130 19:07:48 INFO: archiving workspace using pattern(s): 19:07:49 Archives upload complete. 19:07:49 INFO: archiving logs to Nexus