Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f9aa1e7837344c75d2a4d485c1648989cda54cfb 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-ssh14507610042464328645.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4349121412518352121.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16791580087002955810.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10359724110644466992.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-ssh3930454039758508196.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 ‘prd-centos7-blackbox-4c-2g-9694’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-9695’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-9982’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-9984’ is offline ‘prd-ubuntu20.04-docker-8c-8g-9985’ is offline ‘prd-ubuntu20.04-docker-8c-8g-9986’ is offline ‘prd-ubuntu20.04-docker-8c-8g-9987’ is offline Running on prd-ubuntu20.04-docker-8c-8g-9990 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 f9aa1e7837344c75d2a4d485c1648989cda54cfb (main) Commit message: "feat!: Remove snap packaging (#396)" > 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 f9aa1e7837344c75d2a4d485c1648989cda54cfb # timeout=10 > git rev-list --no-walk 9f8af1561b5eb46d905479fdb00b08d296bf7f63 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:10:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:11:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:11:00 ========================================================= 18:11:00 EdgeX Global Pipelines Version Info 18:11:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:11:00 ------------------- 18:11:00 stable info: 18:11:00 ------------------- 18:11:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:11:00 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 18:11:00 Message: update stable to v1.0.254 18:11:01 ------------------- 18:11:01 experimental info: 18:11:01 ------------------- 18:11:01 Commited By: **** collab-it+edgex@linuxfoundation.org 18:11:01 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 18:11:01 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:11:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 18:11:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 18:11:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:11:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:11:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:11:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:11:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 18:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:11:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:11:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:11:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:11:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:11:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:11:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:11:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:11:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 18:11:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:11:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:11:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:11:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:11:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:11:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:11:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:11:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:11:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f9aa1e7837344c75d2a4d485c1648989cda54cfb [Pipeline] echo 18:11:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f9aa1e7 [Pipeline] echo 18:11:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:11:02 provisioning config files... 18:11:02 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16091335531298755395tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:11:02 ---> docker-login.sh 18:11:02 nexus3.edgexfoundry.org:10001 18:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:02 Configure a credential helper to remove this warning. See 18:11:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:02 18:11:02 Login Succeeded 18:11:02 nexus3.edgexfoundry.org:10002 18:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:02 Configure a credential helper to remove this warning. See 18:11:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:02 18:11:02 Login Succeeded 18:11:02 nexus3.edgexfoundry.org:10003 18:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:03 Configure a credential helper to remove this warning. See 18:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:03 18:11:03 Login Succeeded 18:11:03 nexus3.edgexfoundry.org:10004 18:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:03 Configure a credential helper to remove this warning. See 18:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:03 18:11:03 Login Succeeded 18:11:03 docker.io 18:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:03 Configure a credential helper to remove this warning. See 18:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:03 18:11:03 Login Succeeded 18:11:03 ---> docker-login.sh ends [Pipeline] } 18:11:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:11:03 + git rev-list -1 --merges f9aa1e7837344c75d2a4d485c1648989cda54cfb~1..f9aa1e7837344c75d2a4d485c1648989cda54cfb [Pipeline] echo 18:11:03 -----------> git rev-list -1 --merges f9aa1e7837344c75d2a4d485c1648989cda54cfb~1..f9aa1e7837344c75d2a4d485c1648989cda54cfb f9aa1e7837344c75d2a4d485c1648989cda54cfb [false] [Pipeline] sh 18:11:03 + git log --format=format:%s -1 f9aa1e7837344c75d2a4d485c1648989cda54cfb [Pipeline] echo 18:11:03 ========================================================= 18:11:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:11:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:11:04 + git log --format=format:%s -1 f9aa1e7837344c75d2a4d485c1648989cda54cfb [Pipeline] echo 18:11:04 [semverPrep] GIT_COMMIT: f9aa1e7837344c75d2a4d485c1648989cda54cfb, Commit Message: feat!: Remove snap packaging (#396) [Pipeline] echo 18:11:04 [semverPrep] This is not a build commit. [Pipeline] sh 18:11:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:11:04 + grep -v github /etc/ssh/ssh_known_hosts 18:11:04 + [ -e /tmp/ssh_known_hosts ] 18:11:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:11:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:11:04 + sudo tee -a /etc/ssh/ssh_known_hosts 18:11:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:11:05 18:11:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:11:05 0.1.4: Pulling from edgex-devops/py-git-semver 18:11:05 b85a868b505f: Pulling fs layer 18:11:05 e2be974225ed: Pulling fs layer 18:11:05 339a4e72a1f5: Pulling fs layer 18:11:05 988bab9f4d93: Pulling fs layer 18:11:05 988bab9f4d93: Waiting 18:11:05 1469e6f7b9e6: Pulling fs layer 18:11:05 eaf3925da568: Pulling fs layer 18:11:05 bab4dde63d76: Pulling fs layer 18:11:05 bde34c3a00c8: Pulling fs layer 18:11:05 1469e6f7b9e6: Waiting 18:11:05 eaf3925da568: Waiting 18:11:05 bab4dde63d76: Waiting 18:11:05 b352a97aabf1: Pulling fs layer 18:11:05 bde34c3a00c8: Waiting 18:11:05 4872d77fe225: Pulling fs layer 18:11:05 5851b861e8e6: Pulling fs layer 18:11:05 4872d77fe225: Waiting 18:11:05 5851b861e8e6: Waiting 18:11:05 e2be974225ed: Download complete 18:11:05 988bab9f4d93: Verifying Checksum 18:11:05 988bab9f4d93: Download complete 18:11:05 1469e6f7b9e6: Verifying Checksum 18:11:05 1469e6f7b9e6: Download complete 18:11:05 339a4e72a1f5: Verifying Checksum 18:11:05 339a4e72a1f5: Download complete 18:11:05 eaf3925da568: Verifying Checksum 18:11:05 eaf3925da568: Download complete 18:11:05 bde34c3a00c8: Download complete 18:11:06 b352a97aabf1: Verifying Checksum 18:11:06 b352a97aabf1: Download complete 18:11:06 4872d77fe225: Download complete 18:11:06 5851b861e8e6: Verifying Checksum 18:11:06 5851b861e8e6: Download complete 18:11:06 b85a868b505f: Verifying Checksum 18:11:06 b85a868b505f: Download complete 18:11:06 bab4dde63d76: Verifying Checksum 18:11:06 bab4dde63d76: Download complete 18:11:07 b85a868b505f: Pull complete 18:11:07 e2be974225ed: Pull complete 18:11:08 339a4e72a1f5: Pull complete 18:11:08 988bab9f4d93: Pull complete 18:11:08 1469e6f7b9e6: Pull complete 18:11:08 eaf3925da568: Pull complete 18:11:10 bab4dde63d76: Pull complete 18:11:10 bde34c3a00c8: Pull complete 18:11:10 b352a97aabf1: Pull complete 18:11:10 4872d77fe225: Pull complete 18:11:10 5851b861e8e6: Pull complete 18:11:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:11:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:11:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:11:10 prd-ubuntu20.04-docker-8c-8g-9990 does not seem to be running inside a container 18:11:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:11:17 $ docker top a19c58b54688e7096dd3d29a792643842a43ecbb5f06af1cf4ce6ee40cd4cb2d -eo pid,comm 18:11:16 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:11:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:11:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:11:16 [ssh-agent] Looking for ssh-agent implementation... 18:11:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:11:17 $ docker exec a19c58b54688e7096dd3d29a792643842a43ecbb5f06af1cf4ce6ee40cd4cb2d ssh-agent 18:11:16 SSH_AUTH_SOCK=/tmp/ssh-62jw3u5YgpXD/agent.14 18:11:16 SSH_AGENT_PID=20 18:11:16 Running ssh-add (command line suppressed) 18:11:17 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7686612973351848887.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7686612973351848887.key) 18:11:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:11:16 + git tag --points-at HEAD [Pipeline] } 18:11:17 $ docker exec --env ******** --env ******** a19c58b54688e7096dd3d29a792643842a43ecbb5f06af1cf4ce6ee40cd4cb2d ssh-agent -k 18:11:17 unset SSH_AUTH_SOCK; 18:11:17 unset SSH_AGENT_PID; 18:11:17 echo Agent pid 20 killed; 18:11:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:11:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:11:17 [ssh-agent] Looking for ssh-agent implementation... 18:11:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:11:18 $ docker exec a19c58b54688e7096dd3d29a792643842a43ecbb5f06af1cf4ce6ee40cd4cb2d ssh-agent 18:11:17 SSH_AUTH_SOCK=/tmp/ssh-1wPf6QNeOFGz/agent.71 18:11:17 SSH_AGENT_PID=77 18:11:17 Running ssh-add (command line suppressed) 18:11:18 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16456967326636196134.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16456967326636196134.key) 18:11:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:11:17 + git semver init 18:11:17 2023-10-24 18:11:18,736 [run_init] DEBUG init version:0.0.0 force:False 18:11:17 2023-10-24 18:11:18,737 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 18:11:17 2023-10-24 18:11:18,737 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 18:11:17 2023-10-24 18:11:18,737 [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) 18:11:19 2023-10-24 18:11:19,843 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 18:11:19 2023-10-24 18:11:19,843 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 18:11:19 2023-10-24 18:11:19,843 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:11:19 2023-10-24 18:11:19,843 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:11:19 3.1.0-dev.20 [Pipeline] } 18:11:20 $ docker exec --env ******** --env ******** a19c58b54688e7096dd3d29a792643842a43ecbb5f06af1cf4ce6ee40cd4cb2d ssh-agent -k 18:11:20 unset SSH_AUTH_SOCK; 18:11:20 unset SSH_AGENT_PID; 18:11:20 echo Agent pid 77 killed; 18:11:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:11:19 + git semver [Pipeline] } 18:11:20 $ docker stop --time=1 a19c58b54688e7096dd3d29a792643842a43ecbb5f06af1cf4ce6ee40cd4cb2d 18:11:22 $ docker rm -f --volumes a19c58b54688e7096dd3d29a792643842a43ecbb5f06af1cf4ce6ee40cd4cb2d [Pipeline] // withDockerContainer [Pipeline] sh 18:11:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:11:21 Stashed 1 file(s) [Pipeline] echo 18:11:21 [edgeXSemver]: initialized semver on version 3.1.0-dev.20 [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 18:11:22 provisioning config files... 18:11:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13743009309350804531tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:11:22 ---> docker-login.sh 18:11:22 nexus3.edgexfoundry.org:10001 18:11:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:22 Configure a credential helper to remove this warning. See 18:11:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:22 18:11:22 Login Succeeded 18:11:22 nexus3.edgexfoundry.org:10002 18:11:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:22 Configure a credential helper to remove this warning. See 18:11:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:22 18:11:22 Login Succeeded 18:11:22 nexus3.edgexfoundry.org:10003 18:11:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:22 Configure a credential helper to remove this warning. See 18:11:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:22 18:11:22 Login Succeeded 18:11:22 nexus3.edgexfoundry.org:10004 18:11:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:22 Configure a credential helper to remove this warning. See 18:11:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:22 18:11:22 Login Succeeded 18:11:22 docker.io 18:11:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:22 Configure a credential helper to remove this warning. See 18:11:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:22 18:11:22 Login Succeeded 18:11:22 ---> docker-login.sh ends [Pipeline] } 18:11:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:11:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:11:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:11:23 ========================================================= 18:11:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:11:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:23 + 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 . 18:11:23 Sending build context to Docker daemon 21.64MB 18:11:23 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 18:11:23 Step 2/13 : FROM ${BASE} AS builder 18:11:23 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:11:23 7264a8db6415: Pulling fs layer 18:11:23 c4d48a809fc2: Pulling fs layer 18:11:23 4f1c88b9dad5: Pulling fs layer 18:11:23 ad3a456e5733: Pulling fs layer 18:11:23 33e27b845d1e: Pulling fs layer 18:11:23 c68163c4e522: Pulling fs layer 18:11:23 50da416c3ac9: Pulling fs layer 18:11:23 23d2d4c4bb30: Pulling fs layer 18:11:23 c68163c4e522: Waiting 18:11:23 50da416c3ac9: Waiting 18:11:23 23d2d4c4bb30: Waiting 18:11:23 ad3a456e5733: Waiting 18:11:23 33e27b845d1e: Waiting 18:11:23 c4d48a809fc2: Verifying Checksum 18:11:23 c4d48a809fc2: Download complete 18:11:23 ad3a456e5733: Verifying Checksum 18:11:23 ad3a456e5733: Download complete 18:11:23 33e27b845d1e: Download complete 18:11:23 7264a8db6415: Verifying Checksum 18:11:23 7264a8db6415: Download complete 18:11:23 c68163c4e522: Verifying Checksum 18:11:23 c68163c4e522: Download complete 18:11:23 7264a8db6415: Pull complete 18:11:24 23d2d4c4bb30: Verifying Checksum 18:11:24 23d2d4c4bb30: Download complete 18:11:24 c4d48a809fc2: Pull complete 18:11:24 4f1c88b9dad5: Verifying Checksum 18:11:24 4f1c88b9dad5: Download complete 18:11:24 50da416c3ac9: Verifying Checksum 18:11:24 50da416c3ac9: Download complete 18:11:27 4f1c88b9dad5: Pull complete 18:11:27 ad3a456e5733: Pull complete 18:11:27 33e27b845d1e: Pull complete 18:11:28 c68163c4e522: Pull complete 18:11:30 50da416c3ac9: Pull complete 18:11:30 23d2d4c4bb30: Pull complete 18:11:30 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 18:11:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:11:30 ---> 0786185ac409 18:11:30 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:11:36 ---> Running in e085900a19c2 18:11:36 Removing intermediate container e085900a19c2 18:11:36 ---> 6423b22f4b9d 18:11:36 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:11:36 ---> Running in a25b6eaaa86f 18:11:36 Removing intermediate container a25b6eaaa86f 18:11:36 ---> 204b8c393a11 18:11:36 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 18:11:36 ---> Running in d4ab757b64f0 18:11:36 Still waiting to schedule task 18:11:36 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9983’ 18:11:37 Removing intermediate container d4ab757b64f0 18:11:37 ---> 47bb129764c8 18:11:37 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 18:11:37 ---> Running in de5e047a9bea 18:11:37 Removing intermediate container de5e047a9bea 18:11:37 ---> 9c5a48996d78 18:11:37 Step 7/13 : LABEL Name=edgex-device-onvif-camera 18:11:37 ---> Running in 22ec193ab711 18:11:37 Removing intermediate container 22ec193ab711 18:11:37 ---> 49fa0276b1e0 18:11:37 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:11:38 ---> Running in 2cef1ad96ed1 18:11:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:11:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:11:38 OK: 264 MiB in 52 packages 18:11:39 Removing intermediate container 2cef1ad96ed1 18:11:39 ---> 46c30c256bde 18:11:39 Step 9/13 : WORKDIR /device-onvif-camera 18:11:39 ---> Running in 52b5efdd0509 18:11:40 Removing intermediate container 52b5efdd0509 18:11:40 ---> 2797d9addd64 18:11:40 Step 10/13 : COPY go.mod vendor* ./ 18:11:40 ---> f84322bbabc8 18:11:40 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:11:40 ---> Running in cf109ce5ee7f 18:13:02 Removing intermediate container cf109ce5ee7f 18:13:02 ---> fd4cbe35a7de 18:13:02 Step 12/13 : COPY . . 18:13:02 ---> 1bb834a3a26e 18:13:02 Step 13/13 : RUN ${MAKE} 18:13:02 ---> Running in 10ae5f78df7e 18:13:02 noop 18:13:02 Removing intermediate container 10ae5f78df7e 18:13:02 ---> 05269d5546ca 18:13:02 Successfully built 05269d5546ca 18:13:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:02 + docker inspect -f . ci-base-image-x86_64 18:13:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:13:02 prd-ubuntu20.04-docker-8c-8g-9990 does not seem to be running inside a container 18:13:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:13:02 $ docker top 5e012ff179aad463a40e101e32d7b17693a10671e780eb470498da882815299f -eo pid,comm [Pipeline] { [Pipeline] sh 18:13:03 + go version 18:13:03 go version go1.21.0 linux/amd64 [Pipeline] } 18:13:03 $ docker stop --time=1 5e012ff179aad463a40e101e32d7b17693a10671e780eb470498da882815299f 18:13:04 $ docker rm -f --volumes 5e012ff179aad463a40e101e32d7b17693a10671e780eb470498da882815299f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:04 + docker inspect -f . ci-base-image-x86_64 18:13:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:13:05 prd-ubuntu20.04-docker-8c-8g-9990 does not seem to be running inside a container 18:13:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:13:05 $ docker top 69389ca7bf9c1c48071735561e46b95bc6efca6453c6d23b3b58d9e6ef9c434e -eo pid,comm [Pipeline] { [Pipeline] sh 18:13:05 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 18:13:05 + make test 18:13:05 go test ./... -coverprofile=coverage.out ./... 18:13:07 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:13:17 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:13:17 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:13:19 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.032s coverage: 31.5% of statements 18:13:20 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.151s coverage: 86.5% of statements 18:13:26 go vet ./... 18:13:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:13:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:13:29 ./bin/test-attribution-txt.sh [Pipeline] echo 18:13:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:13:29 $ docker stop --time=1 69389ca7bf9c1c48071735561e46b95bc6efca6453c6d23b3b58d9e6ef9c434e 18:13:35 $ docker rm -f --volumes 69389ca7bf9c1c48071735561e46b95bc6efca6453c6d23b3b58d9e6ef9c434e [Pipeline] // withDockerContainer [Pipeline] sh 18:13:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:13:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:13:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:13:36 + ls -al . 18:13:36 total 236 18:13:36 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 18:13 . 18:13:36 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:10 .. 18:13:36 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:13 .git 18:13:36 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:11 .github 18:13:36 -rw-rw-r-- 1 jenkins jenkins 422 Oct 24 18:11 .gitignore 18:13:36 -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 18:11 .golangci.yml 18:13:36 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:11 .semver 18:13:36 -rw-rw-r-- 1 jenkins jenkins 11155 Oct 24 18:11 Attribution.txt 18:13:36 -rw-rw-r-- 1 jenkins jenkins 15932 Oct 24 18:11 CHANGELOG.md 18:13:36 -rw-rw-r-- 1 jenkins jenkins 1574 Oct 24 18:11 Dockerfile 18:13:36 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:11 GOVERNANCE.md 18:13:36 -rw-rw-r-- 1 jenkins jenkins 739 Oct 24 18:11 Jenkinsfile 18:13:36 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 24 18:11 LICENSE 18:13:36 -rw-rw-r-- 1 jenkins jenkins 2877 Oct 24 18:11 Makefile 18:13:36 -rw-rw-r-- 1 jenkins jenkins 625 Oct 24 18:11 OWNERS.md 18:13:36 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 24 18:11 README.md 18:13:36 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 18:11 VERSION 18:13:36 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:11 bin 18:13:36 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:11 cmd 18:13:36 -rw-r--r-- 1 jenkins jenkins 78456 Oct 24 18:13 coverage.out 18:13:36 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:11 doc 18:13:36 -rw-rw-r-- 1 jenkins jenkins 4087 Oct 24 18:11 go.mod 18:13:36 -rw-rw-r-- 1 jenkins jenkins 35688 Oct 24 18:11 go.sum 18:13:36 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:11 internal 18:13:36 -rw-rw-r-- 1 jenkins jenkins 236 Oct 24 18:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:36 + 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=f9aa1e7837344c75d2a4d485c1648989cda54cfb --label arch=amd64 --label version=3.1.0-dev.20 . 18:13:36 Sending build context to Docker daemon 21.72MB 18:13:36 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 18:13:36 Step 2/26 : FROM ${BASE} AS builder 18:13:36 ---> 05269d5546ca 18:13:36 Step 3/26 : ARG ADD_BUILD_TAGS="" 18:13:37 ---> Running in 2c66344ac617 18:13:37 Removing intermediate container 2c66344ac617 18:13:37 ---> a222754a30f8 18:13:37 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:13:37 ---> Running in 883d8d609604 18:13:37 Removing intermediate container 883d8d609604 18:13:37 ---> 05e9b892c472 18:13:37 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 18:13:37 ---> Running in dd0b61860b7b 18:13:37 Removing intermediate container dd0b61860b7b 18:13:37 ---> 11ce792cc2e7 18:13:37 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 18:13:37 ---> Running in b77f08be7407 18:13:37 Removing intermediate container b77f08be7407 18:13:37 ---> b9ca794af873 18:13:37 Step 7/26 : LABEL Name=edgex-device-onvif-camera 18:13:37 ---> Running in eccd662f1f21 18:13:37 Removing intermediate container eccd662f1f21 18:13:37 ---> d05eb6ba3567 18:13:37 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:13:37 ---> Running in b544422af18c 18:13:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:13:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:13:38 OK: 264 MiB in 52 packages 18:13:38 Removing intermediate container b544422af18c 18:13:38 ---> b28398f89682 18:13:38 Step 9/26 : WORKDIR /device-onvif-camera 18:13:38 ---> Running in ce1f0480e9eb 18:13:38 Removing intermediate container ce1f0480e9eb 18:13:38 ---> b6c4491c78f1 18:13:38 Step 10/26 : COPY go.mod vendor* ./ 18:13:38 ---> 605c29647654 18:13:38 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:13:38 ---> Running in ab0005892a44 18:13:39 Removing intermediate container ab0005892a44 18:13:39 ---> ff7c7a9e8bb3 18:13:39 Step 12/26 : COPY . . 18:13:40 ---> fefd08b85554 18:13:40 Step 13/26 : RUN ${MAKE} 18:13:40 ---> Running in c5c963df254a 18:13:40 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 18:14:02 Removing intermediate container c5c963df254a 18:14:02 ---> 60d2f65b1be1 18:14:02 Step 14/26 : FROM alpine:3.18 18:14:02 3.18: Pulling from library/alpine 18:14:02 96526aa774ef: Pulling fs layer 18:14:02 96526aa774ef: Verifying Checksum 18:14:02 96526aa774ef: Download complete 18:14:02 96526aa774ef: Pull complete 18:14:02 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:14:02 Status: Downloaded newer image for alpine:3.18 18:14:02 ---> 8ca4688f4f35 18:14:02 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 18:14:03 ---> Running in e743909eced8 18:14:03 Removing intermediate container e743909eced8 18:14:03 ---> 1777073a32e1 18:14:03 Step 16/26 : RUN apk add --update --no-cache dumb-init 18:14:03 ---> Running in 5629c5243e29 18:14:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:14:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:14:04 (1/1) Installing dumb-init (1.2.5-r2) 18:14:04 Executing busybox-1.36.1-r2.trigger 18:14:04 OK: 7 MiB in 16 packages 18:14:04 Removing intermediate container 5629c5243e29 18:14:04 ---> 194e5622777a 18:14:04 Step 17/26 : WORKDIR / 18:14:04 ---> Running in 89335841c033 18:14:04 Removing intermediate container 89335841c033 18:14:04 ---> 3c8c8cf87b65 18:14:04 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:14:05 ---> e068bdc9b582 18:14:05 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:14:06 ---> e595d3026b79 18:14:06 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:14:06 ---> cf2ad82b2826 18:14:06 Step 21/26 : EXPOSE 59984 18:14:06 ---> Running in 8360c3efc540 18:14:06 Removing intermediate container 8360c3efc540 18:14:06 ---> f6a28f80306e 18:14:06 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:14:06 ---> Running in 14b91fb40084 18:14:06 Removing intermediate container 14b91fb40084 18:14:06 ---> 4eab15965fd2 18:14:06 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:14:06 ---> Running in 27ef0b8249a7 18:14:06 Removing intermediate container 27ef0b8249a7 18:14:06 ---> fa40e069b83a 18:14:06 Step 24/26 : LABEL arch=amd64 18:14:06 ---> Running in 146c6efd6f55 18:14:06 Removing intermediate container 146c6efd6f55 18:14:06 ---> 70eb7e1900b5 18:14:06 Step 25/26 : LABEL git_sha=f9aa1e7837344c75d2a4d485c1648989cda54cfb 18:14:06 ---> Running in 4922e794c3dd 18:14:06 Removing intermediate container 4922e794c3dd 18:14:06 ---> fefbf82133e6 18:14:06 Step 26/26 : LABEL version=3.1.0-dev.20 18:14:06 ---> Running in c1e97c541193 18:14:06 Removing intermediate container c1e97c541193 18:14:06 ---> 0d1835115b2d 18:14:06 [Warning] One or more build-args [ARCH] were not consumed 18:14:06 Successfully built 0d1835115b2d 18:14:06 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 18:14:06 provisioning config files... 18:14:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9339366233576992212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:14:07 ---> docker-login.sh 18:14:07 nexus3.edgexfoundry.org:10001 18:14:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:07 Configure a credential helper to remove this warning. See 18:14:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:07 18:14:07 Login Succeeded 18:14:07 nexus3.edgexfoundry.org:10002 18:14:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:07 Configure a credential helper to remove this warning. See 18:14:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:07 18:14:07 Login Succeeded 18:14:07 nexus3.edgexfoundry.org:10003 18:14:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:07 Configure a credential helper to remove this warning. See 18:14:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:07 18:14:07 Login Succeeded 18:14:07 nexus3.edgexfoundry.org:10004 18:14:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:07 Configure a credential helper to remove this warning. See 18:14:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:07 18:14:07 Login Succeeded 18:14:07 docker.io 18:14:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:07 Configure a credential helper to remove this warning. See 18:14:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:07 18:14:07 Login Succeeded 18:14:07 ---> docker-login.sh ends [Pipeline] } 18:14:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:14:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:14:07 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 18:14:07 f9aa1e7837344c75d2a4d485c1648989cda54cfb 18:14:07 latest 18:14:07 3.1.0-dev.20 18:14:07 f9aa1e7837344c75d2a4d485c1648989cda54cfb-3.1.0-dev.20 18:14:07 main 18:14:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:08 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:f9aa1e7837344c75d2a4d485c1648989cda54cfb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:f9aa1e7837344c75d2a4d485c1648989cda54cfb 18:14:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:14:08 1ca8db73fc71: Preparing 18:14:08 fc9c65df6a38: Preparing 18:14:08 0b0dcb182abf: Preparing 18:14:08 646e3206df2a: Preparing 18:14:08 cc2447e1835a: Preparing 18:14:08 cc2447e1835a: Layer already exists 18:14:08 1ca8db73fc71: Pushed 18:14:08 646e3206df2a: Pushed 18:14:08 fc9c65df6a38: Pushed 18:14:11 0b0dcb182abf: Pushed 18:14:11 f9aa1e7837344c75d2a4d485c1648989cda54cfb: digest: sha256:496f26ad4a134c4319388a04cf6afb8e34a85c40879a5489ae337aec2beb42bd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:11 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:11 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 18:14:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:14:11 1ca8db73fc71: Preparing 18:14:11 fc9c65df6a38: Preparing 18:14:11 0b0dcb182abf: Preparing 18:14:11 646e3206df2a: Preparing 18:14:11 cc2447e1835a: Preparing 18:14:11 1ca8db73fc71: Layer already exists 18:14:11 cc2447e1835a: Layer already exists 18:14:11 0b0dcb182abf: Layer already exists 18:14:11 fc9c65df6a38: Layer already exists 18:14:11 646e3206df2a: Layer already exists 18:14:11 latest: digest: sha256:496f26ad4a134c4319388a04cf6afb8e34a85c40879a5489ae337aec2beb42bd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:12 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:12 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.20 18:14:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:14:12 1ca8db73fc71: Preparing 18:14:12 fc9c65df6a38: Preparing 18:14:12 0b0dcb182abf: Preparing 18:14:12 646e3206df2a: Preparing 18:14:12 cc2447e1835a: Preparing 18:14:12 fc9c65df6a38: Layer already exists 18:14:12 646e3206df2a: Layer already exists 18:14:12 1ca8db73fc71: Layer already exists 18:14:12 cc2447e1835a: Layer already exists 18:14:12 0b0dcb182abf: Layer already exists 18:14:12 3.1.0-dev.20: digest: sha256:496f26ad4a134c4319388a04cf6afb8e34a85c40879a5489ae337aec2beb42bd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:12 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:f9aa1e7837344c75d2a4d485c1648989cda54cfb-3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:13 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:f9aa1e7837344c75d2a4d485c1648989cda54cfb-3.1.0-dev.20 18:14:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:14:13 1ca8db73fc71: Preparing 18:14:13 fc9c65df6a38: Preparing 18:14:13 0b0dcb182abf: Preparing 18:14:13 646e3206df2a: Preparing 18:14:13 cc2447e1835a: Preparing 18:14:13 646e3206df2a: Layer already exists 18:14:13 0b0dcb182abf: Layer already exists 18:14:13 1ca8db73fc71: Layer already exists 18:14:13 fc9c65df6a38: Layer already exists 18:14:13 cc2447e1835a: Layer already exists 18:14:13 f9aa1e7837344c75d2a4d485c1648989cda54cfb-3.1.0-dev.20: digest: sha256:496f26ad4a134c4319388a04cf6afb8e34a85c40879a5489ae337aec2beb42bd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:13 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:13 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 18:14:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:14:13 1ca8db73fc71: Preparing 18:14:13 fc9c65df6a38: Preparing 18:14:13 0b0dcb182abf: Preparing 18:14:13 646e3206df2a: Preparing 18:14:13 cc2447e1835a: Preparing 18:14:13 fc9c65df6a38: Layer already exists 18:14:13 cc2447e1835a: Layer already exists 18:14:13 0b0dcb182abf: Layer already exists 18:14:13 1ca8db73fc71: Layer already exists 18:14:13 646e3206df2a: Layer already exists 18:14:13 main: digest: sha256:496f26ad4a134c4319388a04cf6afb8e34a85c40879a5489ae337aec2beb42bd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:14:13 ===================================================== [Pipeline] echo 18:14:13 taggedImages: 18:14:13 - nexus3.edgexfoundry.org:10004/device-onvif-camera:f9aa1e7837344c75d2a4d485c1648989cda54cfb 18:14:13 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 18:14:13 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.20 18:14:13 - nexus3.edgexfoundry.org:10004/device-onvif-camera:f9aa1e7837344c75d2a4d485c1648989cda54cfb-3.1.0-dev.20 18:14:13 - 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 18:14:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:14:14 18:14:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:14:14 latest: Pulling from edgex-lftools-log-publisher 18:14:14 5eb5b503b376: Pulling fs layer 18:14:14 5c69ac0246d0: Pulling fs layer 18:14:14 ec43610c2a17: Pulling fs layer 18:14:14 3a2ae6a8a46f: Pulling fs layer 18:14:14 33b1e0a273af: Pulling fs layer 18:14:14 5d3b04190fa2: Pulling fs layer 18:14:14 2f39f015ded8: Pulling fs layer 18:14:14 3a2ae6a8a46f: Waiting 18:14:14 2f39f015ded8: Waiting 18:14:14 33b1e0a273af: Waiting 18:14:14 5d3b04190fa2: Waiting 18:14:14 5c69ac0246d0: Download complete 18:14:14 3a2ae6a8a46f: Download complete 18:14:14 33b1e0a273af: Verifying Checksum 18:14:14 33b1e0a273af: Download complete 18:14:14 ec43610c2a17: Verifying Checksum 18:14:14 ec43610c2a17: Download complete 18:14:14 5d3b04190fa2: Verifying Checksum 18:14:14 5d3b04190fa2: Download complete 18:14:14 5eb5b503b376: Verifying Checksum 18:14:14 5eb5b503b376: Download complete 18:14:15 2f39f015ded8: Download complete 18:14:16 5eb5b503b376: Pull complete 18:14:17 5c69ac0246d0: Pull complete 18:14:18 ec43610c2a17: Pull complete 18:14:20 3a2ae6a8a46f: Pull complete 18:14:20 33b1e0a273af: Pull complete 18:14:21 5d3b04190fa2: Pull complete 18:14:26 2f39f015ded8: Pull complete 18:14:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:14:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:14:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:14:26 prd-ubuntu20.04-docker-8c-8g-9990 does not seem to be running inside a container 18:14:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:14:32 $ docker top 21d30aebc5e4636fcf3617811a4e0df9f584d10bcc30ede451146e55cc6917a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:14:32 ---> job-cost.sh 18:14:32 lf-activate-venv: SKIPPING 18:14:32 INFO: No Stack... 18:14:32 INFO: Retrieving Pricing Info for: v3-standard-8 18:14:32 INFO: Archiving Costs [Pipeline] sh 18:14:33 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 18:14:33 + cut -d, -f6 [Pipeline] lock 18:14:33 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-177-stack-cost] 18:14:33 Resource [jenkins-edgexfoundry-device-onvif-camera-main-177-stack-cost] did not exist. Created. 18:14:33 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-177-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:14:33 + echo total: 0.2199999988079071 [Pipeline] stash 18:14:33 Stashed 1 file(s) [Pipeline] } 18:14:33 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-177-stack-cost] [Pipeline] // lock [Pipeline] } 18:14:33 $ docker stop --time=1 21d30aebc5e4636fcf3617811a4e0df9f584d10bcc30ede451146e55cc6917a8 18:14:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10001 in /w/workspace/foundry_device-onvif-camera_main 18:14:34 $ docker rm -f --volumes 21d30aebc5e4636fcf3617811a4e0df9f584d10bcc30ede451146e55cc6917a8 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] ws 18:14:34 Running in /w/workspace/device-onvif-camera/177 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [Pipeline] } 18:14:34 The recommended git tool is: git [Pipeline] // stage [Pipeline] } 18:14:42 using credential edgex-jenkins-ssh 18:14:42 Cloning the remote Git repository 18:14:42 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 18:14:42 > git init /w/workspace/device-onvif-camera/177 # timeout=10 18:14:42 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:14:42 > git --version # timeout=10 18:14:42 > git --version # 'git version 2.25.1' 18:14:42 using GIT_SSH to set credentials SSH Credentials for GitHub 18:14:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:14:44 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:14:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:14:45 Avoid second fetch 18:14:45 Checking out Revision f9aa1e7837344c75d2a4d485c1648989cda54cfb (main) 18:14:45 > git config core.sparsecheckout # timeout=10 18:14:46 > git checkout -f f9aa1e7837344c75d2a4d485c1648989cda54cfb # timeout=10 18:14:46 Commit message: "feat!: Remove snap packaging (#396)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:14:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:14:47 % Total % Received % Xferd Average Speed Time Time Time Current 18:14:47 Dload Upload Total Spent Left Speed 18:14:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 177k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 18:14:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:14:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:14:49 + sudo tee /etc/docker/daemon.new 18:14:49 { 18:14:49 "registry-mirrors": [ 18:14:49 "https://nexus3.edgexfoundry.org:10001" 18:14:49 ], 18:14:49 "bip": "10.250.0.254/24", 18:14:49 "hosts": [ 18:14:49 "tcp://0.0.0.0:5555", 18:14:49 "unix:///var/run/docker.sock" 18:14:49 ], 18:14:49 "mtu": 1458, 18:14:49 "selinux-enabled": true, 18:14:49 "seccomp-profile": "/etc/docker/seccomp.json" 18:14:49 } [Pipeline] sh 18:14:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:14:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:15:08 provisioning config files... 18:15:08 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/177@tmp/config9258840335322711233tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:15:08 ---> docker-login.sh 18:15:08 nexus3.edgexfoundry.org:10001 18:15:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:09 Configure a credential helper to remove this warning. See 18:15:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:09 18:15:09 Login Succeeded 18:15:09 nexus3.edgexfoundry.org:10002 18:15:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:10 Configure a credential helper to remove this warning. See 18:15:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:10 18:15:10 Login Succeeded 18:15:10 nexus3.edgexfoundry.org:10003 18:15:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:10 Configure a credential helper to remove this warning. See 18:15:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:10 18:15:10 Login Succeeded 18:15:10 nexus3.edgexfoundry.org:10004 18:15:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:11 Configure a credential helper to remove this warning. See 18:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:11 18:15:11 Login Succeeded 18:15:11 docker.io 18:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:11 Configure a credential helper to remove this warning. See 18:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:11 18:15:11 Login Succeeded 18:15:11 ---> docker-login.sh ends [Pipeline] } 18:15:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:15:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:15:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:15:12 ========================================================= 18:15:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:15:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:12 + 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 . 18:15:13 Sending build context to Docker daemon 14.18MB 18:15:13 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 18:15:13 Step 2/13 : FROM ${BASE} AS builder 18:15:13 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:15:13 9fda8d8052c6: Pulling fs layer 18:15:13 5d54e960e981: Pulling fs layer 18:15:13 c4a7e357bf2a: Pulling fs layer 18:15:13 f0e02332f6b5: Pulling fs layer 18:15:13 cefa15bbcfad: Pulling fs layer 18:15:13 17808c966233: Pulling fs layer 18:15:13 f4c1fc716caa: Pulling fs layer 18:15:13 cefa15bbcfad: Waiting 18:15:13 17808c966233: Waiting 18:15:13 f4c1fc716caa: Waiting 18:15:13 f0e02332f6b5: Waiting 18:15:13 5d54e960e981: Verifying Checksum 18:15:13 5d54e960e981: Download complete 18:15:13 f0e02332f6b5: Verifying Checksum 18:15:13 f0e02332f6b5: Download complete 18:15:13 cefa15bbcfad: Verifying Checksum 18:15:13 cefa15bbcfad: Download complete 18:15:13 9fda8d8052c6: Verifying Checksum 18:15:13 9fda8d8052c6: Download complete 18:15:14 f4c1fc716caa: Verifying Checksum 18:15:14 f4c1fc716caa: Download complete 18:15:14 9fda8d8052c6: Pull complete 18:15:15 5d54e960e981: Pull complete 18:15:16 c4a7e357bf2a: Verifying Checksum 18:15:16 c4a7e357bf2a: Download complete 18:15:17 17808c966233: Verifying Checksum 18:15:17 17808c966233: Download complete 18:15:32 c4a7e357bf2a: Pull complete 18:15:32 f0e02332f6b5: Pull complete 18:15:32 cefa15bbcfad: Pull complete 18:15:40 17808c966233: Pull complete 18:15:42 f4c1fc716caa: Pull complete 18:15:42 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 18:15:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:15:42 ---> ea914061e18c 18:15:42 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:15:45 ---> Running in 95a23daa4a25 18:15:45 Removing intermediate container 95a23daa4a25 18:15:45 ---> 833f28cf749a 18:15:45 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:15:45 ---> Running in f46e0a492a5e 18:15:45 Removing intermediate container f46e0a492a5e 18:15:45 ---> eaa63bc5e36a 18:15:45 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 18:15:45 ---> Running in e212ea460583 18:15:46 Removing intermediate container e212ea460583 18:15:46 ---> c18049155e4f 18:15:46 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 18:15:46 ---> Running in ba38510e0771 18:15:47 Removing intermediate container ba38510e0771 18:15:47 ---> 4b50586e262f 18:15:47 Step 7/13 : LABEL Name=edgex-device-onvif-camera 18:15:47 ---> Running in b5b5e30dd890 18:15:47 Removing intermediate container b5b5e30dd890 18:15:47 ---> 6395e59c361c 18:15:47 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:15:47 ---> Running in 6088191450e7 18:15:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:15:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:15:51 OK: 266 MiB in 52 packages 18:15:52 Removing intermediate container 6088191450e7 18:15:52 ---> 53e1342bceb1 18:15:52 Step 9/13 : WORKDIR /device-onvif-camera 18:15:52 ---> Running in 27dc53fb4f6a 18:15:53 Removing intermediate container 27dc53fb4f6a 18:15:53 ---> ca163f0dcc0b 18:15:53 Step 10/13 : COPY go.mod vendor* ./ 18:15:53 ---> 7baee584e550 18:15:53 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:15:53 ---> Running in 887160fbadf5 18:17:45 Removing intermediate container 887160fbadf5 18:17:45 ---> 42cffd351d49 18:17:45 Step 12/13 : COPY . . 18:17:45 ---> 7cb509cf1be9 18:17:45 Step 13/13 : RUN ${MAKE} 18:17:45 ---> Running in 2ab6013b08f7 18:17:46 noop 18:17:47 Removing intermediate container 2ab6013b08f7 18:17:47 ---> 6af6067e9ec3 18:17:47 Successfully built 6af6067e9ec3 18:17:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:47 + docker inspect -f . ci-base-image-arm64 18:17:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:17:47 prd-ubuntu20.04-docker-arm64-4c-16g-10001 does not seem to be running inside a container 18:17:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/177 -v /w/workspace/device-onvif-camera/177:/w/workspace/device-onvif-camera/177:rw,z -v /w/workspace/device-onvif-camera/177@tmp:/w/workspace/device-onvif-camera/177@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:17:49 $ docker top daef6df6cf94b95f70f3ac572532502b6bc7c4379308527c357383bf7ab54222 -eo pid,comm [Pipeline] { [Pipeline] sh 18:17:50 + go version 18:17:50 go version go1.21.0 linux/arm64 [Pipeline] } 18:17:50 $ docker stop --time=1 daef6df6cf94b95f70f3ac572532502b6bc7c4379308527c357383bf7ab54222 18:17:52 $ docker rm -f --volumes daef6df6cf94b95f70f3ac572532502b6bc7c4379308527c357383bf7ab54222 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:52 + docker inspect -f . ci-base-image-arm64 18:17:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:17:53 prd-ubuntu20.04-docker-arm64-4c-16g-10001 does not seem to be running inside a container 18:17:53 $ 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/177 -v /w/workspace/device-onvif-camera/177:/w/workspace/device-onvif-camera/177:rw,z -v /w/workspace/device-onvif-camera/177@tmp:/w/workspace/device-onvif-camera/177@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:17:54 $ docker top e2006d99f4118b0ebd6c67434902f22d05b3da17023f6253e0807030bbf51c1d -eo pid,comm [Pipeline] { [Pipeline] sh 18:17:55 + git config --global --add safe.directory /w/workspace/device-onvif-camera/177 [Pipeline] fileExists [Pipeline] sh 18:17:56 + make test 18:17:56 go test ./... -coverprofile=coverage.out ./... 18:18:01 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:20:38 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:20:39 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:20:42 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.204s coverage: 31.5% of statements 18:21:00 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 21.014s coverage: 86.5% of statements 18:21:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:21:01 go vet ./... 18:21:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:21:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:21:33 ./bin/test-attribution-txt.sh [Pipeline] echo 18:21:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:21:33 $ docker stop --time=1 e2006d99f4118b0ebd6c67434902f22d05b3da17023f6253e0807030bbf51c1d 18:21:36 $ docker rm -f --volumes e2006d99f4118b0ebd6c67434902f22d05b3da17023f6253e0807030bbf51c1d [Pipeline] // withDockerContainer [Pipeline] sh 18:21:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:21:37 Warning: overwriting stash ‘coverage-report’ 18:21:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:21:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:21:39 + ls -al . 18:21:39 total 232 18:21:39 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:18 . 18:21:39 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:14 .. 18:21:39 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:14 .git 18:21:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:14 .github 18:21:39 -rw-rw-r-- 1 jenkins jenkins 422 Oct 24 18:14 .gitignore 18:21:39 -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 18:14 .golangci.yml 18:21:39 -rw-rw-r-- 1 jenkins jenkins 11155 Oct 24 18:14 Attribution.txt 18:21:39 -rw-rw-r-- 1 jenkins jenkins 15932 Oct 24 18:14 CHANGELOG.md 18:21:39 -rw-rw-r-- 1 jenkins jenkins 1574 Oct 24 18:14 Dockerfile 18:21:39 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:14 GOVERNANCE.md 18:21:39 -rw-rw-r-- 1 jenkins jenkins 739 Oct 24 18:14 Jenkinsfile 18:21:39 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 24 18:14 LICENSE 18:21:39 -rw-rw-r-- 1 jenkins jenkins 2877 Oct 24 18:14 Makefile 18:21:39 -rw-rw-r-- 1 jenkins jenkins 625 Oct 24 18:14 OWNERS.md 18:21:39 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 24 18:14 README.md 18:21:39 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 18:11 VERSION 18:21:39 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:14 bin 18:21:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:14 cmd 18:21:39 -rw-r--r-- 1 jenkins jenkins 78456 Oct 24 18:21 coverage.out 18:21:39 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:14 doc 18:21:39 -rw-rw-r-- 1 jenkins jenkins 4087 Oct 24 18:14 go.mod 18:21:39 -rw-rw-r-- 1 jenkins jenkins 35688 Oct 24 18:14 go.sum 18:21:39 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:14 internal 18:21:39 -rw-rw-r-- 1 jenkins jenkins 236 Oct 24 18:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:21:39 + 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=f9aa1e7837344c75d2a4d485c1648989cda54cfb --label arch=arm64 --label version=3.1.0-dev.20 . 18:21:40 Sending build context to Docker daemon 14.26MB 18:21:40 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 18:21:40 Step 2/26 : FROM ${BASE} AS builder 18:21:40 ---> 6af6067e9ec3 18:21:40 Step 3/26 : ARG ADD_BUILD_TAGS="" 18:21:40 ---> Running in 082a33138c4e 18:21:40 Removing intermediate container 082a33138c4e 18:21:40 ---> d54eb4fe2596 18:21:40 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:21:40 ---> Running in 09d7addf773e 18:21:41 Removing intermediate container 09d7addf773e 18:21:41 ---> 54a91b91c6f8 18:21:41 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 18:21:41 ---> Running in 9d838c7e8255 18:21:41 Removing intermediate container 9d838c7e8255 18:21:41 ---> 80079da4ad0a 18:21:41 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 18:21:41 ---> Running in a40111d5bfb5 18:21:42 Removing intermediate container a40111d5bfb5 18:21:42 ---> 3e95967eed99 18:21:42 Step 7/26 : LABEL Name=edgex-device-onvif-camera 18:21:42 ---> Running in 0fc360f3dd9b 18:21:42 Removing intermediate container 0fc360f3dd9b 18:21:42 ---> dc0bca511878 18:21:42 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:21:42 ---> Running in 05dc7169f8d4 18:21:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:21:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:21:45 OK: 266 MiB in 52 packages 18:21:46 Removing intermediate container 05dc7169f8d4 18:21:46 ---> 2824c8aeb135 18:21:46 Step 9/26 : WORKDIR /device-onvif-camera 18:21:47 ---> Running in b7fa4e69d7c2 18:21:47 Removing intermediate container b7fa4e69d7c2 18:21:47 ---> 431f98543074 18:21:47 Step 10/26 : COPY go.mod vendor* ./ 18:21:48 ---> e2023a9f6cb6 18:21:48 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:21:48 ---> Running in 9849e7d46389 18:21:51 Removing intermediate container 9849e7d46389 18:21:51 ---> d53334047977 18:21:51 Step 12/26 : COPY . . 18:21:53 ---> 9b8c8ff32823 18:21:53 Step 13/26 : RUN ${MAKE} 18:21:53 ---> Running in b5ab9b4c3ff9 18:21:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 18:24:31 Removing intermediate container b5ab9b4c3ff9 18:24:31 ---> 1072f48f74b5 18:24:31 Step 14/26 : FROM alpine:3.18 18:24:31 3.18: Pulling from library/alpine 18:24:31 579b34f0a95b: Pulling fs layer 18:24:31 579b34f0a95b: Verifying Checksum 18:24:31 579b34f0a95b: Download complete 18:24:31 579b34f0a95b: Pull complete 18:24:31 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:24:31 Status: Downloaded newer image for alpine:3.18 18:24:31 ---> 3cc203321400 18:24:31 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 18:24:31 ---> Running in c816702a0f0b 18:24:31 Removing intermediate container c816702a0f0b 18:24:31 ---> 56237b9cd53a 18:24:31 Step 16/26 : RUN apk add --update --no-cache dumb-init 18:24:31 ---> Running in 1b0ac937a71d 18:24:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:24:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:24:31 (1/1) Installing dumb-init (1.2.5-r2) 18:24:31 Executing busybox-1.36.1-r2.trigger 18:24:31 OK: 8 MiB in 16 packages 18:24:31 Removing intermediate container 1b0ac937a71d 18:24:31 ---> 529811ef85f8 18:24:31 Step 17/26 : WORKDIR / 18:24:31 ---> Running in c0c5a7a9c806 18:24:31 Removing intermediate container c0c5a7a9c806 18:24:31 ---> 8307bf32d296 18:24:31 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:24:33 ---> d2d1046085cb 18:24:33 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:24:33 ---> c8f73ba3914a 18:24:33 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:24:34 ---> a17139ff93b6 18:24:34 Step 21/26 : EXPOSE 59984 18:24:34 ---> Running in ec57c6b75caa 18:24:34 Removing intermediate container ec57c6b75caa 18:24:34 ---> e52c8478dd64 18:24:34 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:24:35 ---> Running in 9ccfa5fbb4fc 18:24:35 Removing intermediate container 9ccfa5fbb4fc 18:24:35 ---> c5fee6e747e2 18:24:35 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:24:35 ---> Running in 680c4780679f 18:24:35 Removing intermediate container 680c4780679f 18:24:35 ---> 9d4496ee0c13 18:24:35 Step 24/26 : LABEL arch=arm64 18:24:35 ---> Running in 90182162f801 18:24:36 Removing intermediate container 90182162f801 18:24:36 ---> 5aba856fcea8 18:24:36 Step 25/26 : LABEL git_sha=f9aa1e7837344c75d2a4d485c1648989cda54cfb 18:24:36 ---> Running in 67170b3b7174 18:24:36 Removing intermediate container 67170b3b7174 18:24:36 ---> 343c80a0a4de 18:24:36 Step 26/26 : LABEL version=3.1.0-dev.20 18:24:36 ---> Running in 39812200898b 18:24:37 Removing intermediate container 39812200898b 18:24:37 ---> 75250859254e 18:24:37 [Warning] One or more build-args [ARCH] were not consumed 18:24:37 Successfully built 75250859254e 18:24:37 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:24:37 provisioning config files... 18:24:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/177@tmp/config11916792044088466848tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:24:37 ---> docker-login.sh 18:24:37 nexus3.edgexfoundry.org:10001 18:24:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:38 Configure a credential helper to remove this warning. See 18:24:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:38 18:24:38 Login Succeeded 18:24:38 nexus3.edgexfoundry.org:10002 18:24:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:38 Configure a credential helper to remove this warning. See 18:24:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:38 18:24:38 Login Succeeded 18:24:38 nexus3.edgexfoundry.org:10003 18:24:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:38 Configure a credential helper to remove this warning. See 18:24:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:38 18:24:38 Login Succeeded 18:24:38 nexus3.edgexfoundry.org:10004 18:24:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:39 Configure a credential helper to remove this warning. See 18:24:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:39 18:24:39 Login Succeeded 18:24:39 docker.io 18:24:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:40 Configure a credential helper to remove this warning. See 18:24:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:40 18:24:40 Login Succeeded 18:24:40 ---> docker-login.sh ends [Pipeline] } 18:24:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:24:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:24:40 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 18:24:40 f9aa1e7837344c75d2a4d485c1648989cda54cfb 18:24:40 latest 18:24:40 3.1.0-dev.20 18:24:40 f9aa1e7837344c75d2a4d485c1648989cda54cfb-3.1.0-dev.20 18:24:40 main 18:24:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:40 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f9aa1e7837344c75d2a4d485c1648989cda54cfb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:41 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f9aa1e7837344c75d2a4d485c1648989cda54cfb 18:24:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:24:41 5d3c1b377b50: Preparing 18:24:41 cdb2cc353936: Preparing 18:24:41 8047f095a065: Preparing 18:24:41 448515844dfa: Preparing 18:24:41 5f4d9fc4d98d: Preparing 18:24:41 5d3c1b377b50: Pushed 18:24:41 cdb2cc353936: Pushed 18:24:41 448515844dfa: Pushed 18:24:43 5f4d9fc4d98d: Layer already exists 18:24:48 8047f095a065: Pushed 18:24:48 f9aa1e7837344c75d2a4d485c1648989cda54cfb: digest: sha256:1b328f7b7bbb716fcfb3aa90fde0b35594cfd22c2c2350c36290a42db2307d06 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:48 + 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:24:48 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 18:24:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:24:48 5d3c1b377b50: Preparing 18:24:48 cdb2cc353936: Preparing 18:24:48 8047f095a065: Preparing 18:24:48 448515844dfa: Preparing 18:24:48 5f4d9fc4d98d: Preparing 18:24:48 5f4d9fc4d98d: Layer already exists 18:24:48 8047f095a065: Layer already exists 18:24:48 cdb2cc353936: Layer already exists 18:24:48 448515844dfa: Layer already exists 18:24:48 5d3c1b377b50: Layer already exists 18:24:49 latest: digest: sha256:1b328f7b7bbb716fcfb3aa90fde0b35594cfd22c2c2350c36290a42db2307d06 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:49 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:49 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.20 18:24:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:24:49 5d3c1b377b50: Preparing 18:24:49 cdb2cc353936: Preparing 18:24:49 8047f095a065: Preparing 18:24:49 448515844dfa: Preparing 18:24:49 5f4d9fc4d98d: Preparing 18:24:49 5f4d9fc4d98d: Layer already exists 18:24:49 8047f095a065: Layer already exists 18:24:49 5d3c1b377b50: Layer already exists 18:24:49 cdb2cc353936: Layer already exists 18:24:49 448515844dfa: Layer already exists 18:24:50 3.1.0-dev.20: digest: sha256:1b328f7b7bbb716fcfb3aa90fde0b35594cfd22c2c2350c36290a42db2307d06 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:50 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f9aa1e7837344c75d2a4d485c1648989cda54cfb-3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:50 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f9aa1e7837344c75d2a4d485c1648989cda54cfb-3.1.0-dev.20 18:24:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:24:50 5d3c1b377b50: Preparing 18:24:50 cdb2cc353936: Preparing 18:24:50 8047f095a065: Preparing 18:24:50 448515844dfa: Preparing 18:24:50 5f4d9fc4d98d: Preparing 18:24:50 5d3c1b377b50: Layer already exists 18:24:50 cdb2cc353936: Layer already exists 18:24:51 8047f095a065: Layer already exists 18:24:51 448515844dfa: Layer already exists 18:24:51 5f4d9fc4d98d: Layer already exists 18:24:51 f9aa1e7837344c75d2a4d485c1648989cda54cfb-3.1.0-dev.20: digest: sha256:1b328f7b7bbb716fcfb3aa90fde0b35594cfd22c2c2350c36290a42db2307d06 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:51 + 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:24:52 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 18:24:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:24:52 5d3c1b377b50: Preparing 18:24:52 cdb2cc353936: Preparing 18:24:52 8047f095a065: Preparing 18:24:52 448515844dfa: Preparing 18:24:52 5f4d9fc4d98d: Preparing 18:24:52 448515844dfa: Layer already exists 18:24:52 5d3c1b377b50: Layer already exists 18:24:52 cdb2cc353936: Layer already exists 18:24:52 5f4d9fc4d98d: Layer already exists 18:24:52 8047f095a065: Layer already exists 18:24:52 main: digest: sha256:1b328f7b7bbb716fcfb3aa90fde0b35594cfd22c2c2350c36290a42db2307d06 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:24:52 ===================================================== [Pipeline] echo 18:24:52 taggedImages: 18:24:52 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f9aa1e7837344c75d2a4d485c1648989cda54cfb 18:24:52 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 18:24:52 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.20 18:24:52 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f9aa1e7837344c75d2a4d485c1648989cda54cfb-3.1.0-dev.20 18:24:52 - 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:24:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:24:52 18:24:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:24:53 arm64: Pulling from edgex-lftools-log-publisher 18:24:53 8998bd30e6a1: Pulling fs layer 18:24:53 04944245beec: Pulling fs layer 18:24:53 699f458cf7ca: Pulling fs layer 18:24:53 765212b225bb: Pulling fs layer 18:24:53 f23df028b6ca: Pulling fs layer 18:24:53 d65c8cfc05b1: Pulling fs layer 18:24:53 2437ff75d9bd: Pulling fs layer 18:24:53 765212b225bb: Waiting 18:24:53 f23df028b6ca: Waiting 18:24:53 d65c8cfc05b1: Waiting 18:24:53 2437ff75d9bd: Waiting 18:24:53 04944245beec: Verifying Checksum 18:24:53 04944245beec: Download complete 18:24:53 765212b225bb: Verifying Checksum 18:24:53 765212b225bb: Download complete 18:24:53 f23df028b6ca: Download complete 18:24:53 d65c8cfc05b1: Verifying Checksum 18:24:53 d65c8cfc05b1: Download complete 18:24:53 699f458cf7ca: Verifying Checksum 18:24:53 699f458cf7ca: Download complete 18:24:54 8998bd30e6a1: Verifying Checksum 18:24:54 8998bd30e6a1: Download complete 18:24:56 2437ff75d9bd: Verifying Checksum 18:24:56 2437ff75d9bd: Download complete 18:24:58 8998bd30e6a1: Pull complete 18:24:59 04944245beec: Pull complete 18:25:01 699f458cf7ca: Pull complete 18:25:01 765212b225bb: Pull complete 18:25:02 f23df028b6ca: Pull complete 18:25:02 d65c8cfc05b1: Pull complete 18:25:20 2437ff75d9bd: Pull complete 18:25:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:25:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:25:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:25:21 prd-ubuntu20.04-docker-arm64-4c-16g-10001 does not seem to be running inside a container 18:25:21 $ 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/177 -v /w/workspace/device-onvif-camera/177:/w/workspace/device-onvif-camera/177:rw,z -v /w/workspace/device-onvif-camera/177@tmp:/w/workspace/device-onvif-camera/177@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:25:24 $ docker top fcb94a6cd40a4347643645514afc815c644156c84ca2c0aaf1e954abb9db9a53 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:25:25 ---> job-cost.sh 18:25:25 lf-activate-venv: SKIPPING 18:25:25 INFO: No Stack... 18:25:25 INFO: Retrieving Pricing Info for: v3-standard-4 18:25:26 INFO: Archiving Costs [Pipeline] sh 18:25:27 + cat /w/workspace/device-onvif-camera/177/archives/cost.csv 18:25:27 + cut -d, -f6 [Pipeline] lock 18:25:27 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-177-stack-cost] 18:25:27 Resource [jenkins-edgexfoundry-device-onvif-camera-main-177-stack-cost] did not exist. Created. 18:25:27 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-177-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:25:27 /w/workspace/device-onvif-camera/177@tmp/durable-c230fefe/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:25:28 + echo total: 0.10999999940395355 [Pipeline] stash 18:25:28 Warning: overwriting stash ‘stack-cost’ 18:25:28 Stashed 1 file(s) [Pipeline] } 18:25:28 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-177-stack-cost] [Pipeline] // lock [Pipeline] } 18:25:28 $ docker stop --time=1 fcb94a6cd40a4347643645514afc815c644156c84ca2c0aaf1e954abb9db9a53 18:25:30 $ docker rm -f --volumes fcb94a6cd40a4347643645514afc815c644156c84ca2c0aaf1e954abb9db9a53 [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:25:30 provisioning config files... 18:25:30 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16271845535994918044tmp [Pipeline] { [Pipeline] sh 18:25:31 + set +x 18:25:31 + curl -s https://codecov.io/bash 18:25:31 + bash -s -- 18:25:31 18:25:31 _____ _ 18:25:31 / ____| | | 18:25:31 | | ___ __| | ___ ___ _____ __ 18:25:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:25:31 | |___| (_) | (_| | __/ (_| (_) \ V / 18:25:31 \_____\___/ \__,_|\___|\___\___/ \_/ 18:25:31 Bash-1.0.6 18:25:31 18:25:31 18:25:31 ==> git version 2.25.1 found 18:25:31 ==> 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:25:31 Release-Date: 2020-01-08 18:25:31 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:25:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:25:31 ==> Jenkins CI detected. 18:25:31 current dir:  /w/workspace/foundry_device-onvif-camera_main 18:25:31 project root: . 18:25:31 --> token set from env 18:25:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:25:31 ==> Running gcov in . (disable via -X gcov) 18:25:31 ==> Python coveragepy not found 18:25:31 ==> Searching for coverage reports in: 18:25:31 + . 18:25:31 -> Found 1 reports 18:25:31 ==> Detecting git/mercurial file structure 18:25:31 ==> Reading reports 18:25:31 + ./coverage.out bytes=78456 18:25:31 ==> Appending adjustments 18:25:31 https://docs.codecov.io/docs/fixing-reports 18:25:31 + Found adjustments 18:25:31 ==> Gzipping contents 18:25:31 12K /tmp/codecov.GS8hB0.gz 18:25:31 ==> Uploading reports 18:25:31 url: https://codecov.io 18:25:31 query: branch=main&commit=f9aa1e7837344c75d2a4d485c1648989cda54cfb&build=177&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F177%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:25:31 -> Pinging Codecov 18:25:31 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=f9aa1e7837344c75d2a4d485c1648989cda54cfb&build=177&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F177%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:25:31 -> Uploading to 18:25:31 https://storage.googleapis.com/codecov/v4/raw/2023-10-24/F29A59C45E3A92E06B3E522C9905F8EF/f9aa1e7837344c75d2a4d485c1648989cda54cfb/6251dbca-8930-4b52-bb8b-a5d1b9774cbb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T182531Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3cd57438a88a9ac4851d53f26c333b51eaf6f57bccd29ce81f188240009406d4 18:25:31 % Total % Received % Xferd Average Speed Time Time Time Current 18:25:31 Dload Upload Total Spent Left Speed 18:25:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 33694 --:--:-- --:--:-- --:--:-- 33804 18:25:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/f9aa1e7837344c75d2a4d485c1648989cda54cfb [Pipeline] } 18:25:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:25:31 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:25:32 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:25:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:25:32 18:25:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:25:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:25:32 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:25:32 df9b9388f04a: Pulling fs layer 18:25:32 52dc419b0ee2: Pulling fs layer 18:25:32 25bc292e5bac: Pulling fs layer 18:25:32 114826534d7a: Pulling fs layer 18:25:32 4657fd5d0bcf: Pulling fs layer 18:25:32 6ad1cebc031e: Pulling fs layer 18:25:32 8a3aa393b2d8: Pulling fs layer 18:25:32 6ad1cebc031e: Waiting 18:25:32 114826534d7a: Waiting 18:25:32 4657fd5d0bcf: Waiting 18:25:32 25bc292e5bac: Verifying Checksum 18:25:32 25bc292e5bac: Download complete 18:25:32 52dc419b0ee2: Verifying Checksum 18:25:32 52dc419b0ee2: Download complete 18:25:32 4657fd5d0bcf: Verifying Checksum 18:25:32 4657fd5d0bcf: Download complete 18:25:32 df9b9388f04a: Verifying Checksum 18:25:32 df9b9388f04a: Download complete 18:25:32 df9b9388f04a: Pull complete 18:25:32 6ad1cebc031e: Verifying Checksum 18:25:32 6ad1cebc031e: Download complete 18:25:32 52dc419b0ee2: Pull complete 18:25:32 25bc292e5bac: Pull complete 18:25:33 114826534d7a: Verifying Checksum 18:25:33 114826534d7a: Download complete 18:25:33 8a3aa393b2d8: Verifying Checksum 18:25:33 8a3aa393b2d8: Download complete 18:25:36 114826534d7a: Pull complete 18:25:36 4657fd5d0bcf: Pull complete 18:25:36 6ad1cebc031e: Pull complete 18:25:41 8a3aa393b2d8: Pull complete 18:25:41 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:25:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:25:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:25:41 prd-ubuntu20.04-docker-8c-8g-9990 does not seem to be running inside a container 18:25:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 18:25:50 $ docker top 9ce404724fbe75394c08bb1d1fe866c587d325457650f52146835f181cf52de3 -eo pid,comm [Pipeline] { [Pipeline] echo 18:25:50 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 18:25:54 + set -o pipefail 18:25:54 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 18:26:01 18:26:01 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 18:26:01 18:26:01 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/c86a3240-c843-4663-b39d-39629c70caee 18:26:01 18:26:01 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:26:01 18:26:01 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:26:01 18:26:01 18:26:01 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:26:01 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:26:01 More details here: https://snyk.co/ue1NS [Pipeline] } 18:26:01 $ docker stop --time=1 9ce404724fbe75394c08bb1d1fe866c587d325457650f52146835f181cf52de3 18:26:08 $ docker rm -f --volumes 9ce404724fbe75394c08bb1d1fe866c587d325457650f52146835f181cf52de3 [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:26:08 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:26:08 provisioning config files... 18:26:08 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4888964979845422752tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:26:08 --> edgex-publish-swagger.sh 18:26:08 === Publish doc/openapi/v3 API === 18:26:08 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 18:26:08 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 18:26:08 % Total % Received % Xferd Average Speed Time Time Time Current 18:26:08 Dload Upload Total Spent Left Speed 18:26:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 0 0 100 485k 0 675k --:--:-- --:--:-- --:--:-- 674k 100 485k 0 0 100 485k 0 674k --:--:-- --:--:-- --:--:-- 673k 18:26:09 18:26:09 [Pipeline] } 18:26:09 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:26:09 + git log --format=format:%s -1 f9aa1e7837344c75d2a4d485c1648989cda54cfb [Pipeline] sh 18:26:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:26:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:26:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:26:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:26:10 prd-ubuntu20.04-docker-8c-8g-9990 does not seem to be running inside a container 18:26:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:26:10 $ docker top 1b922712d4f059e689fea572a75142078875a1d32c11ba232a995ef5ba4a7c84 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:26:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:26:10 [ssh-agent] Looking for ssh-agent implementation... 18:26:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:26:11 $ docker exec 1b922712d4f059e689fea572a75142078875a1d32c11ba232a995ef5ba4a7c84 ssh-agent 18:26:11 SSH_AUTH_SOCK=/tmp/ssh-UHgWxCvRxWk0/agent.32 18:26:11 SSH_AGENT_PID=38 18:26:11 Running ssh-add (command line suppressed) 18:26:11 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11109734323450278840.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11109734323450278840.key) 18:26:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:26:11 + git semver tag 18:26:11 2023-10-24 18:26:11,753 [run_tag] DEBUG tag force:False 18:26:11 2023-10-24 18:26:11,753 [check_head_tag] DEBUG check head tag 18:26:11 2023-10-24 18:26:11,754 [execute] INFO git cat-file --batch-check 18:26:11 2023-10-24 18:26:11,754 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 18:26:11 2023-10-24 18:26:11,758 [execute] INFO git cat-file --batch 18:26:11 2023-10-24 18:26:11,758 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 18:26:11 2023-10-24 18:26:11,769 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:26:11 2023-10-24 18:26:11,769 [execute] INFO git tag -a v3.1.0-dev.20 -m v3.1.0-dev.20 18:26:11 2023-10-24 18:26:11,769 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.20', '-m', 'v3.1.0-dev.20'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 18:26:11 2023-10-24 18:26:11,774 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:26:11 3.1.0-dev.20 [Pipeline] } 18:26:11 $ docker exec --env ******** --env ******** 1b922712d4f059e689fea572a75142078875a1d32c11ba232a995ef5ba4a7c84 ssh-agent -k 18:26:11 unset SSH_AUTH_SOCK; 18:26:11 unset SSH_AGENT_PID; 18:26:11 echo Agent pid 38 killed; 18:26:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:26:12 + git semver [Pipeline] } 18:26:12 $ docker stop --time=1 1b922712d4f059e689fea572a75142078875a1d32c11ba232a995ef5ba4a7c84 18:26:13 $ docker rm -f --volumes 1b922712d4f059e689fea572a75142078875a1d32c11ba232a995ef5ba4a7c84 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:26:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:26:14 18:26:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:26:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:26:14 0.23.1-centos7: Pulling from edgex-lftools 18:26:14 ab5ef0e58194: Pulling fs layer 18:26:14 9712f1f96733: Pulling fs layer 18:26:14 63f879dbbcfc: Pulling fs layer 18:26:14 0d9ebad4ef96: Pulling fs layer 18:26:14 e9a5061849ea: Pulling fs layer 18:26:14 d747dcd14b5f: Pulling fs layer 18:26:14 2de7ff778b66: Pulling fs layer 18:26:14 0d9ebad4ef96: Waiting 18:26:14 e9a5061849ea: Waiting 18:26:14 d747dcd14b5f: Waiting 18:26:14 2de7ff778b66: Waiting 18:26:14 9712f1f96733: Verifying Checksum 18:26:14 9712f1f96733: Download complete 18:26:14 63f879dbbcfc: Verifying Checksum 18:26:14 63f879dbbcfc: Download complete 18:26:14 e9a5061849ea: Verifying Checksum 18:26:14 e9a5061849ea: Download complete 18:26:14 ab5ef0e58194: Download complete 18:26:14 d747dcd14b5f: Verifying Checksum 18:26:14 d747dcd14b5f: Download complete 18:26:14 0d9ebad4ef96: Verifying Checksum 18:26:14 0d9ebad4ef96: Download complete 18:26:14 2de7ff778b66: Verifying Checksum 18:26:14 2de7ff778b66: Download complete 18:26:17 ab5ef0e58194: Pull complete 18:26:17 9712f1f96733: Pull complete 18:26:18 63f879dbbcfc: Pull complete 18:26:21 0d9ebad4ef96: Pull complete 18:26:22 e9a5061849ea: Pull complete 18:26:22 d747dcd14b5f: Pull complete 18:26:23 2de7ff778b66: Pull complete 18:26:23 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:26:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:26:23 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:26:24 prd-ubuntu20.04-docker-8c-8g-9990 does not seem to be running inside a container 18:26:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:26:34 $ docker top ff4da3ed0868b8423f5f7b7ebdf8828d4e4d705051e6376a0110ee8e03e77ede -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:26:34 provisioning config files... 18:26:34 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13882789913113861851tmp 18:26:34 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14485797087966594052tmp 18:26:34 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13918746432981568168tmp [Pipeline] { [Pipeline] echo 18:26:34 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:26:34 ---> sigul-configuration.sh 18:26:34 gpg: directory `/root/.gnupg' created 18:26:34 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:26:34 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:26:34 gpg: keyring `/root/.gnupg/secring.gpg' created 18:26:34 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:26:34 gpg: CAST5 encrypted data 18:26:34 gpg: encrypted with 1 passphrase 18:26:34 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:26:34 + mkdir /home/jenkins 18:26:34 + mkdir /home/jenkins/sigul [Pipeline] sh 18:26:35 + 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:26:35 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:26:35 ---> sigul-install.sh 18:26:35 Sigul already installed; skipping installation. [Pipeline] sh 18:26:35 + git tag --list 18:26:35 v0.0.0 18:26:35 v2.2.0 18:26:35 v2.3.0 18:26:35 v2.3.1 18:26:35 v3.0 18:26:35 v3.0.0 18:26:35 v3.1.0-dev.1 18:26:35 v3.1.0-dev.10 18:26:35 v3.1.0-dev.11 18:26:35 v3.1.0-dev.12 18:26:35 v3.1.0-dev.13 18:26:35 v3.1.0-dev.14 18:26:35 v3.1.0-dev.15 18:26:35 v3.1.0-dev.16 18:26:35 v3.1.0-dev.17 18:26:35 v3.1.0-dev.18 18:26:35 v3.1.0-dev.19 18:26:35 v3.1.0-dev.2 18:26:35 v3.1.0-dev.20 18:26:35 v3.1.0-dev.3 18:26:35 v3.1.0-dev.4 18:26:35 v3.1.0-dev.5 18:26:35 v3.1.0-dev.6 18:26:35 v3.1.0-dev.7 18:26:35 v3.1.0-dev.8 18:26:35 v3.1.0-dev.9 [Pipeline] sh 18:26:35 + lftools sign git-tag v3.1.0-dev.20 18:26:36 Signing Git tag with Sigul... 18:26:36 Signing v3.1.0-dev.20 [Pipeline] echo 18:26:36 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:26:37 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:26:37 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:26:37 $ docker stop --time=1 ff4da3ed0868b8423f5f7b7ebdf8828d4e4d705051e6376a0110ee8e03e77ede 18:26:38 $ docker rm -f --volumes ff4da3ed0868b8423f5f7b7ebdf8828d4e4d705051e6376a0110ee8e03e77ede [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:26:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:26:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:26:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:26:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:26:39 prd-ubuntu20.04-docker-8c-8g-9990 does not seem to be running inside a container 18:26:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:26:39 $ docker top 0e1f5f2776bc3de65eadcff1240684d240c54b3a5deee665970e77622f05011f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:26:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:26:39 [ssh-agent] Looking for ssh-agent implementation... 18:26:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:26:39 $ docker exec 0e1f5f2776bc3de65eadcff1240684d240c54b3a5deee665970e77622f05011f ssh-agent 18:26:39 SSH_AUTH_SOCK=/tmp/ssh-47sla87aVk6x/agent.32 18:26:39 SSH_AGENT_PID=38 18:26:39 Running ssh-add (command line suppressed) 18:26:39 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3456442649709590473.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3456442649709590473.key) 18:26:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:26:40 + git semver bump pre 18:26:40 2023-10-24 18:26:40,382 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:26:40 2023-10-24 18:26:40,382 [bump_version] DEBUG bumping version:3.1.0-dev.20 on axis:pre with prefix:dev 18:26:40 2023-10-24 18:26:40,382 [bump_version] DEBUG bumped version:3.1.0-dev.21 18:26:40 2023-10-24 18:26:40,382 [write_version] DEBUG write version:3.1.0-dev.21 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 18:26:40 2023-10-24 18:26:40,382 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:26:40 2023-10-24 18:26:40,382 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 18:26:40 2023-10-24 18:26:40,384 [execute] INFO git cat-file --batch-check 18:26:40 2023-10-24 18:26:40,384 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:26:40 2023-10-24 18:26:40,388 [execute] INFO git cat-file --batch 18:26:40 2023-10-24 18:26:40,389 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:26:40 2023-10-24 18:26:40,393 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:26:40 3.1.0-dev.21 [Pipeline] } 18:26:40 $ docker exec --env ******** --env ******** 0e1f5f2776bc3de65eadcff1240684d240c54b3a5deee665970e77622f05011f ssh-agent -k 18:26:40 unset SSH_AUTH_SOCK; 18:26:40 unset SSH_AGENT_PID; 18:26:40 echo Agent pid 38 killed; 18:26:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:26:40 + git semver [Pipeline] } 18:26:41 $ docker stop --time=1 0e1f5f2776bc3de65eadcff1240684d240c54b3a5deee665970e77622f05011f 18:26:42 $ docker rm -f --volumes 0e1f5f2776bc3de65eadcff1240684d240c54b3a5deee665970e77622f05011f [Pipeline] // withDockerContainer [Pipeline] sh 18:26:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:26:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:26:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:26:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:26:43 prd-ubuntu20.04-docker-8c-8g-9990 does not seem to be running inside a container 18:26:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:26:43 $ docker top 6ce66420b96488ef043ba97586006f5c1b99ea77a1590e15410bc7c9db5743fa -eo pid,comm 18:26:43 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:26:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:26:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:26:43 [ssh-agent] Looking for ssh-agent implementation... 18:26:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:26:43 $ docker exec 6ce66420b96488ef043ba97586006f5c1b99ea77a1590e15410bc7c9db5743fa ssh-agent 18:26:43 SSH_AUTH_SOCK=/tmp/ssh-yI89KNuU0DCt/agent.31 18:26:43 SSH_AGENT_PID=37 18:26:43 Running ssh-add (command line suppressed) 18:26:43 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16873996624974165444.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16873996624974165444.key) 18:26:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:26:44 + git semver push 18:26:44 2023-10-24 18:26:44,402 [run_push] DEBUG push 18:26:44 2023-10-24 18:26:44,403 [execute] INFO git cat-file --batch-check 18:26:44 2023-10-24 18:26:44,403 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:26:44 2023-10-24 18:26:44,407 [execute] INFO git rev-list d9eaa241e770a6e85b5bc293b04528861c25cc83 -- 18:26:44 2023-10-24 18:26:44,408 [execute] DEBUG Popen(['git', 'rev-list', 'd9eaa241e770a6e85b5bc293b04528861c25cc83', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:26:44 2023-10-24 18:26:44,417 [execute] INFO git fetch -v origin 18:26:44 2023-10-24 18:26:44,417 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 18:26:45 2023-10-24 18:26:44,958 [run_push] DEBUG no remote changes detected 18:26:45 2023-10-24 18:26:44,959 [execute] INFO git push origin semver 18:26:45 2023-10-24 18:26:44,959 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:26:45 2023-10-24 18:26:45,735 [run_push] DEBUG push all version tags 18:26:45 2023-10-24 18:26:45,736 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:26:45 2023-10-24 18:26:45,736 [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:26:46 2023-10-24 18:26:46,537 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:26:46 3.1.0-dev.21 [Pipeline] } 18:26:46 $ docker exec --env ******** --env ******** 6ce66420b96488ef043ba97586006f5c1b99ea77a1590e15410bc7c9db5743fa ssh-agent -k 18:26:46 unset SSH_AUTH_SOCK; 18:26:46 unset SSH_AGENT_PID; 18:26:46 echo Agent pid 37 killed; 18:26:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:26:47 + git semver [Pipeline] } 18:26:47 $ docker stop --time=1 6ce66420b96488ef043ba97586006f5c1b99ea77a1590e15410bc7c9db5743fa 18:26:48 $ docker rm -f --volumes 6ce66420b96488ef043ba97586006f5c1b99ea77a1590e15410bc7c9db5743fa [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:26:49 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 18:26:49 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 18:26:49 total 16 18:26:49 drwxr-xr-x 3 root root 4096 Oct 24 18:14 . 18:26:49 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 18:26 .. 18:26:49 drwxr-xr-x 2 root root 4096 Oct 24 18:14 cost 18:26:49 -rw-r--r-- 1 root root 91 Oct 24 18:14 cost.csv 18:26:49 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 18:26:49 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 18:26:49 total 16 18:26:49 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:14 . 18:26:49 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 18:26 .. 18:26:49 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 18:14 cost 18:26:49 -rw-r--r-- 1 jenkins jenkins 91 Oct 24 18:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:26:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:26:50 ---> package-listing.sh 18:26:50 ++ facter osfamily 18:26:50 ++ tr '[:upper:]' '[:lower:]' 18:26:50 + OS_FAMILY=debian 18:26:50 + workspace=/w/workspace/foundry_device-onvif-camera_main 18:26:50 + START_PACKAGES=/tmp/packages_start.txt 18:26:50 + END_PACKAGES=/tmp/packages_end.txt 18:26:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:26:50 + PACKAGES=/tmp/packages_start.txt 18:26:50 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 18:26:50 + PACKAGES=/tmp/packages_end.txt 18:26:50 + case "${OS_FAMILY}" in 18:26:50 + dpkg -l 18:26:50 + grep '^ii' 18:26:50 + '[' -f /tmp/packages_start.txt ']' 18:26:50 + '[' -f /tmp/packages_end.txt ']' 18:26:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:26:50 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 18:26:50 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 18:26:50 + 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:26:50 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:26:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:26:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:26:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:26:51 prd-ubuntu20.04-docker-8c-8g-9990 does not seem to be running inside a container 18:26:51 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:26:51 $ docker top 74990393b5f01300ad14a3def83233fe3c278edd5285d8c9db04dcad43102d40 -eo pid,comm [Pipeline] { [Pipeline] sh 18:26:52 + touch /tmp/pre-build-complete [Pipeline] sh 18:26:52 + mkdir -p /var/log/sysstat [Pipeline] sh 18:26:52 + ls /var/log/sa-host 18:26:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:26:52 provisioning config files... 18:26:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17410608987646228857tmp [Pipeline] { [Pipeline] echo 18:26:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:26:53 ---> create-netrc.sh [Pipeline] } 18:26:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:26:53 ---> python-tools-install.sh [Pipeline] echo 18:26:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:26:53 ---> sudo-logs.sh 18:26:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:26:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:26:54 ---> job-cost.sh 18:26:54 lf-activate-venv: SKIPPING 18:26:54 DEBUG: total: 0.2199999988079071 18:26:54 INFO: Retrieving Stack Cost... 18:26:54 INFO: Retrieving Pricing Info for: v3-standard-8 18:26:54 INFO: Archiving Costs [Pipeline] echo 18:26:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:26:54 ---> logs-deploy.sh 18:26:54 lf-activate-venv: SKIPPING 18:26:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/177 18:26:54 INFO: archiving workspace using pattern(s): 18:26:55 Archives upload complete. 18:26:55 INFO: archiving logs to Nexus 18:26:56 ---> uname -a: 18:26:56 Linux prd-ubuntu20-04-docker-8c-8g-9990 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:26:56 18:26:56 18:26:56 ---> lscpu: 18:26:56 Architecture: x86_64 18:26:56 CPU op-mode(s): 32-bit, 64-bit 18:26:56 Byte Order: Little Endian 18:26:56 Address sizes: 40 bits physical, 48 bits virtual 18:26:56 CPU(s): 8 18:26:56 On-line CPU(s) list: 0-7 18:26:56 Thread(s) per core: 1 18:26:56 Core(s) per socket: 1 18:26:56 Socket(s): 8 18:26:56 NUMA node(s): 1 18:26:56 Vendor ID: AuthenticAMD 18:26:56 CPU family: 23 18:26:56 Model: 49 18:26:56 Model name: AMD EPYC-Rome Processor 18:26:56 Stepping: 0 18:26:56 CPU MHz: 2800.000 18:26:56 BogoMIPS: 5600.00 18:26:56 Virtualization: AMD-V 18:26:56 Hypervisor vendor: KVM 18:26:56 Virtualization type: full 18:26:56 L1d cache: 256 KiB 18:26:56 L1i cache: 256 KiB 18:26:56 L2 cache: 4 MiB 18:26:56 L3 cache: 128 MiB 18:26:56 NUMA node0 CPU(s): 0-7 18:26:56 Vulnerability Itlb multihit: Not affected 18:26:56 Vulnerability L1tf: Not affected 18:26:56 Vulnerability Mds: Not affected 18:26:56 Vulnerability Meltdown: Not affected 18:26:56 Vulnerability Mmio stale data: Not affected 18:26:56 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:26:56 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 18:26:56 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 18:26:56 Vulnerability Srbds: Not affected 18:26:56 Vulnerability Tsx async abort: Not affected 18:26:56 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 18:26:56 18:26:56 18:26:56 ---> nproc: 18:26:56 8 18:26:56 18:26:56 18:26:56 ---> df -h: 18:26:56 Filesystem Size Used Avail Use% Mounted on 18:26:56 overlay 155G 13G 143G 9% / 18:26:56 tmpfs 64M 0 64M 0% /dev 18:26:56 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:26:56 shm 64M 0 64M 0% /dev/shm 18:26:56 /dev/vda1 155G 13G 143G 9% /facter-os 18:26:56 18:26:56