Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4c3943abb5596eefa9af9b661fb4a90371d27683 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-ssh17570107015338083689.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh15059581256042902882.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh14293057385174445520.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh6642039314939087403.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-ssh6437453683340125578.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16041 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 4c3943abb5596eefa9af9b661fb4a90371d27683 (main) Commit message: "docs: updated remaining docs from v2 to v3 (#366)" > git config core.sparsecheckout # timeout=10 > git checkout -f 4c3943abb5596eefa9af9b661fb4a90371d27683 # timeout=10 > git rev-list --no-walk 64f82e933683e29c662cfdfed835d2baed16cd25 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:59:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:59:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:59:35 ========================================================= 20:59:35 EdgeX Global Pipelines Version Info 20:59:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:59:36 ------------------- 20:59:36 stable info: 20:59:36 ------------------- 20:59:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:59:36 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:59:36 Message: update stable to v1.0.249 20:59:36 ------------------- 20:59:36 experimental info: 20:59:36 ------------------- 20:59:36 Commited By: **** collab-it+edgex@linuxfoundation.org 20:59:36 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:59:36 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4c3943abb5596eefa9af9b661fb4a90371d27683 [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4c3943a [Pipeline] echo 20:59:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:59:39 provisioning config files... 20:59:39 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10842771581793273677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:40 ---> docker-login.sh 20:59:40 nexus3.edgexfoundry.org:10001 20:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:40 Configure a credential helper to remove this warning. See 20:59:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:40 20:59:40 Login Succeeded 20:59:40 nexus3.edgexfoundry.org:10002 20:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:40 Configure a credential helper to remove this warning. See 20:59:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:40 20:59:40 Login Succeeded 20:59:40 nexus3.edgexfoundry.org:10003 20:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:40 Configure a credential helper to remove this warning. See 20:59:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:40 20:59:40 Login Succeeded 20:59:40 nexus3.edgexfoundry.org:10004 20:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:40 Configure a credential helper to remove this warning. See 20:59:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:40 20:59:40 Login Succeeded 20:59:40 docker.io 20:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:41 Configure a credential helper to remove this warning. See 20:59:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:41 20:59:41 Login Succeeded 20:59:41 ---> docker-login.sh ends [Pipeline] } 20:59:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:59:41 + git rev-list -1 --merges 4c3943abb5596eefa9af9b661fb4a90371d27683~1..4c3943abb5596eefa9af9b661fb4a90371d27683 [Pipeline] echo 20:59:41 -----------> git rev-list -1 --merges 4c3943abb5596eefa9af9b661fb4a90371d27683~1..4c3943abb5596eefa9af9b661fb4a90371d27683 4c3943abb5596eefa9af9b661fb4a90371d27683 [false] [Pipeline] sh 20:59:42 + git log --format=format:%s -1 4c3943abb5596eefa9af9b661fb4a90371d27683 [Pipeline] echo 20:59:42 ========================================================= 20:59:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:59:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:59:42 + git log --format=format:%s -1 4c3943abb5596eefa9af9b661fb4a90371d27683 [Pipeline] echo 20:59:42 [semverPrep] GIT_COMMIT: 4c3943abb5596eefa9af9b661fb4a90371d27683, Commit Message: docs: updated remaining docs from v2 to v3 (#366) [Pipeline] echo 20:59:42 [semverPrep] This is not a build commit. [Pipeline] sh 20:59:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:59:42 + grep -v github /etc/ssh/ssh_known_hosts 20:59:42 + [ -e /tmp/ssh_known_hosts ] 20:59:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:59:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:59:42 + sudo tee -a /etc/ssh/ssh_known_hosts 20:59:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:43 20:59:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:43 0.1.4: Pulling from edgex-devops/py-git-semver 20:59:43 b85a868b505f: Pulling fs layer 20:59:43 e2be974225ed: Pulling fs layer 20:59:43 339a4e72a1f5: Pulling fs layer 20:59:43 988bab9f4d93: Pulling fs layer 20:59:43 1469e6f7b9e6: Pulling fs layer 20:59:43 eaf3925da568: Pulling fs layer 20:59:43 bab4dde63d76: Pulling fs layer 20:59:43 bde34c3a00c8: Pulling fs layer 20:59:43 b352a97aabf1: Pulling fs layer 20:59:43 4872d77fe225: Pulling fs layer 20:59:43 5851b861e8e6: Pulling fs layer 20:59:43 988bab9f4d93: Waiting 20:59:43 1469e6f7b9e6: Waiting 20:59:43 b352a97aabf1: Waiting 20:59:43 4872d77fe225: Waiting 20:59:43 5851b861e8e6: Waiting 20:59:43 bab4dde63d76: Waiting 20:59:43 bde34c3a00c8: Waiting 20:59:43 e2be974225ed: Download complete 20:59:43 988bab9f4d93: Download complete 20:59:43 1469e6f7b9e6: Verifying Checksum 20:59:43 1469e6f7b9e6: Download complete 20:59:43 339a4e72a1f5: Verifying Checksum 20:59:43 339a4e72a1f5: Download complete 20:59:43 eaf3925da568: Download complete 20:59:43 bde34c3a00c8: Verifying Checksum 20:59:43 bde34c3a00c8: Download complete 20:59:43 b352a97aabf1: Download complete 20:59:43 4872d77fe225: Verifying Checksum 20:59:43 4872d77fe225: Download complete 20:59:43 5851b861e8e6: Verifying Checksum 20:59:43 5851b861e8e6: Download complete 20:59:43 b85a868b505f: Verifying Checksum 20:59:43 b85a868b505f: Download complete 20:59:44 bab4dde63d76: Verifying Checksum 20:59:44 bab4dde63d76: Download complete 20:59:44 b85a868b505f: Pull complete 20:59:45 e2be974225ed: Pull complete 20:59:45 339a4e72a1f5: Pull complete 20:59:45 988bab9f4d93: Pull complete 20:59:46 1469e6f7b9e6: Pull complete 20:59:46 eaf3925da568: Pull complete 20:59:47 bab4dde63d76: Pull complete 20:59:47 bde34c3a00c8: Pull complete 20:59:48 b352a97aabf1: Pull complete 20:59:48 4872d77fe225: Pull complete 20:59:48 5851b861e8e6: Pull complete 20:59:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:59:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:48 prd-ubuntu20.04-docker-8c-8g-16041 does not seem to be running inside a container 20:59:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:59:50 $ docker top 8b7b442fa4fc90b63bd60966ea821c87dacd7f734b2c4da9c3eb392261014685 -eo pid,comm 20:59:50 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). 20:59:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:59:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:59:50 [ssh-agent] Looking for ssh-agent implementation... 20:59:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:59:50 $ docker exec 8b7b442fa4fc90b63bd60966ea821c87dacd7f734b2c4da9c3eb392261014685 ssh-agent 20:59:51 SSH_AUTH_SOCK=/tmp/ssh-qnZLV8SZyIdb/agent.33 20:59:51 SSH_AGENT_PID=39 20:59:51 Running ssh-add (command line suppressed) 20:59:51 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1703110589908529485.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1703110589908529485.key) 20:59:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:59:51 + git tag --points-at HEAD [Pipeline] } 20:59:51 $ docker exec --env ******** --env ******** 8b7b442fa4fc90b63bd60966ea821c87dacd7f734b2c4da9c3eb392261014685 ssh-agent -k 20:59:51 unset SSH_AUTH_SOCK; 20:59:51 unset SSH_AGENT_PID; 20:59:51 echo Agent pid 39 killed; 20:59:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:59:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:59:51 [ssh-agent] Looking for ssh-agent implementation... 20:59:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:59:51 $ docker exec 8b7b442fa4fc90b63bd60966ea821c87dacd7f734b2c4da9c3eb392261014685 ssh-agent 20:59:51 SSH_AUTH_SOCK=/tmp/ssh-93f5aAvrnJfc/agent.71 20:59:51 SSH_AGENT_PID=77 20:59:51 Running ssh-add (command line suppressed) 20:59:51 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10436313513199233776.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10436313513199233776.key) 20:59:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:59:52 + git semver init 20:59:52 2023-05-18 20:59:52,459 [run_init] DEBUG init version:0.0.0 force:False 20:59:52 2023-05-18 20:59:52,459 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 20:59:52 2023-05-18 20:59:52,460 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 20:59:52 2023-05-18 20:59:52,460 [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) 20:59:53 2023-05-18 20:59:53,419 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 20:59:53 2023-05-18 20:59:53,419 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 20:59:53 2023-05-18 20:59:53,419 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 20:59:53 2023-05-18 20:59:53,420 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 20:59:53 3.0.0-dev.55 [Pipeline] } 20:59:53 $ docker exec --env ******** --env ******** 8b7b442fa4fc90b63bd60966ea821c87dacd7f734b2c4da9c3eb392261014685 ssh-agent -k 20:59:53 unset SSH_AUTH_SOCK; 20:59:53 unset SSH_AGENT_PID; 20:59:53 echo Agent pid 77 killed; 20:59:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:59:53 + git semver [Pipeline] } 20:59:54 $ docker stop --time=1 8b7b442fa4fc90b63bd60966ea821c87dacd7f734b2c4da9c3eb392261014685 20:59:55 $ docker rm -f --volumes 8b7b442fa4fc90b63bd60966ea821c87dacd7f734b2c4da9c3eb392261014685 [Pipeline] // withDockerContainer [Pipeline] sh 20:59:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:59:56 Stashed 1 file(s) [Pipeline] echo 20:59:56 [edgeXSemver]: initialized semver on version 3.0.0-dev.55 [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 20:59:56 provisioning config files... 20:59:56 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15116780283819169939tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:56 ---> docker-login.sh 20:59:56 nexus3.edgexfoundry.org:10001 20:59:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:56 Configure a credential helper to remove this warning. See 20:59:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:56 20:59:56 Login Succeeded 20:59:56 nexus3.edgexfoundry.org:10002 20:59:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:56 Configure a credential helper to remove this warning. See 20:59:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:56 20:59:56 Login Succeeded 20:59:56 nexus3.edgexfoundry.org:10003 20:59:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:56 Configure a credential helper to remove this warning. See 20:59:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:56 20:59:56 Login Succeeded 20:59:56 nexus3.edgexfoundry.org:10004 20:59:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:56 Configure a credential helper to remove this warning. See 20:59:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:56 20:59:56 Login Succeeded 20:59:56 docker.io 20:59:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:57 Configure a credential helper to remove this warning. See 20:59:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:57 20:59:57 Login Succeeded 20:59:57 ---> docker-login.sh ends [Pipeline] } 20:59:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:59:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:57 ========================================================= 20:59:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:59:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:57 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:59:57 Sending build context to Docker daemon 21.89MB 20:59:57 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 20:59:57 Step 2/13 : FROM ${BASE} AS builder 20:59:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:59:57 f56be85fc22e: Pulling fs layer 20:59:57 85791d961cd3: Pulling fs layer 20:59:57 d694b5ae8c79: Pulling fs layer 20:59:57 9f32a84ed3da: Pulling fs layer 20:59:57 4d19c01a9841: Pulling fs layer 20:59:57 9325e15d5711: Pulling fs layer 20:59:57 556b6ee489ea: Pulling fs layer 20:59:57 c5a4b2cf53e6: Pulling fs layer 20:59:57 4d19c01a9841: Waiting 20:59:57 9325e15d5711: Waiting 20:59:57 556b6ee489ea: Waiting 20:59:57 c5a4b2cf53e6: Waiting 20:59:57 9f32a84ed3da: Waiting 20:59:57 85791d961cd3: Download complete 20:59:57 9f32a84ed3da: Download complete 20:59:57 4d19c01a9841: Verifying Checksum 20:59:57 4d19c01a9841: Download complete 20:59:57 f56be85fc22e: Verifying Checksum 20:59:57 f56be85fc22e: Download complete 20:59:57 9325e15d5711: Verifying Checksum 20:59:57 9325e15d5711: Download complete 20:59:57 f56be85fc22e: Pull complete 20:59:58 85791d961cd3: Pull complete 20:59:58 c5a4b2cf53e6: Verifying Checksum 20:59:58 c5a4b2cf53e6: Download complete 20:59:58 d694b5ae8c79: Verifying Checksum 20:59:58 d694b5ae8c79: Download complete 20:59:58 556b6ee489ea: Verifying Checksum 20:59:58 556b6ee489ea: Download complete 21:00:01 d694b5ae8c79: Pull complete 21:00:01 9f32a84ed3da: Pull complete 21:00:01 4d19c01a9841: Pull complete 21:00:01 9325e15d5711: Pull complete 21:00:04 556b6ee489ea: Pull complete 21:00:05 c5a4b2cf53e6: Pull complete 21:00:05 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:00:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:00:05 ---> c4be618373d6 21:00:05 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:00:08 ---> Running in 62305b5d54f9 21:00:08 Removing intermediate container 62305b5d54f9 21:00:08 ---> 964c33927bc4 21:00:08 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:00:08 ---> Running in 29cf3fa22ff1 21:00:08 Removing intermediate container 29cf3fa22ff1 21:00:08 ---> cc94c8dbb343 21:00:08 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 21:00:08 ---> Running in 0f04607cf0c5 21:00:08 Removing intermediate container 0f04607cf0c5 21:00:08 ---> b3705f2dc81c 21:00:08 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:00:08 ---> Running in e2d01408dd28 21:00:08 Removing intermediate container e2d01408dd28 21:00:08 ---> 91dc119feb1e 21:00:08 Step 7/13 : LABEL Name=edgex-device-onvif-camera 21:00:08 ---> Running in 8722240eafa0 21:00:08 Removing intermediate container 8722240eafa0 21:00:08 ---> 3a4a86c13e15 21:00:08 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:00:09 ---> Running in 6e01b717c51d 21:00:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:00:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:00:09 OK: 265 MiB in 53 packages 21:00:09 Removing intermediate container 6e01b717c51d 21:00:09 ---> ad54d76f1196 21:00:09 Step 9/13 : WORKDIR /device-onvif-camera 21:00:09 ---> Running in 6c37f73019bd 21:00:09 Removing intermediate container 6c37f73019bd 21:00:09 ---> f6bb906c0d2b 21:00:09 Step 10/13 : COPY go.mod vendor* ./ 21:00:10 ---> 9736e79bb294 21:00:10 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:00:10 ---> Running in 40004cff6050 21:00:11 Still waiting to schedule task 21:00:11 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:00:49 Removing intermediate container 40004cff6050 21:00:49 ---> dbbee159172e 21:00:49 Step 12/13 : COPY . . 21:00:49 ---> b196d89f96df 21:00:49 Step 13/13 : RUN ${MAKE} 21:00:49 ---> Running in 283b82361e4c 21:00:49 noop 21:00:49 Removing intermediate container 283b82361e4c 21:00:49 ---> dbe1191f3847 21:00:49 Successfully built dbe1191f3847 21:00:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:49 + docker inspect -f . ci-base-image-x86_64 21:00:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:49 prd-ubuntu20.04-docker-8c-8g-16041 does not seem to be running inside a container 21:00:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:00:49 $ docker top 23211a64eaa1001b2248119e2ede583f7fce90b6909b0759d94d4500b5056527 -eo pid,comm [Pipeline] { [Pipeline] sh 21:00:50 + go version 21:00:50 go version go1.20.2 linux/amd64 [Pipeline] } 21:00:50 $ docker stop --time=1 23211a64eaa1001b2248119e2ede583f7fce90b6909b0759d94d4500b5056527 21:00:51 $ docker rm -f --volumes 23211a64eaa1001b2248119e2ede583f7fce90b6909b0759d94d4500b5056527 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:51 + docker inspect -f . ci-base-image-x86_64 21:00:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:52 prd-ubuntu20.04-docker-8c-8g-16041 does not seem to be running inside a container 21:00:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:00:52 $ docker top 97521b2a19692e80b88898321f769cdc70ab0581eb7175312f38291666a7931e -eo pid,comm [Pipeline] { [Pipeline] sh 21:00:52 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 21:00:52 + make test 21:00:52 go test ./... -coverprofile=coverage.out ./... 21:00:58 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:01:09 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:01:09 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:01:11 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.042s coverage: 31.4% of statements 21:01:11 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.391s coverage: 86.5% of statements 21:01:18 go vet ./... 21:01:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:01:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:01:21 ./bin/test-attribution-txt.sh [Pipeline] echo 21:01:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:01:21 $ docker stop --time=1 97521b2a19692e80b88898321f769cdc70ab0581eb7175312f38291666a7931e 21:01:24 $ docker rm -f --volumes 97521b2a19692e80b88898321f769cdc70ab0581eb7175312f38291666a7931e [Pipeline] // withDockerContainer [Pipeline] sh 21:01:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:01:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:01:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:01:26 + ls -al . 21:01:26 total 232 21:01:26 drwxrwxr-x 10 jenkins jenkins 4096 May 18 21:00 . 21:01:26 drwxrwxr-x 4 jenkins jenkins 4096 May 18 20:59 .. 21:01:26 drwxrwxr-x 8 jenkins jenkins 4096 May 18 20:59 .git 21:01:26 drwxrwxr-x 3 jenkins jenkins 4096 May 18 20:59 .github 21:01:26 -rw-rw-r-- 1 jenkins jenkins 496 May 18 20:59 .gitignore 21:01:26 -rw-rw-r-- 1 jenkins jenkins 42 May 18 20:59 .golangci.yml 21:01:26 drwxr-xr-x 3 jenkins jenkins 4096 May 18 20:59 .semver 21:01:26 -rw-rw-r-- 1 jenkins jenkins 10087 May 18 20:59 Attribution.txt 21:01:26 -rw-rw-r-- 1 jenkins jenkins 6312 May 18 20:59 CHANGELOG.md 21:01:26 -rw-rw-r-- 1 jenkins jenkins 1574 May 18 20:59 Dockerfile 21:01:26 -rw-rw-r-- 1 jenkins jenkins 677 May 18 20:59 GOVERNANCE.md 21:01:26 -rw-rw-r-- 1 jenkins jenkins 739 May 18 20:59 Jenkinsfile 21:01:26 -rw-rw-r-- 1 jenkins jenkins 11348 May 18 20:59 LICENSE 21:01:26 -rw-rw-r-- 1 jenkins jenkins 2751 May 18 20:59 Makefile 21:01:26 -rw-rw-r-- 1 jenkins jenkins 625 May 18 20:59 OWNERS.md 21:01:26 -rw-rw-r-- 1 jenkins jenkins 2690 May 18 20:59 README.md 21:01:26 -rw-rw-r-- 1 jenkins jenkins 12 May 18 20:59 VERSION 21:01:26 drwxrwxr-x 2 jenkins jenkins 4096 May 18 20:59 bin 21:01:26 drwxrwxr-x 3 jenkins jenkins 4096 May 18 20:59 cmd 21:01:26 -rw-r--r-- 1 jenkins jenkins 78459 May 18 21:01 coverage.out 21:01:26 drwxrwxr-x 4 jenkins jenkins 4096 May 18 20:59 doc 21:01:26 -rw-rw-r-- 1 jenkins jenkins 3642 May 18 20:59 go.mod 21:01:26 -rw-rw-r-- 1 jenkins jenkins 33491 May 18 20:59 go.sum 21:01:26 drwxrwxr-x 4 jenkins jenkins 4096 May 18 20:59 internal 21:01:26 drwxrwxr-x 4 jenkins jenkins 4096 May 18 20:59 snap 21:01:26 -rw-rw-r-- 1 jenkins jenkins 236 May 18 20:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:26 + 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=4c3943abb5596eefa9af9b661fb4a90371d27683 --label arch=amd64 --label version=3.0.0-dev.55 . 21:01:26 Sending build context to Docker daemon 21.97MB 21:01:26 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 21:01:26 Step 2/26 : FROM ${BASE} AS builder 21:01:26 ---> dbe1191f3847 21:01:26 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:01:26 ---> Running in aad6bd329d24 21:01:26 Removing intermediate container aad6bd329d24 21:01:26 ---> bc2f423d1c9d 21:01:26 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:01:26 ---> Running in d199e3b991a4 21:01:26 Removing intermediate container d199e3b991a4 21:01:26 ---> b83128a4b3b0 21:01:26 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 21:01:26 ---> Running in e5a4c8b9f16d 21:01:26 Removing intermediate container e5a4c8b9f16d 21:01:26 ---> ecb9e16301ad 21:01:26 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:01:26 ---> Running in 9eb8604d6bb4 21:01:26 Removing intermediate container 9eb8604d6bb4 21:01:26 ---> 698e062bd765 21:01:26 Step 7/26 : LABEL Name=edgex-device-onvif-camera 21:01:26 ---> Running in 8507a205b533 21:01:27 Removing intermediate container 8507a205b533 21:01:27 ---> 4fdffb540474 21:01:27 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:01:27 ---> Running in f9214bf9db60 21:01:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:01:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:01:27 OK: 265 MiB in 53 packages 21:01:27 Removing intermediate container f9214bf9db60 21:01:27 ---> 7d108662bc70 21:01:27 Step 9/26 : WORKDIR /device-onvif-camera 21:01:27 ---> Running in b78d50bcf452 21:01:28 Removing intermediate container b78d50bcf452 21:01:28 ---> 06b7c6754dce 21:01:28 Step 10/26 : COPY go.mod vendor* ./ 21:01:28 ---> 3b8670d68aa4 21:01:28 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:01:28 ---> Running in 06a419bf0166 21:01:29 Removing intermediate container 06a419bf0166 21:01:29 ---> ddcbd7529bea 21:01:29 Step 12/26 : COPY . . 21:01:29 ---> fc01ee5bfd3f 21:01:29 Step 13/26 : RUN ${MAKE} 21:01:30 ---> Running in 019dcefc77bb 21:01:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.55" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 21:01:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16042 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 21:01:46 Running in /w/workspace/device-onvif-camera/152 [Pipeline] { [Pipeline] checkout 21:01:46 The recommended git tool is: git 21:01:48 Removing intermediate container 019dcefc77bb 21:01:48 ---> d0337b017192 21:01:48 Step 14/26 : FROM alpine:3.17 21:01:48 3.17: Pulling from library/alpine 21:01:48 f56be85fc22e: Already exists 21:01:49 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:01:49 Status: Downloaded newer image for alpine:3.17 21:01:49 ---> 9ed4aefc74f6 21:01:49 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:01:49 ---> Running in 6541dcb80e49 21:01:49 Removing intermediate container 6541dcb80e49 21:01:49 ---> e0cba04f5b89 21:01:49 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:01:49 ---> Running in e560a0ceffe6 21:01:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:01:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:01:49 (1/1) Installing dumb-init (1.2.5-r2) 21:01:49 Executing busybox-1.35.0-r29.trigger 21:01:49 OK: 7 MiB in 16 packages 21:01:50 Removing intermediate container e560a0ceffe6 21:01:50 ---> 07b02e21c370 21:01:50 Step 17/26 : WORKDIR / 21:01:50 ---> Running in 31065a6e9fa6 21:01:50 Removing intermediate container 31065a6e9fa6 21:01:50 ---> afc749dd6a75 21:01:50 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 21:01:51 ---> abd34300d1e3 21:01:51 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 21:01:51 ---> 015602455736 21:01:51 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 21:01:51 ---> 6adbc2a60252 21:01:51 Step 21/26 : EXPOSE 59984 21:01:51 ---> Running in 0d29ce9f350c 21:01:51 Removing intermediate container 0d29ce9f350c 21:01:51 ---> e34ecac7f7f3 21:01:51 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 21:01:51 ---> Running in 7e7402dc0213 21:01:51 Removing intermediate container 7e7402dc0213 21:01:51 ---> 2f32795a2971 21:01:51 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:01:51 ---> Running in 0733c1b3118c 21:01:51 Removing intermediate container 0733c1b3118c 21:01:51 ---> fcda3c680213 21:01:51 Step 24/26 : LABEL arch=amd64 21:01:51 ---> Running in b916db143a26 21:01:51 Removing intermediate container b916db143a26 21:01:51 ---> 6a7519a35701 21:01:51 Step 25/26 : LABEL git_sha=4c3943abb5596eefa9af9b661fb4a90371d27683 21:01:51 ---> Running in 7557d94d7946 21:01:51 using credential edgex-jenkins-ssh 21:01:51 Cloning the remote Git repository 21:01:51 Removing intermediate container 7557d94d7946 21:01:51 ---> 8688bd60759b 21:01:51 Step 26/26 : LABEL version=3.0.0-dev.55 21:01:51 ---> Running in 94fd7841b7f3 21:01:51 Removing intermediate container 94fd7841b7f3 21:01:51 ---> 80c7e3d1a33c 21:01:51 [Warning] One or more build-args [ARCH] were not consumed 21:01:51 Successfully built 80c7e3d1a33c 21:01:51 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:01:51 provisioning config files... 21:01:51 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8074437301009476402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:01:51 ---> docker-login.sh 21:01:51 nexus3.edgexfoundry.org:10001 21:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:51 Configure a credential helper to remove this warning. See 21:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:51 21:01:51 Login Succeeded 21:01:51 nexus3.edgexfoundry.org:10002 21:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:51 Configure a credential helper to remove this warning. See 21:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:51 21:01:51 Login Succeeded 21:01:51 nexus3.edgexfoundry.org:10003 21:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:52 Configure a credential helper to remove this warning. See 21:01:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:52 21:01:52 Login Succeeded 21:01:52 nexus3.edgexfoundry.org:10004 21:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:52 Configure a credential helper to remove this warning. See 21:01:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:52 21:01:52 Login Succeeded 21:01:52 docker.io 21:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:52 Configure a credential helper to remove this warning. See 21:01:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:52 21:01:52 Login Succeeded 21:01:52 ---> docker-login.sh ends 21:01:51 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 21:01:51 > git init /w/workspace/device-onvif-camera/152 # timeout=10 21:01:51 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 21:01:51 > git --version # timeout=10 21:01:51 > git --version # 'git version 2.25.1' 21:01:51 using GIT_SSH to set credentials SSH Credentials for GitHub 21:01:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] } 21:01:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:01:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:01:52 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 21:01:52 4c3943abb5596eefa9af9b661fb4a90371d27683 21:01:52 latest 21:01:52 3.0.0-dev.55 21:01:52 4c3943abb5596eefa9af9b661fb4a90371d27683-3.0.0-dev.55 21:01:52 main 21:01:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:52 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:4c3943abb5596eefa9af9b661fb4a90371d27683 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:53 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:4c3943abb5596eefa9af9b661fb4a90371d27683 21:01:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:01:53 4cecff0c0de1: Preparing 21:01:53 68425ce381f2: Preparing 21:01:53 3f55d1b624fc: Preparing 21:01:53 f9ac66878a7f: Preparing 21:01:53 f1417ff83b31: Preparing 21:01:53 f1417ff83b31: Layer already exists 21:01:53 68425ce381f2: Pushed 21:01:53 4cecff0c0de1: Pushed 21:01:53 f9ac66878a7f: Pushed 21:01:53 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 21:01:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:01:54 Avoid second fetch 21:01:54 Checking out Revision 4c3943abb5596eefa9af9b661fb4a90371d27683 (main) 21:01:55 Commit message: "docs: updated remaining docs from v2 to v3 (#366)" 21:01:54 > git config core.sparsecheckout # timeout=10 21:01:54 > git checkout -f 4c3943abb5596eefa9af9b661fb4a90371d27683 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:01:55 3f55d1b624fc: Pushed 21:01:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:01:55 % Total % Received % Xferd Average Speed Time Time Time Current 21:01:55 Dload Upload Total Spent Left Speed 21:01:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89167 21:01:56 4c3943abb5596eefa9af9b661fb4a90371d27683: digest: sha256:1b1a64a53feeeb5966d128dec11ca0ecec0089a45b09b21c494aaa84844cf7f5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 21:01:56 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:01:56 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 21:01:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:01:56 4cecff0c0de1: Preparing 21:01:56 68425ce381f2: Preparing 21:01:56 3f55d1b624fc: Preparing 21:01:56 f9ac66878a7f: Preparing 21:01:56 f1417ff83b31: Preparing 21:01:56 f9ac66878a7f: Layer already exists 21:01:56 68425ce381f2: Layer already exists 21:01:56 4cecff0c0de1: Layer already exists 21:01:56 f1417ff83b31: Layer already exists 21:01:56 3f55d1b624fc: Layer already exists 21:01:56 latest: digest: sha256:1b1a64a53feeeb5966d128dec11ca0ecec0089a45b09b21c494aaa84844cf7f5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:01:56 + sudo tee /etc/docker/daemon.new 21:01:56 { 21:01:56 "registry-mirrors": [ 21:01:56 "https://nexus3.edgexfoundry.org:10001" 21:01:56 ], 21:01:56 "bip": "10.250.0.254/24", 21:01:56 "hosts": [ 21:01:56 "tcp://0.0.0.0:5555", 21:01:56 "unix:///var/run/docker.sock" 21:01:56 ], 21:01:56 "mtu": 1458, 21:01:56 "selinux-enabled": true, 21:01:56 "seccomp-profile": "/etc/docker/seccomp.json" 21:01:56 } [Pipeline] sh 21:01:56 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.55 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:01:57 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.55 21:01:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:01:57 4cecff0c0de1: Preparing 21:01:57 68425ce381f2: Preparing 21:01:57 3f55d1b624fc: Preparing 21:01:57 f9ac66878a7f: Preparing 21:01:57 f1417ff83b31: Preparing 21:01:57 68425ce381f2: Layer already exists 21:01:57 3f55d1b624fc: Layer already exists 21:01:57 f1417ff83b31: Layer already exists 21:01:57 4cecff0c0de1: Layer already exists 21:01:57 f9ac66878a7f: Layer already exists 21:01:57 3.0.0-dev.55: digest: sha256:1b1a64a53feeeb5966d128dec11ca0ecec0089a45b09b21c494aaa84844cf7f5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:57 + sudo service docker restart 21:01:57 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:4c3943abb5596eefa9af9b661fb4a90371d27683-3.0.0-dev.55 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:57 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:4c3943abb5596eefa9af9b661fb4a90371d27683-3.0.0-dev.55 21:01:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:01:57 4cecff0c0de1: Preparing 21:01:57 68425ce381f2: Preparing 21:01:57 3f55d1b624fc: Preparing 21:01:57 f9ac66878a7f: Preparing 21:01:57 f1417ff83b31: Preparing 21:01:57 68425ce381f2: Layer already exists 21:01:57 4cecff0c0de1: Layer already exists 21:01:57 3f55d1b624fc: Layer already exists 21:01:57 f9ac66878a7f: Layer already exists 21:01:57 f1417ff83b31: Layer already exists 21:01:57 4c3943abb5596eefa9af9b661fb4a90371d27683-3.0.0-dev.55: digest: sha256:1b1a64a53feeeb5966d128dec11ca0ecec0089a45b09b21c494aaa84844cf7f5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:58 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:58 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 21:01:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:01:58 4cecff0c0de1: Preparing 21:01:58 68425ce381f2: Preparing 21:01:58 3f55d1b624fc: Preparing 21:01:58 f9ac66878a7f: Preparing 21:01:58 f1417ff83b31: Preparing 21:01:58 68425ce381f2: Layer already exists 21:01:58 f1417ff83b31: Layer already exists 21:01:58 f9ac66878a7f: Layer already exists 21:01:58 3f55d1b624fc: Layer already exists 21:01:58 4cecff0c0de1: Layer already exists 21:01:58 main: digest: sha256:1b1a64a53feeeb5966d128dec11ca0ecec0089a45b09b21c494aaa84844cf7f5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:01:58 ===================================================== [Pipeline] echo 21:01:58 taggedImages: 21:01:58 - nexus3.edgexfoundry.org:10004/device-onvif-camera:4c3943abb5596eefa9af9b661fb4a90371d27683 21:01:58 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 21:01:58 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.55 21:01:58 - nexus3.edgexfoundry.org:10004/device-onvif-camera:4c3943abb5596eefa9af9b661fb4a90371d27683-3.0.0-dev.55 21:01:58 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:01:59 21:01:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:01:59 latest: Pulling from edgex-lftools-log-publisher 21:01:59 5eb5b503b376: Pulling fs layer 21:01:59 5c69ac0246d0: Pulling fs layer 21:01:59 ec43610c2a17: Pulling fs layer 21:01:59 3a2ae6a8a46f: Pulling fs layer 21:01:59 33b1e0a273af: Pulling fs layer 21:01:59 5d3b04190fa2: Pulling fs layer 21:01:59 2f39f015ded8: Pulling fs layer 21:01:59 3a2ae6a8a46f: Waiting 21:01:59 33b1e0a273af: Waiting 21:01:59 5d3b04190fa2: Waiting 21:01:59 2f39f015ded8: Waiting 21:01:59 5c69ac0246d0: Verifying Checksum 21:01:59 5c69ac0246d0: Download complete 21:01:59 3a2ae6a8a46f: Download complete 21:01:59 33b1e0a273af: Verifying Checksum 21:01:59 33b1e0a273af: Download complete 21:01:59 5d3b04190fa2: Download complete 21:01:59 ec43610c2a17: Verifying Checksum 21:01:59 ec43610c2a17: Download complete 21:01:59 5eb5b503b376: Verifying Checksum 21:01:59 5eb5b503b376: Download complete 21:02:00 2f39f015ded8: Download complete 21:02:00 5eb5b503b376: Pull complete 21:02:00 5c69ac0246d0: Pull complete 21:02:01 ec43610c2a17: Pull complete 21:02:01 3a2ae6a8a46f: Pull complete 21:02:01 33b1e0a273af: Pull complete 21:02:01 5d3b04190fa2: Pull complete 21:02:05 2f39f015ded8: Pull complete 21:02:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:02:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:02:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:05 prd-ubuntu20.04-docker-8c-8g-16041 does not seem to be running inside a container 21:02:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:02:09 $ docker top 95daa733300b81e39af6bc7696cb3d35edce18685bc6986b03cf36593b11ff9c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:02:09 ---> job-cost.sh 21:02:09 lf-activate-venv: SKIPPING 21:02:09 INFO: No Stack... 21:02:10 INFO: Retrieving Pricing Info for: v3-standard-8 21:02:10 INFO: Archiving Costs [Pipeline] sh 21:02:11 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 21:02:11 + cut -d, -f6 [Pipeline] lock 21:02:11 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-152-stack-cost] 21:02:11 Resource [jenkins-edgexfoundry-device-onvif-camera-main-152-stack-cost] did not exist. Created. 21:02:11 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-152-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:02:11 + echo total: 0.2199999988079071 [Pipeline] stash 21:02:11 Stashed 1 file(s) [Pipeline] } 21:02:11 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-152-stack-cost] [Pipeline] // lock [Pipeline] } 21:02:11 $ docker stop --time=1 95daa733300b81e39af6bc7696cb3d35edce18685bc6986b03cf36593b11ff9c 21:02:12 $ docker rm -f --volumes 95daa733300b81e39af6bc7696cb3d35edce18685bc6986b03cf36593b11ff9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:02:15 provisioning config files... 21:02:15 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/152@tmp/config13042403467679562545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:02:16 ---> docker-login.sh 21:02:16 nexus3.edgexfoundry.org:10001 21:02:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:16 Configure a credential helper to remove this warning. See 21:02:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:16 21:02:16 Login Succeeded 21:02:16 nexus3.edgexfoundry.org:10002 21:02:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:17 Configure a credential helper to remove this warning. See 21:02:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:17 21:02:17 Login Succeeded 21:02:17 nexus3.edgexfoundry.org:10003 21:02:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:17 Configure a credential helper to remove this warning. See 21:02:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:17 21:02:17 Login Succeeded 21:02:17 nexus3.edgexfoundry.org:10004 21:02:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:17 Configure a credential helper to remove this warning. See 21:02:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:17 21:02:17 Login Succeeded 21:02:17 docker.io 21:02:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:18 Configure a credential helper to remove this warning. See 21:02:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:18 21:02:18 Login Succeeded 21:02:18 ---> docker-login.sh ends [Pipeline] } 21:02:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:02:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:02:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:02:18 ========================================================= 21:02:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:02:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:19 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:02:19 Sending build context to Docker daemon 14.36MB 21:02:19 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 21:02:19 Step 2/13 : FROM ${BASE} AS builder 21:02:19 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:02:19 c41833b44d91: Pulling fs layer 21:02:19 ed15518f5707: Pulling fs layer 21:02:19 feae8fd75edb: Pulling fs layer 21:02:19 242c74f7c9fa: Pulling fs layer 21:02:19 3cdef696dda3: Pulling fs layer 21:02:19 2ced38df9373: Pulling fs layer 21:02:19 58f1dce35555: Pulling fs layer 21:02:19 3cdef696dda3: Waiting 21:02:19 2ced38df9373: Waiting 21:02:19 242c74f7c9fa: Waiting 21:02:19 58f1dce35555: Waiting 21:02:19 ed15518f5707: Verifying Checksum 21:02:19 ed15518f5707: Download complete 21:02:19 242c74f7c9fa: Verifying Checksum 21:02:19 242c74f7c9fa: Download complete 21:02:19 3cdef696dda3: Verifying Checksum 21:02:19 3cdef696dda3: Download complete 21:02:19 c41833b44d91: Verifying Checksum 21:02:20 c41833b44d91: Pull complete 21:02:21 58f1dce35555: Verifying Checksum 21:02:21 58f1dce35555: Download complete 21:02:21 ed15518f5707: Pull complete 21:02:22 feae8fd75edb: Download complete 21:02:22 2ced38df9373: Verifying Checksum 21:02:22 2ced38df9373: Download complete 21:02:32 feae8fd75edb: Pull complete 21:02:32 242c74f7c9fa: Pull complete 21:02:32 3cdef696dda3: Pull complete 21:02:39 2ced38df9373: Pull complete 21:02:42 58f1dce35555: Pull complete 21:02:42 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:02:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:02:42 ---> fadd8f120f05 21:02:42 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:02:44 ---> Running in 5fda7c0be9df 21:02:44 Removing intermediate container 5fda7c0be9df 21:02:44 ---> 05fd1e26c508 21:02:44 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:02:44 ---> Running in b0551a5f633e 21:02:44 Removing intermediate container b0551a5f633e 21:02:44 ---> 6e7b7e1a5bdf 21:02:44 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 21:02:44 ---> Running in d218c1967f89 21:02:44 Removing intermediate container d218c1967f89 21:02:44 ---> b31bde3f1e90 21:02:44 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:02:44 ---> Running in 45a980d49d66 21:02:45 Removing intermediate container 45a980d49d66 21:02:45 ---> 184ec001057d 21:02:45 Step 7/13 : LABEL Name=edgex-device-onvif-camera 21:02:45 ---> Running in 0c531766d015 21:02:45 Removing intermediate container 0c531766d015 21:02:45 ---> ff1c48dbc560 21:02:45 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:02:45 ---> Running in 4bea3cdd6c16 21:02:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:02:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:02:48 OK: 263 MiB in 53 packages 21:02:49 Removing intermediate container 4bea3cdd6c16 21:02:49 ---> ee53a7d15423 21:02:49 Step 9/13 : WORKDIR /device-onvif-camera 21:02:49 ---> Running in d240c4564a90 21:02:49 Removing intermediate container d240c4564a90 21:02:49 ---> 9544c4914ae6 21:02:49 Step 10/13 : COPY go.mod vendor* ./ 21:02:50 ---> 2e8b5c639e33 21:02:50 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:02:50 ---> Running in c7f62b8cb3c0 21:03:58 Removing intermediate container c7f62b8cb3c0 21:03:58 ---> 3fa50112eff1 21:03:58 Step 12/13 : COPY . . 21:03:58 ---> 57c405eac3c1 21:03:58 Step 13/13 : RUN ${MAKE} 21:03:58 ---> Running in 9c0934fac1f9 21:03:58 noop 21:03:58 Removing intermediate container 9c0934fac1f9 21:03:58 ---> a96f73cfa580 21:03:58 Successfully built a96f73cfa580 21:03:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:58 + docker inspect -f . ci-base-image-arm64 21:03:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:58 prd-ubuntu20.04-docker-arm64-4c-16g-16042 does not seem to be running inside a container 21:03:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/152 -v /w/workspace/device-onvif-camera/152:/w/workspace/device-onvif-camera/152:rw,z -v /w/workspace/device-onvif-camera/152@tmp:/w/workspace/device-onvif-camera/152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:03:59 $ docker top df2b895a8b52d4f227c006463bfc1c313c6c23f55379460093d565575d0d7062 -eo pid,comm [Pipeline] { [Pipeline] sh 21:04:00 + go version 21:04:00 go version go1.20.2 linux/arm64 [Pipeline] } 21:04:00 $ docker stop --time=1 df2b895a8b52d4f227c006463bfc1c313c6c23f55379460093d565575d0d7062 21:04:02 $ docker rm -f --volumes df2b895a8b52d4f227c006463bfc1c313c6c23f55379460093d565575d0d7062 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:02 + docker inspect -f . ci-base-image-arm64 21:04:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:03 prd-ubuntu20.04-docker-arm64-4c-16g-16042 does not seem to be running inside a container 21:04:03 $ 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/152 -v /w/workspace/device-onvif-camera/152:/w/workspace/device-onvif-camera/152:rw,z -v /w/workspace/device-onvif-camera/152@tmp:/w/workspace/device-onvif-camera/152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:04:06 $ docker top 3abba97eb20633ebd3a7205717e8877ec677cd17de436425252a2d648220d83d -eo pid,comm [Pipeline] { [Pipeline] sh 21:04:07 + git config --global --add safe.directory /w/workspace/device-onvif-camera/152 [Pipeline] fileExists [Pipeline] sh 21:04:07 + make test 21:04:07 go test ./... -coverprofile=coverage.out ./... 21:04:39 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:06:46 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:06:46 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:06:49 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.260s coverage: 31.4% of statements 21:07:15 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.878s coverage: 86.5% of statements 21:07:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:07:15 go vet ./... 21:07:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:07:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:07:42 ./bin/test-attribution-txt.sh [Pipeline] echo 21:07:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:07:42 $ docker stop --time=1 3abba97eb20633ebd3a7205717e8877ec677cd17de436425252a2d648220d83d 21:07:44 $ docker rm -f --volumes 3abba97eb20633ebd3a7205717e8877ec677cd17de436425252a2d648220d83d [Pipeline] // withDockerContainer [Pipeline] sh 21:07:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:07:45 Warning: overwriting stash ‘coverage-report’ 21:07:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:07:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:07:46 + ls -al . 21:07:46 total 228 21:07:46 drwxrwxr-x 9 jenkins jenkins 4096 May 18 21:04 . 21:07:46 drwxrwxr-x 4 jenkins jenkins 4096 May 18 21:01 .. 21:07:46 drwxrwxr-x 8 jenkins jenkins 4096 May 18 21:01 .git 21:07:46 drwxrwxr-x 3 jenkins jenkins 4096 May 18 21:01 .github 21:07:46 -rw-rw-r-- 1 jenkins jenkins 496 May 18 21:01 .gitignore 21:07:46 -rw-rw-r-- 1 jenkins jenkins 42 May 18 21:01 .golangci.yml 21:07:46 -rw-rw-r-- 1 jenkins jenkins 10087 May 18 21:01 Attribution.txt 21:07:46 -rw-rw-r-- 1 jenkins jenkins 6312 May 18 21:01 CHANGELOG.md 21:07:46 -rw-rw-r-- 1 jenkins jenkins 1574 May 18 21:01 Dockerfile 21:07:46 -rw-rw-r-- 1 jenkins jenkins 677 May 18 21:01 GOVERNANCE.md 21:07:46 -rw-rw-r-- 1 jenkins jenkins 739 May 18 21:01 Jenkinsfile 21:07:46 -rw-rw-r-- 1 jenkins jenkins 11348 May 18 21:01 LICENSE 21:07:46 -rw-rw-r-- 1 jenkins jenkins 2751 May 18 21:01 Makefile 21:07:46 -rw-rw-r-- 1 jenkins jenkins 625 May 18 21:01 OWNERS.md 21:07:46 -rw-rw-r-- 1 jenkins jenkins 2690 May 18 21:01 README.md 21:07:46 -rw-rw-r-- 1 jenkins jenkins 12 May 18 20:59 VERSION 21:07:46 drwxrwxr-x 2 jenkins jenkins 4096 May 18 21:01 bin 21:07:46 drwxrwxr-x 3 jenkins jenkins 4096 May 18 21:01 cmd 21:07:46 -rw-r--r-- 1 jenkins jenkins 78459 May 18 21:07 coverage.out 21:07:46 drwxrwxr-x 4 jenkins jenkins 4096 May 18 21:01 doc 21:07:46 -rw-rw-r-- 1 jenkins jenkins 3642 May 18 21:01 go.mod 21:07:46 -rw-rw-r-- 1 jenkins jenkins 33491 May 18 21:01 go.sum 21:07:46 drwxrwxr-x 4 jenkins jenkins 4096 May 18 21:01 internal 21:07:46 drwxrwxr-x 4 jenkins jenkins 4096 May 18 21:01 snap 21:07:46 -rw-rw-r-- 1 jenkins jenkins 236 May 18 21:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:47 + 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=4c3943abb5596eefa9af9b661fb4a90371d27683 --label arch=arm64 --label version=3.0.0-dev.55 . 21:07:47 Sending build context to Docker daemon 14.44MB 21:07:47 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 21:07:47 Step 2/26 : FROM ${BASE} AS builder 21:07:47 ---> a96f73cfa580 21:07:47 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:07:47 ---> Running in 1a61cae2e44a 21:07:48 Removing intermediate container 1a61cae2e44a 21:07:48 ---> ca209eff7176 21:07:48 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:07:48 ---> Running in 0aadd3d03e63 21:07:48 Removing intermediate container 0aadd3d03e63 21:07:48 ---> 667403e9a78f 21:07:48 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 21:07:48 ---> Running in 51434443e3b0 21:07:48 Removing intermediate container 51434443e3b0 21:07:48 ---> ca5b73007e5a 21:07:48 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:07:48 ---> Running in 320180244bf3 21:07:49 Removing intermediate container 320180244bf3 21:07:49 ---> 546e8285c131 21:07:49 Step 7/26 : LABEL Name=edgex-device-onvif-camera 21:07:49 ---> Running in 9d6be37e8757 21:07:49 Removing intermediate container 9d6be37e8757 21:07:49 ---> 458833637b2d 21:07:49 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:07:49 ---> Running in 91691cfec4c4 21:07:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:07:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:07:52 OK: 263 MiB in 53 packages 21:07:53 Removing intermediate container 91691cfec4c4 21:07:53 ---> d2b96c476d3b 21:07:53 Step 9/26 : WORKDIR /device-onvif-camera 21:07:53 ---> Running in d859f2ce6e35 21:07:54 Removing intermediate container d859f2ce6e35 21:07:54 ---> d7b3ae789174 21:07:54 Step 10/26 : COPY go.mod vendor* ./ 21:07:54 ---> acf2e791cb19 21:07:54 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:54 ---> Running in 1d747431a83e 21:07:57 Removing intermediate container 1d747431a83e 21:07:57 ---> 70f34119dca1 21:07:57 Step 12/26 : COPY . . 21:07:58 ---> 66186d9eb6c6 21:07:58 Step 13/26 : RUN ${MAKE} 21:07:58 ---> Running in 43615e852df9 21:07:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.55" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 21:10:21 Removing intermediate container 43615e852df9 21:10:21 ---> ab6f1ef5708f 21:10:21 Step 14/26 : FROM alpine:3.17 21:10:21 3.17: Pulling from library/alpine 21:10:21 c41833b44d91: Already exists 21:10:21 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:10:21 Status: Downloaded newer image for alpine:3.17 21:10:21 ---> 51e60588ff2c 21:10:21 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:10:21 ---> Running in 977a2a55c0ae 21:10:21 Removing intermediate container 977a2a55c0ae 21:10:21 ---> e6840a0da9b8 21:10:21 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:10:21 ---> Running in ed759147f132 21:10:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:10:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:10:21 (1/1) Installing dumb-init (1.2.5-r2) 21:10:21 Executing busybox-1.35.0-r29.trigger 21:10:21 OK: 8 MiB in 16 packages 21:10:21 Removing intermediate container ed759147f132 21:10:21 ---> a5bf1e84c774 21:10:21 Step 17/26 : WORKDIR / 21:10:21 ---> Running in ed7ad86e4844 21:10:21 Removing intermediate container ed7ad86e4844 21:10:21 ---> 182499890e50 21:10:21 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 21:10:21 ---> 307069b7c805 21:10:21 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 21:10:21 ---> a101301b525f 21:10:21 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 21:10:21 ---> 2b04b7ac45d9 21:10:21 Step 21/26 : EXPOSE 59984 21:10:21 ---> Running in d72477b89415 21:10:21 Removing intermediate container d72477b89415 21:10:21 ---> 85094ffb9603 21:10:21 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 21:10:21 ---> Running in 96614f6f4447 21:10:21 Removing intermediate container 96614f6f4447 21:10:21 ---> d4dc577250ae 21:10:21 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:10:21 ---> Running in 62f3f6dbcf4f 21:10:21 Removing intermediate container 62f3f6dbcf4f 21:10:21 ---> 090bf534a8bb 21:10:21 Step 24/26 : LABEL arch=arm64 21:10:21 ---> Running in 746ab433d479 21:10:21 Removing intermediate container 746ab433d479 21:10:21 ---> 0400ff719989 21:10:21 Step 25/26 : LABEL git_sha=4c3943abb5596eefa9af9b661fb4a90371d27683 21:10:21 ---> Running in 2099488776d1 21:10:21 Removing intermediate container 2099488776d1 21:10:21 ---> ac4fc79dd370 21:10:21 Step 26/26 : LABEL version=3.0.0-dev.55 21:10:21 ---> Running in dd2a5349600d 21:10:21 Removing intermediate container dd2a5349600d 21:10:21 ---> ebc741ee4134 21:10:21 [Warning] One or more build-args [ARCH] were not consumed 21:10:21 Successfully built ebc741ee4134 21:10:21 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 21:10:22 provisioning config files... 21:10:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/152@tmp/config15623016650995365435tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:22 ---> docker-login.sh 21:10:22 nexus3.edgexfoundry.org:10001 21:10:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:22 Configure a credential helper to remove this warning. See 21:10:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:22 21:10:22 Login Succeeded 21:10:22 nexus3.edgexfoundry.org:10002 21:10:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:22 Configure a credential helper to remove this warning. See 21:10:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:22 21:10:22 Login Succeeded 21:10:22 nexus3.edgexfoundry.org:10003 21:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:23 Configure a credential helper to remove this warning. See 21:10:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:23 21:10:23 Login Succeeded 21:10:23 nexus3.edgexfoundry.org:10004 21:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:23 Configure a credential helper to remove this warning. See 21:10:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:23 21:10:23 Login Succeeded 21:10:23 docker.io 21:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:24 Configure a credential helper to remove this warning. See 21:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:24 21:10:24 Login Succeeded 21:10:24 ---> docker-login.sh ends [Pipeline] } 21:10:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:10:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:24 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 21:10:24 4c3943abb5596eefa9af9b661fb4a90371d27683 21:10:24 latest 21:10:24 3.0.0-dev.55 21:10:24 4c3943abb5596eefa9af9b661fb4a90371d27683-3.0.0-dev.55 21:10:24 main 21:10:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:24 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4c3943abb5596eefa9af9b661fb4a90371d27683 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:25 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4c3943abb5596eefa9af9b661fb4a90371d27683 21:10:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 21:10:25 f123b4f43e8c: Preparing 21:10:25 8a418d1fa6d1: Preparing 21:10:25 cc71392068a2: Preparing 21:10:25 64399ee4a993: Preparing 21:10:25 26cbea5cba74: Preparing 21:10:25 26cbea5cba74: Layer already exists 21:10:25 f123b4f43e8c: Pushed 21:10:25 64399ee4a993: Pushed 21:10:25 8a418d1fa6d1: Pushed 21:10:32 cc71392068a2: Pushed 21:10:32 4c3943abb5596eefa9af9b661fb4a90371d27683: digest: sha256:6e41ac9f6471aa31cf317397073ea374c8f0145e0eb649919b72b6e2e51feabc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:32 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:32 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 21:10:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 21:10:32 f123b4f43e8c: Preparing 21:10:32 8a418d1fa6d1: Preparing 21:10:32 cc71392068a2: Preparing 21:10:32 64399ee4a993: Preparing 21:10:32 26cbea5cba74: Preparing 21:10:32 26cbea5cba74: Layer already exists 21:10:32 8a418d1fa6d1: Layer already exists 21:10:32 f123b4f43e8c: Layer already exists 21:10:32 64399ee4a993: Layer already exists 21:10:32 cc71392068a2: Layer already exists 21:10:32 latest: digest: sha256:6e41ac9f6471aa31cf317397073ea374c8f0145e0eb649919b72b6e2e51feabc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:33 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.55 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:33 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.55 21:10:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 21:10:33 f123b4f43e8c: Preparing 21:10:33 8a418d1fa6d1: Preparing 21:10:33 cc71392068a2: Preparing 21:10:33 64399ee4a993: Preparing 21:10:33 26cbea5cba74: Preparing 21:10:33 64399ee4a993: Layer already exists 21:10:33 26cbea5cba74: Layer already exists 21:10:33 8a418d1fa6d1: Layer already exists 21:10:33 f123b4f43e8c: Layer already exists 21:10:33 cc71392068a2: Layer already exists 21:10:33 3.0.0-dev.55: digest: sha256:6e41ac9f6471aa31cf317397073ea374c8f0145e0eb649919b72b6e2e51feabc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:34 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4c3943abb5596eefa9af9b661fb4a90371d27683-3.0.0-dev.55 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:34 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4c3943abb5596eefa9af9b661fb4a90371d27683-3.0.0-dev.55 21:10:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 21:10:34 f123b4f43e8c: Preparing 21:10:34 8a418d1fa6d1: Preparing 21:10:34 cc71392068a2: Preparing 21:10:34 64399ee4a993: Preparing 21:10:34 26cbea5cba74: Preparing 21:10:34 cc71392068a2: Layer already exists 21:10:34 8a418d1fa6d1: Layer already exists 21:10:34 f123b4f43e8c: Layer already exists 21:10:34 26cbea5cba74: Layer already exists 21:10:34 64399ee4a993: Layer already exists 21:10:34 4c3943abb5596eefa9af9b661fb4a90371d27683-3.0.0-dev.55: digest: sha256:6e41ac9f6471aa31cf317397073ea374c8f0145e0eb649919b72b6e2e51feabc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:34 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:35 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 21:10:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 21:10:35 f123b4f43e8c: Preparing 21:10:35 8a418d1fa6d1: Preparing 21:10:35 cc71392068a2: Preparing 21:10:35 64399ee4a993: Preparing 21:10:35 26cbea5cba74: Preparing 21:10:35 26cbea5cba74: Layer already exists 21:10:35 f123b4f43e8c: Layer already exists 21:10:35 64399ee4a993: Layer already exists 21:10:35 8a418d1fa6d1: Layer already exists 21:10:35 cc71392068a2: Layer already exists 21:10:35 main: digest: sha256:6e41ac9f6471aa31cf317397073ea374c8f0145e0eb649919b72b6e2e51feabc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:10:35 ===================================================== [Pipeline] echo 21:10:35 taggedImages: 21:10:35 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4c3943abb5596eefa9af9b661fb4a90371d27683 21:10:35 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 21:10:35 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.55 21:10:35 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4c3943abb5596eefa9af9b661fb4a90371d27683-3.0.0-dev.55 21:10:35 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:10:35 21:10:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:10:35 arm64: Pulling from edgex-lftools-log-publisher 21:10:35 8998bd30e6a1: Pulling fs layer 21:10:35 04944245beec: Pulling fs layer 21:10:35 699f458cf7ca: Pulling fs layer 21:10:35 765212b225bb: Pulling fs layer 21:10:35 f23df028b6ca: Pulling fs layer 21:10:35 d65c8cfc05b1: Pulling fs layer 21:10:35 2437ff75d9bd: Pulling fs layer 21:10:35 f23df028b6ca: Waiting 21:10:35 d65c8cfc05b1: Waiting 21:10:35 2437ff75d9bd: Waiting 21:10:35 765212b225bb: Waiting 21:10:36 04944245beec: Verifying Checksum 21:10:36 04944245beec: Download complete 21:10:36 765212b225bb: Verifying Checksum 21:10:36 765212b225bb: Download complete 21:10:36 f23df028b6ca: Verifying Checksum 21:10:36 f23df028b6ca: Download complete 21:10:36 d65c8cfc05b1: Verifying Checksum 21:10:36 d65c8cfc05b1: Download complete 21:10:36 699f458cf7ca: Verifying Checksum 21:10:36 699f458cf7ca: Download complete 21:10:36 8998bd30e6a1: Verifying Checksum 21:10:36 8998bd30e6a1: Download complete 21:10:38 2437ff75d9bd: Verifying Checksum 21:10:38 2437ff75d9bd: Download complete 21:10:40 8998bd30e6a1: Pull complete 21:10:40 04944245beec: Pull complete 21:10:42 699f458cf7ca: Pull complete 21:10:42 765212b225bb: Pull complete 21:10:43 f23df028b6ca: Pull complete 21:10:43 d65c8cfc05b1: Pull complete 21:10:55 2437ff75d9bd: Pull complete 21:10:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:10:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:10:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:55 prd-ubuntu20.04-docker-arm64-4c-16g-16042 does not seem to be running inside a container 21:10:55 $ 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/152 -v /w/workspace/device-onvif-camera/152:/w/workspace/device-onvif-camera/152:rw,z -v /w/workspace/device-onvif-camera/152@tmp:/w/workspace/device-onvif-camera/152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:10:58 $ docker top 0f894a48d0a5c26aaed49a6700839b46bf1e5daf30071be6f744582bba8f52fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:58 ---> job-cost.sh 21:10:58 lf-activate-venv: SKIPPING 21:10:58 INFO: No Stack... 21:10:59 INFO: Retrieving Pricing Info for: v3-standard-4 21:11:00 INFO: Archiving Costs [Pipeline] sh 21:11:00 + cat /w/workspace/device-onvif-camera/152/archives/cost.csv 21:11:00 + cut -d, -f6 [Pipeline] lock 21:11:00 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-152-stack-cost] 21:11:00 Resource [jenkins-edgexfoundry-device-onvif-camera-main-152-stack-cost] did not exist. Created. 21:11:00 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-152-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:11:00 /w/workspace/device-onvif-camera/152@tmp/durable-da3f76f6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:11:01 + echo total: 0.10999999940395355 [Pipeline] stash 21:11:01 Warning: overwriting stash ‘stack-cost’ 21:11:01 Stashed 1 file(s) [Pipeline] } 21:11:01 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-152-stack-cost] [Pipeline] // lock [Pipeline] } 21:11:01 $ docker stop --time=1 0f894a48d0a5c26aaed49a6700839b46bf1e5daf30071be6f744582bba8f52fc 21:11:02 $ docker rm -f --volumes 0f894a48d0a5c26aaed49a6700839b46bf1e5daf30071be6f744582bba8f52fc [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 21:11:03 provisioning config files... 21:11:03 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17885011969822429453tmp [Pipeline] { [Pipeline] sh 21:11:03 + set +x 21:11:03 + curl -s https://codecov.io/bash 21:11:03 + bash -s -- 21:11:03 21:11:03 _____ _ 21:11:03 / ____| | | 21:11:03 | | ___ __| | ___ ___ _____ __ 21:11:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:11:03 | |___| (_) | (_| | __/ (_| (_) \ V / 21:11:03 \_____\___/ \__,_|\___|\___\___/ \_/ 21:11:03 Bash-1.0.6 21:11:03 21:11:03 21:11:03 ==> git version 2.25.1 found 21:11:03 ==> 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 21:11:03 Release-Date: 2020-01-08 21:11:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:11:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:11:03 ==> Jenkins CI detected. 21:11:03 current dir:  /w/workspace/foundry_device-onvif-camera_main 21:11:03 project root: . 21:11:03 --> token set from env 21:11:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:11:03 ==> Running gcov in . (disable via -X gcov) 21:11:03 ==> Python coveragepy not found 21:11:03 ==> Searching for coverage reports in: 21:11:03 + . 21:11:03 -> Found 1 reports 21:11:03 ==> Detecting git/mercurial file structure 21:11:03 ==> Reading reports 21:11:03 + ./coverage.out bytes=78459 21:11:03 ==> Appending adjustments 21:11:03 https://docs.codecov.io/docs/fixing-reports 21:11:03 + Found adjustments 21:11:03 ==> Gzipping contents 21:11:03 12K /tmp/codecov.8tKDmC.gz 21:11:03 ==> Uploading reports 21:11:03 url: https://codecov.io 21:11:03 query: branch=main&commit=4c3943abb5596eefa9af9b661fb4a90371d27683&build=152&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F152%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 21:11:03 -> Pinging Codecov 21:11:03 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=4c3943abb5596eefa9af9b661fb4a90371d27683&build=152&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F152%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 21:11:03 -> Uploading to 21:11:03 https://storage.googleapis.com/codecov/v4/raw/2023-05-18/F29A59C45E3A92E06B3E522C9905F8EF/4c3943abb5596eefa9af9b661fb4a90371d27683/25aa353f-aeb0-4c83-bd39-7eca20903717.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230518%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230518T211103Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a7bc8f10957a3b26de5cf531afe0afd09a42f36d228a3603f7bbef2d334694c2 21:11:03 % Total % Received % Xferd Average Speed Time Time Time Current 21:11:03 Dload Upload Total Spent Left Speed 21:11:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 55272 --:--:-- --:--:-- --:--:-- 55272 21:11:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/4c3943abb5596eefa9af9b661fb4a90371d27683 [Pipeline] } 21:11:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:11:04 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:11:04 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:11:04 21:11:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:11:04 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:11:04 df9b9388f04a: Pulling fs layer 21:11:04 52dc419b0ee2: Pulling fs layer 21:11:04 25bc292e5bac: Pulling fs layer 21:11:04 114826534d7a: Pulling fs layer 21:11:04 4657fd5d0bcf: Pulling fs layer 21:11:04 6ad1cebc031e: Pulling fs layer 21:11:04 8a3aa393b2d8: Pulling fs layer 21:11:04 4657fd5d0bcf: Waiting 21:11:04 8a3aa393b2d8: Waiting 21:11:04 6ad1cebc031e: Waiting 21:11:04 114826534d7a: Waiting 21:11:04 25bc292e5bac: Verifying Checksum 21:11:04 25bc292e5bac: Download complete 21:11:04 52dc419b0ee2: Verifying Checksum 21:11:04 52dc419b0ee2: Download complete 21:11:04 4657fd5d0bcf: Verifying Checksum 21:11:04 4657fd5d0bcf: Download complete 21:11:05 df9b9388f04a: Verifying Checksum 21:11:05 df9b9388f04a: Download complete 21:11:05 6ad1cebc031e: Verifying Checksum 21:11:05 6ad1cebc031e: Download complete 21:11:05 df9b9388f04a: Pull complete 21:11:05 52dc419b0ee2: Pull complete 21:11:05 25bc292e5bac: Pull complete 21:11:05 114826534d7a: Verifying Checksum 21:11:05 114826534d7a: Download complete 21:11:06 8a3aa393b2d8: Verifying Checksum 21:11:06 8a3aa393b2d8: Download complete 21:11:09 114826534d7a: Pull complete 21:11:09 4657fd5d0bcf: Pull complete 21:11:09 6ad1cebc031e: Pull complete 21:11:11 8a3aa393b2d8: Pull complete 21:11:11 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:11:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:11:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:11 prd-ubuntu20.04-docker-8c-8g-16041 does not seem to be running inside a container 21:11:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:11:16 $ docker top 2d08b6318b8c4d79bb006161b8e4dc4c0b8526f0ad9acf265a63454684b7ff55 -eo pid,comm [Pipeline] { [Pipeline] echo 21:11:16 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 21:11:16 + set -o pipefail 21:11:16 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 21:11:22 21:11:22 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 21:11:22 21:11:22 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/6682a063-6fb3-4bfa-b511-796e77d9f53d 21:11:22 21:11:22 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 21:11:22 21:11:22 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:11:22 21:11:22 21:11:22 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:11:22 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:11:22 More details here: https://snyk.co/ue1NS [Pipeline] } 21:11:22 $ docker stop --time=1 2d08b6318b8c4d79bb006161b8e4dc4c0b8526f0ad9acf265a63454684b7ff55 21:11:25 $ docker rm -f --volumes 2d08b6318b8c4d79bb006161b8e4dc4c0b8526f0ad9acf265a63454684b7ff55 [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 21:11:26 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:11:26 provisioning config files... 21:11:26 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15980662836197094253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:26 --> edgex-publish-swagger.sh 21:11:26 === Publish doc/openapi/v3 API === 21:11:26 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 21:11:26 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 21:11:26 % Total % Received % Xferd Average Speed Time Time Time Current 21:11:26 Dload Upload Total Spent Left Speed 21:11:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 0 0 100 485k 0 579k --:--:-- --:--:-- --:--:-- 579k 100 485k 0 0 100 485k 0 579k --:--:-- --:--:-- --:--:-- 578k 21:11:27 21:11:27 [Pipeline] } 21:11:27 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 21:11:27 + git log --format=format:%s -1 4c3943abb5596eefa9af9b661fb4a90371d27683 [Pipeline] sh 21:11:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:11:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:11:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:28 prd-ubuntu20.04-docker-8c-8g-16041 does not seem to be running inside a container 21:11:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:11:28 $ docker top c4c5e311aac8c241e71635b3ee4a8b47308420df269b49cccf5688aee464264a -eo pid,comm 21:11:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:11:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:11:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:11:29 [ssh-agent] Looking for ssh-agent implementation... 21:11:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:11:29 $ docker exec c4c5e311aac8c241e71635b3ee4a8b47308420df269b49cccf5688aee464264a ssh-agent 21:11:29 SSH_AUTH_SOCK=/tmp/ssh-vgdD9FDBk5k0/agent.32 21:11:29 SSH_AGENT_PID=38 21:11:29 Running ssh-add (command line suppressed) 21:11:29 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8220425016058080993.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8220425016058080993.key) 21:11:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:11:29 + git semver tag 21:11:29 2023-05-18 21:11:29,802 [run_tag] DEBUG tag force:False 21:11:29 2023-05-18 21:11:29,802 [check_head_tag] DEBUG check head tag 21:11:29 2023-05-18 21:11:29,804 [execute] INFO git cat-file --batch-check 21:11:29 2023-05-18 21:11:29,804 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 21:11:29 2023-05-18 21:11:29,807 [execute] INFO git cat-file --batch 21:11:29 2023-05-18 21:11:29,808 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 21:11:29 2023-05-18 21:11:29,843 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:11:29 2023-05-18 21:11:29,843 [execute] INFO git tag -a v3.0.0-dev.55 -m v3.0.0-dev.55 21:11:29 2023-05-18 21:11:29,843 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.55', '-m', 'v3.0.0-dev.55'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 21:11:29 2023-05-18 21:11:29,847 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:11:29 3.0.0-dev.55 [Pipeline] } 21:11:29 $ docker exec --env ******** --env ******** c4c5e311aac8c241e71635b3ee4a8b47308420df269b49cccf5688aee464264a ssh-agent -k 21:11:29 unset SSH_AUTH_SOCK; 21:11:29 unset SSH_AGENT_PID; 21:11:29 echo Agent pid 38 killed; 21:11:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:11:30 + git semver [Pipeline] } 21:11:30 $ docker stop --time=1 c4c5e311aac8c241e71635b3ee4a8b47308420df269b49cccf5688aee464264a 21:11:31 $ docker rm -f --volumes c4c5e311aac8c241e71635b3ee4a8b47308420df269b49cccf5688aee464264a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:11:32 21:11:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:11:32 0.23.1-centos7: Pulling from edgex-lftools 21:11:32 ab5ef0e58194: Pulling fs layer 21:11:32 9712f1f96733: Pulling fs layer 21:11:32 63f879dbbcfc: Pulling fs layer 21:11:32 0d9ebad4ef96: Pulling fs layer 21:11:32 e9a5061849ea: Pulling fs layer 21:11:32 d747dcd14b5f: Pulling fs layer 21:11:32 2de7ff778b66: Pulling fs layer 21:11:32 e9a5061849ea: Waiting 21:11:32 d747dcd14b5f: Waiting 21:11:32 0d9ebad4ef96: Waiting 21:11:32 2de7ff778b66: Waiting 21:11:32 9712f1f96733: Verifying Checksum 21:11:32 9712f1f96733: Download complete 21:11:32 63f879dbbcfc: Verifying Checksum 21:11:32 63f879dbbcfc: Download complete 21:11:33 e9a5061849ea: Verifying Checksum 21:11:33 e9a5061849ea: Download complete 21:11:33 ab5ef0e58194: Verifying Checksum 21:11:33 ab5ef0e58194: Download complete 21:11:33 0d9ebad4ef96: Verifying Checksum 21:11:33 0d9ebad4ef96: Download complete 21:11:33 d747dcd14b5f: Download complete 21:11:33 2de7ff778b66: Verifying Checksum 21:11:33 2de7ff778b66: Download complete 21:11:35 ab5ef0e58194: Pull complete 21:11:35 9712f1f96733: Pull complete 21:11:36 63f879dbbcfc: Pull complete 21:11:39 0d9ebad4ef96: Pull complete 21:11:39 e9a5061849ea: Pull complete 21:11:39 d747dcd14b5f: Pull complete 21:11:40 2de7ff778b66: Pull complete 21:11:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:11:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:11:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:40 prd-ubuntu20.04-docker-8c-8g-16041 does not seem to be running inside a container 21:11:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:11:44 $ docker top d344756fc7730db9d083de94e64d818e165ec7b7dee17bc3cec90a2000102d22 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:11:45 provisioning config files... 21:11:45 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18290488749997144747tmp 21:11:45 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16072837832090747195tmp 21:11:45 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11101401933289835155tmp [Pipeline] { [Pipeline] echo 21:11:45 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:11:45 ---> sigul-configuration.sh 21:11:45 gpg: directory `/root/.gnupg' created 21:11:45 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:11:45 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:11:45 gpg: keyring `/root/.gnupg/secring.gpg' created 21:11:45 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:11:45 gpg: CAST5 encrypted data 21:11:45 gpg: encrypted with 1 passphrase 21:11:45 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:11:45 + mkdir /home/jenkins 21:11:45 + mkdir /home/jenkins/sigul [Pipeline] sh 21:11:45 + 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 21:11:45 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:11:46 ---> sigul-install.sh 21:11:46 Sigul already installed; skipping installation. [Pipeline] sh 21:11:46 + git tag --list 21:11:46 v0.0.0 21:11:46 v0.0.1-dev.1 21:11:46 v0.0.1-dev.10 21:11:46 v0.0.1-dev.11 21:11:46 v0.0.1-dev.12 21:11:46 v0.0.1-dev.13 21:11:46 v0.0.1-dev.14 21:11:46 v0.0.1-dev.15 21:11:46 v0.0.1-dev.16 21:11:46 v0.0.1-dev.17 21:11:46 v0.0.1-dev.18 21:11:46 v0.0.1-dev.19 21:11:46 v0.0.1-dev.2 21:11:46 v0.0.1-dev.20 21:11:46 v0.0.1-dev.21 21:11:46 v0.0.1-dev.22 21:11:46 v0.0.1-dev.23 21:11:46 v0.0.1-dev.24 21:11:46 v0.0.1-dev.25 21:11:46 v0.0.1-dev.26 21:11:46 v0.0.1-dev.27 21:11:46 v0.0.1-dev.28 21:11:46 v0.0.1-dev.3 21:11:46 v0.0.1-dev.4 21:11:46 v0.0.1-dev.5 21:11:46 v0.0.1-dev.6 21:11:46 v0.0.1-dev.7 21:11:46 v0.0.1-dev.8 21:11:46 v0.0.1-dev.9 21:11:46 v2.2.0 21:11:46 v2.2.0-dev.29 21:11:46 v2.2.0-dev.30 21:11:46 v2.2.0-dev.31 21:11:46 v2.2.0-dev.32 21:11:46 v2.2.0-dev.33 21:11:46 v2.2.0-dev.34 21:11:46 v2.2.0-dev.35 21:11:46 v2.3.0 21:11:46 v2.3.0-dev.1 21:11:46 v2.3.0-dev.10 21:11:46 v2.3.0-dev.11 21:11:46 v2.3.0-dev.12 21:11:46 v2.3.0-dev.13 21:11:46 v2.3.0-dev.14 21:11:46 v2.3.0-dev.15 21:11:46 v2.3.0-dev.16 21:11:46 v2.3.0-dev.17 21:11:46 v2.3.0-dev.18 21:11:46 v2.3.0-dev.19 21:11:46 v2.3.0-dev.2 21:11:46 v2.3.0-dev.20 21:11:46 v2.3.0-dev.21 21:11:46 v2.3.0-dev.22 21:11:46 v2.3.0-dev.23 21:11:46 v2.3.0-dev.24 21:11:46 v2.3.0-dev.25 21:11:46 v2.3.0-dev.26 21:11:46 v2.3.0-dev.27 21:11:46 v2.3.0-dev.28 21:11:46 v2.3.0-dev.29 21:11:46 v2.3.0-dev.3 21:11:46 v2.3.0-dev.30 21:11:46 v2.3.0-dev.31 21:11:46 v2.3.0-dev.32 21:11:46 v2.3.0-dev.33 21:11:46 v2.3.0-dev.34 21:11:46 v2.3.0-dev.35 21:11:46 v2.3.0-dev.36 21:11:46 v2.3.0-dev.37 21:11:46 v2.3.0-dev.38 21:11:46 v2.3.0-dev.39 21:11:46 v2.3.0-dev.4 21:11:46 v2.3.0-dev.40 21:11:46 v2.3.0-dev.41 21:11:46 v2.3.0-dev.42 21:11:46 v2.3.0-dev.43 21:11:46 v2.3.0-dev.44 21:11:46 v2.3.0-dev.45 21:11:46 v2.3.0-dev.5 21:11:46 v2.3.0-dev.6 21:11:46 v2.3.0-dev.7 21:11:46 v2.3.0-dev.8 21:11:46 v2.3.0-dev.9 21:11:46 v2.3.1 21:11:46 v2.3.1-dev.1 21:11:46 v2.3.1-dev.4 21:11:46 v2.3.1-dev.5 21:11:46 v2.3.2-dev.1 21:11:46 v2.3.2-dev.2 21:11:46 v3.0.0-dev.1 21:11:46 v3.0.0-dev.10 21:11:46 v3.0.0-dev.11 21:11:46 v3.0.0-dev.12 21:11:46 v3.0.0-dev.13 21:11:46 v3.0.0-dev.14 21:11:46 v3.0.0-dev.15 21:11:46 v3.0.0-dev.16 21:11:46 v3.0.0-dev.17 21:11:46 v3.0.0-dev.18 21:11:46 v3.0.0-dev.19 21:11:46 v3.0.0-dev.2 21:11:46 v3.0.0-dev.20 21:11:46 v3.0.0-dev.21 21:11:46 v3.0.0-dev.22 21:11:46 v3.0.0-dev.23 21:11:46 v3.0.0-dev.24 21:11:46 v3.0.0-dev.25 21:11:46 v3.0.0-dev.26 21:11:46 v3.0.0-dev.27 21:11:46 v3.0.0-dev.28 21:11:46 v3.0.0-dev.29 21:11:46 v3.0.0-dev.3 21:11:46 v3.0.0-dev.30 21:11:46 v3.0.0-dev.31 21:11:46 v3.0.0-dev.32 21:11:46 v3.0.0-dev.33 21:11:46 v3.0.0-dev.34 21:11:46 v3.0.0-dev.35 21:11:46 v3.0.0-dev.36 21:11:46 v3.0.0-dev.37 21:11:46 v3.0.0-dev.38 21:11:46 v3.0.0-dev.39 21:11:46 v3.0.0-dev.4 21:11:46 v3.0.0-dev.40 21:11:46 v3.0.0-dev.41 21:11:46 v3.0.0-dev.42 21:11:46 v3.0.0-dev.43 21:11:46 v3.0.0-dev.44 21:11:46 v3.0.0-dev.45 21:11:46 v3.0.0-dev.46 21:11:46 v3.0.0-dev.47 21:11:46 v3.0.0-dev.48 21:11:46 v3.0.0-dev.49 21:11:46 v3.0.0-dev.5 21:11:46 v3.0.0-dev.50 21:11:46 v3.0.0-dev.51 21:11:46 v3.0.0-dev.52 21:11:46 v3.0.0-dev.53 21:11:46 v3.0.0-dev.54 21:11:46 v3.0.0-dev.55 21:11:46 v3.0.0-dev.6 21:11:46 v3.0.0-dev.7 21:11:46 v3.0.0-dev.8 21:11:46 v3.0.0-dev.9 [Pipeline] sh 21:11:46 + lftools sign git-tag v3.0.0-dev.55 21:11:47 Signing Git tag with Sigul... 21:11:47 Signing v3.0.0-dev.55 [Pipeline] echo 21:11:47 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:11:47 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:11:47 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:11:47 $ docker stop --time=1 d344756fc7730db9d083de94e64d818e165ec7b7dee17bc3cec90a2000102d22 21:11:49 $ docker rm -f --volumes d344756fc7730db9d083de94e64d818e165ec7b7dee17bc3cec90a2000102d22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:11:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:11:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:11:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:50 prd-ubuntu20.04-docker-8c-8g-16041 does not seem to be running inside a container 21:11:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:11:50 $ docker top 2d6ba0530e64a77f559c45081906c8b7df9298a54103fe2f040cd76391050e00 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:11:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:11:50 [ssh-agent] Looking for ssh-agent implementation... 21:11:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:11:50 $ docker exec 2d6ba0530e64a77f559c45081906c8b7df9298a54103fe2f040cd76391050e00 ssh-agent 21:11:50 SSH_AUTH_SOCK=/tmp/ssh-KNi2ZQZ8pz58/agent.32 21:11:50 SSH_AGENT_PID=39 21:11:50 Running ssh-add (command line suppressed) 21:11:50 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16340733290758638800.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16340733290758638800.key) 21:11:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:11:51 + git semver bump pre 21:11:51 2023-05-18 21:11:51,283 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:11:51 2023-05-18 21:11:51,284 [bump_version] DEBUG bumping version:3.0.0-dev.55 on axis:pre with prefix:dev 21:11:51 2023-05-18 21:11:51,284 [bump_version] DEBUG bumped version:3.0.0-dev.56 21:11:51 2023-05-18 21:11:51,284 [write_version] DEBUG write version:3.0.0-dev.56 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 21:11:51 2023-05-18 21:11:51,284 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:11:51 2023-05-18 21:11:51,284 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 21:11:51 2023-05-18 21:11:51,286 [execute] INFO git cat-file --batch-check 21:11:51 2023-05-18 21:11:51,287 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:11:51 2023-05-18 21:11:51,291 [execute] INFO git cat-file --batch 21:11:51 2023-05-18 21:11:51,292 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:11:51 2023-05-18 21:11:51,296 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:11:51 3.0.0-dev.56 [Pipeline] } 21:11:51 $ docker exec --env ******** --env ******** 2d6ba0530e64a77f559c45081906c8b7df9298a54103fe2f040cd76391050e00 ssh-agent -k 21:11:51 unset SSH_AUTH_SOCK; 21:11:51 unset SSH_AGENT_PID; 21:11:51 echo Agent pid 39 killed; 21:11:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:11:51 + git semver [Pipeline] } 21:11:52 $ docker stop --time=1 2d6ba0530e64a77f559c45081906c8b7df9298a54103fe2f040cd76391050e00 21:11:53 $ docker rm -f --volumes 2d6ba0530e64a77f559c45081906c8b7df9298a54103fe2f040cd76391050e00 [Pipeline] // withDockerContainer [Pipeline] sh 21:11:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:11:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:11:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:54 prd-ubuntu20.04-docker-8c-8g-16041 does not seem to be running inside a container 21:11:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:11:54 $ docker top ba1190058ff514ac72c85e3ef71ab4ff5c77599063e5d8b4347bf931fc302462 -eo pid,comm 21:11:54 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:11:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:11:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:11:54 [ssh-agent] Looking for ssh-agent implementation... 21:11:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:11:54 $ docker exec ba1190058ff514ac72c85e3ef71ab4ff5c77599063e5d8b4347bf931fc302462 ssh-agent 21:11:54 SSH_AUTH_SOCK=/tmp/ssh-WQzcV74Io40u/agent.32 21:11:54 SSH_AGENT_PID=38 21:11:54 Running ssh-add (command line suppressed) 21:11:54 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5819464184582513983.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5819464184582513983.key) 21:11:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:11:55 + git semver push 21:11:55 2023-05-18 21:11:55,301 [run_push] DEBUG push 21:11:55 2023-05-18 21:11:55,302 [execute] INFO git cat-file --batch-check 21:11:55 2023-05-18 21:11:55,302 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:11:55 2023-05-18 21:11:55,305 [execute] INFO git rev-list 18eb955175eb714b6e7609e7244b2c4353f915b2 -- 21:11:55 2023-05-18 21:11:55,306 [execute] DEBUG Popen(['git', 'rev-list', '18eb955175eb714b6e7609e7244b2c4353f915b2', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 21:11:55 2023-05-18 21:11:55,312 [execute] INFO git fetch -v origin 21:11:55 2023-05-18 21:11:55,313 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 21:11:55 2023-05-18 21:11:55,750 [run_push] DEBUG no remote changes detected 21:11:55 2023-05-18 21:11:55,751 [execute] INFO git push origin semver 21:11:55 2023-05-18 21:11:55,751 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 21:11:56 2023-05-18 21:11:56,495 [run_push] DEBUG push all version tags 21:11:56 2023-05-18 21:11:56,496 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:11:56 2023-05-18 21:11:56,496 [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) 21:11:57 2023-05-18 21:11:57,212 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:11:57 3.0.0-dev.56 [Pipeline] } 21:11:57 $ docker exec --env ******** --env ******** ba1190058ff514ac72c85e3ef71ab4ff5c77599063e5d8b4347bf931fc302462 ssh-agent -k 21:11:57 unset SSH_AUTH_SOCK; 21:11:57 unset SSH_AGENT_PID; 21:11:57 echo Agent pid 38 killed; 21:11:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:11:57 + git semver [Pipeline] } 21:11:58 $ docker stop --time=1 ba1190058ff514ac72c85e3ef71ab4ff5c77599063e5d8b4347bf931fc302462 21:12:01 $ docker rm -f --volumes ba1190058ff514ac72c85e3ef71ab4ff5c77599063e5d8b4347bf931fc302462 [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 21:12:02 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 21:12:02 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 21:12:02 total 16 21:12:02 drwxr-xr-x 3 root root 4096 May 18 21:02 . 21:12:02 drwxrwxr-x 11 jenkins jenkins 4096 May 18 21:11 .. 21:12:02 drwxr-xr-x 2 root root 4096 May 18 21:02 cost 21:12:02 -rw-r--r-- 1 root root 91 May 18 21:02 cost.csv 21:12:02 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 21:12:02 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 21:12:02 total 16 21:12:02 drwxr-xr-x 3 jenkins jenkins 4096 May 18 21:02 . 21:12:02 drwxrwxr-x 11 jenkins jenkins 4096 May 18 21:11 .. 21:12:02 drwxr-xr-x 2 jenkins jenkins 4096 May 18 21:02 cost 21:12:02 -rw-r--r-- 1 jenkins jenkins 91 May 18 21:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:12:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:12:04 ---> package-listing.sh 21:12:04 ++ facter osfamily 21:12:04 ++ tr '[:upper:]' '[:lower:]' 21:12:04 + OS_FAMILY=debian 21:12:04 + workspace=/w/workspace/foundry_device-onvif-camera_main 21:12:04 + START_PACKAGES=/tmp/packages_start.txt 21:12:04 + END_PACKAGES=/tmp/packages_end.txt 21:12:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:12:04 + PACKAGES=/tmp/packages_start.txt 21:12:04 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 21:12:04 + PACKAGES=/tmp/packages_end.txt 21:12:04 + case "${OS_FAMILY}" in 21:12:04 + dpkg -l 21:12:04 + grep '^ii' 21:12:04 + '[' -f /tmp/packages_start.txt ']' 21:12:04 + '[' -f /tmp/packages_end.txt ']' 21:12:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:12:04 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 21:12:04 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 21:12:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 21:12:04 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 21:12:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:12:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:07 prd-ubuntu20.04-docker-8c-8g-16041 does not seem to be running inside a container 21:12:07 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:12:07 $ docker top ccee4713d186c0c592cc7292b695f7ee13d19aeafca74a1f942afeb1cdca9894 -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:08 + touch /tmp/pre-build-complete [Pipeline] sh 21:12:08 + mkdir -p /var/log/sysstat [Pipeline] sh 21:12:08 + ls /var/log/sa-host 21:12:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:12:08 provisioning config files... 21:12:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11105072663307971977tmp [Pipeline] { [Pipeline] echo 21:12:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:12:08 ---> create-netrc.sh [Pipeline] } 21:12:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:12:09 ---> python-tools-install.sh [Pipeline] echo 21:12:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:12:09 ---> sudo-logs.sh 21:12:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:12:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:12:09 ---> job-cost.sh 21:12:09 lf-activate-venv: SKIPPING 21:12:09 DEBUG: total: 0.2199999988079071 21:12:09 INFO: Retrieving Stack Cost... 21:12:10 INFO: Retrieving Pricing Info for: v3-standard-8 21:12:11 INFO: Archiving Costs [Pipeline] echo 21:12:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:12:11 ---> logs-deploy.sh 21:12:11 lf-activate-venv: SKIPPING 21:12:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/152 21:12:11 INFO: archiving workspace using pattern(s): 21:12:12 Archives upload complete. 21:12:12 INFO: archiving logs to Nexus