Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9825d353c0ae3edd45665d4480ee2bc38ab097aa 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-ssh9266114987570259610.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-ssh2429699906557166856.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-ssh12498161839701635302.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-ssh8686458306993861277.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-ssh17662089141243493062.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-6010 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9825d353c0ae3edd45665d4480ee2bc38ab097aa (main) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9825d353c0ae3edd45665d4480ee2bc38ab097aa # timeout=10 Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 (#384)" > git rev-list --no-walk 8c92c2345ec4e0cbdd9f822b52f444e1a80ad818 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:48:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:48:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:48:42 ========================================================= 21:48:42 EdgeX Global Pipelines Version Info 21:48:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:48:43 ------------------- 21:48:43 stable info: 21:48:43 ------------------- 21:48:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:48:43 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:48:43 Message: update stable to v1.0.254 21:48:43 ------------------- 21:48:43 experimental info: 21:48:43 ------------------- 21:48:43 Commited By: **** collab-it+edgex@linuxfoundation.org 21:48:43 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:48:43 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9825d353c0ae3edd45665d4480ee2bc38ab097aa [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9825d35 [Pipeline] echo 21:48:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:48:44 provisioning config files... 21:48:44 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17935805990997532943tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:48:44 ---> docker-login.sh 21:48:44 nexus3.edgexfoundry.org:10001 21:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:45 Configure a credential helper to remove this warning. See 21:48:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:45 21:48:45 Login Succeeded 21:48:45 nexus3.edgexfoundry.org:10002 21:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:45 Configure a credential helper to remove this warning. See 21:48:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:45 21:48:45 Login Succeeded 21:48:45 nexus3.edgexfoundry.org:10003 21:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:45 Configure a credential helper to remove this warning. See 21:48:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:45 21:48:45 Login Succeeded 21:48:45 nexus3.edgexfoundry.org:10004 21:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:45 Configure a credential helper to remove this warning. See 21:48:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:45 21:48:45 Login Succeeded 21:48:45 docker.io 21:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:45 Configure a credential helper to remove this warning. See 21:48:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:45 21:48:45 Login Succeeded 21:48:45 ---> docker-login.sh ends [Pipeline] } 21:48:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:48:46 + git rev-list -1 --merges 9825d353c0ae3edd45665d4480ee2bc38ab097aa~1..9825d353c0ae3edd45665d4480ee2bc38ab097aa [Pipeline] echo 21:48:46 -----------> git rev-list -1 --merges 9825d353c0ae3edd45665d4480ee2bc38ab097aa~1..9825d353c0ae3edd45665d4480ee2bc38ab097aa 9825d353c0ae3edd45665d4480ee2bc38ab097aa [false] [Pipeline] sh 21:48:46 + git log --format=format:%s -1 9825d353c0ae3edd45665d4480ee2bc38ab097aa [Pipeline] echo 21:48:46 ========================================================= 21:48:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:48:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:48:46 + git log --format=format:%s -1 9825d353c0ae3edd45665d4480ee2bc38ab097aa [Pipeline] echo 21:48:46 [semverPrep] GIT_COMMIT: 9825d353c0ae3edd45665d4480ee2bc38ab097aa, Commit Message: build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 (#384) [Pipeline] echo 21:48:46 [semverPrep] This is not a build commit. [Pipeline] sh 21:48:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:48:47 + grep -v github /etc/ssh/ssh_known_hosts 21:48:47 + [ -e /tmp/ssh_known_hosts ] 21:48:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:48:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:48:47 + sudo tee -a /etc/ssh/ssh_known_hosts 21:48:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:48:47 21:48:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:48:47 0.1.4: Pulling from edgex-devops/py-git-semver 21:48:47 b85a868b505f: Pulling fs layer 21:48:47 e2be974225ed: Pulling fs layer 21:48:47 339a4e72a1f5: Pulling fs layer 21:48:47 988bab9f4d93: Pulling fs layer 21:48:47 1469e6f7b9e6: Pulling fs layer 21:48:47 eaf3925da568: Pulling fs layer 21:48:47 bab4dde63d76: Pulling fs layer 21:48:47 bde34c3a00c8: Pulling fs layer 21:48:47 b352a97aabf1: Pulling fs layer 21:48:47 4872d77fe225: Pulling fs layer 21:48:47 5851b861e8e6: Pulling fs layer 21:48:47 b352a97aabf1: Waiting 21:48:47 4872d77fe225: Waiting 21:48:47 5851b861e8e6: Waiting 21:48:47 eaf3925da568: Waiting 21:48:47 bde34c3a00c8: Waiting 21:48:47 bab4dde63d76: Waiting 21:48:47 988bab9f4d93: Waiting 21:48:47 e2be974225ed: Verifying Checksum 21:48:47 e2be974225ed: Download complete 21:48:47 988bab9f4d93: Verifying Checksum 21:48:47 988bab9f4d93: Download complete 21:48:48 1469e6f7b9e6: Verifying Checksum 21:48:48 1469e6f7b9e6: Download complete 21:48:48 eaf3925da568: Verifying Checksum 21:48:48 eaf3925da568: Download complete 21:48:48 339a4e72a1f5: Verifying Checksum 21:48:48 339a4e72a1f5: Download complete 21:48:48 bde34c3a00c8: Verifying Checksum 21:48:48 bde34c3a00c8: Download complete 21:48:48 b352a97aabf1: Verifying Checksum 21:48:48 4872d77fe225: Verifying Checksum 21:48:48 5851b861e8e6: Download complete 21:48:48 b85a868b505f: Verifying Checksum 21:48:48 b85a868b505f: Download complete 21:48:48 bab4dde63d76: Verifying Checksum 21:48:48 bab4dde63d76: Download complete 21:48:49 b85a868b505f: Pull complete 21:48:49 e2be974225ed: Pull complete 21:48:50 339a4e72a1f5: Pull complete 21:48:50 988bab9f4d93: Pull complete 21:48:50 1469e6f7b9e6: Pull complete 21:48:50 eaf3925da568: Pull complete 21:48:52 bab4dde63d76: Pull complete 21:48:52 bde34c3a00c8: Pull complete 21:48:52 b352a97aabf1: Pull complete 21:48:52 4872d77fe225: Pull complete 21:48:53 5851b861e8e6: Pull complete 21:48:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:48:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:48:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:48:53 prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container 21:48:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:48:56 $ docker top 17bd66dac7bf30105c2d8b4067e501600e0577d538960daa8ec3f1c070689507 -eo pid,comm 21:48:56 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). 21:48:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:48:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:48:56 [ssh-agent] Looking for ssh-agent implementation... 21:48:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:48:57 $ docker exec 17bd66dac7bf30105c2d8b4067e501600e0577d538960daa8ec3f1c070689507 ssh-agent 21:48:57 SSH_AUTH_SOCK=/tmp/ssh-dNqLANiStAnZ/agent.32 21:48:57 SSH_AGENT_PID=38 21:48:57 Running ssh-add (command line suppressed) 21:48:57 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10954364602550678868.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10954364602550678868.key) 21:48:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:48:57 + git tag --points-at HEAD [Pipeline] } 21:48:57 $ docker exec --env ******** --env ******** 17bd66dac7bf30105c2d8b4067e501600e0577d538960daa8ec3f1c070689507 ssh-agent -k 21:48:57 unset SSH_AUTH_SOCK; 21:48:57 unset SSH_AGENT_PID; 21:48:57 echo Agent pid 38 killed; 21:48:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:48:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:48:57 [ssh-agent] Looking for ssh-agent implementation... 21:48:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:48:57 $ docker exec 17bd66dac7bf30105c2d8b4067e501600e0577d538960daa8ec3f1c070689507 ssh-agent 21:48:57 SSH_AUTH_SOCK=/tmp/ssh-niDCUuiYI5qj/agent.70 21:48:57 SSH_AGENT_PID=76 21:48:57 Running ssh-add (command line suppressed) 21:48:58 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7764378816855656398.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7764378816855656398.key) 21:48:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:48:58 + git semver init 21:48:58 2023-09-12 21:48:58,531 [run_init] DEBUG init version:0.0.0 force:False 21:48:58 2023-09-12 21:48:58,532 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 21:48:58 2023-09-12 21:48:58,533 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 21:48:58 2023-09-12 21:48:58,533 [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) 21:48:59 2023-09-12 21:48:59,669 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 21:48:59 2023-09-12 21:48:59,670 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 21:48:59 2023-09-12 21:48:59,670 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:48:59 2023-09-12 21:48:59,670 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:48:59 3.1.0-dev.9 [Pipeline] } 21:48:59 $ docker exec --env ******** --env ******** 17bd66dac7bf30105c2d8b4067e501600e0577d538960daa8ec3f1c070689507 ssh-agent -k 21:49:00 unset SSH_AUTH_SOCK; 21:49:00 unset SSH_AGENT_PID; 21:49:00 echo Agent pid 76 killed; 21:49:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:49:00 + git semver [Pipeline] } 21:49:00 $ docker stop --time=1 17bd66dac7bf30105c2d8b4067e501600e0577d538960daa8ec3f1c070689507 21:49:02 $ docker rm -f --volumes 17bd66dac7bf30105c2d8b4067e501600e0577d538960daa8ec3f1c070689507 [Pipeline] // withDockerContainer [Pipeline] sh 21:49:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:49:02 Stashed 1 file(s) [Pipeline] echo 21:49:02 [edgeXSemver]: initialized semver on version 3.1.0-dev.9 [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 21:49:02 provisioning config files... 21:49:02 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3142581208588609975tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:03 ---> docker-login.sh 21:49:03 nexus3.edgexfoundry.org:10001 21:49:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:03 Configure a credential helper to remove this warning. See 21:49:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:03 21:49:03 Login Succeeded 21:49:03 nexus3.edgexfoundry.org:10002 21:49:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:03 Configure a credential helper to remove this warning. See 21:49:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:03 21:49:03 Login Succeeded 21:49:03 nexus3.edgexfoundry.org:10003 21:49:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:03 Configure a credential helper to remove this warning. See 21:49:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:03 21:49:03 Login Succeeded 21:49:03 nexus3.edgexfoundry.org:10004 21:49:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:03 Configure a credential helper to remove this warning. See 21:49:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:03 21:49:03 Login Succeeded 21:49:03 docker.io 21:49:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:03 Configure a credential helper to remove this warning. See 21:49:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:03 21:49:03 Login Succeeded 21:49:03 ---> docker-login.sh ends [Pipeline] } 21:49:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:49:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:49:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:49:04 ========================================================= 21:49:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:49:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:04 + 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 . 21:49:04 Sending build context to Docker daemon 21.68MB 21:49:04 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 21:49:04 Step 2/13 : FROM ${BASE} AS builder 21:49:04 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:49:04 7264a8db6415: Pulling fs layer 21:49:04 c4d48a809fc2: Pulling fs layer 21:49:04 4f1c88b9dad5: Pulling fs layer 21:49:04 ad3a456e5733: Pulling fs layer 21:49:04 9e4f439ed901: Pulling fs layer 21:49:04 feaf6a47b606: Pulling fs layer 21:49:04 5e8b037d7d82: Pulling fs layer 21:49:04 8ac70367396e: Pulling fs layer 21:49:04 6db16350a2e2: Pulling fs layer 21:49:04 9250d5d63582: Pulling fs layer 21:49:04 ad3a456e5733: Waiting 21:49:04 9e4f439ed901: Waiting 21:49:04 feaf6a47b606: Waiting 21:49:04 5e8b037d7d82: Waiting 21:49:04 8ac70367396e: Waiting 21:49:04 6db16350a2e2: Waiting 21:49:04 9250d5d63582: Waiting 21:49:04 c4d48a809fc2: Verifying Checksum 21:49:04 c4d48a809fc2: Download complete 21:49:04 ad3a456e5733: Download complete 21:49:04 9e4f439ed901: Verifying Checksum 21:49:04 9e4f439ed901: Download complete 21:49:04 7264a8db6415: Verifying Checksum 21:49:04 7264a8db6415: Download complete 21:49:04 feaf6a47b606: Verifying Checksum 21:49:04 feaf6a47b606: Download complete 21:49:04 7264a8db6415: Pull complete 21:49:04 8ac70367396e: Verifying Checksum 21:49:04 8ac70367396e: Download complete 21:49:05 c4d48a809fc2: Pull complete 21:49:05 4f1c88b9dad5: Verifying Checksum 21:49:05 4f1c88b9dad5: Download complete 21:49:05 6db16350a2e2: Verifying Checksum 21:49:05 6db16350a2e2: Download complete 21:49:05 5e8b037d7d82: Verifying Checksum 21:49:05 5e8b037d7d82: Download complete 21:49:05 9250d5d63582: Verifying Checksum 21:49:05 9250d5d63582: Download complete 21:49:08 4f1c88b9dad5: Pull complete 21:49:08 ad3a456e5733: Pull complete 21:49:08 9e4f439ed901: Pull complete 21:49:08 feaf6a47b606: Pull complete 21:49:11 5e8b037d7d82: Pull complete 21:49:12 8ac70367396e: Pull complete 21:49:12 6db16350a2e2: Pull complete 21:49:12 9250d5d63582: Pull complete 21:49:13 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 21:49:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:49:13 ---> fa269f55d9b9 21:49:13 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:49:17 Still waiting to schedule task 21:49:17 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:49:23 ---> Running in 273759a7fa37 21:49:23 Removing intermediate container 273759a7fa37 21:49:23 ---> 1fc6a083652a 21:49:23 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:49:23 ---> Running in b9a438aab0ca 21:49:23 Removing intermediate container b9a438aab0ca 21:49:23 ---> c1d1394fabaf 21:49:23 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 21:49:23 ---> Running in 91415dc945f4 21:49:23 Removing intermediate container 91415dc945f4 21:49:23 ---> 542f45c32843 21:49:23 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:49:23 ---> Running in 70872018cbd7 21:49:23 Removing intermediate container 70872018cbd7 21:49:23 ---> 28985fb5c74e 21:49:23 Step 7/13 : LABEL Name=edgex-device-onvif-camera 21:49:23 ---> Running in 15c38c63bf08 21:49:23 Removing intermediate container 15c38c63bf08 21:49:23 ---> d24e9465f8a2 21:49:23 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:49:23 ---> Running in 91c45449b9de 21:49:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:49:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:49:24 OK: 265 MiB in 56 packages 21:49:24 Removing intermediate container 91c45449b9de 21:49:24 ---> c01536d987f5 21:49:24 Step 9/13 : WORKDIR /device-onvif-camera 21:49:24 ---> Running in 22c35a7ac093 21:49:24 Removing intermediate container 22c35a7ac093 21:49:24 ---> e129c5366825 21:49:24 Step 10/13 : COPY go.mod vendor* ./ 21:49:24 ---> 1897c90a8f47 21:49:24 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:49:24 ---> Running in cc483a700299 21:50:11 Removing intermediate container cc483a700299 21:50:11 ---> f67332746fa4 21:50:11 Step 12/13 : COPY . . 21:50:11 ---> 86f4c8787231 21:50:11 Step 13/13 : RUN ${MAKE} 21:50:11 ---> Running in 772574ff26b2 21:50:11 noop 21:50:11 Removing intermediate container 772574ff26b2 21:50:11 ---> af6ef7aa7065 21:50:11 Successfully built af6ef7aa7065 21:50:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:11 + docker inspect -f . ci-base-image-x86_64 21:50:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:50:11 prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container 21:50:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:50:12 $ docker top eec4e2c738e1f09735184d8773cd083184f52dc8459a4312ad8a1b7de7c9ff01 -eo pid,comm [Pipeline] { [Pipeline] sh 21:50:12 + go version 21:50:12 go version go1.21.0 linux/amd64 [Pipeline] } 21:50:12 $ docker stop --time=1 eec4e2c738e1f09735184d8773cd083184f52dc8459a4312ad8a1b7de7c9ff01 21:50:13 $ docker rm -f --volumes eec4e2c738e1f09735184d8773cd083184f52dc8459a4312ad8a1b7de7c9ff01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:14 + docker inspect -f . ci-base-image-x86_64 21:50:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:50:14 prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container 21:50:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:50:14 $ docker top 07b0f911f6feb20898f4d94ec1c2de7aeb29f7be784491c96ac0da694c34fa32 -eo pid,comm [Pipeline] { [Pipeline] sh 21:50:15 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 21:50:15 + make test 21:50:15 go test ./... -coverprofile=coverage.out ./... 21:50:17 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:50:29 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:50:29 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:50:30 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 31.5% of statements 21:50:31 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.397s coverage: 86.5% of statements 21:50:39 go vet ./... 21:50:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:50:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:50:43 ./bin/test-attribution-txt.sh [Pipeline] echo 21:50:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:50:43 $ docker stop --time=1 07b0f911f6feb20898f4d94ec1c2de7aeb29f7be784491c96ac0da694c34fa32 21:50:47 $ docker rm -f --volumes 07b0f911f6feb20898f4d94ec1c2de7aeb29f7be784491c96ac0da694c34fa32 [Pipeline] // withDockerContainer [Pipeline] sh 21:50:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:50:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:50:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:50:48 + ls -al . 21:50:48 total 240 21:50:48 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 21:50 . 21:50:48 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:48 .. 21:50:48 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 21:50 .git 21:50:48 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:48 .github 21:50:48 -rw-rw-r-- 1 jenkins jenkins 496 Sep 12 21:48 .gitignore 21:50:48 -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 21:48 .golangci.yml 21:50:48 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 21:48 .semver 21:50:48 -rw-rw-r-- 1 jenkins jenkins 11155 Sep 12 21:48 Attribution.txt 21:50:48 -rw-rw-r-- 1 jenkins jenkins 15932 Sep 12 21:48 CHANGELOG.md 21:50:48 -rw-rw-r-- 1 jenkins jenkins 1574 Sep 12 21:48 Dockerfile 21:50:48 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 21:48 GOVERNANCE.md 21:50:48 -rw-rw-r-- 1 jenkins jenkins 739 Sep 12 21:48 Jenkinsfile 21:50:48 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 12 21:48 LICENSE 21:50:48 -rw-rw-r-- 1 jenkins jenkins 2877 Sep 12 21:48 Makefile 21:50:48 -rw-rw-r-- 1 jenkins jenkins 625 Sep 12 21:48 OWNERS.md 21:50:48 -rw-rw-r-- 1 jenkins jenkins 2620 Sep 12 21:48 README.md 21:50:48 -rw-rw-r-- 1 jenkins jenkins 11 Sep 12 21:49 VERSION 21:50:48 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:48 bin 21:50:48 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:48 cmd 21:50:48 -rw-r--r-- 1 jenkins jenkins 78456 Sep 12 21:50 coverage.out 21:50:48 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:48 doc 21:50:48 -rw-rw-r-- 1 jenkins jenkins 4085 Sep 12 21:48 go.mod 21:50:48 -rw-rw-r-- 1 jenkins jenkins 36344 Sep 12 21:48 go.sum 21:50:48 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:48 internal 21:50:48 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:48 snap 21:50:48 -rw-rw-r-- 1 jenkins jenkins 236 Sep 12 21:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:49 + 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=9825d353c0ae3edd45665d4480ee2bc38ab097aa --label arch=amd64 --label version=3.1.0-dev.9 . 21:50:49 Sending build context to Docker daemon 21.76MB 21:50:49 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 21:50:49 Step 2/26 : FROM ${BASE} AS builder 21:50:49 ---> af6ef7aa7065 21:50:49 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:50:49 ---> Running in f1809c7b0157 21:50:49 Removing intermediate container f1809c7b0157 21:50:49 ---> 67570325b727 21:50:49 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:50:49 ---> Running in 62b891582f37 21:50:49 Removing intermediate container 62b891582f37 21:50:49 ---> 7aad8d5207e2 21:50:49 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 21:50:49 ---> Running in 215e282e15ac 21:50:49 Removing intermediate container 215e282e15ac 21:50:49 ---> 8c6642ea3a2c 21:50:49 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:50:49 ---> Running in b1081645688d 21:50:49 Removing intermediate container b1081645688d 21:50:49 ---> 0c0593d8e0b0 21:50:49 Step 7/26 : LABEL Name=edgex-device-onvif-camera 21:50:49 ---> Running in d4eda91056ff 21:50:50 Removing intermediate container d4eda91056ff 21:50:50 ---> b3d8291f40d2 21:50:50 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:50:50 ---> Running in 8915d4b556b8 21:50:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:50:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:50:50 OK: 265 MiB in 56 packages 21:50:51 Removing intermediate container 8915d4b556b8 21:50:51 ---> 2f9c4e674967 21:50:51 Step 9/26 : WORKDIR /device-onvif-camera 21:50:51 ---> Running in 499b45676599 21:50:51 Removing intermediate container 499b45676599 21:50:51 ---> c0ad100c6d10 21:50:51 Step 10/26 : COPY go.mod vendor* ./ 21:50:51 ---> 40a59d65e816 21:50:51 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:50:51 ---> Running in 1d62685625a4 21:50:52 Removing intermediate container 1d62685625a4 21:50:52 ---> 42a9eacdb02b 21:50:52 Step 12/26 : COPY . . 21:50:53 ---> 0136c8f81046 21:50:53 Step 13/26 : RUN ${MAKE} 21:50:53 ---> Running in d70198e5e39d 21:50:53 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 21:51:15 Removing intermediate container d70198e5e39d 21:51:15 ---> 3e5e8a7ce7ab 21:51:15 Step 14/26 : FROM alpine:3.18 21:51:15 3.18: Pulling from library/alpine 21:51:15 7264a8db6415: Already exists 21:51:15 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 21:51:15 Status: Downloaded newer image for alpine:3.18 21:51:15 ---> 7e01a0d0a1dc 21:51:15 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 21:51:15 ---> Running in f1ec89853ed1 21:51:15 Removing intermediate container f1ec89853ed1 21:51:15 ---> 676f08f1b343 21:51:15 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:51:15 ---> Running in 63cd5412825d 21:51:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:51:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:51:15 (1/1) Installing dumb-init (1.2.5-r2) 21:51:15 Executing busybox-1.36.1-r2.trigger 21:51:15 OK: 7 MiB in 16 packages 21:51:16 Removing intermediate container 63cd5412825d 21:51:16 ---> 34a2766ca8e9 21:51:16 Step 17/26 : WORKDIR / 21:51:16 ---> Running in d023614b0b60 21:51:16 Removing intermediate container d023614b0b60 21:51:16 ---> 9c9bceb5df81 21:51:16 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 21:51:17 ---> 9b2e8280da24 21:51:17 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 21:51:17 ---> 7107475d8365 21:51:17 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 21:51:17 ---> 54413f407851 21:51:17 Step 21/26 : EXPOSE 59984 21:51:17 ---> Running in 3213255f48ae 21:51:17 Removing intermediate container 3213255f48ae 21:51:17 ---> 992d69349909 21:51:17 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 21:51:17 ---> Running in ee83933b2aeb 21:51:17 Removing intermediate container ee83933b2aeb 21:51:17 ---> 0c74dd74a125 21:51:17 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:51:17 ---> Running in 144b6bb1e7ea 21:51:17 Removing intermediate container 144b6bb1e7ea 21:51:17 ---> 167ea86fbd11 21:51:17 Step 24/26 : LABEL arch=amd64 21:51:17 ---> Running in cb80de4efd1c 21:51:17 Removing intermediate container cb80de4efd1c 21:51:17 ---> 13199d000996 21:51:17 Step 25/26 : LABEL git_sha=9825d353c0ae3edd45665d4480ee2bc38ab097aa 21:51:17 ---> Running in f6c109c78af0 21:51:17 Removing intermediate container f6c109c78af0 21:51:17 ---> 093f0823ab9c 21:51:17 Step 26/26 : LABEL version=3.1.0-dev.9 21:51:17 ---> Running in db07941465b8 21:51:18 Removing intermediate container db07941465b8 21:51:18 ---> 36bc5a4df24a 21:51:18 [Warning] One or more build-args [ARCH] were not consumed 21:51:18 Successfully built 36bc5a4df24a 21:51:18 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 21:51:18 provisioning config files... 21:51:18 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7658874145207858080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:51:18 ---> docker-login.sh 21:51:18 nexus3.edgexfoundry.org:10001 21:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:18 Configure a credential helper to remove this warning. See 21:51:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:18 21:51:18 Login Succeeded 21:51:18 nexus3.edgexfoundry.org:10002 21:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:18 Configure a credential helper to remove this warning. See 21:51:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:18 21:51:18 Login Succeeded 21:51:18 nexus3.edgexfoundry.org:10003 21:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:18 Configure a credential helper to remove this warning. See 21:51:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:18 21:51:18 Login Succeeded 21:51:18 nexus3.edgexfoundry.org:10004 21:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:18 Configure a credential helper to remove this warning. See 21:51:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:18 21:51:18 Login Succeeded 21:51:18 docker.io 21:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:19 Configure a credential helper to remove this warning. See 21:51:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:19 21:51:19 Login Succeeded 21:51:19 ---> docker-login.sh ends [Pipeline] } 21:51:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:51:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:51:19 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 21:51:19 9825d353c0ae3edd45665d4480ee2bc38ab097aa 21:51:19 latest 21:51:19 3.1.0-dev.9 21:51:19 9825d353c0ae3edd45665d4480ee2bc38ab097aa-3.1.0-dev.9 21:51:19 main 21:51:19 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:19 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:9825d353c0ae3edd45665d4480ee2bc38ab097aa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:19 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:9825d353c0ae3edd45665d4480ee2bc38ab097aa 21:51:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:51:19 580cf59b828f: Preparing 21:51:19 b6a68afdb390: Preparing 21:51:19 d585dd818f0f: Preparing 21:51:19 e4bf6a73ef34: Preparing 21:51:19 4693057ce236: Preparing 21:51:19 4693057ce236: Layer already exists 21:51:19 b6a68afdb390: Pushed 21:51:19 e4bf6a73ef34: Pushed 21:51:19 580cf59b828f: Pushed 21:51:23 d585dd818f0f: Pushed 21:51:23 9825d353c0ae3edd45665d4480ee2bc38ab097aa: digest: sha256:5b4fb2ebae9082da832ea7e644549b64c24fd84c9e3d8805a6b8e41f7f5c3716 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:23 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:23 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 21:51:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:51:23 580cf59b828f: Preparing 21:51:23 b6a68afdb390: Preparing 21:51:23 d585dd818f0f: Preparing 21:51:23 e4bf6a73ef34: Preparing 21:51:23 4693057ce236: Preparing 21:51:23 e4bf6a73ef34: Layer already exists 21:51:23 4693057ce236: Layer already exists 21:51:23 b6a68afdb390: Layer already exists 21:51:23 580cf59b828f: Layer already exists 21:51:23 d585dd818f0f: Layer already exists 21:51:23 latest: digest: sha256:5b4fb2ebae9082da832ea7e644549b64c24fd84c9e3d8805a6b8e41f7f5c3716 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:24 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:24 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.9 21:51:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:51:24 580cf59b828f: Preparing 21:51:24 b6a68afdb390: Preparing 21:51:24 d585dd818f0f: Preparing 21:51:24 e4bf6a73ef34: Preparing 21:51:24 4693057ce236: Preparing 21:51:24 d585dd818f0f: Layer already exists 21:51:24 b6a68afdb390: Layer already exists 21:51:24 e4bf6a73ef34: Layer already exists 21:51:24 580cf59b828f: Layer already exists 21:51:24 4693057ce236: Layer already exists 21:51:24 3.1.0-dev.9: digest: sha256:5b4fb2ebae9082da832ea7e644549b64c24fd84c9e3d8805a6b8e41f7f5c3716 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:24 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:9825d353c0ae3edd45665d4480ee2bc38ab097aa-3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:25 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:9825d353c0ae3edd45665d4480ee2bc38ab097aa-3.1.0-dev.9 21:51:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:51:25 580cf59b828f: Preparing 21:51:25 b6a68afdb390: Preparing 21:51:25 d585dd818f0f: Preparing 21:51:25 e4bf6a73ef34: Preparing 21:51:25 4693057ce236: Preparing 21:51:25 e4bf6a73ef34: Layer already exists 21:51:25 d585dd818f0f: Layer already exists 21:51:25 4693057ce236: Layer already exists 21:51:25 b6a68afdb390: Layer already exists 21:51:25 580cf59b828f: Layer already exists 21:51:25 9825d353c0ae3edd45665d4480ee2bc38ab097aa-3.1.0-dev.9: digest: sha256:5b4fb2ebae9082da832ea7e644549b64c24fd84c9e3d8805a6b8e41f7f5c3716 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:25 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:25 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 21:51:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:51:25 580cf59b828f: Preparing 21:51:25 b6a68afdb390: Preparing 21:51:25 d585dd818f0f: Preparing 21:51:25 e4bf6a73ef34: Preparing 21:51:25 4693057ce236: Preparing 21:51:25 e4bf6a73ef34: Layer already exists 21:51:25 b6a68afdb390: Layer already exists 21:51:25 d585dd818f0f: Layer already exists 21:51:25 4693057ce236: Layer already exists 21:51:25 580cf59b828f: Layer already exists 21:51:25 main: digest: sha256:5b4fb2ebae9082da832ea7e644549b64c24fd84c9e3d8805a6b8e41f7f5c3716 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:51:25 ===================================================== [Pipeline] echo 21:51:25 taggedImages: 21:51:25 - nexus3.edgexfoundry.org:10004/device-onvif-camera:9825d353c0ae3edd45665d4480ee2bc38ab097aa 21:51:25 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 21:51:25 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.9 21:51:25 - nexus3.edgexfoundry.org:10004/device-onvif-camera:9825d353c0ae3edd45665d4480ee2bc38ab097aa-3.1.0-dev.9 21:51:25 - 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 21:51:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:51:26 21:51:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:51:26 latest: Pulling from edgex-lftools-log-publisher 21:51:26 5eb5b503b376: Pulling fs layer 21:51:26 5c69ac0246d0: Pulling fs layer 21:51:26 ec43610c2a17: Pulling fs layer 21:51:26 3a2ae6a8a46f: Pulling fs layer 21:51:26 33b1e0a273af: Pulling fs layer 21:51:26 5d3b04190fa2: Pulling fs layer 21:51:26 2f39f015ded8: Pulling fs layer 21:51:26 3a2ae6a8a46f: Waiting 21:51:26 33b1e0a273af: Waiting 21:51:26 2f39f015ded8: Waiting 21:51:26 5d3b04190fa2: Waiting 21:51:26 5c69ac0246d0: Verifying Checksum 21:51:26 5c69ac0246d0: Download complete 21:51:26 3a2ae6a8a46f: Verifying Checksum 21:51:26 3a2ae6a8a46f: Download complete 21:51:26 33b1e0a273af: Verifying Checksum 21:51:26 33b1e0a273af: Download complete 21:51:26 5d3b04190fa2: Verifying Checksum 21:51:26 ec43610c2a17: Verifying Checksum 21:51:26 ec43610c2a17: Download complete 21:51:26 5eb5b503b376: Verifying Checksum 21:51:26 5eb5b503b376: Download complete 21:51:27 2f39f015ded8: Download complete 21:51:27 5eb5b503b376: Pull complete 21:51:27 5c69ac0246d0: Pull complete 21:51:28 ec43610c2a17: Pull complete 21:51:28 3a2ae6a8a46f: Pull complete 21:51:28 33b1e0a273af: Pull complete 21:51:28 5d3b04190fa2: Pull complete 21:51:32 2f39f015ded8: Pull complete 21:51:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:51:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:51:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:51:33 prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container 21:51:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:51:38 $ docker top 98d04a993b0891f38ab97d8639a6a65b1c876d5fa21b8571aec257df842523c7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:51:38 ---> job-cost.sh 21:51:38 lf-activate-venv: SKIPPING 21:51:38 INFO: No Stack... 21:51:38 INFO: Retrieving Pricing Info for: v3-standard-8 21:51:38 INFO: Archiving Costs [Pipeline] sh 21:51:39 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 21:51:39 + cut -d, -f6 [Pipeline] lock 21:51:39 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-166-stack-cost] 21:51:39 Resource [jenkins-edgexfoundry-device-onvif-camera-main-166-stack-cost] did not exist. Created. 21:51:39 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-166-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:51:39 + echo total: 0.2199999988079071 [Pipeline] stash 21:51:39 Stashed 1 file(s) [Pipeline] } 21:51:39 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-166-stack-cost] [Pipeline] // lock [Pipeline] } 21:51:39 $ docker stop --time=1 98d04a993b0891f38ab97d8639a6a65b1c876d5fa21b8571aec257df842523c7 21:51:40 $ docker rm -f --volumes 98d04a993b0891f38ab97d8639a6a65b1c876d5fa21b8571aec257df842523c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:51:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6015 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 21:51:47 Running in /w/workspace/device-onvif-camera/166 [Pipeline] { [Pipeline] checkout 21:51:47 The recommended git tool is: git 21:51:53 using credential edgex-jenkins-ssh 21:51:53 Cloning the remote Git repository 21:51:53 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 21:51:54 > git init /w/workspace/device-onvif-camera/166 # timeout=10 21:51:54 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 21:51:54 > git --version # timeout=10 21:51:54 > git --version # 'git version 2.25.1' 21:51:54 using GIT_SSH to set credentials SSH Credentials for GitHub 21:51:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:51:56 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 21:51:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:51:57 Avoid second fetch 21:51:57 Checking out Revision 9825d353c0ae3edd45665d4480ee2bc38ab097aa (main) 21:51:57 > git config core.sparsecheckout # timeout=10 21:51:57 > git checkout -f 9825d353c0ae3edd45665d4480ee2bc38ab097aa # timeout=10 21:51:57 Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 (#384)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:51:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:51:58 % Total % Received % Xferd Average Speed Time Time Time Current 21:51:58 Dload Upload Total Spent Left Speed 21:51:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh 21:51:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:51:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:51:59 + sudo tee /etc/docker/daemon.new 21:51:59 { 21:51:59 "registry-mirrors": [ 21:51:59 "https://nexus3.edgexfoundry.org:10001" 21:51:59 ], 21:51:59 "bip": "10.250.0.254/24", 21:51:59 "hosts": [ 21:51:59 "tcp://0.0.0.0:5555", 21:51:59 "unix:///var/run/docker.sock" 21:51:59 ], 21:51:59 "mtu": 1458, 21:51:59 "selinux-enabled": true, 21:51:59 "seccomp-profile": "/etc/docker/seccomp.json" 21:51:59 } [Pipeline] sh 21:52:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:52:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:52:18 provisioning config files... 21:52:18 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/166@tmp/config8761062405561316055tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:52:19 ---> docker-login.sh 21:52:19 nexus3.edgexfoundry.org:10001 21:52:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:19 Configure a credential helper to remove this warning. See 21:52:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:19 21:52:19 Login Succeeded 21:52:19 nexus3.edgexfoundry.org:10002 21:52:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:20 Configure a credential helper to remove this warning. See 21:52:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:20 21:52:20 Login Succeeded 21:52:20 nexus3.edgexfoundry.org:10003 21:52:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:20 Configure a credential helper to remove this warning. See 21:52:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:20 21:52:20 Login Succeeded 21:52:20 nexus3.edgexfoundry.org:10004 21:52:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:20 Configure a credential helper to remove this warning. See 21:52:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:20 21:52:20 Login Succeeded 21:52:20 docker.io 21:52:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:21 Configure a credential helper to remove this warning. See 21:52:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:21 21:52:21 Login Succeeded 21:52:21 ---> docker-login.sh ends [Pipeline] } 21:52:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:52:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:52:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:52:21 ========================================================= 21:52:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:52:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:22 + 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 . 21:52:22 Sending build context to Docker daemon 14.19MB 21:52:22 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 21:52:22 Step 2/13 : FROM ${BASE} AS builder 21:52:22 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:52:22 9fda8d8052c6: Pulling fs layer 21:52:22 5d54e960e981: Pulling fs layer 21:52:22 c4a7e357bf2a: Pulling fs layer 21:52:22 f0e02332f6b5: Pulling fs layer 21:52:22 66412af1f25a: Pulling fs layer 21:52:22 1baf3a5c0e64: Pulling fs layer 21:52:22 9a37bb91b891: Pulling fs layer 21:52:22 a29adfc67d43: Pulling fs layer 21:52:22 d5de9f91c1a4: Pulling fs layer 21:52:22 1baf3a5c0e64: Waiting 21:52:22 9a37bb91b891: Waiting 21:52:22 a29adfc67d43: Waiting 21:52:22 d5de9f91c1a4: Waiting 21:52:22 66412af1f25a: Waiting 21:52:22 f0e02332f6b5: Waiting 21:52:22 5d54e960e981: Verifying Checksum 21:52:22 5d54e960e981: Download complete 21:52:22 f0e02332f6b5: Download complete 21:52:23 66412af1f25a: Verifying Checksum 21:52:23 66412af1f25a: Download complete 21:52:23 9fda8d8052c6: Verifying Checksum 21:52:23 9fda8d8052c6: Download complete 21:52:23 9a37bb91b891: Verifying Checksum 21:52:23 9a37bb91b891: Download complete 21:52:24 9fda8d8052c6: Pull complete 21:52:24 a29adfc67d43: Download complete 21:52:24 5d54e960e981: Pull complete 21:52:25 d5de9f91c1a4: Verifying Checksum 21:52:25 d5de9f91c1a4: Download complete 21:52:25 c4a7e357bf2a: Verifying Checksum 21:52:25 c4a7e357bf2a: Download complete 21:52:26 1baf3a5c0e64: Verifying Checksum 21:52:26 1baf3a5c0e64: Download complete 21:52:36 c4a7e357bf2a: Pull complete 21:52:36 f0e02332f6b5: Pull complete 21:52:36 66412af1f25a: Pull complete 21:52:44 1baf3a5c0e64: Pull complete 21:52:45 9a37bb91b891: Pull complete 21:52:46 a29adfc67d43: Pull complete 21:52:48 d5de9f91c1a4: Pull complete 21:52:48 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 21:52:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:52:48 ---> 746ca1b523b5 21:52:48 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:52:54 ---> Running in 3d47f2bb7588 21:52:54 Removing intermediate container 3d47f2bb7588 21:52:54 ---> 0aeae89fda91 21:52:54 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:52:54 ---> Running in 1312137d2b86 21:52:54 Removing intermediate container 1312137d2b86 21:52:54 ---> d4c910a40465 21:52:54 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 21:52:54 ---> Running in 2eedafc38008 21:52:54 Removing intermediate container 2eedafc38008 21:52:54 ---> 9a66f4a12714 21:52:54 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:52:54 ---> Running in b455db6435b2 21:52:54 Removing intermediate container b455db6435b2 21:52:54 ---> 90b8c37704ef 21:52:54 Step 7/13 : LABEL Name=edgex-device-onvif-camera 21:52:54 ---> Running in f2616589e0d4 21:52:54 Removing intermediate container f2616589e0d4 21:52:54 ---> f04bca1ae6ff 21:52:54 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:52:54 ---> Running in c8a1ffffda81 21:52:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:52:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:52:58 OK: 267 MiB in 56 packages 21:52:59 Removing intermediate container c8a1ffffda81 21:52:59 ---> 01d1faa5ee3d 21:52:59 Step 9/13 : WORKDIR /device-onvif-camera 21:52:59 ---> Running in 2e50906cd5e2 21:53:00 Removing intermediate container 2e50906cd5e2 21:53:00 ---> 644d9875d24a 21:53:00 Step 10/13 : COPY go.mod vendor* ./ 21:53:01 ---> d97c5ea2deb9 21:53:01 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:53:01 ---> Running in 71e8fbc47daf 21:54:22 Removing intermediate container 71e8fbc47daf 21:54:22 ---> 39c57409eac7 21:54:22 Step 12/13 : COPY . . 21:54:22 ---> 7fc5b1c8f816 21:54:22 Step 13/13 : RUN ${MAKE} 21:54:22 ---> Running in fdd4e9d012c9 21:54:22 noop 21:54:22 Removing intermediate container fdd4e9d012c9 21:54:22 ---> e189310c7f11 21:54:22 Successfully built e189310c7f11 21:54:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:23 + docker inspect -f . ci-base-image-arm64 21:54:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:54:23 prd-ubuntu20.04-docker-arm64-4c-16g-6015 does not seem to be running inside a container 21:54:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/166 -v /w/workspace/device-onvif-camera/166:/w/workspace/device-onvif-camera/166:rw,z -v /w/workspace/device-onvif-camera/166@tmp:/w/workspace/device-onvif-camera/166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:54:24 $ docker top 5c47b28bbf2f09677f8ed3ccc6845af8f1682fefcebe2ca34e9d89bda65cfd39 -eo pid,comm [Pipeline] { [Pipeline] sh 21:54:25 + go version 21:54:25 go version go1.21.0 linux/arm64 [Pipeline] } 21:54:25 $ docker stop --time=1 5c47b28bbf2f09677f8ed3ccc6845af8f1682fefcebe2ca34e9d89bda65cfd39 21:54:27 $ docker rm -f --volumes 5c47b28bbf2f09677f8ed3ccc6845af8f1682fefcebe2ca34e9d89bda65cfd39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:27 + docker inspect -f . ci-base-image-arm64 21:54:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:54:28 prd-ubuntu20.04-docker-arm64-4c-16g-6015 does not seem to be running inside a container 21:54:28 $ 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/166 -v /w/workspace/device-onvif-camera/166:/w/workspace/device-onvif-camera/166:rw,z -v /w/workspace/device-onvif-camera/166@tmp:/w/workspace/device-onvif-camera/166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:54:29 $ docker top 1f27d4b3b1513bbe35331767cf4e960ca00b8699d1622e82676e8969ed964643 -eo pid,comm [Pipeline] { [Pipeline] sh 21:54:30 + git config --global --add safe.directory /w/workspace/device-onvif-camera/166 [Pipeline] fileExists [Pipeline] sh 21:54:30 + make test 21:54:30 go test ./... -coverprofile=coverage.out ./... 21:54:36 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:56:57 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:56:57 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:56:57 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.210s coverage: 31.5% of statements 21:57:20 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.659s coverage: 86.5% of statements 21:57:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:57:20 go vet ./... 21:57:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:57:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:57:52 ./bin/test-attribution-txt.sh [Pipeline] echo 21:57:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:57:52 $ docker stop --time=1 1f27d4b3b1513bbe35331767cf4e960ca00b8699d1622e82676e8969ed964643 21:57:55 $ docker rm -f --volumes 1f27d4b3b1513bbe35331767cf4e960ca00b8699d1622e82676e8969ed964643 [Pipeline] // withDockerContainer [Pipeline] sh 21:57:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:57:56 Warning: overwriting stash ‘coverage-report’ 21:57:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:57:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:57:57 + ls -al . 21:57:57 total 236 21:57:57 drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 21:54 . 21:57:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:51 .. 21:57:57 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 21:51 .git 21:57:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:51 .github 21:57:57 -rw-rw-r-- 1 jenkins jenkins 496 Sep 12 21:51 .gitignore 21:57:57 -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 21:51 .golangci.yml 21:57:57 -rw-rw-r-- 1 jenkins jenkins 11155 Sep 12 21:51 Attribution.txt 21:57:57 -rw-rw-r-- 1 jenkins jenkins 15932 Sep 12 21:51 CHANGELOG.md 21:57:57 -rw-rw-r-- 1 jenkins jenkins 1574 Sep 12 21:51 Dockerfile 21:57:57 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 21:51 GOVERNANCE.md 21:57:57 -rw-rw-r-- 1 jenkins jenkins 739 Sep 12 21:51 Jenkinsfile 21:57:57 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 12 21:51 LICENSE 21:57:57 -rw-rw-r-- 1 jenkins jenkins 2877 Sep 12 21:51 Makefile 21:57:57 -rw-rw-r-- 1 jenkins jenkins 625 Sep 12 21:51 OWNERS.md 21:57:57 -rw-rw-r-- 1 jenkins jenkins 2620 Sep 12 21:51 README.md 21:57:57 -rw-rw-r-- 1 jenkins jenkins 11 Sep 12 21:49 VERSION 21:57:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:51 bin 21:57:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:51 cmd 21:57:57 -rw-r--r-- 1 jenkins jenkins 78456 Sep 12 21:57 coverage.out 21:57:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:51 doc 21:57:57 -rw-rw-r-- 1 jenkins jenkins 4085 Sep 12 21:51 go.mod 21:57:57 -rw-rw-r-- 1 jenkins jenkins 36344 Sep 12 21:51 go.sum 21:57:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:51 internal 21:57:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:51 snap 21:57:57 -rw-rw-r-- 1 jenkins jenkins 236 Sep 12 21:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:57 + 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=9825d353c0ae3edd45665d4480ee2bc38ab097aa --label arch=arm64 --label version=3.1.0-dev.9 . 21:57:58 Sending build context to Docker daemon 14.27MB 21:57:58 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 21:57:58 Step 2/26 : FROM ${BASE} AS builder 21:57:58 ---> e189310c7f11 21:57:58 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:57:58 ---> Running in abce00bf50d1 21:57:58 Removing intermediate container abce00bf50d1 21:57:58 ---> 439cda9afb9a 21:57:58 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:57:59 ---> Running in ff85376248a0 21:57:59 Removing intermediate container ff85376248a0 21:57:59 ---> e5d893876c9f 21:57:59 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 21:57:59 ---> Running in 795211015d00 21:57:59 Removing intermediate container 795211015d00 21:57:59 ---> dbce6039bbe7 21:57:59 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:57:59 ---> Running in 8e1f528ac6c3 21:58:00 Removing intermediate container 8e1f528ac6c3 21:58:00 ---> 9409eadc9469 21:58:00 Step 7/26 : LABEL Name=edgex-device-onvif-camera 21:58:00 ---> Running in 441a8c4ba5d3 21:58:00 Removing intermediate container 441a8c4ba5d3 21:58:00 ---> 1d9174def9fd 21:58:00 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:58:00 ---> Running in 6dccb3614cc5 21:58:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:58:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:58:03 OK: 267 MiB in 56 packages 21:58:03 Removing intermediate container 6dccb3614cc5 21:58:03 ---> 6d4e058aaac6 21:58:03 Step 9/26 : WORKDIR /device-onvif-camera 21:58:03 ---> Running in df6b9f669abc 21:58:04 Removing intermediate container df6b9f669abc 21:58:04 ---> 27212c64f8aa 21:58:04 Step 10/26 : COPY go.mod vendor* ./ 21:58:04 ---> 5bac48eb5f32 21:58:04 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:58:04 ---> Running in 1e7b08e96f60 21:58:09 Removing intermediate container 1e7b08e96f60 21:58:09 ---> 3bdc2718274c 21:58:09 Step 12/26 : COPY . . 21:58:10 ---> 4328c9e63297 21:58:10 Step 13/26 : RUN ${MAKE} 21:58:10 ---> Running in 115d6e266b15 21:58:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:00:17 Removing intermediate container 115d6e266b15 22:00:17 ---> 64a3d4bba6c7 22:00:17 Step 14/26 : FROM alpine:3.18 22:00:17 3.18: Pulling from library/alpine 22:00:17 9fda8d8052c6: Already exists 22:00:17 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 22:00:17 Status: Downloaded newer image for alpine:3.18 22:00:17 ---> f6648c04cd6c 22:00:17 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 22:00:17 ---> Running in 2c3ef5898573 22:00:17 Removing intermediate container 2c3ef5898573 22:00:17 ---> 78ea40cbb59a 22:00:17 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:00:17 ---> Running in c0921b29caf3 22:00:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:00:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:00:17 (1/1) Installing dumb-init (1.2.5-r2) 22:00:17 Executing busybox-1.36.1-r2.trigger 22:00:17 OK: 8 MiB in 16 packages 22:00:17 Removing intermediate container c0921b29caf3 22:00:17 ---> f1bf981d7290 22:00:17 Step 17/26 : WORKDIR / 22:00:18 ---> Running in 292867e51544 22:00:18 Removing intermediate container 292867e51544 22:00:18 ---> e1437fdf5c05 22:00:18 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:00:19 ---> 93428ada7f3e 22:00:19 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:00:20 ---> 77f8528fa3da 22:00:20 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:00:20 ---> 0af02c4f9cd3 22:00:20 Step 21/26 : EXPOSE 59984 22:00:20 ---> Running in 7fb0fd58686e 22:00:20 Removing intermediate container 7fb0fd58686e 22:00:20 ---> 273eea00c957 22:00:20 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:00:20 ---> Running in 0ea47e7a5faf 22:00:21 Removing intermediate container 0ea47e7a5faf 22:00:21 ---> 0b29ac240eef 22:00:21 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:00:21 ---> Running in faf985840f0a 22:00:21 Removing intermediate container faf985840f0a 22:00:21 ---> fb043eae71dd 22:00:21 Step 24/26 : LABEL arch=arm64 22:00:21 ---> Running in d7bc15c330aa 22:00:22 Removing intermediate container d7bc15c330aa 22:00:22 ---> 48f01e369090 22:00:22 Step 25/26 : LABEL git_sha=9825d353c0ae3edd45665d4480ee2bc38ab097aa 22:00:22 ---> Running in a2be33bc783b 22:00:22 Removing intermediate container a2be33bc783b 22:00:22 ---> b4dd7c4ae33c 22:00:22 Step 26/26 : LABEL version=3.1.0-dev.9 22:00:22 ---> Running in 863337f49cd7 22:00:22 Removing intermediate container 863337f49cd7 22:00:22 ---> 94cd9ef947ed 22:00:22 [Warning] One or more build-args [ARCH] were not consumed 22:00:22 Successfully built 94cd9ef947ed 22:00:22 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:00:22 provisioning config files... 22:00:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/166@tmp/config15253124314271372942tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:00:23 ---> docker-login.sh 22:00:23 nexus3.edgexfoundry.org:10001 22:00:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:00:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:00:23 Configure a credential helper to remove this warning. See 22:00:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:00:23 22:00:23 Login Succeeded 22:00:23 nexus3.edgexfoundry.org:10002 22:00:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:00:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:00:23 Configure a credential helper to remove this warning. See 22:00:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:00:23 22:00:23 Login Succeeded 22:00:23 nexus3.edgexfoundry.org:10003 22:00:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:00:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:00:23 Configure a credential helper to remove this warning. See 22:00:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:00:23 22:00:23 Login Succeeded 22:00:23 nexus3.edgexfoundry.org:10004 22:00:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:00:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:00:24 Configure a credential helper to remove this warning. See 22:00:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:00:24 22:00:24 Login Succeeded 22:00:24 docker.io 22:00:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:00:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:00:24 Configure a credential helper to remove this warning. See 22:00:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:00:24 22:00:24 Login Succeeded 22:00:24 ---> docker-login.sh ends [Pipeline] } 22:00:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:00:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:00:24 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 22:00:24 9825d353c0ae3edd45665d4480ee2bc38ab097aa 22:00:24 latest 22:00:24 3.1.0-dev.9 22:00:24 9825d353c0ae3edd45665d4480ee2bc38ab097aa-3.1.0-dev.9 22:00:24 main 22:00:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:25 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9825d353c0ae3edd45665d4480ee2bc38ab097aa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:25 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9825d353c0ae3edd45665d4480ee2bc38ab097aa 22:00:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 22:00:25 3ccd88093c5c: Preparing 22:00:25 8479b89ad5a6: Preparing 22:00:25 1afd751b245e: Preparing 22:00:25 d587b04992eb: Preparing 22:00:25 b2191e2be29d: Preparing 22:00:25 b2191e2be29d: Layer already exists 22:00:25 8479b89ad5a6: Pushed 22:00:25 3ccd88093c5c: Pushed 22:00:25 d587b04992eb: Pushed 22:00:32 1afd751b245e: Pushed 22:00:32 9825d353c0ae3edd45665d4480ee2bc38ab097aa: digest: sha256:2b44bed660fcca98a229ad804bc2a285f958166d10c4740b294b97682fbbe2ff size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:32 + 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:00:33 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 22:00:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 22:00:33 3ccd88093c5c: Preparing 22:00:33 8479b89ad5a6: Preparing 22:00:33 1afd751b245e: Preparing 22:00:33 d587b04992eb: Preparing 22:00:33 b2191e2be29d: Preparing 22:00:33 b2191e2be29d: Layer already exists 22:00:33 8479b89ad5a6: Layer already exists 22:00:33 3ccd88093c5c: Layer already exists 22:00:33 d587b04992eb: Layer already exists 22:00:33 1afd751b245e: Layer already exists 22:00:33 latest: digest: sha256:2b44bed660fcca98a229ad804bc2a285f958166d10c4740b294b97682fbbe2ff size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:33 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:33 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.9 22:00:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 22:00:33 3ccd88093c5c: Preparing 22:00:33 8479b89ad5a6: Preparing 22:00:33 1afd751b245e: Preparing 22:00:33 d587b04992eb: Preparing 22:00:33 b2191e2be29d: Preparing 22:00:33 b2191e2be29d: Layer already exists 22:00:33 1afd751b245e: Layer already exists 22:00:33 3ccd88093c5c: Layer already exists 22:00:33 8479b89ad5a6: Layer already exists 22:00:33 d587b04992eb: Layer already exists 22:00:33 3.1.0-dev.9: digest: sha256:2b44bed660fcca98a229ad804bc2a285f958166d10c4740b294b97682fbbe2ff size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:34 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9825d353c0ae3edd45665d4480ee2bc38ab097aa-3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:34 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9825d353c0ae3edd45665d4480ee2bc38ab097aa-3.1.0-dev.9 22:00:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 22:00:34 3ccd88093c5c: Preparing 22:00:34 8479b89ad5a6: Preparing 22:00:34 1afd751b245e: Preparing 22:00:34 d587b04992eb: Preparing 22:00:34 b2191e2be29d: Preparing 22:00:34 8479b89ad5a6: Layer already exists 22:00:34 3ccd88093c5c: Layer already exists 22:00:34 1afd751b245e: Layer already exists 22:00:34 b2191e2be29d: Layer already exists 22:00:34 d587b04992eb: Layer already exists 22:00:34 9825d353c0ae3edd45665d4480ee2bc38ab097aa-3.1.0-dev.9: digest: sha256:2b44bed660fcca98a229ad804bc2a285f958166d10c4740b294b97682fbbe2ff size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:34 + 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:00:35 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 22:00:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 22:00:35 3ccd88093c5c: Preparing 22:00:35 8479b89ad5a6: Preparing 22:00:35 1afd751b245e: Preparing 22:00:35 d587b04992eb: Preparing 22:00:35 b2191e2be29d: Preparing 22:00:35 8479b89ad5a6: Layer already exists 22:00:35 b2191e2be29d: Layer already exists 22:00:35 1afd751b245e: Layer already exists 22:00:35 d587b04992eb: Layer already exists 22:00:35 3ccd88093c5c: Layer already exists 22:00:35 main: digest: sha256:2b44bed660fcca98a229ad804bc2a285f958166d10c4740b294b97682fbbe2ff size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:00:35 ===================================================== [Pipeline] echo 22:00:35 taggedImages: 22:00:35 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9825d353c0ae3edd45665d4480ee2bc38ab097aa 22:00:35 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 22:00:35 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.9 22:00:35 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9825d353c0ae3edd45665d4480ee2bc38ab097aa-3.1.0-dev.9 22:00:35 - 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:00:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:00:35 22:00:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:00:40 arm64: Pulling from edgex-lftools-log-publisher 22:00:40 8998bd30e6a1: Pulling fs layer 22:00:40 04944245beec: Pulling fs layer 22:00:40 699f458cf7ca: Pulling fs layer 22:00:40 765212b225bb: Pulling fs layer 22:00:40 f23df028b6ca: Pulling fs layer 22:00:40 d65c8cfc05b1: Pulling fs layer 22:00:40 2437ff75d9bd: Pulling fs layer 22:00:40 f23df028b6ca: Waiting 22:00:40 d65c8cfc05b1: Waiting 22:00:40 2437ff75d9bd: Waiting 22:00:40 765212b225bb: Waiting 22:00:40 04944245beec: Verifying Checksum 22:00:40 04944245beec: Download complete 22:00:40 765212b225bb: Verifying Checksum 22:00:40 765212b225bb: Download complete 22:00:40 f23df028b6ca: Verifying Checksum 22:00:40 f23df028b6ca: Download complete 22:00:40 d65c8cfc05b1: Verifying Checksum 22:00:40 d65c8cfc05b1: Download complete 22:00:40 699f458cf7ca: Verifying Checksum 22:00:40 699f458cf7ca: Download complete 22:00:40 8998bd30e6a1: Verifying Checksum 22:00:40 8998bd30e6a1: Download complete 22:00:42 2437ff75d9bd: Download complete 22:00:44 8998bd30e6a1: Pull complete 22:00:44 04944245beec: Pull complete 22:00:45 699f458cf7ca: Pull complete 22:00:45 765212b225bb: Pull complete 22:00:46 f23df028b6ca: Pull complete 22:00:46 d65c8cfc05b1: Pull complete 22:01:01 2437ff75d9bd: Pull complete 22:01:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:01:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:01:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:01 prd-ubuntu20.04-docker-arm64-4c-16g-6015 does not seem to be running inside a container 22:01:02 $ 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/166 -v /w/workspace/device-onvif-camera/166:/w/workspace/device-onvif-camera/166:rw,z -v /w/workspace/device-onvif-camera/166@tmp:/w/workspace/device-onvif-camera/166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:01:04 $ docker top e5569aff4e6ae57d9170d05fd0221049c90880abf1929d5611fb5736443f8cac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:01:05 ---> job-cost.sh 22:01:05 lf-activate-venv: SKIPPING 22:01:05 INFO: No Stack... 22:01:05 INFO: Retrieving Pricing Info for: v3-standard-4 22:01:06 INFO: Archiving Costs [Pipeline] sh 22:01:07 + + cut -d, -f6 22:01:07 cat /w/workspace/device-onvif-camera/166/archives/cost.csv [Pipeline] lock 22:01:07 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-166-stack-cost] 22:01:07 Resource [jenkins-edgexfoundry-device-onvif-camera-main-166-stack-cost] did not exist. Created. 22:01:07 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-166-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:01:07 /w/workspace/device-onvif-camera/166@tmp/durable-725eb302/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:01:08 + echo total: 0.10999999940395355 [Pipeline] stash 22:01:08 Warning: overwriting stash ‘stack-cost’ 22:01:08 Stashed 1 file(s) [Pipeline] } 22:01:08 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-166-stack-cost] [Pipeline] // lock [Pipeline] } 22:01:08 $ docker stop --time=1 e5569aff4e6ae57d9170d05fd0221049c90880abf1929d5611fb5736443f8cac 22:01:10 $ docker rm -f --volumes e5569aff4e6ae57d9170d05fd0221049c90880abf1929d5611fb5736443f8cac [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:01:10 provisioning config files... 22:01:10 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15846741509133061440tmp [Pipeline] { [Pipeline] sh 22:01:10 + set +x 22:01:10 + curl -s https://codecov.io/bash 22:01:10 + bash -s -- 22:01:10 22:01:10 _____ _ 22:01:10 / ____| | | 22:01:10 | | ___ __| | ___ ___ _____ __ 22:01:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:01:10 | |___| (_) | (_| | __/ (_| (_) \ V / 22:01:10 \_____\___/ \__,_|\___|\___\___/ \_/ 22:01:10 Bash-1.0.6 22:01:10 22:01:10 22:01:10 ==> git version 2.25.1 found 22:01:10 ==> 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:01:10 Release-Date: 2020-01-08 22:01:10 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:01:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:01:10 ==> Jenkins CI detected. 22:01:10 current dir:  /w/workspace/foundry_device-onvif-camera_main 22:01:10 project root: . 22:01:10 --> token set from env 22:01:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:01:10 ==> Running gcov in . (disable via -X gcov) 22:01:10 ==> Python coveragepy not found 22:01:10 ==> Searching for coverage reports in: 22:01:10 + . 22:01:10 -> Found 1 reports 22:01:10 ==> Detecting git/mercurial file structure 22:01:10 ==> Reading reports 22:01:10 + ./coverage.out bytes=78456 22:01:10 ==> Appending adjustments 22:01:10 https://docs.codecov.io/docs/fixing-reports 22:01:10 + Found adjustments 22:01:10 ==> Gzipping contents 22:01:10 12K /tmp/codecov.uA1mlf.gz 22:01:10 ==> Uploading reports 22:01:10 url: https://codecov.io 22:01:10 query: branch=main&commit=9825d353c0ae3edd45665d4480ee2bc38ab097aa&build=166&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F166%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 22:01:10 -> Pinging Codecov 22:01:10 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=9825d353c0ae3edd45665d4480ee2bc38ab097aa&build=166&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F166%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 22:01:11 -> Uploading to 22:01:11 https://storage.googleapis.com/codecov/v4/raw/2023-09-12/F29A59C45E3A92E06B3E522C9905F8EF/9825d353c0ae3edd45665d4480ee2bc38ab097aa/6575335a-087c-4364-8067-7844cea42338.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T220110Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d5a9c604314a4d9f3283348c4b7497a11c27c284bee4e2dc4a90006c6f8c233e 22:01:11 % Total % Received % Xferd Average Speed Time Time Time Current 22:01:11 Dload Upload Total Spent Left Speed 22:01:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10561 0 0 100 10561 0 55293 --:--:-- --:--:-- --:--:-- 55293 22:01:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/9825d353c0ae3edd45665d4480ee2bc38ab097aa [Pipeline] } 22:01:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:01:11 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:01:11 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:01:11 22:01:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:01:12 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:01:12 df9b9388f04a: Pulling fs layer 22:01:12 52dc419b0ee2: Pulling fs layer 22:01:12 25bc292e5bac: Pulling fs layer 22:01:12 114826534d7a: Pulling fs layer 22:01:12 4657fd5d0bcf: Pulling fs layer 22:01:12 6ad1cebc031e: Pulling fs layer 22:01:12 8a3aa393b2d8: Pulling fs layer 22:01:12 8a3aa393b2d8: Waiting 22:01:12 114826534d7a: Waiting 22:01:12 6ad1cebc031e: Waiting 22:01:12 25bc292e5bac: Verifying Checksum 22:01:12 25bc292e5bac: Download complete 22:01:12 52dc419b0ee2: Download complete 22:01:12 4657fd5d0bcf: Verifying Checksum 22:01:12 4657fd5d0bcf: Download complete 22:01:12 df9b9388f04a: Verifying Checksum 22:01:12 df9b9388f04a: Download complete 22:01:12 6ad1cebc031e: Verifying Checksum 22:01:12 6ad1cebc031e: Download complete 22:01:12 df9b9388f04a: Pull complete 22:01:12 52dc419b0ee2: Pull complete 22:01:12 25bc292e5bac: Pull complete 22:01:13 114826534d7a: Verifying Checksum 22:01:13 114826534d7a: Download complete 22:01:13 8a3aa393b2d8: Verifying Checksum 22:01:13 8a3aa393b2d8: Download complete 22:01:17 114826534d7a: Pull complete 22:01:17 4657fd5d0bcf: Pull complete 22:01:17 6ad1cebc031e: Pull complete 22:01:20 8a3aa393b2d8: Pull complete 22:01:20 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:01:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:01:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:20 prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container 22:01:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:01:27 $ docker top f836f43f2b9ac33bbadbd7ae57621c6b094937059eb2826ccd32911fef2ebc8c -eo pid,comm [Pipeline] { [Pipeline] echo 22:01:27 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 22:01:27 + set -o pipefail 22:01:27 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 22:01:32 22:01:32 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 22:01:32 22:01:32 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/1c556685-6232-4a49-a3bc-ff07d48c95ed 22:01:32 22:01:32 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 22:01:32 22:01:32 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:01:32 22:01:32 22:01:32 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:01:32 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:01:32 More details here: https://snyk.co/ue1NS 22:01:32 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 22:01:32 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 22:01:32 $ docker stop --time=1 f836f43f2b9ac33bbadbd7ae57621c6b094937059eb2826ccd32911fef2ebc8c 22:01:37 $ docker rm -f --volumes f836f43f2b9ac33bbadbd7ae57621c6b094937059eb2826ccd32911fef2ebc8c [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:01:37 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:01:37 provisioning config files... 22:01:37 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8161321685530766234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:01:38 --> edgex-publish-swagger.sh 22:01:38 === Publish doc/openapi/v3 API === 22:01:38 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 22:01:38 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 22:01:38 % Total % Received % Xferd Average Speed Time Time Time Current 22:01:38 Dload Upload Total Spent Left Speed 22:01:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 0 0 100 485k 0 725k --:--:-- --:--:-- --:--:-- 725k 22:01:38 22:01:38 [Pipeline] } 22:01:38 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:01:39 + git log --format=format:%s -1 9825d353c0ae3edd45665d4480ee2bc38ab097aa [Pipeline] sh 22:01:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:01:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:01:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:39 prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container 22:01:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:01:40 $ docker top 293ca8da545448173cf371e0c94d9c84e30ebb16a99ca034025860a92bf0aa1e -eo pid,comm 22:01:40 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:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:01:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:01:40 [ssh-agent] Looking for ssh-agent implementation... 22:01:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:01:40 $ docker exec 293ca8da545448173cf371e0c94d9c84e30ebb16a99ca034025860a92bf0aa1e ssh-agent 22:01:40 SSH_AUTH_SOCK=/tmp/ssh-cZCO6iCwFYP6/agent.32 22:01:40 SSH_AGENT_PID=38 22:01:40 Running ssh-add (command line suppressed) 22:01:40 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15538644182203721773.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15538644182203721773.key) 22:01:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:01:41 + git semver tag 22:01:41 2023-09-12 22:01:41,313 [run_tag] DEBUG tag force:False 22:01:41 2023-09-12 22:01:41,313 [check_head_tag] DEBUG check head tag 22:01:41 2023-09-12 22:01:41,314 [execute] INFO git cat-file --batch-check 22:01:41 2023-09-12 22:01:41,314 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 22:01:41 2023-09-12 22:01:41,319 [execute] INFO git cat-file --batch 22:01:41 2023-09-12 22:01:41,319 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 22:01:41 2023-09-12 22:01:41,327 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:01:41 2023-09-12 22:01:41,327 [execute] INFO git tag -a v3.1.0-dev.9 -m v3.1.0-dev.9 22:01:41 2023-09-12 22:01:41,327 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.9', '-m', 'v3.1.0-dev.9'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 22:01:41 2023-09-12 22:01:41,332 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:01:41 3.1.0-dev.9 [Pipeline] } 22:01:41 $ docker exec --env ******** --env ******** 293ca8da545448173cf371e0c94d9c84e30ebb16a99ca034025860a92bf0aa1e ssh-agent -k 22:01:41 unset SSH_AUTH_SOCK; 22:01:41 unset SSH_AGENT_PID; 22:01:41 echo Agent pid 38 killed; 22:01:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:01:42 + git semver [Pipeline] } 22:01:42 $ docker stop --time=1 293ca8da545448173cf371e0c94d9c84e30ebb16a99ca034025860a92bf0aa1e 22:01:43 $ docker rm -f --volumes 293ca8da545448173cf371e0c94d9c84e30ebb16a99ca034025860a92bf0aa1e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:01:43 22:01:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:01:44 0.23.1-centos7: Pulling from edgex-lftools 22:01:44 ab5ef0e58194: Pulling fs layer 22:01:44 9712f1f96733: Pulling fs layer 22:01:44 63f879dbbcfc: Pulling fs layer 22:01:44 0d9ebad4ef96: Pulling fs layer 22:01:44 e9a5061849ea: Pulling fs layer 22:01:44 d747dcd14b5f: Pulling fs layer 22:01:44 2de7ff778b66: Pulling fs layer 22:01:44 0d9ebad4ef96: Waiting 22:01:44 d747dcd14b5f: Waiting 22:01:44 9712f1f96733: Verifying Checksum 22:01:44 9712f1f96733: Download complete 22:01:44 63f879dbbcfc: Verifying Checksum 22:01:44 63f879dbbcfc: Download complete 22:01:44 e9a5061849ea: Verifying Checksum 22:01:44 e9a5061849ea: Download complete 22:01:44 d747dcd14b5f: Verifying Checksum 22:01:44 d747dcd14b5f: Download complete 22:01:44 0d9ebad4ef96: Verifying Checksum 22:01:44 0d9ebad4ef96: Download complete 22:01:45 ab5ef0e58194: Verifying Checksum 22:01:45 ab5ef0e58194: Download complete 22:01:45 2de7ff778b66: Verifying Checksum 22:01:45 2de7ff778b66: Download complete 22:01:47 ab5ef0e58194: Pull complete 22:01:47 9712f1f96733: Pull complete 22:01:48 63f879dbbcfc: Pull complete 22:01:51 0d9ebad4ef96: Pull complete 22:01:52 e9a5061849ea: Pull complete 22:01:52 d747dcd14b5f: Pull complete 22:01:53 2de7ff778b66: Pull complete 22:01:53 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:01:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:01:53 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:53 prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container 22:01:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:02:02 $ docker top bd64237ae77b252ae767416d792630b4afc9b3ddcb2431625cfddc40163e583b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:02:02 provisioning config files... 22:02:02 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1515857430909059624tmp 22:02:02 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10064827963999416011tmp 22:02:02 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8693436069203230843tmp [Pipeline] { [Pipeline] echo 22:02:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:02:02 ---> sigul-configuration.sh 22:02:02 gpg: directory `/root/.gnupg' created 22:02:02 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:02:02 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:02:02 gpg: keyring `/root/.gnupg/secring.gpg' created 22:02:02 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:02:02 gpg: CAST5 encrypted data 22:02:02 gpg: encrypted with 1 passphrase 22:02:02 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:02:03 + mkdir /home/jenkins 22:02:03 + mkdir /home/jenkins/sigul [Pipeline] sh 22:02:03 + 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:02:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:02:03 ---> sigul-install.sh 22:02:03 Sigul already installed; skipping installation. [Pipeline] sh 22:02:03 + git tag --list 22:02:03 v0.0.0 22:02:03 v2.2.0 22:02:03 v2.3.0 22:02:03 v2.3.1 22:02:03 v3.0 22:02:03 v3.0.0 22:02:03 v3.1.0-dev.1 22:02:03 v3.1.0-dev.2 22:02:03 v3.1.0-dev.3 22:02:03 v3.1.0-dev.4 22:02:03 v3.1.0-dev.5 22:02:03 v3.1.0-dev.6 22:02:03 v3.1.0-dev.7 22:02:03 v3.1.0-dev.8 22:02:03 v3.1.0-dev.9 [Pipeline] sh 22:02:04 + lftools sign git-tag v3.1.0-dev.9 22:02:04 Signing Git tag with Sigul... 22:02:04 Signing v3.1.0-dev.9 [Pipeline] echo 22:02:05 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:02:06 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:02:06 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:02:06 $ docker stop --time=1 bd64237ae77b252ae767416d792630b4afc9b3ddcb2431625cfddc40163e583b 22:02:07 $ docker rm -f --volumes bd64237ae77b252ae767416d792630b4afc9b3ddcb2431625cfddc40163e583b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:02:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:02:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:02:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:08 prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container 22:02:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:02:08 $ docker top c3ea34b4754d4e2009d1b4aab2e13bb85f18b3a1d8dac05b562170fb04b1aea7 -eo pid,comm 22:02:08 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:02:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:02:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:02:08 [ssh-agent] Looking for ssh-agent implementation... 22:02:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:02:08 $ docker exec c3ea34b4754d4e2009d1b4aab2e13bb85f18b3a1d8dac05b562170fb04b1aea7 ssh-agent 22:02:08 SSH_AUTH_SOCK=/tmp/ssh-PXAA2w0AmWEg/agent.32 22:02:08 SSH_AGENT_PID=38 22:02:08 Running ssh-add (command line suppressed) 22:02:08 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9588281840760311400.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9588281840760311400.key) 22:02:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:02:09 + git semver bump pre 22:02:09 2023-09-12 22:02:09,341 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:02:09 2023-09-12 22:02:09,342 [bump_version] DEBUG bumping version:3.1.0-dev.9 on axis:pre with prefix:dev 22:02:09 2023-09-12 22:02:09,342 [bump_version] DEBUG bumped version:3.1.0-dev.10 22:02:09 2023-09-12 22:02:09,342 [write_version] DEBUG write version:3.1.0-dev.10 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 22:02:09 2023-09-12 22:02:09,342 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:02:09 2023-09-12 22:02:09,342 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 22:02:09 2023-09-12 22:02:09,345 [execute] INFO git cat-file --batch-check 22:02:09 2023-09-12 22:02:09,345 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 22:02:09 2023-09-12 22:02:09,351 [execute] INFO git cat-file --batch 22:02:09 2023-09-12 22:02:09,352 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 22:02:09 2023-09-12 22:02:09,357 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:02:09 3.1.0-dev.10 [Pipeline] } 22:02:09 $ docker exec --env ******** --env ******** c3ea34b4754d4e2009d1b4aab2e13bb85f18b3a1d8dac05b562170fb04b1aea7 ssh-agent -k 22:02:09 unset SSH_AUTH_SOCK; 22:02:09 unset SSH_AGENT_PID; 22:02:09 echo Agent pid 38 killed; 22:02:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:02:09 + git semver [Pipeline] } 22:02:10 $ docker stop --time=1 c3ea34b4754d4e2009d1b4aab2e13bb85f18b3a1d8dac05b562170fb04b1aea7 22:02:11 $ docker rm -f --volumes c3ea34b4754d4e2009d1b4aab2e13bb85f18b3a1d8dac05b562170fb04b1aea7 [Pipeline] // withDockerContainer [Pipeline] sh 22:02:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:02:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:02:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:12 prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container 22:02:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:02:12 $ docker top 187ee4cda64c057a539de241600ed598d21627c312297ae8c9ad1f579c89488b -eo pid,comm 22:02:12 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:02:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:02:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:02:12 [ssh-agent] Looking for ssh-agent implementation... 22:02:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:02:12 $ docker exec 187ee4cda64c057a539de241600ed598d21627c312297ae8c9ad1f579c89488b ssh-agent 22:02:12 SSH_AUTH_SOCK=/tmp/ssh-1XE0nj4qeeL9/agent.32 22:02:12 SSH_AGENT_PID=39 22:02:12 Running ssh-add (command line suppressed) 22:02:12 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3794261086643089156.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3794261086643089156.key) 22:02:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:02:13 + git semver push 22:02:13 2023-09-12 22:02:13,382 [run_push] DEBUG push 22:02:13 2023-09-12 22:02:13,383 [execute] INFO git cat-file --batch-check 22:02:13 2023-09-12 22:02:13,383 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 22:02:13 2023-09-12 22:02:13,386 [execute] INFO git rev-list f4abd4b175adf48d202d70fc81dd3ac10c21d065 -- 22:02:13 2023-09-12 22:02:13,386 [execute] DEBUG Popen(['git', 'rev-list', 'f4abd4b175adf48d202d70fc81dd3ac10c21d065', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 22:02:13 2023-09-12 22:02:13,394 [execute] INFO git fetch -v origin 22:02:13 2023-09-12 22:02:13,394 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 22:02:14 2023-09-12 22:02:13,873 [run_push] DEBUG no remote changes detected 22:02:14 2023-09-12 22:02:13,874 [execute] INFO git push origin semver 22:02:14 2023-09-12 22:02:13,874 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 22:02:15 2023-09-12 22:02:14,630 [run_push] DEBUG push all version tags 22:02:15 2023-09-12 22:02:14,631 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:02:15 2023-09-12 22:02:14,631 [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:02:15 2023-09-12 22:02:15,360 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:02:15 3.1.0-dev.10 [Pipeline] } 22:02:15 $ docker exec --env ******** --env ******** 187ee4cda64c057a539de241600ed598d21627c312297ae8c9ad1f579c89488b ssh-agent -k 22:02:15 unset SSH_AUTH_SOCK; 22:02:15 unset SSH_AGENT_PID; 22:02:15 echo Agent pid 39 killed; 22:02:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:02:16 + git semver [Pipeline] } 22:02:16 $ docker stop --time=1 187ee4cda64c057a539de241600ed598d21627c312297ae8c9ad1f579c89488b 22:02:17 $ docker rm -f --volumes 187ee4cda64c057a539de241600ed598d21627c312297ae8c9ad1f579c89488b [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:02:18 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 22:02:18 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 22:02:18 total 16 22:02:18 drwxr-xr-x 3 root root 4096 Sep 12 21:51 . 22:02:18 drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 22:02 .. 22:02:18 drwxr-xr-x 2 root root 4096 Sep 12 21:51 cost 22:02:18 -rw-r--r-- 1 root root 91 Sep 12 21:51 cost.csv 22:02:18 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 22:02:18 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 22:02:18 total 16 22:02:18 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 21:51 . 22:02:18 drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 22:02 .. 22:02:18 drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 21:51 cost 22:02:18 -rw-r--r-- 1 jenkins jenkins 91 Sep 12 21:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:02:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:02:19 ---> package-listing.sh 22:02:19 ++ facter osfamily 22:02:19 ++ tr '[:upper:]' '[:lower:]' 22:02:19 + OS_FAMILY=debian 22:02:19 + workspace=/w/workspace/foundry_device-onvif-camera_main 22:02:19 + START_PACKAGES=/tmp/packages_start.txt 22:02:19 + END_PACKAGES=/tmp/packages_end.txt 22:02:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:02:19 + PACKAGES=/tmp/packages_start.txt 22:02:19 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 22:02:19 + PACKAGES=/tmp/packages_end.txt 22:02:19 + case "${OS_FAMILY}" in 22:02:19 + dpkg -l 22:02:19 + grep '^ii' 22:02:19 + '[' -f /tmp/packages_start.txt ']' 22:02:19 + '[' -f /tmp/packages_end.txt ']' 22:02:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:02:19 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 22:02:19 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 22:02:19 + 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:02:19 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:02:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:02:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:20 prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container 22:02:20 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:02:20 $ docker top 02f7cf661ef8a0d688a3f5f97a246d49c55e2341c894826441b129db16a6684d -eo pid,comm [Pipeline] { [Pipeline] sh 22:02:21 + touch /tmp/pre-build-complete [Pipeline] sh 22:02:21 + mkdir -p /var/log/sysstat [Pipeline] sh 22:02:21 + ls /var/log/sa-host 22:02:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:02:21 provisioning config files... 22:02:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11154630767612493239tmp [Pipeline] { [Pipeline] echo 22:02:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:02:22 ---> create-netrc.sh [Pipeline] } 22:02:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:02:22 ---> python-tools-install.sh [Pipeline] echo 22:02:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:02:22 ---> sudo-logs.sh 22:02:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:02:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:02:23 ---> job-cost.sh 22:02:23 lf-activate-venv: SKIPPING 22:02:23 DEBUG: total: 0.2199999988079071 22:02:23 INFO: Retrieving Stack Cost... 22:02:23 INFO: Retrieving Pricing Info for: v3-standard-8 22:02:24 INFO: Archiving Costs [Pipeline] echo 22:02:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:02:24 ---> logs-deploy.sh 22:02:24 lf-activate-venv: SKIPPING 22:02:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/166 22:02:24 INFO: archiving workspace using pattern(s): 22:02:25 Archives upload complete. 22:02:25 INFO: archiving logs to Nexus 22:02:26 ---> uname -a: 22:02:26 Linux prd-ubuntu20-04-docker-8c-8g-6010 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 22:02:26 22:02:26 22:02:26 ---> lscpu: 22:02:26 Architecture: x86_64 22:02:26 CPU op-mode(s): 32-bit, 64-bit 22:02:26 Byte Order: Little Endian 22:02:26 Address sizes: 40 bits physical, 48 bits virtual 22:02:26 CPU(s): 8 22:02:26 On-line CPU(s) list: 0-7 22:02:26 Thread(s) per core: 1 22:02:26 Core(s) per socket: 1 22:02:26 Socket(s): 8 22:02:26 NUMA node(s): 1 22:02:26 Vendor ID: AuthenticAMD 22:02:26 CPU family: 23 22:02:26 Model: 49 22:02:26 Model name: AMD EPYC-Rome Processor 22:02:26 Stepping: 0 22:02:26 CPU MHz: 2799.998 22:02:26 BogoMIPS: 5599.99 22:02:26 Virtualization: AMD-V 22:02:26 Hypervisor vendor: KVM 22:02:26 Virtualization type: full 22:02:26 L1d cache: 256 KiB 22:02:26 L1i cache: 256 KiB 22:02:26 L2 cache: 4 MiB 22:02:26 L3 cache: 128 MiB 22:02:26 NUMA node0 CPU(s): 0-7 22:02:26 Vulnerability Itlb multihit: Not affected 22:02:26 Vulnerability L1tf: Not affected 22:02:26 Vulnerability Mds: Not affected 22:02:26 Vulnerability Meltdown: Not affected 22:02:26 Vulnerability Mmio stale data: Not affected 22:02:26 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:02:26 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 22:02:26 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 22:02:26 Vulnerability Srbds: Not affected 22:02:26 Vulnerability Tsx async abort: Not affected 22:02:26 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:02:26 22:02:26 22:02:26 ---> nproc: 22:02:26 8 22:02:26 22:02:26 22:02:26 ---> df -h: 22:02:26 Filesystem Size Used Avail Use% Mounted on 22:02:26 overlay 155G 13G 143G 9% / 22:02:26 tmpfs 64M 0 64M 0% /dev 22:02:26 tmpfs 16G 0 16G 0% /sys/fs/cgroup 22:02:26 shm 64M 0 64M 0% /dev/shm 22:02:26 /dev/vda1 155G 13G 143G 9% /facter-os 22:02:26 22:02:26 22:02:26 ---> sar -b -r -n DEV: 22:02:26 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-6010) 09/12/23 _x86_64_ (8 CPU) 22:02:26 22:02:26 21:47:58 LINUX RESTART (8 CPU) 22:02:26 22:02:26 21:48:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 22:02:26 21:49:02 161.30 76.37 84.92 0.00 6868.91 181962.81 0.00 22:02:26 21:50:01 166.16 1.78 164.38 0.00 33.89 81954.65 0.00 22:02:26 21:51:01 138.29 0.25 138.04 0.00 14.93 26940.98 0.00 22:02:26 21:52:01 118.95 0.05 118.90 0.00 5.33 36755.47 0.00 22:02:26 21:53:01 2.03 0.00 2.03 0.00 0.00 24.81 0.00 22:02:26 21:54:01 50.36 10.36 39.99 0.00 3422.50 6072.59 0.00 22:02:26 21:55:01 3.38 0.02 3.37 0.00 0.13 81.85 0.00 22:02:26 21:56:01 0.92 0.00 0.92 0.00 0.00 10.26 0.00 22:02:26 21:57:01 1.25 0.00 1.25 0.00 0.00 14.93 0.00 22:02:26 21:58:01 0.97 0.00 0.97 0.00 0.00 10.80 0.00 22:02:26 21:59:01 1.88 0.07 1.82 0.00 0.67 21.05 0.00 22:02:26 22:00:01 1.13 0.00 1.13 0.00 0.00 13.06 0.00 22:02:26 22:01:01 1.20 0.00 1.20 0.00 0.00 14.66 0.00 22:02:26 22:02:01 95.07 0.30 94.77 0.00 11.86 59098.02 0.00 22:02:26 Average: 52.93 6.38 46.55 0.00 740.74 28005.66 0.00 22:02:26 22:02:26 21:48:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:02:26 21:49:02 29957072 31629624 721920 2.20 59708 1911112 1742140 5.13 967972 1659744 228 22:02:26 21:50:01 27560244 31574128 730020 2.22 149512 3998856 1864192 5.49 1212876 3597372 300452 22:02:26 21:51:01 27655348 31287192 1014628 3.09 156708 3628752 2296056 6.77 1639268 3093436 249496 22:02:26 21:52:01 27427468 31563984 738916 2.25 167036 4089268 1762728 5.19 1296040 3628452 376 22:02:26 21:53:01 27428016 31564760 737904 2.24 167080 4089400 1762728 5.19 1296012 3628584 20 22:02:26 21:54:01 27094496 31546212 727280 2.21 190188 4381884 1743908 5.14 1523080 3702528 60 22:02:26 21:55:01 27099404 31546240 727904 2.21 188724 4378636 1722600 5.08 1522360 3699312 12 22:02:26 21:56:01 27108648 31555508 718588 2.19 188732 4378636 1722600 5.08 1512684 3699312 8 22:02:26 21:57:01 27109176 31556048 717964 2.18 188760 4378640 1722600 5.08 1512688 3699316 8 22:02:26 21:58:01 27110920 31557820 716104 2.18 188780 4378640 1722600 5.08 1510580 3699320 4 22:02:26 21:59:01 27110884 31557968 715608 2.18 188812 4378660 1722600 5.08 1510536 3699332 8 22:02:26 22:00:01 27111092 31558184 715332 2.18 188848 4378668 1722600 5.08 1510624 3699336 12 22:02:26 22:01:01 27112340 31559484 714252 2.17 188864 4378672 1722600 5.08 1510000 3699344 16 22:02:26 22:02:01 25618864 31529848 740880 2.25 223700 5686540 1788388 5.27 1615452 4965232 320 22:02:26 Average: 27321712 31541929 745521 2.27 173961 4174026 1787024 5.27 1438584 3583616 39359 22:02:26 22:02:26 21:48:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:02:26 21:49:02 lo 5.13 5.13 0.49 0.49 0.00 0.00 0.00 0.00 22:02:26 21:49:02 ens3 523.39 322.34 2666.92 76.51 0.00 0.00 0.00 0.00 22:02:26 21:49:02 docker0 11.33 11.23 0.98 120.82 0.00 0.00 0.00 0.00 22:02:26 21:50:01 lo 2.71 2.71 0.27 0.27 0.00 0.00 0.00 0.00 22:02:26 21:50:01 ens3 505.61 295.05 6379.59 35.32 0.00 0.00 0.00 0.00 22:02:26 21:50:01 docker0 209.66 359.52 17.88 2483.84 0.00 0.00 0.00 0.00 22:02:26 21:51:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 22:02:26 21:51:01 veth2986a48 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 22:02:26 21:51:01 ens3 62.64 54.67 74.86 101.54 0.00 0.00 0.00 0.00 22:02:26 21:51:01 docker0 1.57 2.73 0.09 30.86 0.00 0.00 0.00 0.00 22:02:26 21:52:01 lo 7.13 7.13 0.71 0.71 0.00 0.00 0.00 0.00 22:02:26 21:52:01 ens3 148.96 106.23 2586.95 251.75 0.00 0.00 0.00 0.00 22:02:26 21:52:01 docker0 1.60 3.53 0.10 31.40 0.00 0.00 0.00 0.00 22:02:26 21:53:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:02:26 21:53:01 ens3 0.18 0.10 0.01 0.01 0.00 0.00 0.00 0.00 22:02:26 21:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:02:26 21:54:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 22:02:26 21:54:01 ens3 268.01 132.34 2084.73 10.84 0.00 0.00 0.00 0.00 22:02:26 21:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:02:26 21:55:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:02:26 21:55:01 ens3 0.28 0.17 0.02 0.01 0.00 0.00 0.00 0.00 22:02:26 21:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:02:26 21:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:02:26 21:56:01 ens3 0.37 0.08 0.07 0.00 0.00 0.00 0.00 0.00 22:02:26 21:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:02:26 21:57:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:02:26 21:57:01 ens3 0.17 0.12 0.01 0.01 0.00 0.00 0.00 0.00 22:02:26 21:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:02:26 21:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:02:26 21:58:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:02:26 21:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:02:26 21:59:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:02:26 21:59:01 ens3 0.73 0.20 0.13 0.07 0.00 0.00 0.00 0.00 22:02:26 21:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:02:26 22:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:02:26 22:00:01 ens3 1.43 0.95 0.64 0.44 0.00 0.00 0.00 0.00 22:02:26 22:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:02:26 22:01:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:02:26 22:01:01 ens3 0.28 0.08 0.02 0.01 0.00 0.00 0.00 0.00 22:02:26 22:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:02:26 22:02:01 lo 2.00 2.00 0.20 0.20 0.00 0.00 0.00 0.00 22:02:26 22:02:01 ens3 385.57 217.51 8247.27 43.02 0.00 0.00 0.00 0.00 22:02:26 22:02:01 docker0 63.34 123.30 5.08 1072.83 0.00 0.00 0.00 0.00 22:02:26 22:02:01 veth695a5b0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:02:26 22:02:01 vethd1fc0b1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:02:26 Average: lo 1.35 1.35 0.13 0.13 0.00 0.00 0.00 0.00 22:02:26 Average: ens3 135.10 80.45 1568.57 37.11 0.00 0.00 0.00 0.00 22:02:26 Average: docker0 20.31 35.35 1.70 264.47 0.00 0.00 0.00 0.00 22:02:26 Average: veth695a5b0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:02:26 Average: vethd1fc0b1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:02:26 22:02:26