Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1a885dea823655429c4e0c6a767a18e3aa90292d 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-ssh13311815140912768666.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh8643185304723444716.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh8341097080462386798.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh15701852238416801359.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-ssh4704788370186308873.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-18125 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 1a885dea823655429c4e0c6a767a18e3aa90292d (main) Commit message: "docs: updated swagger version and postman envs (#410)" > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1a885dea823655429c4e0c6a767a18e3aa90292d # timeout=10 > git rev-list --no-walk 52e219e200aa3f0791b8f147aa403b803b9db216 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:57:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:57:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:57:10 ========================================================= 17:57:10 EdgeX Global Pipelines Version Info 17:57:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:57:11 ------------------- 17:57:11 stable info: 17:57:11 ------------------- 17:57:11 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 17:57:11 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 17:57:11 Message: update stable to v1.0.257 17:57:11 ------------------- 17:57:11 experimental info: 17:57:11 ------------------- 17:57:11 Commited By: **** collab-it+edgex@linuxfoundation.org 17:57:11 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 17:57:11 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:57:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:57:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:57:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:57:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:57:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:57:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 17:57:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1a885dea823655429c4e0c6a767a18e3aa90292d [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1a885de [Pipeline] echo 17:57:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:57:12 provisioning config files... 17:57:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11628947289333057660tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:57:12 ---> docker-login.sh 17:57:12 nexus3.edgexfoundry.org:10001 17:57:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:13 Configure a credential helper to remove this warning. See 17:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:13 17:57:13 Login Succeeded 17:57:13 nexus3.edgexfoundry.org:10002 17:57:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:13 Configure a credential helper to remove this warning. See 17:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:13 17:57:13 Login Succeeded 17:57:13 nexus3.edgexfoundry.org:10003 17:57:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:13 Configure a credential helper to remove this warning. See 17:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:13 17:57:13 Login Succeeded 17:57:13 nexus3.edgexfoundry.org:10004 17:57:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:13 Configure a credential helper to remove this warning. See 17:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:13 17:57:13 Login Succeeded 17:57:13 docker.io 17:57:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:13 Configure a credential helper to remove this warning. See 17:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:13 17:57:13 Login Succeeded 17:57:13 ---> docker-login.sh ends [Pipeline] } 17:57:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:57:14 + git rev-list -1 --merges 1a885dea823655429c4e0c6a767a18e3aa90292d~1..1a885dea823655429c4e0c6a767a18e3aa90292d [Pipeline] echo 17:57:14 -----------> git rev-list -1 --merges 1a885dea823655429c4e0c6a767a18e3aa90292d~1..1a885dea823655429c4e0c6a767a18e3aa90292d 1a885dea823655429c4e0c6a767a18e3aa90292d [false] [Pipeline] sh 17:57:14 + git log --format=format:%s -1 1a885dea823655429c4e0c6a767a18e3aa90292d [Pipeline] echo 17:57:14 ========================================================= 17:57:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:57:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:57:14 + git log --format=format:%s -1 1a885dea823655429c4e0c6a767a18e3aa90292d [Pipeline] echo 17:57:14 [semverPrep] GIT_COMMIT: 1a885dea823655429c4e0c6a767a18e3aa90292d, Commit Message: docs: updated swagger version and postman envs (#410) [Pipeline] echo 17:57:14 [semverPrep] This is not a build commit. [Pipeline] sh 17:57:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:57:15 + grep -v github /etc/ssh/ssh_known_hosts 17:57:15 + [ -e /tmp/ssh_known_hosts ] 17:57:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:57:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:57:15 + sudo tee -a /etc/ssh/ssh_known_hosts 17:57:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:57:15 17:57:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:57:16 0.1.4: Pulling from edgex-devops/py-git-semver 17:57:16 b85a868b505f: Pulling fs layer 17:57:16 e2be974225ed: Pulling fs layer 17:57:16 339a4e72a1f5: Pulling fs layer 17:57:16 988bab9f4d93: Pulling fs layer 17:57:16 1469e6f7b9e6: Pulling fs layer 17:57:16 eaf3925da568: Pulling fs layer 17:57:16 bab4dde63d76: Pulling fs layer 17:57:16 bde34c3a00c8: Pulling fs layer 17:57:16 b352a97aabf1: Pulling fs layer 17:57:16 4872d77fe225: Pulling fs layer 17:57:16 5851b861e8e6: Pulling fs layer 17:57:16 1469e6f7b9e6: Waiting 17:57:16 eaf3925da568: Waiting 17:57:16 4872d77fe225: Waiting 17:57:16 5851b861e8e6: Waiting 17:57:16 bab4dde63d76: Waiting 17:57:16 bde34c3a00c8: Waiting 17:57:16 e2be974225ed: Download complete 17:57:16 988bab9f4d93: Verifying Checksum 17:57:16 988bab9f4d93: Download complete 17:57:16 1469e6f7b9e6: Verifying Checksum 17:57:16 1469e6f7b9e6: Download complete 17:57:16 339a4e72a1f5: Verifying Checksum 17:57:16 339a4e72a1f5: Download complete 17:57:16 eaf3925da568: Download complete 17:57:16 bde34c3a00c8: Download complete 17:57:16 b352a97aabf1: Verifying Checksum 17:57:16 b352a97aabf1: Download complete 17:57:16 4872d77fe225: Verifying Checksum 17:57:16 4872d77fe225: Download complete 17:57:16 5851b861e8e6: Download complete 17:57:16 b85a868b505f: Download complete 17:57:16 bab4dde63d76: Verifying Checksum 17:57:16 bab4dde63d76: Download complete 17:57:17 b85a868b505f: Pull complete 17:57:17 e2be974225ed: Pull complete 17:57:18 339a4e72a1f5: Pull complete 17:57:18 988bab9f4d93: Pull complete 17:57:18 1469e6f7b9e6: Pull complete 17:57:18 eaf3925da568: Pull complete 17:57:20 bab4dde63d76: Pull complete 17:57:20 bde34c3a00c8: Pull complete 17:57:20 b352a97aabf1: Pull complete 17:57:20 4872d77fe225: Pull complete 17:57:20 5851b861e8e6: Pull complete 17:57:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:57:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:57:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:57:20 prd-ubuntu20.04-docker-8c-8g-18125 does not seem to be running inside a container 17:57:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:57:25 $ docker top 564d269db53ee28ed4b09771a8660a741e69ba6996733eaee1883a261b671ab0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:57:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:57:25 [ssh-agent] Looking for ssh-agent implementation... 17:57:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:57:25 $ docker exec 564d269db53ee28ed4b09771a8660a741e69ba6996733eaee1883a261b671ab0 ssh-agent 17:57:25 SSH_AUTH_SOCK=/tmp/ssh-OTMmASofbjqn/agent.32 17:57:25 SSH_AGENT_PID=38 17:57:25 Running ssh-add (command line suppressed) 17:57:25 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7196162125387680492.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7196162125387680492.key) 17:57:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:57:26 + git tag --points-at HEAD [Pipeline] } 17:57:26 $ docker exec --env ******** --env ******** 564d269db53ee28ed4b09771a8660a741e69ba6996733eaee1883a261b671ab0 ssh-agent -k 17:57:26 unset SSH_AUTH_SOCK; 17:57:26 unset SSH_AGENT_PID; 17:57:26 echo Agent pid 38 killed; 17:57:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:57:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:57:26 [ssh-agent] Looking for ssh-agent implementation... 17:57:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:57:26 $ docker exec 564d269db53ee28ed4b09771a8660a741e69ba6996733eaee1883a261b671ab0 ssh-agent 17:57:26 SSH_AUTH_SOCK=/tmp/ssh-Lxj2scBo47jL/agent.70 17:57:26 SSH_AGENT_PID=76 17:57:26 Running ssh-add (command line suppressed) 17:57:26 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6527242841553534034.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6527242841553534034.key) 17:57:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:57:26 + git semver init 17:57:27 2023-11-15 17:57:27,055 [run_init] DEBUG init version:0.0.0 force:False 17:57:27 2023-11-15 17:57:27,056 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 17:57:27 2023-11-15 17:57:27,056 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 17:57:27 2023-11-15 17:57:27,057 [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) 17:57:29 2023-11-15 17:57:29,807 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 17:57:29 2023-11-15 17:57:29,807 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 17:57:29 2023-11-15 17:57:29,808 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:57:29 2023-11-15 17:57:29,808 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:57:29 3.1.0-dev.28 [Pipeline] } 17:57:29 $ docker exec --env ******** --env ******** 564d269db53ee28ed4b09771a8660a741e69ba6996733eaee1883a261b671ab0 ssh-agent -k 17:57:29 unset SSH_AUTH_SOCK; 17:57:29 unset SSH_AGENT_PID; 17:57:29 echo Agent pid 76 killed; 17:57:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:57:30 + git semver [Pipeline] } 17:57:30 $ docker stop --time=1 564d269db53ee28ed4b09771a8660a741e69ba6996733eaee1883a261b671ab0 17:57:31 $ docker rm -f --volumes 564d269db53ee28ed4b09771a8660a741e69ba6996733eaee1883a261b671ab0 [Pipeline] // withDockerContainer [Pipeline] sh 17:57:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:57:32 Stashed 1 file(s) [Pipeline] echo 17:57:32 [edgeXSemver]: initialized semver on version 3.1.0-dev.28 [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 17:57:32 provisioning config files... 17:57:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9333540458747062917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:57:32 ---> docker-login.sh 17:57:32 nexus3.edgexfoundry.org:10001 17:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:32 Configure a credential helper to remove this warning. See 17:57:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:32 17:57:32 Login Succeeded 17:57:32 nexus3.edgexfoundry.org:10002 17:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:32 Configure a credential helper to remove this warning. See 17:57:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:32 17:57:32 Login Succeeded 17:57:32 nexus3.edgexfoundry.org:10003 17:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:33 Configure a credential helper to remove this warning. See 17:57:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:33 17:57:33 Login Succeeded 17:57:33 nexus3.edgexfoundry.org:10004 17:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:33 Configure a credential helper to remove this warning. See 17:57:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:33 17:57:33 Login Succeeded 17:57:33 docker.io 17:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:33 Configure a credential helper to remove this warning. See 17:57:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:33 17:57:33 Login Succeeded 17:57:33 ---> docker-login.sh ends [Pipeline] } 17:57:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:57:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:57:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:57:33 ========================================================= 17:57:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 17:57:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:33 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 17:57:33 Sending build context to Docker daemon 21.71MB 17:57:33 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 17:57:33 Step 2/13 : FROM ${BASE} AS builder 17:57:34 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 17:57:34 7264a8db6415: Pulling fs layer 17:57:34 c4d48a809fc2: Pulling fs layer 17:57:34 4f1c88b9dad5: Pulling fs layer 17:57:34 ad3a456e5733: Pulling fs layer 17:57:34 69c7f0334f64: Pulling fs layer 17:57:34 1f1c1a5573a3: Pulling fs layer 17:57:34 ad3a456e5733: Waiting 17:57:34 69c7f0334f64: Waiting 17:57:34 ce7588e14bc9: Pulling fs layer 17:57:34 b5e4710f87ac: Pulling fs layer 17:57:34 1f1c1a5573a3: Waiting 17:57:34 ce7588e14bc9: Waiting 17:57:34 b5e4710f87ac: Waiting 17:57:34 c4d48a809fc2: Download complete 17:57:34 ad3a456e5733: Verifying Checksum 17:57:34 ad3a456e5733: Download complete 17:57:34 69c7f0334f64: Verifying Checksum 17:57:34 69c7f0334f64: Download complete 17:57:34 7264a8db6415: Verifying Checksum 17:57:34 7264a8db6415: Download complete 17:57:34 1f1c1a5573a3: Verifying Checksum 17:57:34 1f1c1a5573a3: Download complete 17:57:34 7264a8db6415: Pull complete 17:57:34 b5e4710f87ac: Verifying Checksum 17:57:34 b5e4710f87ac: Download complete 17:57:34 c4d48a809fc2: Pull complete 17:57:34 4f1c88b9dad5: Verifying Checksum 17:57:34 4f1c88b9dad5: Download complete 17:57:34 ce7588e14bc9: Verifying Checksum 17:57:34 ce7588e14bc9: Download complete 17:57:38 4f1c88b9dad5: Pull complete 17:57:38 ad3a456e5733: Pull complete 17:57:38 69c7f0334f64: Pull complete 17:57:38 1f1c1a5573a3: Pull complete 17:57:40 ce7588e14bc9: Pull complete 17:57:40 b5e4710f87ac: Pull complete 17:57:40 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 17:57:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 17:57:40 ---> 88b5674ff536 17:57:40 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:57:47 ---> Running in d0f1ab0d4c1c 17:57:47 Removing intermediate container d0f1ab0d4c1c 17:57:47 ---> 304b859394f6 17:57:47 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:57:47 ---> Running in 90480ff3160e 17:57:47 Removing intermediate container 90480ff3160e 17:57:47 ---> d722a202c0a7 17:57:47 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:57:47 ---> Running in bc5eedc47f5e 17:57:47 Removing intermediate container bc5eedc47f5e 17:57:47 ---> bd475e85b076 17:57:47 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:57:47 ---> Running in 614506cf19a5 17:57:47 Removing intermediate container 614506cf19a5 17:57:47 ---> cf97d2971486 17:57:47 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:57:47 ---> Running in f3751ce48354 17:57:47 Removing intermediate container f3751ce48354 17:57:47 ---> 23da8271e5f2 17:57:47 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:57:47 ---> Running in e5d34676732f 17:57:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:57:47 Still waiting to schedule task 17:57:47 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:57:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:57:48 OK: 264 MiB in 52 packages 17:57:48 Removing intermediate container e5d34676732f 17:57:48 ---> 8e93a1cb6b5a 17:57:48 Step 9/13 : WORKDIR /device-onvif-camera 17:57:48 ---> Running in e3ce07e47c1d 17:57:48 Removing intermediate container e3ce07e47c1d 17:57:48 ---> 48b7b969c2b3 17:57:48 Step 10/13 : COPY go.mod vendor* ./ 17:57:48 ---> 22a532f36799 17:57:48 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:57:48 ---> Running in 78816ba17f6f 17:58:35 Removing intermediate container 78816ba17f6f 17:58:35 ---> eb0fbd247057 17:58:35 Step 12/13 : COPY . . 17:58:35 ---> 2e3d3b71f702 17:58:35 Step 13/13 : RUN ${MAKE} 17:58:35 ---> Running in e19856ed33c2 17:58:35 noop 17:58:35 Removing intermediate container e19856ed33c2 17:58:35 ---> 0c5178ebd213 17:58:35 Successfully built 0c5178ebd213 17:58:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:35 + docker inspect -f . ci-base-image-x86_64 17:58:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:35 prd-ubuntu20.04-docker-8c-8g-18125 does not seem to be running inside a container 17:58:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:58:36 $ docker top 8d1e3601de3889ee2a0f9dfe891b978c2fbac9c5a74ce30d14f1edc82848eea6 -eo pid,comm [Pipeline] { [Pipeline] sh 17:58:36 + go version 17:58:36 go version go1.21.0 linux/amd64 [Pipeline] } 17:58:36 $ docker stop --time=1 8d1e3601de3889ee2a0f9dfe891b978c2fbac9c5a74ce30d14f1edc82848eea6 17:58:37 $ docker rm -f --volumes 8d1e3601de3889ee2a0f9dfe891b978c2fbac9c5a74ce30d14f1edc82848eea6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:38 + docker inspect -f . ci-base-image-x86_64 17:58:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:38 prd-ubuntu20.04-docker-8c-8g-18125 does not seem to be running inside a container 17:58:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:58:38 $ docker top d45b9839ebcc804892ea98b7f66f23e95162ee69b2119d42be228282d189e75b -eo pid,comm [Pipeline] { [Pipeline] sh 17:58:39 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 17:58:39 + make test 17:58:39 go test ./... -coverprofile=coverage.out ./... 17:58:40 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:58:52 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:58:52 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:58:54 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.041s coverage: 31.5% of statements 17:58:55 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.227s coverage: 86.5% of statements 17:59:03 go vet ./... 17:59:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:59:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:59:07 ./bin/test-attribution-txt.sh [Pipeline] echo 17:59:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 17:59:07 $ docker stop --time=1 d45b9839ebcc804892ea98b7f66f23e95162ee69b2119d42be228282d189e75b 17:59:12 $ docker rm -f --volumes d45b9839ebcc804892ea98b7f66f23e95162ee69b2119d42be228282d189e75b [Pipeline] // withDockerContainer [Pipeline] sh 17:59:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:59:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:59:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:59:13 + ls -al . 17:59:13 total 240 17:59:13 drwxrwxr-x 9 jenkins jenkins 4096 Nov 15 17:58 . 17:59:13 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 17:57 .. 17:59:13 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 17:58 .git 17:59:13 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 17:57 .github 17:59:13 -rw-rw-r-- 1 jenkins jenkins 493 Nov 15 17:57 .gitignore 17:59:13 -rw-rw-r-- 1 jenkins jenkins 42 Nov 15 17:57 .golangci.yml 17:59:13 drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 17:57 .semver 17:59:13 -rw-rw-r-- 1 jenkins jenkins 11155 Nov 15 17:57 Attribution.txt 17:59:13 -rw-rw-r-- 1 jenkins jenkins 17665 Nov 15 17:57 CHANGELOG.md 17:59:13 -rw-rw-r-- 1 jenkins jenkins 1683 Nov 15 17:57 Dockerfile 17:59:13 -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 17:57 GOVERNANCE.md 17:59:13 -rw-rw-r-- 1 jenkins jenkins 739 Nov 15 17:57 Jenkinsfile 17:59:13 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 15 17:57 LICENSE 17:59:13 -rw-rw-r-- 1 jenkins jenkins 2877 Nov 15 17:57 Makefile 17:59:13 -rw-rw-r-- 1 jenkins jenkins 625 Nov 15 17:57 OWNERS.md 17:59:13 -rw-rw-r-- 1 jenkins jenkins 2620 Nov 15 17:57 README.md 17:59:13 -rw-rw-r-- 1 jenkins jenkins 12 Nov 15 17:57 VERSION 17:59:13 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 17:57 bin 17:59:13 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 17:57 cmd 17:59:13 -rw-r--r-- 1 jenkins jenkins 78456 Nov 15 17:58 coverage.out 17:59:13 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 17:57 doc 17:59:13 -rw-rw-r-- 1 jenkins jenkins 4040 Nov 15 17:57 go.mod 17:59:13 -rw-rw-r-- 1 jenkins jenkins 35594 Nov 15 17:57 go.sum 17:59:13 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 17:57 internal 17:59:13 -rw-rw-r-- 1 jenkins jenkins 236 Nov 15 17:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:13 + 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=1a885dea823655429c4e0c6a767a18e3aa90292d --label arch=amd64 --label version=3.1.0-dev.28 . 17:59:13 Sending build context to Docker daemon 21.79MB 17:59:13 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 17:59:13 Step 2/27 : FROM ${BASE} AS builder 17:59:13 ---> 0c5178ebd213 17:59:13 Step 3/27 : ARG ADD_BUILD_TAGS="" 17:59:14 ---> Running in fbf92bb04138 17:59:14 Removing intermediate container fbf92bb04138 17:59:14 ---> 85aa9371c15e 17:59:14 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:59:14 ---> Running in 4466e7734feb 17:59:14 Removing intermediate container 4466e7734feb 17:59:14 ---> cea92c9eea5d 17:59:14 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 17:59:14 ---> Running in 40b85696326d 17:59:14 Removing intermediate container 40b85696326d 17:59:14 ---> f47f244336ba 17:59:14 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 17:59:14 ---> Running in ea57f56f9f96 17:59:14 Removing intermediate container ea57f56f9f96 17:59:14 ---> 37ec4b4a3695 17:59:14 Step 7/27 : LABEL Name=edgex-device-onvif-camera 17:59:14 ---> Running in 23f20b84c0c8 17:59:14 Removing intermediate container 23f20b84c0c8 17:59:14 ---> 4eecea6102ba 17:59:14 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:59:14 ---> Running in fcf28a45e302 17:59:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:59:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:59:15 OK: 264 MiB in 52 packages 17:59:15 Removing intermediate container fcf28a45e302 17:59:15 ---> d333b828d87b 17:59:15 Step 9/27 : WORKDIR /device-onvif-camera 17:59:15 ---> Running in e708287afc33 17:59:15 Removing intermediate container e708287afc33 17:59:15 ---> 9ee9b1b1c24d 17:59:15 Step 10/27 : COPY go.mod vendor* ./ 17:59:16 ---> 6644d077d33e 17:59:16 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:59:16 ---> Running in 0b4a997687bb 17:59:17 Removing intermediate container 0b4a997687bb 17:59:17 ---> 8c1c33f794ce 17:59:17 Step 12/27 : COPY . . 17:59:18 ---> 457cd48d1bff 17:59:18 Step 13/27 : RUN ${MAKE} 17:59:18 ---> Running in 1e2e30de8b3e 17:59:18 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.28 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 17:59:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18126 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 17:59:21 Running in /w/workspace/device-onvif-camera/185 [Pipeline] { [Pipeline] checkout 17:59:21 The recommended git tool is: git 17:59:26 using credential edgex-jenkins-ssh 17:59:26 Cloning the remote Git repository 17:59:26 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:59:26 > git init /w/workspace/device-onvif-camera/185 # timeout=10 17:59:26 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:59:26 > git --version # timeout=10 17:59:26 > git --version # 'git version 2.25.1' 17:59:26 using GIT_SSH to set credentials SSH Credentials for GitHub 17:59:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:59:28 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:59:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:59:29 Avoid second fetch 17:59:29 Checking out Revision 1a885dea823655429c4e0c6a767a18e3aa90292d (main) 17:59:29 Commit message: "docs: updated swagger version and postman envs (#410)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:59:29 > git config core.sparsecheckout # timeout=10 17:59:29 > git checkout -f 1a885dea823655429c4e0c6a767a18e3aa90292d # timeout=10 17:59:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:59:30 % Total % Received % Xferd Average Speed Time Time Time Current 17:59:30 Dload Upload Total Spent Left Speed 17:59:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 17:59:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:59:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:59:31 + sudo tee /etc/docker/daemon.new 17:59:31 { 17:59:31 "registry-mirrors": [ 17:59:31 "https://nexus3.edgexfoundry.org:10001" 17:59:31 ], 17:59:31 "bip": "10.250.0.254/24", 17:59:31 "hosts": [ 17:59:31 "tcp://0.0.0.0:5555", 17:59:31 "unix:///var/run/docker.sock" 17:59:31 ], 17:59:31 "mtu": 1458, 17:59:31 "selinux-enabled": true, 17:59:31 "seccomp-profile": "/etc/docker/seccomp.json" 17:59:31 } [Pipeline] sh 17:59:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:59:32 + sudo service docker restart 17:59:44 Removing intermediate container 1e2e30de8b3e 17:59:44 ---> 5396ec772052 17:59:44 Step 14/27 : FROM alpine:3.18 17:59:44 3.18: Pulling from library/alpine 17:59:44 96526aa774ef: Pulling fs layer 17:59:44 96526aa774ef: Download complete 17:59:44 96526aa774ef: Pull complete 17:59:44 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 17:59:44 Status: Downloaded newer image for alpine:3.18 17:59:44 ---> 8ca4688f4f35 17:59:44 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 17:59:44 ---> Running in 91f33c376c08 17:59:44 Removing intermediate container 91f33c376c08 17:59:44 ---> ac4b69d923b5 17:59:44 Step 16/27 : RUN apk add --update --no-cache dumb-init 17:59:44 ---> Running in 230eaca4e28d 17:59:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:59:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:59:44 (1/1) Installing dumb-init (1.2.5-r2) 17:59:44 Executing busybox-1.36.1-r2.trigger 17:59:44 OK: 7 MiB in 16 packages 17:59:44 Removing intermediate container 230eaca4e28d 17:59:44 ---> ad9dbca152f2 17:59:44 Step 17/27 : RUN apk --no-cache upgrade 17:59:44 ---> Running in c334a9357d51 17:59:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:59:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:59:44 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 17:59:44 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 17:59:44 Executing busybox-1.36.1-r5.post-upgrade 17:59:44 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 17:59:44 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 17:59:44 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 17:59:44 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 17:59:44 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 17:59:44 Executing busybox-1.36.1-r5.trigger 17:59:44 OK: 7 MiB in 16 packages 17:59:45 Removing intermediate container c334a9357d51 17:59:45 ---> 96b6d603ce60 17:59:45 Step 18/27 : WORKDIR / 17:59:45 ---> Running in 4da700f8a1e7 17:59:45 Removing intermediate container 4da700f8a1e7 17:59:45 ---> 20a5bd49de70 17:59:45 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 17:59:47 ---> 8d3831dd09ba 17:59:47 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 17:59:47 ---> 78c2fd56ea78 17:59:47 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:59:47 ---> 7283432ece5b 17:59:47 Step 22/27 : EXPOSE 59984 17:59:47 ---> Running in 921886b2ef00 17:59:47 Removing intermediate container 921886b2ef00 17:59:47 ---> 34a1557da42b 17:59:47 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 17:59:47 ---> Running in 06238576282f 17:59:47 Removing intermediate container 06238576282f 17:59:47 ---> 2b9b6cabf523 17:59:47 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:59:47 ---> Running in 650e9a43fcf6 17:59:47 Removing intermediate container 650e9a43fcf6 17:59:47 ---> fbca87a2d505 17:59:47 Step 25/27 : LABEL arch=amd64 17:59:47 ---> Running in 59596e8d29d6 17:59:47 Removing intermediate container 59596e8d29d6 17:59:47 ---> c157c640eb19 17:59:47 Step 26/27 : LABEL git_sha=1a885dea823655429c4e0c6a767a18e3aa90292d 17:59:47 ---> Running in 499877c90f37 17:59:47 Removing intermediate container 499877c90f37 17:59:47 ---> ff75f8a45966 17:59:47 Step 27/27 : LABEL version=3.1.0-dev.28 17:59:47 ---> Running in cf54e484b814 17:59:47 Removing intermediate container cf54e484b814 17:59:47 ---> 1397923c3efe 17:59:47 [Warning] One or more build-args [ARCH] were not consumed 17:59:47 Successfully built 1397923c3efe 17:59:47 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 17:59:47 provisioning config files... 17:59:47 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6173804827310469318tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:59:48 ---> docker-login.sh 17:59:48 nexus3.edgexfoundry.org:10001 17:59:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:59:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:59:48 Configure a credential helper to remove this warning. See 17:59:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:59:48 17:59:48 Login Succeeded 17:59:48 nexus3.edgexfoundry.org:10002 17:59:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:59:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:59:48 Configure a credential helper to remove this warning. See 17:59:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:59:48 17:59:48 Login Succeeded 17:59:48 nexus3.edgexfoundry.org:10003 17:59:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:59:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:59:48 Configure a credential helper to remove this warning. See 17:59:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:59:48 17:59:48 Login Succeeded 17:59:48 nexus3.edgexfoundry.org:10004 17:59:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:59:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:59:48 Configure a credential helper to remove this warning. See 17:59:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:59:48 17:59:48 Login Succeeded 17:59:48 docker.io 17:59:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:59:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:59:48 Configure a credential helper to remove this warning. See 17:59:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:59:48 17:59:48 Login Succeeded 17:59:48 ---> docker-login.sh ends [Pipeline] } 17:59:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:59:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:59:48 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 17:59:48 1a885dea823655429c4e0c6a767a18e3aa90292d 17:59:48 latest 17:59:48 3.1.0-dev.28 17:59:48 1a885dea823655429c4e0c6a767a18e3aa90292d-3.1.0-dev.28 17:59:48 main 17:59:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:49 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:1a885dea823655429c4e0c6a767a18e3aa90292d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:49 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:1a885dea823655429c4e0c6a767a18e3aa90292d 17:59:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:59:49 305eccbc4d52: Preparing 17:59:49 7f38d62c8fc8: Preparing 17:59:49 439f076713eb: Preparing 17:59:49 3ae84e506cf3: Preparing 17:59:49 13ee3bf29501: Preparing 17:59:49 cc2447e1835a: Preparing 17:59:49 cc2447e1835a: Waiting 17:59:49 7f38d62c8fc8: Pushed 17:59:49 13ee3bf29501: Pushed 17:59:49 305eccbc4d52: Pushed 17:59:49 cc2447e1835a: Layer already exists 17:59:50 3ae84e506cf3: Pushed [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:59:50 provisioning config files... 17:59:50 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/185@tmp/config12701570773966220844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:59:51 ---> docker-login.sh 17:59:51 nexus3.edgexfoundry.org:10001 17:59:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:59:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:59:51 Configure a credential helper to remove this warning. See 17:59:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:59:51 17:59:51 Login Succeeded 17:59:51 nexus3.edgexfoundry.org:10002 17:59:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:59:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:59:51 Configure a credential helper to remove this warning. See 17:59:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:59:51 17:59:51 Login Succeeded 17:59:51 nexus3.edgexfoundry.org:10003 17:59:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:59:52 439f076713eb: Pushed 17:59:52 1a885dea823655429c4e0c6a767a18e3aa90292d: digest: sha256:a2e6f221d1d595f13dd56848c59ffd59d73a1a50b69878daf2b9f3f689d3a040 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:59:52 Configure a credential helper to remove this warning. See 17:59:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:59:52 17:59:52 Login Succeeded 17:59:52 nexus3.edgexfoundry.org:10004 17:59:52 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:59:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:59:52 Configure a credential helper to remove this warning. See 17:59:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:59:52 17:59:52 Login Succeeded 17:59:52 docker.io 17:59:52 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:59:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:59:52 305eccbc4d52: Preparing 17:59:52 7f38d62c8fc8: Preparing 17:59:52 439f076713eb: Preparing 17:59:52 3ae84e506cf3: Preparing 17:59:52 13ee3bf29501: Preparing 17:59:52 cc2447e1835a: Preparing 17:59:52 cc2447e1835a: Waiting 17:59:52 3ae84e506cf3: Layer already exists 17:59:52 7f38d62c8fc8: Layer already exists 17:59:52 305eccbc4d52: Layer already exists 17:59:52 13ee3bf29501: Layer already exists 17:59:52 439f076713eb: Layer already exists 17:59:52 cc2447e1835a: Layer already exists 17:59:52 latest: digest: sha256:a2e6f221d1d595f13dd56848c59ffd59d73a1a50b69878daf2b9f3f689d3a040 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:59:53 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 17:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:59:53 Configure a credential helper to remove this warning. See 17:59:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:59:53 17:59:53 Login Succeeded 17:59:53 ---> docker-login.sh ends [Pipeline] sh [Pipeline] } 17:59:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 17:59:53 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.28 17:59:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:59:53 305eccbc4d52: Preparing 17:59:53 7f38d62c8fc8: Preparing 17:59:53 439f076713eb: Preparing 17:59:53 3ae84e506cf3: Preparing 17:59:53 13ee3bf29501: Preparing 17:59:53 cc2447e1835a: Preparing 17:59:53 439f076713eb: Layer already exists 17:59:53 305eccbc4d52: Layer already exists 17:59:53 13ee3bf29501: Layer already exists 17:59:53 3ae84e506cf3: Layer already exists 17:59:53 7f38d62c8fc8: Layer already exists 17:59:53 cc2447e1835a: Layer already exists 17:59:53 3.1.0-dev.28: digest: sha256:a2e6f221d1d595f13dd56848c59ffd59d73a1a50b69878daf2b9f3f689d3a040 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo 17:59:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:59:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:59:53 ========================================================= 17:59:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 17:59:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:53 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:1a885dea823655429c4e0c6a767a18e3aa90292d-3.1.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:54 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 17:59:54 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:1a885dea823655429c4e0c6a767a18e3aa90292d-3.1.0-dev.28 17:59:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:59:54 305eccbc4d52: Preparing 17:59:54 7f38d62c8fc8: Preparing 17:59:54 439f076713eb: Preparing 17:59:54 3ae84e506cf3: Preparing 17:59:54 13ee3bf29501: Preparing 17:59:54 cc2447e1835a: Preparing 17:59:54 cc2447e1835a: Waiting 17:59:54 305eccbc4d52: Layer already exists 17:59:54 7f38d62c8fc8: Layer already exists 17:59:54 3ae84e506cf3: Layer already exists 17:59:54 13ee3bf29501: Layer already exists 17:59:54 439f076713eb: Layer already exists 17:59:54 cc2447e1835a: Layer already exists 17:59:54 1a885dea823655429c4e0c6a767a18e3aa90292d-3.1.0-dev.28: digest: sha256:a2e6f221d1d595f13dd56848c59ffd59d73a1a50b69878daf2b9f3f689d3a040 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:54 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:54 Sending build context to Docker daemon 14.21MB 17:59:54 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 17:59:54 Step 2/13 : FROM ${BASE} AS builder 17:59:54 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:59:54 9fda8d8052c6: Pulling fs layer 17:59:54 5d54e960e981: Pulling fs layer 17:59:54 c4a7e357bf2a: Pulling fs layer 17:59:54 f0e02332f6b5: Pulling fs layer 17:59:54 872ee5b61b7b: Pulling fs layer 17:59:54 0c6a40ed1a82: Pulling fs layer 17:59:54 94ae7d8d031c: Pulling fs layer 17:59:54 f0e02332f6b5: Waiting 17:59:54 872ee5b61b7b: Waiting 17:59:54 0c6a40ed1a82: Waiting 17:59:54 94ae7d8d031c: Waiting 17:59:54 5d54e960e981: Verifying Checksum 17:59:54 5d54e960e981: Download complete 17:59:54 f0e02332f6b5: Download complete 17:59:54 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 17:59:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:59:54 305eccbc4d52: Preparing 17:59:54 7f38d62c8fc8: Preparing 17:59:54 439f076713eb: Preparing 17:59:54 3ae84e506cf3: Preparing 17:59:54 13ee3bf29501: Preparing 17:59:54 cc2447e1835a: Preparing 17:59:54 cc2447e1835a: Waiting 17:59:54 7f38d62c8fc8: Layer already exists 17:59:54 3ae84e506cf3: Layer already exists 17:59:54 439f076713eb: Layer already exists 17:59:54 305eccbc4d52: Layer already exists 17:59:54 13ee3bf29501: Layer already exists 17:59:54 cc2447e1835a: Layer already exists 17:59:54 main: digest: sha256:a2e6f221d1d595f13dd56848c59ffd59d73a1a50b69878daf2b9f3f689d3a040 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:59:54 ===================================================== [Pipeline] echo 17:59:54 taggedImages: 17:59:54 - nexus3.edgexfoundry.org:10004/device-onvif-camera:1a885dea823655429c4e0c6a767a18e3aa90292d 17:59:54 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:59:54 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.28 17:59:54 - nexus3.edgexfoundry.org:10004/device-onvif-camera:1a885dea823655429c4e0c6a767a18e3aa90292d-3.1.0-dev.28 17:59:54 - 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 17:59:54 872ee5b61b7b: Verifying Checksum 17:59:54 872ee5b61b7b: Download complete 17:59:54 9fda8d8052c6: Download complete 17:59:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:59:55 17:59:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:55 94ae7d8d031c: Verifying Checksum 17:59:55 94ae7d8d031c: Download complete 17:59:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:59:55 latest: Pulling from edgex-lftools-log-publisher 17:59:55 5eb5b503b376: Pulling fs layer 17:59:55 5c69ac0246d0: Pulling fs layer 17:59:55 ec43610c2a17: Pulling fs layer 17:59:55 3a2ae6a8a46f: Pulling fs layer 17:59:55 33b1e0a273af: Pulling fs layer 17:59:55 5d3b04190fa2: Pulling fs layer 17:59:55 2f39f015ded8: Pulling fs layer 17:59:55 33b1e0a273af: Waiting 17:59:55 5d3b04190fa2: Waiting 17:59:55 2f39f015ded8: Waiting 17:59:55 3a2ae6a8a46f: Waiting 17:59:55 5c69ac0246d0: Download complete 17:59:55 3a2ae6a8a46f: Verifying Checksum 17:59:55 3a2ae6a8a46f: Download complete 17:59:55 33b1e0a273af: Verifying Checksum 17:59:55 33b1e0a273af: Download complete 17:59:55 5d3b04190fa2: Verifying Checksum 17:59:55 5d3b04190fa2: Download complete 17:59:55 ec43610c2a17: Verifying Checksum 17:59:55 5eb5b503b376: Verifying Checksum 17:59:55 5eb5b503b376: Download complete 17:59:55 9fda8d8052c6: Pull complete 17:59:56 2f39f015ded8: Download complete 17:59:56 5d54e960e981: Pull complete 17:59:56 c4a7e357bf2a: Verifying Checksum 17:59:56 c4a7e357bf2a: Download complete 17:59:56 5eb5b503b376: Pull complete 17:59:57 5c69ac0246d0: Pull complete 17:59:57 0c6a40ed1a82: Download complete 17:59:57 ec43610c2a17: Pull complete 17:59:57 3a2ae6a8a46f: Pull complete 17:59:57 33b1e0a273af: Pull complete 17:59:57 5d3b04190fa2: Pull complete 18:00:02 2f39f015ded8: Pull complete 18:00:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:00:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:00:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:00:02 prd-ubuntu20.04-docker-8c-8g-18125 does not seem to be running inside a container 18:00:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 18:00:08 $ docker top 66b5b90ad58bd528ec6c82d60eb255fd1f3258015abc97ff335d5d48f0279c80 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:00:08 ---> job-cost.sh 18:00:08 lf-activate-venv: SKIPPING 18:00:08 INFO: No Stack... 18:00:08 INFO: Retrieving Pricing Info for: v3-standard-8 18:00:09 INFO: Archiving Costs [Pipeline] sh 18:00:09 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 18:00:09 + cut -d, -f6 [Pipeline] lock 18:00:09 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-185-stack-cost] 18:00:09 Resource [jenkins-edgexfoundry-device-onvif-camera-main-185-stack-cost] did not exist. Created. 18:00:09 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-185-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:00:09 + echo total: 0.2199999988079071 [Pipeline] stash 18:00:09 Stashed 1 file(s) [Pipeline] } 18:00:09 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-185-stack-cost] [Pipeline] // lock [Pipeline] } 18:00:09 $ docker stop --time=1 66b5b90ad58bd528ec6c82d60eb255fd1f3258015abc97ff335d5d48f0279c80 18:00:09 c4a7e357bf2a: Pull complete 18:00:09 f0e02332f6b5: Pull complete 18:00:09 872ee5b61b7b: Pull complete 18:00:11 $ docker rm -f --volumes 66b5b90ad58bd528ec6c82d60eb255fd1f3258015abc97ff335d5d48f0279c80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:00:18 0c6a40ed1a82: Pull complete 18:00:19 94ae7d8d031c: Pull complete 18:00:19 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 18:00:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:00:19 ---> 86de565de09d 18:00:19 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:00:21 ---> Running in 1a489fd5d2ce 18:00:21 Removing intermediate container 1a489fd5d2ce 18:00:21 ---> 491a1640cdaa 18:00:21 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:00:21 ---> Running in 33d5774deaf1 18:00:21 Removing intermediate container 33d5774deaf1 18:00:21 ---> 66a71af3e666 18:00:21 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 18:00:21 ---> Running in 21387e77729b 18:00:22 Removing intermediate container 21387e77729b 18:00:22 ---> 694e5ddecb0c 18:00:22 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 18:00:22 ---> Running in 562209f64bef 18:00:22 Removing intermediate container 562209f64bef 18:00:22 ---> db3f89055afd 18:00:22 Step 7/13 : LABEL Name=edgex-device-onvif-camera 18:00:22 ---> Running in df34a3ffa797 18:00:23 Removing intermediate container df34a3ffa797 18:00:23 ---> 94f902a2009d 18:00:23 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:00:23 ---> Running in 89a535433050 18:00:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:00:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:00:25 OK: 266 MiB in 52 packages 18:00:26 Removing intermediate container 89a535433050 18:00:26 ---> a1ef0323d94b 18:00:26 Step 9/13 : WORKDIR /device-onvif-camera 18:00:26 ---> Running in b101cee2d467 18:00:27 Removing intermediate container b101cee2d467 18:00:27 ---> f177df7be3de 18:00:27 Step 10/13 : COPY go.mod vendor* ./ 18:00:27 ---> fde96b059e97 18:00:27 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:00:27 ---> Running in 7b9d5b343bb3 18:01:52 Removing intermediate container 7b9d5b343bb3 18:01:52 ---> dffa07890083 18:01:52 Step 12/13 : COPY . . 18:01:52 ---> 89c1727b612d 18:01:52 Step 13/13 : RUN ${MAKE} 18:01:52 ---> Running in 3ceb8000faa0 18:01:52 noop 18:01:52 Removing intermediate container 3ceb8000faa0 18:01:52 ---> b322f9efcd5f 18:01:52 Successfully built b322f9efcd5f 18:01:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:52 + docker inspect -f . ci-base-image-arm64 18:01:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:01:52 prd-ubuntu20.04-docker-arm64-4c-16g-18126 does not seem to be running inside a container 18:01:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/185 -v /w/workspace/device-onvif-camera/185:/w/workspace/device-onvif-camera/185:rw,z -v /w/workspace/device-onvif-camera/185@tmp:/w/workspace/device-onvif-camera/185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:01:57 $ docker top 3648093d468fb7f0938c1d1b384c22711d38bdaaff8d517374f329d4973396d6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:01:58 + go version 18:01:58 go version go1.21.0 linux/arm64 [Pipeline] } 18:01:58 $ docker stop --time=1 3648093d468fb7f0938c1d1b384c22711d38bdaaff8d517374f329d4973396d6 18:02:00 $ docker rm -f --volumes 3648093d468fb7f0938c1d1b384c22711d38bdaaff8d517374f329d4973396d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:00 + docker inspect -f . ci-base-image-arm64 18:02:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:02:01 prd-ubuntu20.04-docker-arm64-4c-16g-18126 does not seem to be running inside a container 18:02:01 $ 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/185 -v /w/workspace/device-onvif-camera/185:/w/workspace/device-onvif-camera/185:rw,z -v /w/workspace/device-onvif-camera/185@tmp:/w/workspace/device-onvif-camera/185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:02:02 $ docker top eb2311d7d11e20a80344831aa4dfcccb281dd2dc63d0c79e387881a8d1c5d647 -eo pid,comm [Pipeline] { [Pipeline] sh 18:02:03 + git config --global --add safe.directory /w/workspace/device-onvif-camera/185 [Pipeline] fileExists [Pipeline] sh 18:02:03 + make test 18:02:03 go test ./... -coverprofile=coverage.out ./... 18:02:07 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:03:44 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:03:44 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:03:44 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.190s coverage: 31.5% of statements 18:04:02 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 19.943s coverage: 86.5% of statements 18:04:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:04:02 go vet ./... 18:04:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:04:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:04:29 ./bin/test-attribution-txt.sh [Pipeline] echo 18:04:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:04:29 $ docker stop --time=1 eb2311d7d11e20a80344831aa4dfcccb281dd2dc63d0c79e387881a8d1c5d647 18:04:31 $ docker rm -f --volumes eb2311d7d11e20a80344831aa4dfcccb281dd2dc63d0c79e387881a8d1c5d647 [Pipeline] // withDockerContainer [Pipeline] sh 18:04:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:04:32 Warning: overwriting stash ‘coverage-report’ 18:04:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:04:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:04:34 + ls -al . 18:04:34 total 236 18:04:34 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 18:02 . 18:04:34 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 17:59 .. 18:04:34 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 17:59 .git 18:04:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 17:59 .github 18:04:34 -rw-rw-r-- 1 jenkins jenkins 493 Nov 15 17:59 .gitignore 18:04:34 -rw-rw-r-- 1 jenkins jenkins 42 Nov 15 17:59 .golangci.yml 18:04:34 -rw-rw-r-- 1 jenkins jenkins 11155 Nov 15 17:59 Attribution.txt 18:04:34 -rw-rw-r-- 1 jenkins jenkins 17665 Nov 15 17:59 CHANGELOG.md 18:04:34 -rw-rw-r-- 1 jenkins jenkins 1683 Nov 15 17:59 Dockerfile 18:04:34 -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 17:59 GOVERNANCE.md 18:04:34 -rw-rw-r-- 1 jenkins jenkins 739 Nov 15 17:59 Jenkinsfile 18:04:34 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 15 17:59 LICENSE 18:04:34 -rw-rw-r-- 1 jenkins jenkins 2877 Nov 15 17:59 Makefile 18:04:34 -rw-rw-r-- 1 jenkins jenkins 625 Nov 15 17:59 OWNERS.md 18:04:34 -rw-rw-r-- 1 jenkins jenkins 2620 Nov 15 17:59 README.md 18:04:34 -rw-rw-r-- 1 jenkins jenkins 12 Nov 15 17:57 VERSION 18:04:34 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 17:59 bin 18:04:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 17:59 cmd 18:04:34 -rw-r--r-- 1 jenkins jenkins 78456 Nov 15 18:03 coverage.out 18:04:34 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 17:59 doc 18:04:34 -rw-rw-r-- 1 jenkins jenkins 4040 Nov 15 17:59 go.mod 18:04:34 -rw-rw-r-- 1 jenkins jenkins 35594 Nov 15 17:59 go.sum 18:04:34 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 17:59 internal 18:04:34 -rw-rw-r-- 1 jenkins jenkins 236 Nov 15 17:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:34 + 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=1a885dea823655429c4e0c6a767a18e3aa90292d --label arch=arm64 --label version=3.1.0-dev.28 . 18:04:35 Sending build context to Docker daemon 14.29MB 18:04:35 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 18:04:35 Step 2/27 : FROM ${BASE} AS builder 18:04:35 ---> b322f9efcd5f 18:04:35 Step 3/27 : ARG ADD_BUILD_TAGS="" 18:04:35 ---> Running in ebcf2e6eb54b 18:04:35 Removing intermediate container ebcf2e6eb54b 18:04:35 ---> 3a1d4710d547 18:04:35 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:04:35 ---> Running in 15af2b53d87d 18:04:35 Removing intermediate container 15af2b53d87d 18:04:35 ---> e682cb6b1c93 18:04:35 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 18:04:35 ---> Running in 433b6724a92b 18:04:36 Removing intermediate container 433b6724a92b 18:04:36 ---> ddb53a177b64 18:04:36 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 18:04:36 ---> Running in 6c5722c2c100 18:04:36 Removing intermediate container 6c5722c2c100 18:04:36 ---> 84822ad79986 18:04:36 Step 7/27 : LABEL Name=edgex-device-onvif-camera 18:04:36 ---> Running in 53c6bc120ade 18:04:36 Removing intermediate container 53c6bc120ade 18:04:36 ---> ea470a1bd610 18:04:36 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:04:36 ---> Running in 352560a20559 18:04:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:04:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:04:39 OK: 266 MiB in 52 packages 18:04:40 Removing intermediate container 352560a20559 18:04:40 ---> b62441d1d837 18:04:40 Step 9/27 : WORKDIR /device-onvif-camera 18:04:40 ---> Running in 773cfb34af94 18:04:40 Removing intermediate container 773cfb34af94 18:04:40 ---> 34be0e6c8946 18:04:40 Step 10/27 : COPY go.mod vendor* ./ 18:04:41 ---> 31ce9f613871 18:04:41 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:04:41 ---> Running in e1c71042c5d9 18:04:43 Removing intermediate container e1c71042c5d9 18:04:43 ---> 9563d1b64530 18:04:43 Step 12/27 : COPY . . 18:04:45 ---> 9f33c3ba9ee9 18:04:45 Step 13/27 : RUN ${MAKE} 18:04:45 ---> Running in 3eb5ff55318e 18:04:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.28 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 18:06:37 Removing intermediate container 3eb5ff55318e 18:06:37 ---> a272e5da8d5b 18:06:37 Step 14/27 : FROM alpine:3.18 18:06:37 3.18: Pulling from library/alpine 18:06:37 579b34f0a95b: Pulling fs layer 18:06:37 579b34f0a95b: Verifying Checksum 18:06:37 579b34f0a95b: Download complete 18:06:37 579b34f0a95b: Pull complete 18:06:37 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:06:37 Status: Downloaded newer image for alpine:3.18 18:06:37 ---> 3cc203321400 18:06:37 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 18:06:37 ---> Running in 266acb97db27 18:06:37 Removing intermediate container 266acb97db27 18:06:37 ---> 11e1010cbcac 18:06:37 Step 16/27 : RUN apk add --update --no-cache dumb-init 18:06:37 ---> Running in 8c8db6bc30e5 18:06:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:06:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:06:37 (1/1) Installing dumb-init (1.2.5-r2) 18:06:37 Executing busybox-1.36.1-r2.trigger 18:06:37 OK: 8 MiB in 16 packages 18:06:37 Removing intermediate container 8c8db6bc30e5 18:06:37 ---> 47d8327bb935 18:06:37 Step 17/27 : RUN apk --no-cache upgrade 18:06:37 ---> Running in 99058bbba98d 18:06:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:06:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:06:40 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 18:06:40 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 18:06:40 Executing busybox-1.36.1-r5.post-upgrade 18:06:40 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 18:06:40 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 18:06:40 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 18:06:40 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 18:06:40 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 18:06:40 Executing busybox-1.36.1-r5.trigger 18:06:40 OK: 8 MiB in 16 packages 18:06:41 Removing intermediate container 99058bbba98d 18:06:41 ---> c5862e63226e 18:06:41 Step 18/27 : WORKDIR / 18:06:41 ---> Running in cc6125b2cf6f 18:06:42 Removing intermediate container cc6125b2cf6f 18:06:42 ---> 4b904a86e840 18:06:42 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 18:06:46 ---> 9f18dd3b5b2c 18:06:46 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 18:06:46 ---> bf1f87bdd263 18:06:46 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:06:46 ---> 2243ba29ff74 18:06:46 Step 22/27 : EXPOSE 59984 18:06:46 ---> Running in 33a43e73d990 18:06:47 Removing intermediate container 33a43e73d990 18:06:47 ---> e3bea12c0779 18:06:47 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 18:06:47 ---> Running in 6a69e0be5db8 18:06:47 Removing intermediate container 6a69e0be5db8 18:06:47 ---> 7ee77c78ed7d 18:06:47 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:06:47 ---> Running in f6f2803e761d 18:06:47 Removing intermediate container f6f2803e761d 18:06:47 ---> a797183dc769 18:06:47 Step 25/27 : LABEL arch=arm64 18:06:47 ---> Running in 89fe97c2027b 18:06:48 Removing intermediate container 89fe97c2027b 18:06:48 ---> a040ae5538d2 18:06:48 Step 26/27 : LABEL git_sha=1a885dea823655429c4e0c6a767a18e3aa90292d 18:06:48 ---> Running in 19199012c5cf 18:06:48 Removing intermediate container 19199012c5cf 18:06:48 ---> b392de190abf 18:06:48 Step 27/27 : LABEL version=3.1.0-dev.28 18:06:48 ---> Running in 5588b7a871bc 18:06:48 Removing intermediate container 5588b7a871bc 18:06:48 ---> 511c26e202b4 18:06:48 [Warning] One or more build-args [ARCH] were not consumed 18:06:48 Successfully built 511c26e202b4 18:06:48 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 18:06:48 provisioning config files... 18:06:48 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/185@tmp/config14224457089648199519tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:06:49 ---> docker-login.sh 18:06:49 nexus3.edgexfoundry.org:10001 18:06:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:49 Configure a credential helper to remove this warning. See 18:06:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:49 18:06:49 Login Succeeded 18:06:49 nexus3.edgexfoundry.org:10002 18:06:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:49 Configure a credential helper to remove this warning. See 18:06:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:49 18:06:49 Login Succeeded 18:06:49 nexus3.edgexfoundry.org:10003 18:06:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:50 Configure a credential helper to remove this warning. See 18:06:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:50 18:06:50 Login Succeeded 18:06:50 nexus3.edgexfoundry.org:10004 18:06:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:50 Configure a credential helper to remove this warning. See 18:06:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:50 18:06:50 Login Succeeded 18:06:50 docker.io 18:06:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:51 Configure a credential helper to remove this warning. See 18:06:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:51 18:06:51 Login Succeeded 18:06:51 ---> docker-login.sh ends [Pipeline] } 18:06:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:06:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:06:51 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 18:06:51 1a885dea823655429c4e0c6a767a18e3aa90292d 18:06:51 latest 18:06:51 3.1.0-dev.28 18:06:51 1a885dea823655429c4e0c6a767a18e3aa90292d-3.1.0-dev.28 18:06:51 main 18:06:51 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:51 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:1a885dea823655429c4e0c6a767a18e3aa90292d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:51 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:1a885dea823655429c4e0c6a767a18e3aa90292d 18:06:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:06:51 5ed4b460e6d3: Preparing 18:06:51 562defe41569: Preparing 18:06:51 967486491c9a: Preparing 18:06:51 40238664e84e: Preparing 18:06:51 aea1e7a479d9: Preparing 18:06:51 5f4d9fc4d98d: Preparing 18:06:51 5f4d9fc4d98d: Waiting 18:06:52 5ed4b460e6d3: Pushed 18:06:52 562defe41569: Pushed 18:06:52 aea1e7a479d9: Pushed 18:06:52 5f4d9fc4d98d: Layer already exists 18:06:53 40238664e84e: Pushed 18:06:59 967486491c9a: Pushed 18:07:00 1a885dea823655429c4e0c6a767a18e3aa90292d: digest: sha256:208c2e2b041332245af08fb191f1099af58548a1afac5ad631b918280b32bda0 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:00 + 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 18:07:01 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 18:07:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:07:01 5ed4b460e6d3: Preparing 18:07:01 562defe41569: Preparing 18:07:01 967486491c9a: Preparing 18:07:01 40238664e84e: Preparing 18:07:01 aea1e7a479d9: Preparing 18:07:01 5f4d9fc4d98d: Preparing 18:07:01 5f4d9fc4d98d: Waiting 18:07:01 967486491c9a: Layer already exists 18:07:01 5ed4b460e6d3: Layer already exists 18:07:01 562defe41569: Layer already exists 18:07:01 aea1e7a479d9: Layer already exists 18:07:01 40238664e84e: Layer already exists 18:07:01 5f4d9fc4d98d: Layer already exists 18:07:01 latest: digest: sha256:208c2e2b041332245af08fb191f1099af58548a1afac5ad631b918280b32bda0 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:01 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:02 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.28 18:07:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:07:02 5ed4b460e6d3: Preparing 18:07:02 562defe41569: Preparing 18:07:02 967486491c9a: Preparing 18:07:02 40238664e84e: Preparing 18:07:02 aea1e7a479d9: Preparing 18:07:02 5f4d9fc4d98d: Preparing 18:07:02 5f4d9fc4d98d: Waiting 18:07:02 967486491c9a: Layer already exists 18:07:02 40238664e84e: Layer already exists 18:07:02 aea1e7a479d9: Layer already exists 18:07:02 562defe41569: Layer already exists 18:07:02 5ed4b460e6d3: Layer already exists 18:07:02 5f4d9fc4d98d: Layer already exists 18:07:02 3.1.0-dev.28: digest: sha256:208c2e2b041332245af08fb191f1099af58548a1afac5ad631b918280b32bda0 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:02 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:1a885dea823655429c4e0c6a767a18e3aa90292d-3.1.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:03 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:1a885dea823655429c4e0c6a767a18e3aa90292d-3.1.0-dev.28 18:07:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:07:03 5ed4b460e6d3: Preparing 18:07:03 562defe41569: Preparing 18:07:03 967486491c9a: Preparing 18:07:03 40238664e84e: Preparing 18:07:03 aea1e7a479d9: Preparing 18:07:03 5f4d9fc4d98d: Preparing 18:07:03 5f4d9fc4d98d: Waiting 18:07:03 562defe41569: Layer already exists 18:07:03 aea1e7a479d9: Layer already exists 18:07:03 40238664e84e: Layer already exists 18:07:03 967486491c9a: Layer already exists 18:07:03 5ed4b460e6d3: Layer already exists 18:07:03 5f4d9fc4d98d: Layer already exists 18:07:03 1a885dea823655429c4e0c6a767a18e3aa90292d-3.1.0-dev.28: digest: sha256:208c2e2b041332245af08fb191f1099af58548a1afac5ad631b918280b32bda0 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:03 + 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 18:07:04 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 18:07:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:07:04 5ed4b460e6d3: Preparing 18:07:04 562defe41569: Preparing 18:07:04 967486491c9a: Preparing 18:07:04 40238664e84e: Preparing 18:07:04 aea1e7a479d9: Preparing 18:07:04 5f4d9fc4d98d: Preparing 18:07:04 5f4d9fc4d98d: Waiting 18:07:04 40238664e84e: Layer already exists 18:07:04 aea1e7a479d9: Layer already exists 18:07:04 967486491c9a: Layer already exists 18:07:04 5ed4b460e6d3: Layer already exists 18:07:04 562defe41569: Layer already exists 18:07:04 5f4d9fc4d98d: Layer already exists 18:07:04 main: digest: sha256:208c2e2b041332245af08fb191f1099af58548a1afac5ad631b918280b32bda0 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:07:04 ===================================================== [Pipeline] echo 18:07:04 taggedImages: 18:07:04 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:1a885dea823655429c4e0c6a767a18e3aa90292d 18:07:04 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 18:07:04 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.28 18:07:04 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:1a885dea823655429c4e0c6a767a18e3aa90292d-3.1.0-dev.28 18:07:04 - 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 18:07:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:07:04 18:07:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:07:05 arm64: Pulling from edgex-lftools-log-publisher 18:07:05 8998bd30e6a1: Pulling fs layer 18:07:05 04944245beec: Pulling fs layer 18:07:05 699f458cf7ca: Pulling fs layer 18:07:05 765212b225bb: Pulling fs layer 18:07:05 f23df028b6ca: Pulling fs layer 18:07:05 d65c8cfc05b1: Pulling fs layer 18:07:05 2437ff75d9bd: Pulling fs layer 18:07:05 765212b225bb: Waiting 18:07:05 f23df028b6ca: Waiting 18:07:05 d65c8cfc05b1: Waiting 18:07:05 2437ff75d9bd: Waiting 18:07:05 04944245beec: Verifying Checksum 18:07:05 04944245beec: Download complete 18:07:05 765212b225bb: Verifying Checksum 18:07:05 765212b225bb: Download complete 18:07:05 f23df028b6ca: Verifying Checksum 18:07:05 f23df028b6ca: Download complete 18:07:05 d65c8cfc05b1: Download complete 18:07:05 699f458cf7ca: Verifying Checksum 18:07:05 699f458cf7ca: Download complete 18:07:05 8998bd30e6a1: Verifying Checksum 18:07:05 8998bd30e6a1: Download complete 18:07:08 2437ff75d9bd: Verifying Checksum 18:07:08 2437ff75d9bd: Download complete 18:07:13 8998bd30e6a1: Pull complete 18:07:14 04944245beec: Pull complete 18:07:16 699f458cf7ca: Pull complete 18:07:16 765212b225bb: Pull complete 18:07:16 f23df028b6ca: Pull complete 18:07:17 d65c8cfc05b1: Pull complete 18:07:35 2437ff75d9bd: Pull complete 18:07:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:07:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:07:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:35 prd-ubuntu20.04-docker-arm64-4c-16g-18126 does not seem to be running inside a container 18:07:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/185 -v /w/workspace/device-onvif-camera/185:/w/workspace/device-onvif-camera/185:rw,z -v /w/workspace/device-onvif-camera/185@tmp:/w/workspace/device-onvif-camera/185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:07:38 $ docker top 913b462a384d9a4aff8ef95b409561e36d227c5d87a94a5a2c5e2fbd0bc770f1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:07:38 ---> job-cost.sh 18:07:38 lf-activate-venv: SKIPPING 18:07:38 INFO: No Stack... 18:07:39 INFO: Retrieving Pricing Info for: v3-standard-4 18:07:40 INFO: Archiving Costs [Pipeline] sh 18:07:40 + cat /w/workspace/device-onvif-camera/185/archives/cost.csv 18:07:40 + cut -d, -f6 [Pipeline] lock 18:07:40 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-185-stack-cost] 18:07:40 Resource [jenkins-edgexfoundry-device-onvif-camera-main-185-stack-cost] did not exist. Created. 18:07:40 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-185-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:07:41 /w/workspace/device-onvif-camera/185@tmp/durable-d48a582d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:07:42 + echo total: 0.10999999940395355 [Pipeline] stash 18:07:42 Warning: overwriting stash ‘stack-cost’ 18:07:42 Stashed 1 file(s) [Pipeline] } 18:07:42 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-185-stack-cost] [Pipeline] // lock [Pipeline] } 18:07:42 $ docker stop --time=1 913b462a384d9a4aff8ef95b409561e36d227c5d87a94a5a2c5e2fbd0bc770f1 18:07:43 $ docker rm -f --volumes 913b462a384d9a4aff8ef95b409561e36d227c5d87a94a5a2c5e2fbd0bc770f1 [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 18:07:44 provisioning config files... 18:07:44 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3376350014915482985tmp [Pipeline] { [Pipeline] sh 18:07:44 + set +x 18:07:44 + + bash -s -- 18:07:44 curl -s https://codecov.io/bash 18:07:44 18:07:44 _____ _ 18:07:44 / ____| | | 18:07:44 | | ___ __| | ___ ___ _____ __ 18:07:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:07:44 | |___| (_) | (_| | __/ (_| (_) \ V / 18:07:44 \_____\___/ \__,_|\___|\___\___/ \_/ 18:07:44 Bash-1.0.6 18:07:44 18:07:44 18:07:44 ==> git version 2.25.1 found 18:07:44 ==> 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 18:07:44 Release-Date: 2020-01-08 18:07:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:07:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:07:44 ==> Jenkins CI detected. 18:07:44 current dir:  /w/workspace/foundry_device-onvif-camera_main 18:07:44 project root: . 18:07:44 --> token set from env 18:07:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:07:44 ==> Running gcov in . (disable via -X gcov) 18:07:44 ==> Python coveragepy not found 18:07:44 ==> Searching for coverage reports in: 18:07:44 + . 18:07:44 -> Found 1 reports 18:07:44 ==> Detecting git/mercurial file structure 18:07:44 ==> Reading reports 18:07:44 + ./coverage.out bytes=78456 18:07:44 ==> Appending adjustments 18:07:44 https://docs.codecov.io/docs/fixing-reports 18:07:44 + Found adjustments 18:07:44 ==> Gzipping contents 18:07:44 12K /tmp/codecov.DrkgVi.gz 18:07:44 ==> Uploading reports 18:07:44 url: https://codecov.io 18:07:44 query: branch=main&commit=1a885dea823655429c4e0c6a767a18e3aa90292d&build=185&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F185%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:07:44 -> Pinging Codecov 18:07:44 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=1a885dea823655429c4e0c6a767a18e3aa90292d&build=185&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F185%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:07:44 -> Uploading to 18:07:44 https://storage.googleapis.com/codecov/v4/raw/2023-11-15/F29A59C45E3A92E06B3E522C9905F8EF/1a885dea823655429c4e0c6a767a18e3aa90292d/a8be1d1c-f653-4dc5-a4d4-0408a3375601.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231115T180744Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8803125397360abea1239e0642d6f5dfe5bd6f526e07864106d5c88d230bf24b 18:07:44 % Total % Received % Xferd Average Speed Time Time Time Current 18:07:44 Dload Upload Total Spent Left Speed 18:07:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 42016 --:--:-- --:--:-- --:--:-- 42016 18:07:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/1a885dea823655429c4e0c6a767a18e3aa90292d [Pipeline] } 18:07:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:07:45 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:07:45 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:07:45 18:07:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:07:45 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:07:45 df9b9388f04a: Pulling fs layer 18:07:45 52dc419b0ee2: Pulling fs layer 18:07:45 25bc292e5bac: Pulling fs layer 18:07:45 114826534d7a: Pulling fs layer 18:07:45 4657fd5d0bcf: Pulling fs layer 18:07:45 6ad1cebc031e: Pulling fs layer 18:07:45 8a3aa393b2d8: Pulling fs layer 18:07:45 4657fd5d0bcf: Waiting 18:07:45 6ad1cebc031e: Waiting 18:07:45 8a3aa393b2d8: Waiting 18:07:45 114826534d7a: Waiting 18:07:45 25bc292e5bac: Download complete 18:07:45 52dc419b0ee2: Download complete 18:07:45 4657fd5d0bcf: Download complete 18:07:45 df9b9388f04a: Download complete 18:07:46 6ad1cebc031e: Verifying Checksum 18:07:46 6ad1cebc031e: Download complete 18:07:46 df9b9388f04a: Pull complete 18:07:46 52dc419b0ee2: Pull complete 18:07:46 25bc292e5bac: Pull complete 18:07:46 114826534d7a: Verifying Checksum 18:07:46 114826534d7a: Download complete 18:07:46 8a3aa393b2d8: Verifying Checksum 18:07:46 8a3aa393b2d8: Download complete 18:07:50 114826534d7a: Pull complete 18:07:50 4657fd5d0bcf: Pull complete 18:07:50 6ad1cebc031e: Pull complete 18:07:53 8a3aa393b2d8: Pull complete 18:07:53 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:07:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:07:53 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:54 prd-ubuntu20.04-docker-8c-8g-18125 does not seem to be running inside a container 18:07:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 18:07:59 $ docker top 13d95d1251c95db3016df563653a0218e8dd181368fba05df861cd1814409dd7 -eo pid,comm [Pipeline] { [Pipeline] echo 18:07:59 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 18:07:59 + set -o pipefail 18:07:59 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 18:08:05 18:08:05 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 18:08:05 18:08:05 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/57046f37-7676-489d-b2c4-7f0dc5d93a1c 18:08:05 18:08:05 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:08:05 18:08:05 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:08:05 18:08:05 18:08:05 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:08:05 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:08:05 More details here: https://snyk.co/ue1NS [Pipeline] } 18:08:05 $ docker stop --time=1 13d95d1251c95db3016df563653a0218e8dd181368fba05df861cd1814409dd7 18:08:10 $ docker rm -f --volumes 13d95d1251c95db3016df563653a0218e8dd181368fba05df861cd1814409dd7 [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 18:08:10 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:08:10 provisioning config files... 18:08:10 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16187266943689847609tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:08:10 --> edgex-publish-swagger.sh 18:08:10 === Publish doc/openapi/v3 API === 18:08:10 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 18:08:10 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 18:08:10 % Total % Received % Xferd Average Speed Time Time Time Current 18:08:10 Dload Upload Total Spent Left Speed 18:08:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 0 0 100 485k 0 795k --:--:-- --:--:-- --:--:-- 795k 18:08:11 18:08:11 [Pipeline] } 18:08:11 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 18:08:11 + git log --format=format:%s -1 1a885dea823655429c4e0c6a767a18e3aa90292d [Pipeline] sh 18:08:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:08:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:08:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:08:12 prd-ubuntu20.04-docker-8c-8g-18125 does not seem to be running inside a container 18:08:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:08:12 $ docker top 26726672658b28e6881fba71c7cf3dacc097eeae5a01a84c45114339dab658f7 -eo pid,comm 18:08:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:08:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:08:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:08:12 [ssh-agent] Looking for ssh-agent implementation... 18:08:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:08:13 $ docker exec 26726672658b28e6881fba71c7cf3dacc097eeae5a01a84c45114339dab658f7 ssh-agent 18:08:13 SSH_AUTH_SOCK=/tmp/ssh-HM8ncIJwIY5t/agent.32 18:08:13 SSH_AGENT_PID=38 18:08:13 Running ssh-add (command line suppressed) 18:08:13 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13157559076158424736.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13157559076158424736.key) 18:08:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:08:13 + git semver tag 18:08:13 2023-11-15 18:08:13,768 [run_tag] DEBUG tag force:False 18:08:13 2023-11-15 18:08:13,768 [check_head_tag] DEBUG check head tag 18:08:13 2023-11-15 18:08:13,769 [execute] INFO git cat-file --batch-check 18:08:13 2023-11-15 18:08:13,769 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 18:08:13 2023-11-15 18:08:13,774 [execute] INFO git cat-file --batch 18:08:13 2023-11-15 18:08:13,774 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 18:08:13 2023-11-15 18:08:13,787 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:08:13 2023-11-15 18:08:13,787 [execute] INFO git tag -a v3.1.0-dev.28 -m v3.1.0-dev.28 18:08:13 2023-11-15 18:08:13,787 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.28', '-m', 'v3.1.0-dev.28'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 18:08:13 2023-11-15 18:08:13,792 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:08:13 3.1.0-dev.28 [Pipeline] } 18:08:13 $ docker exec --env ******** --env ******** 26726672658b28e6881fba71c7cf3dacc097eeae5a01a84c45114339dab658f7 ssh-agent -k 18:08:13 unset SSH_AUTH_SOCK; 18:08:13 unset SSH_AGENT_PID; 18:08:13 echo Agent pid 38 killed; 18:08:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:08:14 + git semver [Pipeline] } 18:08:14 $ docker stop --time=1 26726672658b28e6881fba71c7cf3dacc097eeae5a01a84c45114339dab658f7 18:08:15 $ docker rm -f --volumes 26726672658b28e6881fba71c7cf3dacc097eeae5a01a84c45114339dab658f7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:08:16 18:08:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:08:16 0.23.1-centos7: Pulling from edgex-lftools 18:08:16 ab5ef0e58194: Pulling fs layer 18:08:16 9712f1f96733: Pulling fs layer 18:08:16 63f879dbbcfc: Pulling fs layer 18:08:16 0d9ebad4ef96: Pulling fs layer 18:08:16 e9a5061849ea: Pulling fs layer 18:08:16 d747dcd14b5f: Pulling fs layer 18:08:16 2de7ff778b66: Pulling fs layer 18:08:16 0d9ebad4ef96: Waiting 18:08:16 2de7ff778b66: Waiting 18:08:16 e9a5061849ea: Waiting 18:08:16 9712f1f96733: Download complete 18:08:16 63f879dbbcfc: Verifying Checksum 18:08:16 63f879dbbcfc: Download complete 18:08:16 e9a5061849ea: Verifying Checksum 18:08:16 e9a5061849ea: Download complete 18:08:16 d747dcd14b5f: Download complete 18:08:16 ab5ef0e58194: Verifying Checksum 18:08:16 ab5ef0e58194: Download complete 18:08:16 0d9ebad4ef96: Verifying Checksum 18:08:16 0d9ebad4ef96: Download complete 18:08:17 2de7ff778b66: Verifying Checksum 18:08:17 2de7ff778b66: Download complete 18:08:19 ab5ef0e58194: Pull complete 18:08:19 9712f1f96733: Pull complete 18:08:20 63f879dbbcfc: Pull complete 18:08:24 0d9ebad4ef96: Pull complete 18:08:24 e9a5061849ea: Pull complete 18:08:24 d747dcd14b5f: Pull complete 18:08:25 2de7ff778b66: Pull complete 18:08:25 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:08:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:08:25 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:08:25 prd-ubuntu20.04-docker-8c-8g-18125 does not seem to be running inside a container 18:08:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:08:31 $ docker top 03033c27cfa068daae022817038bbe8076e04172c9e6c83420d890856bbeef3c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:08:31 provisioning config files... 18:08:31 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7590239065477360694tmp 18:08:31 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17838077279739425534tmp 18:08:31 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12482509792003295416tmp [Pipeline] { [Pipeline] echo 18:08:31 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:08:31 ---> sigul-configuration.sh 18:08:31 gpg: directory `/root/.gnupg' created 18:08:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:08:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:08:31 gpg: keyring `/root/.gnupg/secring.gpg' created 18:08:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:08:31 gpg: CAST5 encrypted data 18:08:31 gpg: encrypted with 1 passphrase 18:08:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:08:32 + mkdir /home/jenkins 18:08:32 + mkdir /home/jenkins/sigul [Pipeline] sh 18:08:32 + 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 18:08:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:08:32 ---> sigul-install.sh 18:08:32 Sigul already installed; skipping installation. [Pipeline] sh 18:08:32 + git tag --list 18:08:32 v0.0.0 18:08:32 v2.2.0 18:08:32 v2.3.0 18:08:32 v2.3.1 18:08:32 v3.0 18:08:32 v3.0.0 18:08:32 v3.1.0-dev.1 18:08:32 v3.1.0-dev.10 18:08:32 v3.1.0-dev.11 18:08:32 v3.1.0-dev.12 18:08:32 v3.1.0-dev.13 18:08:32 v3.1.0-dev.14 18:08:32 v3.1.0-dev.15 18:08:32 v3.1.0-dev.16 18:08:32 v3.1.0-dev.17 18:08:32 v3.1.0-dev.18 18:08:32 v3.1.0-dev.19 18:08:32 v3.1.0-dev.2 18:08:32 v3.1.0-dev.20 18:08:32 v3.1.0-dev.21 18:08:32 v3.1.0-dev.22 18:08:32 v3.1.0-dev.23 18:08:32 v3.1.0-dev.24 18:08:32 v3.1.0-dev.25 18:08:32 v3.1.0-dev.26 18:08:32 v3.1.0-dev.27 18:08:32 v3.1.0-dev.28 18:08:32 v3.1.0-dev.3 18:08:32 v3.1.0-dev.4 18:08:32 v3.1.0-dev.5 18:08:32 v3.1.0-dev.6 18:08:32 v3.1.0-dev.7 18:08:32 v3.1.0-dev.8 18:08:32 v3.1.0-dev.9 [Pipeline] sh 18:08:33 + lftools sign git-tag v3.1.0-dev.28 18:08:33 Signing Git tag with Sigul... 18:08:33 Signing v3.1.0-dev.28 [Pipeline] echo 18:08:34 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:08:34 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:08:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:08:34 $ docker stop --time=1 03033c27cfa068daae022817038bbe8076e04172c9e6c83420d890856bbeef3c 18:08:35 $ docker rm -f --volumes 03033c27cfa068daae022817038bbe8076e04172c9e6c83420d890856bbeef3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:08:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:08:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:08:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:08:36 prd-ubuntu20.04-docker-8c-8g-18125 does not seem to be running inside a container 18:08:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:08:36 $ docker top 34097705be6d366b5a817624639b8591e6aa0470634dfb66a81a28cb0adead45 -eo pid,comm 18:08:36 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:08:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:08:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:08:36 [ssh-agent] Looking for ssh-agent implementation... 18:08:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:08:36 $ docker exec 34097705be6d366b5a817624639b8591e6aa0470634dfb66a81a28cb0adead45 ssh-agent 18:08:37 SSH_AUTH_SOCK=/tmp/ssh-OREuG5ivSEeb/agent.32 18:08:37 SSH_AGENT_PID=38 18:08:37 Running ssh-add (command line suppressed) 18:08:37 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15381246596666318902.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15381246596666318902.key) 18:08:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:08:37 + git semver bump pre 18:08:37 2023-11-15 18:08:37,657 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:08:37 2023-11-15 18:08:37,657 [bump_version] DEBUG bumping version:3.1.0-dev.28 on axis:pre with prefix:dev 18:08:37 2023-11-15 18:08:37,657 [bump_version] DEBUG bumped version:3.1.0-dev.29 18:08:37 2023-11-15 18:08:37,657 [write_version] DEBUG write version:3.1.0-dev.29 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 18:08:37 2023-11-15 18:08:37,657 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:08:37 2023-11-15 18:08:37,657 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 18:08:37 2023-11-15 18:08:37,659 [execute] INFO git cat-file --batch-check 18:08:37 2023-11-15 18:08:37,659 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:08:37 2023-11-15 18:08:37,664 [execute] INFO git cat-file --batch 18:08:37 2023-11-15 18:08:37,665 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:08:37 2023-11-15 18:08:37,668 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:08:37 3.1.0-dev.29 [Pipeline] } 18:08:37 $ docker exec --env ******** --env ******** 34097705be6d366b5a817624639b8591e6aa0470634dfb66a81a28cb0adead45 ssh-agent -k 18:08:37 unset SSH_AUTH_SOCK; 18:08:37 unset SSH_AGENT_PID; 18:08:37 echo Agent pid 38 killed; 18:08:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:08:38 + git semver [Pipeline] } 18:08:38 $ docker stop --time=1 34097705be6d366b5a817624639b8591e6aa0470634dfb66a81a28cb0adead45 18:08:39 $ docker rm -f --volumes 34097705be6d366b5a817624639b8591e6aa0470634dfb66a81a28cb0adead45 [Pipeline] // withDockerContainer [Pipeline] sh 18:08:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:08:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:08:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:08:40 prd-ubuntu20.04-docker-8c-8g-18125 does not seem to be running inside a container 18:08:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:08:40 $ docker top 50baa13f5ee7301756ce150f9fc496176ea9084e221451f6f2da997c061bb6c1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:08:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:08:40 [ssh-agent] Looking for ssh-agent implementation... 18:08:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:08:41 $ docker exec 50baa13f5ee7301756ce150f9fc496176ea9084e221451f6f2da997c061bb6c1 ssh-agent 18:08:41 SSH_AUTH_SOCK=/tmp/ssh-C349jB6Brx1X/agent.32 18:08:41 SSH_AGENT_PID=38 18:08:41 Running ssh-add (command line suppressed) 18:08:41 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9633834969396124248.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9633834969396124248.key) 18:08:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:08:41 + git semver push 18:08:41 2023-11-15 18:08:41,784 [run_push] DEBUG push 18:08:41 2023-11-15 18:08:41,785 [execute] INFO git cat-file --batch-check 18:08:41 2023-11-15 18:08:41,785 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:08:41 2023-11-15 18:08:41,788 [execute] INFO git rev-list 3c128f3b12cbbafbb4f4b4d024538105f2d23ee3 -- 18:08:41 2023-11-15 18:08:41,789 [execute] DEBUG Popen(['git', 'rev-list', '3c128f3b12cbbafbb4f4b4d024538105f2d23ee3', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:08:41 2023-11-15 18:08:41,794 [execute] INFO git fetch -v origin 18:08:41 2023-11-15 18:08:41,795 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 18:08:42 2023-11-15 18:08:42,350 [run_push] DEBUG no remote changes detected 18:08:42 2023-11-15 18:08:42,351 [execute] INFO git push origin semver 18:08:42 2023-11-15 18:08:42,351 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:08:43 2023-11-15 18:08:43,138 [run_push] DEBUG push all version tags 18:08:43 2023-11-15 18:08:43,139 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:08:43 2023-11-15 18:08:43,139 [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) 18:08:43 2023-11-15 18:08:43,888 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:08:43 3.1.0-dev.29 [Pipeline] } 18:08:44 $ docker exec --env ******** --env ******** 50baa13f5ee7301756ce150f9fc496176ea9084e221451f6f2da997c061bb6c1 ssh-agent -k 18:08:44 unset SSH_AUTH_SOCK; 18:08:44 unset SSH_AGENT_PID; 18:08:44 echo Agent pid 38 killed; 18:08:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:08:44 + git semver [Pipeline] } 18:08:44 $ docker stop --time=1 50baa13f5ee7301756ce150f9fc496176ea9084e221451f6f2da997c061bb6c1 18:08:46 $ docker rm -f --volumes 50baa13f5ee7301756ce150f9fc496176ea9084e221451f6f2da997c061bb6c1 [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 18:08:46 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 18:08:46 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 18:08:46 total 16 18:08:46 drwxr-xr-x 3 root root 4096 Nov 15 18:00 . 18:08:46 drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 18:08 .. 18:08:46 drwxr-xr-x 2 root root 4096 Nov 15 18:00 cost 18:08:46 -rw-r--r-- 1 root root 91 Nov 15 18:00 cost.csv 18:08:46 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 18:08:46 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 18:08:46 total 16 18:08:46 drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 18:00 . 18:08:46 drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 18:08 .. 18:08:46 drwxr-xr-x 2 jenkins jenkins 4096 Nov 15 18:00 cost 18:08:46 -rw-r--r-- 1 jenkins jenkins 91 Nov 15 18:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:08:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:08:48 ---> package-listing.sh 18:08:48 ++ facter osfamily 18:08:48 ++ tr '[:upper:]' '[:lower:]' 18:08:48 + OS_FAMILY=debian 18:08:48 + workspace=/w/workspace/foundry_device-onvif-camera_main 18:08:48 + START_PACKAGES=/tmp/packages_start.txt 18:08:48 + END_PACKAGES=/tmp/packages_end.txt 18:08:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:08:48 + PACKAGES=/tmp/packages_start.txt 18:08:48 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 18:08:48 + PACKAGES=/tmp/packages_end.txt 18:08:48 + case "${OS_FAMILY}" in 18:08:48 + dpkg -l 18:08:48 + grep '^ii' 18:08:48 + '[' -f /tmp/packages_start.txt ']' 18:08:48 + '[' -f /tmp/packages_end.txt ']' 18:08:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:08:48 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 18:08:48 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 18:08:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 18:08:48 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:08:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:08:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:08:49 prd-ubuntu20.04-docker-8c-8g-18125 does not seem to be running inside a container 18:08:49 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:08:49 $ docker top c21fa1d47b24eb98862373f45101c7593ee5cd2caacd89f2f48814dbe3d05a66 -eo pid,comm [Pipeline] { [Pipeline] sh 18:08:49 + touch /tmp/pre-build-complete [Pipeline] sh 18:08:50 + mkdir -p /var/log/sysstat [Pipeline] sh 18:08:50 + ls /var/log/sa-host 18:08:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:08:50 provisioning config files... 18:08:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3773387890436688811tmp [Pipeline] { [Pipeline] echo 18:08:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:08:50 ---> create-netrc.sh [Pipeline] } 18:08:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:08:51 ---> python-tools-install.sh [Pipeline] echo 18:08:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:08:51 ---> sudo-logs.sh 18:08:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:08:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:08:51 ---> job-cost.sh 18:08:51 lf-activate-venv: SKIPPING 18:08:51 DEBUG: total: 0.2199999988079071 18:08:51 INFO: Retrieving Stack Cost... 18:08:52 INFO: Retrieving Pricing Info for: v3-standard-8 18:08:52 INFO: Archiving Costs [Pipeline] echo 18:08:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:08:53 ---> logs-deploy.sh 18:08:53 lf-activate-venv: SKIPPING 18:08:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/185 18:08:53 INFO: archiving workspace using pattern(s): 18:08:53 Archives upload complete. 18:08:53 INFO: archiving logs to Nexus