Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 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-ssh11815297723533599678.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh12190548087598221233.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh2420949214234085735.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh14809699587846124584.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-ssh2188652306394903398.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-10308 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 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Avoid second fetch Checking out Revision bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 (main) Commit message: "refactor: Remove obsolete comments from config file (#398)" > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 # timeout=10 > git rev-list --no-walk 5d050817de06d6b0801ca6267cf73807b76c60d2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:01:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:01:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:01:04 ========================================================= 22:01:04 EdgeX Global Pipelines Version Info 22:01:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:01:05 ------------------- 22:01:05 stable info: 22:01:05 ------------------- 22:01:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:01:05 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 22:01:05 Message: update stable to v1.0.254 22:01:05 ------------------- 22:01:05 experimental info: 22:01:05 ------------------- 22:01:05 Commited By: **** collab-it+edgex@linuxfoundation.org 22:01:05 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 22:01:05 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:01:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:01:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:01:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:01:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:01:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:01:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 22:01:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:01:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:01:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:01:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:01:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:01:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:01:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:01:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:01:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:01:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:01:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 22:01:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:01:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:01:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:01:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:01:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:01:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:01:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:01:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:01:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 [Pipeline] echo 22:01:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bf74ebf [Pipeline] echo 22:01:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:01:06 provisioning config files... 22:01:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7887773793842887744tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:01:06 ---> docker-login.sh 22:01:06 nexus3.edgexfoundry.org:10001 22:01:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:06 Configure a credential helper to remove this warning. See 22:01:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:06 22:01:06 Login Succeeded 22:01:06 nexus3.edgexfoundry.org:10002 22:01:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:06 Configure a credential helper to remove this warning. See 22:01:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:06 22:01:06 Login Succeeded 22:01:06 nexus3.edgexfoundry.org:10003 22:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:07 Configure a credential helper to remove this warning. See 22:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:07 22:01:07 Login Succeeded 22:01:07 nexus3.edgexfoundry.org:10004 22:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:07 Configure a credential helper to remove this warning. See 22:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:07 22:01:07 Login Succeeded 22:01:07 docker.io 22:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:07 Configure a credential helper to remove this warning. See 22:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:07 22:01:07 Login Succeeded 22:01:07 ---> docker-login.sh ends [Pipeline] } 22:01:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:01:07 + git rev-list -1 --merges bf74ebf12077028c42a990cb9f5eb3b4e8875dd7~1..bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 [Pipeline] echo 22:01:07 -----------> git rev-list -1 --merges bf74ebf12077028c42a990cb9f5eb3b4e8875dd7~1..bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 [false] [Pipeline] sh 22:01:08 + git log --format=format:%s -1 bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 [Pipeline] echo 22:01:08 ========================================================= 22:01:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:01:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:01:08 + git log --format=format:%s -1 bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 [Pipeline] echo 22:01:08 [semverPrep] GIT_COMMIT: bf74ebf12077028c42a990cb9f5eb3b4e8875dd7, Commit Message: refactor: Remove obsolete comments from config file (#398) [Pipeline] echo 22:01:08 [semverPrep] This is not a build commit. [Pipeline] sh 22:01:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:01:09 + grep -v github /etc/ssh/ssh_known_hosts 22:01:09 + [ -e /tmp/ssh_known_hosts ] 22:01:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:01:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:01:09 + sudo tee -a /etc/ssh/ssh_known_hosts 22:01:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:01:09 22:01:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:01:09 0.1.4: Pulling from edgex-devops/py-git-semver 22:01:09 b85a868b505f: Pulling fs layer 22:01:09 e2be974225ed: Pulling fs layer 22:01:09 339a4e72a1f5: Pulling fs layer 22:01:09 988bab9f4d93: Pulling fs layer 22:01:09 1469e6f7b9e6: Pulling fs layer 22:01:09 eaf3925da568: Pulling fs layer 22:01:09 bab4dde63d76: Pulling fs layer 22:01:09 bde34c3a00c8: Pulling fs layer 22:01:09 b352a97aabf1: Pulling fs layer 22:01:09 4872d77fe225: Pulling fs layer 22:01:09 5851b861e8e6: Pulling fs layer 22:01:09 bab4dde63d76: Waiting 22:01:09 bde34c3a00c8: Waiting 22:01:09 b352a97aabf1: Waiting 22:01:09 4872d77fe225: Waiting 22:01:09 5851b861e8e6: Waiting 22:01:09 988bab9f4d93: Waiting 22:01:09 1469e6f7b9e6: Waiting 22:01:09 eaf3925da568: Waiting 22:01:09 e2be974225ed: Download complete 22:01:09 988bab9f4d93: Verifying Checksum 22:01:09 988bab9f4d93: Download complete 22:01:09 1469e6f7b9e6: Verifying Checksum 22:01:09 1469e6f7b9e6: Download complete 22:01:09 eaf3925da568: Verifying Checksum 22:01:09 eaf3925da568: Download complete 22:01:09 339a4e72a1f5: Verifying Checksum 22:01:09 339a4e72a1f5: Download complete 22:01:09 bde34c3a00c8: Download complete 22:01:09 b352a97aabf1: Download complete 22:01:09 4872d77fe225: Verifying Checksum 22:01:09 4872d77fe225: Download complete 22:01:09 5851b861e8e6: Download complete 22:01:09 b85a868b505f: Verifying Checksum 22:01:09 b85a868b505f: Download complete 22:01:10 bab4dde63d76: Verifying Checksum 22:01:10 bab4dde63d76: Download complete 22:01:11 b85a868b505f: Pull complete 22:01:11 e2be974225ed: Pull complete 22:01:11 339a4e72a1f5: Pull complete 22:01:11 988bab9f4d93: Pull complete 22:01:12 1469e6f7b9e6: Pull complete 22:01:12 eaf3925da568: Pull complete 22:01:14 bab4dde63d76: Pull complete 22:01:14 bde34c3a00c8: Pull complete 22:01:14 b352a97aabf1: Pull complete 22:01:14 4872d77fe225: Pull complete 22:01:14 5851b861e8e6: Pull complete 22:01:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:01:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:01:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:14 prd-ubuntu20.04-docker-8c-8g-10308 does not seem to be running inside a container 22:01:14 $ 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 22:01:17 $ docker top bba47a91c096cb8374d19656d47e65e0a226108d4ab6a345cba22363af1ee076 -eo pid,comm 22:01:17 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). 22:01:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:01:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:01:17 [ssh-agent] Looking for ssh-agent implementation... 22:01:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:01:17 $ docker exec bba47a91c096cb8374d19656d47e65e0a226108d4ab6a345cba22363af1ee076 ssh-agent 22:01:17 SSH_AUTH_SOCK=/tmp/ssh-sneB7MJ5GVLO/agent.33 22:01:17 SSH_AGENT_PID=40 22:01:17 Running ssh-add (command line suppressed) 22:01:17 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10916944327504518357.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10916944327504518357.key) 22:01:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:01:18 + git tag --points-at HEAD [Pipeline] } 22:01:18 $ docker exec --env ******** --env ******** bba47a91c096cb8374d19656d47e65e0a226108d4ab6a345cba22363af1ee076 ssh-agent -k 22:01:18 unset SSH_AUTH_SOCK; 22:01:18 unset SSH_AGENT_PID; 22:01:18 echo Agent pid 40 killed; 22:01:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:01:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:01:18 [ssh-agent] Looking for ssh-agent implementation... 22:01:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:01:18 $ docker exec bba47a91c096cb8374d19656d47e65e0a226108d4ab6a345cba22363af1ee076 ssh-agent 22:01:18 SSH_AUTH_SOCK=/tmp/ssh-pVyi1judxRu6/agent.72 22:01:18 SSH_AGENT_PID=78 22:01:18 Running ssh-add (command line suppressed) 22:01:18 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11462913182455801642.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11462913182455801642.key) 22:01:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:01:19 + git semver init 22:01:19 2023-10-24 22:01:19,192 [run_init] DEBUG init version:0.0.0 force:False 22:01:19 2023-10-24 22:01:19,193 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 22:01:19 2023-10-24 22:01:19,193 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 22:01:19 2023-10-24 22:01:19,194 [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) 22:01:20 2023-10-24 22:01:20,188 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 22:01:20 2023-10-24 22:01:20,189 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 22:01:20 2023-10-24 22:01:20,189 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:01:20 2023-10-24 22:01:20,189 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:01:20 3.1.0-dev.22 [Pipeline] } 22:01:20 $ docker exec --env ******** --env ******** bba47a91c096cb8374d19656d47e65e0a226108d4ab6a345cba22363af1ee076 ssh-agent -k 22:01:20 unset SSH_AUTH_SOCK; 22:01:20 unset SSH_AGENT_PID; 22:01:20 echo Agent pid 78 killed; 22:01:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:01:20 + git semver [Pipeline] } 22:01:20 $ docker stop --time=1 bba47a91c096cb8374d19656d47e65e0a226108d4ab6a345cba22363af1ee076 22:01:22 $ docker rm -f --volumes bba47a91c096cb8374d19656d47e65e0a226108d4ab6a345cba22363af1ee076 [Pipeline] // withDockerContainer [Pipeline] sh 22:01:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:01:22 Stashed 1 file(s) [Pipeline] echo 22:01:22 [edgeXSemver]: initialized semver on version 3.1.0-dev.22 [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 22:01:22 provisioning config files... 22:01:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7783011516476241687tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:01:23 ---> docker-login.sh 22:01:23 nexus3.edgexfoundry.org:10001 22:01:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:23 Configure a credential helper to remove this warning. See 22:01:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:23 22:01:23 Login Succeeded 22:01:23 nexus3.edgexfoundry.org:10002 22:01:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:23 Configure a credential helper to remove this warning. See 22:01:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:23 22:01:23 Login Succeeded 22:01:23 nexus3.edgexfoundry.org:10003 22:01:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:23 Configure a credential helper to remove this warning. See 22:01:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:23 22:01:23 Login Succeeded 22:01:23 nexus3.edgexfoundry.org:10004 22:01:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:23 Configure a credential helper to remove this warning. See 22:01:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:23 22:01:23 Login Succeeded 22:01:23 docker.io 22:01:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:23 Configure a credential helper to remove this warning. See 22:01:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:23 22:01:23 Login Succeeded 22:01:23 ---> docker-login.sh ends [Pipeline] } 22:01:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:01:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:01:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:01:23 ========================================================= 22:01:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 22:01:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:24 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 22:01:24 Sending build context to Docker daemon 21.62MB 22:01:24 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 22:01:24 Step 2/13 : FROM ${BASE} AS builder 22:01:24 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 22:01:24 7264a8db6415: Pulling fs layer 22:01:24 c4d48a809fc2: Pulling fs layer 22:01:24 4f1c88b9dad5: Pulling fs layer 22:01:24 ad3a456e5733: Pulling fs layer 22:01:24 33e27b845d1e: Pulling fs layer 22:01:24 c68163c4e522: Pulling fs layer 22:01:24 50da416c3ac9: Pulling fs layer 22:01:24 23d2d4c4bb30: Pulling fs layer 22:01:24 ad3a456e5733: Waiting 22:01:24 33e27b845d1e: Waiting 22:01:24 c68163c4e522: Waiting 22:01:24 50da416c3ac9: Waiting 22:01:24 23d2d4c4bb30: Waiting 22:01:24 c4d48a809fc2: Download complete 22:01:24 ad3a456e5733: Verifying Checksum 22:01:24 ad3a456e5733: Download complete 22:01:24 33e27b845d1e: Verifying Checksum 22:01:24 33e27b845d1e: Download complete 22:01:24 7264a8db6415: Verifying Checksum 22:01:24 7264a8db6415: Download complete 22:01:24 c68163c4e522: Verifying Checksum 22:01:24 c68163c4e522: Download complete 22:01:24 7264a8db6415: Pull complete 22:01:24 c4d48a809fc2: Pull complete 22:01:24 23d2d4c4bb30: Verifying Checksum 22:01:24 23d2d4c4bb30: Download complete 22:01:24 4f1c88b9dad5: Verifying Checksum 22:01:24 4f1c88b9dad5: Download complete 22:01:25 50da416c3ac9: Verifying Checksum 22:01:25 50da416c3ac9: Download complete 22:01:27 4f1c88b9dad5: Pull complete 22:01:27 ad3a456e5733: Pull complete 22:01:27 33e27b845d1e: Pull complete 22:01:27 c68163c4e522: Pull complete 22:01:29 50da416c3ac9: Pull complete 22:01:30 23d2d4c4bb30: Pull complete 22:01:30 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 22:01:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 22:01:30 ---> 0786185ac409 22:01:30 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:01:35 ---> Running in cafb0c214568 22:01:35 Removing intermediate container cafb0c214568 22:01:35 ---> d5927d2beee5 22:01:35 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:01:35 ---> Running in b33935019a40 22:01:35 Removing intermediate container b33935019a40 22:01:35 ---> 4f37ed5c8ec6 22:01:35 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:01:35 ---> Running in 36fb8ab0e9e7 22:01:35 Removing intermediate container 36fb8ab0e9e7 22:01:35 ---> 703e0117b1b0 22:01:35 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:01:35 ---> Running in d426b1486b35 22:01:35 Removing intermediate container d426b1486b35 22:01:35 ---> 4d69a9578bf4 22:01:35 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:01:35 ---> Running in c311c42cb8dd 22:01:35 Removing intermediate container c311c42cb8dd 22:01:35 ---> 5e42691e7780 22:01:35 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:01:35 ---> Running in 5a7aaecc04ba 22:01:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:01:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:01:36 OK: 264 MiB in 52 packages 22:01:36 Removing intermediate container 5a7aaecc04ba 22:01:36 ---> 728d221832ea 22:01:36 Step 9/13 : WORKDIR /device-onvif-camera 22:01:36 ---> Running in f8de2f95d26e 22:01:36 Removing intermediate container f8de2f95d26e 22:01:36 ---> 0474577924ab 22:01:36 Step 10/13 : COPY go.mod vendor* ./ 22:01:36 ---> 1c5f9140a6e4 22:01:36 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:01:37 ---> Running in 353b5296ec49 22:01:37 Still waiting to schedule task 22:01:37 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:02:33 Removing intermediate container 353b5296ec49 22:02:33 ---> dd7f70b0b170 22:02:33 Step 12/13 : COPY . . 22:02:33 ---> 8419159f5d28 22:02:33 Step 13/13 : RUN ${MAKE} 22:02:33 ---> Running in 5806d1a6cd85 22:02:33 noop 22:02:33 Removing intermediate container 5806d1a6cd85 22:02:33 ---> 21811f5032aa 22:02:33 Successfully built 21811f5032aa 22:02:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:33 + docker inspect -f . ci-base-image-x86_64 22:02:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:33 prd-ubuntu20.04-docker-8c-8g-10308 does not seem to be running inside a container 22:02:33 $ 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 22:02:34 $ docker top 5ca335a807c76235dc084ad48731e8f720d3c82d3fc06c4ed53d5cf3db5f50e7 -eo pid,comm [Pipeline] { [Pipeline] sh 22:02:34 + go version 22:02:34 go version go1.21.0 linux/amd64 [Pipeline] } 22:02:34 $ docker stop --time=1 5ca335a807c76235dc084ad48731e8f720d3c82d3fc06c4ed53d5cf3db5f50e7 22:02:35 $ docker rm -f --volumes 5ca335a807c76235dc084ad48731e8f720d3c82d3fc06c4ed53d5cf3db5f50e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:36 + docker inspect -f . ci-base-image-x86_64 22:02:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:36 prd-ubuntu20.04-docker-8c-8g-10308 does not seem to be running inside a container 22:02:36 $ 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 22:02:36 $ docker top e6102d52d479eb6a8714423de6ff399c2f648d5a9f4697dbfb7f1ca66a19cacf -eo pid,comm [Pipeline] { [Pipeline] sh 22:02:36 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 22:02:37 + make test 22:02:37 go test ./... -coverprofile=coverage.out ./... 22:02:38 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:02:48 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:02:49 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:02:51 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.036s coverage: 31.5% of statements 22:02:51 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.139s coverage: 86.5% of statements 22:02:59 go vet ./... 22:03:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:03:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:03:02 ./bin/test-attribution-txt.sh [Pipeline] echo 22:03:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:03:02 $ docker stop --time=1 e6102d52d479eb6a8714423de6ff399c2f648d5a9f4697dbfb7f1ca66a19cacf 22:03:05 $ docker rm -f --volumes e6102d52d479eb6a8714423de6ff399c2f648d5a9f4697dbfb7f1ca66a19cacf [Pipeline] // withDockerContainer [Pipeline] sh 22:03:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:03:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:03:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:03:07 + ls -al . 22:03:07 total 236 22:03:07 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 22:02 . 22:03:07 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 22:01 .. 22:03:07 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 22:02 .git 22:03:07 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 22:01 .github 22:03:07 -rw-rw-r-- 1 jenkins jenkins 422 Oct 24 22:01 .gitignore 22:03:07 -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 22:01 .golangci.yml 22:03:07 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 22:01 .semver 22:03:07 -rw-rw-r-- 1 jenkins jenkins 11155 Oct 24 22:01 Attribution.txt 22:03:07 -rw-rw-r-- 1 jenkins jenkins 15932 Oct 24 22:01 CHANGELOG.md 22:03:07 -rw-rw-r-- 1 jenkins jenkins 1574 Oct 24 22:01 Dockerfile 22:03:07 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 22:01 GOVERNANCE.md 22:03:07 -rw-rw-r-- 1 jenkins jenkins 739 Oct 24 22:01 Jenkinsfile 22:03:07 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 24 22:01 LICENSE 22:03:07 -rw-rw-r-- 1 jenkins jenkins 2877 Oct 24 22:01 Makefile 22:03:07 -rw-rw-r-- 1 jenkins jenkins 625 Oct 24 22:01 OWNERS.md 22:03:07 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 24 22:01 README.md 22:03:07 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 22:01 VERSION 22:03:07 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 22:01 bin 22:03:07 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 22:01 cmd 22:03:07 -rw-r--r-- 1 jenkins jenkins 78456 Oct 24 22:02 coverage.out 22:03:07 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 22:01 doc 22:03:07 -rw-rw-r-- 1 jenkins jenkins 4087 Oct 24 22:01 go.mod 22:03:07 -rw-rw-r-- 1 jenkins jenkins 35688 Oct 24 22:01 go.sum 22:03:07 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 22:01 internal 22:03:07 -rw-rw-r-- 1 jenkins jenkins 236 Oct 24 22:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03: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=bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 --label arch=amd64 --label version=3.1.0-dev.22 . 22:03:07 Sending build context to Docker daemon 21.7MB 22:03:07 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 22:03:07 Step 2/26 : FROM ${BASE} AS builder 22:03:07 ---> 21811f5032aa 22:03:07 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:03:08 ---> Running in 7aafbd276fb8 22:03:08 Removing intermediate container 7aafbd276fb8 22:03:08 ---> d32c8f0d55ac 22:03:08 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:03:08 ---> Running in 8d6ac25c5867 22:03:08 Removing intermediate container 8d6ac25c5867 22:03:08 ---> da59bb924441 22:03:08 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:03:08 ---> Running in 3c1867a8cf8c 22:03:09 Removing intermediate container 3c1867a8cf8c 22:03:09 ---> 44cabd3c0f3e 22:03:09 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:03:09 ---> Running in 0d507ae5c2a9 22:03:09 Removing intermediate container 0d507ae5c2a9 22:03:09 ---> 5ff239c15da3 22:03:09 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:03:09 ---> Running in 826bb0cdf31d 22:03:09 Removing intermediate container 826bb0cdf31d 22:03:09 ---> 597024ea2650 22:03:09 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:03:09 ---> Running in f4ffb06e5c74 22:03:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:03:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:03:10 OK: 264 MiB in 52 packages 22:03:10 Removing intermediate container f4ffb06e5c74 22:03:10 ---> fdee4c5ed9f5 22:03:10 Step 9/26 : WORKDIR /device-onvif-camera 22:03:10 ---> Running in 64d3500d9359 22:03:10 Removing intermediate container 64d3500d9359 22:03:10 ---> f0cf4172c679 22:03:10 Step 10/26 : COPY go.mod vendor* ./ 22:03:10 ---> f900effdb014 22:03:10 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:03:10 ---> Running in f8125502ce8b 22:03:11 Removing intermediate container f8125502ce8b 22:03:11 ---> f86d06743781 22:03:11 Step 12/26 : COPY . . 22:03:12 ---> d6d54e70790c 22:03:12 Step 13/26 : RUN ${MAKE} 22:03:12 ---> Running in bbfbc99f05e7 22:03:12 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:03:34 Removing intermediate container bbfbc99f05e7 22:03:34 ---> f7ab89087bf2 22:03:34 Step 14/26 : FROM alpine:3.18 22:03:34 3.18: Pulling from library/alpine 22:03:34 96526aa774ef: Pulling fs layer 22:03:34 96526aa774ef: Verifying Checksum 22:03:34 96526aa774ef: Download complete 22:03:34 96526aa774ef: Pull complete 22:03:34 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:03:34 Status: Downloaded newer image for alpine:3.18 22:03:34 ---> 8ca4688f4f35 22:03:34 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 22:03:34 ---> Running in d0af8906e4f3 22:03:34 Removing intermediate container d0af8906e4f3 22:03:34 ---> 286d0b5e8021 22:03:34 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:03:34 ---> Running in 8b05c11a2fec 22:03:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:03:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:03:34 (1/1) Installing dumb-init (1.2.5-r2) 22:03:34 Executing busybox-1.36.1-r2.trigger 22:03:34 OK: 7 MiB in 16 packages 22:03:34 Removing intermediate container 8b05c11a2fec 22:03:34 ---> 7f7cc664d358 22:03:34 Step 17/26 : WORKDIR / 22:03:34 ---> Running in 5c05e25f18e6 22:03:34 Removing intermediate container 5c05e25f18e6 22:03:34 ---> 9d0a567a291a 22:03:34 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:03:35 ---> 13d288260056 22:03:35 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:03:35 ---> cffdb0ac898f 22:03:35 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:03:35 ---> c9d642c72fd9 22:03:35 Step 21/26 : EXPOSE 59984 22:03:35 ---> Running in 32cf279e182b 22:03:36 Removing intermediate container 32cf279e182b 22:03:36 ---> 92bc6ed6d3ce 22:03:36 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:03:36 ---> Running in 5b1c31f677a0 22:03:36 Removing intermediate container 5b1c31f677a0 22:03:36 ---> 1c9c3248fcb7 22:03:36 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:03:36 ---> Running in b48cdf084c02 22:03:36 Removing intermediate container b48cdf084c02 22:03:36 ---> e77ea2bb64a8 22:03:36 Step 24/26 : LABEL arch=amd64 22:03:36 ---> Running in a89d20e03ab1 22:03:36 Removing intermediate container a89d20e03ab1 22:03:36 ---> 498549a774ce 22:03:36 Step 25/26 : LABEL git_sha=bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 22:03:36 ---> Running in 114f5f983629 22:03:36 Removing intermediate container 114f5f983629 22:03:36 ---> aa0588044b7e 22:03:36 Step 26/26 : LABEL version=3.1.0-dev.22 22:03:36 ---> Running in 9eaeba122509 22:03:36 Removing intermediate container 9eaeba122509 22:03:36 ---> d3da4fa46927 22:03:36 [Warning] One or more build-args [ARCH] were not consumed 22:03:36 Successfully built d3da4fa46927 22:03:36 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 22:03:36 provisioning config files... 22:03:36 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15871347087649626563tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:03:36 ---> docker-login.sh 22:03:36 nexus3.edgexfoundry.org:10001 22:03:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:36 Configure a credential helper to remove this warning. See 22:03:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:36 22:03:36 Login Succeeded 22:03:36 nexus3.edgexfoundry.org:10002 22:03:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:36 Configure a credential helper to remove this warning. See 22:03:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:36 22:03:36 Login Succeeded 22:03:36 nexus3.edgexfoundry.org:10003 22:03:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:37 Configure a credential helper to remove this warning. See 22:03:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:37 22:03:37 Login Succeeded 22:03:37 nexus3.edgexfoundry.org:10004 22:03:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:37 Configure a credential helper to remove this warning. See 22:03:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:37 22:03:37 Login Succeeded 22:03:37 docker.io 22:03:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:37 Configure a credential helper to remove this warning. See 22:03:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:37 22:03:37 Login Succeeded 22:03:37 ---> docker-login.sh ends [Pipeline] } 22:03:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:03:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:03:37 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 22:03:37 bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 22:03:37 latest 22:03:37 3.1.0-dev.22 22:03:37 bf74ebf12077028c42a990cb9f5eb3b4e8875dd7-3.1.0-dev.22 22:03:37 main 22:03:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:37 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:38 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 22:03:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 22:03:38 60fa9a33bfb8: Preparing 22:03:38 34c62faa678b: Preparing 22:03:38 ac73817b2b1d: Preparing 22:03:38 b8bcf2fbc7fd: Preparing 22:03:38 cc2447e1835a: Preparing 22:03:38 cc2447e1835a: Layer already exists 22:03:38 34c62faa678b: Pushed 22:03:38 60fa9a33bfb8: Pushed 22:03:38 b8bcf2fbc7fd: Pushed 22:03:41 ac73817b2b1d: Pushed 22:03:41 bf74ebf12077028c42a990cb9f5eb3b4e8875dd7: digest: sha256:004ea9b40a35755595b79b4801bc84a7286049475f2a60e39d18018dc7d0df35 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:41 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 22:03:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 22:03:42 60fa9a33bfb8: Preparing 22:03:42 34c62faa678b: Preparing 22:03:42 ac73817b2b1d: Preparing 22:03:42 b8bcf2fbc7fd: Preparing 22:03:42 cc2447e1835a: Preparing 22:03:42 60fa9a33bfb8: Layer already exists 22:03:42 b8bcf2fbc7fd: Layer already exists 22:03:42 34c62faa678b: Layer already exists 22:03:42 cc2447e1835a: Layer already exists 22:03:42 ac73817b2b1d: Layer already exists 22:03:42 latest: digest: sha256:004ea9b40a35755595b79b4801bc84a7286049475f2a60e39d18018dc7d0df35 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:42 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.22 22:03:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 22:03:42 60fa9a33bfb8: Preparing 22:03:42 34c62faa678b: Preparing 22:03:42 ac73817b2b1d: Preparing 22:03:42 b8bcf2fbc7fd: Preparing 22:03:42 cc2447e1835a: Preparing 22:03:42 60fa9a33bfb8: Layer already exists 22:03:42 ac73817b2b1d: Layer already exists 22:03:42 cc2447e1835a: Layer already exists 22:03:42 34c62faa678b: Layer already exists 22:03:42 b8bcf2fbc7fd: Layer already exists 22:03:42 3.1.0-dev.22: digest: sha256:004ea9b40a35755595b79b4801bc84a7286049475f2a60e39d18018dc7d0df35 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:43 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:bf74ebf12077028c42a990cb9f5eb3b4e8875dd7-3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:43 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:bf74ebf12077028c42a990cb9f5eb3b4e8875dd7-3.1.0-dev.22 22:03:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 22:03:43 60fa9a33bfb8: Preparing 22:03:43 34c62faa678b: Preparing 22:03:43 ac73817b2b1d: Preparing 22:03:43 b8bcf2fbc7fd: Preparing 22:03:43 cc2447e1835a: Preparing 22:03:43 b8bcf2fbc7fd: Layer already exists 22:03:43 ac73817b2b1d: Layer already exists 22:03:43 60fa9a33bfb8: Layer already exists 22:03:43 34c62faa678b: Layer already exists 22:03:43 cc2447e1835a: Layer already exists 22:03:43 bf74ebf12077028c42a990cb9f5eb3b4e8875dd7-3.1.0-dev.22: digest: sha256:004ea9b40a35755595b79b4801bc84a7286049475f2a60e39d18018dc7d0df35 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:43 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:44 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 22:03:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 22:03:44 60fa9a33bfb8: Preparing 22:03:44 34c62faa678b: Preparing 22:03:44 ac73817b2b1d: Preparing 22:03:44 b8bcf2fbc7fd: Preparing 22:03:44 cc2447e1835a: Preparing 22:03:44 cc2447e1835a: Layer already exists 22:03:44 34c62faa678b: Layer already exists 22:03:44 60fa9a33bfb8: Layer already exists 22:03:44 ac73817b2b1d: Layer already exists 22:03:44 b8bcf2fbc7fd: Layer already exists 22:03:44 main: digest: sha256:004ea9b40a35755595b79b4801bc84a7286049475f2a60e39d18018dc7d0df35 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:03:44 ===================================================== [Pipeline] echo 22:03:44 taggedImages: 22:03:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera:bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 22:03:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 22:03:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.22 22:03:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera:bf74ebf12077028c42a990cb9f5eb3b4e8875dd7-3.1.0-dev.22 22:03:44 - 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 22:03:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:03:44 22:03:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:03:44 latest: Pulling from edgex-lftools-log-publisher 22:03:44 5eb5b503b376: Pulling fs layer 22:03:44 5c69ac0246d0: Pulling fs layer 22:03:44 ec43610c2a17: Pulling fs layer 22:03:44 3a2ae6a8a46f: Pulling fs layer 22:03:44 33b1e0a273af: Pulling fs layer 22:03:44 5d3b04190fa2: Pulling fs layer 22:03:44 2f39f015ded8: Pulling fs layer 22:03:44 3a2ae6a8a46f: Waiting 22:03:44 33b1e0a273af: Waiting 22:03:44 5d3b04190fa2: Waiting 22:03:44 2f39f015ded8: Waiting 22:03:44 5c69ac0246d0: Verifying Checksum 22:03:44 5c69ac0246d0: Download complete 22:03:44 3a2ae6a8a46f: Verifying Checksum 22:03:44 3a2ae6a8a46f: Download complete 22:03:44 33b1e0a273af: Verifying Checksum 22:03:44 33b1e0a273af: Download complete 22:03:44 5d3b04190fa2: Verifying Checksum 22:03:44 5d3b04190fa2: Download complete 22:03:45 ec43610c2a17: Verifying Checksum 22:03:45 ec43610c2a17: Download complete 22:03:45 5eb5b503b376: Verifying Checksum 22:03:45 5eb5b503b376: Download complete 22:03:45 2f39f015ded8: Download complete 22:03:46 5eb5b503b376: Pull complete 22:03:46 5c69ac0246d0: Pull complete 22:03:46 ec43610c2a17: Pull complete 22:03:46 3a2ae6a8a46f: Pull complete 22:03:46 33b1e0a273af: Pull complete 22:03:46 5d3b04190fa2: Pull complete 22:03:51 2f39f015ded8: Pull complete 22:03:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:03:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:03:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:03:51 prd-ubuntu20.04-docker-8c-8g-10308 does not seem to be running inside a container 22:03:51 $ 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 22:03:54 $ docker top 730867b895346c90140fcbd85a7fcf6e3caff938540a915e0dfe1ad2f036da3b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:03:54 ---> job-cost.sh 22:03:54 lf-activate-venv: SKIPPING 22:03:54 INFO: No Stack... 22:03:54 INFO: Retrieving Pricing Info for: v3-standard-8 22:03:54 INFO: Archiving Costs [Pipeline] sh 22:03:55 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 22:03:55 + cut -d, -f6 [Pipeline] lock 22:03:55 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-179-stack-cost] 22:03:55 Resource [jenkins-edgexfoundry-device-onvif-camera-main-179-stack-cost] did not exist. Created. 22:03:55 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-179-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:03:55 + echo total: 0.2199999988079071 [Pipeline] stash 22:03:55 Stashed 1 file(s) [Pipeline] } 22:03:55 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-179-stack-cost] [Pipeline] // lock [Pipeline] } 22:03:55 $ docker stop --time=1 730867b895346c90140fcbd85a7fcf6e3caff938540a915e0dfe1ad2f036da3b 22:03:56 $ docker rm -f --volumes 730867b895346c90140fcbd85a7fcf6e3caff938540a915e0dfe1ad2f036da3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:05:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10312 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 22:05:15 Running in /w/workspace/device-onvif-camera/179 [Pipeline] { [Pipeline] checkout 22:05:15 The recommended git tool is: git 22:05:22 using credential edgex-jenkins-ssh 22:05:22 Cloning the remote Git repository 22:05:22 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:05:22 > git init /w/workspace/device-onvif-camera/179 # timeout=10 22:05:22 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:05:22 > git --version # timeout=10 22:05:22 > git --version # 'git version 2.25.1' 22:05:22 using GIT_SSH to set credentials SSH Credentials for GitHub 22:05:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:05:24 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:05:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:05:25 Avoid second fetch 22:05:25 Checking out Revision bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 (main) 22:05:26 Commit message: "refactor: Remove obsolete comments from config file (#398)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:05:25 > git config core.sparsecheckout # timeout=10 22:05:25 > git checkout -f bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 # timeout=10 22:05:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:05:27 % Total % Received % Xferd Average Speed Time Time Time Current 22:05:27 Dload Upload Total Spent Left Speed 22:05:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 234k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh 22:05:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:05:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:05:28 + sudo tee /etc/docker/daemon.new 22:05:28 { 22:05:28 "registry-mirrors": [ 22:05:28 "https://nexus3.edgexfoundry.org:10001" 22:05:28 ], 22:05:28 "bip": "10.250.0.254/24", 22:05:28 "hosts": [ 22:05:28 "tcp://0.0.0.0:5555", 22:05:28 "unix:///var/run/docker.sock" 22:05:28 ], 22:05:28 "mtu": 1458, 22:05:28 "selinux-enabled": true, 22:05:28 "seccomp-profile": "/etc/docker/seccomp.json" 22:05:28 } [Pipeline] sh 22:05:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:05:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:05:47 provisioning config files... 22:05:47 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/179@tmp/config3934601657410994690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:05:47 ---> docker-login.sh 22:05:47 nexus3.edgexfoundry.org:10001 22:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:48 Configure a credential helper to remove this warning. See 22:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:48 22:05:48 Login Succeeded 22:05:48 nexus3.edgexfoundry.org:10002 22:05:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:49 Configure a credential helper to remove this warning. See 22:05:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:49 22:05:49 Login Succeeded 22:05:49 nexus3.edgexfoundry.org:10003 22:05:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:49 Configure a credential helper to remove this warning. See 22:05:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:49 22:05:49 Login Succeeded 22:05:49 nexus3.edgexfoundry.org:10004 22:05:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:50 Configure a credential helper to remove this warning. See 22:05:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:50 22:05:50 Login Succeeded 22:05:50 docker.io 22:05:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:50 Configure a credential helper to remove this warning. See 22:05:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:50 22:05:50 Login Succeeded 22:05:50 ---> docker-login.sh ends [Pipeline] } 22:05:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:05:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:05:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:05:51 ========================================================= 22:05:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 22:05:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:51 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 22:05:52 Sending build context to Docker daemon 14.17MB 22:05:52 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 22:05:52 Step 2/13 : FROM ${BASE} AS builder 22:05:52 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:05:52 9fda8d8052c6: Pulling fs layer 22:05:52 5d54e960e981: Pulling fs layer 22:05:52 c4a7e357bf2a: Pulling fs layer 22:05:52 f0e02332f6b5: Pulling fs layer 22:05:52 cefa15bbcfad: Pulling fs layer 22:05:52 17808c966233: Pulling fs layer 22:05:52 f4c1fc716caa: Pulling fs layer 22:05:52 cefa15bbcfad: Waiting 22:05:52 17808c966233: Waiting 22:05:52 f4c1fc716caa: Waiting 22:05:52 f0e02332f6b5: Waiting 22:05:52 5d54e960e981: Verifying Checksum 22:05:52 5d54e960e981: Download complete 22:05:52 f0e02332f6b5: Verifying Checksum 22:05:52 f0e02332f6b5: Download complete 22:05:52 cefa15bbcfad: Verifying Checksum 22:05:52 cefa15bbcfad: Download complete 22:05:52 9fda8d8052c6: Verifying Checksum 22:05:52 9fda8d8052c6: Download complete 22:05:52 f4c1fc716caa: Verifying Checksum 22:05:52 f4c1fc716caa: Download complete 22:05:53 9fda8d8052c6: Pull complete 22:05:54 5d54e960e981: Pull complete 22:05:54 c4a7e357bf2a: Verifying Checksum 22:05:54 c4a7e357bf2a: Download complete 22:05:55 17808c966233: Verifying Checksum 22:05:55 17808c966233: Download complete 22:06:07 c4a7e357bf2a: Pull complete 22:06:07 f0e02332f6b5: Pull complete 22:06:08 cefa15bbcfad: Pull complete 22:06:20 17808c966233: Pull complete 22:06:21 f4c1fc716caa: Pull complete 22:06:21 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 22:06:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 22:06:21 ---> ea914061e18c 22:06:21 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:06:22 ---> Running in 308488075e17 22:06:22 Removing intermediate container 308488075e17 22:06:22 ---> 1add3477a474 22:06:22 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:06:22 ---> Running in 58e3511913d0 22:06:22 Removing intermediate container 58e3511913d0 22:06:22 ---> f22422af55b6 22:06:22 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:06:23 ---> Running in c4534a80a02d 22:06:23 Removing intermediate container c4534a80a02d 22:06:23 ---> 018dca58f4b7 22:06:23 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:06:23 ---> Running in 53a75868d72b 22:06:23 Removing intermediate container 53a75868d72b 22:06:23 ---> 072e684f8d8f 22:06:23 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:06:24 ---> Running in f614193497e4 22:06:24 Removing intermediate container f614193497e4 22:06:24 ---> 0fe48175c808 22:06:24 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:06:24 ---> Running in a5e90b02b29f 22:06:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:06:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:06:27 OK: 266 MiB in 52 packages 22:06:28 Removing intermediate container a5e90b02b29f 22:06:28 ---> 6272e99bd614 22:06:28 Step 9/13 : WORKDIR /device-onvif-camera 22:06:28 ---> Running in d0acdada8d2c 22:06:29 Removing intermediate container d0acdada8d2c 22:06:29 ---> fc938d8b73a0 22:06:29 Step 10/13 : COPY go.mod vendor* ./ 22:06:29 ---> f8b98a3dc8df 22:06:29 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:06:30 ---> Running in 605ca21b6007 22:08:21 Removing intermediate container 605ca21b6007 22:08:21 ---> 802a96daa82c 22:08:21 Step 12/13 : COPY . . 22:08:21 ---> 6844fd2fd567 22:08:21 Step 13/13 : RUN ${MAKE} 22:08:21 ---> Running in 2caa1afdbb72 22:08:21 noop 22:08:21 Removing intermediate container 2caa1afdbb72 22:08:21 ---> ff0dc4a3265c 22:08:21 Successfully built ff0dc4a3265c 22:08:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:08:22 + docker inspect -f . ci-base-image-arm64 22:08:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:08:22 prd-ubuntu20.04-docker-arm64-4c-16g-10312 does not seem to be running inside a container 22:08:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/179 -v /w/workspace/device-onvif-camera/179:/w/workspace/device-onvif-camera/179:rw,z -v /w/workspace/device-onvif-camera/179@tmp:/w/workspace/device-onvif-camera/179@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:08:24 $ docker top 60557a4a6efe5d41c44207ff745ef5b2e7683bed98dfbfba3e75c79089c8b66e -eo pid,comm [Pipeline] { [Pipeline] sh 22:08:25 + go version 22:08:25 go version go1.21.0 linux/arm64 [Pipeline] } 22:08:25 $ docker stop --time=1 60557a4a6efe5d41c44207ff745ef5b2e7683bed98dfbfba3e75c79089c8b66e 22:08:26 $ docker rm -f --volumes 60557a4a6efe5d41c44207ff745ef5b2e7683bed98dfbfba3e75c79089c8b66e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:08:27 + docker inspect -f . ci-base-image-arm64 22:08:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:08:27 prd-ubuntu20.04-docker-arm64-4c-16g-10312 does not seem to be running inside a container 22:08:27 $ 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/179 -v /w/workspace/device-onvif-camera/179:/w/workspace/device-onvif-camera/179:rw,z -v /w/workspace/device-onvif-camera/179@tmp:/w/workspace/device-onvif-camera/179@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:08:29 $ docker top a8c3b134fece59b9f6a07b1dc079333a248ff6979983429413d837dbc8d1214f -eo pid,comm [Pipeline] { [Pipeline] sh 22:08:30 + git config --global --add safe.directory /w/workspace/device-onvif-camera/179 [Pipeline] fileExists [Pipeline] sh 22:08:30 + make test 22:08:30 go test ./... -coverprofile=coverage.out ./... 22:08:36 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:11:13 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:11:13 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:11:13 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.207s coverage: 31.5% of statements 22:11:28 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 19.500s coverage: 86.5% of statements 22:11:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:11:28 go vet ./... 22:12:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:12:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:12:00 ./bin/test-attribution-txt.sh [Pipeline] echo 22:12:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:12:01 $ docker stop --time=1 a8c3b134fece59b9f6a07b1dc079333a248ff6979983429413d837dbc8d1214f 22:12:03 $ docker rm -f --volumes a8c3b134fece59b9f6a07b1dc079333a248ff6979983429413d837dbc8d1214f [Pipeline] // withDockerContainer [Pipeline] sh 22:12:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:12:04 Warning: overwriting stash ‘coverage-report’ 22:12:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:12:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:12:05 + ls -al . 22:12:05 total 232 22:12:05 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 22:08 . 22:12:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 22:05 .. 22:12:05 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 22:05 .git 22:12:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 22:05 .github 22:12:05 -rw-rw-r-- 1 jenkins jenkins 422 Oct 24 22:05 .gitignore 22:12:05 -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 22:05 .golangci.yml 22:12:05 -rw-rw-r-- 1 jenkins jenkins 11155 Oct 24 22:05 Attribution.txt 22:12:05 -rw-rw-r-- 1 jenkins jenkins 15932 Oct 24 22:05 CHANGELOG.md 22:12:05 -rw-rw-r-- 1 jenkins jenkins 1574 Oct 24 22:05 Dockerfile 22:12:05 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 22:05 GOVERNANCE.md 22:12:05 -rw-rw-r-- 1 jenkins jenkins 739 Oct 24 22:05 Jenkinsfile 22:12:05 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 24 22:05 LICENSE 22:12:05 -rw-rw-r-- 1 jenkins jenkins 2877 Oct 24 22:05 Makefile 22:12:05 -rw-rw-r-- 1 jenkins jenkins 625 Oct 24 22:05 OWNERS.md 22:12:05 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 24 22:05 README.md 22:12:05 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 22:01 VERSION 22:12:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 22:05 bin 22:12:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 22:05 cmd 22:12:05 -rw-r--r-- 1 jenkins jenkins 78456 Oct 24 22:11 coverage.out 22:12:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 22:05 doc 22:12:05 -rw-rw-r-- 1 jenkins jenkins 4087 Oct 24 22:05 go.mod 22:12:05 -rw-rw-r-- 1 jenkins jenkins 35688 Oct 24 22:05 go.sum 22:12:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 22:05 internal 22:12:05 -rw-rw-r-- 1 jenkins jenkins 236 Oct 24 22:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:06 + 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=bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 --label arch=arm64 --label version=3.1.0-dev.22 . 22:12:06 Sending build context to Docker daemon 14.25MB 22:12:06 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 22:12:06 Step 2/26 : FROM ${BASE} AS builder 22:12:06 ---> ff0dc4a3265c 22:12:06 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:12:06 ---> Running in 58b5f8a07ad6 22:12:07 Removing intermediate container 58b5f8a07ad6 22:12:07 ---> edab3312e4d2 22:12:07 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:12:07 ---> Running in f9cc57de7061 22:12:07 Removing intermediate container f9cc57de7061 22:12:07 ---> 9c2aa93fd600 22:12:07 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:12:08 ---> Running in 1ed6a095cc9f 22:12:08 Removing intermediate container 1ed6a095cc9f 22:12:08 ---> c3f817bac84c 22:12:08 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:12:08 ---> Running in b2ae3298a9ad 22:12:08 Removing intermediate container b2ae3298a9ad 22:12:08 ---> 27d9e79a7f76 22:12:08 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:12:08 ---> Running in 02de4b4b0e3a 22:12:09 Removing intermediate container 02de4b4b0e3a 22:12:09 ---> ec8136a8982d 22:12:09 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:09 ---> Running in e62fdad5fd9c 22:12:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:12:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:12:12 OK: 266 MiB in 52 packages 22:12:13 Removing intermediate container e62fdad5fd9c 22:12:13 ---> a5329d487225 22:12:13 Step 9/26 : WORKDIR /device-onvif-camera 22:12:13 ---> Running in b53abba70fe8 22:12:14 Removing intermediate container b53abba70fe8 22:12:14 ---> ebe755e111d5 22:12:14 Step 10/26 : COPY go.mod vendor* ./ 22:12:14 ---> 1d5540df2fe0 22:12:14 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:14 ---> Running in 0c36730c86c8 22:12:18 Removing intermediate container 0c36730c86c8 22:12:18 ---> c334dfc4341d 22:12:18 Step 12/26 : COPY . . 22:12:19 ---> 9cb1004ea6de 22:12:19 Step 13/26 : RUN ${MAKE} 22:12:19 ---> Running in bc220745f1af 22:12:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:14:42 Removing intermediate container bc220745f1af 22:14:42 ---> d7e9f6dcac0c 22:14:42 Step 14/26 : FROM alpine:3.18 22:14:42 3.18: Pulling from library/alpine 22:14:42 579b34f0a95b: Pulling fs layer 22:14:42 579b34f0a95b: Verifying Checksum 22:14:42 579b34f0a95b: Download complete 22:14:42 579b34f0a95b: Pull complete 22:14:42 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:14:42 Status: Downloaded newer image for alpine:3.18 22:14:42 ---> 3cc203321400 22:14:42 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 22:14:42 ---> Running in 3edf658c919e 22:14:42 Removing intermediate container 3edf658c919e 22:14:42 ---> 501d7f2f8bb9 22:14:42 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:14:42 ---> Running in b504ce26e516 22:14:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:14:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:14:44 (1/1) Installing dumb-init (1.2.5-r2) 22:14:44 Executing busybox-1.36.1-r2.trigger 22:14:44 OK: 8 MiB in 16 packages 22:14:45 Removing intermediate container b504ce26e516 22:14:45 ---> a34c7405b5ea 22:14:45 Step 17/26 : WORKDIR / 22:14:45 ---> Running in bbe9dd1e48b0 22:14:46 Removing intermediate container bbe9dd1e48b0 22:14:46 ---> 75a39557a298 22:14:46 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:14:48 ---> 76881e4426a8 22:14:48 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:14:48 ---> 13153cb8193d 22:14:48 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:14:49 ---> f3da381990ca 22:14:49 Step 21/26 : EXPOSE 59984 22:14:49 ---> Running in 2b5092c992ca 22:14:49 Removing intermediate container 2b5092c992ca 22:14:49 ---> 376ec00b392c 22:14:49 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:14:49 ---> Running in cf93ee63a146 22:14:50 Removing intermediate container cf93ee63a146 22:14:50 ---> 603adc1f1f9f 22:14:50 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:14:50 ---> Running in 3ef4df12ffba 22:14:50 Removing intermediate container 3ef4df12ffba 22:14:50 ---> ebe3e52a44da 22:14:50 Step 24/26 : LABEL arch=arm64 22:14:50 ---> Running in 88c6a6614b00 22:14:51 Removing intermediate container 88c6a6614b00 22:14:51 ---> b59f19fd2189 22:14:51 Step 25/26 : LABEL git_sha=bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 22:14:51 ---> Running in d594d47e6e8f 22:14:51 Removing intermediate container d594d47e6e8f 22:14:51 ---> 22fcfbdabf19 22:14:51 Step 26/26 : LABEL version=3.1.0-dev.22 22:14:51 ---> Running in 0a8fe03c652a 22:14:51 Removing intermediate container 0a8fe03c652a 22:14:51 ---> 9660c80c5034 22:14:51 [Warning] One or more build-args [ARCH] were not consumed 22:14:51 Successfully built 9660c80c5034 22:14:51 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 22:14:52 provisioning config files... 22:14:52 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/179@tmp/config15874878442846319970tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:52 ---> docker-login.sh 22:14:52 nexus3.edgexfoundry.org:10001 22:14:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:52 Configure a credential helper to remove this warning. See 22:14:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:52 22:14:52 Login Succeeded 22:14:52 nexus3.edgexfoundry.org:10002 22:14:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:53 Configure a credential helper to remove this warning. See 22:14:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:53 22:14:53 Login Succeeded 22:14:53 nexus3.edgexfoundry.org:10003 22:14:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:53 Configure a credential helper to remove this warning. See 22:14:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:53 22:14:53 Login Succeeded 22:14:53 nexus3.edgexfoundry.org:10004 22:14:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:54 Configure a credential helper to remove this warning. See 22:14:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:54 22:14:54 Login Succeeded 22:14:54 docker.io 22:14:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:54 Configure a credential helper to remove this warning. See 22:14:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:54 22:14:54 Login Succeeded 22:14:54 ---> docker-login.sh ends [Pipeline] } 22:14:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:14:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:54 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 22:14:54 bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 22:14:54 latest 22:14:54 3.1.0-dev.22 22:14:54 bf74ebf12077028c42a990cb9f5eb3b4e8875dd7-3.1.0-dev.22 22:14:54 main 22:14:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:54 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:55 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 22:14:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 22:14:55 7df728f7032d: Preparing 22:14:55 e9e717497e3e: Preparing 22:14:55 9ad07ec57393: Preparing 22:14:55 69d0e03c323c: Preparing 22:14:55 5f4d9fc4d98d: Preparing 22:14:55 5f4d9fc4d98d: Layer already exists 22:14:55 7df728f7032d: Pushed 22:14:55 e9e717497e3e: Pushed 22:14:55 69d0e03c323c: Pushed 22:15:02 9ad07ec57393: Pushed 22:15:02 bf74ebf12077028c42a990cb9f5eb3b4e8875dd7: digest: sha256:5efc0645ba7971100f7c0682f595b5864dabfb5059780b2c61ca28350aeeea23 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:02 + 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 22:15:02 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 22:15:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 22:15:02 7df728f7032d: Preparing 22:15:02 e9e717497e3e: Preparing 22:15:02 9ad07ec57393: Preparing 22:15:02 69d0e03c323c: Preparing 22:15:02 5f4d9fc4d98d: Preparing 22:15:02 e9e717497e3e: Layer already exists 22:15:02 9ad07ec57393: Layer already exists 22:15:02 5f4d9fc4d98d: Layer already exists 22:15:02 69d0e03c323c: Layer already exists 22:15:02 7df728f7032d: Layer already exists 22:15:03 latest: digest: sha256:5efc0645ba7971100f7c0682f595b5864dabfb5059780b2c61ca28350aeeea23 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:03 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:03 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.22 22:15:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 22:15:03 7df728f7032d: Preparing 22:15:03 e9e717497e3e: Preparing 22:15:03 9ad07ec57393: Preparing 22:15:03 69d0e03c323c: Preparing 22:15:03 5f4d9fc4d98d: Preparing 22:15:03 5f4d9fc4d98d: Layer already exists 22:15:03 e9e717497e3e: Layer already exists 22:15:03 7df728f7032d: Layer already exists 22:15:03 9ad07ec57393: Layer already exists 22:15:03 69d0e03c323c: Layer already exists 22:15:04 3.1.0-dev.22: digest: sha256:5efc0645ba7971100f7c0682f595b5864dabfb5059780b2c61ca28350aeeea23 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:04 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:bf74ebf12077028c42a990cb9f5eb3b4e8875dd7-3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:04 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:bf74ebf12077028c42a990cb9f5eb3b4e8875dd7-3.1.0-dev.22 22:15:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 22:15:04 7df728f7032d: Preparing 22:15:04 e9e717497e3e: Preparing 22:15:04 9ad07ec57393: Preparing 22:15:04 69d0e03c323c: Preparing 22:15:04 5f4d9fc4d98d: Preparing 22:15:04 9ad07ec57393: Layer already exists 22:15:04 e9e717497e3e: Layer already exists 22:15:04 69d0e03c323c: Layer already exists 22:15:04 7df728f7032d: Layer already exists 22:15:04 5f4d9fc4d98d: Layer already exists 22:15:05 bf74ebf12077028c42a990cb9f5eb3b4e8875dd7-3.1.0-dev.22: digest: sha256:5efc0645ba7971100f7c0682f595b5864dabfb5059780b2c61ca28350aeeea23 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:05 + 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 22:15:05 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 22:15:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 22:15:05 7df728f7032d: Preparing 22:15:05 e9e717497e3e: Preparing 22:15:05 9ad07ec57393: Preparing 22:15:05 69d0e03c323c: Preparing 22:15:05 5f4d9fc4d98d: Preparing 22:15:05 5f4d9fc4d98d: Layer already exists 22:15:05 9ad07ec57393: Layer already exists 22:15:05 7df728f7032d: Layer already exists 22:15:05 e9e717497e3e: Layer already exists 22:15:05 69d0e03c323c: Layer already exists 22:15:06 main: digest: sha256:5efc0645ba7971100f7c0682f595b5864dabfb5059780b2c61ca28350aeeea23 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:15:06 ===================================================== [Pipeline] echo 22:15:06 taggedImages: 22:15:06 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 22:15:06 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 22:15:06 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.22 22:15:06 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:bf74ebf12077028c42a990cb9f5eb3b4e8875dd7-3.1.0-dev.22 22:15:06 - 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 22:15:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:15:06 22:15:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:15:07 arm64: Pulling from edgex-lftools-log-publisher 22:15:07 8998bd30e6a1: Pulling fs layer 22:15:07 04944245beec: Pulling fs layer 22:15:07 699f458cf7ca: Pulling fs layer 22:15:07 765212b225bb: Pulling fs layer 22:15:07 f23df028b6ca: Pulling fs layer 22:15:07 d65c8cfc05b1: Pulling fs layer 22:15:07 2437ff75d9bd: Pulling fs layer 22:15:07 d65c8cfc05b1: Waiting 22:15:07 2437ff75d9bd: Waiting 22:15:07 765212b225bb: Waiting 22:15:07 04944245beec: Verifying Checksum 22:15:07 04944245beec: Download complete 22:15:07 765212b225bb: Download complete 22:15:07 f23df028b6ca: Verifying Checksum 22:15:07 d65c8cfc05b1: Verifying Checksum 22:15:07 d65c8cfc05b1: Download complete 22:15:07 699f458cf7ca: Verifying Checksum 22:15:07 699f458cf7ca: Download complete 22:15:08 8998bd30e6a1: Verifying Checksum 22:15:08 8998bd30e6a1: Download complete 22:15:10 2437ff75d9bd: Verifying Checksum 22:15:10 2437ff75d9bd: Download complete 22:15:12 8998bd30e6a1: Pull complete 22:15:13 04944245beec: Pull complete 22:15:15 699f458cf7ca: Pull complete 22:15:15 765212b225bb: Pull complete 22:15:16 f23df028b6ca: Pull complete 22:15:16 d65c8cfc05b1: Pull complete 22:15:38 2437ff75d9bd: Pull complete 22:15:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:15:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:15:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:38 prd-ubuntu20.04-docker-arm64-4c-16g-10312 does not seem to be running inside a container 22:15:39 $ 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/179 -v /w/workspace/device-onvif-camera/179:/w/workspace/device-onvif-camera/179:rw,z -v /w/workspace/device-onvif-camera/179@tmp:/w/workspace/device-onvif-camera/179@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:arm64 cat 22:15:42 $ docker top 15618e4d2a92c6246d283c5b9a11e13e515d0f0f5d19d0d31862dca4dcd477bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:15:43 ---> job-cost.sh 22:15:43 lf-activate-venv: SKIPPING 22:15:43 INFO: No Stack... 22:15:43 INFO: Retrieving Pricing Info for: v3-standard-4 22:15:44 INFO: Archiving Costs [Pipeline] sh 22:15:45 + cat /w/workspace/device-onvif-camera/179/archives/cost.csv 22:15:45 + cut -d, -f6 [Pipeline] lock 22:15:45 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-179-stack-cost] 22:15:45 Resource [jenkins-edgexfoundry-device-onvif-camera-main-179-stack-cost] did not exist. Created. 22:15:45 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-179-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:15:46 /w/workspace/device-onvif-camera/179@tmp/durable-c339d987/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:15:47 + echo total: 0.10999999940395355 [Pipeline] stash 22:15:47 Warning: overwriting stash ‘stack-cost’ 22:15:47 Stashed 1 file(s) [Pipeline] } 22:15:47 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-179-stack-cost] [Pipeline] // lock [Pipeline] } 22:15:47 $ docker stop --time=1 15618e4d2a92c6246d283c5b9a11e13e515d0f0f5d19d0d31862dca4dcd477bf 22:15:50 $ docker rm -f --volumes 15618e4d2a92c6246d283c5b9a11e13e515d0f0f5d19d0d31862dca4dcd477bf [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 22:15:51 provisioning config files... 22:15:51 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16356237173128843615tmp [Pipeline] { [Pipeline] sh 22:15:51 + set +x 22:15:51 + curl -s https://codecov.io/bash 22:15:51 + bash -s -- 22:15:51 22:15:51 _____ _ 22:15:51 / ____| | | 22:15:51 | | ___ __| | ___ ___ _____ __ 22:15:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:15:51 | |___| (_) | (_| | __/ (_| (_) \ V / 22:15:51 \_____\___/ \__,_|\___|\___\___/ \_/ 22:15:51 Bash-1.0.6 22:15:51 22:15:51 22:15:51 ==> git version 2.25.1 found 22:15:51 ==> 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 22:15:51 Release-Date: 2020-01-08 22:15:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:15:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:15:51 ==> Jenkins CI detected. 22:15:51 current dir:  /w/workspace/foundry_device-onvif-camera_main 22:15:51 project root: . 22:15:51 --> token set from env 22:15:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:15:51 ==> Running gcov in . (disable via -X gcov) 22:15:51 ==> Python coveragepy not found 22:15:51 ==> Searching for coverage reports in: 22:15:51 + . 22:15:51 -> Found 1 reports 22:15:51 ==> Detecting git/mercurial file structure 22:15:51 ==> Reading reports 22:15:51 + ./coverage.out bytes=78456 22:15:51 ==> Appending adjustments 22:15:51 https://docs.codecov.io/docs/fixing-reports 22:15:51 + Found adjustments 22:15:51 ==> Gzipping contents 22:15:51 12K /tmp/codecov.GYaYgO.gz 22:15:51 ==> Uploading reports 22:15:51 url: https://codecov.io 22:15:51 query: branch=main&commit=bf74ebf12077028c42a990cb9f5eb3b4e8875dd7&build=179&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F179%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 22:15:51 -> Pinging Codecov 22:15:51 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=bf74ebf12077028c42a990cb9f5eb3b4e8875dd7&build=179&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F179%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 22:15:52 -> Uploading to 22:15:52 https://storage.googleapis.com/codecov/v4/raw/2023-10-24/F29A59C45E3A92E06B3E522C9905F8EF/bf74ebf12077028c42a990cb9f5eb3b4e8875dd7/a7ac514a-249c-4254-90b7-51c4c6896ac6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T221551Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=42f69d6b15c3867bc9ddbf23e65cc4392d94e69dbdc4f53a0a43e0c7affc6246 22:15:52 % Total % Received % Xferd Average Speed Time Time Time Current 22:15:52 Dload Upload Total Spent Left Speed 22:15:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 30704 --:--:-- --:--:-- --:--:-- 30704 22:15:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 [Pipeline] } 22:15:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:15:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:15:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:15:52 22:15:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:15:53 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:15:53 df9b9388f04a: Pulling fs layer 22:15:53 52dc419b0ee2: Pulling fs layer 22:15:53 25bc292e5bac: Pulling fs layer 22:15:53 114826534d7a: Pulling fs layer 22:15:53 4657fd5d0bcf: Pulling fs layer 22:15:53 6ad1cebc031e: Pulling fs layer 22:15:53 8a3aa393b2d8: Pulling fs layer 22:15:53 4657fd5d0bcf: Waiting 22:15:53 6ad1cebc031e: Waiting 22:15:53 8a3aa393b2d8: Waiting 22:15:53 114826534d7a: Waiting 22:15:53 25bc292e5bac: Download complete 22:15:53 52dc419b0ee2: Download complete 22:15:53 4657fd5d0bcf: Download complete 22:15:53 df9b9388f04a: Download complete 22:15:53 df9b9388f04a: Pull complete 22:15:53 6ad1cebc031e: Verifying Checksum 22:15:53 6ad1cebc031e: Download complete 22:15:53 52dc419b0ee2: Pull complete 22:15:53 25bc292e5bac: Pull complete 22:15:54 114826534d7a: Verifying Checksum 22:15:54 114826534d7a: Download complete 22:15:54 8a3aa393b2d8: Verifying Checksum 22:15:54 8a3aa393b2d8: Download complete 22:15:57 114826534d7a: Pull complete 22:15:57 4657fd5d0bcf: Pull complete 22:15:57 6ad1cebc031e: Pull complete 22:15:59 8a3aa393b2d8: Pull complete 22:15:59 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:15:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:15:59 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:00 prd-ubuntu20.04-docker-8c-8g-10308 does not seem to be running inside a container 22:16:00 $ 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 22:16:01 $ docker top e505a796e3fb4e05c8b8a157ac5b2bb2de8ed29f41c8337c8ca6181196d7981c -eo pid,comm [Pipeline] { [Pipeline] echo 22:16:01 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 22:16:01 + set -o pipefail 22:16:01 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 22:16:14 22:16:14 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 22:16:14 22:16:14 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/01a628c7-5c8d-4d50-b804-74a1ed23e97c 22:16:14 22:16:14 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:16:14 22:16:14 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:16:14 22:16:14 22:16:14 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:16:14 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:16:14 More details here: https://snyk.co/ue1NS [Pipeline] } 22:16:14 $ docker stop --time=1 e505a796e3fb4e05c8b8a157ac5b2bb2de8ed29f41c8337c8ca6181196d7981c 22:16:16 $ docker rm -f --volumes e505a796e3fb4e05c8b8a157ac5b2bb2de8ed29f41c8337c8ca6181196d7981c [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 22:16:16 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:16:16 provisioning config files... 22:16:16 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17463535191986570815tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:16:16 --> edgex-publish-swagger.sh 22:16:16 === Publish doc/openapi/v3 API === 22:16:16 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 22:16:16 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 22:16:16 % Total % Received % Xferd Average Speed Time Time Time Current 22:16:16 Dload Upload Total Spent Left Speed 22:16:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 0 0 100 485k 0 671k --:--:-- --:--:-- --:--:-- 671k 22:16:17 22:16:17 [Pipeline] } 22:16:17 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 22:16:17 + git log --format=format:%s -1 bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 [Pipeline] sh 22:16:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:16:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:16:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:18 prd-ubuntu20.04-docker-8c-8g-10308 does not seem to be running inside a container 22:16:18 $ 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 22:16:18 $ docker top 4c85746e0ba226a0c5e8df948121d9abe4fd4db3acbabd80e2368dd42b3337e0 -eo pid,comm 22:16:18 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). 22:16:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:16:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:16:18 [ssh-agent] Looking for ssh-agent implementation... 22:16:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:16:19 $ docker exec 4c85746e0ba226a0c5e8df948121d9abe4fd4db3acbabd80e2368dd42b3337e0 ssh-agent 22:16:19 SSH_AUTH_SOCK=/tmp/ssh-0g2sutyEUHCs/agent.33 22:16:19 SSH_AGENT_PID=39 22:16:19 Running ssh-add (command line suppressed) 22:16:19 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18097565417043005768.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18097565417043005768.key) 22:16:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:16:19 + git semver tag 22:16:19 2023-10-24 22:16:19,703 [run_tag] DEBUG tag force:False 22:16:19 2023-10-24 22:16:19,703 [check_head_tag] DEBUG check head tag 22:16:19 2023-10-24 22:16:19,704 [execute] INFO git cat-file --batch-check 22:16:19 2023-10-24 22:16:19,704 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 22:16:19 2023-10-24 22:16:19,707 [execute] INFO git cat-file --batch 22:16:19 2023-10-24 22:16:19,708 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 22:16:19 2023-10-24 22:16:19,718 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:16:19 2023-10-24 22:16:19,718 [execute] INFO git tag -a v3.1.0-dev.22 -m v3.1.0-dev.22 22:16:19 2023-10-24 22:16:19,718 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.22', '-m', 'v3.1.0-dev.22'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 22:16:19 2023-10-24 22:16:19,723 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:16:19 3.1.0-dev.22 [Pipeline] } 22:16:19 $ docker exec --env ******** --env ******** 4c85746e0ba226a0c5e8df948121d9abe4fd4db3acbabd80e2368dd42b3337e0 ssh-agent -k 22:16:19 unset SSH_AUTH_SOCK; 22:16:19 unset SSH_AGENT_PID; 22:16:19 echo Agent pid 39 killed; 22:16:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:16:20 + git semver [Pipeline] } 22:16:20 $ docker stop --time=1 4c85746e0ba226a0c5e8df948121d9abe4fd4db3acbabd80e2368dd42b3337e0 22:16:21 $ docker rm -f --volumes 4c85746e0ba226a0c5e8df948121d9abe4fd4db3acbabd80e2368dd42b3337e0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:16:22 22:16:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:16:22 0.23.1-centos7: Pulling from edgex-lftools 22:16:22 ab5ef0e58194: Pulling fs layer 22:16:22 9712f1f96733: Pulling fs layer 22:16:22 63f879dbbcfc: Pulling fs layer 22:16:22 0d9ebad4ef96: Pulling fs layer 22:16:22 e9a5061849ea: Pulling fs layer 22:16:22 d747dcd14b5f: Pulling fs layer 22:16:22 2de7ff778b66: Pulling fs layer 22:16:22 d747dcd14b5f: Waiting 22:16:22 e9a5061849ea: Waiting 22:16:22 0d9ebad4ef96: Waiting 22:16:22 9712f1f96733: Verifying Checksum 22:16:22 9712f1f96733: Download complete 22:16:22 63f879dbbcfc: Verifying Checksum 22:16:22 63f879dbbcfc: Download complete 22:16:22 e9a5061849ea: Verifying Checksum 22:16:22 e9a5061849ea: Download complete 22:16:22 d747dcd14b5f: Download complete 22:16:22 0d9ebad4ef96: Verifying Checksum 22:16:22 0d9ebad4ef96: Download complete 22:16:22 ab5ef0e58194: Verifying Checksum 22:16:22 ab5ef0e58194: Download complete 22:16:23 2de7ff778b66: Verifying Checksum 22:16:23 2de7ff778b66: Download complete 22:16:25 ab5ef0e58194: Pull complete 22:16:25 9712f1f96733: Pull complete 22:16:26 63f879dbbcfc: Pull complete 22:16:29 0d9ebad4ef96: Pull complete 22:16:29 e9a5061849ea: Pull complete 22:16:29 d747dcd14b5f: Pull complete 22:16:30 2de7ff778b66: Pull complete 22:16:30 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:16:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:16:30 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:30 prd-ubuntu20.04-docker-8c-8g-10308 does not seem to be running inside a container 22:16: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:16:32 $ docker top 8ba470d1a602c6ddb131333d26c8f3e694a960969a9a96469d590e2bc290b365 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:16:32 provisioning config files... 22:16:32 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17946010270988518914tmp 22:16:32 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2161291252410991650tmp 22:16:32 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11149400288055841507tmp [Pipeline] { [Pipeline] echo 22:16:32 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:16:32 ---> sigul-configuration.sh 22:16:32 gpg: directory `/root/.gnupg' created 22:16:32 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:16:32 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:16:32 gpg: keyring `/root/.gnupg/secring.gpg' created 22:16:32 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:16:32 gpg: CAST5 encrypted data 22:16:32 gpg: encrypted with 1 passphrase 22:16:32 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:16:33 + mkdir /home/jenkins 22:16:33 + mkdir /home/jenkins/sigul [Pipeline] sh 22:16:33 + 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 22:16:33 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:16:33 ---> sigul-install.sh 22:16:33 Sigul already installed; skipping installation. [Pipeline] sh 22:16:33 + git tag --list 22:16:33 v0.0.0 22:16:33 v2.2.0 22:16:33 v2.3.0 22:16:33 v2.3.1 22:16:33 v3.0 22:16:33 v3.0.0 22:16:33 v3.1.0-dev.1 22:16:33 v3.1.0-dev.10 22:16:33 v3.1.0-dev.11 22:16:33 v3.1.0-dev.12 22:16:33 v3.1.0-dev.13 22:16:33 v3.1.0-dev.14 22:16:33 v3.1.0-dev.15 22:16:33 v3.1.0-dev.16 22:16:33 v3.1.0-dev.17 22:16:33 v3.1.0-dev.18 22:16:33 v3.1.0-dev.19 22:16:33 v3.1.0-dev.2 22:16:33 v3.1.0-dev.20 22:16:33 v3.1.0-dev.21 22:16:33 v3.1.0-dev.22 22:16:33 v3.1.0-dev.3 22:16:33 v3.1.0-dev.4 22:16:33 v3.1.0-dev.5 22:16:33 v3.1.0-dev.6 22:16:33 v3.1.0-dev.7 22:16:33 v3.1.0-dev.8 22:16:33 v3.1.0-dev.9 [Pipeline] sh 22:16:34 + lftools sign git-tag v3.1.0-dev.22 22:16:34 Signing Git tag with Sigul... 22:16:34 Signing v3.1.0-dev.22 [Pipeline] echo 22:16:35 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:16:35 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:16:35 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:16:35 $ docker stop --time=1 8ba470d1a602c6ddb131333d26c8f3e694a960969a9a96469d590e2bc290b365 22:16:36 $ docker rm -f --volumes 8ba470d1a602c6ddb131333d26c8f3e694a960969a9a96469d590e2bc290b365 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:16:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:16:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:16:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:37 prd-ubuntu20.04-docker-8c-8g-10308 does not seem to be running inside a container 22:16:37 $ 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 22:16:37 $ docker top 33502e6e94a3ca5b4612abea9e447dc1886a414b12dd2c70fc0db28f43176176 -eo pid,comm 22:16:37 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). 22:16:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:16:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:16:37 [ssh-agent] Looking for ssh-agent implementation... 22:16:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:16:37 $ docker exec 33502e6e94a3ca5b4612abea9e447dc1886a414b12dd2c70fc0db28f43176176 ssh-agent 22:16:38 SSH_AUTH_SOCK=/tmp/ssh-IDN6wvBkFHOi/agent.32 22:16:38 SSH_AGENT_PID=38 22:16:38 Running ssh-add (command line suppressed) 22:16:38 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6364581829821106633.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6364581829821106633.key) 22:16:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:16:38 + git semver bump pre 22:16:38 2023-10-24 22:16:38,624 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:16:38 2023-10-24 22:16:38,624 [bump_version] DEBUG bumping version:3.1.0-dev.22 on axis:pre with prefix:dev 22:16:38 2023-10-24 22:16:38,624 [bump_version] DEBUG bumped version:3.1.0-dev.23 22:16:38 2023-10-24 22:16:38,624 [write_version] DEBUG write version:3.1.0-dev.23 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 22:16:38 2023-10-24 22:16:38,624 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:16:38 2023-10-24 22:16:38,624 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 22:16:38 2023-10-24 22:16:38,626 [execute] INFO git cat-file --batch-check 22:16:38 2023-10-24 22:16:38,626 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 22:16:38 2023-10-24 22:16:38,631 [execute] INFO git cat-file --batch 22:16:38 2023-10-24 22:16:38,631 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 22:16:38 2023-10-24 22:16:38,636 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:16:38 3.1.0-dev.23 [Pipeline] } 22:16:38 $ docker exec --env ******** --env ******** 33502e6e94a3ca5b4612abea9e447dc1886a414b12dd2c70fc0db28f43176176 ssh-agent -k 22:16:38 unset SSH_AUTH_SOCK; 22:16:38 unset SSH_AGENT_PID; 22:16:38 echo Agent pid 38 killed; 22:16:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:16:39 + git semver [Pipeline] } 22:16:39 $ docker stop --time=1 33502e6e94a3ca5b4612abea9e447dc1886a414b12dd2c70fc0db28f43176176 22:16:40 $ docker rm -f --volumes 33502e6e94a3ca5b4612abea9e447dc1886a414b12dd2c70fc0db28f43176176 [Pipeline] // withDockerContainer [Pipeline] sh 22:16:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:16:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:16:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:41 prd-ubuntu20.04-docker-8c-8g-10308 does not seem to be running inside a container 22:16: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:16:41 $ docker top b038043257a5fdaa3e322538318d1fec78b234828a36896940e80c0714a58d63 -eo pid,comm 22:16:41 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). 22:16:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:16:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:16:41 [ssh-agent] Looking for ssh-agent implementation... 22:16:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:16:41 $ docker exec b038043257a5fdaa3e322538318d1fec78b234828a36896940e80c0714a58d63 ssh-agent 22:16:42 SSH_AUTH_SOCK=/tmp/ssh-iUUQ3zTcrgSe/agent.32 22:16:42 SSH_AGENT_PID=38 22:16:42 Running ssh-add (command line suppressed) 22:16:42 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17901046570186692168.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17901046570186692168.key) 22:16:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:16:42 + git semver push 22:16:42 2023-10-24 22:16:42,557 [run_push] DEBUG push 22:16:42 2023-10-24 22:16:42,558 [execute] INFO git cat-file --batch-check 22:16:42 2023-10-24 22:16:42,558 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 22:16:42 2023-10-24 22:16:42,562 [execute] INFO git rev-list a0949971a06b9a53226b1478391d20b4a18e758d -- 22:16:42 2023-10-24 22:16:42,562 [execute] DEBUG Popen(['git', 'rev-list', 'a0949971a06b9a53226b1478391d20b4a18e758d', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 22:16:42 2023-10-24 22:16:42,570 [execute] INFO git fetch -v origin 22:16:42 2023-10-24 22:16:42,570 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 22:16:43 2023-10-24 22:16:43,106 [run_push] DEBUG no remote changes detected 22:16:43 2023-10-24 22:16:43,107 [execute] INFO git push origin semver 22:16:43 2023-10-24 22:16:43,107 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 22:16:44 2023-10-24 22:16:43,880 [run_push] DEBUG push all version tags 22:16:44 2023-10-24 22:16:43,881 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:16:44 2023-10-24 22:16:43,881 [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) 22:16:44 2023-10-24 22:16:44,666 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:16:44 3.1.0-dev.23 [Pipeline] } 22:16:44 $ docker exec --env ******** --env ******** b038043257a5fdaa3e322538318d1fec78b234828a36896940e80c0714a58d63 ssh-agent -k 22:16:44 unset SSH_AUTH_SOCK; 22:16:44 unset SSH_AGENT_PID; 22:16:44 echo Agent pid 38 killed; 22:16:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:16:45 + git semver [Pipeline] } 22:16:45 $ docker stop --time=1 b038043257a5fdaa3e322538318d1fec78b234828a36896940e80c0714a58d63 22:16:46 $ docker rm -f --volumes b038043257a5fdaa3e322538318d1fec78b234828a36896940e80c0714a58d63 [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 22:16:47 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 22:16:47 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 22:16:47 total 16 22:16:47 drwxr-xr-x 3 root root 4096 Oct 24 22:03 . 22:16:47 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 22:16 .. 22:16:47 drwxr-xr-x 2 root root 4096 Oct 24 22:03 cost 22:16:47 -rw-r--r-- 1 root root 91 Oct 24 22:03 cost.csv 22:16:47 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 22:16:47 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 22:16:47 total 16 22:16:47 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 22:03 . 22:16:47 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 22:16 .. 22:16:47 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 22:03 cost 22:16:47 -rw-r--r-- 1 jenkins jenkins 91 Oct 24 22:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:16:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:16:48 ---> package-listing.sh 22:16:48 ++ facter osfamily 22:16:48 ++ tr '[:upper:]' '[:lower:]' 22:16:48 + OS_FAMILY=debian 22:16:48 + workspace=/w/workspace/foundry_device-onvif-camera_main 22:16:48 + START_PACKAGES=/tmp/packages_start.txt 22:16:48 + END_PACKAGES=/tmp/packages_end.txt 22:16:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:16:48 + PACKAGES=/tmp/packages_start.txt 22:16:48 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 22:16:48 + PACKAGES=/tmp/packages_end.txt 22:16:48 + case "${OS_FAMILY}" in 22:16:48 + dpkg -l 22:16:48 + grep '^ii' 22:16:48 + '[' -f /tmp/packages_start.txt ']' 22:16:48 + '[' -f /tmp/packages_end.txt ']' 22:16:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:16:48 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 22:16:48 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 22:16:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 22:16:48 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 22:16:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:16:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:49 prd-ubuntu20.04-docker-8c-8g-10308 does not seem to be running inside a container 22:16:49 $ 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 22:16:50 $ docker top bc9524ff5c24817693dcaff12d85cec8af8857a0b9ce85e503387333a1d9ef2d -eo pid,comm [Pipeline] { [Pipeline] sh 22:16:50 + touch /tmp/pre-build-complete [Pipeline] sh 22:16:50 + mkdir -p /var/log/sysstat [Pipeline] sh 22:16:50 + ls /var/log/sa-host 22:16:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:16:51 provisioning config files... 22:16:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2323242029309722484tmp [Pipeline] { [Pipeline] echo 22:16:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:16:51 ---> create-netrc.sh [Pipeline] } 22:16:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:16:51 ---> python-tools-install.sh [Pipeline] echo 22:16:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:16:51 ---> sudo-logs.sh 22:16:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:16:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:16:52 ---> job-cost.sh 22:16:52 lf-activate-venv: SKIPPING 22:16:52 DEBUG: total: 0.2199999988079071 22:16:52 INFO: Retrieving Stack Cost... 22:16:52 INFO: Retrieving Pricing Info for: v3-standard-8 22:16:53 INFO: Archiving Costs [Pipeline] echo 22:16:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:16:53 ---> logs-deploy.sh 22:16:53 lf-activate-venv: SKIPPING 22:16:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/179 22:16:53 INFO: archiving workspace using pattern(s): 22:16:54 Archives upload complete. 22:16:54 INFO: archiving logs to Nexus 22:16:54 ---> uname -a: 22:16:54 Linux prd-ubuntu20-04-docker-8c-8g-10308 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 22:16:54 22:16:54 22:16:54 ---> lscpu: 22:16:54 Architecture: x86_64 22:16:54 CPU op-mode(s): 32-bit, 64-bit 22:16:54 Byte Order: Little Endian 22:16:54 Address sizes: 40 bits physical, 48 bits virtual 22:16:54 CPU(s): 8 22:16:54 On-line CPU(s) list: 0-7 22:16:54 Thread(s) per core: 1 22:16:54 Core(s) per socket: 1 22:16:54 Socket(s): 8 22:16:54 NUMA node(s): 1 22:16:54 Vendor ID: AuthenticAMD 22:16:54 CPU family: 23 22:16:54 Model: 49 22:16:54 Model name: AMD EPYC-Rome Processor 22:16:54 Stepping: 0 22:16:54 CPU MHz: 2799.998 22:16:54 BogoMIPS: 5599.99 22:16:54 Virtualization: AMD-V 22:16:54 Hypervisor vendor: KVM 22:16:54 Virtualization type: full 22:16:54 L1d cache: 256 KiB 22:16:54 L1i cache: 256 KiB 22:16:54 L2 cache: 4 MiB 22:16:54 L3 cache: 128 MiB 22:16:54 NUMA node0 CPU(s): 0-7 22:16:54 Vulnerability Itlb multihit: Not affected 22:16:54 Vulnerability L1tf: Not affected 22:16:54 Vulnerability Mds: Not affected 22:16:54 Vulnerability Meltdown: Not affected 22:16:54 Vulnerability Mmio stale data: Not affected 22:16:54 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:16:54 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 22:16:54 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 22:16:54 Vulnerability Srbds: Not affected 22:16:54 Vulnerability Tsx async abort: Not affected 22:16:54 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 22:16:54 22:16:54 22:16:54 ---> nproc: 22:16:54 8 22:16:54 22:16:54 22:16:54 ---> df -h: 22:16:54 Filesystem Size Used Avail Use% Mounted on 22:16:54 overlay 155G 13G 143G 9% / 22:16:54 tmpfs 64M 0 64M 0% /dev 22:16:54 tmpfs 16G 0 16G 0% /sys/fs/cgroup 22:16:54 shm 64M 0 64M 0% /dev/shm 22:16:54 /dev/vda1 155G 13G 143G 9% /facter-os 22:16:54 22:16:54