Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7c6ce31d4e4e68ee53203d0b85754cc148e5691f 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-ssh7427733520695305409.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-ssh15818343270855766693.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-ssh15602846183001476373.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-ssh14164835894128110879.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-ssh5911359244659574748.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 ‘prd-ubuntu20.04-docker-8c-8g-9588’ Running on prd-ubuntu20.04-docker-8c-8g-9594 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 7c6ce31d4e4e68ee53203d0b85754cc148e5691f (main) Commit message: "Merge pull request #394 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.35" > git config core.sparsecheckout # timeout=10 > git checkout -f 7c6ce31d4e4e68ee53203d0b85754cc148e5691f # timeout=10 > git rev-list --no-walk b23bf323986474a02c08d039be0c06384ee74361 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:06:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:06:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:06:29 ========================================================= 05:06:29 EdgeX Global Pipelines Version Info 05:06:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:06:30 ------------------- 05:06:30 stable info: 05:06:30 ------------------- 05:06:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:06:30 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 05:06:30 Message: update stable to v1.0.254 05:06:31 ------------------- 05:06:31 experimental info: 05:06:31 ------------------- 05:06:31 Commited By: **** collab-it+edgex@linuxfoundation.org 05:06:31 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 05:06:31 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c6ce31d4e4e68ee53203d0b85754cc148e5691f [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c6ce31 [Pipeline] echo 05:06:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:06:31 provisioning config files... 05:06:31 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6272866039831783007tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:32 ---> docker-login.sh 05:06:32 nexus3.edgexfoundry.org:10001 05:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:32 Configure a credential helper to remove this warning. See 05:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:32 05:06:32 Login Succeeded 05:06:32 nexus3.edgexfoundry.org:10002 05:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:32 Configure a credential helper to remove this warning. See 05:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:32 05:06:32 Login Succeeded 05:06:32 nexus3.edgexfoundry.org:10003 05:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:32 Configure a credential helper to remove this warning. See 05:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:32 05:06:32 Login Succeeded 05:06:32 nexus3.edgexfoundry.org:10004 05:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:32 Configure a credential helper to remove this warning. See 05:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:32 05:06:32 Login Succeeded 05:06:32 docker.io 05:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:33 Configure a credential helper to remove this warning. See 05:06:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:33 05:06:33 Login Succeeded 05:06:33 ---> docker-login.sh ends [Pipeline] } 05:06:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:06:33 + git rev-list -1 --merges 7c6ce31d4e4e68ee53203d0b85754cc148e5691f~1..7c6ce31d4e4e68ee53203d0b85754cc148e5691f [Pipeline] echo 05:06:33 -----------> git rev-list -1 --merges 7c6ce31d4e4e68ee53203d0b85754cc148e5691f~1..7c6ce31d4e4e68ee53203d0b85754cc148e5691f 7c6ce31d4e4e68ee53203d0b85754cc148e5691f 05:06:33 7c6ce31d4e4e68ee53203d0b85754cc148e5691f [false] [Pipeline] sh 05:06:33 + git log --format=format:%s -1 7c6ce31d4e4e68ee53203d0b85754cc148e5691f [Pipeline] echo 05:06:33 ========================================================= 05:06:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:06:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:06:34 + git log --format=format:%s -1 7c6ce31d4e4e68ee53203d0b85754cc148e5691f [Pipeline] echo 05:06:34 [semverPrep] GIT_COMMIT: 7c6ce31d4e4e68ee53203d0b85754cc148e5691f, Commit Message: Merge pull request #394 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.35 [Pipeline] echo 05:06:34 [semverPrep] This is not a build commit. [Pipeline] sh 05:06:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:06:34 + grep -v github /etc/ssh/ssh_known_hosts 05:06:34 + [ -e /tmp/ssh_known_hosts ] 05:06:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:06:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:06:34 + sudo tee -a /etc/ssh/ssh_known_hosts 05:06:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:06:34 05:06:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:06:35 0.1.4: Pulling from edgex-devops/py-git-semver 05:06:35 b85a868b505f: Pulling fs layer 05:06:35 e2be974225ed: Pulling fs layer 05:06:35 339a4e72a1f5: Pulling fs layer 05:06:35 988bab9f4d93: Pulling fs layer 05:06:35 1469e6f7b9e6: Pulling fs layer 05:06:35 eaf3925da568: Pulling fs layer 05:06:35 bab4dde63d76: Pulling fs layer 05:06:35 bde34c3a00c8: Pulling fs layer 05:06:35 b352a97aabf1: Pulling fs layer 05:06:35 4872d77fe225: Pulling fs layer 05:06:35 5851b861e8e6: Pulling fs layer 05:06:35 988bab9f4d93: Waiting 05:06:35 1469e6f7b9e6: Waiting 05:06:35 bab4dde63d76: Waiting 05:06:35 4872d77fe225: Waiting 05:06:35 bde34c3a00c8: Waiting 05:06:35 b352a97aabf1: Waiting 05:06:35 eaf3925da568: Waiting 05:06:35 5851b861e8e6: Waiting 05:06:35 e2be974225ed: Download complete 05:06:35 988bab9f4d93: Download complete 05:06:35 1469e6f7b9e6: Verifying Checksum 05:06:35 1469e6f7b9e6: Download complete 05:06:35 339a4e72a1f5: Verifying Checksum 05:06:35 339a4e72a1f5: Download complete 05:06:35 eaf3925da568: Verifying Checksum 05:06:35 eaf3925da568: Download complete 05:06:35 bde34c3a00c8: Download complete 05:06:35 b352a97aabf1: Download complete 05:06:35 4872d77fe225: Verifying Checksum 05:06:35 4872d77fe225: Download complete 05:06:35 5851b861e8e6: Download complete 05:06:35 b85a868b505f: Verifying Checksum 05:06:35 b85a868b505f: Download complete 05:06:35 bab4dde63d76: Verifying Checksum 05:06:35 bab4dde63d76: Download complete 05:06:36 b85a868b505f: Pull complete 05:06:36 e2be974225ed: Pull complete 05:06:37 339a4e72a1f5: Pull complete 05:06:37 988bab9f4d93: Pull complete 05:06:37 1469e6f7b9e6: Pull complete 05:06:37 eaf3925da568: Pull complete 05:06:39 bab4dde63d76: Pull complete 05:06:39 bde34c3a00c8: Pull complete 05:06:39 b352a97aabf1: Pull complete 05:06:39 4872d77fe225: Pull complete 05:06:39 5851b861e8e6: Pull complete 05:06:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:06:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:06:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:39 prd-ubuntu20.04-docker-8c-8g-9594 does not seem to be running inside a container 05:06: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:06:42 $ docker top 50ae3986c21e3016546e31925d4185b3684ef11ad19954851b51c4eddf212e54 -eo pid,comm 05:06:42 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). 05:06:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:06:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:06:42 [ssh-agent] Looking for ssh-agent implementation... 05:06:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:06:42 $ docker exec 50ae3986c21e3016546e31925d4185b3684ef11ad19954851b51c4eddf212e54 ssh-agent 05:06:42 SSH_AUTH_SOCK=/tmp/ssh-rfrmmzEyx3pm/agent.32 05:06:42 SSH_AGENT_PID=38 05:06:42 Running ssh-add (command line suppressed) 05:06:42 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15475090876369638319.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15475090876369638319.key) 05:06:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:06:43 + git tag --points-at HEAD [Pipeline] } 05:06:43 $ docker exec --env ******** --env ******** 50ae3986c21e3016546e31925d4185b3684ef11ad19954851b51c4eddf212e54 ssh-agent -k 05:06:43 unset SSH_AUTH_SOCK; 05:06:43 unset SSH_AGENT_PID; 05:06:43 echo Agent pid 38 killed; 05:06:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:06:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:06:43 [ssh-agent] Looking for ssh-agent implementation... 05:06:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:06:43 $ docker exec 50ae3986c21e3016546e31925d4185b3684ef11ad19954851b51c4eddf212e54 ssh-agent 05:06:43 SSH_AUTH_SOCK=/tmp/ssh-INIw034zbRpB/agent.71 05:06:43 SSH_AGENT_PID=77 05:06:43 Running ssh-add (command line suppressed) 05:06:43 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1118577982887144670.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1118577982887144670.key) 05:06:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:06:43 + git semver init 05:06:44 2023-10-19 05:06:44,124 [run_init] DEBUG init version:0.0.0 force:False 05:06:44 2023-10-19 05:06:44,125 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 05:06:44 2023-10-19 05:06:44,126 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 05:06:44 2023-10-19 05:06:44,126 [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) 05:06:45 2023-10-19 05:06:45,144 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 05:06:45 2023-10-19 05:06:45,144 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 05:06:45 2023-10-19 05:06:45,144 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 05:06:45 2023-10-19 05:06:45,144 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 05:06:45 3.1.0-dev.18 [Pipeline] } 05:06:45 $ docker exec --env ******** --env ******** 50ae3986c21e3016546e31925d4185b3684ef11ad19954851b51c4eddf212e54 ssh-agent -k 05:06:45 unset SSH_AUTH_SOCK; 05:06:45 unset SSH_AGENT_PID; 05:06:45 echo Agent pid 77 killed; 05:06:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:06:45 + git semver [Pipeline] } 05:06:46 $ docker stop --time=1 50ae3986c21e3016546e31925d4185b3684ef11ad19954851b51c4eddf212e54 05:06:47 $ docker rm -f --volumes 50ae3986c21e3016546e31925d4185b3684ef11ad19954851b51c4eddf212e54 [Pipeline] // withDockerContainer [Pipeline] sh 05:06:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:06:47 Stashed 1 file(s) [Pipeline] echo 05:06:47 [edgeXSemver]: initialized semver on version 3.1.0-dev.18 [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 05:06:48 provisioning config files... 05:06:48 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16912669829830734496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:48 ---> docker-login.sh 05:06:48 nexus3.edgexfoundry.org:10001 05:06:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:48 Configure a credential helper to remove this warning. See 05:06:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:48 05:06:48 Login Succeeded 05:06:48 nexus3.edgexfoundry.org:10002 05:06:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:48 Configure a credential helper to remove this warning. See 05:06:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:48 05:06:48 Login Succeeded 05:06:48 nexus3.edgexfoundry.org:10003 05:06:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:48 Configure a credential helper to remove this warning. See 05:06:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:48 05:06:48 Login Succeeded 05:06:48 nexus3.edgexfoundry.org:10004 05:06:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:48 Configure a credential helper to remove this warning. See 05:06:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:48 05:06:48 Login Succeeded 05:06:48 docker.io 05:06:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:48 Configure a credential helper to remove this warning. See 05:06:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:48 05:06:48 Login Succeeded 05:06:48 ---> docker-login.sh ends [Pipeline] } 05:06:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:06:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:06:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:06:49 ========================================================= 05:06:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:06:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:49 + 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 . 05:06:49 Sending build context to Docker daemon 21.63MB 05:06:49 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 05:06:49 Step 2/13 : FROM ${BASE} AS builder 05:06:49 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:06:49 7264a8db6415: Pulling fs layer 05:06:49 c4d48a809fc2: Pulling fs layer 05:06:49 4f1c88b9dad5: Pulling fs layer 05:06:49 ad3a456e5733: Pulling fs layer 05:06:49 33e27b845d1e: Pulling fs layer 05:06:49 c68163c4e522: Pulling fs layer 05:06:49 50da416c3ac9: Pulling fs layer 05:06:49 23d2d4c4bb30: Pulling fs layer 05:06:49 ad3a456e5733: Waiting 05:06:49 33e27b845d1e: Waiting 05:06:49 23d2d4c4bb30: Waiting 05:06:49 50da416c3ac9: Waiting 05:06:49 c4d48a809fc2: Verifying Checksum 05:06:49 c4d48a809fc2: Download complete 05:06:49 ad3a456e5733: Verifying Checksum 05:06:49 ad3a456e5733: Download complete 05:06:49 33e27b845d1e: Verifying Checksum 05:06:49 33e27b845d1e: Download complete 05:06:49 7264a8db6415: Verifying Checksum 05:06:49 7264a8db6415: Download complete 05:06:49 c68163c4e522: Verifying Checksum 05:06:49 c68163c4e522: Download complete 05:06:49 7264a8db6415: Pull complete 05:06:49 23d2d4c4bb30: Verifying Checksum 05:06:49 23d2d4c4bb30: Download complete 05:06:49 c4d48a809fc2: Pull complete 05:06:50 4f1c88b9dad5: Verifying Checksum 05:06:50 4f1c88b9dad5: Download complete 05:06:50 50da416c3ac9: Verifying Checksum 05:06:50 50da416c3ac9: Download complete 05:06:52 4f1c88b9dad5: Pull complete 05:06:52 ad3a456e5733: Pull complete 05:06:52 33e27b845d1e: Pull complete 05:06:53 c68163c4e522: Pull complete 05:06:55 50da416c3ac9: Pull complete 05:06:55 23d2d4c4bb30: Pull complete 05:06:55 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 05:06:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:06:55 ---> 0786185ac409 05:06:55 Step 3/13 : ARG ADD_BUILD_TAGS="" 05:06:59 ---> Running in b43b1a190b7d 05:06:59 Removing intermediate container b43b1a190b7d 05:06:59 ---> b6858402dd2a 05:06:59 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:06:59 ---> Running in af548493c003 05:06:59 Removing intermediate container af548493c003 05:06:59 ---> 73022ca5d468 05:06:59 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 05:06:59 ---> Running in c51669107dbd 05:06:59 Removing intermediate container c51669107dbd 05:06:59 ---> d2a704a8a2cf 05:06:59 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 05:06:59 ---> Running in a28f4d2c5583 05:07:00 Removing intermediate container a28f4d2c5583 05:07:00 ---> 5be265e5dfc2 05:07:00 Step 7/13 : LABEL Name=edgex-device-onvif-camera 05:07:00 ---> Running in fe87e7318783 05:07:00 Removing intermediate container fe87e7318783 05:07:00 ---> 6884b2afc830 05:07:00 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:07:00 ---> Running in 9bf7d3d0e4c8 05:07:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:07:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:07:01 OK: 264 MiB in 52 packages 05:07:01 Removing intermediate container 9bf7d3d0e4c8 05:07:01 ---> 362564516c99 05:07:01 Step 9/13 : WORKDIR /device-onvif-camera 05:07:01 ---> Running in 8d7a86d7d788 05:07:01 Removing intermediate container 8d7a86d7d788 05:07:01 ---> b5a41425423c 05:07:01 Step 10/13 : COPY go.mod vendor* ./ 05:07:01 ---> b59a4f115bb9 05:07:01 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:07:01 ---> Running in b6f400ac258d 05:07:03 Still waiting to schedule task 05:07:03 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 05:07:57 Removing intermediate container b6f400ac258d 05:07:57 ---> 2a5446d9f64e 05:07:57 Step 12/13 : COPY . . 05:07:57 ---> ce77eee9767e 05:07:57 Step 13/13 : RUN ${MAKE} 05:07:57 ---> Running in 674d1a6779ba 05:07:57 noop 05:07:57 Removing intermediate container 674d1a6779ba 05:07:57 ---> e0632e0902bf 05:07:57 Successfully built e0632e0902bf 05:07:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:58 + docker inspect -f . ci-base-image-x86_64 05:07:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:58 prd-ubuntu20.04-docker-8c-8g-9594 does not seem to be running inside a container 05:07:58 $ 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 05:07:58 $ docker top 3f12ee363c958744b7e31603c682206af72bbd1ffde2c7209d2e89ab9c482920 -eo pid,comm [Pipeline] { [Pipeline] sh 05:07:58 + go version 05:07:58 go version go1.21.0 linux/amd64 [Pipeline] } 05:07:58 $ docker stop --time=1 3f12ee363c958744b7e31603c682206af72bbd1ffde2c7209d2e89ab9c482920 05:08:00 $ docker rm -f --volumes 3f12ee363c958744b7e31603c682206af72bbd1ffde2c7209d2e89ab9c482920 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:00 + docker inspect -f . ci-base-image-x86_64 05:08:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:00 prd-ubuntu20.04-docker-8c-8g-9594 does not seem to be running inside a container 05:08:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:08:01 $ docker top 8a8739ea6ca77dc5197a29710d4edec2838fd94cbef2fe19ca7768a156f7c38c -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:01 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 05:08:01 + make test 05:08:01 go test ./... -coverprofile=coverage.out ./... 05:08:03 ? github.com/edgexfoundry/device-onvif-camera [no test files] 05:08:13 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 05:08:13 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 05:08:16 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.057s coverage: 31.5% of statements 05:08:16 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.017s coverage: 86.5% of statements 05:08:23 go vet ./... 05:08:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:08:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:08:25 ./bin/test-attribution-txt.sh [Pipeline] echo 05:08:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:08:25 $ docker stop --time=1 8a8739ea6ca77dc5197a29710d4edec2838fd94cbef2fe19ca7768a156f7c38c 05:08:29 $ docker rm -f --volumes 8a8739ea6ca77dc5197a29710d4edec2838fd94cbef2fe19ca7768a156f7c38c [Pipeline] // withDockerContainer [Pipeline] sh 05:08:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:08:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:08:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:08:30 + ls -al . 05:08:30 total 244 05:08:30 drwxrwxr-x 10 jenkins jenkins 4096 Oct 19 05:08 . 05:08:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 05:06 .. 05:08:30 drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 05:08 .git 05:08:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 05:06 .github 05:08:30 -rw-rw-r-- 1 jenkins jenkins 496 Oct 19 05:06 .gitignore 05:08:30 -rw-rw-r-- 1 jenkins jenkins 42 Oct 19 05:06 .golangci.yml 05:08:30 drwxr-xr-x 3 jenkins jenkins 4096 Oct 19 05:06 .semver 05:08:30 -rw-rw-r-- 1 jenkins jenkins 11155 Oct 19 05:06 Attribution.txt 05:08:30 -rw-rw-r-- 1 jenkins jenkins 15932 Oct 19 05:06 CHANGELOG.md 05:08:30 -rw-rw-r-- 1 jenkins jenkins 1574 Oct 19 05:06 Dockerfile 05:08:30 -rw-rw-r-- 1 jenkins jenkins 677 Oct 19 05:06 GOVERNANCE.md 05:08:30 -rw-rw-r-- 1 jenkins jenkins 739 Oct 19 05:06 Jenkinsfile 05:08:30 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 19 05:06 LICENSE 05:08:30 -rw-rw-r-- 1 jenkins jenkins 2877 Oct 19 05:06 Makefile 05:08:30 -rw-rw-r-- 1 jenkins jenkins 625 Oct 19 05:06 OWNERS.md 05:08:30 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 19 05:06 README.md 05:08:30 -rw-rw-r-- 1 jenkins jenkins 12 Oct 19 05:06 VERSION 05:08:30 drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 05:06 bin 05:08:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 05:06 cmd 05:08:30 -rw-r--r-- 1 jenkins jenkins 78456 Oct 19 05:08 coverage.out 05:08:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 05:06 doc 05:08:30 -rw-rw-r-- 1 jenkins jenkins 4087 Oct 19 05:06 go.mod 05:08:30 -rw-rw-r-- 1 jenkins jenkins 36995 Oct 19 05:06 go.sum 05:08:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 05:06 internal 05:08:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 05:06 snap 05:08:30 -rw-rw-r-- 1 jenkins jenkins 236 Oct 19 05:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:30 + 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=7c6ce31d4e4e68ee53203d0b85754cc148e5691f --label arch=amd64 --label version=3.1.0-dev.18 . 05:08:30 Sending build context to Docker daemon 21.71MB 05:08:30 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 05:08:30 Step 2/26 : FROM ${BASE} AS builder 05:08:30 ---> e0632e0902bf 05:08:30 Step 3/26 : ARG ADD_BUILD_TAGS="" 05:08:31 ---> Running in 723bb03dec0d 05:08:31 Removing intermediate container 723bb03dec0d 05:08:31 ---> 29dfa05d910c 05:08:31 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:08:31 ---> Running in ed343f412fe3 05:08:31 Removing intermediate container ed343f412fe3 05:08:31 ---> 398e904882ef 05:08:31 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 05:08:31 ---> Running in 12e71296623f 05:08:31 Removing intermediate container 12e71296623f 05:08:31 ---> a15fb898bdfd 05:08:31 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 05:08:31 ---> Running in 4a63dacfc42f 05:08:31 Removing intermediate container 4a63dacfc42f 05:08:31 ---> b03fca2c81b5 05:08:31 Step 7/26 : LABEL Name=edgex-device-onvif-camera 05:08:31 ---> Running in 676f5135327f 05:08:31 Removing intermediate container 676f5135327f 05:08:31 ---> 6f936e676dae 05:08:31 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:08:31 ---> Running in e79065523ef0 05:08:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:08:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:08:32 OK: 264 MiB in 52 packages 05:08:32 Removing intermediate container e79065523ef0 05:08:32 ---> 6d212cb96426 05:08:32 Step 9/26 : WORKDIR /device-onvif-camera 05:08:32 ---> Running in 280235e2917a 05:08:32 Removing intermediate container 280235e2917a 05:08:32 ---> a47195cb4129 05:08:32 Step 10/26 : COPY go.mod vendor* ./ 05:08:32 ---> dc03c7de9e11 05:08:32 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:32 ---> Running in 30a9409945da 05:08:33 Removing intermediate container 30a9409945da 05:08:33 ---> 8a6a87877bf6 05:08:33 Step 12/26 : COPY . . 05:08:34 ---> 44c9d33b0a4d 05:08:34 Step 13/26 : RUN ${MAKE} 05:08:34 ---> Running in 066984758deb 05:08:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 05:08:56 Removing intermediate container 066984758deb 05:08:56 ---> 6958cefc2a4a 05:08:56 Step 14/26 : FROM alpine:3.18 05:08:56 3.18: Pulling from library/alpine 05:08:56 96526aa774ef: Pulling fs layer 05:08:56 96526aa774ef: Verifying Checksum 05:08:56 96526aa774ef: Download complete 05:08:56 96526aa774ef: Pull complete 05:08:56 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 05:08:56 Status: Downloaded newer image for alpine:3.18 05:08:56 ---> 8ca4688f4f35 05:08:56 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 05:08:56 ---> Running in a5e71879aefb 05:08:56 Removing intermediate container a5e71879aefb 05:08:56 ---> 2690f4e63ee5 05:08:56 Step 16/26 : RUN apk add --update --no-cache dumb-init 05:08:56 ---> Running in b0ca58f789b8 05:08:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:08:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:08:56 (1/1) Installing dumb-init (1.2.5-r2) 05:08:56 Executing busybox-1.36.1-r2.trigger 05:08:56 OK: 7 MiB in 16 packages 05:08:56 Removing intermediate container b0ca58f789b8 05:08:56 ---> 8dd773182e32 05:08:56 Step 17/26 : WORKDIR / 05:08:56 ---> Running in 65b2344e731c 05:08:56 Removing intermediate container 65b2344e731c 05:08:56 ---> dd2fd64bc869 05:08:56 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 05:08:56 ---> 71837b22c9db 05:08:56 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 05:08:56 ---> daa2614b43d1 05:08:56 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 05:08:56 ---> 0843e8ceed56 05:08:56 Step 21/26 : EXPOSE 59984 05:08:56 ---> Running in 766d97bc6495 05:08:56 Removing intermediate container 766d97bc6495 05:08:56 ---> 66e9e11b9b95 05:08:56 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 05:08:56 ---> Running in c9cf8fd178ab 05:08:56 Removing intermediate container c9cf8fd178ab 05:08:56 ---> 08c60b9eaa62 05:08:56 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:08:56 ---> Running in a73d353d62b4 05:08:56 Removing intermediate container a73d353d62b4 05:08:56 ---> 19f31d3f2fc1 05:08:56 Step 24/26 : LABEL arch=amd64 05:08:56 ---> Running in 1dd324b0f2df 05:08:56 Removing intermediate container 1dd324b0f2df 05:08:56 ---> 4f5ffc952b36 05:08:56 Step 25/26 : LABEL git_sha=7c6ce31d4e4e68ee53203d0b85754cc148e5691f 05:08:56 ---> Running in d631ae32a46d 05:08:56 Removing intermediate container d631ae32a46d 05:08:56 ---> 090b8029e91a 05:08:56 Step 26/26 : LABEL version=3.1.0-dev.18 05:08:56 ---> Running in d459b0c48f27 05:08:56 Removing intermediate container d459b0c48f27 05:08:56 ---> e8860f746c26 05:08:56 [Warning] One or more build-args [ARCH] were not consumed 05:08:56 Successfully built e8860f746c26 05:08:56 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 05:08:56 provisioning config files... 05:08:56 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2184875105859248693tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:56 ---> docker-login.sh 05:08:56 nexus3.edgexfoundry.org:10001 05:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:56 Configure a credential helper to remove this warning. See 05:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:56 05:08:56 Login Succeeded 05:08:56 nexus3.edgexfoundry.org:10002 05:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:56 Configure a credential helper to remove this warning. See 05:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:56 05:08:56 Login Succeeded 05:08:56 nexus3.edgexfoundry.org:10003 05:08:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:57 Configure a credential helper to remove this warning. See 05:08:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:57 05:08:57 Login Succeeded 05:08:57 nexus3.edgexfoundry.org:10004 05:08:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:57 Configure a credential helper to remove this warning. See 05:08:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:57 05:08:57 Login Succeeded 05:08:57 docker.io 05:08:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:57 Configure a credential helper to remove this warning. See 05:08:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:57 05:08:57 Login Succeeded 05:08:57 ---> docker-login.sh ends [Pipeline] } 05:08:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:08:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:08:57 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 05:08:57 7c6ce31d4e4e68ee53203d0b85754cc148e5691f 05:08:57 latest 05:08:57 3.1.0-dev.18 05:08:57 7c6ce31d4e4e68ee53203d0b85754cc148e5691f-3.1.0-dev.18 05:08:57 main 05:08:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:58 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:7c6ce31d4e4e68ee53203d0b85754cc148e5691f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:58 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:7c6ce31d4e4e68ee53203d0b85754cc148e5691f 05:08:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 05:08:58 db4e40f4c592: Preparing 05:08:58 f62de0cad89b: Preparing 05:08:58 b286c3c0f0dd: Preparing 05:08:58 6f74517144c0: Preparing 05:08:58 cc2447e1835a: Preparing 05:08:58 cc2447e1835a: Layer already exists 05:08:58 6f74517144c0: Pushed 05:08:58 db4e40f4c592: Pushed 05:08:58 f62de0cad89b: Pushed 05:09:01 b286c3c0f0dd: Pushed 05:09:01 7c6ce31d4e4e68ee53203d0b85754cc148e5691f: digest: sha256:8409be8cdfce3f600111530f312aa49ba7bfc413ac3514ece3341a9ba5d6eb8d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:02 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:02 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 05:09:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 05:09:02 db4e40f4c592: Preparing 05:09:02 f62de0cad89b: Preparing 05:09:02 b286c3c0f0dd: Preparing 05:09:02 6f74517144c0: Preparing 05:09:02 cc2447e1835a: Preparing 05:09:02 f62de0cad89b: Layer already exists 05:09:02 cc2447e1835a: Layer already exists 05:09:02 6f74517144c0: Layer already exists 05:09:02 db4e40f4c592: Layer already exists 05:09:02 b286c3c0f0dd: Layer already exists 05:09:02 latest: digest: sha256:8409be8cdfce3f600111530f312aa49ba7bfc413ac3514ece3341a9ba5d6eb8d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:02 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:02 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.18 05:09:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 05:09:02 db4e40f4c592: Preparing 05:09:02 f62de0cad89b: Preparing 05:09:02 b286c3c0f0dd: Preparing 05:09:02 6f74517144c0: Preparing 05:09:02 cc2447e1835a: Preparing 05:09:02 db4e40f4c592: Layer already exists 05:09:02 cc2447e1835a: Layer already exists 05:09:02 6f74517144c0: Layer already exists 05:09:02 f62de0cad89b: Layer already exists 05:09:02 b286c3c0f0dd: Layer already exists 05:09:02 3.1.0-dev.18: digest: sha256:8409be8cdfce3f600111530f312aa49ba7bfc413ac3514ece3341a9ba5d6eb8d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:03 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:7c6ce31d4e4e68ee53203d0b85754cc148e5691f-3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:03 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:7c6ce31d4e4e68ee53203d0b85754cc148e5691f-3.1.0-dev.18 05:09:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 05:09:03 db4e40f4c592: Preparing 05:09:03 f62de0cad89b: Preparing 05:09:03 b286c3c0f0dd: Preparing 05:09:03 6f74517144c0: Preparing 05:09:03 cc2447e1835a: Preparing 05:09:03 db4e40f4c592: Layer already exists 05:09:03 f62de0cad89b: Layer already exists 05:09:03 cc2447e1835a: Layer already exists 05:09:03 b286c3c0f0dd: Layer already exists 05:09:03 6f74517144c0: Layer already exists 05:09:03 7c6ce31d4e4e68ee53203d0b85754cc148e5691f-3.1.0-dev.18: digest: sha256:8409be8cdfce3f600111530f312aa49ba7bfc413ac3514ece3341a9ba5d6eb8d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:03 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:04 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 05:09:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 05:09:04 db4e40f4c592: Preparing 05:09:04 f62de0cad89b: Preparing 05:09:04 b286c3c0f0dd: Preparing 05:09:04 6f74517144c0: Preparing 05:09:04 cc2447e1835a: Preparing 05:09:04 f62de0cad89b: Layer already exists 05:09:04 cc2447e1835a: Layer already exists 05:09:04 b286c3c0f0dd: Layer already exists 05:09:04 6f74517144c0: Layer already exists 05:09:04 db4e40f4c592: Layer already exists 05:09:04 main: digest: sha256:8409be8cdfce3f600111530f312aa49ba7bfc413ac3514ece3341a9ba5d6eb8d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:09:04 ===================================================== [Pipeline] echo 05:09:04 taggedImages: 05:09:04 - nexus3.edgexfoundry.org:10004/device-onvif-camera:7c6ce31d4e4e68ee53203d0b85754cc148e5691f 05:09:04 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 05:09:04 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.18 05:09:04 - nexus3.edgexfoundry.org:10004/device-onvif-camera:7c6ce31d4e4e68ee53203d0b85754cc148e5691f-3.1.0-dev.18 05:09:04 - 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 05:09:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:09:04 05:09:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:09:05 latest: Pulling from edgex-lftools-log-publisher 05:09:05 5eb5b503b376: Pulling fs layer 05:09:05 5c69ac0246d0: Pulling fs layer 05:09:05 ec43610c2a17: Pulling fs layer 05:09:05 3a2ae6a8a46f: Pulling fs layer 05:09:05 33b1e0a273af: Pulling fs layer 05:09:05 5d3b04190fa2: Pulling fs layer 05:09:05 2f39f015ded8: Pulling fs layer 05:09:05 33b1e0a273af: Waiting 05:09:05 3a2ae6a8a46f: Waiting 05:09:05 5d3b04190fa2: Waiting 05:09:05 2f39f015ded8: Waiting 05:09:05 5c69ac0246d0: Verifying Checksum 05:09:05 5c69ac0246d0: Download complete 05:09:05 3a2ae6a8a46f: Verifying Checksum 05:09:05 3a2ae6a8a46f: Download complete 05:09:05 33b1e0a273af: Verifying Checksum 05:09:05 33b1e0a273af: Download complete 05:09:05 5d3b04190fa2: Verifying Checksum 05:09:05 5d3b04190fa2: Download complete 05:09:05 ec43610c2a17: Download complete 05:09:05 5eb5b503b376: Verifying Checksum 05:09:05 5eb5b503b376: Download complete 05:09:05 2f39f015ded8: Download complete 05:09:06 5eb5b503b376: Pull complete 05:09:06 5c69ac0246d0: Pull complete 05:09:06 ec43610c2a17: Pull complete 05:09:06 3a2ae6a8a46f: Pull complete 05:09:07 33b1e0a273af: Pull complete 05:09:07 5d3b04190fa2: Pull complete 05:09:11 2f39f015ded8: Pull complete 05:09:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:09:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:09:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:11 prd-ubuntu20.04-docker-8c-8g-9594 does not seem to be running inside a container 05:09:11 $ 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 05:09:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9596 in /w/workspace/foundry_device-onvif-camera_main 05:09:15 $ docker top ba4dc7857e8421e887964cdf500ffd5e9b320d39f1941014832ccf4ba3acf4ed -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 05:09:15 Running in /w/workspace/device-onvif-camera/175 [Pipeline] { [Pipeline] checkout 05:09:15 The recommended git tool is: git 05:09:15 ---> job-cost.sh 05:09:15 lf-activate-venv: SKIPPING 05:09:15 INFO: No Stack... 05:09:16 INFO: Retrieving Pricing Info for: v3-standard-8 05:09:16 INFO: Archiving Costs [Pipeline] sh 05:09:16 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 05:09:16 + cut -d, -f6 [Pipeline] lock 05:09:16 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-175-stack-cost] 05:09:16 Resource [jenkins-edgexfoundry-device-onvif-camera-main-175-stack-cost] did not exist. Created. 05:09:16 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-175-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:09:16 + echo total: 0.2199999988079071 [Pipeline] stash 05:09:16 Stashed 1 file(s) [Pipeline] } 05:09:16 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-175-stack-cost] [Pipeline] // lock [Pipeline] } 05:09:17 $ docker stop --time=1 ba4dc7857e8421e887964cdf500ffd5e9b320d39f1941014832ccf4ba3acf4ed 05:09:18 $ docker rm -f --volumes ba4dc7857e8421e887964cdf500ffd5e9b320d39f1941014832ccf4ba3acf4ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:09:23 using credential edgex-jenkins-ssh 05:09:23 Cloning the remote Git repository 05:09:23 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 05:09:23 > git init /w/workspace/device-onvif-camera/175 # timeout=10 05:09:24 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 05:09:24 > git --version # timeout=10 05:09:24 > git --version # 'git version 2.25.1' 05:09:24 using GIT_SSH to set credentials SSH Credentials for GitHub 05:09:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:09:25 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 05:09:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:09:27 Avoid second fetch 05:09:27 Checking out Revision 7c6ce31d4e4e68ee53203d0b85754cc148e5691f (main) 05:09:27 > git config core.sparsecheckout # timeout=10 05:09:27 > git checkout -f 7c6ce31d4e4e68ee53203d0b85754cc148e5691f # timeout=10 05:09:27 Commit message: "Merge pull request #394 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.35" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:09:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:09:28 % Total % Received % Xferd Average Speed Time Time Time Current 05:09:28 Dload Upload Total Spent Left Speed 05:09:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 168k 0 --:--:-- --:--:-- --:--:-- 168k [Pipeline] sh 05:09:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:09:29 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 05:09:29 /etc/docker/daemon.new 05:09:29 { 05:09:29 "registry-mirrors": [ 05:09:29 "https://nexus3.edgexfoundry.org:10001" 05:09:29 ], 05:09:29 "bip": "10.250.0.254/24", 05:09:29 "hosts": [ 05:09:29 "tcp://0.0.0.0:5555", 05:09:29 "unix:///var/run/docker.sock" 05:09:29 ], 05:09:29 "mtu": 1458, 05:09:29 "selinux-enabled": true, 05:09:29 "seccomp-profile": "/etc/docker/seccomp.json" 05:09:29 } [Pipeline] sh 05:09:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:09:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:09:48 provisioning config files... 05:09:48 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/175@tmp/config12126104115062390228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:49 ---> docker-login.sh 05:09:49 nexus3.edgexfoundry.org:10001 05:09:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:49 Configure a credential helper to remove this warning. See 05:09:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:49 05:09:49 Login Succeeded 05:09:49 nexus3.edgexfoundry.org:10002 05:09:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:50 Configure a credential helper to remove this warning. See 05:09:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:50 05:09:50 Login Succeeded 05:09:50 nexus3.edgexfoundry.org:10003 05:09:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:50 Configure a credential helper to remove this warning. See 05:09:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:50 05:09:50 Login Succeeded 05:09:50 nexus3.edgexfoundry.org:10004 05:09:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:51 Configure a credential helper to remove this warning. See 05:09:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:51 05:09:51 Login Succeeded 05:09:51 docker.io 05:09:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:51 Configure a credential helper to remove this warning. See 05:09:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:51 05:09:51 Login Succeeded 05:09:51 ---> docker-login.sh ends [Pipeline] } 05:09:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:09:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:09:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:09:52 ========================================================= 05:09:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:09:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:52 + 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 . 05:09:53 Sending build context to Docker daemon 14.18MB 05:09:53 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 05:09:53 Step 2/13 : FROM ${BASE} AS builder 05:09:53 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:09:53 9fda8d8052c6: Pulling fs layer 05:09:53 5d54e960e981: Pulling fs layer 05:09:53 c4a7e357bf2a: Pulling fs layer 05:09:53 f0e02332f6b5: Pulling fs layer 05:09:53 cefa15bbcfad: Pulling fs layer 05:09:53 17808c966233: Pulling fs layer 05:09:53 f4c1fc716caa: Pulling fs layer 05:09:53 cefa15bbcfad: Waiting 05:09:53 17808c966233: Waiting 05:09:53 f4c1fc716caa: Waiting 05:09:53 f0e02332f6b5: Waiting 05:09:53 5d54e960e981: Verifying Checksum 05:09:53 5d54e960e981: Download complete 05:09:53 f0e02332f6b5: Verifying Checksum 05:09:53 f0e02332f6b5: Download complete 05:09:53 cefa15bbcfad: Verifying Checksum 05:09:53 cefa15bbcfad: Download complete 05:09:53 9fda8d8052c6: Verifying Checksum 05:09:53 9fda8d8052c6: Download complete 05:09:53 f4c1fc716caa: Verifying Checksum 05:09:53 f4c1fc716caa: Download complete 05:09:54 9fda8d8052c6: Pull complete 05:09:55 5d54e960e981: Pull complete 05:09:55 c4a7e357bf2a: Verifying Checksum 05:09:55 c4a7e357bf2a: Download complete 05:09:56 17808c966233: Verifying Checksum 05:09:56 17808c966233: Download complete 05:10:08 c4a7e357bf2a: Pull complete 05:10:08 f0e02332f6b5: Pull complete 05:10:08 cefa15bbcfad: Pull complete 05:10:16 17808c966233: Pull complete 05:10:18 f4c1fc716caa: Pull complete 05:10:19 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 05:10:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:10:19 ---> ea914061e18c 05:10:19 Step 3/13 : ARG ADD_BUILD_TAGS="" 05:10:21 ---> Running in 5e345eee5abd 05:10:21 Removing intermediate container 5e345eee5abd 05:10:21 ---> 104cf7820401 05:10:21 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:10:22 ---> Running in 2585d0cc311e 05:10:22 Removing intermediate container 2585d0cc311e 05:10:22 ---> 9da289ed0fe3 05:10:22 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 05:10:22 ---> Running in d5dd35a271eb 05:10:22 Removing intermediate container d5dd35a271eb 05:10:22 ---> bf6b9b65510f 05:10:22 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 05:10:22 ---> Running in 3247896079a6 05:10:23 Removing intermediate container 3247896079a6 05:10:23 ---> ea1c64e0fc30 05:10:23 Step 7/13 : LABEL Name=edgex-device-onvif-camera 05:10:23 ---> Running in 8617b37d9931 05:10:23 Removing intermediate container 8617b37d9931 05:10:23 ---> 9abd69531d00 05:10:23 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:10:23 ---> Running in b2eae25cde1b 05:10:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:10:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:10:27 OK: 266 MiB in 52 packages 05:10:31 Removing intermediate container b2eae25cde1b 05:10:31 ---> 5672da1aaaaf 05:10:31 Step 9/13 : WORKDIR /device-onvif-camera 05:10:31 ---> Running in b38f3ccca26e 05:10:31 Removing intermediate container b38f3ccca26e 05:10:31 ---> e93c75c49312 05:10:31 Step 10/13 : COPY go.mod vendor* ./ 05:10:32 ---> 6a7f01b2aec8 05:10:32 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:10:32 ---> Running in a697462aba17 05:12:29 Removing intermediate container a697462aba17 05:12:29 ---> 8feb4fed84b7 05:12:29 Step 12/13 : COPY . . 05:12:29 ---> 354c81e60abd 05:12:29 Step 13/13 : RUN ${MAKE} 05:12:29 ---> Running in 7396f7eb3591 05:12:29 noop 05:12:29 Removing intermediate container 7396f7eb3591 05:12:29 ---> 3d374fd0b374 05:12:29 Successfully built 3d374fd0b374 05:12:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:30 + docker inspect -f . ci-base-image-arm64 05:12:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:12:30 prd-ubuntu20.04-docker-arm64-4c-16g-9596 does not seem to be running inside a container 05:12:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/175 -v /w/workspace/device-onvif-camera/175:/w/workspace/device-onvif-camera/175:rw,z -v /w/workspace/device-onvif-camera/175@tmp:/w/workspace/device-onvif-camera/175@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 05:12:31 $ docker top 5f013fd449d545f37b0721d3f1afffd4b5eb8529f28a1520174f3ba8a8537760 -eo pid,comm [Pipeline] { [Pipeline] sh 05:12:32 + go version 05:12:32 go version go1.21.0 linux/arm64 [Pipeline] } 05:12:32 $ docker stop --time=1 5f013fd449d545f37b0721d3f1afffd4b5eb8529f28a1520174f3ba8a8537760 05:12:36 $ docker rm -f --volumes 5f013fd449d545f37b0721d3f1afffd4b5eb8529f28a1520174f3ba8a8537760 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:37 + docker inspect -f . ci-base-image-arm64 05:12:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:12:37 prd-ubuntu20.04-docker-arm64-4c-16g-9596 does not seem to be running inside a container 05:12:37 $ 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/175 -v /w/workspace/device-onvif-camera/175:/w/workspace/device-onvif-camera/175:rw,z -v /w/workspace/device-onvif-camera/175@tmp:/w/workspace/device-onvif-camera/175@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 05:12:38 $ docker top 6acf4ce21a4b3fa819bb3b4d49bd11fc8664a9b94541057ead51eb3487b809e9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:12:39 + git config --global --add safe.directory /w/workspace/device-onvif-camera/175 [Pipeline] fileExists [Pipeline] sh 05:12:40 + make test 05:12:40 go test ./... -coverprofile=coverage.out ./... 05:12:45 ? github.com/edgexfoundry/device-onvif-camera [no test files] 05:15:07 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 05:15:07 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 05:15:07 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.200s coverage: 31.5% of statements 05:15:22 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.778s coverage: 86.5% of statements 05:15:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:15:23 go vet ./... 05:15:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:15:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:15:49 ./bin/test-attribution-txt.sh [Pipeline] echo 05:15:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:15:49 $ docker stop --time=1 6acf4ce21a4b3fa819bb3b4d49bd11fc8664a9b94541057ead51eb3487b809e9 05:15:51 $ docker rm -f --volumes 6acf4ce21a4b3fa819bb3b4d49bd11fc8664a9b94541057ead51eb3487b809e9 [Pipeline] // withDockerContainer [Pipeline] sh 05:15:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:15:53 Warning: overwriting stash ‘coverage-report’ 05:15:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:15:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:15:54 + ls -al . 05:15:54 total 240 05:15:54 drwxrwxr-x 9 jenkins jenkins 4096 Oct 19 05:12 . 05:15:54 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 05:09 .. 05:15:54 drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 05:09 .git 05:15:54 drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 05:09 .github 05:15:54 -rw-rw-r-- 1 jenkins jenkins 496 Oct 19 05:09 .gitignore 05:15:54 -rw-rw-r-- 1 jenkins jenkins 42 Oct 19 05:09 .golangci.yml 05:15:54 -rw-rw-r-- 1 jenkins jenkins 11155 Oct 19 05:09 Attribution.txt 05:15:54 -rw-rw-r-- 1 jenkins jenkins 15932 Oct 19 05:09 CHANGELOG.md 05:15:54 -rw-rw-r-- 1 jenkins jenkins 1574 Oct 19 05:09 Dockerfile 05:15:54 -rw-rw-r-- 1 jenkins jenkins 677 Oct 19 05:09 GOVERNANCE.md 05:15:54 -rw-rw-r-- 1 jenkins jenkins 739 Oct 19 05:09 Jenkinsfile 05:15:54 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 19 05:09 LICENSE 05:15:54 -rw-rw-r-- 1 jenkins jenkins 2877 Oct 19 05:09 Makefile 05:15:54 -rw-rw-r-- 1 jenkins jenkins 625 Oct 19 05:09 OWNERS.md 05:15:54 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 19 05:09 README.md 05:15:54 -rw-rw-r-- 1 jenkins jenkins 12 Oct 19 05:06 VERSION 05:15:54 drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 05:09 bin 05:15:54 drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 05:09 cmd 05:15:54 -rw-r--r-- 1 jenkins jenkins 78456 Oct 19 05:15 coverage.out 05:15:54 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 05:09 doc 05:15:54 -rw-rw-r-- 1 jenkins jenkins 4087 Oct 19 05:09 go.mod 05:15:54 -rw-rw-r-- 1 jenkins jenkins 36995 Oct 19 05:09 go.sum 05:15:54 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 05:09 internal 05:15:54 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 05:09 snap 05:15:54 -rw-rw-r-- 1 jenkins jenkins 236 Oct 19 05:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:54 + 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=7c6ce31d4e4e68ee53203d0b85754cc148e5691f --label arch=arm64 --label version=3.1.0-dev.18 . 05:15:55 Sending build context to Docker daemon 14.25MB 05:15:55 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 05:15:55 Step 2/26 : FROM ${BASE} AS builder 05:15:55 ---> 3d374fd0b374 05:15:55 Step 3/26 : ARG ADD_BUILD_TAGS="" 05:15:55 ---> Running in 7aca0eb6f9f0 05:15:55 Removing intermediate container 7aca0eb6f9f0 05:15:55 ---> 6280c716f212 05:15:55 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:15:55 ---> Running in c1890cbd16ec 05:15:56 Removing intermediate container c1890cbd16ec 05:15:56 ---> 9ae16eebc542 05:15:56 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 05:15:56 ---> Running in 5d197edf0069 05:15:56 Removing intermediate container 5d197edf0069 05:15:56 ---> 3d4ccbea2576 05:15:56 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 05:15:56 ---> Running in 0837d6dcafa2 05:15:57 Removing intermediate container 0837d6dcafa2 05:15:57 ---> 49fbbcaa5380 05:15:57 Step 7/26 : LABEL Name=edgex-device-onvif-camera 05:15:57 ---> Running in 64b23b7a5384 05:15:57 Removing intermediate container 64b23b7a5384 05:15:57 ---> c21d8381fd58 05:15:57 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:15:57 ---> Running in 043361ba8223 05:15:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:15:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:16:00 OK: 266 MiB in 52 packages 05:16:03 Removing intermediate container 043361ba8223 05:16:03 ---> ed07372e627b 05:16:03 Step 9/26 : WORKDIR /device-onvif-camera 05:16:03 ---> Running in 2dcc279ce653 05:16:03 Removing intermediate container 2dcc279ce653 05:16:03 ---> 66e342ba6307 05:16:03 Step 10/26 : COPY go.mod vendor* ./ 05:16:04 ---> a3d41945e244 05:16:04 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:16:04 ---> Running in b155b74ca9b8 05:16:07 Removing intermediate container b155b74ca9b8 05:16:07 ---> b292499cf256 05:16:07 Step 12/26 : COPY . . 05:16:08 ---> 4b57c23abef4 05:16:08 Step 13/26 : RUN ${MAKE} 05:16:08 ---> Running in 861cb7493a35 05:16:09 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 05:18:19 Removing intermediate container 861cb7493a35 05:18:19 ---> d2d94a284f2e 05:18:19 Step 14/26 : FROM alpine:3.18 05:18:19 3.18: Pulling from library/alpine 05:18:19 579b34f0a95b: Pulling fs layer 05:18:19 579b34f0a95b: Verifying Checksum 05:18:19 579b34f0a95b: Download complete 05:18:19 579b34f0a95b: Pull complete 05:18:19 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 05:18:19 Status: Downloaded newer image for alpine:3.18 05:18:19 ---> 3cc203321400 05:18:19 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 05:18:19 ---> Running in 3bf1d360a9be 05:18:19 Removing intermediate container 3bf1d360a9be 05:18:19 ---> e287f28b8ada 05:18:19 Step 16/26 : RUN apk add --update --no-cache dumb-init 05:18:19 ---> Running in 127e2cd15bfc 05:18:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:18:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:18:19 (1/1) Installing dumb-init (1.2.5-r2) 05:18:19 Executing busybox-1.36.1-r2.trigger 05:18:19 OK: 8 MiB in 16 packages 05:18:19 Removing intermediate container 127e2cd15bfc 05:18:19 ---> ef4b44bac873 05:18:19 Step 17/26 : WORKDIR / 05:18:19 ---> Running in 089d3802fae3 05:18:19 Removing intermediate container 089d3802fae3 05:18:19 ---> 777ca20e3938 05:18:19 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 05:18:19 ---> 5f9842ebf3ab 05:18:19 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 05:18:19 ---> 75f79fab6c57 05:18:19 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 05:18:19 ---> 2a36831bb9cc 05:18:19 Step 21/26 : EXPOSE 59984 05:18:19 ---> Running in a557a159c23b 05:18:19 Removing intermediate container a557a159c23b 05:18:19 ---> b5ffda758e35 05:18:19 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 05:18:19 ---> Running in 93cd7d3f936b 05:18:19 Removing intermediate container 93cd7d3f936b 05:18:19 ---> bca6d4ee7440 05:18:19 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:18:19 ---> Running in 48c6346b8113 05:18:19 Removing intermediate container 48c6346b8113 05:18:19 ---> 644e1bf22353 05:18:19 Step 24/26 : LABEL arch=arm64 05:18:19 ---> Running in 694dd9fdc930 05:18:19 Removing intermediate container 694dd9fdc930 05:18:19 ---> c3c3943b3091 05:18:19 Step 25/26 : LABEL git_sha=7c6ce31d4e4e68ee53203d0b85754cc148e5691f 05:18:19 ---> Running in 1ca9f4adef78 05:18:19 Removing intermediate container 1ca9f4adef78 05:18:19 ---> 4b7734079b0c 05:18:19 Step 26/26 : LABEL version=3.1.0-dev.18 05:18:19 ---> Running in a885d6a755a5 05:18:19 Removing intermediate container a885d6a755a5 05:18:19 ---> 65ab8b38f4c8 05:18:19 [Warning] One or more build-args [ARCH] were not consumed 05:18:19 Successfully built 65ab8b38f4c8 05:18:19 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 05:18:19 provisioning config files... 05:18:19 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/175@tmp/config6387528532675491963tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:18:20 ---> docker-login.sh 05:18:20 nexus3.edgexfoundry.org:10001 05:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:20 Configure a credential helper to remove this warning. See 05:18:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:20 05:18:20 Login Succeeded 05:18:20 nexus3.edgexfoundry.org:10002 05:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:20 Configure a credential helper to remove this warning. See 05:18:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:20 05:18:20 Login Succeeded 05:18:20 nexus3.edgexfoundry.org:10003 05:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:21 Configure a credential helper to remove this warning. See 05:18:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:21 05:18:21 Login Succeeded 05:18:21 nexus3.edgexfoundry.org:10004 05:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:21 Configure a credential helper to remove this warning. See 05:18:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:21 05:18:21 Login Succeeded 05:18:21 docker.io 05:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:21 Configure a credential helper to remove this warning. See 05:18:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:21 05:18:21 Login Succeeded 05:18:21 ---> docker-login.sh ends [Pipeline] } 05:18:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:18:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:18:21 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 05:18:21 7c6ce31d4e4e68ee53203d0b85754cc148e5691f 05:18:21 latest 05:18:21 3.1.0-dev.18 05:18:21 7c6ce31d4e4e68ee53203d0b85754cc148e5691f-3.1.0-dev.18 05:18:21 main 05:18:21 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:22 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7c6ce31d4e4e68ee53203d0b85754cc148e5691f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:22 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7c6ce31d4e4e68ee53203d0b85754cc148e5691f 05:18:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 05:18:23 5a71dc37014f: Preparing 05:18:23 f3fa809ffb34: Preparing 05:18:23 5df8ac8431b8: Preparing 05:18:23 c202fb055226: Preparing 05:18:23 5f4d9fc4d98d: Preparing 05:18:23 5f4d9fc4d98d: Layer already exists 05:18:24 f3fa809ffb34: Pushed 05:18:24 5a71dc37014f: Pushed 05:18:24 c202fb055226: Pushed 05:18:30 5df8ac8431b8: Pushed 05:18:30 7c6ce31d4e4e68ee53203d0b85754cc148e5691f: digest: sha256:9c4a2a73a6a2346932c214791c729427dbd4efbe02e6468d65518d33ebf5c4dd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:31 + 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 05:18:31 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 05:18:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 05:18:31 5a71dc37014f: Preparing 05:18:31 f3fa809ffb34: Preparing 05:18:31 5df8ac8431b8: Preparing 05:18:31 c202fb055226: Preparing 05:18:31 5f4d9fc4d98d: Preparing 05:18:31 5df8ac8431b8: Layer already exists 05:18:31 f3fa809ffb34: Layer already exists 05:18:31 5f4d9fc4d98d: Layer already exists 05:18:31 c202fb055226: Layer already exists 05:18:31 5a71dc37014f: Layer already exists 05:18:31 latest: digest: sha256:9c4a2a73a6a2346932c214791c729427dbd4efbe02e6468d65518d33ebf5c4dd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:32 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:32 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.18 05:18:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 05:18:32 5a71dc37014f: Preparing 05:18:32 f3fa809ffb34: Preparing 05:18:32 5df8ac8431b8: Preparing 05:18:32 c202fb055226: Preparing 05:18:32 5f4d9fc4d98d: Preparing 05:18:32 5f4d9fc4d98d: Layer already exists 05:18:32 5df8ac8431b8: Layer already exists 05:18:32 5a71dc37014f: Layer already exists 05:18:32 c202fb055226: Layer already exists 05:18:32 f3fa809ffb34: Layer already exists 05:18:32 3.1.0-dev.18: digest: sha256:9c4a2a73a6a2346932c214791c729427dbd4efbe02e6468d65518d33ebf5c4dd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:32 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7c6ce31d4e4e68ee53203d0b85754cc148e5691f-3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:33 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7c6ce31d4e4e68ee53203d0b85754cc148e5691f-3.1.0-dev.18 05:18:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 05:18:33 5a71dc37014f: Preparing 05:18:33 f3fa809ffb34: Preparing 05:18:33 5df8ac8431b8: Preparing 05:18:33 c202fb055226: Preparing 05:18:33 5f4d9fc4d98d: Preparing 05:18:33 5a71dc37014f: Layer already exists 05:18:33 c202fb055226: Layer already exists 05:18:33 5f4d9fc4d98d: Layer already exists 05:18:33 5df8ac8431b8: Layer already exists 05:18:33 f3fa809ffb34: Layer already exists 05:18:33 7c6ce31d4e4e68ee53203d0b85754cc148e5691f-3.1.0-dev.18: digest: sha256:9c4a2a73a6a2346932c214791c729427dbd4efbe02e6468d65518d33ebf5c4dd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:33 + 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 05:18:33 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 05:18:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 05:18:33 5a71dc37014f: Preparing 05:18:33 f3fa809ffb34: Preparing 05:18:33 5df8ac8431b8: Preparing 05:18:33 c202fb055226: Preparing 05:18:33 5f4d9fc4d98d: Preparing 05:18:33 f3fa809ffb34: Layer already exists 05:18:33 c202fb055226: Layer already exists 05:18:33 5a71dc37014f: Layer already exists 05:18:33 5df8ac8431b8: Layer already exists 05:18:33 5f4d9fc4d98d: Layer already exists 05:18:33 main: digest: sha256:9c4a2a73a6a2346932c214791c729427dbd4efbe02e6468d65518d33ebf5c4dd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:18:34 ===================================================== [Pipeline] echo 05:18:34 taggedImages: 05:18:34 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7c6ce31d4e4e68ee53203d0b85754cc148e5691f 05:18:34 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 05:18:34 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.18 05:18:34 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7c6ce31d4e4e68ee53203d0b85754cc148e5691f-3.1.0-dev.18 05:18:34 - 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 05:18:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:18:34 05:18:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:18:36 arm64: Pulling from edgex-lftools-log-publisher 05:18:36 8998bd30e6a1: Pulling fs layer 05:18:36 04944245beec: Pulling fs layer 05:18:36 699f458cf7ca: Pulling fs layer 05:18:36 765212b225bb: Pulling fs layer 05:18:36 f23df028b6ca: Pulling fs layer 05:18:36 d65c8cfc05b1: Pulling fs layer 05:18:36 2437ff75d9bd: Pulling fs layer 05:18:36 765212b225bb: Waiting 05:18:36 f23df028b6ca: Waiting 05:18:36 d65c8cfc05b1: Waiting 05:18:36 2437ff75d9bd: Waiting 05:18:36 04944245beec: Verifying Checksum 05:18:36 04944245beec: Download complete 05:18:36 765212b225bb: Verifying Checksum 05:18:36 765212b225bb: Download complete 05:18:36 f23df028b6ca: Verifying Checksum 05:18:36 f23df028b6ca: Download complete 05:18:36 d65c8cfc05b1: Verifying Checksum 05:18:36 d65c8cfc05b1: Download complete 05:18:36 699f458cf7ca: Verifying Checksum 05:18:36 699f458cf7ca: Download complete 05:18:36 8998bd30e6a1: Verifying Checksum 05:18:36 8998bd30e6a1: Download complete 05:18:39 2437ff75d9bd: Verifying Checksum 05:18:39 2437ff75d9bd: Download complete 05:18:41 8998bd30e6a1: Pull complete 05:18:41 04944245beec: Pull complete 05:18:43 699f458cf7ca: Pull complete 05:18:43 765212b225bb: Pull complete 05:18:44 f23df028b6ca: Pull complete 05:18:44 d65c8cfc05b1: Pull complete 05:18:59 2437ff75d9bd: Pull complete 05:18:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:18:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:18:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:18:59 prd-ubuntu20.04-docker-arm64-4c-16g-9596 does not seem to be running inside a container 05:18:59 $ 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/175 -v /w/workspace/device-onvif-camera/175:/w/workspace/device-onvif-camera/175:rw,z -v /w/workspace/device-onvif-camera/175@tmp:/w/workspace/device-onvif-camera/175@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 05:19:02 $ docker top d88de82dd0216f06f23cb1420ade3ae737d59f5d264cdb4fb06963d61efcf775 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:03 ---> job-cost.sh 05:19:03 lf-activate-venv: SKIPPING 05:19:03 INFO: No Stack... 05:19:03 INFO: Retrieving Pricing Info for: v3-standard-4 05:19:04 INFO: Archiving Costs [Pipeline] sh 05:19:05 + cat /w/workspace/device-onvif-camera/175/archives/cost.csv 05:19:05 + cut -d, -f6 [Pipeline] lock 05:19:05 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-175-stack-cost] 05:19:05 Resource [jenkins-edgexfoundry-device-onvif-camera-main-175-stack-cost] did not exist. Created. 05:19:05 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-175-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:19:05 /w/workspace/device-onvif-camera/175@tmp/durable-f56de47a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:19:06 + echo total: 0.10999999940395355 [Pipeline] stash 05:19:06 Warning: overwriting stash ‘stack-cost’ 05:19:06 Stashed 1 file(s) [Pipeline] } 05:19:06 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-175-stack-cost] [Pipeline] // lock [Pipeline] } 05:19:06 $ docker stop --time=1 d88de82dd0216f06f23cb1420ade3ae737d59f5d264cdb4fb06963d61efcf775 05:19:08 $ docker rm -f --volumes d88de82dd0216f06f23cb1420ade3ae737d59f5d264cdb4fb06963d61efcf775 [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 05:19:08 provisioning config files... 05:19:08 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10341097348823664523tmp [Pipeline] { [Pipeline] sh 05:19:09 + set +x 05:19:09 + curl -s https://codecov.io/bash 05:19:09 + bash -s -- 05:19:09 05:19:09 _____ _ 05:19:09 / ____| | | 05:19:09 | | ___ __| | ___ ___ _____ __ 05:19:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:19:09 | |___| (_) | (_| | __/ (_| (_) \ V / 05:19:09 \_____\___/ \__,_|\___|\___\___/ \_/ 05:19:09 Bash-1.0.6 05:19:09 05:19:09 05:19:09 ==> git version 2.25.1 found 05:19:09 ==> 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 05:19:09 Release-Date: 2020-01-08 05:19:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:19:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:19:09 ==> Jenkins CI detected. 05:19:09 current dir:  /w/workspace/foundry_device-onvif-camera_main 05:19:09 project root: . 05:19:09 --> token set from env 05:19:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:19:09 ==> Running gcov in . (disable via -X gcov) 05:19:09 ==> Python coveragepy not found 05:19:09 ==> Searching for coverage reports in: 05:19:09 + . 05:19:09 -> Found 1 reports 05:19:09 ==> Detecting git/mercurial file structure 05:19:09 ==> Reading reports 05:19:09 + ./coverage.out bytes=78456 05:19:09 ==> Appending adjustments 05:19:09 https://docs.codecov.io/docs/fixing-reports 05:19:09 + Found adjustments 05:19:09 ==> Gzipping contents 05:19:09 12K /tmp/codecov.HiPsQj.gz 05:19:09 ==> Uploading reports 05:19:09 url: https://codecov.io 05:19:09 query: branch=main&commit=7c6ce31d4e4e68ee53203d0b85754cc148e5691f&build=175&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F175%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 05:19:09 -> Pinging Codecov 05:19:09 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=7c6ce31d4e4e68ee53203d0b85754cc148e5691f&build=175&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F175%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 05:19:09 -> Uploading to 05:19:09 https://storage.googleapis.com/codecov/v4/raw/2023-10-19/F29A59C45E3A92E06B3E522C9905F8EF/7c6ce31d4e4e68ee53203d0b85754cc148e5691f/6c90f89b-eccb-4187-9dd0-32ce00e6b5fe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231019%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231019T051909Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2ca62a87d299b855a9f57801a20df254c284caa716d45c2038e0d969af7f26fa 05:19:09 % Total % Received % Xferd Average Speed Time Time Time Current 05:19:09 Dload Upload Total Spent Left Speed 05:19:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10561 0 0 100 10561 0 32198 --:--:-- --:--:-- --:--:-- 32198 05:19:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/7c6ce31d4e4e68ee53203d0b85754cc148e5691f [Pipeline] } 05:19:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:19:10 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:19:10 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:19:10 05:19:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:19:10 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:19:10 df9b9388f04a: Pulling fs layer 05:19:10 52dc419b0ee2: Pulling fs layer 05:19:10 25bc292e5bac: Pulling fs layer 05:19:10 114826534d7a: Pulling fs layer 05:19:10 4657fd5d0bcf: Pulling fs layer 05:19:10 6ad1cebc031e: Pulling fs layer 05:19:10 8a3aa393b2d8: Pulling fs layer 05:19:10 114826534d7a: Waiting 05:19:10 4657fd5d0bcf: Waiting 05:19:10 6ad1cebc031e: Waiting 05:19:10 8a3aa393b2d8: Waiting 05:19:10 25bc292e5bac: Verifying Checksum 05:19:10 25bc292e5bac: Download complete 05:19:10 52dc419b0ee2: Verifying Checksum 05:19:10 52dc419b0ee2: Download complete 05:19:10 4657fd5d0bcf: Verifying Checksum 05:19:10 4657fd5d0bcf: Download complete 05:19:10 df9b9388f04a: Verifying Checksum 05:19:10 df9b9388f04a: Download complete 05:19:10 df9b9388f04a: Pull complete 05:19:11 52dc419b0ee2: Pull complete 05:19:11 25bc292e5bac: Pull complete 05:19:12 6ad1cebc031e: Verifying Checksum 05:19:12 114826534d7a: Verifying Checksum 05:19:12 114826534d7a: Download complete 05:19:12 8a3aa393b2d8: Verifying Checksum 05:19:12 8a3aa393b2d8: Download complete 05:19:15 114826534d7a: Pull complete 05:19:15 4657fd5d0bcf: Pull complete 05:19:15 6ad1cebc031e: Pull complete 05:19:18 8a3aa393b2d8: Pull complete 05:19:18 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:19:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:19:18 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:18 prd-ubuntu20.04-docker-8c-8g-9594 does not seem to be running inside a container 05:19:18 $ 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 05:19:22 $ docker top c32ccf4445aa4b478d6dc76a2e54806444c9541198300965a9f56eac0caf2b6f -eo pid,comm [Pipeline] { [Pipeline] echo 05:19:22 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 05:19:22 + set -o pipefail 05:19:22 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 05:19:29 05:19:29 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 05:19:29 05:19:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/03946e43-050b-479b-aea0-e76cfc29ac24 05:19:29 05:19:29 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 05:19:29 05:19:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:19:29 05:19:29 05:19:29 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:19:29 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:19:29 More details here: https://snyk.co/ue1NS [Pipeline] } 05:19:29 $ docker stop --time=1 c32ccf4445aa4b478d6dc76a2e54806444c9541198300965a9f56eac0caf2b6f 05:19:33 $ docker rm -f --volumes c32ccf4445aa4b478d6dc76a2e54806444c9541198300965a9f56eac0caf2b6f [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 05:19:33 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:19:33 provisioning config files... 05:19:33 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15591186633770680067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:34 --> edgex-publish-swagger.sh 05:19:34 === Publish doc/openapi/v3 API === 05:19:34 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 05:19:34 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 05:19:34 % Total % Received % Xferd Average Speed Time Time Time Current 05:19:34 Dload Upload Total Spent Left Speed 05:19:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 0 0 100 485k 0 686k --:--:-- --:--:-- --:--:-- 685k 100 485k 0 0 100 485k 0 686k --:--:-- --:--:-- --:--:-- 685k 05:19:34 05:19:34 [Pipeline] } 05:19:34 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 05:19:35 + git log --format=format:%s -1 7c6ce31d4e4e68ee53203d0b85754cc148e5691f [Pipeline] sh 05:19:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:19:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:19:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:35 prd-ubuntu20.04-docker-8c-8g-9594 does not seem to be running inside a container 05:19:35 $ 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 05:19:36 $ docker top 9ef78f21f45737cdba30de267ef9f0b1d319244e279ec4231cd48a8b6f7b55fa -eo pid,comm 05:19:36 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). 05:19:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:19:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:19:36 [ssh-agent] Looking for ssh-agent implementation... 05:19:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:19:36 $ docker exec 9ef78f21f45737cdba30de267ef9f0b1d319244e279ec4231cd48a8b6f7b55fa ssh-agent 05:19:36 SSH_AUTH_SOCK=/tmp/ssh-pbymZOkZ85vh/agent.31 05:19:36 SSH_AGENT_PID=37 05:19:36 Running ssh-add (command line suppressed) 05:19:36 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2851027020563108671.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2851027020563108671.key) 05:19:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:19:36 + git semver tag 05:19:37 2023-10-19 05:19:37,129 [run_tag] DEBUG tag force:False 05:19:37 2023-10-19 05:19:37,129 [check_head_tag] DEBUG check head tag 05:19:37 2023-10-19 05:19:37,130 [execute] INFO git cat-file --batch-check 05:19:37 2023-10-19 05:19:37,130 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 05:19:37 2023-10-19 05:19:37,134 [execute] INFO git cat-file --batch 05:19:37 2023-10-19 05:19:37,135 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 05:19:37 2023-10-19 05:19:37,145 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 05:19:37 2023-10-19 05:19:37,146 [execute] INFO git tag -a v3.1.0-dev.18 -m v3.1.0-dev.18 05:19:37 2023-10-19 05:19:37,146 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.18', '-m', 'v3.1.0-dev.18'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 05:19:37 2023-10-19 05:19:37,151 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 05:19:37 3.1.0-dev.18 [Pipeline] } 05:19:37 $ docker exec --env ******** --env ******** 9ef78f21f45737cdba30de267ef9f0b1d319244e279ec4231cd48a8b6f7b55fa ssh-agent -k 05:19:37 unset SSH_AUTH_SOCK; 05:19:37 unset SSH_AGENT_PID; 05:19:37 echo Agent pid 37 killed; 05:19:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:19:37 + git semver [Pipeline] } 05:19:37 $ docker stop --time=1 9ef78f21f45737cdba30de267ef9f0b1d319244e279ec4231cd48a8b6f7b55fa 05:19:39 $ docker rm -f --volumes 9ef78f21f45737cdba30de267ef9f0b1d319244e279ec4231cd48a8b6f7b55fa [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:19:39 05:19:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:19:39 0.23.1-centos7: Pulling from edgex-lftools 05:19:39 ab5ef0e58194: Pulling fs layer 05:19:39 9712f1f96733: Pulling fs layer 05:19:39 63f879dbbcfc: Pulling fs layer 05:19:39 0d9ebad4ef96: Pulling fs layer 05:19:39 e9a5061849ea: Pulling fs layer 05:19:39 d747dcd14b5f: Pulling fs layer 05:19:39 2de7ff778b66: Pulling fs layer 05:19:39 0d9ebad4ef96: Waiting 05:19:39 e9a5061849ea: Waiting 05:19:39 d747dcd14b5f: Waiting 05:19:39 2de7ff778b66: Waiting 05:19:39 9712f1f96733: Verifying Checksum 05:19:39 9712f1f96733: Download complete 05:19:40 63f879dbbcfc: Download complete 05:19:40 e9a5061849ea: Verifying Checksum 05:19:40 e9a5061849ea: Download complete 05:19:40 d747dcd14b5f: Verifying Checksum 05:19:40 d747dcd14b5f: Download complete 05:19:40 ab5ef0e58194: Verifying Checksum 05:19:40 ab5ef0e58194: Download complete 05:19:40 0d9ebad4ef96: Verifying Checksum 05:19:40 0d9ebad4ef96: Download complete 05:19:40 2de7ff778b66: Verifying Checksum 05:19:40 2de7ff778b66: Download complete 05:19:43 ab5ef0e58194: Pull complete 05:19:43 9712f1f96733: Pull complete 05:19:43 63f879dbbcfc: Pull complete 05:19:47 0d9ebad4ef96: Pull complete 05:19:47 e9a5061849ea: Pull complete 05:19:47 d747dcd14b5f: Pull complete 05:19:48 2de7ff778b66: Pull complete 05:19:48 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:19:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:19:48 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:48 prd-ubuntu20.04-docker-8c-8g-9594 does not seem to be running inside a container 05:19:48 $ 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 05:19:52 $ docker top 2ab28f28a4928d6ebe3441b0162ccb2f320101adbf01396d2fe96deb9da8b2c7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:19:52 provisioning config files... 05:19:52 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5680615560199745994tmp 05:19:52 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14805526669418391720tmp 05:19:52 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10979716600488887515tmp [Pipeline] { [Pipeline] echo 05:19:52 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:19:53 ---> sigul-configuration.sh 05:19:53 gpg: directory `/root/.gnupg' created 05:19:53 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:19:53 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:19:53 gpg: keyring `/root/.gnupg/secring.gpg' created 05:19:53 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:19:53 gpg: CAST5 encrypted data 05:19:53 gpg: encrypted with 1 passphrase 05:19:53 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:19:53 + mkdir /home/jenkins 05:19:53 + mkdir /home/jenkins/sigul [Pipeline] sh 05:19:53 + 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 05:19:53 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:19:54 ---> sigul-install.sh 05:19:54 Sigul already installed; skipping installation. [Pipeline] sh 05:19:54 + git tag --list 05:19:54 v0.0.0 05:19:54 v2.2.0 05:19:54 v2.3.0 05:19:54 v2.3.1 05:19:54 v3.0 05:19:54 v3.0.0 05:19:54 v3.1.0-dev.1 05:19:54 v3.1.0-dev.10 05:19:54 v3.1.0-dev.11 05:19:54 v3.1.0-dev.12 05:19:54 v3.1.0-dev.13 05:19:54 v3.1.0-dev.14 05:19:54 v3.1.0-dev.15 05:19:54 v3.1.0-dev.16 05:19:54 v3.1.0-dev.17 05:19:54 v3.1.0-dev.18 05:19:54 v3.1.0-dev.2 05:19:54 v3.1.0-dev.3 05:19:54 v3.1.0-dev.4 05:19:54 v3.1.0-dev.5 05:19:54 v3.1.0-dev.6 05:19:54 v3.1.0-dev.7 05:19:54 v3.1.0-dev.8 05:19:54 v3.1.0-dev.9 [Pipeline] sh 05:19:54 + lftools sign git-tag v3.1.0-dev.18 05:19:55 Signing Git tag with Sigul... 05:19:55 Signing v3.1.0-dev.18 [Pipeline] echo 05:19:55 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:19:55 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:19:55 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:19:55 $ docker stop --time=1 2ab28f28a4928d6ebe3441b0162ccb2f320101adbf01396d2fe96deb9da8b2c7 05:19:57 $ docker rm -f --volumes 2ab28f28a4928d6ebe3441b0162ccb2f320101adbf01396d2fe96deb9da8b2c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:19:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:19:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:19:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:57 prd-ubuntu20.04-docker-8c-8g-9594 does not seem to be running inside a container 05:19:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:19:58 $ docker top 1d523a6fc844378ba119bee986cd5b528ce90f8cb76f9b8d47374f15f438ed1d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:19:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:19:58 [ssh-agent] Looking for ssh-agent implementation... 05:19:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:19:58 $ docker exec 1d523a6fc844378ba119bee986cd5b528ce90f8cb76f9b8d47374f15f438ed1d ssh-agent 05:19:58 SSH_AUTH_SOCK=/tmp/ssh-5LuGDBKitNEc/agent.32 05:19:58 SSH_AGENT_PID=38 05:19:58 Running ssh-add (command line suppressed) 05:19:58 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11313418117466505109.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11313418117466505109.key) 05:19:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:19:58 + git semver bump pre 05:19:59 2023-10-19 05:19:59,072 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 05:19:59 2023-10-19 05:19:59,073 [bump_version] DEBUG bumping version:3.1.0-dev.18 on axis:pre with prefix:dev 05:19:59 2023-10-19 05:19:59,073 [bump_version] DEBUG bumped version:3.1.0-dev.19 05:19:59 2023-10-19 05:19:59,073 [write_version] DEBUG write version:3.1.0-dev.19 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 05:19:59 2023-10-19 05:19:59,073 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 05:19:59 2023-10-19 05:19:59,073 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 05:19:59 2023-10-19 05:19:59,075 [execute] INFO git cat-file --batch-check 05:19:59 2023-10-19 05:19:59,076 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 05:19:59 2023-10-19 05:19:59,081 [execute] INFO git cat-file --batch 05:19:59 2023-10-19 05:19:59,081 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 05:19:59 2023-10-19 05:19:59,086 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 05:19:59 3.1.0-dev.19 [Pipeline] } 05:19:59 $ docker exec --env ******** --env ******** 1d523a6fc844378ba119bee986cd5b528ce90f8cb76f9b8d47374f15f438ed1d ssh-agent -k 05:19:59 unset SSH_AUTH_SOCK; 05:19:59 unset SSH_AGENT_PID; 05:19:59 echo Agent pid 38 killed; 05:19:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:19:59 + git semver [Pipeline] } 05:19:59 $ docker stop --time=1 1d523a6fc844378ba119bee986cd5b528ce90f8cb76f9b8d47374f15f438ed1d 05:20:01 $ docker rm -f --volumes 1d523a6fc844378ba119bee986cd5b528ce90f8cb76f9b8d47374f15f438ed1d [Pipeline] // withDockerContainer [Pipeline] sh 05:20:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:20:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:20:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:01 prd-ubuntu20.04-docker-8c-8g-9594 does not seem to be running inside a container 05:20:01 $ 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 05:20:02 $ docker top fad9774450f9829d7ca0853d1fdcbdb74443512992efc52a610428f86c08d30b -eo pid,comm 05:20:02 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). 05:20:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:20:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:20:02 [ssh-agent] Looking for ssh-agent implementation... 05:20:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:20:02 $ docker exec fad9774450f9829d7ca0853d1fdcbdb74443512992efc52a610428f86c08d30b ssh-agent 05:20:02 SSH_AUTH_SOCK=/tmp/ssh-Gpf3mRuwkiv4/agent.33 05:20:02 SSH_AGENT_PID=39 05:20:02 Running ssh-add (command line suppressed) 05:20:02 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17454942841124928905.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17454942841124928905.key) 05:20:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:20:02 + git semver push 05:20:03 2023-10-19 05:20:03,026 [run_push] DEBUG push 05:20:03 2023-10-19 05:20:03,027 [execute] INFO git cat-file --batch-check 05:20:03 2023-10-19 05:20:03,028 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 05:20:03 2023-10-19 05:20:03,031 [execute] INFO git rev-list b2e25dfdd3e7f018931ab130260c157e91168950 -- 05:20:03 2023-10-19 05:20:03,032 [execute] DEBUG Popen(['git', 'rev-list', 'b2e25dfdd3e7f018931ab130260c157e91168950', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 05:20:03 2023-10-19 05:20:03,039 [execute] INFO git fetch -v origin 05:20:03 2023-10-19 05:20:03,040 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 05:20:03 2023-10-19 05:20:03,529 [run_push] DEBUG no remote changes detected 05:20:03 2023-10-19 05:20:03,530 [execute] INFO git push origin semver 05:20:03 2023-10-19 05:20:03,530 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 05:20:04 2023-10-19 05:20:04,277 [run_push] DEBUG push all version tags 05:20:04 2023-10-19 05:20:04,278 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:20:04 2023-10-19 05:20:04,278 [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) 05:20:05 2023-10-19 05:20:05,031 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 05:20:05 3.1.0-dev.19 [Pipeline] } 05:20:05 $ docker exec --env ******** --env ******** fad9774450f9829d7ca0853d1fdcbdb74443512992efc52a610428f86c08d30b ssh-agent -k 05:20:05 unset SSH_AUTH_SOCK; 05:20:05 unset SSH_AGENT_PID; 05:20:05 echo Agent pid 39 killed; 05:20:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:20:05 + git semver [Pipeline] } 05:20:05 $ docker stop --time=1 fad9774450f9829d7ca0853d1fdcbdb74443512992efc52a610428f86c08d30b 05:20:07 $ docker rm -f --volumes fad9774450f9829d7ca0853d1fdcbdb74443512992efc52a610428f86c08d30b [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 05:20:07 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 05:20:07 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 05:20:07 total 16 05:20:07 drwxr-xr-x 3 root root 4096 Oct 19 05:09 . 05:20:07 drwxrwxr-x 11 jenkins jenkins 4096 Oct 19 05:19 .. 05:20:07 drwxr-xr-x 2 root root 4096 Oct 19 05:09 cost 05:20:07 -rw-r--r-- 1 root root 91 Oct 19 05:09 cost.csv 05:20:07 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 05:20:07 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 05:20:07 total 16 05:20:07 drwxr-xr-x 3 jenkins jenkins 4096 Oct 19 05:09 . 05:20:07 drwxrwxr-x 11 jenkins jenkins 4096 Oct 19 05:19 .. 05:20:07 drwxr-xr-x 2 jenkins jenkins 4096 Oct 19 05:09 cost 05:20:07 -rw-r--r-- 1 jenkins jenkins 91 Oct 19 05:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:20:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:20:08 ---> package-listing.sh 05:20:08 ++ facter osfamily 05:20:08 ++ tr '[:upper:]' '[:lower:]' 05:20:09 + OS_FAMILY=debian 05:20:09 + workspace=/w/workspace/foundry_device-onvif-camera_main 05:20:09 + START_PACKAGES=/tmp/packages_start.txt 05:20:09 + END_PACKAGES=/tmp/packages_end.txt 05:20:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:20:09 + PACKAGES=/tmp/packages_start.txt 05:20:09 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 05:20:09 + PACKAGES=/tmp/packages_end.txt 05:20:09 + case "${OS_FAMILY}" in 05:20:09 + grep '^ii' 05:20:09 + dpkg -l 05:20:09 + '[' -f /tmp/packages_start.txt ']' 05:20:09 + '[' -f /tmp/packages_end.txt ']' 05:20:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:20:09 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 05:20:09 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 05:20:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 05:20:09 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:20:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:20:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:09 prd-ubuntu20.04-docker-8c-8g-9594 does not seem to be running inside a container 05:20:10 $ 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 05:20:10 $ docker top 7b68d77ec220bc24f7d362f14d64c5dd5ea5eee21fcb97917446216352fd4c2a -eo pid,comm [Pipeline] { [Pipeline] sh 05:20:10 + touch /tmp/pre-build-complete [Pipeline] sh 05:20:10 + mkdir -p /var/log/sysstat [Pipeline] sh 05:20:11 + ls /var/log/sa-host 05:20:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:20:11 provisioning config files... 05:20:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6857982727060605559tmp [Pipeline] { [Pipeline] echo 05:20:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:20:11 ---> create-netrc.sh [Pipeline] } 05:20:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:20:11 ---> python-tools-install.sh [Pipeline] echo 05:20:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:20:12 ---> sudo-logs.sh 05:20:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:20:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:20:12 ---> job-cost.sh 05:20:12 lf-activate-venv: SKIPPING 05:20:12 DEBUG: total: 0.2199999988079071 05:20:12 INFO: Retrieving Stack Cost... 05:20:12 INFO: Retrieving Pricing Info for: v3-standard-8 05:20:13 INFO: Archiving Costs [Pipeline] echo 05:20:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:20:13 ---> logs-deploy.sh 05:20:13 lf-activate-venv: SKIPPING 05:20:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/175 05:20:13 INFO: archiving workspace using pattern(s): 05:20:14 Archives upload complete. 05:20:14 INFO: archiving logs to Nexus