Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 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-ssh11614193488630282026.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh6371958673465950526.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh10677696847337056933.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh8075798163064408258.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-ssh3006957924125820835.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/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-10805’ Running on prd-ubuntu20.04-docker-8c-8g-10807 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 (main) Commit message: "build(snap): Upgrade snap base to core22, remove deprecated plug (#323)" > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 # timeout=10 > git rev-list --no-walk 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-25T10:24:31.919Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-25T10:24:31.981Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-25T10:24:31.999Z] ========================================================= [2023-04-25T10:24:31.999Z] EdgeX Global Pipelines Version Info [2023-04-25T10:24:31.999Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:24:32.711Z] ------------------- [2023-04-25T10:24:32.711Z] stable info: [2023-04-25T10:24:32.711Z] ------------------- [2023-04-25T10:24:32.711Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-25T10:24:32.711Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-25T10:24:32.711Z] Message: update stable to v1.0.248 [2023-04-25T10:24:33.282Z] ------------------- [2023-04-25T10:24:33.282Z] experimental info: [2023-04-25T10:24:33.282Z] ------------------- [2023-04-25T10:24:33.282Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-25T10:24:33.282Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-25T10:24:33.282Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-25T10:24:33.467Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-04-25T10:24:33.476Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-04-25T10:24:33.491Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-25T10:24:33.500Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-25T10:24:33.514Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-25T10:24:33.526Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-25T10:24:33.539Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-25T10:24:33.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-25T10:24:33.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-25T10:24:33.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-25T10:24:33.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-25T10:24:33.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-04-25T10:24:33.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-25T10:24:33.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-25T10:24:33.650Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-25T10:24:33.662Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-25T10:24:33.679Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-25T10:24:33.693Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-25T10:24:33.707Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-25T10:24:33.717Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-25T10:24:33.731Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-25T10:24:33.743Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-04-25T10:24:33.753Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-25T10:24:33.765Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-25T10:24:33.780Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-25T10:24:33.799Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-25T10:24:33.815Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-25T10:24:33.833Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-04-25T10:24:33.849Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-04-25T10:24:33.861Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-04-25T10:24:33.880Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 [Pipeline] echo [2023-04-25T10:24:33.892Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e2d27ba [Pipeline] echo [2023-04-25T10:24:33.906Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-25T10:24:33.950Z] provisioning config files... [2023-04-25T10:24:33.965Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12036886869182294966tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:24:34.265Z] ---> docker-login.sh [2023-04-25T10:24:34.265Z] nexus3.edgexfoundry.org:10001 [2023-04-25T10:24:34.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:24:34.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:24:34.525Z] Configure a credential helper to remove this warning. See [2023-04-25T10:24:34.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:24:34.525Z] [2023-04-25T10:24:34.525Z] Login Succeeded [2023-04-25T10:24:34.525Z] nexus3.edgexfoundry.org:10002 [2023-04-25T10:24:34.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:24:34.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:24:34.525Z] Configure a credential helper to remove this warning. See [2023-04-25T10:24:34.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:24:34.525Z] [2023-04-25T10:24:34.525Z] Login Succeeded [2023-04-25T10:24:34.525Z] nexus3.edgexfoundry.org:10003 [2023-04-25T10:24:34.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:24:34.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:24:34.785Z] Configure a credential helper to remove this warning. See [2023-04-25T10:24:34.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:24:34.785Z] [2023-04-25T10:24:34.785Z] Login Succeeded [2023-04-25T10:24:34.785Z] nexus3.edgexfoundry.org:10004 [2023-04-25T10:24:34.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:24:34.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:24:34.785Z] Configure a credential helper to remove this warning. See [2023-04-25T10:24:34.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:24:34.785Z] [2023-04-25T10:24:34.785Z] Login Succeeded [2023-04-25T10:24:34.785Z] docker.io [2023-04-25T10:24:34.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:24:35.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:24:35.044Z] Configure a credential helper to remove this warning. See [2023-04-25T10:24:35.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:24:35.044Z] [2023-04-25T10:24:35.044Z] Login Succeeded [2023-04-25T10:24:35.044Z] ---> docker-login.sh ends [Pipeline] } [2023-04-25T10:24:35.051Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-25T10:24:35.428Z] + git rev-list -1 --merges e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0~1..e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 [Pipeline] echo [2023-04-25T10:24:35.480Z] -----------> git rev-list -1 --merges e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0~1..e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 [false] [Pipeline] sh [2023-04-25T10:24:35.769Z] + git log --format=format:%s -1 e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 [Pipeline] echo [2023-04-25T10:24:35.807Z] ========================================================= [2023-04-25T10:24:35.807Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-25T10:24:35.807Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-25T10:24:36.142Z] + git log --format=format:%s -1 e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 [Pipeline] echo [2023-04-25T10:24:36.153Z] [semverPrep] GIT_COMMIT: e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0, Commit Message: build(snap): Upgrade snap base to core22, remove deprecated plug (#323) [Pipeline] echo [2023-04-25T10:24:36.164Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-25T10:24:36.510Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-25T10:24:36.510Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-25T10:24:36.510Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-25T10:24:36.510Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-25T10:24:36.510Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-25T10:24:36.510Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-25T10:24:36.510Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:24:36.873Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-25T10:24:36.873Z] [2023-04-25T10:24:36.873Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:24:37.175Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-25T10:24:37.175Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-25T10:24:37.175Z] b85a868b505f: Pulling fs layer [2023-04-25T10:24:37.175Z] e2be974225ed: Pulling fs layer [2023-04-25T10:24:37.175Z] 339a4e72a1f5: Pulling fs layer [2023-04-25T10:24:37.175Z] 988bab9f4d93: Pulling fs layer [2023-04-25T10:24:37.175Z] 1469e6f7b9e6: Pulling fs layer [2023-04-25T10:24:37.175Z] eaf3925da568: Pulling fs layer [2023-04-25T10:24:37.175Z] bab4dde63d76: Pulling fs layer [2023-04-25T10:24:37.175Z] bde34c3a00c8: Pulling fs layer [2023-04-25T10:24:37.175Z] b352a97aabf1: Pulling fs layer [2023-04-25T10:24:37.175Z] 4872d77fe225: Pulling fs layer [2023-04-25T10:24:37.175Z] 5851b861e8e6: Pulling fs layer [2023-04-25T10:24:37.175Z] 1469e6f7b9e6: Waiting [2023-04-25T10:24:37.175Z] 988bab9f4d93: Waiting [2023-04-25T10:24:37.175Z] eaf3925da568: Waiting [2023-04-25T10:24:37.175Z] bab4dde63d76: Waiting [2023-04-25T10:24:37.175Z] bde34c3a00c8: Waiting [2023-04-25T10:24:37.175Z] b352a97aabf1: Waiting [2023-04-25T10:24:37.175Z] e2be974225ed: Download complete [2023-04-25T10:24:37.175Z] 988bab9f4d93: Verifying Checksum [2023-04-25T10:24:37.175Z] 988bab9f4d93: Download complete [2023-04-25T10:24:37.175Z] 1469e6f7b9e6: Verifying Checksum [2023-04-25T10:24:37.175Z] 1469e6f7b9e6: Download complete [2023-04-25T10:24:37.175Z] eaf3925da568: Download complete [2023-04-25T10:24:37.175Z] 339a4e72a1f5: Verifying Checksum [2023-04-25T10:24:37.175Z] 339a4e72a1f5: Download complete [2023-04-25T10:24:37.433Z] bde34c3a00c8: Download complete [2023-04-25T10:24:37.433Z] b352a97aabf1: Download complete [2023-04-25T10:24:37.433Z] 4872d77fe225: Verifying Checksum [2023-04-25T10:24:37.433Z] 4872d77fe225: Download complete [2023-04-25T10:24:37.433Z] 5851b861e8e6: Verifying Checksum [2023-04-25T10:24:37.433Z] 5851b861e8e6: Download complete [2023-04-25T10:24:37.433Z] b85a868b505f: Verifying Checksum [2023-04-25T10:24:37.433Z] b85a868b505f: Download complete [2023-04-25T10:24:37.692Z] bab4dde63d76: Verifying Checksum [2023-04-25T10:24:37.692Z] bab4dde63d76: Download complete [2023-04-25T10:24:38.637Z] b85a868b505f: Pull complete [2023-04-25T10:24:38.637Z] e2be974225ed: Pull complete [2023-04-25T10:24:39.226Z] 339a4e72a1f5: Pull complete [2023-04-25T10:24:39.226Z] 988bab9f4d93: Pull complete [2023-04-25T10:24:39.484Z] 1469e6f7b9e6: Pull complete [2023-04-25T10:24:39.484Z] eaf3925da568: Pull complete [2023-04-25T10:24:40.861Z] bab4dde63d76: Pull complete [2023-04-25T10:24:41.119Z] bde34c3a00c8: Pull complete [2023-04-25T10:24:41.119Z] b352a97aabf1: Pull complete [2023-04-25T10:24:41.119Z] 4872d77fe225: Pull complete [2023-04-25T10:24:41.379Z] 5851b861e8e6: Pull complete [2023-04-25T10:24:41.379Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-25T10:24:41.379Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-25T10:24:41.379Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T10:24:41.479Z] prd-ubuntu20.04-docker-8c-8g-10807 does not seem to be running inside a container [2023-04-25T10:24:41.492Z] $ 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-04-25T10:24:44.560Z] $ docker top 70b254b0bbb52a0442b51bb68f41bfc9cb011e6d20a33aec5d286d5052cff846 -eo pid,comm [2023-04-25T10:24:44.632Z] 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-04-25T10:24:44.632Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-25T10:24:44.664Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-25T10:24:44.664Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-25T10:24:44.767Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-25T10:24:44.755Z] $ docker exec 70b254b0bbb52a0442b51bb68f41bfc9cb011e6d20a33aec5d286d5052cff846 ssh-agent [2023-04-25T10:24:44.874Z] SSH_AUTH_SOCK=/tmp/ssh-Km5PDZBmOFzw/agent.32 [2023-04-25T10:24:44.874Z] SSH_AGENT_PID=38 [2023-04-25T10:24:44.882Z] Running ssh-add (command line suppressed) [2023-04-25T10:24:44.970Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9298941183177281.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9298941183177281.key) [2023-04-25T10:24:45.001Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-25T10:24:45.287Z] + git tag --points-at HEAD [Pipeline] } [2023-04-25T10:24:45.284Z] $ docker exec --env ******** --env ******** 70b254b0bbb52a0442b51bb68f41bfc9cb011e6d20a33aec5d286d5052cff846 ssh-agent -k [2023-04-25T10:24:45.382Z] unset SSH_AUTH_SOCK; [2023-04-25T10:24:45.383Z] unset SSH_AGENT_PID; [2023-04-25T10:24:45.383Z] echo Agent pid 38 killed; [2023-04-25T10:24:45.406Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-25T10:24:45.429Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-25T10:24:45.429Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-25T10:24:45.544Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-25T10:24:45.532Z] $ docker exec 70b254b0bbb52a0442b51bb68f41bfc9cb011e6d20a33aec5d286d5052cff846 ssh-agent [2023-04-25T10:24:45.653Z] SSH_AUTH_SOCK=/tmp/ssh-E7R9H8eGwmhQ/agent.70 [2023-04-25T10:24:45.653Z] SSH_AGENT_PID=76 [2023-04-25T10:24:45.658Z] Running ssh-add (command line suppressed) [2023-04-25T10:24:45.738Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5819433845534896970.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5819433845534896970.key) [2023-04-25T10:24:45.765Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-25T10:24:46.047Z] + git semver init [2023-04-25T10:24:46.306Z] 2023-04-25 10:24:46,187 [run_init] DEBUG init version:0.0.0 force:False [2023-04-25T10:24:46.306Z] 2023-04-25 10:24:46,188 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2023-04-25T10:24:46.306Z] 2023-04-25 10:24:46,189 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2023-04-25T10:24:46.307Z] 2023-04-25 10:24:46,189 [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-04-25T10:24:47.247Z] 2023-04-25 10:24:47,057 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2023-04-25T10:24:47.247Z] 2023-04-25 10:24:47,057 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2023-04-25T10:24:47.247Z] 2023-04-25 10:24:47,057 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-04-25T10:24:47.247Z] 2023-04-25 10:24:47,058 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-04-25T10:24:47.247Z] 3.0.0-dev.32 [Pipeline] } [2023-04-25T10:24:47.244Z] $ docker exec --env ******** --env ******** 70b254b0bbb52a0442b51bb68f41bfc9cb011e6d20a33aec5d286d5052cff846 ssh-agent -k [2023-04-25T10:24:47.337Z] unset SSH_AUTH_SOCK; [2023-04-25T10:24:47.337Z] unset SSH_AGENT_PID; [2023-04-25T10:24:47.339Z] echo Agent pid 76 killed; [2023-04-25T10:24:47.362Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-25T10:24:47.659Z] + git semver [Pipeline] } [2023-04-25T10:24:47.919Z] $ docker stop --time=1 70b254b0bbb52a0442b51bb68f41bfc9cb011e6d20a33aec5d286d5052cff846 [2023-04-25T10:24:49.235Z] $ docker rm -f --volumes 70b254b0bbb52a0442b51bb68f41bfc9cb011e6d20a33aec5d286d5052cff846 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-25T10:24:49.584Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-25T10:24:49.775Z] Stashed 1 file(s) [Pipeline] echo [2023-04-25T10:24:49.779Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.32 [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-04-25T10:24:49.901Z] provisioning config files... [2023-04-25T10:24:49.911Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13996116654501493773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:24:50.207Z] ---> docker-login.sh [2023-04-25T10:24:50.207Z] nexus3.edgexfoundry.org:10001 [2023-04-25T10:24:50.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:24:50.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:24:50.207Z] Configure a credential helper to remove this warning. See [2023-04-25T10:24:50.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:24:50.207Z] [2023-04-25T10:24:50.207Z] Login Succeeded [2023-04-25T10:24:50.207Z] nexus3.edgexfoundry.org:10002 [2023-04-25T10:24:50.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:24:50.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:24:50.207Z] Configure a credential helper to remove this warning. See [2023-04-25T10:24:50.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:24:50.207Z] [2023-04-25T10:24:50.207Z] Login Succeeded [2023-04-25T10:24:50.207Z] nexus3.edgexfoundry.org:10003 [2023-04-25T10:24:50.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:24:50.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:24:50.467Z] Configure a credential helper to remove this warning. See [2023-04-25T10:24:50.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:24:50.467Z] [2023-04-25T10:24:50.467Z] Login Succeeded [2023-04-25T10:24:50.467Z] nexus3.edgexfoundry.org:10004 [2023-04-25T10:24:50.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:24:50.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:24:50.467Z] Configure a credential helper to remove this warning. See [2023-04-25T10:24:50.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:24:50.467Z] [2023-04-25T10:24:50.467Z] Login Succeeded [2023-04-25T10:24:50.467Z] docker.io [2023-04-25T10:24:50.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:24:50.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:24:50.727Z] Configure a credential helper to remove this warning. See [2023-04-25T10:24:50.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:24:50.727Z] [2023-04-25T10:24:50.727Z] Login Succeeded [2023-04-25T10:24:50.727Z] ---> docker-login.sh ends [Pipeline] } [2023-04-25T10:24:50.734Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-25T10:24:50.789Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T10:24:50.803Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T10:24:50.810Z] ========================================================= [2023-04-25T10:24:50.810Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-25T10:24:50.810Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:24:51.112Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-25T10:24:51.112Z] Sending build context to Docker daemon 26.95MB [2023-04-25T10:24:51.112Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-25T10:24:51.112Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-25T10:24:51.371Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-25T10:24:51.371Z] f56be85fc22e: Pulling fs layer [2023-04-25T10:24:51.371Z] 85791d961cd3: Pulling fs layer [2023-04-25T10:24:51.371Z] d694b5ae8c79: Pulling fs layer [2023-04-25T10:24:51.371Z] 9f32a84ed3da: Pulling fs layer [2023-04-25T10:24:51.371Z] 4d19c01a9841: Pulling fs layer [2023-04-25T10:24:51.371Z] 9325e15d5711: Pulling fs layer [2023-04-25T10:24:51.371Z] 556b6ee489ea: Pulling fs layer [2023-04-25T10:24:51.371Z] c5a4b2cf53e6: Pulling fs layer [2023-04-25T10:24:51.371Z] 9325e15d5711: Waiting [2023-04-25T10:24:51.371Z] 9f32a84ed3da: Waiting [2023-04-25T10:24:51.371Z] 556b6ee489ea: Waiting [2023-04-25T10:24:51.371Z] 4d19c01a9841: Waiting [2023-04-25T10:24:51.371Z] c5a4b2cf53e6: Waiting [2023-04-25T10:24:51.371Z] 85791d961cd3: Download complete [2023-04-25T10:24:51.371Z] 9f32a84ed3da: Verifying Checksum [2023-04-25T10:24:51.371Z] 9f32a84ed3da: Download complete [2023-04-25T10:24:51.371Z] 4d19c01a9841: Verifying Checksum [2023-04-25T10:24:51.371Z] 4d19c01a9841: Download complete [2023-04-25T10:24:51.371Z] f56be85fc22e: Verifying Checksum [2023-04-25T10:24:51.371Z] f56be85fc22e: Download complete [2023-04-25T10:24:51.371Z] 9325e15d5711: Download complete [2023-04-25T10:24:51.371Z] f56be85fc22e: Pull complete [2023-04-25T10:24:51.630Z] 85791d961cd3: Pull complete [2023-04-25T10:24:51.889Z] c5a4b2cf53e6: Verifying Checksum [2023-04-25T10:24:51.889Z] c5a4b2cf53e6: Download complete [2023-04-25T10:24:51.889Z] d694b5ae8c79: Verifying Checksum [2023-04-25T10:24:51.889Z] d694b5ae8c79: Download complete [2023-04-25T10:24:52.457Z] 556b6ee489ea: Verifying Checksum [2023-04-25T10:24:52.457Z] 556b6ee489ea: Download complete [2023-04-25T10:24:54.990Z] d694b5ae8c79: Pull complete [2023-04-25T10:24:54.990Z] 9f32a84ed3da: Pull complete [2023-04-25T10:24:54.990Z] 4d19c01a9841: Pull complete [2023-04-25T10:24:54.990Z] 9325e15d5711: Pull complete [2023-04-25T10:24:57.512Z] 556b6ee489ea: Pull complete [2023-04-25T10:24:58.077Z] c5a4b2cf53e6: Pull complete [2023-04-25T10:24:58.077Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-04-25T10:24:58.077Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-25T10:24:58.077Z] ---> c4be618373d6 [2023-04-25T10:24:58.077Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-25T10:25:02.276Z] ---> Running in 942978ac50e2 [2023-04-25T10:25:02.276Z] Removing intermediate container 942978ac50e2 [2023-04-25T10:25:02.276Z] ---> 71bfffc69071 [2023-04-25T10:25:02.276Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-25T10:25:02.276Z] ---> Running in c993dd960f6e [2023-04-25T10:25:02.276Z] Removing intermediate container c993dd960f6e [2023-04-25T10:25:02.276Z] ---> daa47f2a5c3b [2023-04-25T10:25:02.276Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-25T10:25:02.276Z] ---> Running in 7d8e782ebb71 [2023-04-25T10:25:02.276Z] Removing intermediate container 7d8e782ebb71 [2023-04-25T10:25:02.276Z] ---> 139db0719320 [2023-04-25T10:25:02.276Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-25T10:25:02.276Z] ---> Running in 95544a8549aa [2023-04-25T10:25:02.276Z] Removing intermediate container 95544a8549aa [2023-04-25T10:25:02.276Z] ---> 3c1721c25a11 [2023-04-25T10:25:02.276Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-25T10:25:02.276Z] ---> Running in 260568d06866 [2023-04-25T10:25:02.276Z] Removing intermediate container 260568d06866 [2023-04-25T10:25:02.276Z] ---> 705ce3b73e56 [2023-04-25T10:25:02.276Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-25T10:25:02.538Z] ---> Running in 45a712fb32a8 [2023-04-25T10:25:02.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-25T10:25:02.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-25T10:25:03.056Z] OK: 265 MiB in 53 packages [2023-04-25T10:25:03.316Z] Removing intermediate container 45a712fb32a8 [2023-04-25T10:25:03.316Z] ---> edf19c79ea4f [2023-04-25T10:25:03.316Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-25T10:25:03.316Z] ---> Running in 77c152ff8754 [2023-04-25T10:25:03.576Z] Removing intermediate container 77c152ff8754 [2023-04-25T10:25:03.576Z] ---> 1722b13bfe6b [2023-04-25T10:25:03.576Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-25T10:25:03.576Z] ---> f7ee7386578e [2023-04-25T10:25:03.576Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-25T10:25:03.576Z] ---> Running in e8b812df5d9c [2023-04-25T10:25:04.859Z] Still waiting to schedule task [2023-04-25T10:25:04.859Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10806’ [2023-04-25T10:25:30.117Z] Removing intermediate container e8b812df5d9c [2023-04-25T10:25:30.117Z] ---> c42750e30dcd [2023-04-25T10:25:30.117Z] Step 12/13 : COPY . . [2023-04-25T10:25:30.117Z] ---> 9c4dfa229b1a [2023-04-25T10:25:30.117Z] Step 13/13 : RUN ${MAKE} [2023-04-25T10:25:30.117Z] ---> Running in ab6d9ae28c56 [2023-04-25T10:25:30.117Z] noop [2023-04-25T10:25:30.117Z] Removing intermediate container ab6d9ae28c56 [2023-04-25T10:25:30.117Z] ---> 33f6468d656d [2023-04-25T10:25:30.117Z] Successfully built 33f6468d656d [2023-04-25T10:25:30.117Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:25:30.446Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-25T10:25:30.446Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T10:25:30.518Z] prd-ubuntu20.04-docker-8c-8g-10807 does not seem to be running inside a container [2023-04-25T10:25:30.563Z] $ 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-04-25T10:25:30.897Z] $ docker top e109df25417c2c2ad40778c7d76f9c05c5612d82c3ee9bbbff8a118fcfe3e4e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T10:25:31.243Z] + go version [2023-04-25T10:25:31.243Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-25T10:25:31.257Z] $ docker stop --time=1 e109df25417c2c2ad40778c7d76f9c05c5612d82c3ee9bbbff8a118fcfe3e4e3 [2023-04-25T10:25:32.504Z] $ docker rm -f --volumes e109df25417c2c2ad40778c7d76f9c05c5612d82c3ee9bbbff8a118fcfe3e4e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:25:32.912Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-25T10:25:32.912Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T10:25:32.986Z] prd-ubuntu20.04-docker-8c-8g-10807 does not seem to be running inside a container [2023-04-25T10:25:33.021Z] $ 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-04-25T10:25:33.359Z] $ docker top d2af6c5881c0a902cabd36b60583d344b1946a80d44cfb066fc4b2e44f80459d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T10:25:33.698Z] + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh [2023-04-25T10:25:33.999Z] + make test [2023-04-25T10:25:33.999Z] go test ./... -coverprofile=coverage.out ./... [2023-04-25T10:25:38.188Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-25T10:25:48.152Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-25T10:25:48.152Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-25T10:25:50.073Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.031s coverage: 31.6% of statements [2023-04-25T10:25:50.073Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.181s coverage: 86.5% of statements [2023-04-25T10:25:56.625Z] go vet ./... [2023-04-25T10:25:59.152Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-25T10:25:59.152Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-25T10:25:59.152Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-25T10:25:59.423Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-25T10:25:59.442Z] $ docker stop --time=1 d2af6c5881c0a902cabd36b60583d344b1946a80d44cfb066fc4b2e44f80459d [2023-04-25T10:26:02.811Z] $ docker rm -f --volumes d2af6c5881c0a902cabd36b60583d344b1946a80d44cfb066fc4b2e44f80459d [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-25T10:26:03.252Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-25T10:26:03.314Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-25T10:26:03.765Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-25T10:26:04.052Z] + ls -al . [2023-04-25T10:26:04.052Z] total 236 [2023-04-25T10:26:04.052Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 10:25 . [2023-04-25T10:26:04.052Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 10:24 .. [2023-04-25T10:26:04.052Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 10:24 .git [2023-04-25T10:26:04.052Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 10:24 .github [2023-04-25T10:26:04.052Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 25 10:24 .gitignore [2023-04-25T10:26:04.052Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 25 10:24 .golangci.yml [2023-04-25T10:26:04.052Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 10:24 .semver [2023-04-25T10:26:04.052Z] -rw-rw-r-- 1 jenkins jenkins 9861 Apr 25 10:24 Attribution.txt [2023-04-25T10:26:04.052Z] -rw-rw-r-- 1 jenkins jenkins 6312 Apr 25 10:24 CHANGELOG.md [2023-04-25T10:26:04.052Z] -rw-rw-r-- 1 jenkins jenkins 1574 Apr 25 10:24 Dockerfile [2023-04-25T10:26:04.052Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 10:24 GOVERNANCE.md [2023-04-25T10:26:04.052Z] -rw-rw-r-- 1 jenkins jenkins 734 Apr 25 10:24 Jenkinsfile [2023-04-25T10:26:04.052Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 25 10:24 LICENSE [2023-04-25T10:26:04.052Z] -rw-rw-r-- 1 jenkins jenkins 2751 Apr 25 10:24 Makefile [2023-04-25T10:26:04.052Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 25 10:24 OWNERS.md [2023-04-25T10:26:04.052Z] -rw-rw-r-- 1 jenkins jenkins 6250 Apr 25 10:24 README.md [2023-04-25T10:26:04.052Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 25 10:24 VERSION [2023-04-25T10:26:04.052Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 10:24 bin [2023-04-25T10:26:04.052Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 10:24 cmd [2023-04-25T10:26:04.052Z] -rw-r--r-- 1 jenkins jenkins 78922 Apr 25 10:25 coverage.out [2023-04-25T10:26:04.052Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 25 10:24 doc [2023-04-25T10:26:04.052Z] -rw-rw-r-- 1 jenkins jenkins 3557 Apr 25 10:24 go.mod [2023-04-25T10:26:04.052Z] -rw-rw-r-- 1 jenkins jenkins 32947 Apr 25 10:24 go.sum [2023-04-25T10:26:04.052Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 10:24 internal [2023-04-25T10:26:04.052Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 10:24 snap [2023-04-25T10:26:04.052Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 25 10:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:26:04.360Z] + 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=e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 --label arch=amd64 --label version=3.0.0-dev.32 . [2023-04-25T10:26:04.360Z] Sending build context to Docker daemon 27.03MB [2023-04-25T10:26:04.360Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-04-25T10:26:04.360Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-25T10:26:04.360Z] ---> 33f6468d656d [2023-04-25T10:26:04.360Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-25T10:26:04.618Z] ---> Running in 1291558167e3 [2023-04-25T10:26:04.878Z] Removing intermediate container 1291558167e3 [2023-04-25T10:26:04.878Z] ---> 20146900b3a7 [2023-04-25T10:26:04.878Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-25T10:26:04.878Z] ---> Running in 190182bf5340 [2023-04-25T10:26:04.878Z] Removing intermediate container 190182bf5340 [2023-04-25T10:26:04.878Z] ---> b6bcc9639edc [2023-04-25T10:26:04.878Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-04-25T10:26:04.878Z] ---> Running in a137cfed8c6a [2023-04-25T10:26:04.878Z] Removing intermediate container a137cfed8c6a [2023-04-25T10:26:04.878Z] ---> 56be6cc8e8bd [2023-04-25T10:26:04.878Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-25T10:26:04.878Z] ---> Running in 214197db5620 [2023-04-25T10:26:05.136Z] Removing intermediate container 214197db5620 [2023-04-25T10:26:05.136Z] ---> 5de112d824b0 [2023-04-25T10:26:05.136Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-25T10:26:05.136Z] ---> Running in 5a5dd79c6058 [2023-04-25T10:26:05.136Z] Removing intermediate container 5a5dd79c6058 [2023-04-25T10:26:05.136Z] ---> 682d8c74d06a [2023-04-25T10:26:05.136Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-25T10:26:05.136Z] ---> Running in 4fd446071863 [2023-04-25T10:26:05.396Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-25T10:26:05.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-25T10:26:05.657Z] OK: 265 MiB in 53 packages [2023-04-25T10:26:05.916Z] Removing intermediate container 4fd446071863 [2023-04-25T10:26:05.916Z] ---> 77f815bfe252 [2023-04-25T10:26:05.916Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-25T10:26:05.916Z] ---> Running in 58dec7a6496d [2023-04-25T10:26:06.176Z] Removing intermediate container 58dec7a6496d [2023-04-25T10:26:06.176Z] ---> 43ea2f5b6cba [2023-04-25T10:26:06.176Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-25T10:26:06.176Z] ---> 40f80b5fa1a6 [2023-04-25T10:26:06.176Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-25T10:26:06.176Z] ---> Running in 64e15dc28c52 [2023-04-25T10:26:07.110Z] Removing intermediate container 64e15dc28c52 [2023-04-25T10:26:07.110Z] ---> ac36b6a538b3 [2023-04-25T10:26:07.110Z] Step 12/26 : COPY . . [2023-04-25T10:26:08.292Z] ---> dc67721b9231 [2023-04-25T10:26:08.292Z] Step 13/26 : RUN ${MAKE} [2023-04-25T10:26:08.292Z] ---> Running in 0971c3570c35 [2023-04-25T10:26:08.292Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.32" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-04-25T10:26:30.296Z] Removing intermediate container 0971c3570c35 [2023-04-25T10:26:30.296Z] ---> d2c330d31ff6 [2023-04-25T10:26:30.296Z] Step 14/26 : FROM alpine:3.17 [2023-04-25T10:26:30.296Z] 3.17: Pulling from library/alpine [2023-04-25T10:26:30.296Z] f56be85fc22e: Already exists [2023-04-25T10:26:30.296Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-25T10:26:30.296Z] Status: Downloaded newer image for alpine:3.17 [2023-04-25T10:26:30.296Z] ---> 9ed4aefc74f6 [2023-04-25T10:26:30.296Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-25T10:26:30.296Z] ---> Running in f4609907f92a [2023-04-25T10:26:30.296Z] Removing intermediate container f4609907f92a [2023-04-25T10:26:30.296Z] ---> 9608259f0c7f [2023-04-25T10:26:30.296Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-04-25T10:26:30.296Z] ---> Running in 6c4dce1eeb58 [2023-04-25T10:26:30.296Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-25T10:26:30.296Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-25T10:26:30.296Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-25T10:26:30.296Z] Executing busybox-1.35.0-r29.trigger [2023-04-25T10:26:30.296Z] OK: 7 MiB in 16 packages [2023-04-25T10:26:30.296Z] Removing intermediate container 6c4dce1eeb58 [2023-04-25T10:26:30.296Z] ---> cb591d727d17 [2023-04-25T10:26:30.296Z] Step 17/26 : WORKDIR / [2023-04-25T10:26:30.296Z] ---> Running in cb4b4565d1e5 [2023-04-25T10:26:30.296Z] Removing intermediate container cb4b4565d1e5 [2023-04-25T10:26:30.296Z] ---> 7416b788de8f [2023-04-25T10:26:30.296Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-25T10:26:30.296Z] ---> cb190efae210 [2023-04-25T10:26:30.296Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-25T10:26:30.296Z] ---> 2eda66a64f5b [2023-04-25T10:26:30.296Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-25T10:26:30.296Z] ---> 694db8dfa709 [2023-04-25T10:26:30.296Z] Step 21/26 : EXPOSE 59984 [2023-04-25T10:26:30.296Z] ---> Running in 129738f8c9e0 [2023-04-25T10:26:30.296Z] Removing intermediate container 129738f8c9e0 [2023-04-25T10:26:30.296Z] ---> 2e5dab19d5ae [2023-04-25T10:26:30.296Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-25T10:26:30.296Z] ---> Running in 20e0d28c59f7 [2023-04-25T10:26:30.296Z] Removing intermediate container 20e0d28c59f7 [2023-04-25T10:26:30.296Z] ---> 268f62017d2f [2023-04-25T10:26:30.296Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-25T10:26:30.296Z] ---> Running in f9c0d523a297 [2023-04-25T10:26:30.296Z] Removing intermediate container f9c0d523a297 [2023-04-25T10:26:30.296Z] ---> 3b6cc03af925 [2023-04-25T10:26:30.296Z] Step 24/26 : LABEL arch=amd64 [2023-04-25T10:26:30.296Z] ---> Running in 3b3109ee93a3 [2023-04-25T10:26:30.296Z] Removing intermediate container 3b3109ee93a3 [2023-04-25T10:26:30.296Z] ---> 28ee4606a196 [2023-04-25T10:26:30.296Z] Step 25/26 : LABEL git_sha=e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 [2023-04-25T10:26:30.296Z] ---> Running in 5f8e5a08fa81 [2023-04-25T10:26:30.296Z] Removing intermediate container 5f8e5a08fa81 [2023-04-25T10:26:30.296Z] ---> 58cb90022a86 [2023-04-25T10:26:30.296Z] Step 26/26 : LABEL version=3.0.0-dev.32 [2023-04-25T10:26:30.296Z] ---> Running in e8ac7a85b2e8 [2023-04-25T10:26:30.296Z] Removing intermediate container e8ac7a85b2e8 [2023-04-25T10:26:30.296Z] ---> 0b0f92f820c4 [2023-04-25T10:26:30.296Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-25T10:26:30.296Z] Successfully built 0b0f92f820c4 [2023-04-25T10:26:30.296Z] 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-04-25T10:26:30.402Z] provisioning config files... [2023-04-25T10:26:30.410Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7219606828386000964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:26:30.701Z] ---> docker-login.sh [2023-04-25T10:26:30.701Z] nexus3.edgexfoundry.org:10001 [2023-04-25T10:26:30.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:26:30.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:26:30.701Z] Configure a credential helper to remove this warning. See [2023-04-25T10:26:30.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:26:30.701Z] [2023-04-25T10:26:30.701Z] Login Succeeded [2023-04-25T10:26:30.701Z] nexus3.edgexfoundry.org:10002 [2023-04-25T10:26:30.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:26:30.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:26:30.701Z] Configure a credential helper to remove this warning. See [2023-04-25T10:26:30.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:26:30.701Z] [2023-04-25T10:26:30.701Z] Login Succeeded [2023-04-25T10:26:30.701Z] nexus3.edgexfoundry.org:10003 [2023-04-25T10:26:30.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:26:30.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:26:30.960Z] Configure a credential helper to remove this warning. See [2023-04-25T10:26:30.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:26:30.960Z] [2023-04-25T10:26:30.960Z] Login Succeeded [2023-04-25T10:26:30.960Z] nexus3.edgexfoundry.org:10004 [2023-04-25T10:26:30.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:26:30.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:26:30.960Z] Configure a credential helper to remove this warning. See [2023-04-25T10:26:30.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:26:30.960Z] [2023-04-25T10:26:30.960Z] Login Succeeded [2023-04-25T10:26:30.960Z] docker.io [2023-04-25T10:26:31.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:26:31.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:26:31.219Z] Configure a credential helper to remove this warning. See [2023-04-25T10:26:31.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:26:31.219Z] [2023-04-25T10:26:31.219Z] Login Succeeded [2023-04-25T10:26:31.219Z] ---> docker-login.sh ends [Pipeline] } [2023-04-25T10:26:31.226Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-25T10:26:31.253Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T10:26:31.270Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2023-04-25T10:26:31.270Z] e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 [2023-04-25T10:26:31.270Z] latest [2023-04-25T10:26:31.270Z] 3.0.0-dev.32 [2023-04-25T10:26:31.270Z] e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0-3.0.0-dev.32 [2023-04-25T10:26:31.270Z] main [2023-04-25T10:26:31.270Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:26:31.576Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:26:31.883Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 [2023-04-25T10:26:31.883Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-04-25T10:26:31.883Z] 36a508699ea6: Preparing [2023-04-25T10:26:31.883Z] aa28b384b967: Preparing [2023-04-25T10:26:31.883Z] df084b3fd55e: Preparing [2023-04-25T10:26:31.883Z] 9dc7fe879f33: Preparing [2023-04-25T10:26:31.883Z] f1417ff83b31: Preparing [2023-04-25T10:26:31.883Z] f1417ff83b31: Layer already exists [2023-04-25T10:26:31.883Z] aa28b384b967: Pushed [2023-04-25T10:26:31.883Z] 36a508699ea6: Pushed [2023-04-25T10:26:31.883Z] 9dc7fe879f33: Pushed [2023-04-25T10:26:34.421Z] df084b3fd55e: Pushed [2023-04-25T10:26:34.679Z] e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0: digest: sha256:d215b2f015dfa31998f1ab3784651d93f6a7f7f695a8a97a1a50ae83eb05af86 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:26:34.983Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:26:35.288Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-04-25T10:26:35.288Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-04-25T10:26:35.288Z] 36a508699ea6: Preparing [2023-04-25T10:26:35.288Z] aa28b384b967: Preparing [2023-04-25T10:26:35.288Z] df084b3fd55e: Preparing [2023-04-25T10:26:35.288Z] 9dc7fe879f33: Preparing [2023-04-25T10:26:35.288Z] f1417ff83b31: Preparing [2023-04-25T10:26:35.288Z] df084b3fd55e: Layer already exists [2023-04-25T10:26:35.288Z] 9dc7fe879f33: Layer already exists [2023-04-25T10:26:35.288Z] aa28b384b967: Layer already exists [2023-04-25T10:26:35.288Z] f1417ff83b31: Layer already exists [2023-04-25T10:26:35.288Z] 36a508699ea6: Layer already exists [2023-04-25T10:26:35.288Z] latest: digest: sha256:d215b2f015dfa31998f1ab3784651d93f6a7f7f695a8a97a1a50ae83eb05af86 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:26:35.598Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:26:35.898Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.32 [2023-04-25T10:26:35.898Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-04-25T10:26:35.898Z] 36a508699ea6: Preparing [2023-04-25T10:26:35.898Z] aa28b384b967: Preparing [2023-04-25T10:26:35.898Z] df084b3fd55e: Preparing [2023-04-25T10:26:35.898Z] 9dc7fe879f33: Preparing [2023-04-25T10:26:35.898Z] f1417ff83b31: Preparing [2023-04-25T10:26:35.898Z] f1417ff83b31: Layer already exists [2023-04-25T10:26:35.898Z] 9dc7fe879f33: Layer already exists [2023-04-25T10:26:35.898Z] df084b3fd55e: Layer already exists [2023-04-25T10:26:35.898Z] 36a508699ea6: Layer already exists [2023-04-25T10:26:35.898Z] aa28b384b967: Layer already exists [2023-04-25T10:26:35.898Z] 3.0.0-dev.32: digest: sha256:d215b2f015dfa31998f1ab3784651d93f6a7f7f695a8a97a1a50ae83eb05af86 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:26:36.201Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0-3.0.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:26:36.503Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0-3.0.0-dev.32 [2023-04-25T10:26:36.503Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-04-25T10:26:36.503Z] 36a508699ea6: Preparing [2023-04-25T10:26:36.503Z] aa28b384b967: Preparing [2023-04-25T10:26:36.503Z] df084b3fd55e: Preparing [2023-04-25T10:26:36.503Z] 9dc7fe879f33: Preparing [2023-04-25T10:26:36.503Z] f1417ff83b31: Preparing [2023-04-25T10:26:36.503Z] f1417ff83b31: Layer already exists [2023-04-25T10:26:36.503Z] aa28b384b967: Layer already exists [2023-04-25T10:26:36.503Z] 36a508699ea6: Layer already exists [2023-04-25T10:26:36.503Z] 9dc7fe879f33: Layer already exists [2023-04-25T10:26:36.503Z] df084b3fd55e: Layer already exists [2023-04-25T10:26:36.503Z] e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0-3.0.0-dev.32: digest: sha256:d215b2f015dfa31998f1ab3784651d93f6a7f7f695a8a97a1a50ae83eb05af86 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:26:36.810Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:26:37.112Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2023-04-25T10:26:37.112Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-04-25T10:26:37.112Z] 36a508699ea6: Preparing [2023-04-25T10:26:37.112Z] aa28b384b967: Preparing [2023-04-25T10:26:37.112Z] df084b3fd55e: Preparing [2023-04-25T10:26:37.112Z] 9dc7fe879f33: Preparing [2023-04-25T10:26:37.112Z] f1417ff83b31: Preparing [2023-04-25T10:26:37.112Z] df084b3fd55e: Layer already exists [2023-04-25T10:26:37.112Z] 9dc7fe879f33: Layer already exists [2023-04-25T10:26:37.112Z] 36a508699ea6: Layer already exists [2023-04-25T10:26:37.112Z] f1417ff83b31: Layer already exists [2023-04-25T10:26:37.112Z] aa28b384b967: Layer already exists [2023-04-25T10:26:37.112Z] main: digest: sha256:d215b2f015dfa31998f1ab3784651d93f6a7f7f695a8a97a1a50ae83eb05af86 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-25T10:26:37.148Z] ===================================================== [Pipeline] echo [2023-04-25T10:26:37.155Z] taggedImages: [2023-04-25T10:26:37.155Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 [2023-04-25T10:26:37.155Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-04-25T10:26:37.155Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.32 [2023-04-25T10:26:37.155Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0-3.0.0-dev.32 [2023-04-25T10:26:37.155Z] - 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-04-25T10:26:37.515Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-25T10:26:37.515Z] [2023-04-25T10:26:37.515Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:26:37.813Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-25T10:26:37.813Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-25T10:26:37.813Z] 5eb5b503b376: Pulling fs layer [2023-04-25T10:26:37.813Z] 5c69ac0246d0: Pulling fs layer [2023-04-25T10:26:37.813Z] ec43610c2a17: Pulling fs layer [2023-04-25T10:26:37.813Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-25T10:26:37.813Z] 33b1e0a273af: Pulling fs layer [2023-04-25T10:26:37.813Z] 5d3b04190fa2: Pulling fs layer [2023-04-25T10:26:37.813Z] 2f39f015ded8: Pulling fs layer [2023-04-25T10:26:37.813Z] 33b1e0a273af: Waiting [2023-04-25T10:26:37.813Z] 5d3b04190fa2: Waiting [2023-04-25T10:26:37.813Z] 2f39f015ded8: Waiting [2023-04-25T10:26:37.813Z] 3a2ae6a8a46f: Waiting [2023-04-25T10:26:37.813Z] 5c69ac0246d0: Verifying Checksum [2023-04-25T10:26:37.813Z] 5c69ac0246d0: Download complete [2023-04-25T10:26:37.813Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-25T10:26:37.813Z] 3a2ae6a8a46f: Download complete [2023-04-25T10:26:37.813Z] 33b1e0a273af: Verifying Checksum [2023-04-25T10:26:37.813Z] 33b1e0a273af: Download complete [2023-04-25T10:26:37.813Z] 5d3b04190fa2: Download complete [2023-04-25T10:26:37.813Z] ec43610c2a17: Verifying Checksum [2023-04-25T10:26:37.813Z] ec43610c2a17: Download complete [2023-04-25T10:26:38.071Z] 5eb5b503b376: Verifying Checksum [2023-04-25T10:26:38.071Z] 5eb5b503b376: Download complete [2023-04-25T10:26:38.638Z] 2f39f015ded8: Download complete [2023-04-25T10:26:39.231Z] 5eb5b503b376: Pull complete [2023-04-25T10:26:39.231Z] 5c69ac0246d0: Pull complete [2023-04-25T10:26:39.798Z] ec43610c2a17: Pull complete [2023-04-25T10:26:39.798Z] 3a2ae6a8a46f: Pull complete [2023-04-25T10:26:40.056Z] 33b1e0a273af: Pull complete [2023-04-25T10:26:40.056Z] 5d3b04190fa2: Pull complete [2023-04-25T10:26:44.237Z] 2f39f015ded8: Pull complete [2023-04-25T10:26:44.237Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-25T10:26:44.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-25T10:26:44.237Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T10:26:44.311Z] prd-ubuntu20.04-docker-8c-8g-10807 does not seem to be running inside a container [2023-04-25T10:26:44.347Z] $ 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-04-25T10:26:47.996Z] $ docker top b74dafdf6219106dc2743046222b158b1c4791bba033d9fb33735b2ffcd0a5d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:26:48.357Z] ---> job-cost.sh [2023-04-25T10:26:48.357Z] lf-activate-venv: SKIPPING [2023-04-25T10:26:48.357Z] INFO: No Stack... [2023-04-25T10:26:48.615Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-25T10:26:49.183Z] INFO: Archiving Costs [Pipeline] sh [2023-04-25T10:26:49.472Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2023-04-25T10:26:49.472Z] + cut -d, -f6 [Pipeline] lock [2023-04-25T10:26:49.485Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-127-stack-cost] [2023-04-25T10:26:49.491Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-127-stack-cost] did not exist. Created. [2023-04-25T10:26:49.491Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-127-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-25T10:26:49.793Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-25T10:26:49.825Z] Stashed 1 file(s) [Pipeline] } [2023-04-25T10:26:49.836Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-127-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-25T10:26:49.860Z] $ docker stop --time=1 b74dafdf6219106dc2743046222b158b1c4791bba033d9fb33735b2ffcd0a5d8 [2023-04-25T10:26:51.011Z] $ docker rm -f --volumes b74dafdf6219106dc2743046222b158b1c4791bba033d9fb33735b2ffcd0a5d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-25T10:27:48.790Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10808 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2023-04-25T10:27:48.802Z] Running in /w/workspace/device-onvif-camera/127 [Pipeline] { [Pipeline] checkout [2023-04-25T10:27:48.845Z] The recommended git tool is: git [2023-04-25T10:27:54.461Z] using credential edgex-jenkins-ssh [2023-04-25T10:27:54.478Z] Cloning the remote Git repository [2023-04-25T10:27:54.523Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-25T10:27:54.618Z] > git init /w/workspace/device-onvif-camera/127 # timeout=10 [2023-04-25T10:27:54.757Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-25T10:27:54.759Z] > git --version # timeout=10 [2023-04-25T10:27:54.778Z] > git --version # 'git version 2.25.1' [2023-04-25T10:27:54.780Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-25T10:27:54.933Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-25T10:27:57.433Z] Avoid second fetch [2023-04-25T10:27:57.433Z] Checking out Revision e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 (main) [2023-04-25T10:27:56.431Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-25T10:27:56.452Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-25T10:27:57.457Z] > git config core.sparsecheckout # timeout=10 [2023-04-25T10:27:57.545Z] > git checkout -f e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 # timeout=10 [2023-04-25T10:27:58.251Z] Commit message: "build(snap): Upgrade snap base to core22, remove deprecated plug (#323)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-25T10:27:59.288Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-25T10:27:59.288Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-25T10:27:59.288Z] Dload Upload Total Spent Left Speed [2023-04-25T10:27:59.288Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh [2023-04-25T10:27:59.936Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-25T10:28:00.275Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-25T10:28:00.275Z] + sudo tee /etc/docker/daemon.new [2023-04-25T10:28:00.275Z] { [2023-04-25T10:28:00.275Z] "registry-mirrors": [ [2023-04-25T10:28:00.275Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-25T10:28:00.275Z] ], [2023-04-25T10:28:00.275Z] "bip": "10.250.0.254/24", [2023-04-25T10:28:00.275Z] "hosts": [ [2023-04-25T10:28:00.275Z] "tcp://0.0.0.0:5555", [2023-04-25T10:28:00.275Z] "unix:///var/run/docker.sock" [2023-04-25T10:28:00.275Z] ], [2023-04-25T10:28:00.275Z] "mtu": 1458, [2023-04-25T10:28:00.275Z] "selinux-enabled": true, [2023-04-25T10:28:00.275Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-25T10:28:00.275Z] } [Pipeline] sh [2023-04-25T10:28:00.618Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-25T10:28:00.961Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-25T10:28:19.262Z] provisioning config files... [2023-04-25T10:28:19.290Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/127@tmp/config4864877474560656988tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:28:19.660Z] ---> docker-login.sh [2023-04-25T10:28:19.660Z] nexus3.edgexfoundry.org:10001 [2023-04-25T10:28:20.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:28:20.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:28:20.250Z] Configure a credential helper to remove this warning. See [2023-04-25T10:28:20.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:28:20.250Z] [2023-04-25T10:28:20.250Z] Login Succeeded [2023-04-25T10:28:20.522Z] nexus3.edgexfoundry.org:10002 [2023-04-25T10:28:20.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:28:20.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:28:20.797Z] Configure a credential helper to remove this warning. See [2023-04-25T10:28:20.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:28:20.797Z] [2023-04-25T10:28:20.797Z] Login Succeeded [2023-04-25T10:28:20.797Z] nexus3.edgexfoundry.org:10003 [2023-04-25T10:28:21.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:28:21.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:28:21.068Z] Configure a credential helper to remove this warning. See [2023-04-25T10:28:21.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:28:21.068Z] [2023-04-25T10:28:21.068Z] Login Succeeded [2023-04-25T10:28:21.068Z] nexus3.edgexfoundry.org:10004 [2023-04-25T10:28:21.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:28:21.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:28:21.614Z] Configure a credential helper to remove this warning. See [2023-04-25T10:28:21.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:28:21.614Z] [2023-04-25T10:28:21.614Z] Login Succeeded [2023-04-25T10:28:21.614Z] docker.io [2023-04-25T10:28:21.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:28:22.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:28:22.156Z] Configure a credential helper to remove this warning. See [2023-04-25T10:28:22.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:28:22.156Z] [2023-04-25T10:28:22.156Z] Login Succeeded [2023-04-25T10:28:22.156Z] ---> docker-login.sh ends [Pipeline] } [2023-04-25T10:28:22.172Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-25T10:28:22.455Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T10:28:22.468Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T10:28:22.480Z] ========================================================= [2023-04-25T10:28:22.480Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-25T10:28:22.480Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:28:22.844Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-25T10:28:23.435Z] Sending build context to Docker daemon 19.67MB [2023-04-25T10:28:23.435Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-25T10:28:23.435Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-25T10:28:23.435Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-25T10:28:23.710Z] c41833b44d91: Pulling fs layer [2023-04-25T10:28:23.710Z] ed15518f5707: Pulling fs layer [2023-04-25T10:28:23.710Z] feae8fd75edb: Pulling fs layer [2023-04-25T10:28:23.710Z] 242c74f7c9fa: Pulling fs layer [2023-04-25T10:28:23.710Z] 3cdef696dda3: Pulling fs layer [2023-04-25T10:28:23.710Z] 2ced38df9373: Pulling fs layer [2023-04-25T10:28:23.710Z] 58f1dce35555: Pulling fs layer [2023-04-25T10:28:23.710Z] 242c74f7c9fa: Waiting [2023-04-25T10:28:23.710Z] 3cdef696dda3: Waiting [2023-04-25T10:28:23.710Z] 2ced38df9373: Waiting [2023-04-25T10:28:23.710Z] 58f1dce35555: Waiting [2023-04-25T10:28:23.710Z] ed15518f5707: Verifying Checksum [2023-04-25T10:28:23.710Z] ed15518f5707: Download complete [2023-04-25T10:28:23.710Z] 242c74f7c9fa: Verifying Checksum [2023-04-25T10:28:23.710Z] 242c74f7c9fa: Download complete [2023-04-25T10:28:23.710Z] 3cdef696dda3: Verifying Checksum [2023-04-25T10:28:23.710Z] 3cdef696dda3: Download complete [2023-04-25T10:28:23.710Z] c41833b44d91: Download complete [2023-04-25T10:28:24.683Z] c41833b44d91: Pull complete [2023-04-25T10:28:25.303Z] 58f1dce35555: Verifying Checksum [2023-04-25T10:28:25.303Z] 58f1dce35555: Download complete [2023-04-25T10:28:26.284Z] feae8fd75edb: Verifying Checksum [2023-04-25T10:28:26.284Z] feae8fd75edb: Download complete [2023-04-25T10:28:26.284Z] 2ced38df9373: Verifying Checksum [2023-04-25T10:28:27.702Z] ed15518f5707: Pull complete [2023-04-25T10:28:42.740Z] feae8fd75edb: Pull complete [2023-04-25T10:28:42.740Z] 242c74f7c9fa: Pull complete [2023-04-25T10:28:42.740Z] 3cdef696dda3: Pull complete [2023-04-25T10:28:49.434Z] 2ced38df9373: Pull complete [2023-04-25T10:28:52.027Z] 58f1dce35555: Pull complete [2023-04-25T10:28:52.027Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-04-25T10:28:52.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-25T10:28:52.027Z] ---> fadd8f120f05 [2023-04-25T10:28:52.027Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-25T10:28:53.997Z] ---> Running in de9f8453706d [2023-04-25T10:28:55.948Z] Removing intermediate container de9f8453706d [2023-04-25T10:28:55.948Z] ---> 00c75d7eb236 [2023-04-25T10:28:55.948Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-25T10:28:55.948Z] ---> Running in 3d537a4016f5 [2023-04-25T10:28:55.948Z] Removing intermediate container 3d537a4016f5 [2023-04-25T10:28:55.948Z] ---> 8a0c7e47e172 [2023-04-25T10:28:55.948Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-25T10:28:55.948Z] ---> Running in b9387e447f41 [2023-04-25T10:28:56.592Z] Removing intermediate container b9387e447f41 [2023-04-25T10:28:56.592Z] ---> 4cc5f222128e [2023-04-25T10:28:56.592Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-25T10:28:56.592Z] ---> Running in 1ed9c26cab82 [2023-04-25T10:28:56.869Z] Removing intermediate container 1ed9c26cab82 [2023-04-25T10:28:56.869Z] ---> 7f9cd25a41fd [2023-04-25T10:28:56.869Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-25T10:28:56.869Z] ---> Running in 308e579982fa [2023-04-25T10:28:57.140Z] Removing intermediate container 308e579982fa [2023-04-25T10:28:57.140Z] ---> ed446ffb2e0f [2023-04-25T10:28:57.140Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-25T10:28:57.419Z] ---> Running in 1fb372622c67 [2023-04-25T10:28:58.398Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-25T10:28:59.363Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-25T10:29:00.329Z] OK: 263 MiB in 53 packages [2023-04-25T10:29:01.309Z] Removing intermediate container 1fb372622c67 [2023-04-25T10:29:01.309Z] ---> ae4362b63372 [2023-04-25T10:29:01.309Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-25T10:29:01.309Z] ---> Running in f7693fb9b86c [2023-04-25T10:29:01.579Z] Removing intermediate container f7693fb9b86c [2023-04-25T10:29:01.579Z] ---> 4daf2044bf2d [2023-04-25T10:29:01.579Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-25T10:29:02.166Z] ---> f9899ff2e715 [2023-04-25T10:29:02.166Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-25T10:29:02.166Z] ---> Running in f97fc85e9c48 [2023-04-25T10:30:23.827Z] Removing intermediate container f97fc85e9c48 [2023-04-25T10:30:23.827Z] ---> 9fa5808c477d [2023-04-25T10:30:23.827Z] Step 12/13 : COPY . . [2023-04-25T10:30:24.415Z] ---> 9919bf0bb1c3 [2023-04-25T10:30:24.415Z] Step 13/13 : RUN ${MAKE} [2023-04-25T10:30:24.415Z] ---> Running in 836aebb158e8 [2023-04-25T10:30:25.385Z] noop [2023-04-25T10:30:26.358Z] Removing intermediate container 836aebb158e8 [2023-04-25T10:30:26.358Z] ---> c934e6f46ad6 [2023-04-25T10:30:26.358Z] Successfully built c934e6f46ad6 [2023-04-25T10:30:26.358Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:30:26.709Z] + docker inspect -f . ci-base-image-arm64 [2023-04-25T10:30:26.709Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T10:30:26.924Z] prd-ubuntu20.04-docker-arm64-4c-16g-10808 does not seem to be running inside a container [2023-04-25T10:30:27.009Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/127 -v /w/workspace/device-onvif-camera/127:/w/workspace/device-onvif-camera/127:rw,z -v /w/workspace/device-onvif-camera/127@tmp:/w/workspace/device-onvif-camera/127@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-04-25T10:30:29.857Z] $ docker top fc66f89796bab19eea7e3623cc0e944fd3dd429373fb86a4257f6c268fe27211 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T10:30:30.696Z] + go version [2023-04-25T10:30:30.696Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-25T10:30:30.722Z] $ docker stop --time=1 fc66f89796bab19eea7e3623cc0e944fd3dd429373fb86a4257f6c268fe27211 [2023-04-25T10:30:32.400Z] $ docker rm -f --volumes fc66f89796bab19eea7e3623cc0e944fd3dd429373fb86a4257f6c268fe27211 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:30:32.944Z] + docker inspect -f . ci-base-image-arm64 [2023-04-25T10:30:32.944Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T10:30:33.132Z] prd-ubuntu20.04-docker-arm64-4c-16g-10808 does not seem to be running inside a container [2023-04-25T10:30:33.219Z] $ 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/127 -v /w/workspace/device-onvif-camera/127:/w/workspace/device-onvif-camera/127:rw,z -v /w/workspace/device-onvif-camera/127@tmp:/w/workspace/device-onvif-camera/127@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-04-25T10:30:34.501Z] $ docker top 339c6da66ef74ab3c82a2b55b1ca96d13142efd6da7ed02a7c0c5e9799ddcc2f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T10:30:35.341Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/127 [Pipeline] fileExists [Pipeline] sh [2023-04-25T10:30:35.999Z] + make test [2023-04-25T10:30:35.999Z] go test ./... -coverprofile=coverage.out ./... [2023-04-25T10:31:14.897Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-25T10:33:36.639Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-25T10:33:38.050Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-25T10:33:40.003Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.180s coverage: 31.6% of statements [2023-04-25T10:33:58.206Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 19.779s coverage: 86.5% of statements [2023-04-25T10:33:58.476Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-25T10:33:58.476Z] go vet ./... [2023-04-25T10:34:25.166Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-25T10:34:25.166Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-25T10:34:25.166Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-25T10:34:25.183Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-25T10:34:25.204Z] $ docker stop --time=1 339c6da66ef74ab3c82a2b55b1ca96d13142efd6da7ed02a7c0c5e9799ddcc2f [2023-04-25T10:34:26.976Z] $ docker rm -f --volumes 339c6da66ef74ab3c82a2b55b1ca96d13142efd6da7ed02a7c0c5e9799ddcc2f [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-25T10:34:28.092Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-25T10:34:28.112Z] Warning: overwriting stash ‘coverage-report’ [2023-04-25T10:34:28.807Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-25T10:34:29.202Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-25T10:34:29.520Z] + ls -al . [2023-04-25T10:34:29.520Z] total 232 [2023-04-25T10:34:29.520Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 10:30 . [2023-04-25T10:34:29.521Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 10:27 .. [2023-04-25T10:34:29.521Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 10:27 .git [2023-04-25T10:34:29.521Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 10:27 .github [2023-04-25T10:34:29.521Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 25 10:27 .gitignore [2023-04-25T10:34:29.521Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 25 10:27 .golangci.yml [2023-04-25T10:34:29.521Z] -rw-rw-r-- 1 jenkins jenkins 9861 Apr 25 10:27 Attribution.txt [2023-04-25T10:34:29.521Z] -rw-rw-r-- 1 jenkins jenkins 6312 Apr 25 10:27 CHANGELOG.md [2023-04-25T10:34:29.521Z] -rw-rw-r-- 1 jenkins jenkins 1574 Apr 25 10:27 Dockerfile [2023-04-25T10:34:29.521Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 10:27 GOVERNANCE.md [2023-04-25T10:34:29.521Z] -rw-rw-r-- 1 jenkins jenkins 734 Apr 25 10:27 Jenkinsfile [2023-04-25T10:34:29.521Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 25 10:27 LICENSE [2023-04-25T10:34:29.521Z] -rw-rw-r-- 1 jenkins jenkins 2751 Apr 25 10:27 Makefile [2023-04-25T10:34:29.521Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 25 10:27 OWNERS.md [2023-04-25T10:34:29.521Z] -rw-rw-r-- 1 jenkins jenkins 6250 Apr 25 10:27 README.md [2023-04-25T10:34:29.521Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 25 10:24 VERSION [2023-04-25T10:34:29.521Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 10:27 bin [2023-04-25T10:34:29.521Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 10:27 cmd [2023-04-25T10:34:29.521Z] -rw-r--r-- 1 jenkins jenkins 78922 Apr 25 10:33 coverage.out [2023-04-25T10:34:29.521Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 25 10:27 doc [2023-04-25T10:34:29.521Z] -rw-rw-r-- 1 jenkins jenkins 3557 Apr 25 10:27 go.mod [2023-04-25T10:34:29.521Z] -rw-rw-r-- 1 jenkins jenkins 32947 Apr 25 10:27 go.sum [2023-04-25T10:34:29.521Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 10:27 internal [2023-04-25T10:34:29.521Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 10:27 snap [2023-04-25T10:34:29.521Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 25 10:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:34:29.858Z] + 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=e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 --label arch=arm64 --label version=3.0.0-dev.32 . [2023-04-25T10:34:30.443Z] Sending build context to Docker daemon 19.75MB [2023-04-25T10:34:30.443Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-04-25T10:34:30.443Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-25T10:34:30.443Z] ---> c934e6f46ad6 [2023-04-25T10:34:30.443Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-25T10:34:30.443Z] ---> Running in 8c7f28b05fe5 [2023-04-25T10:34:30.711Z] Removing intermediate container 8c7f28b05fe5 [2023-04-25T10:34:30.711Z] ---> 697ea196c33f [2023-04-25T10:34:30.711Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-25T10:34:30.978Z] ---> Running in c93b30508791 [2023-04-25T10:34:31.246Z] Removing intermediate container c93b30508791 [2023-04-25T10:34:31.246Z] ---> 15e66081f339 [2023-04-25T10:34:31.246Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-04-25T10:34:31.246Z] ---> Running in 31df452094b4 [2023-04-25T10:34:31.513Z] Removing intermediate container 31df452094b4 [2023-04-25T10:34:31.513Z] ---> 89ea044653b4 [2023-04-25T10:34:31.513Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-25T10:34:31.513Z] ---> Running in aa0e5d772cd7 [2023-04-25T10:34:31.783Z] Removing intermediate container aa0e5d772cd7 [2023-04-25T10:34:31.783Z] ---> c5990c4e2b7d [2023-04-25T10:34:31.783Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-25T10:34:32.052Z] ---> Running in 3727f7d35f41 [2023-04-25T10:34:32.321Z] Removing intermediate container 3727f7d35f41 [2023-04-25T10:34:32.321Z] ---> 29f9c0cb926b [2023-04-25T10:34:32.321Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-25T10:34:32.321Z] ---> Running in 529e1693a822 [2023-04-25T10:34:33.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-25T10:34:33.862Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-25T10:34:34.821Z] OK: 263 MiB in 53 packages [2023-04-25T10:34:35.787Z] Removing intermediate container 529e1693a822 [2023-04-25T10:34:35.787Z] ---> 4668f300e19b [2023-04-25T10:34:35.787Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-25T10:34:35.787Z] ---> Running in f0b588e71835 [2023-04-25T10:34:36.055Z] Removing intermediate container f0b588e71835 [2023-04-25T10:34:36.055Z] ---> d06b47060906 [2023-04-25T10:34:36.055Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-25T10:34:36.323Z] ---> a983d0a133af [2023-04-25T10:34:36.323Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-25T10:34:36.593Z] ---> Running in 4f3286456cf8 [2023-04-25T10:34:39.177Z] Removing intermediate container 4f3286456cf8 [2023-04-25T10:34:39.177Z] ---> 6297f41f8d7d [2023-04-25T10:34:39.177Z] Step 12/26 : COPY . . [2023-04-25T10:34:40.588Z] ---> 7de1cafecab4 [2023-04-25T10:34:40.588Z] Step 13/26 : RUN ${MAKE} [2023-04-25T10:34:40.588Z] ---> Running in 1c327d368018 [2023-04-25T10:34:41.550Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.32" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-04-25T10:37:03.234Z] Removing intermediate container 1c327d368018 [2023-04-25T10:37:03.234Z] ---> cd89be169036 [2023-04-25T10:37:03.234Z] Step 14/26 : FROM alpine:3.17 [2023-04-25T10:37:03.234Z] 3.17: Pulling from library/alpine [2023-04-25T10:37:03.234Z] c41833b44d91: Already exists [2023-04-25T10:37:03.234Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-25T10:37:03.234Z] Status: Downloaded newer image for alpine:3.17 [2023-04-25T10:37:03.234Z] ---> 51e60588ff2c [2023-04-25T10:37:03.234Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-25T10:37:03.234Z] ---> Running in 4256f8b093e7 [2023-04-25T10:37:03.234Z] Removing intermediate container 4256f8b093e7 [2023-04-25T10:37:03.234Z] ---> 967d3f0aa631 [2023-04-25T10:37:03.234Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-04-25T10:37:03.234Z] ---> Running in f0de3499ba43 [2023-04-25T10:37:03.234Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-25T10:37:03.234Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-25T10:37:03.234Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-25T10:37:03.234Z] Executing busybox-1.35.0-r29.trigger [2023-04-25T10:37:03.234Z] OK: 8 MiB in 16 packages [2023-04-25T10:37:03.234Z] Removing intermediate container f0de3499ba43 [2023-04-25T10:37:03.234Z] ---> 9b4897f9be2c [2023-04-25T10:37:03.234Z] Step 17/26 : WORKDIR / [2023-04-25T10:37:03.234Z] ---> Running in f8c88856dd7f [2023-04-25T10:37:03.234Z] Removing intermediate container f8c88856dd7f [2023-04-25T10:37:03.234Z] ---> 601c62ac74dd [2023-04-25T10:37:03.234Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-25T10:37:03.234Z] ---> 5ccc66bef465 [2023-04-25T10:37:03.234Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-25T10:37:03.234Z] ---> 4f1317313107 [2023-04-25T10:37:03.234Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-25T10:37:03.234Z] ---> 0cd38f602076 [2023-04-25T10:37:03.234Z] Step 21/26 : EXPOSE 59984 [2023-04-25T10:37:03.234Z] ---> Running in bed1d91c408f [2023-04-25T10:37:03.234Z] Removing intermediate container bed1d91c408f [2023-04-25T10:37:03.234Z] ---> 4757bf82e640 [2023-04-25T10:37:03.234Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-25T10:37:03.234Z] ---> Running in fd92f0af0d21 [2023-04-25T10:37:03.234Z] Removing intermediate container fd92f0af0d21 [2023-04-25T10:37:03.234Z] ---> 3c0cd816aa22 [2023-04-25T10:37:03.234Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-25T10:37:03.234Z] ---> Running in 66643032f741 [2023-04-25T10:37:03.234Z] Removing intermediate container 66643032f741 [2023-04-25T10:37:03.234Z] ---> 9673af000107 [2023-04-25T10:37:03.234Z] Step 24/26 : LABEL arch=arm64 [2023-04-25T10:37:03.234Z] ---> Running in 51cfe946d160 [2023-04-25T10:37:03.234Z] Removing intermediate container 51cfe946d160 [2023-04-25T10:37:03.234Z] ---> 287e5ccc1751 [2023-04-25T10:37:03.234Z] Step 25/26 : LABEL git_sha=e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 [2023-04-25T10:37:03.234Z] ---> Running in f830b4d39c44 [2023-04-25T10:37:03.234Z] Removing intermediate container f830b4d39c44 [2023-04-25T10:37:03.234Z] ---> ed310e56cadf [2023-04-25T10:37:03.234Z] Step 26/26 : LABEL version=3.0.0-dev.32 [2023-04-25T10:37:03.234Z] ---> Running in 5d30bb3c8a93 [2023-04-25T10:37:03.234Z] Removing intermediate container 5d30bb3c8a93 [2023-04-25T10:37:03.234Z] ---> 8574535668df [2023-04-25T10:37:03.234Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-25T10:37:03.234Z] Successfully built 8574535668df [2023-04-25T10:37:03.234Z] 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-04-25T10:37:03.354Z] provisioning config files... [2023-04-25T10:37:03.368Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/127@tmp/config6254066258115974303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:37:03.703Z] ---> docker-login.sh [2023-04-25T10:37:03.703Z] nexus3.edgexfoundry.org:10001 [2023-04-25T10:37:03.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:37:04.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:37:04.050Z] Configure a credential helper to remove this warning. See [2023-04-25T10:37:04.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:37:04.050Z] [2023-04-25T10:37:04.050Z] Login Succeeded [2023-04-25T10:37:04.050Z] nexus3.edgexfoundry.org:10002 [2023-04-25T10:37:04.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:37:04.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:37:04.328Z] Configure a credential helper to remove this warning. See [2023-04-25T10:37:04.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:37:04.328Z] [2023-04-25T10:37:04.328Z] Login Succeeded [2023-04-25T10:37:04.328Z] nexus3.edgexfoundry.org:10003 [2023-04-25T10:37:04.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:37:04.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:37:04.597Z] Configure a credential helper to remove this warning. See [2023-04-25T10:37:04.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:37:04.597Z] [2023-04-25T10:37:04.597Z] Login Succeeded [2023-04-25T10:37:04.597Z] nexus3.edgexfoundry.org:10004 [2023-04-25T10:37:04.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:37:05.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:37:05.141Z] Configure a credential helper to remove this warning. See [2023-04-25T10:37:05.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:37:05.141Z] [2023-04-25T10:37:05.141Z] Login Succeeded [2023-04-25T10:37:05.141Z] docker.io [2023-04-25T10:37:05.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:37:05.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:37:05.691Z] Configure a credential helper to remove this warning. See [2023-04-25T10:37:05.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:37:05.691Z] [2023-04-25T10:37:05.691Z] Login Succeeded [2023-04-25T10:37:05.691Z] ---> docker-login.sh ends [Pipeline] } [2023-04-25T10:37:05.709Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-25T10:37:05.733Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T10:37:05.750Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2023-04-25T10:37:05.750Z] e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 [2023-04-25T10:37:05.750Z] latest [2023-04-25T10:37:05.750Z] 3.0.0-dev.32 [2023-04-25T10:37:05.750Z] e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0-3.0.0-dev.32 [2023-04-25T10:37:05.750Z] main [2023-04-25T10:37:05.750Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:37:06.107Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:37:06.467Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 [2023-04-25T10:37:06.468Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-04-25T10:37:06.468Z] 0f61454212b8: Preparing [2023-04-25T10:37:06.468Z] 1dc7e22d1b87: Preparing [2023-04-25T10:37:06.468Z] ddb5f8b8dc7a: Preparing [2023-04-25T10:37:06.468Z] 2ce71eaba31d: Preparing [2023-04-25T10:37:06.468Z] 26cbea5cba74: Preparing [2023-04-25T10:37:06.468Z] 26cbea5cba74: Layer already exists [2023-04-25T10:37:06.734Z] 0f61454212b8: Pushed [2023-04-25T10:37:06.734Z] 1dc7e22d1b87: Pushed [2023-04-25T10:37:06.734Z] 2ce71eaba31d: Pushed [2023-04-25T10:37:13.374Z] ddb5f8b8dc7a: Pushed [2023-04-25T10:37:13.374Z] e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0: digest: sha256:7b7cf3595ce740b78f8677be976b1bd95c192df8d6aaf8408adf409c6b03d067 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:37:13.718Z] + 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-04-25T10:37:14.057Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2023-04-25T10:37:14.057Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-04-25T10:37:14.057Z] 0f61454212b8: Preparing [2023-04-25T10:37:14.057Z] 1dc7e22d1b87: Preparing [2023-04-25T10:37:14.057Z] ddb5f8b8dc7a: Preparing [2023-04-25T10:37:14.057Z] 2ce71eaba31d: Preparing [2023-04-25T10:37:14.057Z] 26cbea5cba74: Preparing [2023-04-25T10:37:14.057Z] 1dc7e22d1b87: Layer already exists [2023-04-25T10:37:14.057Z] ddb5f8b8dc7a: Layer already exists [2023-04-25T10:37:14.057Z] 2ce71eaba31d: Layer already exists [2023-04-25T10:37:14.057Z] 0f61454212b8: Layer already exists [2023-04-25T10:37:14.057Z] 26cbea5cba74: Layer already exists [2023-04-25T10:37:14.057Z] latest: digest: sha256:7b7cf3595ce740b78f8677be976b1bd95c192df8d6aaf8408adf409c6b03d067 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:37:14.397Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:37:14.745Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.32 [2023-04-25T10:37:14.745Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-04-25T10:37:14.745Z] 0f61454212b8: Preparing [2023-04-25T10:37:14.745Z] 1dc7e22d1b87: Preparing [2023-04-25T10:37:14.745Z] ddb5f8b8dc7a: Preparing [2023-04-25T10:37:14.745Z] 2ce71eaba31d: Preparing [2023-04-25T10:37:14.745Z] 26cbea5cba74: Preparing [2023-04-25T10:37:14.745Z] 2ce71eaba31d: Layer already exists [2023-04-25T10:37:14.745Z] 1dc7e22d1b87: Layer already exists [2023-04-25T10:37:14.745Z] ddb5f8b8dc7a: Layer already exists [2023-04-25T10:37:14.745Z] 26cbea5cba74: Layer already exists [2023-04-25T10:37:14.745Z] 0f61454212b8: Layer already exists [2023-04-25T10:37:14.745Z] 3.0.0-dev.32: digest: sha256:7b7cf3595ce740b78f8677be976b1bd95c192df8d6aaf8408adf409c6b03d067 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:37:15.081Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0-3.0.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:37:15.413Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0-3.0.0-dev.32 [2023-04-25T10:37:15.413Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-04-25T10:37:15.413Z] 0f61454212b8: Preparing [2023-04-25T10:37:15.413Z] 1dc7e22d1b87: Preparing [2023-04-25T10:37:15.413Z] ddb5f8b8dc7a: Preparing [2023-04-25T10:37:15.413Z] 2ce71eaba31d: Preparing [2023-04-25T10:37:15.413Z] 26cbea5cba74: Preparing [2023-04-25T10:37:15.413Z] 0f61454212b8: Layer already exists [2023-04-25T10:37:15.413Z] ddb5f8b8dc7a: Layer already exists [2023-04-25T10:37:15.413Z] 2ce71eaba31d: Layer already exists [2023-04-25T10:37:15.413Z] 1dc7e22d1b87: Layer already exists [2023-04-25T10:37:15.413Z] 26cbea5cba74: Layer already exists [2023-04-25T10:37:15.413Z] e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0-3.0.0-dev.32: digest: sha256:7b7cf3595ce740b78f8677be976b1bd95c192df8d6aaf8408adf409c6b03d067 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:37:15.753Z] + 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-04-25T10:37:16.082Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2023-04-25T10:37:16.082Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-04-25T10:37:16.082Z] 0f61454212b8: Preparing [2023-04-25T10:37:16.082Z] 1dc7e22d1b87: Preparing [2023-04-25T10:37:16.082Z] ddb5f8b8dc7a: Preparing [2023-04-25T10:37:16.082Z] 2ce71eaba31d: Preparing [2023-04-25T10:37:16.082Z] 26cbea5cba74: Preparing [2023-04-25T10:37:16.082Z] 1dc7e22d1b87: Layer already exists [2023-04-25T10:37:16.082Z] 2ce71eaba31d: Layer already exists [2023-04-25T10:37:16.082Z] 26cbea5cba74: Layer already exists [2023-04-25T10:37:16.082Z] 0f61454212b8: Layer already exists [2023-04-25T10:37:16.082Z] ddb5f8b8dc7a: Layer already exists [2023-04-25T10:37:16.082Z] main: digest: sha256:7b7cf3595ce740b78f8677be976b1bd95c192df8d6aaf8408adf409c6b03d067 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-25T10:37:16.130Z] ===================================================== [Pipeline] echo [2023-04-25T10:37:16.136Z] taggedImages: [2023-04-25T10:37:16.136Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 [2023-04-25T10:37:16.136Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2023-04-25T10:37:16.136Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.32 [2023-04-25T10:37:16.136Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0-3.0.0-dev.32 [2023-04-25T10:37:16.136Z] - 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-04-25T10:37:16.481Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-25T10:37:16.481Z] [2023-04-25T10:37:16.481Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:37:16.806Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-25T10:37:16.806Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-25T10:37:16.806Z] 8998bd30e6a1: Pulling fs layer [2023-04-25T10:37:16.806Z] 04944245beec: Pulling fs layer [2023-04-25T10:37:16.806Z] 699f458cf7ca: Pulling fs layer [2023-04-25T10:37:16.806Z] 765212b225bb: Pulling fs layer [2023-04-25T10:37:16.806Z] f23df028b6ca: Pulling fs layer [2023-04-25T10:37:16.806Z] d65c8cfc05b1: Pulling fs layer [2023-04-25T10:37:16.806Z] 2437ff75d9bd: Pulling fs layer [2023-04-25T10:37:16.806Z] f23df028b6ca: Waiting [2023-04-25T10:37:16.806Z] d65c8cfc05b1: Waiting [2023-04-25T10:37:16.806Z] 2437ff75d9bd: Waiting [2023-04-25T10:37:16.806Z] 765212b225bb: Waiting [2023-04-25T10:37:17.073Z] 04944245beec: Verifying Checksum [2023-04-25T10:37:17.073Z] 04944245beec: Download complete [2023-04-25T10:37:17.073Z] 765212b225bb: Verifying Checksum [2023-04-25T10:37:17.073Z] 765212b225bb: Download complete [2023-04-25T10:37:17.073Z] f23df028b6ca: Verifying Checksum [2023-04-25T10:37:17.073Z] f23df028b6ca: Download complete [2023-04-25T10:37:17.073Z] d65c8cfc05b1: Verifying Checksum [2023-04-25T10:37:17.073Z] d65c8cfc05b1: Download complete [2023-04-25T10:37:17.073Z] 699f458cf7ca: Verifying Checksum [2023-04-25T10:37:17.073Z] 699f458cf7ca: Download complete [2023-04-25T10:37:17.656Z] 8998bd30e6a1: Download complete [2023-04-25T10:37:19.594Z] 2437ff75d9bd: Download complete [2023-04-25T10:37:21.553Z] 8998bd30e6a1: Pull complete [2023-04-25T10:37:21.818Z] 04944245beec: Pull complete [2023-04-25T10:37:25.158Z] 699f458cf7ca: Pull complete [2023-04-25T10:37:25.158Z] 765212b225bb: Pull complete [2023-04-25T10:37:25.741Z] f23df028b6ca: Pull complete [2023-04-25T10:37:26.006Z] d65c8cfc05b1: Pull complete [2023-04-25T10:37:41.005Z] 2437ff75d9bd: Pull complete [2023-04-25T10:37:41.005Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-25T10:37:41.005Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-25T10:37:41.005Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T10:37:41.200Z] prd-ubuntu20.04-docker-arm64-4c-16g-10808 does not seem to be running inside a container [2023-04-25T10:37:41.271Z] $ 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/127 -v /w/workspace/device-onvif-camera/127:/w/workspace/device-onvif-camera/127:rw,z -v /w/workspace/device-onvif-camera/127@tmp:/w/workspace/device-onvif-camera/127@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-04-25T10:37:43.847Z] $ docker top ac840a02452086a635ba7329d0333c46366c79cbea5b2aa49003f80fb1bc05eb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:37:44.679Z] ---> job-cost.sh [2023-04-25T10:37:44.679Z] lf-activate-venv: SKIPPING [2023-04-25T10:37:44.679Z] INFO: No Stack... [2023-04-25T10:37:44.945Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-25T10:37:45.898Z] INFO: Archiving Costs [Pipeline] sh [2023-04-25T10:37:46.531Z] + cat /w/workspace/device-onvif-camera/127/archives/cost.csv [2023-04-25T10:37:46.531Z] + cut -d, -f6 [Pipeline] lock [2023-04-25T10:37:46.583Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-127-stack-cost] [2023-04-25T10:37:46.590Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-127-stack-cost] did not exist. Created. [2023-04-25T10:37:46.590Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-127-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-25T10:37:46.928Z] /w/workspace/device-onvif-camera/127@tmp/durable-e0875d86/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-25T10:37:47.272Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-25T10:37:47.297Z] Warning: overwriting stash ‘stack-cost’ [2023-04-25T10:37:47.359Z] Stashed 1 file(s) [Pipeline] } [2023-04-25T10:37:47.369Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-127-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-25T10:37:47.397Z] $ docker stop --time=1 ac840a02452086a635ba7329d0333c46366c79cbea5b2aa49003f80fb1bc05eb [2023-04-25T10:37:48.856Z] $ docker rm -f --volumes ac840a02452086a635ba7329d0333c46366c79cbea5b2aa49003f80fb1bc05eb [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-04-25T10:37:49.285Z] provisioning config files... [2023-04-25T10:37:49.292Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3511347727317012322tmp [Pipeline] { [Pipeline] sh [2023-04-25T10:37:49.587Z] + set +x [2023-04-25T10:37:49.587Z] + curl -s https://codecov.io/bash [2023-04-25T10:37:49.587Z] + bash -s -- [2023-04-25T10:37:49.587Z] [2023-04-25T10:37:49.587Z] _____ _ [2023-04-25T10:37:49.587Z] / ____| | | [2023-04-25T10:37:49.587Z] | | ___ __| | ___ ___ _____ __ [2023-04-25T10:37:49.587Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-25T10:37:49.587Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-25T10:37:49.587Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-25T10:37:49.587Z] Bash-1.0.6 [2023-04-25T10:37:49.587Z] [2023-04-25T10:37:49.587Z] [2023-04-25T10:37:49.587Z] ==> git version 2.25.1 found [2023-04-25T10:37:49.587Z] ==> 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-04-25T10:37:49.587Z] Release-Date: 2020-01-08 [2023-04-25T10:37:49.587Z] 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-04-25T10:37:49.587Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-25T10:37:49.588Z] ==> Jenkins CI detected. [2023-04-25T10:37:49.588Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2023-04-25T10:37:49.588Z] project root: . [2023-04-25T10:37:49.588Z] --> token set from env [2023-04-25T10:37:49.588Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-25T10:37:49.588Z] ==> Running gcov in . (disable via -X gcov) [2023-04-25T10:37:49.588Z] ==> Python coveragepy not found [2023-04-25T10:37:49.588Z] ==> Searching for coverage reports in: [2023-04-25T10:37:49.588Z] + . [2023-04-25T10:37:49.588Z] -> Found 1 reports [2023-04-25T10:37:49.588Z] ==> Detecting git/mercurial file structure [2023-04-25T10:37:49.588Z] ==> Reading reports [2023-04-25T10:37:49.588Z] + ./coverage.out bytes=78922 [2023-04-25T10:37:49.588Z] ==> Appending adjustments [2023-04-25T10:37:49.588Z] https://docs.codecov.io/docs/fixing-reports [2023-04-25T10:37:49.846Z] + Found adjustments [2023-04-25T10:37:49.846Z] ==> Gzipping contents [2023-04-25T10:37:49.846Z] 12K /tmp/codecov.8TGzlG.gz [2023-04-25T10:37:49.846Z] ==> Uploading reports [2023-04-25T10:37:49.846Z] url: https://codecov.io [2023-04-25T10:37:49.846Z] query: branch=main&commit=e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0&build=127&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F127%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-25T10:37:49.846Z] -> Pinging Codecov [2023-04-25T10:37:49.846Z] 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=e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0&build=127&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F127%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-25T10:37:50.107Z] -> Uploading to [2023-04-25T10:37:50.107Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-25/F29A59C45E3A92E06B3E522C9905F8EF/e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0/0ab9a43e-9e27-4592-9899-fc899cba8cf4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230425T103749Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=33e8037a490fb100699a536646387cba51aa0f6aa7973130ae5d87254f73b478 [2023-04-25T10:37:50.107Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-25T10:37:50.107Z] Dload Upload Total Spent Left Speed [2023-04-25T10:37:50.366Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10501 0 0 100 10501 0 41505 --:--:-- --:--:-- --:--:-- 41505 [2023-04-25T10:37:50.367Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 [Pipeline] } [2023-04-25T10:37:50.373Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-04-25T10:37:50.477Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-04-25T10:37:50.489Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:37:50.785Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-25T10:37:50.785Z] [2023-04-25T10:37:50.785Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:37:51.081Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-25T10:37:51.081Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-04-25T10:37:51.081Z] df9b9388f04a: Pulling fs layer [2023-04-25T10:37:51.081Z] 52dc419b0ee2: Pulling fs layer [2023-04-25T10:37:51.081Z] 25bc292e5bac: Pulling fs layer [2023-04-25T10:37:51.081Z] 114826534d7a: Pulling fs layer [2023-04-25T10:37:51.081Z] 4657fd5d0bcf: Pulling fs layer [2023-04-25T10:37:51.081Z] 6ad1cebc031e: Pulling fs layer [2023-04-25T10:37:51.081Z] 8a3aa393b2d8: Pulling fs layer [2023-04-25T10:37:51.081Z] 4657fd5d0bcf: Waiting [2023-04-25T10:37:51.081Z] 6ad1cebc031e: Waiting [2023-04-25T10:37:51.081Z] 8a3aa393b2d8: Waiting [2023-04-25T10:37:51.081Z] 114826534d7a: Waiting [2023-04-25T10:37:51.081Z] 25bc292e5bac: Verifying Checksum [2023-04-25T10:37:51.081Z] 25bc292e5bac: Download complete [2023-04-25T10:37:51.081Z] 52dc419b0ee2: Download complete [2023-04-25T10:37:51.081Z] 4657fd5d0bcf: Download complete [2023-04-25T10:37:51.081Z] df9b9388f04a: Download complete [2023-04-25T10:37:51.341Z] 6ad1cebc031e: Verifying Checksum [2023-04-25T10:37:51.341Z] 6ad1cebc031e: Download complete [2023-04-25T10:37:51.341Z] df9b9388f04a: Pull complete [2023-04-25T10:37:51.341Z] 52dc419b0ee2: Pull complete [2023-04-25T10:37:51.341Z] 25bc292e5bac: Pull complete [2023-04-25T10:37:51.908Z] 114826534d7a: Verifying Checksum [2023-04-25T10:37:51.908Z] 114826534d7a: Download complete [2023-04-25T10:37:51.908Z] 8a3aa393b2d8: Verifying Checksum [2023-04-25T10:37:51.908Z] 8a3aa393b2d8: Download complete [2023-04-25T10:37:55.188Z] 114826534d7a: Pull complete [2023-04-25T10:37:55.188Z] 4657fd5d0bcf: Pull complete [2023-04-25T10:37:55.446Z] 6ad1cebc031e: Pull complete [2023-04-25T10:37:57.976Z] 8a3aa393b2d8: Pull complete [2023-04-25T10:37:57.976Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-04-25T10:37:57.976Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-25T10:37:57.976Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T10:37:58.051Z] prd-ubuntu20.04-docker-8c-8g-10807 does not seem to be running inside a container [2023-04-25T10:37:58.096Z] $ 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-04-25T10:38:02.057Z] $ docker top 6450b1ade0c53658b59b98c92d545d04f021ffa3c4c7763c6d2cd7b2d1b97f66 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-04-25T10:38:02.112Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2023-04-25T10:38:02.389Z] + set -o pipefail [2023-04-25T10:38:02.389Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2023-04-25T10:38:06.580Z] [2023-04-25T10:38:06.580Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2023-04-25T10:38:06.580Z] [2023-04-25T10:38:06.580Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/2b750571-27c9-4496-aeb3-0946b155045d [2023-04-25T10:38:06.580Z] [2023-04-25T10:38:06.580Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-04-25T10:38:06.580Z] [2023-04-25T10:38:06.580Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-04-25T10:38:06.580Z] [2023-04-25T10:38:06.580Z] [2023-04-25T10:38:06.580Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-04-25T10:38:06.580Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-04-25T10:38:06.580Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-04-25T10:38:06.603Z] $ docker stop --time=1 6450b1ade0c53658b59b98c92d545d04f021ffa3c4c7763c6d2cd7b2d1b97f66 [2023-04-25T10:38:09.816Z] $ docker rm -f --volumes 6450b1ade0c53658b59b98c92d545d04f021ffa3c4c7763c6d2cd7b2d1b97f66 [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-04-25T10:38:10.183Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-25T10:38:10.195Z] provisioning config files... [2023-04-25T10:38:10.202Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16873784720265997945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:38:10.495Z] --> edgex-publish-swagger.sh [2023-04-25T10:38:10.495Z] === Publish doc/openapi/v2 API === [2023-04-25T10:38:10.495Z] [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger [2023-04-25T10:38:10.495Z] [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] [2023-04-25T10:38:10.495Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-25T10:38:10.495Z] Dload Upload Total Spent Left Speed [2023-04-25T10:38:11.064Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 684k --:--:-- --:--:-- --:--:-- 683k 100 469k 0 0 100 469k 0 684k --:--:-- --:--:-- --:--:-- 683k [2023-04-25T10:38:11.065Z] [2023-04-25T10:38:11.065Z] [Pipeline] } [2023-04-25T10:38:11.071Z] 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-04-25T10:38:11.467Z] + git log --format=format:%s -1 e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 [Pipeline] sh [2023-04-25T10:38:11.757Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-25T10:38:11.757Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:38:12.058Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-25T10:38:12.058Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T10:38:12.131Z] prd-ubuntu20.04-docker-8c-8g-10807 does not seem to be running inside a container [2023-04-25T10:38:12.178Z] $ 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-04-25T10:38:12.561Z] $ docker top 5456cfacb9f281157110d247c775f527f32f124f91a79c00d7ceecebe5890a03 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-25T10:38:12.642Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-25T10:38:12.642Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-25T10:38:12.739Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-25T10:38:12.753Z] $ docker exec 5456cfacb9f281157110d247c775f527f32f124f91a79c00d7ceecebe5890a03 ssh-agent [2023-04-25T10:38:12.835Z] SSH_AUTH_SOCK=/tmp/ssh-sxdWhIcRRcnx/agent.31 [2023-04-25T10:38:12.835Z] SSH_AGENT_PID=38 [2023-04-25T10:38:12.840Z] Running ssh-add (command line suppressed) [2023-04-25T10:38:12.941Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9669218737541467863.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9669218737541467863.key) [2023-04-25T10:38:12.943Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-25T10:38:13.235Z] + git semver tag [2023-04-25T10:38:13.495Z] 2023-04-25 10:38:13,412 [run_tag] DEBUG tag force:False [2023-04-25T10:38:13.495Z] 2023-04-25 10:38:13,412 [check_head_tag] DEBUG check head tag [2023-04-25T10:38:13.495Z] 2023-04-25 10:38:13,414 [execute] INFO git cat-file --batch-check [2023-04-25T10:38:13.495Z] 2023-04-25 10:38:13,414 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2023-04-25T10:38:13.495Z] 2023-04-25 10:38:13,418 [execute] INFO git cat-file --batch [2023-04-25T10:38:13.495Z] 2023-04-25 10:38:13,418 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2023-04-25T10:38:13.495Z] 2023-04-25 10:38:13,444 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-04-25T10:38:13.495Z] 2023-04-25 10:38:13,444 [execute] INFO git tag -a v3.0.0-dev.32 -m v3.0.0-dev.32 [2023-04-25T10:38:13.495Z] 2023-04-25 10:38:13,444 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.32', '-m', 'v3.0.0-dev.32'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2023-04-25T10:38:13.495Z] 2023-04-25 10:38:13,448 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-04-25T10:38:13.495Z] 3.0.0-dev.32 [Pipeline] } [2023-04-25T10:38:13.517Z] $ docker exec --env ******** --env ******** 5456cfacb9f281157110d247c775f527f32f124f91a79c00d7ceecebe5890a03 ssh-agent -k [2023-04-25T10:38:13.597Z] unset SSH_AUTH_SOCK; [2023-04-25T10:38:13.598Z] unset SSH_AGENT_PID; [2023-04-25T10:38:13.598Z] echo Agent pid 38 killed; [2023-04-25T10:38:13.593Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-25T10:38:13.891Z] + git semver [Pipeline] } [2023-04-25T10:38:14.175Z] $ docker stop --time=1 5456cfacb9f281157110d247c775f527f32f124f91a79c00d7ceecebe5890a03 [2023-04-25T10:38:15.448Z] $ docker rm -f --volumes 5456cfacb9f281157110d247c775f527f32f124f91a79c00d7ceecebe5890a03 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:38:15.838Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-25T10:38:15.838Z] [2023-04-25T10:38:15.838Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:38:16.135Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-25T10:38:16.135Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-04-25T10:38:16.135Z] ab5ef0e58194: Pulling fs layer [2023-04-25T10:38:16.135Z] 9712f1f96733: Pulling fs layer [2023-04-25T10:38:16.135Z] 63f879dbbcfc: Pulling fs layer [2023-04-25T10:38:16.135Z] 0d9ebad4ef96: Pulling fs layer [2023-04-25T10:38:16.135Z] e9a5061849ea: Pulling fs layer [2023-04-25T10:38:16.135Z] d747dcd14b5f: Pulling fs layer [2023-04-25T10:38:16.135Z] 2de7ff778b66: Pulling fs layer [2023-04-25T10:38:16.135Z] d747dcd14b5f: Waiting [2023-04-25T10:38:16.135Z] 0d9ebad4ef96: Waiting [2023-04-25T10:38:16.135Z] e9a5061849ea: Waiting [2023-04-25T10:38:16.135Z] 2de7ff778b66: Waiting [2023-04-25T10:38:16.135Z] 9712f1f96733: Download complete [2023-04-25T10:38:16.393Z] 63f879dbbcfc: Verifying Checksum [2023-04-25T10:38:16.393Z] 63f879dbbcfc: Download complete [2023-04-25T10:38:16.393Z] e9a5061849ea: Verifying Checksum [2023-04-25T10:38:16.393Z] e9a5061849ea: Download complete [2023-04-25T10:38:16.652Z] d747dcd14b5f: Download complete [2023-04-25T10:38:16.652Z] 0d9ebad4ef96: Verifying Checksum [2023-04-25T10:38:16.652Z] 0d9ebad4ef96: Download complete [2023-04-25T10:38:16.652Z] ab5ef0e58194: Download complete [2023-04-25T10:38:16.652Z] 2de7ff778b66: Verifying Checksum [2023-04-25T10:38:16.652Z] 2de7ff778b66: Download complete [2023-04-25T10:38:19.179Z] ab5ef0e58194: Pull complete [2023-04-25T10:38:19.180Z] 9712f1f96733: Pull complete [2023-04-25T10:38:19.745Z] 63f879dbbcfc: Pull complete [2023-04-25T10:38:23.040Z] 0d9ebad4ef96: Pull complete [2023-04-25T10:38:23.298Z] e9a5061849ea: Pull complete [2023-04-25T10:38:23.298Z] d747dcd14b5f: Pull complete [2023-04-25T10:38:24.233Z] 2de7ff778b66: Pull complete [2023-04-25T10:38:24.233Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-04-25T10:38:24.233Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-25T10:38:24.233Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T10:38:24.304Z] prd-ubuntu20.04-docker-8c-8g-10807 does not seem to be running inside a container [2023-04-25T10:38:24.343Z] $ 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-04-25T10:38:28.817Z] $ docker top 8c54e1ea064c719c6f0a83199bd818e24277a8b1bd89f06d7c1dd0df3e784ac8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-04-25T10:38:28.889Z] provisioning config files... [2023-04-25T10:38:28.896Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10374527478905211045tmp [2023-04-25T10:38:28.906Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4489787176195504130tmp [2023-04-25T10:38:28.914Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4919290970053000252tmp [Pipeline] { [Pipeline] echo [2023-04-25T10:38:28.931Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:38:29.212Z] ---> sigul-configuration.sh [2023-04-25T10:38:29.212Z] gpg: directory `/root/.gnupg' created [2023-04-25T10:38:29.212Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-04-25T10:38:29.212Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-04-25T10:38:29.212Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-04-25T10:38:29.212Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-04-25T10:38:29.212Z] gpg: CAST5 encrypted data [2023-04-25T10:38:29.212Z] gpg: encrypted with 1 passphrase [2023-04-25T10:38:29.212Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-04-25T10:38:29.494Z] + mkdir /home/jenkins [2023-04-25T10:38:29.494Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-04-25T10:38:29.778Z] + 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-04-25T10:38:29.788Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:38:30.072Z] ---> sigul-install.sh [2023-04-25T10:38:30.072Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-04-25T10:38:30.353Z] + git tag --list [2023-04-25T10:38:30.353Z] v0.0.0 [2023-04-25T10:38:30.353Z] v0.0.1-dev.1 [2023-04-25T10:38:30.353Z] v0.0.1-dev.10 [2023-04-25T10:38:30.353Z] v0.0.1-dev.11 [2023-04-25T10:38:30.353Z] v0.0.1-dev.12 [2023-04-25T10:38:30.353Z] v0.0.1-dev.13 [2023-04-25T10:38:30.353Z] v0.0.1-dev.14 [2023-04-25T10:38:30.353Z] v0.0.1-dev.15 [2023-04-25T10:38:30.353Z] v0.0.1-dev.16 [2023-04-25T10:38:30.353Z] v0.0.1-dev.17 [2023-04-25T10:38:30.353Z] v0.0.1-dev.18 [2023-04-25T10:38:30.353Z] v0.0.1-dev.19 [2023-04-25T10:38:30.353Z] v0.0.1-dev.2 [2023-04-25T10:38:30.353Z] v0.0.1-dev.20 [2023-04-25T10:38:30.353Z] v0.0.1-dev.21 [2023-04-25T10:38:30.353Z] v0.0.1-dev.22 [2023-04-25T10:38:30.353Z] v0.0.1-dev.23 [2023-04-25T10:38:30.353Z] v0.0.1-dev.24 [2023-04-25T10:38:30.353Z] v0.0.1-dev.25 [2023-04-25T10:38:30.353Z] v0.0.1-dev.26 [2023-04-25T10:38:30.353Z] v0.0.1-dev.27 [2023-04-25T10:38:30.353Z] v0.0.1-dev.28 [2023-04-25T10:38:30.353Z] v0.0.1-dev.3 [2023-04-25T10:38:30.353Z] v0.0.1-dev.4 [2023-04-25T10:38:30.353Z] v0.0.1-dev.5 [2023-04-25T10:38:30.353Z] v0.0.1-dev.6 [2023-04-25T10:38:30.353Z] v0.0.1-dev.7 [2023-04-25T10:38:30.353Z] v0.0.1-dev.8 [2023-04-25T10:38:30.353Z] v0.0.1-dev.9 [2023-04-25T10:38:30.353Z] v2.2.0 [2023-04-25T10:38:30.353Z] v2.2.0-dev.29 [2023-04-25T10:38:30.353Z] v2.2.0-dev.30 [2023-04-25T10:38:30.353Z] v2.2.0-dev.31 [2023-04-25T10:38:30.353Z] v2.2.0-dev.32 [2023-04-25T10:38:30.353Z] v2.2.0-dev.33 [2023-04-25T10:38:30.353Z] v2.2.0-dev.34 [2023-04-25T10:38:30.353Z] v2.2.0-dev.35 [2023-04-25T10:38:30.353Z] v2.3.0 [2023-04-25T10:38:30.353Z] v2.3.0-dev.1 [2023-04-25T10:38:30.353Z] v2.3.0-dev.10 [2023-04-25T10:38:30.353Z] v2.3.0-dev.11 [2023-04-25T10:38:30.353Z] v2.3.0-dev.12 [2023-04-25T10:38:30.353Z] v2.3.0-dev.13 [2023-04-25T10:38:30.353Z] v2.3.0-dev.14 [2023-04-25T10:38:30.353Z] v2.3.0-dev.15 [2023-04-25T10:38:30.353Z] v2.3.0-dev.16 [2023-04-25T10:38:30.353Z] v2.3.0-dev.17 [2023-04-25T10:38:30.353Z] v2.3.0-dev.18 [2023-04-25T10:38:30.353Z] v2.3.0-dev.19 [2023-04-25T10:38:30.353Z] v2.3.0-dev.2 [2023-04-25T10:38:30.353Z] v2.3.0-dev.20 [2023-04-25T10:38:30.353Z] v2.3.0-dev.21 [2023-04-25T10:38:30.353Z] v2.3.0-dev.22 [2023-04-25T10:38:30.353Z] v2.3.0-dev.23 [2023-04-25T10:38:30.353Z] v2.3.0-dev.24 [2023-04-25T10:38:30.353Z] v2.3.0-dev.25 [2023-04-25T10:38:30.353Z] v2.3.0-dev.26 [2023-04-25T10:38:30.353Z] v2.3.0-dev.27 [2023-04-25T10:38:30.353Z] v2.3.0-dev.28 [2023-04-25T10:38:30.353Z] v2.3.0-dev.29 [2023-04-25T10:38:30.353Z] v2.3.0-dev.3 [2023-04-25T10:38:30.353Z] v2.3.0-dev.30 [2023-04-25T10:38:30.353Z] v2.3.0-dev.31 [2023-04-25T10:38:30.353Z] v2.3.0-dev.32 [2023-04-25T10:38:30.353Z] v2.3.0-dev.33 [2023-04-25T10:38:30.353Z] v2.3.0-dev.34 [2023-04-25T10:38:30.353Z] v2.3.0-dev.35 [2023-04-25T10:38:30.353Z] v2.3.0-dev.36 [2023-04-25T10:38:30.353Z] v2.3.0-dev.37 [2023-04-25T10:38:30.353Z] v2.3.0-dev.38 [2023-04-25T10:38:30.353Z] v2.3.0-dev.39 [2023-04-25T10:38:30.353Z] v2.3.0-dev.4 [2023-04-25T10:38:30.353Z] v2.3.0-dev.40 [2023-04-25T10:38:30.353Z] v2.3.0-dev.41 [2023-04-25T10:38:30.353Z] v2.3.0-dev.42 [2023-04-25T10:38:30.353Z] v2.3.0-dev.43 [2023-04-25T10:38:30.353Z] v2.3.0-dev.44 [2023-04-25T10:38:30.353Z] v2.3.0-dev.45 [2023-04-25T10:38:30.353Z] v2.3.0-dev.5 [2023-04-25T10:38:30.353Z] v2.3.0-dev.6 [2023-04-25T10:38:30.353Z] v2.3.0-dev.7 [2023-04-25T10:38:30.353Z] v2.3.0-dev.8 [2023-04-25T10:38:30.353Z] v2.3.0-dev.9 [2023-04-25T10:38:30.353Z] v2.3.1 [2023-04-25T10:38:30.353Z] v2.3.1-dev.1 [2023-04-25T10:38:30.353Z] v2.3.1-dev.4 [2023-04-25T10:38:30.353Z] v2.3.1-dev.5 [2023-04-25T10:38:30.353Z] v3.0.0-dev.1 [2023-04-25T10:38:30.353Z] v3.0.0-dev.10 [2023-04-25T10:38:30.353Z] v3.0.0-dev.11 [2023-04-25T10:38:30.353Z] v3.0.0-dev.12 [2023-04-25T10:38:30.353Z] v3.0.0-dev.13 [2023-04-25T10:38:30.353Z] v3.0.0-dev.14 [2023-04-25T10:38:30.353Z] v3.0.0-dev.15 [2023-04-25T10:38:30.353Z] v3.0.0-dev.16 [2023-04-25T10:38:30.353Z] v3.0.0-dev.17 [2023-04-25T10:38:30.353Z] v3.0.0-dev.18 [2023-04-25T10:38:30.353Z] v3.0.0-dev.19 [2023-04-25T10:38:30.353Z] v3.0.0-dev.2 [2023-04-25T10:38:30.353Z] v3.0.0-dev.20 [2023-04-25T10:38:30.353Z] v3.0.0-dev.21 [2023-04-25T10:38:30.353Z] v3.0.0-dev.22 [2023-04-25T10:38:30.353Z] v3.0.0-dev.23 [2023-04-25T10:38:30.353Z] v3.0.0-dev.24 [2023-04-25T10:38:30.353Z] v3.0.0-dev.25 [2023-04-25T10:38:30.353Z] v3.0.0-dev.26 [2023-04-25T10:38:30.353Z] v3.0.0-dev.27 [2023-04-25T10:38:30.353Z] v3.0.0-dev.28 [2023-04-25T10:38:30.353Z] v3.0.0-dev.29 [2023-04-25T10:38:30.353Z] v3.0.0-dev.3 [2023-04-25T10:38:30.353Z] v3.0.0-dev.30 [2023-04-25T10:38:30.353Z] v3.0.0-dev.31 [2023-04-25T10:38:30.353Z] v3.0.0-dev.32 [2023-04-25T10:38:30.353Z] v3.0.0-dev.4 [2023-04-25T10:38:30.353Z] v3.0.0-dev.5 [2023-04-25T10:38:30.353Z] v3.0.0-dev.6 [2023-04-25T10:38:30.353Z] v3.0.0-dev.7 [2023-04-25T10:38:30.353Z] v3.0.0-dev.8 [2023-04-25T10:38:30.353Z] v3.0.0-dev.9 [Pipeline] sh [2023-04-25T10:38:30.641Z] + lftools sign git-tag v3.0.0-dev.32 [2023-04-25T10:38:31.209Z] Signing Git tag with Sigul... [2023-04-25T10:38:31.209Z] Signing v3.0.0-dev.32 [Pipeline] echo [2023-04-25T10:38:31.476Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:38:31.756Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-04-25T10:38:31.764Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-04-25T10:38:31.794Z] $ docker stop --time=1 8c54e1ea064c719c6f0a83199bd818e24277a8b1bd89f06d7c1dd0df3e784ac8 [2023-04-25T10:38:33.065Z] $ docker rm -f --volumes 8c54e1ea064c719c6f0a83199bd818e24277a8b1bd89f06d7c1dd0df3e784ac8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-04-25T10:38:33.456Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-25T10:38:33.456Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:38:33.750Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-25T10:38:33.750Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T10:38:33.815Z] prd-ubuntu20.04-docker-8c-8g-10807 does not seem to be running inside a container [2023-04-25T10:38:33.856Z] $ 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-04-25T10:38:34.196Z] $ docker top 1c2a4f994f09c2491a2286e691afd3357ec2cf37c18314af94d628decddecd37 -eo pid,comm [2023-04-25T10:38:34.226Z] 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-04-25T10:38:34.226Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-25T10:38:34.264Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-25T10:38:34.265Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-25T10:38:34.372Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-25T10:38:34.387Z] $ docker exec 1c2a4f994f09c2491a2286e691afd3357ec2cf37c18314af94d628decddecd37 ssh-agent [2023-04-25T10:38:34.476Z] SSH_AUTH_SOCK=/tmp/ssh-nCvzmOy0az2O/agent.32 [2023-04-25T10:38:34.476Z] SSH_AGENT_PID=37 [2023-04-25T10:38:34.481Z] Running ssh-add (command line suppressed) [2023-04-25T10:38:34.598Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7017697201304142100.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7017697201304142100.key) [2023-04-25T10:38:34.597Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-25T10:38:34.884Z] + git semver bump pre [2023-04-25T10:38:35.143Z] 2023-04-25 10:38:35,071 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-04-25T10:38:35.143Z] 2023-04-25 10:38:35,071 [bump_version] DEBUG bumping version:3.0.0-dev.32 on axis:pre with prefix:dev [2023-04-25T10:38:35.143Z] 2023-04-25 10:38:35,071 [bump_version] DEBUG bumped version:3.0.0-dev.33 [2023-04-25T10:38:35.143Z] 2023-04-25 10:38:35,071 [write_version] DEBUG write version:3.0.0-dev.33 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2023-04-25T10:38:35.143Z] 2023-04-25 10:38:35,071 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-04-25T10:38:35.143Z] 2023-04-25 10:38:35,071 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-04-25T10:38:35.143Z] 2023-04-25 10:38:35,073 [execute] INFO git cat-file --batch-check [2023-04-25T10:38:35.143Z] 2023-04-25 10:38:35,073 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-25T10:38:35.143Z] 2023-04-25 10:38:35,078 [execute] INFO git cat-file --batch [2023-04-25T10:38:35.143Z] 2023-04-25 10:38:35,079 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-25T10:38:35.143Z] 2023-04-25 10:38:35,084 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-04-25T10:38:35.143Z] 3.0.0-dev.33 [Pipeline] } [2023-04-25T10:38:35.165Z] $ docker exec --env ******** --env ******** 1c2a4f994f09c2491a2286e691afd3357ec2cf37c18314af94d628decddecd37 ssh-agent -k [2023-04-25T10:38:35.258Z] unset SSH_AUTH_SOCK; [2023-04-25T10:38:35.258Z] unset SSH_AGENT_PID; [2023-04-25T10:38:35.258Z] echo Agent pid 37 killed; [2023-04-25T10:38:35.255Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-25T10:38:35.564Z] + git semver [Pipeline] } [2023-04-25T10:38:35.849Z] $ docker stop --time=1 1c2a4f994f09c2491a2286e691afd3357ec2cf37c18314af94d628decddecd37 [2023-04-25T10:38:37.099Z] $ docker rm -f --volumes 1c2a4f994f09c2491a2286e691afd3357ec2cf37c18314af94d628decddecd37 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-25T10:38:37.415Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-25T10:38:37.415Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:38:37.708Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-25T10:38:37.708Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T10:38:37.774Z] prd-ubuntu20.04-docker-8c-8g-10807 does not seem to be running inside a container [2023-04-25T10:38:37.813Z] $ 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-04-25T10:38:38.135Z] $ docker top 9000ad4c51870c6441d8f4474d32c81e17578e94e5f86274cd9b47f22317daf8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-25T10:38:38.193Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-25T10:38:38.194Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-25T10:38:38.302Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-25T10:38:38.317Z] $ docker exec 9000ad4c51870c6441d8f4474d32c81e17578e94e5f86274cd9b47f22317daf8 ssh-agent [2023-04-25T10:38:38.406Z] SSH_AUTH_SOCK=/tmp/ssh-AGxYJwRwmXlG/agent.31 [2023-04-25T10:38:38.406Z] SSH_AGENT_PID=37 [2023-04-25T10:38:38.412Z] Running ssh-add (command line suppressed) [2023-04-25T10:38:38.544Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14199994078047975746.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14199994078047975746.key) [2023-04-25T10:38:38.542Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-25T10:38:38.824Z] + git semver push [2023-04-25T10:38:39.084Z] 2023-04-25 10:38:39,026 [run_push] DEBUG push [2023-04-25T10:38:39.084Z] 2023-04-25 10:38:39,027 [execute] INFO git cat-file --batch-check [2023-04-25T10:38:39.084Z] 2023-04-25 10:38:39,027 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-25T10:38:39.084Z] 2023-04-25 10:38:39,031 [execute] INFO git rev-list d2ff765c0a54a840f5c444afa10957752073ac89 -- [2023-04-25T10:38:39.084Z] 2023-04-25 10:38:39,031 [execute] DEBUG Popen(['git', 'rev-list', 'd2ff765c0a54a840f5c444afa10957752073ac89', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-25T10:38:39.084Z] 2023-04-25 10:38:39,038 [execute] INFO git fetch -v origin [2023-04-25T10:38:39.084Z] 2023-04-25 10:38:39,039 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-04-25T10:38:39.653Z] 2023-04-25 10:38:39,488 [run_push] DEBUG no remote changes detected [2023-04-25T10:38:39.653Z] 2023-04-25 10:38:39,488 [execute] INFO git push origin semver [2023-04-25T10:38:39.653Z] 2023-04-25 10:38:39,489 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-25T10:38:40.221Z] 2023-04-25 10:38:40,229 [run_push] DEBUG push all version tags [2023-04-25T10:38:40.221Z] 2023-04-25 10:38:40,229 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-04-25T10:38:40.221Z] 2023-04-25 10:38:40,230 [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-04-25T10:38:41.159Z] 2023-04-25 10:38:40,966 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-04-25T10:38:41.159Z] 3.0.0-dev.33 [Pipeline] } [2023-04-25T10:38:41.182Z] $ docker exec --env ******** --env ******** 9000ad4c51870c6441d8f4474d32c81e17578e94e5f86274cd9b47f22317daf8 ssh-agent -k [2023-04-25T10:38:41.278Z] unset SSH_AUTH_SOCK; [2023-04-25T10:38:41.278Z] unset SSH_AGENT_PID; [2023-04-25T10:38:41.278Z] echo Agent pid 37 killed; [2023-04-25T10:38:41.276Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-25T10:38:41.577Z] + git semver [Pipeline] } [2023-04-25T10:38:41.862Z] $ docker stop --time=1 9000ad4c51870c6441d8f4474d32c81e17578e94e5f86274cd9b47f22317daf8 [2023-04-25T10:38:43.150Z] $ docker rm -f --volumes 9000ad4c51870c6441d8f4474d32c81e17578e94e5f86274cd9b47f22317daf8 [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-04-25T10:38:43.715Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2023-04-25T10:38:43.715Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-04-25T10:38:43.715Z] total 16 [2023-04-25T10:38:43.715Z] drwxr-xr-x 3 root root 4096 Apr 25 10:26 . [2023-04-25T10:38:43.715Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 10:38 .. [2023-04-25T10:38:43.715Z] drwxr-xr-x 2 root root 4096 Apr 25 10:26 cost [2023-04-25T10:38:43.715Z] -rw-r--r-- 1 root root 91 Apr 25 10:26 cost.csv [2023-04-25T10:38:43.715Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2023-04-25T10:38:43.715Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-04-25T10:38:43.715Z] total 16 [2023-04-25T10:38:43.715Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 10:26 . [2023-04-25T10:38:43.715Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 10:38 .. [2023-04-25T10:38:43.715Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 10:26 cost [2023-04-25T10:38:43.715Z] -rw-r--r-- 1 jenkins jenkins 91 Apr 25 10:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:38:44.002Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:38:44.855Z] ---> package-listing.sh [2023-04-25T10:38:44.855Z] ++ facter osfamily [2023-04-25T10:38:44.855Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-25T10:38:45.113Z] + OS_FAMILY=debian [2023-04-25T10:38:45.113Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2023-04-25T10:38:45.113Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-25T10:38:45.113Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-25T10:38:45.113Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-25T10:38:45.113Z] + PACKAGES=/tmp/packages_start.txt [2023-04-25T10:38:45.113Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-04-25T10:38:45.113Z] + PACKAGES=/tmp/packages_end.txt [2023-04-25T10:38:45.113Z] + case "${OS_FAMILY}" in [2023-04-25T10:38:45.113Z] + dpkg -l [2023-04-25T10:38:45.113Z] + grep '^ii' [2023-04-25T10:38:45.113Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-25T10:38:45.113Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-25T10:38:45.113Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-25T10:38:45.113Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-04-25T10:38:45.113Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2023-04-25T10:38:45.113Z] + 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-04-25T10:38:45.122Z] 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-04-25T10:38:45.396Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:38:45.949Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-25T10:38:45.949Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T10:38:46.017Z] prd-ubuntu20.04-docker-8c-8g-10807 does not seem to be running inside a container [2023-04-25T10:38:46.057Z] $ 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-04-25T10:38:46.239Z] $ docker top 909992adb6c63280c421780e5b0d883cff73cd1de1b16cc2e9dc96dafac254c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T10:38:46.562Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-25T10:38:46.880Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-25T10:38:47.187Z] + ls /var/log/sa-host [2023-04-25T10:38:47.187Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-25T10:38:47.254Z] provisioning config files... [2023-04-25T10:38:47.275Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8459966455709415910tmp [Pipeline] { [Pipeline] echo [2023-04-25T10:38:47.316Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:38:47.648Z] ---> create-netrc.sh [Pipeline] } [2023-04-25T10:38:47.655Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:38:47.985Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-25T10:38:47.994Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:38:48.278Z] ---> sudo-logs.sh [2023-04-25T10:38:48.278Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-25T10:38:48.306Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:38:48.591Z] ---> job-cost.sh [2023-04-25T10:38:48.591Z] lf-activate-venv: SKIPPING [2023-04-25T10:38:48.591Z] DEBUG: total: 0.2199999988079071 [2023-04-25T10:38:48.591Z] INFO: Retrieving Stack Cost... [2023-04-25T10:38:48.849Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-25T10:38:49.418Z] INFO: Archiving Costs [Pipeline] echo [2023-04-25T10:38:49.429Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:38:49.711Z] ---> logs-deploy.sh [2023-04-25T10:38:49.711Z] lf-activate-venv: SKIPPING [2023-04-25T10:38:49.711Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/127 [2023-04-25T10:38:49.711Z] INFO: archiving workspace using pattern(s): [2023-04-25T10:38:50.646Z] Archives upload complete. [2023-04-25T10:38:50.646Z] INFO: archiving logs to Nexus