Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 75827e104e6969b0db3798c8f9b2a7d77ba88999 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-ssh5773587458333073953.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-ssh12782025933419827593.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-ssh2449025512088717828.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-ssh15793469918098020756.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-ssh6044324445512484381.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8117 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 75827e104e6969b0db3798c8f9b2a7d77ba88999 (main) Commit message: "Merge pull request #390 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.32" > git config core.sparsecheckout # timeout=10 > git checkout -f 75827e104e6969b0db3798c8f9b2a7d77ba88999 # timeout=10 > git rev-list --no-walk 8b26e08ae669ef2db953223401c2348c9b5f017a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-28T06:37:49.958Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-28T06:37:50.032Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-28T06:37:50.050Z] ========================================================= [2023-09-28T06:37:50.050Z] EdgeX Global Pipelines Version Info [2023-09-28T06:37:50.050Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:37:50.788Z] ------------------- [2023-09-28T06:37:50.788Z] stable info: [2023-09-28T06:37:50.788Z] ------------------- [2023-09-28T06:37:50.788Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-28T06:37:50.788Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-28T06:37:50.788Z] Message: update stable to v1.0.254 [2023-09-28T06:37:51.360Z] ------------------- [2023-09-28T06:37:51.360Z] experimental info: [2023-09-28T06:37:51.360Z] ------------------- [2023-09-28T06:37:51.360Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-28T06:37:51.360Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-28T06:37:51.360Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-28T06:37:51.542Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-09-28T06:37:51.559Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-09-28T06:37:51.576Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-28T06:37:51.593Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-28T06:37:51.603Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-28T06:37:51.619Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-28T06:37:51.637Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-28T06:37:51.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-28T06:37:51.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-28T06:37:51.691Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-28T06:37:51.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-28T06:37:51.729Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-09-28T06:37:51.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-28T06:37:51.765Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-28T06:37:51.783Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-28T06:37:51.795Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-28T06:37:51.814Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-28T06:37:51.829Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-28T06:37:51.840Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-28T06:37:51.859Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-28T06:37:51.874Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-28T06:37:51.888Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2023-09-28T06:37:51.904Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-28T06:37:51.915Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-28T06:37:51.927Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-28T06:37:51.940Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-28T06:37:51.952Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-28T06:37:51.966Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-28T06:37:51.981Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-28T06:37:51.994Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-28T06:37:52.006Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 75827e104e6969b0db3798c8f9b2a7d77ba88999 [Pipeline] echo [2023-09-28T06:37:52.017Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 75827e1 [Pipeline] echo [2023-09-28T06:37:52.026Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-28T06:37:52.075Z] provisioning config files... [2023-09-28T06:37:52.091Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13336201061283890165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:37:52.409Z] ---> docker-login.sh [2023-09-28T06:37:52.409Z] nexus3.edgexfoundry.org:10001 [2023-09-28T06:37:52.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:37:52.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:37:52.671Z] Configure a credential helper to remove this warning. See [2023-09-28T06:37:52.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:37:52.672Z] [2023-09-28T06:37:52.672Z] Login Succeeded [2023-09-28T06:37:52.672Z] nexus3.edgexfoundry.org:10002 [2023-09-28T06:37:52.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:37:52.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:37:52.672Z] Configure a credential helper to remove this warning. See [2023-09-28T06:37:52.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:37:52.672Z] [2023-09-28T06:37:52.672Z] Login Succeeded [2023-09-28T06:37:52.672Z] nexus3.edgexfoundry.org:10003 [2023-09-28T06:37:52.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:37:52.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:37:52.932Z] Configure a credential helper to remove this warning. See [2023-09-28T06:37:52.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:37:52.932Z] [2023-09-28T06:37:52.932Z] Login Succeeded [2023-09-28T06:37:52.932Z] nexus3.edgexfoundry.org:10004 [2023-09-28T06:37:52.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:37:52.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:37:52.932Z] Configure a credential helper to remove this warning. See [2023-09-28T06:37:52.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:37:52.932Z] [2023-09-28T06:37:52.932Z] Login Succeeded [2023-09-28T06:37:52.932Z] docker.io [2023-09-28T06:37:53.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:37:53.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:37:53.193Z] Configure a credential helper to remove this warning. See [2023-09-28T06:37:53.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:37:53.193Z] [2023-09-28T06:37:53.193Z] Login Succeeded [2023-09-28T06:37:53.193Z] ---> docker-login.sh ends [Pipeline] } [2023-09-28T06:37:53.208Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-28T06:37:53.628Z] + git rev-list -1 --merges 75827e104e6969b0db3798c8f9b2a7d77ba88999~1..75827e104e6969b0db3798c8f9b2a7d77ba88999 [Pipeline] echo [2023-09-28T06:37:53.668Z] -----------> git rev-list -1 --merges 75827e104e6969b0db3798c8f9b2a7d77ba88999~1..75827e104e6969b0db3798c8f9b2a7d77ba88999 75827e104e6969b0db3798c8f9b2a7d77ba88999 [2023-09-28T06:37:53.668Z] 75827e104e6969b0db3798c8f9b2a7d77ba88999 [false] [Pipeline] sh [2023-09-28T06:37:53.954Z] + git log --format=format:%s -1 75827e104e6969b0db3798c8f9b2a7d77ba88999 [Pipeline] echo [2023-09-28T06:37:53.971Z] ========================================================= [2023-09-28T06:37:53.971Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-28T06:37:53.971Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-28T06:37:54.285Z] + git log --format=format:%s -1 75827e104e6969b0db3798c8f9b2a7d77ba88999 [Pipeline] echo [2023-09-28T06:37:54.296Z] [semverPrep] GIT_COMMIT: 75827e104e6969b0db3798c8f9b2a7d77ba88999, Commit Message: Merge pull request #390 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.32 [Pipeline] echo [2023-09-28T06:37:54.304Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-28T06:37:54.655Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-28T06:37:54.655Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-28T06:37:54.655Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-28T06:37:54.655Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-28T06:37:54.655Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-28T06:37:54.655Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-28T06:37:54.655Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:37:55.013Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T06:37:55.014Z] [2023-09-28T06:37:55.014Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:37:55.311Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T06:37:55.311Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-28T06:37:55.311Z] b85a868b505f: Pulling fs layer [2023-09-28T06:37:55.311Z] e2be974225ed: Pulling fs layer [2023-09-28T06:37:55.311Z] 339a4e72a1f5: Pulling fs layer [2023-09-28T06:37:55.311Z] 988bab9f4d93: Pulling fs layer [2023-09-28T06:37:55.311Z] 1469e6f7b9e6: Pulling fs layer [2023-09-28T06:37:55.311Z] eaf3925da568: Pulling fs layer [2023-09-28T06:37:55.311Z] bab4dde63d76: Pulling fs layer [2023-09-28T06:37:55.311Z] bde34c3a00c8: Pulling fs layer [2023-09-28T06:37:55.311Z] b352a97aabf1: Pulling fs layer [2023-09-28T06:37:55.311Z] 4872d77fe225: Pulling fs layer [2023-09-28T06:37:55.311Z] 5851b861e8e6: Pulling fs layer [2023-09-28T06:37:55.311Z] bde34c3a00c8: Waiting [2023-09-28T06:37:55.311Z] 988bab9f4d93: Waiting [2023-09-28T06:37:55.311Z] 1469e6f7b9e6: Waiting [2023-09-28T06:37:55.311Z] eaf3925da568: Waiting [2023-09-28T06:37:55.311Z] bab4dde63d76: Waiting [2023-09-28T06:37:55.311Z] b352a97aabf1: Waiting [2023-09-28T06:37:55.311Z] 4872d77fe225: Waiting [2023-09-28T06:37:55.311Z] 5851b861e8e6: Waiting [2023-09-28T06:37:55.311Z] e2be974225ed: Download complete [2023-09-28T06:37:55.311Z] 988bab9f4d93: Verifying Checksum [2023-09-28T06:37:55.311Z] 988bab9f4d93: Download complete [2023-09-28T06:37:55.311Z] 1469e6f7b9e6: Verifying Checksum [2023-09-28T06:37:55.311Z] 1469e6f7b9e6: Download complete [2023-09-28T06:37:55.569Z] 339a4e72a1f5: Verifying Checksum [2023-09-28T06:37:55.569Z] 339a4e72a1f5: Download complete [2023-09-28T06:37:55.569Z] eaf3925da568: Verifying Checksum [2023-09-28T06:37:55.569Z] eaf3925da568: Download complete [2023-09-28T06:37:55.569Z] bde34c3a00c8: Verifying Checksum [2023-09-28T06:37:55.569Z] bde34c3a00c8: Download complete [2023-09-28T06:37:55.569Z] b352a97aabf1: Download complete [2023-09-28T06:37:55.569Z] 4872d77fe225: Verifying Checksum [2023-09-28T06:37:55.569Z] 4872d77fe225: Download complete [2023-09-28T06:37:55.569Z] 5851b861e8e6: Verifying Checksum [2023-09-28T06:37:55.569Z] 5851b861e8e6: Download complete [2023-09-28T06:37:55.569Z] b85a868b505f: Verifying Checksum [2023-09-28T06:37:55.569Z] b85a868b505f: Download complete [2023-09-28T06:37:55.827Z] bab4dde63d76: Download complete [2023-09-28T06:37:56.764Z] b85a868b505f: Pull complete [2023-09-28T06:37:56.765Z] e2be974225ed: Pull complete [2023-09-28T06:37:57.332Z] 339a4e72a1f5: Pull complete [2023-09-28T06:37:57.332Z] 988bab9f4d93: Pull complete [2023-09-28T06:37:57.590Z] 1469e6f7b9e6: Pull complete [2023-09-28T06:37:57.590Z] eaf3925da568: Pull complete [2023-09-28T06:37:59.532Z] bab4dde63d76: Pull complete [2023-09-28T06:37:59.532Z] bde34c3a00c8: Pull complete [2023-09-28T06:37:59.532Z] b352a97aabf1: Pull complete [2023-09-28T06:37:59.532Z] 4872d77fe225: Pull complete [2023-09-28T06:37:59.793Z] 5851b861e8e6: Pull complete [2023-09-28T06:37:59.793Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-28T06:37:59.793Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T06:37:59.793Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:37:59.897Z] prd-ubuntu20.04-docker-8c-8g-8117 does not seem to be running inside a container [2023-09-28T06:37:59.949Z] $ 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 [2023-09-28T06:38:02.429Z] $ docker top 1e25579e3bc25cac9237ad4e07a5864cb28ff6b975b76bdbd30d6927bd3e71d4 -eo pid,comm [2023-09-28T06:38:02.483Z] 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). [2023-09-28T06:38:02.483Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-28T06:38:02.517Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-28T06:38:02.517Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-28T06:38:02.626Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-28T06:38:02.633Z] $ docker exec 1e25579e3bc25cac9237ad4e07a5864cb28ff6b975b76bdbd30d6927bd3e71d4 ssh-agent [2023-09-28T06:38:02.742Z] SSH_AUTH_SOCK=/tmp/ssh-69UNsLMEHVYn/agent.34 [2023-09-28T06:38:02.742Z] SSH_AGENT_PID=40 [2023-09-28T06:38:02.749Z] Running ssh-add (command line suppressed) [2023-09-28T06:38:02.854Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15331442240716084886.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15331442240716084886.key) [2023-09-28T06:38:02.864Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-28T06:38:03.153Z] + git tag --points-at HEAD [Pipeline] } [2023-09-28T06:38:03.174Z] $ docker exec --env ******** --env ******** 1e25579e3bc25cac9237ad4e07a5864cb28ff6b975b76bdbd30d6927bd3e71d4 ssh-agent -k [2023-09-28T06:38:03.278Z] unset SSH_AUTH_SOCK; [2023-09-28T06:38:03.278Z] unset SSH_AGENT_PID; [2023-09-28T06:38:03.278Z] echo Agent pid 40 killed; [2023-09-28T06:38:03.285Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-28T06:38:03.313Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-28T06:38:03.313Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-28T06:38:03.430Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-28T06:38:03.436Z] $ docker exec 1e25579e3bc25cac9237ad4e07a5864cb28ff6b975b76bdbd30d6927bd3e71d4 ssh-agent [2023-09-28T06:38:03.538Z] SSH_AUTH_SOCK=/tmp/ssh-qUuiPBSGyP2j/agent.72 [2023-09-28T06:38:03.538Z] SSH_AGENT_PID=78 [2023-09-28T06:38:03.542Z] Running ssh-add (command line suppressed) [2023-09-28T06:38:03.641Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3388845203667032745.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3388845203667032745.key) [2023-09-28T06:38:03.655Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-28T06:38:03.945Z] + git semver init [2023-09-28T06:38:09.551Z] 2023-09-28 06:38:04,132 [run_init] DEBUG init version:0.0.0 force:False [2023-09-28T06:38:09.551Z] 2023-09-28 06:38:04,134 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2023-09-28T06:38:09.551Z] 2023-09-28 06:38:04,136 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2023-09-28T06:38:09.551Z] 2023-09-28 06:38:04,136 [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) [2023-09-28T06:38:10.934Z] 2023-09-28 06:38:11,832 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2023-09-28T06:38:10.934Z] 2023-09-28 06:38:11,833 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2023-09-28T06:38:10.934Z] 2023-09-28 06:38:11,833 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-09-28T06:38:10.934Z] 2023-09-28 06:38:11,833 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-09-28T06:38:10.934Z] 3.1.0-dev.15 [Pipeline] } [2023-09-28T06:38:12.158Z] $ docker exec --env ******** --env ******** 1e25579e3bc25cac9237ad4e07a5864cb28ff6b975b76bdbd30d6927bd3e71d4 ssh-agent -k [2023-09-28T06:38:12.270Z] unset SSH_AUTH_SOCK; [2023-09-28T06:38:12.271Z] unset SSH_AGENT_PID; [2023-09-28T06:38:12.271Z] echo Agent pid 78 killed; [2023-09-28T06:38:11.067Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-28T06:38:11.369Z] + git semver [Pipeline] } [2023-09-28T06:38:12.856Z] $ docker stop --time=1 1e25579e3bc25cac9237ad4e07a5864cb28ff6b975b76bdbd30d6927bd3e71d4 [2023-09-28T06:38:14.117Z] $ docker rm -f --volumes 1e25579e3bc25cac9237ad4e07a5864cb28ff6b975b76bdbd30d6927bd3e71d4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-28T06:38:13.239Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-28T06:38:13.448Z] Stashed 1 file(s) [Pipeline] echo [2023-09-28T06:38:13.451Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.15 [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 [2023-09-28T06:38:13.587Z] provisioning config files... [2023-09-28T06:38:13.597Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2269480632092490078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:38:13.895Z] ---> docker-login.sh [2023-09-28T06:38:13.895Z] nexus3.edgexfoundry.org:10001 [2023-09-28T06:38:13.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:38:13.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:38:13.895Z] Configure a credential helper to remove this warning. See [2023-09-28T06:38:13.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:38:13.895Z] [2023-09-28T06:38:13.895Z] Login Succeeded [2023-09-28T06:38:13.895Z] nexus3.edgexfoundry.org:10002 [2023-09-28T06:38:13.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:38:13.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:38:13.895Z] Configure a credential helper to remove this warning. See [2023-09-28T06:38:13.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:38:13.895Z] [2023-09-28T06:38:13.895Z] Login Succeeded [2023-09-28T06:38:13.895Z] nexus3.edgexfoundry.org:10003 [2023-09-28T06:38:14.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:38:14.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:38:14.155Z] Configure a credential helper to remove this warning. See [2023-09-28T06:38:14.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:38:14.155Z] [2023-09-28T06:38:14.155Z] Login Succeeded [2023-09-28T06:38:14.155Z] nexus3.edgexfoundry.org:10004 [2023-09-28T06:38:14.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:38:14.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:38:14.155Z] Configure a credential helper to remove this warning. See [2023-09-28T06:38:14.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:38:14.155Z] [2023-09-28T06:38:14.155Z] Login Succeeded [2023-09-28T06:38:14.155Z] docker.io [2023-09-28T06:38:14.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:38:14.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:38:14.413Z] Configure a credential helper to remove this warning. See [2023-09-28T06:38:14.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:38:14.413Z] [2023-09-28T06:38:14.413Z] Login Succeeded [2023-09-28T06:38:14.413Z] ---> docker-login.sh ends [Pipeline] } [2023-09-28T06:38:14.420Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-28T06:38:14.481Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T06:38:14.494Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T06:38:14.501Z] ========================================================= [2023-09-28T06:38:14.501Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-28T06:38:14.501Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:38:14.802Z] + 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 . [2023-09-28T06:38:14.802Z] Sending build context to Docker daemon 21.56MB [2023-09-28T06:38:14.802Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-09-28T06:38:14.802Z] Step 2/13 : FROM ${BASE} AS builder [2023-09-28T06:38:15.094Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-28T06:38:15.094Z] 7264a8db6415: Pulling fs layer [2023-09-28T06:38:15.094Z] c4d48a809fc2: Pulling fs layer [2023-09-28T06:38:15.094Z] 4f1c88b9dad5: Pulling fs layer [2023-09-28T06:38:15.094Z] ad3a456e5733: Pulling fs layer [2023-09-28T06:38:15.094Z] 33e27b845d1e: Pulling fs layer [2023-09-28T06:38:15.094Z] c68163c4e522: Pulling fs layer [2023-09-28T06:38:15.094Z] 50da416c3ac9: Pulling fs layer [2023-09-28T06:38:15.094Z] 23d2d4c4bb30: Pulling fs layer [2023-09-28T06:38:15.094Z] ad3a456e5733: Waiting [2023-09-28T06:38:15.094Z] 33e27b845d1e: Waiting [2023-09-28T06:38:15.094Z] c68163c4e522: Waiting [2023-09-28T06:38:15.094Z] 50da416c3ac9: Waiting [2023-09-28T06:38:15.094Z] 23d2d4c4bb30: Waiting [2023-09-28T06:38:15.094Z] c4d48a809fc2: Verifying Checksum [2023-09-28T06:38:15.094Z] c4d48a809fc2: Download complete [2023-09-28T06:38:15.094Z] ad3a456e5733: Verifying Checksum [2023-09-28T06:38:15.094Z] ad3a456e5733: Download complete [2023-09-28T06:38:15.094Z] 33e27b845d1e: Verifying Checksum [2023-09-28T06:38:15.094Z] 33e27b845d1e: Download complete [2023-09-28T06:38:15.094Z] 7264a8db6415: Verifying Checksum [2023-09-28T06:38:15.094Z] 7264a8db6415: Download complete [2023-09-28T06:38:15.094Z] c68163c4e522: Verifying Checksum [2023-09-28T06:38:15.094Z] c68163c4e522: Download complete [2023-09-28T06:38:15.358Z] 7264a8db6415: Pull complete [2023-09-28T06:38:15.358Z] 23d2d4c4bb30: Verifying Checksum [2023-09-28T06:38:15.358Z] 23d2d4c4bb30: Download complete [2023-09-28T06:38:15.358Z] c4d48a809fc2: Pull complete [2023-09-28T06:38:15.618Z] 4f1c88b9dad5: Download complete [2023-09-28T06:38:15.877Z] 50da416c3ac9: Verifying Checksum [2023-09-28T06:38:15.877Z] 50da416c3ac9: Download complete [2023-09-28T06:38:19.162Z] 4f1c88b9dad5: Pull complete [2023-09-28T06:38:19.162Z] ad3a456e5733: Pull complete [2023-09-28T06:38:19.162Z] 33e27b845d1e: Pull complete [2023-09-28T06:38:19.162Z] c68163c4e522: Pull complete [2023-09-28T06:38:21.691Z] 50da416c3ac9: Pull complete [2023-09-28T06:38:21.950Z] 23d2d4c4bb30: Pull complete [2023-09-28T06:38:21.950Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-28T06:38:21.950Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-28T06:38:21.950Z] ---> 0786185ac409 [2023-09-28T06:38:21.950Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-09-28T06:38:25.248Z] ---> Running in 4c1f33850d47 [2023-09-28T06:38:25.248Z] Removing intermediate container 4c1f33850d47 [2023-09-28T06:38:25.248Z] ---> 4629715a9d12 [2023-09-28T06:38:25.248Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-28T06:38:25.507Z] ---> Running in 3e5831b5010e [2023-09-28T06:38:25.507Z] Removing intermediate container 3e5831b5010e [2023-09-28T06:38:25.507Z] ---> 87f544b832ad [2023-09-28T06:38:25.507Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-09-28T06:38:25.507Z] ---> Running in afe7f8372563 [2023-09-28T06:38:25.507Z] Removing intermediate container afe7f8372563 [2023-09-28T06:38:25.507Z] ---> 95460c45a8b4 [2023-09-28T06:38:25.507Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-09-28T06:38:25.507Z] ---> Running in dffe48762785 [2023-09-28T06:38:25.766Z] Removing intermediate container dffe48762785 [2023-09-28T06:38:25.766Z] ---> ae5367296af7 [2023-09-28T06:38:25.766Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-09-28T06:38:25.766Z] ---> Running in 4b6c07320dbe [2023-09-28T06:38:25.766Z] Removing intermediate container 4b6c07320dbe [2023-09-28T06:38:25.766Z] ---> 578bb0546e2e [2023-09-28T06:38:25.766Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-28T06:38:25.766Z] ---> Running in 42c7e4b5a86c [2023-09-28T06:38:26.028Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-28T06:38:26.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-28T06:38:26.546Z] OK: 264 MiB in 52 packages [2023-09-28T06:38:26.805Z] Removing intermediate container 42c7e4b5a86c [2023-09-28T06:38:26.805Z] ---> 2f497fe9b1ba [2023-09-28T06:38:26.805Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-09-28T06:38:26.805Z] ---> Running in 4e018c45232a [2023-09-28T06:38:27.063Z] Removing intermediate container 4e018c45232a [2023-09-28T06:38:27.063Z] ---> c2c7a71872f4 [2023-09-28T06:38:27.063Z] Step 10/13 : COPY go.mod vendor* ./ [2023-09-28T06:38:27.063Z] ---> e6ed623a2a11 [2023-09-28T06:38:27.063Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-28T06:38:27.063Z] ---> Running in aed21dbe3d48 [2023-09-28T06:38:28.554Z] Still waiting to schedule task [2023-09-28T06:38:28.555Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-28T06:38:59.193Z] Removing intermediate container aed21dbe3d48 [2023-09-28T06:38:59.193Z] ---> ef255dd40624 [2023-09-28T06:38:59.193Z] Step 12/13 : COPY . . [2023-09-28T06:38:59.193Z] ---> 1dbe14d8520c [2023-09-28T06:38:59.193Z] Step 13/13 : RUN ${MAKE} [2023-09-28T06:38:59.193Z] ---> Running in b64582b4129e [2023-09-28T06:38:59.452Z] noop [2023-09-28T06:38:59.716Z] Removing intermediate container b64582b4129e [2023-09-28T06:38:59.716Z] ---> 473e238b9c51 [2023-09-28T06:38:59.716Z] Successfully built 473e238b9c51 [2023-09-28T06:38:59.976Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:39:00.282Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-28T06:39:00.282Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:39:00.347Z] prd-ubuntu20.04-docker-8c-8g-8117 does not seem to be running inside a container [2023-09-28T06:39:00.379Z] $ 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 [2023-09-28T06:39:00.717Z] $ docker top cb1a9adfb5425d251e5012ad445fb5fad16eb13cab2fe6f1b6df159068d06734 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T06:39:01.058Z] + go version [2023-09-28T06:39:01.058Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-28T06:39:01.070Z] $ docker stop --time=1 cb1a9adfb5425d251e5012ad445fb5fad16eb13cab2fe6f1b6df159068d06734 [2023-09-28T06:39:02.374Z] $ docker rm -f --volumes cb1a9adfb5425d251e5012ad445fb5fad16eb13cab2fe6f1b6df159068d06734 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:39:02.774Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-28T06:39:02.774Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:39:02.850Z] prd-ubuntu20.04-docker-8c-8g-8117 does not seem to be running inside a container [2023-09-28T06:39:02.883Z] $ 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 [2023-09-28T06:39:03.237Z] $ docker top e7a43ba39c611f1e427dda03c09f1133b8f08d4a75532c71409df45a97d0ab36 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T06:39:03.578Z] + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh [2023-09-28T06:39:03.875Z] + make test [2023-09-28T06:39:03.876Z] go test ./... -coverprofile=coverage.out ./... [2023-09-28T06:39:05.250Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-09-28T06:39:17.443Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-09-28T06:39:17.443Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-09-28T06:39:18.376Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.036s coverage: 31.5% of statements [2023-09-28T06:39:18.376Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.107s coverage: 86.5% of statements [2023-09-28T06:39:26.481Z] go vet ./... [2023-09-28T06:39:29.763Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-28T06:39:29.763Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-28T06:39:30.022Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-28T06:39:30.035Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-28T06:39:30.052Z] $ docker stop --time=1 e7a43ba39c611f1e427dda03c09f1133b8f08d4a75532c71409df45a97d0ab36 [2023-09-28T06:39:33.494Z] $ docker rm -f --volumes e7a43ba39c611f1e427dda03c09f1133b8f08d4a75532c71409df45a97d0ab36 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-28T06:39:34.017Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-28T06:39:34.090Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-28T06:39:34.552Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-28T06:39:34.836Z] + ls -al . [2023-09-28T06:39:34.836Z] total 244 [2023-09-28T06:39:34.836Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 06:39 . [2023-09-28T06:39:34.836Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 06:37 .. [2023-09-28T06:39:34.836Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 06:39 .git [2023-09-28T06:39:34.836Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 06:37 .github [2023-09-28T06:39:34.836Z] -rw-rw-r-- 1 jenkins jenkins 496 Sep 28 06:37 .gitignore [2023-09-28T06:39:34.836Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 06:37 .golangci.yml [2023-09-28T06:39:34.836Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 06:38 .semver [2023-09-28T06:39:34.836Z] -rw-rw-r-- 1 jenkins jenkins 11155 Sep 28 06:37 Attribution.txt [2023-09-28T06:39:34.836Z] -rw-rw-r-- 1 jenkins jenkins 15932 Sep 28 06:37 CHANGELOG.md [2023-09-28T06:39:34.836Z] -rw-rw-r-- 1 jenkins jenkins 1574 Sep 28 06:37 Dockerfile [2023-09-28T06:39:34.836Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 06:37 GOVERNANCE.md [2023-09-28T06:39:34.836Z] -rw-rw-r-- 1 jenkins jenkins 739 Sep 28 06:37 Jenkinsfile [2023-09-28T06:39:34.836Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 06:37 LICENSE [2023-09-28T06:39:34.836Z] -rw-rw-r-- 1 jenkins jenkins 2877 Sep 28 06:37 Makefile [2023-09-28T06:39:34.836Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 28 06:37 OWNERS.md [2023-09-28T06:39:34.836Z] -rw-rw-r-- 1 jenkins jenkins 2620 Sep 28 06:37 README.md [2023-09-28T06:39:34.836Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 28 06:38 VERSION [2023-09-28T06:39:34.836Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 06:37 bin [2023-09-28T06:39:34.836Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 06:37 cmd [2023-09-28T06:39:34.836Z] -rw-r--r-- 1 jenkins jenkins 78456 Sep 28 06:39 coverage.out [2023-09-28T06:39:34.836Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 06:37 doc [2023-09-28T06:39:34.836Z] -rw-rw-r-- 1 jenkins jenkins 4086 Sep 28 06:37 go.mod [2023-09-28T06:39:34.836Z] -rw-rw-r-- 1 jenkins jenkins 37524 Sep 28 06:37 go.sum [2023-09-28T06:39:34.836Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 06:37 internal [2023-09-28T06:39:34.836Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 06:37 snap [2023-09-28T06:39:34.836Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 28 06:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:39:35.142Z] + 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=75827e104e6969b0db3798c8f9b2a7d77ba88999 --label arch=amd64 --label version=3.1.0-dev.15 . [2023-09-28T06:39:35.142Z] Sending build context to Docker daemon 21.64MB [2023-09-28T06:39:35.142Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-09-28T06:39:35.142Z] Step 2/26 : FROM ${BASE} AS builder [2023-09-28T06:39:35.142Z] ---> 473e238b9c51 [2023-09-28T06:39:35.142Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-09-28T06:39:35.713Z] ---> Running in 0008f7fe65d7 [2023-09-28T06:39:35.713Z] Removing intermediate container 0008f7fe65d7 [2023-09-28T06:39:35.713Z] ---> d07247f05e44 [2023-09-28T06:39:35.713Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-28T06:39:35.713Z] ---> Running in 35d36b65e165 [2023-09-28T06:39:35.713Z] Removing intermediate container 35d36b65e165 [2023-09-28T06:39:35.713Z] ---> 875dd37261a0 [2023-09-28T06:39:35.713Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-09-28T06:39:35.713Z] ---> Running in f152a14aba47 [2023-09-28T06:39:35.713Z] Removing intermediate container f152a14aba47 [2023-09-28T06:39:35.713Z] ---> 98fb9a800ddc [2023-09-28T06:39:35.713Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-09-28T06:39:35.713Z] ---> Running in 340ecf0c07a7 [2023-09-28T06:39:35.973Z] Removing intermediate container 340ecf0c07a7 [2023-09-28T06:39:35.973Z] ---> f4a7a1136cde [2023-09-28T06:39:35.973Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-09-28T06:39:35.973Z] ---> Running in 75fa4dfe826e [2023-09-28T06:39:35.973Z] Removing intermediate container 75fa4dfe826e [2023-09-28T06:39:35.973Z] ---> 695cc4d702f5 [2023-09-28T06:39:35.973Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-28T06:39:35.973Z] ---> Running in 83322a0bf631 [2023-09-28T06:39:36.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-28T06:39:36.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-28T06:39:36.750Z] OK: 264 MiB in 52 packages [2023-09-28T06:39:37.319Z] Removing intermediate container 83322a0bf631 [2023-09-28T06:39:37.319Z] ---> 4d1b8884e823 [2023-09-28T06:39:37.319Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-09-28T06:39:37.319Z] ---> Running in 3bc132406b95 [2023-09-28T06:39:37.319Z] Removing intermediate container 3bc132406b95 [2023-09-28T06:39:37.319Z] ---> 2f96db568e99 [2023-09-28T06:39:37.319Z] Step 10/26 : COPY go.mod vendor* ./ [2023-09-28T06:39:37.319Z] ---> c254a8c482b5 [2023-09-28T06:39:37.319Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-28T06:39:37.319Z] ---> Running in c144cfdc8e38 [2023-09-28T06:39:38.255Z] Removing intermediate container c144cfdc8e38 [2023-09-28T06:39:38.255Z] ---> 16116af39cc0 [2023-09-28T06:39:38.255Z] Step 12/26 : COPY . . [2023-09-28T06:39:38.823Z] ---> 5bdd8db70c88 [2023-09-28T06:39:38.823Z] Step 13/26 : RUN ${MAKE} [2023-09-28T06:39:38.823Z] ---> Running in b2357e3517f8 [2023-09-28T06:39:39.081Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.32" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-09-28T06:40:01.008Z] Removing intermediate container b2357e3517f8 [2023-09-28T06:40:01.008Z] ---> e013baa94cbb [2023-09-28T06:40:01.008Z] Step 14/26 : FROM alpine:3.18 [2023-09-28T06:40:01.008Z] 3.18: Pulling from library/alpine [2023-09-28T06:40:01.008Z] 7264a8db6415: Already exists [2023-09-28T06:40:01.266Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-28T06:40:01.266Z] Status: Downloaded newer image for alpine:3.18 [2023-09-28T06:40:01.266Z] ---> 7e01a0d0a1dc [2023-09-28T06:40:01.266Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-09-28T06:40:01.266Z] ---> Running in 18e4effe6081 [2023-09-28T06:40:01.266Z] Removing intermediate container 18e4effe6081 [2023-09-28T06:40:01.266Z] ---> a78ebabb97dd [2023-09-28T06:40:01.266Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-09-28T06:40:01.266Z] ---> Running in 3bb3939a34c8 [2023-09-28T06:40:01.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-28T06:40:01.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-28T06:40:02.094Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-28T06:40:02.094Z] Executing busybox-1.36.1-r2.trigger [2023-09-28T06:40:02.094Z] OK: 7 MiB in 16 packages [2023-09-28T06:40:02.668Z] Removing intermediate container 3bb3939a34c8 [2023-09-28T06:40:02.668Z] ---> 6c5d149369db [2023-09-28T06:40:02.668Z] Step 17/26 : WORKDIR / [2023-09-28T06:40:02.668Z] ---> Running in 8cf05c228769 [2023-09-28T06:40:02.668Z] Removing intermediate container 8cf05c228769 [2023-09-28T06:40:02.668Z] ---> 1b2b4a1eb949 [2023-09-28T06:40:02.668Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-09-28T06:40:03.605Z] ---> 2824deecb44d [2023-09-28T06:40:03.605Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-09-28T06:40:03.605Z] ---> ec846a9b078d [2023-09-28T06:40:03.605Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-09-28T06:40:03.605Z] ---> ab2b7837bfa5 [2023-09-28T06:40:03.605Z] Step 21/26 : EXPOSE 59984 [2023-09-28T06:40:03.605Z] ---> Running in 590d8663dd37 [2023-09-28T06:40:03.865Z] Removing intermediate container 590d8663dd37 [2023-09-28T06:40:03.865Z] ---> 6981a35a98ee [2023-09-28T06:40:03.865Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-09-28T06:40:03.865Z] ---> Running in 6fd846093bf4 [2023-09-28T06:40:03.865Z] Removing intermediate container 6fd846093bf4 [2023-09-28T06:40:03.865Z] ---> 0dc71a079a2a [2023-09-28T06:40:03.865Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-28T06:40:03.865Z] ---> Running in ab802b8d9c3d [2023-09-28T06:40:03.865Z] Removing intermediate container ab802b8d9c3d [2023-09-28T06:40:03.865Z] ---> f9e2cd6a4a0e [2023-09-28T06:40:03.865Z] Step 24/26 : LABEL arch=amd64 [2023-09-28T06:40:03.865Z] ---> Running in 970c3ab9f8cb [2023-09-28T06:40:04.124Z] Removing intermediate container 970c3ab9f8cb [2023-09-28T06:40:04.124Z] ---> acff0ea04746 [2023-09-28T06:40:04.124Z] Step 25/26 : LABEL git_sha=75827e104e6969b0db3798c8f9b2a7d77ba88999 [2023-09-28T06:40:04.124Z] ---> Running in c2558b913bbf [2023-09-28T06:40:04.124Z] Removing intermediate container c2558b913bbf [2023-09-28T06:40:04.124Z] ---> 0c5c7f4867d1 [2023-09-28T06:40:04.124Z] Step 26/26 : LABEL version=3.1.0-dev.15 [2023-09-28T06:40:04.124Z] ---> Running in cbb89020a2b6 [2023-09-28T06:40:04.124Z] Removing intermediate container cbb89020a2b6 [2023-09-28T06:40:04.124Z] ---> f836075a4df2 [2023-09-28T06:40:04.124Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-28T06:40:04.124Z] Successfully built f836075a4df2 [2023-09-28T06:40:04.124Z] 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 [2023-09-28T06:40:04.207Z] provisioning config files... [2023-09-28T06:40:04.217Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4858842257917879756tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:40:04.509Z] ---> docker-login.sh [2023-09-28T06:40:04.509Z] nexus3.edgexfoundry.org:10001 [2023-09-28T06:40:04.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:40:04.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:40:04.509Z] Configure a credential helper to remove this warning. See [2023-09-28T06:40:04.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:40:04.509Z] [2023-09-28T06:40:04.509Z] Login Succeeded [2023-09-28T06:40:04.509Z] nexus3.edgexfoundry.org:10002 [2023-09-28T06:40:04.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:40:04.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:40:04.509Z] Configure a credential helper to remove this warning. See [2023-09-28T06:40:04.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:40:04.509Z] [2023-09-28T06:40:04.509Z] Login Succeeded [2023-09-28T06:40:04.509Z] nexus3.edgexfoundry.org:10003 [2023-09-28T06:40:04.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:40:04.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:40:04.767Z] Configure a credential helper to remove this warning. See [2023-09-28T06:40:04.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:40:04.767Z] [2023-09-28T06:40:04.767Z] Login Succeeded [2023-09-28T06:40:04.767Z] nexus3.edgexfoundry.org:10004 [2023-09-28T06:40:04.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:40:04.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:40:04.767Z] Configure a credential helper to remove this warning. See [2023-09-28T06:40:04.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:40:04.767Z] [2023-09-28T06:40:04.767Z] Login Succeeded [2023-09-28T06:40:04.767Z] docker.io [2023-09-28T06:40:05.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:40:05.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:40:05.026Z] Configure a credential helper to remove this warning. See [2023-09-28T06:40:05.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:40:05.026Z] [2023-09-28T06:40:05.026Z] Login Succeeded [2023-09-28T06:40:05.026Z] ---> docker-login.sh ends [Pipeline] } [2023-09-28T06:40:05.033Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-28T06:40:05.059Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T06:40:05.075Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2023-09-28T06:40:05.075Z] 75827e104e6969b0db3798c8f9b2a7d77ba88999 [2023-09-28T06:40:05.075Z] latest [2023-09-28T06:40:05.075Z] 3.1.0-dev.15 [2023-09-28T06:40:05.075Z] 75827e104e6969b0db3798c8f9b2a7d77ba88999-3.1.0-dev.15 [2023-09-28T06:40:05.075Z] main [2023-09-28T06:40:05.075Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:40:05.379Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:75827e104e6969b0db3798c8f9b2a7d77ba88999 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:40:05.688Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:75827e104e6969b0db3798c8f9b2a7d77ba88999 [2023-09-28T06:40:05.688Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-09-28T06:40:05.688Z] c8e29b455521: Preparing [2023-09-28T06:40:05.688Z] 06a5a4c2894e: Preparing [2023-09-28T06:40:05.688Z] 755258ea2a67: Preparing [2023-09-28T06:40:05.688Z] 5678daf99275: Preparing [2023-09-28T06:40:05.688Z] 4693057ce236: Preparing [2023-09-28T06:40:05.688Z] 4693057ce236: Layer already exists [2023-09-28T06:40:05.688Z] 06a5a4c2894e: Pushed [2023-09-28T06:40:05.688Z] 5678daf99275: Pushed [2023-09-28T06:40:05.688Z] c8e29b455521: Pushed [2023-09-28T06:40:08.980Z] 755258ea2a67: Pushed [2023-09-28T06:40:08.980Z] 75827e104e6969b0db3798c8f9b2a7d77ba88999: digest: sha256:82529f1b00264ab77d88ebb87ced2a8922696f78ff844d46ee448644bdcc89fe size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:40:09.289Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:40:09.597Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-09-28T06:40:09.598Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-09-28T06:40:09.598Z] c8e29b455521: Preparing [2023-09-28T06:40:09.598Z] 06a5a4c2894e: Preparing [2023-09-28T06:40:09.598Z] 755258ea2a67: Preparing [2023-09-28T06:40:09.598Z] 5678daf99275: Preparing [2023-09-28T06:40:09.598Z] 4693057ce236: Preparing [2023-09-28T06:40:09.598Z] 5678daf99275: Layer already exists [2023-09-28T06:40:09.598Z] 06a5a4c2894e: Layer already exists [2023-09-28T06:40:09.598Z] 4693057ce236: Layer already exists [2023-09-28T06:40:09.598Z] c8e29b455521: Layer already exists [2023-09-28T06:40:09.598Z] 755258ea2a67: Layer already exists [2023-09-28T06:40:09.598Z] latest: digest: sha256:82529f1b00264ab77d88ebb87ced2a8922696f78ff844d46ee448644bdcc89fe size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:40:09.917Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:40:10.227Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.15 [2023-09-28T06:40:10.227Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-09-28T06:40:10.227Z] c8e29b455521: Preparing [2023-09-28T06:40:10.227Z] 06a5a4c2894e: Preparing [2023-09-28T06:40:10.227Z] 755258ea2a67: Preparing [2023-09-28T06:40:10.227Z] 5678daf99275: Preparing [2023-09-28T06:40:10.227Z] 4693057ce236: Preparing [2023-09-28T06:40:10.227Z] 5678daf99275: Layer already exists [2023-09-28T06:40:10.227Z] c8e29b455521: Layer already exists [2023-09-28T06:40:10.227Z] 06a5a4c2894e: Layer already exists [2023-09-28T06:40:10.227Z] 755258ea2a67: Layer already exists [2023-09-28T06:40:10.227Z] 4693057ce236: Layer already exists [2023-09-28T06:40:10.227Z] 3.1.0-dev.15: digest: sha256:82529f1b00264ab77d88ebb87ced2a8922696f78ff844d46ee448644bdcc89fe size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:40:10.547Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:75827e104e6969b0db3798c8f9b2a7d77ba88999-3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:40:10.854Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:75827e104e6969b0db3798c8f9b2a7d77ba88999-3.1.0-dev.15 [2023-09-28T06:40:10.854Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-09-28T06:40:10.854Z] c8e29b455521: Preparing [2023-09-28T06:40:10.854Z] 06a5a4c2894e: Preparing [2023-09-28T06:40:10.854Z] 755258ea2a67: Preparing [2023-09-28T06:40:10.854Z] 5678daf99275: Preparing [2023-09-28T06:40:10.854Z] 4693057ce236: Preparing [2023-09-28T06:40:10.854Z] 4693057ce236: Layer already exists [2023-09-28T06:40:10.854Z] 755258ea2a67: Layer already exists [2023-09-28T06:40:10.854Z] 5678daf99275: Layer already exists [2023-09-28T06:40:10.854Z] c8e29b455521: Layer already exists [2023-09-28T06:40:10.854Z] 06a5a4c2894e: Layer already exists [2023-09-28T06:40:10.854Z] 75827e104e6969b0db3798c8f9b2a7d77ba88999-3.1.0-dev.15: digest: sha256:82529f1b00264ab77d88ebb87ced2a8922696f78ff844d46ee448644bdcc89fe size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:40:11.170Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:40:11.533Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2023-09-28T06:40:11.533Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-09-28T06:40:11.533Z] c8e29b455521: Preparing [2023-09-28T06:40:11.533Z] 06a5a4c2894e: Preparing [2023-09-28T06:40:11.533Z] 755258ea2a67: Preparing [2023-09-28T06:40:11.533Z] 5678daf99275: Preparing [2023-09-28T06:40:11.533Z] 4693057ce236: Preparing [2023-09-28T06:40:11.533Z] 06a5a4c2894e: Layer already exists [2023-09-28T06:40:11.533Z] 755258ea2a67: Layer already exists [2023-09-28T06:40:11.533Z] 5678daf99275: Layer already exists [2023-09-28T06:40:11.533Z] 4693057ce236: Layer already exists [2023-09-28T06:40:11.533Z] c8e29b455521: Layer already exists [2023-09-28T06:40:11.533Z] main: digest: sha256:82529f1b00264ab77d88ebb87ced2a8922696f78ff844d46ee448644bdcc89fe size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-28T06:40:11.570Z] ===================================================== [Pipeline] echo [2023-09-28T06:40:11.576Z] taggedImages: [2023-09-28T06:40:11.576Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:75827e104e6969b0db3798c8f9b2a7d77ba88999 [2023-09-28T06:40:11.576Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-09-28T06:40:11.576Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.15 [2023-09-28T06:40:11.576Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:75827e104e6969b0db3798c8f9b2a7d77ba88999-3.1.0-dev.15 [2023-09-28T06:40:11.576Z] - 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 [2023-09-28T06:40:11.915Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-28T06:40:11.915Z] [2023-09-28T06:40:11.916Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:40:12.213Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-28T06:40:12.213Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-28T06:40:12.213Z] 5eb5b503b376: Pulling fs layer [2023-09-28T06:40:12.213Z] 5c69ac0246d0: Pulling fs layer [2023-09-28T06:40:12.213Z] ec43610c2a17: Pulling fs layer [2023-09-28T06:40:12.213Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-28T06:40:12.213Z] 33b1e0a273af: Pulling fs layer [2023-09-28T06:40:12.213Z] 5d3b04190fa2: Pulling fs layer [2023-09-28T06:40:12.213Z] 2f39f015ded8: Pulling fs layer [2023-09-28T06:40:12.213Z] 3a2ae6a8a46f: Waiting [2023-09-28T06:40:12.213Z] 33b1e0a273af: Waiting [2023-09-28T06:40:12.213Z] 5d3b04190fa2: Waiting [2023-09-28T06:40:12.213Z] 2f39f015ded8: Waiting [2023-09-28T06:40:12.213Z] 5c69ac0246d0: Verifying Checksum [2023-09-28T06:40:12.213Z] 5c69ac0246d0: Download complete [2023-09-28T06:40:12.213Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-28T06:40:12.213Z] 3a2ae6a8a46f: Download complete [2023-09-28T06:40:12.213Z] 33b1e0a273af: Verifying Checksum [2023-09-28T06:40:12.213Z] 33b1e0a273af: Download complete [2023-09-28T06:40:12.472Z] 5d3b04190fa2: Verifying Checksum [2023-09-28T06:40:12.472Z] 5d3b04190fa2: Download complete [2023-09-28T06:40:12.472Z] ec43610c2a17: Verifying Checksum [2023-09-28T06:40:12.472Z] ec43610c2a17: Download complete [2023-09-28T06:40:12.472Z] 5eb5b503b376: Verifying Checksum [2023-09-28T06:40:12.472Z] 5eb5b503b376: Download complete [2023-09-28T06:40:13.038Z] 2f39f015ded8: Download complete [2023-09-28T06:40:13.974Z] 5eb5b503b376: Pull complete [2023-09-28T06:40:13.974Z] 5c69ac0246d0: Pull complete [2023-09-28T06:40:14.545Z] ec43610c2a17: Pull complete [2023-09-28T06:40:14.545Z] 3a2ae6a8a46f: Pull complete [2023-09-28T06:40:14.803Z] 33b1e0a273af: Pull complete [2023-09-28T06:40:14.803Z] 5d3b04190fa2: Pull complete [2023-09-28T06:40:18.986Z] 2f39f015ded8: Pull complete [2023-09-28T06:40:18.986Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-28T06:40:18.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-28T06:40:18.986Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:40:19.064Z] prd-ubuntu20.04-docker-8c-8g-8117 does not seem to be running inside a container [2023-09-28T06:40:19.097Z] $ 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 [2023-09-28T06:40:22.749Z] $ docker top ea34d191b4ae343c54ab2fd0f83311666a8be8742198d06f54e08499c507418f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:40:23.128Z] ---> job-cost.sh [2023-09-28T06:40:23.128Z] lf-activate-venv: SKIPPING [2023-09-28T06:40:23.128Z] INFO: No Stack... [2023-09-28T06:40:23.387Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-28T06:40:23.954Z] INFO: Archiving Costs [Pipeline] sh [2023-09-28T06:40:24.240Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2023-09-28T06:40:24.240Z] + cut -d, -f6 [Pipeline] lock [2023-09-28T06:40:24.250Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-172-stack-cost] [2023-09-28T06:40:24.258Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-172-stack-cost] did not exist. Created. [2023-09-28T06:40:24.258Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-172-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-28T06:40:24.558Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-28T06:40:24.586Z] Stashed 1 file(s) [Pipeline] } [2023-09-28T06:40:24.593Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-172-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-28T06:40:24.613Z] $ docker stop --time=1 ea34d191b4ae343c54ab2fd0f83311666a8be8742198d06f54e08499c507418f [2023-09-28T06:40:25.754Z] $ docker rm -f --volumes ea34d191b4ae343c54ab2fd0f83311666a8be8742198d06f54e08499c507418f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-28T06:40:57.235Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8119 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2023-09-28T06:40:57.249Z] Running in /w/workspace/device-onvif-camera/172 [Pipeline] { [Pipeline] checkout [2023-09-28T06:40:57.283Z] The recommended git tool is: git [2023-09-28T06:41:02.703Z] using credential edgex-jenkins-ssh [2023-09-28T06:41:02.718Z] Cloning the remote Git repository [2023-09-28T06:41:02.773Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-09-28T06:41:02.876Z] > git init /w/workspace/device-onvif-camera/172 # timeout=10 [2023-09-28T06:41:03.036Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-09-28T06:41:03.037Z] > git --version # timeout=10 [2023-09-28T06:41:03.060Z] > git --version # 'git version 2.25.1' [2023-09-28T06:41:03.063Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-28T06:41:03.218Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-28T06:41:05.694Z] Avoid second fetch [2023-09-28T06:41:05.695Z] Checking out Revision 75827e104e6969b0db3798c8f9b2a7d77ba88999 (main) [2023-09-28T06:41:04.813Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-09-28T06:41:04.843Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-28T06:41:05.714Z] > git config core.sparsecheckout # timeout=10 [2023-09-28T06:41:05.790Z] > git checkout -f 75827e104e6969b0db3798c8f9b2a7d77ba88999 # timeout=10 [2023-09-28T06:41:06.346Z] Commit message: "Merge pull request #390 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.32" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-28T06:41:07.198Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-28T06:41:07.198Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-28T06:41:07.198Z] Dload Upload Total Spent Left Speed [2023-09-28T06:41:07.198Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-09-28T06:41:07.786Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-28T06:41:08.118Z] + sudo tee /etc/docker/daemon.new [2023-09-28T06:41:08.118Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-28T06:41:08.118Z] { [2023-09-28T06:41:08.118Z] "registry-mirrors": [ [2023-09-28T06:41:08.118Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-28T06:41:08.118Z] ], [2023-09-28T06:41:08.118Z] "bip": "10.250.0.254/24", [2023-09-28T06:41:08.118Z] "hosts": [ [2023-09-28T06:41:08.118Z] "tcp://0.0.0.0:5555", [2023-09-28T06:41:08.118Z] "unix:///var/run/docker.sock" [2023-09-28T06:41:08.118Z] ], [2023-09-28T06:41:08.118Z] "mtu": 1458, [2023-09-28T06:41:08.118Z] "selinux-enabled": true, [2023-09-28T06:41:08.118Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-28T06:41:08.118Z] } [Pipeline] sh [2023-09-28T06:41:08.455Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-28T06:41:08.791Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-28T06:41:27.069Z] provisioning config files... [2023-09-28T06:41:27.093Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/172@tmp/config4136909306602754659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:41:27.439Z] ---> docker-login.sh [2023-09-28T06:41:27.440Z] nexus3.edgexfoundry.org:10001 [2023-09-28T06:41:27.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:41:27.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:41:27.975Z] Configure a credential helper to remove this warning. See [2023-09-28T06:41:27.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:41:27.975Z] [2023-09-28T06:41:27.975Z] Login Succeeded [2023-09-28T06:41:27.975Z] nexus3.edgexfoundry.org:10002 [2023-09-28T06:41:28.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:41:28.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:41:28.244Z] Configure a credential helper to remove this warning. See [2023-09-28T06:41:28.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:41:28.244Z] [2023-09-28T06:41:28.244Z] Login Succeeded [2023-09-28T06:41:28.244Z] nexus3.edgexfoundry.org:10003 [2023-09-28T06:41:28.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:41:28.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:41:28.783Z] Configure a credential helper to remove this warning. See [2023-09-28T06:41:28.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:41:28.783Z] [2023-09-28T06:41:28.783Z] Login Succeeded [2023-09-28T06:41:28.783Z] nexus3.edgexfoundry.org:10004 [2023-09-28T06:41:28.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:41:29.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:41:29.050Z] Configure a credential helper to remove this warning. See [2023-09-28T06:41:29.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:41:29.050Z] [2023-09-28T06:41:29.050Z] Login Succeeded [2023-09-28T06:41:29.050Z] docker.io [2023-09-28T06:41:29.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:41:29.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:41:29.586Z] Configure a credential helper to remove this warning. See [2023-09-28T06:41:29.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:41:29.587Z] [2023-09-28T06:41:29.587Z] Login Succeeded [2023-09-28T06:41:29.587Z] ---> docker-login.sh ends [Pipeline] } [2023-09-28T06:41:29.600Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-28T06:41:29.843Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T06:41:29.858Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T06:41:29.869Z] ========================================================= [2023-09-28T06:41:29.869Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-28T06:41:29.869Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:41:30.209Z] + 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 . [2023-09-28T06:41:30.478Z] Sending build context to Docker daemon 14.14MB [2023-09-28T06:41:30.478Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-09-28T06:41:30.478Z] Step 2/13 : FROM ${BASE} AS builder [2023-09-28T06:41:30.748Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-28T06:41:30.748Z] 9fda8d8052c6: Pulling fs layer [2023-09-28T06:41:30.748Z] 5d54e960e981: Pulling fs layer [2023-09-28T06:41:30.748Z] c4a7e357bf2a: Pulling fs layer [2023-09-28T06:41:30.748Z] f0e02332f6b5: Pulling fs layer [2023-09-28T06:41:30.748Z] cefa15bbcfad: Pulling fs layer [2023-09-28T06:41:30.748Z] 17808c966233: Pulling fs layer [2023-09-28T06:41:30.748Z] f4c1fc716caa: Pulling fs layer [2023-09-28T06:41:30.748Z] cefa15bbcfad: Waiting [2023-09-28T06:41:30.748Z] 17808c966233: Waiting [2023-09-28T06:41:30.748Z] f4c1fc716caa: Waiting [2023-09-28T06:41:30.748Z] f0e02332f6b5: Waiting [2023-09-28T06:41:30.748Z] 5d54e960e981: Verifying Checksum [2023-09-28T06:41:30.748Z] 5d54e960e981: Download complete [2023-09-28T06:41:30.748Z] f0e02332f6b5: Download complete [2023-09-28T06:41:30.748Z] cefa15bbcfad: Verifying Checksum [2023-09-28T06:41:30.748Z] cefa15bbcfad: Download complete [2023-09-28T06:41:30.748Z] 9fda8d8052c6: Download complete [2023-09-28T06:41:31.345Z] f4c1fc716caa: Verifying Checksum [2023-09-28T06:41:31.345Z] f4c1fc716caa: Download complete [2023-09-28T06:41:31.615Z] 9fda8d8052c6: Pull complete [2023-09-28T06:41:32.202Z] 5d54e960e981: Pull complete [2023-09-28T06:41:32.475Z] c4a7e357bf2a: Verifying Checksum [2023-09-28T06:41:32.475Z] c4a7e357bf2a: Download complete [2023-09-28T06:41:33.441Z] 17808c966233: Verifying Checksum [2023-09-28T06:41:33.441Z] 17808c966233: Download complete [2023-09-28T06:41:43.521Z] c4a7e357bf2a: Pull complete [2023-09-28T06:41:43.521Z] f0e02332f6b5: Pull complete [2023-09-28T06:41:43.521Z] cefa15bbcfad: Pull complete [2023-09-28T06:41:51.744Z] 17808c966233: Pull complete [2023-09-28T06:41:52.334Z] f4c1fc716caa: Pull complete [2023-09-28T06:41:52.334Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-28T06:41:52.334Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-28T06:41:52.334Z] ---> ea914061e18c [2023-09-28T06:41:52.334Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-09-28T06:41:54.291Z] ---> Running in 32a9ca939d5e [2023-09-28T06:41:54.291Z] Removing intermediate container 32a9ca939d5e [2023-09-28T06:41:54.291Z] ---> ba3f1e8d5210 [2023-09-28T06:41:54.292Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-28T06:41:54.292Z] ---> Running in ce8d8659c3c9 [2023-09-28T06:41:54.561Z] Removing intermediate container ce8d8659c3c9 [2023-09-28T06:41:54.561Z] ---> 8a74787d6be0 [2023-09-28T06:41:54.561Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-09-28T06:41:54.828Z] ---> Running in 08b301e00337 [2023-09-28T06:41:55.096Z] Removing intermediate container 08b301e00337 [2023-09-28T06:41:55.096Z] ---> 3d127b2ed0f9 [2023-09-28T06:41:55.096Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-09-28T06:41:55.096Z] ---> Running in 07cf2e9ac065 [2023-09-28T06:41:55.366Z] Removing intermediate container 07cf2e9ac065 [2023-09-28T06:41:55.366Z] ---> 53fdf4d6f751 [2023-09-28T06:41:55.366Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-09-28T06:41:55.366Z] ---> Running in c167fe13ec25 [2023-09-28T06:41:55.954Z] Removing intermediate container c167fe13ec25 [2023-09-28T06:41:55.954Z] ---> 6cd0b861652c [2023-09-28T06:41:55.954Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-28T06:41:55.954Z] ---> Running in 4c585d0c9a19 [2023-09-28T06:41:56.917Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-28T06:41:57.501Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-28T06:41:58.470Z] OK: 266 MiB in 52 packages [2023-09-28T06:41:59.500Z] Removing intermediate container 4c585d0c9a19 [2023-09-28T06:41:59.500Z] ---> 50a4965b07c1 [2023-09-28T06:41:59.500Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-09-28T06:41:59.500Z] ---> Running in 15b86b0df0cf [2023-09-28T06:41:59.782Z] Removing intermediate container 15b86b0df0cf [2023-09-28T06:41:59.782Z] ---> 2eb8ba9893a7 [2023-09-28T06:41:59.782Z] Step 10/13 : COPY go.mod vendor* ./ [2023-09-28T06:42:00.392Z] ---> d60ce6f62910 [2023-09-28T06:42:00.392Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-28T06:42:00.392Z] ---> Running in 41fe60a688df [2023-09-28T06:43:08.300Z] Removing intermediate container 41fe60a688df [2023-09-28T06:43:08.300Z] ---> a160fcac56e2 [2023-09-28T06:43:08.300Z] Step 12/13 : COPY . . [2023-09-28T06:43:08.568Z] ---> 4d4509e4805b [2023-09-28T06:43:08.568Z] Step 13/13 : RUN ${MAKE} [2023-09-28T06:43:08.568Z] ---> Running in ec19bde4219e [2023-09-28T06:43:09.534Z] noop [2023-09-28T06:43:12.120Z] Removing intermediate container ec19bde4219e [2023-09-28T06:43:12.120Z] ---> 531a85493168 [2023-09-28T06:43:12.388Z] Successfully built 531a85493168 [2023-09-28T06:43:12.388Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:43:12.750Z] + docker inspect -f . ci-base-image-arm64 [2023-09-28T06:43:12.750Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:43:12.961Z] prd-ubuntu20.04-docker-arm64-4c-16g-8119 does not seem to be running inside a container [2023-09-28T06:43:13.043Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/172 -v /w/workspace/device-onvif-camera/172:/w/workspace/device-onvif-camera/172:rw,z -v /w/workspace/device-onvif-camera/172@tmp:/w/workspace/device-onvif-camera/172@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 [2023-09-28T06:43:14.245Z] $ docker top 3e20733b564b867b07ec06757d874bf726cfba60e6f5b05e3e2f5a0ffc10ff73 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T06:43:15.070Z] + go version [2023-09-28T06:43:15.070Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-28T06:43:15.092Z] $ docker stop --time=1 3e20733b564b867b07ec06757d874bf726cfba60e6f5b05e3e2f5a0ffc10ff73 [2023-09-28T06:43:16.724Z] $ docker rm -f --volumes 3e20733b564b867b07ec06757d874bf726cfba60e6f5b05e3e2f5a0ffc10ff73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:43:17.250Z] + docker inspect -f . ci-base-image-arm64 [2023-09-28T06:43:17.250Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:43:17.426Z] prd-ubuntu20.04-docker-arm64-4c-16g-8119 does not seem to be running inside a container [2023-09-28T06:43:17.493Z] $ 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/172 -v /w/workspace/device-onvif-camera/172:/w/workspace/device-onvif-camera/172:rw,z -v /w/workspace/device-onvif-camera/172@tmp:/w/workspace/device-onvif-camera/172@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 [2023-09-28T06:43:18.638Z] $ docker top 41d764bbf944856df30cb0ca3a38d13865792e59de29a8100118070b4eda3b29 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T06:43:19.131Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/172 [Pipeline] fileExists [Pipeline] sh [2023-09-28T06:43:19.475Z] + make test [2023-09-28T06:43:19.475Z] go test ./... -coverprofile=coverage.out ./... [2023-09-28T06:43:23.744Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-09-28T06:45:00.369Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-09-28T06:45:01.784Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-09-28T06:45:04.370Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.190s coverage: 31.5% of statements [2023-09-28T06:45:31.072Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.212s coverage: 86.5% of statements [2023-09-28T06:45:31.073Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-28T06:45:31.073Z] go vet ./... [2023-09-28T06:45:53.147Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-28T06:45:53.147Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-28T06:45:53.147Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-28T06:45:53.164Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-28T06:45:53.177Z] $ docker stop --time=1 41d764bbf944856df30cb0ca3a38d13865792e59de29a8100118070b4eda3b29 [2023-09-28T06:45:54.959Z] $ docker rm -f --volumes 41d764bbf944856df30cb0ca3a38d13865792e59de29a8100118070b4eda3b29 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-28T06:45:56.108Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-28T06:45:56.129Z] Warning: overwriting stash ‘coverage-report’ [2023-09-28T06:45:56.626Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-28T06:45:56.987Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-28T06:45:57.305Z] + ls -al . [2023-09-28T06:45:57.305Z] total 240 [2023-09-28T06:45:57.305Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 06:43 . [2023-09-28T06:45:57.305Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 06:41 .. [2023-09-28T06:45:57.305Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 06:41 .git [2023-09-28T06:45:57.305Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 06:41 .github [2023-09-28T06:45:57.305Z] -rw-rw-r-- 1 jenkins jenkins 496 Sep 28 06:41 .gitignore [2023-09-28T06:45:57.305Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 06:41 .golangci.yml [2023-09-28T06:45:57.305Z] -rw-rw-r-- 1 jenkins jenkins 11155 Sep 28 06:41 Attribution.txt [2023-09-28T06:45:57.305Z] -rw-rw-r-- 1 jenkins jenkins 15932 Sep 28 06:41 CHANGELOG.md [2023-09-28T06:45:57.305Z] -rw-rw-r-- 1 jenkins jenkins 1574 Sep 28 06:41 Dockerfile [2023-09-28T06:45:57.305Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 06:41 GOVERNANCE.md [2023-09-28T06:45:57.305Z] -rw-rw-r-- 1 jenkins jenkins 739 Sep 28 06:41 Jenkinsfile [2023-09-28T06:45:57.305Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 06:41 LICENSE [2023-09-28T06:45:57.305Z] -rw-rw-r-- 1 jenkins jenkins 2877 Sep 28 06:41 Makefile [2023-09-28T06:45:57.305Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 28 06:41 OWNERS.md [2023-09-28T06:45:57.305Z] -rw-rw-r-- 1 jenkins jenkins 2620 Sep 28 06:41 README.md [2023-09-28T06:45:57.305Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 28 06:38 VERSION [2023-09-28T06:45:57.305Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 06:41 bin [2023-09-28T06:45:57.305Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 06:41 cmd [2023-09-28T06:45:57.305Z] -rw-r--r-- 1 jenkins jenkins 78456 Sep 28 06:45 coverage.out [2023-09-28T06:45:57.305Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 06:41 doc [2023-09-28T06:45:57.305Z] -rw-rw-r-- 1 jenkins jenkins 4086 Sep 28 06:41 go.mod [2023-09-28T06:45:57.305Z] -rw-rw-r-- 1 jenkins jenkins 37524 Sep 28 06:41 go.sum [2023-09-28T06:45:57.305Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 06:41 internal [2023-09-28T06:45:57.305Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 06:41 snap [2023-09-28T06:45:57.305Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 28 06:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:45:57.640Z] + 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=75827e104e6969b0db3798c8f9b2a7d77ba88999 --label arch=arm64 --label version=3.1.0-dev.15 . [2023-09-28T06:45:57.907Z] Sending build context to Docker daemon 14.22MB [2023-09-28T06:45:58.177Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-09-28T06:45:58.177Z] Step 2/26 : FROM ${BASE} AS builder [2023-09-28T06:45:58.177Z] ---> 531a85493168 [2023-09-28T06:45:58.177Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-09-28T06:45:58.177Z] ---> Running in 63dba1725089 [2023-09-28T06:45:58.444Z] Removing intermediate container 63dba1725089 [2023-09-28T06:45:58.444Z] ---> f0cdbb2ba930 [2023-09-28T06:45:58.444Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-28T06:45:58.444Z] ---> Running in 285c4564788d [2023-09-28T06:45:58.710Z] Removing intermediate container 285c4564788d [2023-09-28T06:45:58.710Z] ---> 03dc244de03c [2023-09-28T06:45:58.710Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-09-28T06:45:58.978Z] ---> Running in 7190af071e20 [2023-09-28T06:45:59.246Z] Removing intermediate container 7190af071e20 [2023-09-28T06:45:59.246Z] ---> 73acdf01aabb [2023-09-28T06:45:59.246Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-09-28T06:45:59.246Z] ---> Running in bd1541654b43 [2023-09-28T06:45:59.513Z] Removing intermediate container bd1541654b43 [2023-09-28T06:45:59.513Z] ---> d64864cf8fa8 [2023-09-28T06:45:59.513Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-09-28T06:45:59.513Z] ---> Running in 8eb4057a674b [2023-09-28T06:45:59.780Z] Removing intermediate container 8eb4057a674b [2023-09-28T06:45:59.780Z] ---> 5c49dc44caf7 [2023-09-28T06:45:59.780Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-28T06:46:00.046Z] ---> Running in 29a981f88888 [2023-09-28T06:46:01.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-28T06:46:01.285Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-28T06:46:02.245Z] OK: 266 MiB in 52 packages [2023-09-28T06:46:03.205Z] Removing intermediate container 29a981f88888 [2023-09-28T06:46:03.205Z] ---> 33f9babb8091 [2023-09-28T06:46:03.205Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-09-28T06:46:03.205Z] ---> Running in 9bcd48e7c9ff [2023-09-28T06:46:03.474Z] Removing intermediate container 9bcd48e7c9ff [2023-09-28T06:46:03.474Z] ---> d4a30d821981 [2023-09-28T06:46:03.474Z] Step 10/26 : COPY go.mod vendor* ./ [2023-09-28T06:46:06.823Z] ---> c04d3848c288 [2023-09-28T06:46:06.823Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-28T06:46:06.823Z] ---> Running in c4def5eae1d0 [2023-09-28T06:46:09.405Z] Removing intermediate container c4def5eae1d0 [2023-09-28T06:46:09.405Z] ---> 49d1adf347a5 [2023-09-28T06:46:09.405Z] Step 12/26 : COPY . . [2023-09-28T06:46:10.368Z] ---> 89458be15c23 [2023-09-28T06:46:10.368Z] Step 13/26 : RUN ${MAKE} [2023-09-28T06:46:10.368Z] ---> Running in f1dc6e6e7e37 [2023-09-28T06:46:11.352Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.32" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-09-28T06:48:18.035Z] Removing intermediate container f1dc6e6e7e37 [2023-09-28T06:48:18.035Z] ---> f17299e0ed5e [2023-09-28T06:48:18.035Z] Step 14/26 : FROM alpine:3.18 [2023-09-28T06:48:18.035Z] 3.18: Pulling from library/alpine [2023-09-28T06:48:18.035Z] 9fda8d8052c6: Already exists [2023-09-28T06:48:18.035Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-28T06:48:18.035Z] Status: Downloaded newer image for alpine:3.18 [2023-09-28T06:48:18.035Z] ---> f6648c04cd6c [2023-09-28T06:48:18.035Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-09-28T06:48:18.035Z] ---> Running in 1638477f9987 [2023-09-28T06:48:18.035Z] Removing intermediate container 1638477f9987 [2023-09-28T06:48:18.035Z] ---> f03fc1b54256 [2023-09-28T06:48:18.035Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-09-28T06:48:18.035Z] ---> Running in ffe9aea66bee [2023-09-28T06:48:18.035Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-28T06:48:18.035Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-28T06:48:18.035Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-28T06:48:18.035Z] Executing busybox-1.36.1-r2.trigger [2023-09-28T06:48:18.035Z] OK: 8 MiB in 16 packages [2023-09-28T06:48:18.035Z] Removing intermediate container ffe9aea66bee [2023-09-28T06:48:18.035Z] ---> 79c0764d7dca [2023-09-28T06:48:18.035Z] Step 17/26 : WORKDIR / [2023-09-28T06:48:18.035Z] ---> Running in 1e618eb974bb [2023-09-28T06:48:18.035Z] Removing intermediate container 1e618eb974bb [2023-09-28T06:48:18.035Z] ---> dd26ea80bd18 [2023-09-28T06:48:18.035Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-09-28T06:48:18.035Z] ---> d12349411a5f [2023-09-28T06:48:18.035Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-09-28T06:48:18.035Z] ---> f4aaf9ec7162 [2023-09-28T06:48:18.035Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-09-28T06:48:18.035Z] ---> 77752f637883 [2023-09-28T06:48:18.035Z] Step 21/26 : EXPOSE 59984 [2023-09-28T06:48:18.035Z] ---> Running in a3e5d264865b [2023-09-28T06:48:18.035Z] Removing intermediate container a3e5d264865b [2023-09-28T06:48:18.035Z] ---> d863f72258bd [2023-09-28T06:48:18.035Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-09-28T06:48:18.035Z] ---> Running in 482c77f4e669 [2023-09-28T06:48:18.035Z] Removing intermediate container 482c77f4e669 [2023-09-28T06:48:18.035Z] ---> 4b43221cf337 [2023-09-28T06:48:18.035Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-28T06:48:18.035Z] ---> Running in 6cb01430e151 [2023-09-28T06:48:18.035Z] Removing intermediate container 6cb01430e151 [2023-09-28T06:48:18.035Z] ---> 633015c09506 [2023-09-28T06:48:18.035Z] Step 24/26 : LABEL arch=arm64 [2023-09-28T06:48:18.035Z] ---> Running in 6018e2a2a09a [2023-09-28T06:48:18.035Z] Removing intermediate container 6018e2a2a09a [2023-09-28T06:48:18.035Z] ---> dec403cd5c0f [2023-09-28T06:48:18.035Z] Step 25/26 : LABEL git_sha=75827e104e6969b0db3798c8f9b2a7d77ba88999 [2023-09-28T06:48:18.035Z] ---> Running in a3c4ffcd1768 [2023-09-28T06:48:18.035Z] Removing intermediate container a3c4ffcd1768 [2023-09-28T06:48:18.035Z] ---> 0fc63dc7dede [2023-09-28T06:48:18.035Z] Step 26/26 : LABEL version=3.1.0-dev.15 [2023-09-28T06:48:18.035Z] ---> Running in 2d788aae3bb1 [2023-09-28T06:48:18.035Z] Removing intermediate container 2d788aae3bb1 [2023-09-28T06:48:18.035Z] ---> 182751bf3532 [2023-09-28T06:48:18.035Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-28T06:48:18.035Z] Successfully built 182751bf3532 [2023-09-28T06:48:18.035Z] 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 [2023-09-28T06:48:18.122Z] provisioning config files... [2023-09-28T06:48:18.138Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/172@tmp/config7137046943116667527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:48:18.470Z] ---> docker-login.sh [2023-09-28T06:48:18.470Z] nexus3.edgexfoundry.org:10001 [2023-09-28T06:48:18.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:48:18.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:48:18.736Z] Configure a credential helper to remove this warning. See [2023-09-28T06:48:18.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:48:18.736Z] [2023-09-28T06:48:18.736Z] Login Succeeded [2023-09-28T06:48:18.736Z] nexus3.edgexfoundry.org:10002 [2023-09-28T06:48:19.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:48:19.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:48:19.002Z] Configure a credential helper to remove this warning. See [2023-09-28T06:48:19.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:48:19.002Z] [2023-09-28T06:48:19.002Z] Login Succeeded [2023-09-28T06:48:19.002Z] nexus3.edgexfoundry.org:10003 [2023-09-28T06:48:19.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:48:19.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:48:19.536Z] Configure a credential helper to remove this warning. See [2023-09-28T06:48:19.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:48:19.536Z] [2023-09-28T06:48:19.536Z] Login Succeeded [2023-09-28T06:48:19.536Z] nexus3.edgexfoundry.org:10004 [2023-09-28T06:48:19.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:48:19.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:48:19.803Z] Configure a credential helper to remove this warning. See [2023-09-28T06:48:19.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:48:19.803Z] [2023-09-28T06:48:19.803Z] Login Succeeded [2023-09-28T06:48:19.803Z] docker.io [2023-09-28T06:48:20.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:48:20.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:48:20.337Z] Configure a credential helper to remove this warning. See [2023-09-28T06:48:20.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:48:20.337Z] [2023-09-28T06:48:20.337Z] Login Succeeded [2023-09-28T06:48:20.337Z] ---> docker-login.sh ends [Pipeline] } [2023-09-28T06:48:20.349Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-28T06:48:20.385Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T06:48:20.413Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2023-09-28T06:48:20.413Z] 75827e104e6969b0db3798c8f9b2a7d77ba88999 [2023-09-28T06:48:20.413Z] latest [2023-09-28T06:48:20.413Z] 3.1.0-dev.15 [2023-09-28T06:48:20.413Z] 75827e104e6969b0db3798c8f9b2a7d77ba88999-3.1.0-dev.15 [2023-09-28T06:48:20.413Z] main [2023-09-28T06:48:20.413Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:48:20.750Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:75827e104e6969b0db3798c8f9b2a7d77ba88999 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:48:21.096Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:75827e104e6969b0db3798c8f9b2a7d77ba88999 [2023-09-28T06:48:21.096Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-09-28T06:48:21.096Z] 7446eee04228: Preparing [2023-09-28T06:48:21.096Z] 476a1d46b221: Preparing [2023-09-28T06:48:21.096Z] 0268ca97de38: Preparing [2023-09-28T06:48:21.096Z] 65724dc84212: Preparing [2023-09-28T06:48:21.096Z] b2191e2be29d: Preparing [2023-09-28T06:48:21.096Z] b2191e2be29d: Layer already exists [2023-09-28T06:48:21.363Z] 476a1d46b221: Pushed [2023-09-28T06:48:21.363Z] 65724dc84212: Pushed [2023-09-28T06:48:21.363Z] 7446eee04228: Pushed [2023-09-28T06:48:28.044Z] 0268ca97de38: Pushed [2023-09-28T06:48:28.044Z] 75827e104e6969b0db3798c8f9b2a7d77ba88999: digest: sha256:3985f206d6912d2f2f65e3f8ee98da8bdae61dc2e0deaf5c4311f3baa8a43d1b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:48:28.406Z] + 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 [2023-09-28T06:48:28.768Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2023-09-28T06:48:28.768Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-09-28T06:48:28.768Z] 7446eee04228: Preparing [2023-09-28T06:48:28.768Z] 476a1d46b221: Preparing [2023-09-28T06:48:28.768Z] 0268ca97de38: Preparing [2023-09-28T06:48:28.768Z] 65724dc84212: Preparing [2023-09-28T06:48:28.768Z] b2191e2be29d: Preparing [2023-09-28T06:48:28.768Z] 7446eee04228: Layer already exists [2023-09-28T06:48:28.768Z] 0268ca97de38: Layer already exists [2023-09-28T06:48:28.768Z] b2191e2be29d: Layer already exists [2023-09-28T06:48:28.768Z] 65724dc84212: Layer already exists [2023-09-28T06:48:28.768Z] 476a1d46b221: Layer already exists [2023-09-28T06:48:28.768Z] latest: digest: sha256:3985f206d6912d2f2f65e3f8ee98da8bdae61dc2e0deaf5c4311f3baa8a43d1b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:48:29.394Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:48:29.748Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.15 [2023-09-28T06:48:29.748Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-09-28T06:48:29.748Z] 7446eee04228: Preparing [2023-09-28T06:48:29.748Z] 476a1d46b221: Preparing [2023-09-28T06:48:29.748Z] 0268ca97de38: Preparing [2023-09-28T06:48:29.748Z] 65724dc84212: Preparing [2023-09-28T06:48:29.748Z] b2191e2be29d: Preparing [2023-09-28T06:48:29.748Z] 0268ca97de38: Layer already exists [2023-09-28T06:48:29.749Z] 476a1d46b221: Layer already exists [2023-09-28T06:48:29.749Z] b2191e2be29d: Layer already exists [2023-09-28T06:48:29.749Z] 65724dc84212: Layer already exists [2023-09-28T06:48:29.749Z] 7446eee04228: Layer already exists [2023-09-28T06:48:29.749Z] 3.1.0-dev.15: digest: sha256:3985f206d6912d2f2f65e3f8ee98da8bdae61dc2e0deaf5c4311f3baa8a43d1b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:48:30.102Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:75827e104e6969b0db3798c8f9b2a7d77ba88999-3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:48:30.433Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:75827e104e6969b0db3798c8f9b2a7d77ba88999-3.1.0-dev.15 [2023-09-28T06:48:30.433Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-09-28T06:48:30.433Z] 7446eee04228: Preparing [2023-09-28T06:48:30.433Z] 476a1d46b221: Preparing [2023-09-28T06:48:30.433Z] 0268ca97de38: Preparing [2023-09-28T06:48:30.433Z] 65724dc84212: Preparing [2023-09-28T06:48:30.433Z] b2191e2be29d: Preparing [2023-09-28T06:48:30.433Z] 476a1d46b221: Layer already exists [2023-09-28T06:48:30.433Z] 7446eee04228: Layer already exists [2023-09-28T06:48:30.433Z] 0268ca97de38: Layer already exists [2023-09-28T06:48:30.433Z] b2191e2be29d: Layer already exists [2023-09-28T06:48:30.433Z] 65724dc84212: Layer already exists [2023-09-28T06:48:30.433Z] 75827e104e6969b0db3798c8f9b2a7d77ba88999-3.1.0-dev.15: digest: sha256:3985f206d6912d2f2f65e3f8ee98da8bdae61dc2e0deaf5c4311f3baa8a43d1b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:48:30.769Z] + 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 [2023-09-28T06:48:31.101Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2023-09-28T06:48:31.102Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-09-28T06:48:31.102Z] 7446eee04228: Preparing [2023-09-28T06:48:31.102Z] 476a1d46b221: Preparing [2023-09-28T06:48:31.102Z] 0268ca97de38: Preparing [2023-09-28T06:48:31.102Z] 65724dc84212: Preparing [2023-09-28T06:48:31.102Z] b2191e2be29d: Preparing [2023-09-28T06:48:31.102Z] 65724dc84212: Layer already exists [2023-09-28T06:48:31.102Z] 476a1d46b221: Layer already exists [2023-09-28T06:48:31.102Z] b2191e2be29d: Layer already exists [2023-09-28T06:48:31.102Z] 0268ca97de38: Layer already exists [2023-09-28T06:48:31.102Z] 7446eee04228: Layer already exists [2023-09-28T06:48:31.102Z] main: digest: sha256:3985f206d6912d2f2f65e3f8ee98da8bdae61dc2e0deaf5c4311f3baa8a43d1b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-28T06:48:31.157Z] ===================================================== [Pipeline] echo [2023-09-28T06:48:31.168Z] taggedImages: [2023-09-28T06:48:31.168Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:75827e104e6969b0db3798c8f9b2a7d77ba88999 [2023-09-28T06:48:31.168Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2023-09-28T06:48:31.168Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.15 [2023-09-28T06:48:31.168Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:75827e104e6969b0db3798c8f9b2a7d77ba88999-3.1.0-dev.15 [2023-09-28T06:48:31.168Z] - 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 [2023-09-28T06:48:31.530Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-28T06:48:31.530Z] [2023-09-28T06:48:31.530Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:48:31.854Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-28T06:48:31.854Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-28T06:48:31.854Z] 8998bd30e6a1: Pulling fs layer [2023-09-28T06:48:31.854Z] 04944245beec: Pulling fs layer [2023-09-28T06:48:31.854Z] 699f458cf7ca: Pulling fs layer [2023-09-28T06:48:31.854Z] 765212b225bb: Pulling fs layer [2023-09-28T06:48:31.854Z] f23df028b6ca: Pulling fs layer [2023-09-28T06:48:31.854Z] d65c8cfc05b1: Pulling fs layer [2023-09-28T06:48:31.854Z] 2437ff75d9bd: Pulling fs layer [2023-09-28T06:48:31.854Z] f23df028b6ca: Waiting [2023-09-28T06:48:31.854Z] d65c8cfc05b1: Waiting [2023-09-28T06:48:31.854Z] 2437ff75d9bd: Waiting [2023-09-28T06:48:31.854Z] 765212b225bb: Waiting [2023-09-28T06:48:32.120Z] 04944245beec: Verifying Checksum [2023-09-28T06:48:32.120Z] 04944245beec: Download complete [2023-09-28T06:48:32.120Z] 765212b225bb: Download complete [2023-09-28T06:48:32.120Z] f23df028b6ca: Verifying Checksum [2023-09-28T06:48:32.120Z] f23df028b6ca: Download complete [2023-09-28T06:48:32.120Z] d65c8cfc05b1: Verifying Checksum [2023-09-28T06:48:32.120Z] d65c8cfc05b1: Download complete [2023-09-28T06:48:32.120Z] 699f458cf7ca: Verifying Checksum [2023-09-28T06:48:32.120Z] 699f458cf7ca: Download complete [2023-09-28T06:48:32.701Z] 8998bd30e6a1: Verifying Checksum [2023-09-28T06:48:32.701Z] 8998bd30e6a1: Download complete [2023-09-28T06:48:34.639Z] 2437ff75d9bd: Verifying Checksum [2023-09-28T06:48:34.639Z] 2437ff75d9bd: Download complete [2023-09-28T06:48:36.576Z] 8998bd30e6a1: Pull complete [2023-09-28T06:48:36.846Z] 04944245beec: Pull complete [2023-09-28T06:48:38.253Z] 699f458cf7ca: Pull complete [2023-09-28T06:48:38.253Z] 765212b225bb: Pull complete [2023-09-28T06:48:39.210Z] f23df028b6ca: Pull complete [2023-09-28T06:48:39.210Z] d65c8cfc05b1: Pull complete [2023-09-28T06:48:54.195Z] 2437ff75d9bd: Pull complete [2023-09-28T06:48:54.195Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-28T06:48:54.195Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-28T06:48:54.195Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:48:54.378Z] prd-ubuntu20.04-docker-arm64-4c-16g-8119 does not seem to be running inside a container [2023-09-28T06:48:54.435Z] $ 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/172 -v /w/workspace/device-onvif-camera/172:/w/workspace/device-onvif-camera/172:rw,z -v /w/workspace/device-onvif-camera/172@tmp:/w/workspace/device-onvif-camera/172@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 [2023-09-28T06:48:56.983Z] $ docker top a8f5905333a9d5a4e60b44bdaab55927e84bdd8f56ac99669f0af30de4e93e73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:48:57.824Z] ---> job-cost.sh [2023-09-28T06:48:57.824Z] lf-activate-venv: SKIPPING [2023-09-28T06:48:57.824Z] INFO: No Stack... [2023-09-28T06:48:58.091Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-28T06:48:59.049Z] INFO: Archiving Costs [Pipeline] sh [2023-09-28T06:48:59.368Z] + cat /w/workspace/device-onvif-camera/172/archives/cost.csv [2023-09-28T06:48:59.368Z] + cut -d, -f6 [Pipeline] lock [2023-09-28T06:48:59.434Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-172-stack-cost] [2023-09-28T06:48:59.444Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-172-stack-cost] did not exist. Created. [2023-09-28T06:48:59.444Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-172-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-28T06:48:59.778Z] /w/workspace/device-onvif-camera/172@tmp/durable-4e1257b5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-28T06:49:00.113Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-28T06:49:00.133Z] Warning: overwriting stash ‘stack-cost’ [2023-09-28T06:49:00.196Z] Stashed 1 file(s) [Pipeline] } [2023-09-28T06:49:00.210Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-172-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-28T06:49:00.227Z] $ docker stop --time=1 a8f5905333a9d5a4e60b44bdaab55927e84bdd8f56ac99669f0af30de4e93e73 [2023-09-28T06:49:01.727Z] $ docker rm -f --volumes a8f5905333a9d5a4e60b44bdaab55927e84bdd8f56ac99669f0af30de4e93e73 [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 [2023-09-28T06:49:02.085Z] provisioning config files... [2023-09-28T06:49:02.092Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2357489652163461702tmp [Pipeline] { [Pipeline] sh [2023-09-28T06:49:02.383Z] + set +x [2023-09-28T06:49:02.383Z] + curl -s https://codecov.io/bash [2023-09-28T06:49:02.383Z] + bash -s -- [2023-09-28T06:49:02.383Z] [2023-09-28T06:49:02.383Z] _____ _ [2023-09-28T06:49:02.383Z] / ____| | | [2023-09-28T06:49:02.383Z] | | ___ __| | ___ ___ _____ __ [2023-09-28T06:49:02.383Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-28T06:49:02.383Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-28T06:49:02.383Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-28T06:49:02.383Z] Bash-1.0.6 [2023-09-28T06:49:02.383Z] [2023-09-28T06:49:02.383Z] [2023-09-28T06:49:02.383Z] ==> git version 2.25.1 found [2023-09-28T06:49:02.383Z] ==> 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 [2023-09-28T06:49:02.383Z] Release-Date: 2020-01-08 [2023-09-28T06:49:02.383Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-28T06:49:02.383Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-28T06:49:02.383Z] ==> Jenkins CI detected. [2023-09-28T06:49:02.383Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2023-09-28T06:49:02.383Z] project root: . [2023-09-28T06:49:02.383Z] --> token set from env [2023-09-28T06:49:02.383Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-28T06:49:02.383Z] ==> Running gcov in . (disable via -X gcov) [2023-09-28T06:49:02.383Z] ==> Python coveragepy not found [2023-09-28T06:49:02.383Z] ==> Searching for coverage reports in: [2023-09-28T06:49:02.383Z] + . [2023-09-28T06:49:02.383Z] -> Found 1 reports [2023-09-28T06:49:02.383Z] ==> Detecting git/mercurial file structure [2023-09-28T06:49:02.383Z] ==> Reading reports [2023-09-28T06:49:02.383Z] + ./coverage.out bytes=78456 [2023-09-28T06:49:02.383Z] ==> Appending adjustments [2023-09-28T06:49:02.383Z] https://docs.codecov.io/docs/fixing-reports [2023-09-28T06:49:02.642Z] + Found adjustments [2023-09-28T06:49:02.642Z] ==> Gzipping contents [2023-09-28T06:49:02.642Z] 12K /tmp/codecov.Odftwi.gz [2023-09-28T06:49:02.642Z] ==> Uploading reports [2023-09-28T06:49:02.642Z] url: https://codecov.io [2023-09-28T06:49:02.642Z] query: branch=main&commit=75827e104e6969b0db3798c8f9b2a7d77ba88999&build=172&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F172%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-28T06:49:02.642Z] -> Pinging Codecov [2023-09-28T06:49:02.642Z] 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=75827e104e6969b0db3798c8f9b2a7d77ba88999&build=172&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F172%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-28T06:49:02.910Z] -> Uploading to [2023-09-28T06:49:02.910Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-28/F29A59C45E3A92E06B3E522C9905F8EF/75827e104e6969b0db3798c8f9b2a7d77ba88999/7db674f9-e52d-4c0e-84f2-02ac5668cd4b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230928T064902Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cbaa20e5d53926615cfd605c78c3d0cbb65e0af046f639f394dc00a5e49c16f3 [2023-09-28T06:49:02.910Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-28T06:49:02.910Z] Dload Upload Total Spent Left Speed [2023-09-28T06:49:03.169Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10561 0 0 100 10561 0 41093 --:--:-- --:--:-- --:--:-- 41093 [2023-09-28T06:49:03.169Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/75827e104e6969b0db3798c8f9b2a7d77ba88999 [Pipeline] } [2023-09-28T06:49:03.176Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-28T06:49:03.285Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-28T06:49:03.294Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:49:03.596Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-28T06:49:03.596Z] [2023-09-28T06:49:03.596Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:49:03.901Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-28T06:49:03.901Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-28T06:49:03.901Z] df9b9388f04a: Pulling fs layer [2023-09-28T06:49:03.901Z] 52dc419b0ee2: Pulling fs layer [2023-09-28T06:49:03.901Z] 25bc292e5bac: Pulling fs layer [2023-09-28T06:49:03.901Z] 114826534d7a: Pulling fs layer [2023-09-28T06:49:03.901Z] 4657fd5d0bcf: Pulling fs layer [2023-09-28T06:49:03.901Z] 6ad1cebc031e: Pulling fs layer [2023-09-28T06:49:03.901Z] 8a3aa393b2d8: Pulling fs layer [2023-09-28T06:49:03.901Z] 4657fd5d0bcf: Waiting [2023-09-28T06:49:03.901Z] 114826534d7a: Waiting [2023-09-28T06:49:03.901Z] 6ad1cebc031e: Waiting [2023-09-28T06:49:03.901Z] 8a3aa393b2d8: Waiting [2023-09-28T06:49:03.901Z] 25bc292e5bac: Verifying Checksum [2023-09-28T06:49:03.901Z] 25bc292e5bac: Download complete [2023-09-28T06:49:03.901Z] 52dc419b0ee2: Verifying Checksum [2023-09-28T06:49:03.901Z] 52dc419b0ee2: Download complete [2023-09-28T06:49:03.901Z] 4657fd5d0bcf: Verifying Checksum [2023-09-28T06:49:03.901Z] 4657fd5d0bcf: Download complete [2023-09-28T06:49:03.901Z] df9b9388f04a: Verifying Checksum [2023-09-28T06:49:03.901Z] df9b9388f04a: Download complete [2023-09-28T06:49:04.161Z] 6ad1cebc031e: Verifying Checksum [2023-09-28T06:49:04.162Z] 6ad1cebc031e: Download complete [2023-09-28T06:49:04.162Z] df9b9388f04a: Pull complete [2023-09-28T06:49:04.162Z] 52dc419b0ee2: Pull complete [2023-09-28T06:49:04.162Z] 25bc292e5bac: Pull complete [2023-09-28T06:49:04.727Z] 114826534d7a: Verifying Checksum [2023-09-28T06:49:04.728Z] 114826534d7a: Download complete [2023-09-28T06:49:04.728Z] 8a3aa393b2d8: Verifying Checksum [2023-09-28T06:49:04.728Z] 8a3aa393b2d8: Download complete [2023-09-28T06:49:08.004Z] 114826534d7a: Pull complete [2023-09-28T06:49:08.004Z] 4657fd5d0bcf: Pull complete [2023-09-28T06:49:08.262Z] 6ad1cebc031e: Pull complete [2023-09-28T06:49:10.788Z] 8a3aa393b2d8: Pull complete [2023-09-28T06:49:10.788Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-28T06:49:10.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-28T06:49:10.788Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:49:10.864Z] prd-ubuntu20.04-docker-8c-8g-8117 does not seem to be running inside a container [2023-09-28T06:49:10.896Z] $ 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 [2023-09-28T06:49:13.907Z] $ docker top d8201b1a168cc7514f7bc8f8131371881bd63cea3b68fdbcfd7617e2ebdf1c90 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-28T06:49:13.971Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2023-09-28T06:49:14.247Z] + set -o pipefail [2023-09-28T06:49:14.247Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2023-09-28T06:49:20.857Z] [2023-09-28T06:49:20.857Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2023-09-28T06:49:20.857Z] [2023-09-28T06:49:20.857Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/b5742268-9d2f-4edf-ba03-5c6d8a0ca0c1 [2023-09-28T06:49:20.857Z] [2023-09-28T06:49:20.857Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-09-28T06:49:20.857Z] [2023-09-28T06:49:20.857Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-28T06:49:20.857Z] [2023-09-28T06:49:20.857Z] [2023-09-28T06:49:20.857Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-28T06:49:20.857Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-28T06:49:20.857Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-28T06:49:20.868Z] $ docker stop --time=1 d8201b1a168cc7514f7bc8f8131371881bd63cea3b68fdbcfd7617e2ebdf1c90 [2023-09-28T06:49:23.856Z] $ docker rm -f --volumes d8201b1a168cc7514f7bc8f8131371881bd63cea3b68fdbcfd7617e2ebdf1c90 [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 [2023-09-28T06:49:24.261Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-28T06:49:24.270Z] provisioning config files... [2023-09-28T06:49:24.283Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15174823761023122365tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:49:24.578Z] --> edgex-publish-swagger.sh [2023-09-28T06:49:24.578Z] === Publish doc/openapi/v3 API === [2023-09-28T06:49:24.578Z] [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger [2023-09-28T06:49:24.578Z] [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] [2023-09-28T06:49:24.578Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-28T06:49:24.578Z] Dload Upload Total Spent Left Speed [2023-09-28T06:49:25.149Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 0 0 100 485k 0 2177k --:--:-- --:--:-- --:--:-- 2177k 100 485k 0 0 100 485k 0 648k --:--:-- --:--:-- --:--:-- 648k [2023-09-28T06:49:25.149Z] [2023-09-28T06:49:25.149Z] [Pipeline] } [2023-09-28T06:49:25.155Z] 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 [2023-09-28T06:49:25.578Z] + git log --format=format:%s -1 75827e104e6969b0db3798c8f9b2a7d77ba88999 [Pipeline] sh [2023-09-28T06:49:25.867Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-28T06:49:25.867Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:49:26.166Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T06:49:26.166Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:49:26.235Z] prd-ubuntu20.04-docker-8c-8g-8117 does not seem to be running inside a container [2023-09-28T06:49:26.262Z] $ 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 [2023-09-28T06:49:26.685Z] $ docker top be91901d6236c4719c23bfd85c1a16bc81fc76910f771d9979269eb66988707b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-28T06:49:26.773Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-28T06:49:26.773Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-28T06:49:26.890Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-28T06:49:26.892Z] $ docker exec be91901d6236c4719c23bfd85c1a16bc81fc76910f771d9979269eb66988707b ssh-agent [2023-09-28T06:49:27.000Z] SSH_AUTH_SOCK=/tmp/ssh-ILM3l9U4CEuS/agent.32 [2023-09-28T06:49:27.000Z] SSH_AGENT_PID=38 [2023-09-28T06:49:27.004Z] Running ssh-add (command line suppressed) [2023-09-28T06:49:27.117Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12319099968514901607.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12319099968514901607.key) [2023-09-28T06:49:27.131Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-28T06:49:27.415Z] + git semver tag [2023-09-28T06:49:27.681Z] 2023-09-28 06:49:27,572 [run_tag] DEBUG tag force:False [2023-09-28T06:49:27.681Z] 2023-09-28 06:49:27,572 [check_head_tag] DEBUG check head tag [2023-09-28T06:49:27.681Z] 2023-09-28 06:49:27,573 [execute] INFO git cat-file --batch-check [2023-09-28T06:49:27.681Z] 2023-09-28 06:49:27,573 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2023-09-28T06:49:27.681Z] 2023-09-28 06:49:27,576 [execute] INFO git cat-file --batch [2023-09-28T06:49:27.681Z] 2023-09-28 06:49:27,576 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2023-09-28T06:49:27.682Z] 2023-09-28 06:49:27,585 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-09-28T06:49:27.682Z] 2023-09-28 06:49:27,585 [execute] INFO git tag -a v3.1.0-dev.15 -m v3.1.0-dev.15 [2023-09-28T06:49:27.682Z] 2023-09-28 06:49:27,585 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.15', '-m', 'v3.1.0-dev.15'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2023-09-28T06:49:27.682Z] 2023-09-28 06:49:27,589 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-09-28T06:49:27.682Z] 3.1.0-dev.15 [Pipeline] } [2023-09-28T06:49:27.690Z] $ docker exec --env ******** --env ******** be91901d6236c4719c23bfd85c1a16bc81fc76910f771d9979269eb66988707b ssh-agent -k [2023-09-28T06:49:27.780Z] unset SSH_AUTH_SOCK; [2023-09-28T06:49:27.780Z] unset SSH_AGENT_PID; [2023-09-28T06:49:27.780Z] echo Agent pid 38 killed; [2023-09-28T06:49:27.788Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-28T06:49:28.108Z] + git semver [Pipeline] } [2023-09-28T06:49:28.378Z] $ docker stop --time=1 be91901d6236c4719c23bfd85c1a16bc81fc76910f771d9979269eb66988707b [2023-09-28T06:49:29.656Z] $ docker rm -f --volumes be91901d6236c4719c23bfd85c1a16bc81fc76910f771d9979269eb66988707b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:49:30.050Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-28T06:49:30.050Z] [2023-09-28T06:49:30.050Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:49:30.348Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-28T06:49:30.348Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-28T06:49:30.348Z] ab5ef0e58194: Pulling fs layer [2023-09-28T06:49:30.348Z] 9712f1f96733: Pulling fs layer [2023-09-28T06:49:30.348Z] 63f879dbbcfc: Pulling fs layer [2023-09-28T06:49:30.348Z] 0d9ebad4ef96: Pulling fs layer [2023-09-28T06:49:30.348Z] e9a5061849ea: Pulling fs layer [2023-09-28T06:49:30.348Z] d747dcd14b5f: Pulling fs layer [2023-09-28T06:49:30.348Z] 2de7ff778b66: Pulling fs layer [2023-09-28T06:49:30.348Z] 0d9ebad4ef96: Waiting [2023-09-28T06:49:30.348Z] d747dcd14b5f: Waiting [2023-09-28T06:49:30.348Z] 2de7ff778b66: Waiting [2023-09-28T06:49:30.348Z] e9a5061849ea: Waiting [2023-09-28T06:49:30.348Z] 9712f1f96733: Verifying Checksum [2023-09-28T06:49:30.348Z] 9712f1f96733: Download complete [2023-09-28T06:49:30.609Z] 63f879dbbcfc: Verifying Checksum [2023-09-28T06:49:30.609Z] 63f879dbbcfc: Download complete [2023-09-28T06:49:30.867Z] e9a5061849ea: Verifying Checksum [2023-09-28T06:49:30.867Z] e9a5061849ea: Download complete [2023-09-28T06:49:30.867Z] d747dcd14b5f: Verifying Checksum [2023-09-28T06:49:30.867Z] d747dcd14b5f: Download complete [2023-09-28T06:49:30.867Z] 0d9ebad4ef96: Verifying Checksum [2023-09-28T06:49:30.867Z] 0d9ebad4ef96: Download complete [2023-09-28T06:49:30.867Z] ab5ef0e58194: Verifying Checksum [2023-09-28T06:49:30.867Z] ab5ef0e58194: Download complete [2023-09-28T06:49:30.867Z] 2de7ff778b66: Verifying Checksum [2023-09-28T06:49:30.867Z] 2de7ff778b66: Download complete [2023-09-28T06:49:33.400Z] ab5ef0e58194: Pull complete [2023-09-28T06:49:33.400Z] 9712f1f96733: Pull complete [2023-09-28T06:49:33.965Z] 63f879dbbcfc: Pull complete [2023-09-28T06:49:38.143Z] 0d9ebad4ef96: Pull complete [2023-09-28T06:49:38.143Z] e9a5061849ea: Pull complete [2023-09-28T06:49:38.143Z] d747dcd14b5f: Pull complete [2023-09-28T06:49:39.074Z] 2de7ff778b66: Pull complete [2023-09-28T06:49:39.074Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-28T06:49:39.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-28T06:49:39.074Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:49:39.156Z] prd-ubuntu20.04-docker-8c-8g-8117 does not seem to be running inside a container [2023-09-28T06:49:39.187Z] $ 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 [2023-09-28T06:49:43.957Z] $ docker top 231c54ae95338f613621b10e9d1be4c8ab995014809a61d95e6ca61cd31f7238 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-28T06:49:44.022Z] provisioning config files... [2023-09-28T06:49:44.028Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12440577401434592154tmp [2023-09-28T06:49:44.037Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9103299796535700582tmp [2023-09-28T06:49:44.045Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15296869510736788481tmp [Pipeline] { [Pipeline] echo [2023-09-28T06:49:44.057Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:49:44.336Z] ---> sigul-configuration.sh [2023-09-28T06:49:44.336Z] gpg: directory `/root/.gnupg' created [2023-09-28T06:49:44.336Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-28T06:49:44.336Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-28T06:49:44.336Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-28T06:49:44.336Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-28T06:49:44.336Z] gpg: CAST5 encrypted data [2023-09-28T06:49:44.336Z] gpg: encrypted with 1 passphrase [2023-09-28T06:49:44.336Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-28T06:49:44.619Z] + mkdir /home/jenkins [2023-09-28T06:49:44.619Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-28T06:49:44.900Z] + 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 [2023-09-28T06:49:44.909Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:49:45.195Z] ---> sigul-install.sh [2023-09-28T06:49:45.195Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-28T06:49:45.477Z] + git tag --list [2023-09-28T06:49:45.477Z] v0.0.0 [2023-09-28T06:49:45.477Z] v2.2.0 [2023-09-28T06:49:45.477Z] v2.3.0 [2023-09-28T06:49:45.477Z] v2.3.1 [2023-09-28T06:49:45.477Z] v3.0 [2023-09-28T06:49:45.477Z] v3.0.0 [2023-09-28T06:49:45.477Z] v3.1.0-dev.1 [2023-09-28T06:49:45.477Z] v3.1.0-dev.10 [2023-09-28T06:49:45.477Z] v3.1.0-dev.11 [2023-09-28T06:49:45.477Z] v3.1.0-dev.12 [2023-09-28T06:49:45.477Z] v3.1.0-dev.13 [2023-09-28T06:49:45.477Z] v3.1.0-dev.14 [2023-09-28T06:49:45.477Z] v3.1.0-dev.15 [2023-09-28T06:49:45.477Z] v3.1.0-dev.2 [2023-09-28T06:49:45.477Z] v3.1.0-dev.3 [2023-09-28T06:49:45.477Z] v3.1.0-dev.4 [2023-09-28T06:49:45.477Z] v3.1.0-dev.5 [2023-09-28T06:49:45.477Z] v3.1.0-dev.6 [2023-09-28T06:49:45.477Z] v3.1.0-dev.7 [2023-09-28T06:49:45.477Z] v3.1.0-dev.8 [2023-09-28T06:49:45.477Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-28T06:49:45.759Z] + lftools sign git-tag v3.1.0-dev.15 [2023-09-28T06:49:46.326Z] Signing Git tag with Sigul... [2023-09-28T06:49:46.326Z] Signing v3.1.0-dev.15 [Pipeline] echo [2023-09-28T06:49:46.592Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:49:46.873Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-28T06:49:46.879Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-28T06:49:46.899Z] $ docker stop --time=1 231c54ae95338f613621b10e9d1be4c8ab995014809a61d95e6ca61cd31f7238 [2023-09-28T06:49:48.206Z] $ docker rm -f --volumes 231c54ae95338f613621b10e9d1be4c8ab995014809a61d95e6ca61cd31f7238 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-28T06:49:48.624Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-28T06:49:48.624Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:49:48.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T06:49:48.921Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:49:48.989Z] prd-ubuntu20.04-docker-8c-8g-8117 does not seem to be running inside a container [2023-09-28T06:49:49.018Z] $ 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 [2023-09-28T06:49:49.372Z] $ docker top 20a6e05b13fbefa10e4b31e3ac8661c30bb8c6302269e38968ee47931007a91e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-28T06:49:49.464Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-28T06:49:49.464Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-28T06:49:49.569Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-28T06:49:49.571Z] $ docker exec 20a6e05b13fbefa10e4b31e3ac8661c30bb8c6302269e38968ee47931007a91e ssh-agent [2023-09-28T06:49:49.672Z] SSH_AUTH_SOCK=/tmp/ssh-xClf1GtRIjVb/agent.33 [2023-09-28T06:49:49.672Z] SSH_AGENT_PID=39 [2023-09-28T06:49:49.677Z] Running ssh-add (command line suppressed) [2023-09-28T06:49:49.787Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4079932165586599579.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4079932165586599579.key) [2023-09-28T06:49:49.799Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-28T06:49:50.086Z] + git semver bump pre [2023-09-28T06:49:50.345Z] 2023-09-28 06:49:50,252 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-09-28T06:49:50.345Z] 2023-09-28 06:49:50,252 [bump_version] DEBUG bumping version:3.1.0-dev.15 on axis:pre with prefix:dev [2023-09-28T06:49:50.345Z] 2023-09-28 06:49:50,252 [bump_version] DEBUG bumped version:3.1.0-dev.16 [2023-09-28T06:49:50.346Z] 2023-09-28 06:49:50,252 [write_version] DEBUG write version:3.1.0-dev.16 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2023-09-28T06:49:50.346Z] 2023-09-28 06:49:50,252 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-09-28T06:49:50.346Z] 2023-09-28 06:49:50,252 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-09-28T06:49:50.346Z] 2023-09-28 06:49:50,254 [execute] INFO git cat-file --batch-check [2023-09-28T06:49:50.346Z] 2023-09-28 06:49:50,255 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-28T06:49:50.346Z] 2023-09-28 06:49:50,260 [execute] INFO git cat-file --batch [2023-09-28T06:49:50.346Z] 2023-09-28 06:49:50,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-28T06:49:50.346Z] 2023-09-28 06:49:50,266 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-09-28T06:49:50.346Z] 3.1.0-dev.16 [Pipeline] } [2023-09-28T06:49:50.356Z] $ docker exec --env ******** --env ******** 20a6e05b13fbefa10e4b31e3ac8661c30bb8c6302269e38968ee47931007a91e ssh-agent -k [2023-09-28T06:49:50.448Z] unset SSH_AUTH_SOCK; [2023-09-28T06:49:50.448Z] unset SSH_AGENT_PID; [2023-09-28T06:49:50.448Z] echo Agent pid 39 killed; [2023-09-28T06:49:50.458Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-28T06:49:50.760Z] + git semver [Pipeline] } [2023-09-28T06:49:51.033Z] $ docker stop --time=1 20a6e05b13fbefa10e4b31e3ac8661c30bb8c6302269e38968ee47931007a91e [2023-09-28T06:49:52.312Z] $ docker rm -f --volumes 20a6e05b13fbefa10e4b31e3ac8661c30bb8c6302269e38968ee47931007a91e [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-28T06:49:52.641Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-28T06:49:52.641Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:49:52.937Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T06:49:52.937Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:49:53.002Z] prd-ubuntu20.04-docker-8c-8g-8117 does not seem to be running inside a container [2023-09-28T06:49:53.031Z] $ 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 [2023-09-28T06:49:53.347Z] $ docker top 4db568a8933b3f6a2275da60a4c27df5000922cd94968edf275c651af1a0bfd7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-28T06:49:53.422Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-28T06:49:53.422Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-28T06:49:53.528Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-28T06:49:53.530Z] $ docker exec 4db568a8933b3f6a2275da60a4c27df5000922cd94968edf275c651af1a0bfd7 ssh-agent [2023-09-28T06:49:53.637Z] SSH_AUTH_SOCK=/tmp/ssh-PVraerXKszpo/agent.31 [2023-09-28T06:49:53.637Z] SSH_AGENT_PID=37 [2023-09-28T06:49:53.642Z] Running ssh-add (command line suppressed) [2023-09-28T06:49:53.750Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12058737303770304884.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12058737303770304884.key) [2023-09-28T06:49:53.761Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-28T06:49:54.043Z] + git semver push [2023-09-28T06:49:54.301Z] 2023-09-28 06:49:54,205 [run_push] DEBUG push [2023-09-28T06:49:54.301Z] 2023-09-28 06:49:54,205 [execute] INFO git cat-file --batch-check [2023-09-28T06:49:54.301Z] 2023-09-28 06:49:54,206 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-28T06:49:54.301Z] 2023-09-28 06:49:54,209 [execute] INFO git rev-list e5c225412535833dbb08390ad7799c84bb235d72 -- [2023-09-28T06:49:54.301Z] 2023-09-28 06:49:54,210 [execute] DEBUG Popen(['git', 'rev-list', 'e5c225412535833dbb08390ad7799c84bb235d72', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-28T06:49:54.301Z] 2023-09-28 06:49:54,218 [execute] INFO git fetch -v origin [2023-09-28T06:49:54.301Z] 2023-09-28 06:49:54,218 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-28T06:49:54.868Z] 2023-09-28 06:49:54,738 [run_push] DEBUG no remote changes detected [2023-09-28T06:49:54.868Z] 2023-09-28 06:49:54,738 [execute] INFO git push origin semver [2023-09-28T06:49:54.868Z] 2023-09-28 06:49:54,739 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-28T06:49:55.805Z] 2023-09-28 06:49:55,735 [run_push] DEBUG push all version tags [2023-09-28T06:49:55.805Z] 2023-09-28 06:49:55,735 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-28T06:49:55.805Z] 2023-09-28 06:49:55,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) [2023-09-28T06:49:56.740Z] 2023-09-28 06:49:56,532 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-09-28T06:49:56.740Z] 3.1.0-dev.16 [Pipeline] } [2023-09-28T06:49:56.748Z] $ docker exec --env ******** --env ******** 4db568a8933b3f6a2275da60a4c27df5000922cd94968edf275c651af1a0bfd7 ssh-agent -k [2023-09-28T06:49:56.851Z] unset SSH_AUTH_SOCK; [2023-09-28T06:49:56.851Z] unset SSH_AGENT_PID; [2023-09-28T06:49:56.851Z] echo Agent pid 37 killed; [2023-09-28T06:49:56.859Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-28T06:49:57.162Z] + git semver [Pipeline] } [2023-09-28T06:49:57.432Z] $ docker stop --time=1 4db568a8933b3f6a2275da60a4c27df5000922cd94968edf275c651af1a0bfd7 [2023-09-28T06:49:58.693Z] $ docker rm -f --volumes 4db568a8933b3f6a2275da60a4c27df5000922cd94968edf275c651af1a0bfd7 [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 [2023-09-28T06:49:59.186Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2023-09-28T06:49:59.186Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-09-28T06:49:59.186Z] total 16 [2023-09-28T06:49:59.186Z] drwxr-xr-x 3 root root 4096 Sep 28 06:40 . [2023-09-28T06:49:59.186Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 06:49 .. [2023-09-28T06:49:59.186Z] drwxr-xr-x 2 root root 4096 Sep 28 06:40 cost [2023-09-28T06:49:59.186Z] -rw-r--r-- 1 root root 91 Sep 28 06:40 cost.csv [2023-09-28T06:49:59.186Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2023-09-28T06:49:59.186Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-09-28T06:49:59.186Z] total 16 [2023-09-28T06:49:59.186Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 06:40 . [2023-09-28T06:49:59.186Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 06:49 .. [2023-09-28T06:49:59.186Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 06:40 cost [2023-09-28T06:49:59.186Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 28 06:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:49:59.474Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:50:00.330Z] ---> package-listing.sh [2023-09-28T06:50:00.330Z] ++ facter osfamily [2023-09-28T06:50:00.330Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-28T06:50:00.589Z] + OS_FAMILY=debian [2023-09-28T06:50:00.589Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2023-09-28T06:50:00.589Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-28T06:50:00.589Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-28T06:50:00.589Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-28T06:50:00.589Z] + PACKAGES=/tmp/packages_start.txt [2023-09-28T06:50:00.589Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-09-28T06:50:00.589Z] + PACKAGES=/tmp/packages_end.txt [2023-09-28T06:50:00.589Z] + case "${OS_FAMILY}" in [2023-09-28T06:50:00.589Z] + dpkg -l [2023-09-28T06:50:00.589Z] + grep '^ii' [2023-09-28T06:50:00.589Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-28T06:50:00.589Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-28T06:50:00.589Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-28T06:50:00.589Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-09-28T06:50:00.589Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2023-09-28T06:50:00.589Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo [2023-09-28T06:50:00.599Z] 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 [2023-09-28T06:50:00.964Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:50:01.328Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-28T06:50:01.328Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:50:01.408Z] prd-ubuntu20.04-docker-8c-8g-8117 does not seem to be running inside a container [2023-09-28T06:50:01.435Z] $ 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 [2023-09-28T06:50:01.670Z] $ docker top 50799d0aeaacf2712b87db5201ccebc352dad132e190bb65c53ea06d3f1e2901 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T06:50:02.011Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-28T06:50:02.297Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-28T06:50:02.580Z] + ls /var/log/sa-host [2023-09-28T06:50:02.580Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-28T06:50:02.666Z] provisioning config files... [2023-09-28T06:50:02.674Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11654205672594737466tmp [Pipeline] { [Pipeline] echo [2023-09-28T06:50:02.688Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:50:02.967Z] ---> create-netrc.sh [Pipeline] } [2023-09-28T06:50:02.973Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:50:03.283Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-28T06:50:03.290Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:50:03.572Z] ---> sudo-logs.sh [2023-09-28T06:50:03.572Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-28T06:50:03.603Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:50:03.883Z] ---> job-cost.sh [2023-09-28T06:50:03.883Z] lf-activate-venv: SKIPPING [2023-09-28T06:50:03.883Z] DEBUG: total: 0.2199999988079071 [2023-09-28T06:50:03.883Z] INFO: Retrieving Stack Cost... [2023-09-28T06:50:04.449Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-28T06:50:04.707Z] INFO: Archiving Costs [Pipeline] echo [2023-09-28T06:50:04.717Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:50:04.996Z] ---> logs-deploy.sh [2023-09-28T06:50:04.996Z] lf-activate-venv: SKIPPING [2023-09-28T06:50:04.996Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/172 [2023-09-28T06:50:04.996Z] INFO: archiving workspace using pattern(s): [2023-09-28T06:50:05.931Z] Archives upload complete. [2023-09-28T06:50:05.931Z] INFO: archiving logs to Nexus