Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4a9e67fa37862f83ef90b637e6c765491ff37d3a 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-ssh5543715143970511542.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4281639415987615861.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh7027283255606410508.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh13280546744003852903.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-ssh15675446063077758043.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.18 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7754 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 4a9e67fa37862f83ef90b637e6c765491ff37d3a (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#234)" > 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 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 > git rev-list --no-walk 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-28T16:40:42.851Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-28T16:40:42.911Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-28T16:40:42.926Z] ========================================================= [2023-02-28T16:40:42.926Z] EdgeX Global Pipelines Version Info [2023-02-28T16:40:42.926Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-28T16:40:43.633Z] ------------------- [2023-02-28T16:40:43.633Z] stable info: [2023-02-28T16:40:43.633Z] ------------------- [2023-02-28T16:40:43.633Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-28T16:40:43.633Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-28T16:40:43.633Z] Message: update stable to v1.0.244 [2023-02-28T16:40:44.201Z] ------------------- [2023-02-28T16:40:44.201Z] experimental info: [2023-02-28T16:40:44.201Z] ------------------- [2023-02-28T16:40:44.201Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-28T16:40:44.201Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-28T16:40:44.201Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-28T16:40:44.360Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-02-28T16:40:44.368Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-02-28T16:40:44.377Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-28T16:40:44.386Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-28T16:40:44.395Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-28T16:40:44.403Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-28T16:40:44.411Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-28T16:40:44.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-28T16:40:44.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-28T16:40:44.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-28T16:40:44.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-28T16:40:44.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-02-28T16:40:44.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-28T16:40:44.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-28T16:40:44.493Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-28T16:40:44.503Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-28T16:40:44.515Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-28T16:40:44.527Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-28T16:40:44.537Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-28T16:40:44.546Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-28T16:40:44.554Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-28T16:40:44.562Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-02-28T16:40:44.571Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-28T16:40:44.579Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-28T16:40:44.588Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-28T16:40:44.597Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-28T16:40:44.605Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-28T16:40:44.614Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-02-28T16:40:44.622Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-02-28T16:40:44.631Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-02-28T16:40:44.639Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a9e67fa37862f83ef90b637e6c765491ff37d3a [Pipeline] echo [2023-02-28T16:40:44.648Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a9e67f [Pipeline] echo [2023-02-28T16:40:44.657Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T16:40:44.688Z] provisioning config files... [2023-02-28T16:40:44.699Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14858426219921868890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T16:40:44.995Z] ---> docker-login.sh [2023-02-28T16:40:44.995Z] nexus3.edgexfoundry.org:10001 [2023-02-28T16:40:45.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T16:40:45.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T16:40:45.253Z] Configure a credential helper to remove this warning. See [2023-02-28T16:40:45.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T16:40:45.253Z] [2023-02-28T16:40:45.253Z] Login Succeeded [2023-02-28T16:40:45.253Z] nexus3.edgexfoundry.org:10002 [2023-02-28T16:40:45.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T16:40:45.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T16:40:45.512Z] Configure a credential helper to remove this warning. See [2023-02-28T16:40:45.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T16:40:45.512Z] [2023-02-28T16:40:45.512Z] Login Succeeded [2023-02-28T16:40:45.512Z] nexus3.edgexfoundry.org:10003 [2023-02-28T16:40:45.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T16:40:45.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T16:40:45.512Z] Configure a credential helper to remove this warning. See [2023-02-28T16:40:45.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T16:40:45.512Z] [2023-02-28T16:40:45.512Z] Login Succeeded [2023-02-28T16:40:45.512Z] nexus3.edgexfoundry.org:10004 [2023-02-28T16:40:45.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T16:40:45.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T16:40:45.773Z] Configure a credential helper to remove this warning. See [2023-02-28T16:40:45.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T16:40:45.773Z] [2023-02-28T16:40:45.773Z] Login Succeeded [2023-02-28T16:40:45.773Z] docker.io [2023-02-28T16:40:45.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T16:40:46.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T16:40:46.031Z] Configure a credential helper to remove this warning. See [2023-02-28T16:40:46.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T16:40:46.031Z] [2023-02-28T16:40:46.031Z] Login Succeeded [2023-02-28T16:40:46.031Z] ---> docker-login.sh ends [Pipeline] } [2023-02-28T16:40:46.038Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-28T16:40:46.393Z] + git rev-list -1 --merges 4a9e67fa37862f83ef90b637e6c765491ff37d3a~1..4a9e67fa37862f83ef90b637e6c765491ff37d3a [Pipeline] echo [2023-02-28T16:40:46.440Z] -----------> git rev-list -1 --merges 4a9e67fa37862f83ef90b637e6c765491ff37d3a~1..4a9e67fa37862f83ef90b637e6c765491ff37d3a 4a9e67fa37862f83ef90b637e6c765491ff37d3a [false] [Pipeline] sh [2023-02-28T16:40:46.738Z] + git log --format=format:%s -1 4a9e67fa37862f83ef90b637e6c765491ff37d3a [Pipeline] echo [2023-02-28T16:40:46.754Z] ========================================================= [2023-02-28T16:40:46.754Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-28T16:40:46.754Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-28T16:40:47.069Z] + git log --format=format:%s -1 4a9e67fa37862f83ef90b637e6c765491ff37d3a [Pipeline] echo [2023-02-28T16:40:47.080Z] [semverPrep] GIT_COMMIT: 4a9e67fa37862f83ef90b637e6c765491ff37d3a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#234) [Pipeline] echo [2023-02-28T16:40:47.087Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-28T16:40:47.500Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-28T16:40:47.500Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-28T16:40:47.500Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-28T16:40:47.500Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-28T16:40:47.500Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-28T16:40:47.500Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-28T16:40:47.500Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:40:47.848Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T16:40:47.848Z] [2023-02-28T16:40:47.848Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:40:48.148Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T16:40:48.148Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-28T16:40:48.148Z] b85a868b505f: Pulling fs layer [2023-02-28T16:40:48.148Z] e2be974225ed: Pulling fs layer [2023-02-28T16:40:48.148Z] 339a4e72a1f5: Pulling fs layer [2023-02-28T16:40:48.148Z] 988bab9f4d93: Pulling fs layer [2023-02-28T16:40:48.148Z] 1469e6f7b9e6: Pulling fs layer [2023-02-28T16:40:48.148Z] eaf3925da568: Pulling fs layer [2023-02-28T16:40:48.148Z] bab4dde63d76: Pulling fs layer [2023-02-28T16:40:48.148Z] bde34c3a00c8: Pulling fs layer [2023-02-28T16:40:48.148Z] b352a97aabf1: Pulling fs layer [2023-02-28T16:40:48.148Z] 4872d77fe225: Pulling fs layer [2023-02-28T16:40:48.148Z] 5851b861e8e6: Pulling fs layer [2023-02-28T16:40:48.148Z] 988bab9f4d93: Waiting [2023-02-28T16:40:48.148Z] 1469e6f7b9e6: Waiting [2023-02-28T16:40:48.148Z] bab4dde63d76: Waiting [2023-02-28T16:40:48.148Z] eaf3925da568: Waiting [2023-02-28T16:40:48.148Z] b352a97aabf1: Waiting [2023-02-28T16:40:48.148Z] bde34c3a00c8: Waiting [2023-02-28T16:40:48.148Z] 4872d77fe225: Waiting [2023-02-28T16:40:48.148Z] 5851b861e8e6: Waiting [2023-02-28T16:40:48.148Z] e2be974225ed: Verifying Checksum [2023-02-28T16:40:48.148Z] e2be974225ed: Download complete [2023-02-28T16:40:48.148Z] 988bab9f4d93: Download complete [2023-02-28T16:40:48.409Z] 339a4e72a1f5: Verifying Checksum [2023-02-28T16:40:48.409Z] 339a4e72a1f5: Download complete [2023-02-28T16:40:48.409Z] 1469e6f7b9e6: Verifying Checksum [2023-02-28T16:40:48.409Z] 1469e6f7b9e6: Download complete [2023-02-28T16:40:48.409Z] eaf3925da568: Download complete [2023-02-28T16:40:48.409Z] bde34c3a00c8: Verifying Checksum [2023-02-28T16:40:48.409Z] bde34c3a00c8: Download complete [2023-02-28T16:40:48.409Z] b352a97aabf1: Download complete [2023-02-28T16:40:48.409Z] 4872d77fe225: Download complete [2023-02-28T16:40:48.409Z] 5851b861e8e6: Verifying Checksum [2023-02-28T16:40:48.409Z] 5851b861e8e6: Download complete [2023-02-28T16:40:48.409Z] b85a868b505f: Verifying Checksum [2023-02-28T16:40:48.409Z] b85a868b505f: Download complete [2023-02-28T16:40:48.973Z] bab4dde63d76: Verifying Checksum [2023-02-28T16:40:48.973Z] bab4dde63d76: Download complete [2023-02-28T16:40:49.542Z] b85a868b505f: Pull complete [2023-02-28T16:40:49.801Z] e2be974225ed: Pull complete [2023-02-28T16:40:50.367Z] 339a4e72a1f5: Pull complete [2023-02-28T16:40:50.367Z] 988bab9f4d93: Pull complete [2023-02-28T16:40:50.625Z] 1469e6f7b9e6: Pull complete [2023-02-28T16:40:50.625Z] eaf3925da568: Pull complete [2023-02-28T16:40:52.524Z] bab4dde63d76: Pull complete [2023-02-28T16:40:52.524Z] bde34c3a00c8: Pull complete [2023-02-28T16:40:52.524Z] b352a97aabf1: Pull complete [2023-02-28T16:40:53.097Z] 4872d77fe225: Pull complete [2023-02-28T16:40:53.665Z] 5851b861e8e6: Pull complete [2023-02-28T16:40:53.665Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-28T16:40:53.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T16:40:53.665Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T16:40:53.837Z] prd-ubuntu20.04-docker-8c-8g-7754 does not seem to be running inside a container [2023-02-28T16:40:53.858Z] $ 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-02-28T16:40:54.406Z] $ docker top 4cf6702169f2548935435e05b7a5bfe6d06a1ad6cf522c80837a43af843cfc4a -eo pid,comm [2023-02-28T16:40:54.472Z] 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-02-28T16:40:54.472Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-28T16:40:54.509Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-28T16:40:54.509Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-28T16:40:54.625Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-28T16:40:54.620Z] $ docker exec 4cf6702169f2548935435e05b7a5bfe6d06a1ad6cf522c80837a43af843cfc4a ssh-agent [2023-02-28T16:40:54.732Z] SSH_AUTH_SOCK=/tmp/ssh-o3IpnbFFUrAS/agent.34 [2023-02-28T16:40:54.732Z] SSH_AGENT_PID=40 [2023-02-28T16:40:54.738Z] Running ssh-add (command line suppressed) [2023-02-28T16:40:54.835Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2616306794835983962.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2616306794835983962.key) [2023-02-28T16:40:54.860Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-28T16:40:55.147Z] + git tag --points-at HEAD [Pipeline] } [2023-02-28T16:40:55.149Z] $ docker exec --env ******** --env ******** 4cf6702169f2548935435e05b7a5bfe6d06a1ad6cf522c80837a43af843cfc4a ssh-agent -k [2023-02-28T16:40:55.249Z] unset SSH_AUTH_SOCK; [2023-02-28T16:40:55.250Z] unset SSH_AGENT_PID; [2023-02-28T16:40:55.250Z] echo Agent pid 40 killed; [2023-02-28T16:40:55.268Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2023-02-28T16:40:55.286Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.0.0-dev.15' [Pipeline] sshagent [2023-02-28T16:40:55.299Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-28T16:40:55.299Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-28T16:40:55.416Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-28T16:40:55.410Z] $ docker exec 4cf6702169f2548935435e05b7a5bfe6d06a1ad6cf522c80837a43af843cfc4a ssh-agent [2023-02-28T16:40:55.521Z] SSH_AUTH_SOCK=/tmp/ssh-cn1u3fbWV28o/agent.72 [2023-02-28T16:40:55.521Z] SSH_AGENT_PID=78 [2023-02-28T16:40:55.526Z] Running ssh-add (command line suppressed) [2023-02-28T16:40:55.617Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13748408842047964667.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13748408842047964667.key) [2023-02-28T16:40:55.645Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-28T16:40:55.929Z] + git semver init [2023-02-28T16:40:56.187Z] 2023-02-28 16:40:56,106 [run_init] DEBUG init version:0.0.0 force:False [2023-02-28T16:40:56.187Z] 2023-02-28 16:40:56,107 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2023-02-28T16:40:56.187Z] 2023-02-28 16:40:56,107 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2023-02-28T16:40:56.187Z] 2023-02-28 16:40:56,108 [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-02-28T16:40:57.124Z] 2023-02-28 16:40:57,038 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2023-02-28T16:40:57.124Z] 2023-02-28 16:40:57,039 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2023-02-28T16:40:57.124Z] 2023-02-28 16:40:57,039 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-02-28T16:40:57.124Z] 2023-02-28 16:40:57,039 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-02-28T16:40:57.124Z] 3.0.0-dev.16 [Pipeline] } [2023-02-28T16:40:57.128Z] $ docker exec --env ******** --env ******** 4cf6702169f2548935435e05b7a5bfe6d06a1ad6cf522c80837a43af843cfc4a ssh-agent -k [2023-02-28T16:40:57.231Z] unset SSH_AUTH_SOCK; [2023-02-28T16:40:57.232Z] unset SSH_AGENT_PID; [2023-02-28T16:40:57.232Z] echo Agent pid 78 killed; [2023-02-28T16:40:57.247Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-28T16:40:57.553Z] + git semver [Pipeline] } [2023-02-28T16:40:57.827Z] $ docker stop --time=1 4cf6702169f2548935435e05b7a5bfe6d06a1ad6cf522c80837a43af843cfc4a [2023-02-28T16:40:59.154Z] $ docker rm -f --volumes 4cf6702169f2548935435e05b7a5bfe6d06a1ad6cf522c80837a43af843cfc4a [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-28T16:40:59.504Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-28T16:40:59.726Z] Stashed 1 file(s) [Pipeline] echo [2023-02-28T16:40:59.730Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.16 [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-02-28T16:40:59.873Z] provisioning config files... [2023-02-28T16:40:59.883Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config94697099667348095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T16:41:00.177Z] ---> docker-login.sh [2023-02-28T16:41:00.177Z] nexus3.edgexfoundry.org:10001 [2023-02-28T16:41:00.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T16:41:00.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T16:41:00.177Z] Configure a credential helper to remove this warning. See [2023-02-28T16:41:00.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T16:41:00.177Z] [2023-02-28T16:41:00.177Z] Login Succeeded [2023-02-28T16:41:00.177Z] nexus3.edgexfoundry.org:10002 [2023-02-28T16:41:00.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T16:41:00.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T16:41:00.177Z] Configure a credential helper to remove this warning. See [2023-02-28T16:41:00.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T16:41:00.177Z] [2023-02-28T16:41:00.177Z] Login Succeeded [2023-02-28T16:41:00.177Z] nexus3.edgexfoundry.org:10003 [2023-02-28T16:41:00.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T16:41:00.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T16:41:00.435Z] Configure a credential helper to remove this warning. See [2023-02-28T16:41:00.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T16:41:00.435Z] [2023-02-28T16:41:00.435Z] Login Succeeded [2023-02-28T16:41:00.435Z] nexus3.edgexfoundry.org:10004 [2023-02-28T16:41:00.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T16:41:00.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T16:41:00.435Z] Configure a credential helper to remove this warning. See [2023-02-28T16:41:00.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T16:41:00.435Z] [2023-02-28T16:41:00.435Z] Login Succeeded [2023-02-28T16:41:00.435Z] docker.io [2023-02-28T16:41:00.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T16:41:00.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T16:41:00.694Z] Configure a credential helper to remove this warning. See [2023-02-28T16:41:00.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T16:41:00.694Z] [2023-02-28T16:41:00.694Z] Login Succeeded [2023-02-28T16:41:00.694Z] ---> docker-login.sh ends [Pipeline] } [2023-02-28T16:41:00.701Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-28T16:41:00.760Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T16:41:00.773Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T16:41:00.781Z] ========================================================= [2023-02-28T16:41:00.781Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-28T16:41:00.781Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:41:01.087Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-28T16:41:01.087Z] Sending build context to Docker daemon 27.76MB [2023-02-28T16:41:01.087Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T16:41:01.087Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-28T16:41:01.357Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-28T16:41:01.357Z] 213ec9aee27d: Pulling fs layer [2023-02-28T16:41:01.357Z] 4583459ba037: Pulling fs layer [2023-02-28T16:41:01.357Z] 93c1e223e6f2: Pulling fs layer [2023-02-28T16:41:01.357Z] 53926ce57604: Pulling fs layer [2023-02-28T16:41:01.357Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-28T16:41:01.357Z] 22ff95d597cd: Pulling fs layer [2023-02-28T16:41:01.357Z] 12d6caf4c0d1: Pulling fs layer [2023-02-28T16:41:01.357Z] 96b7cbca73a9: Pulling fs layer [2023-02-28T16:41:01.357Z] a7acece74701: Pulling fs layer [2023-02-28T16:41:01.357Z] 21b2b0c7a3f4: Waiting [2023-02-28T16:41:01.357Z] 96b7cbca73a9: Waiting [2023-02-28T16:41:01.357Z] 22ff95d597cd: Waiting [2023-02-28T16:41:01.357Z] a7acece74701: Waiting [2023-02-28T16:41:01.357Z] 12d6caf4c0d1: Waiting [2023-02-28T16:41:01.357Z] 53926ce57604: Waiting [2023-02-28T16:41:01.357Z] 93c1e223e6f2: Verifying Checksum [2023-02-28T16:41:01.357Z] 93c1e223e6f2: Download complete [2023-02-28T16:41:01.357Z] 4583459ba037: Verifying Checksum [2023-02-28T16:41:01.357Z] 4583459ba037: Download complete [2023-02-28T16:41:01.357Z] 21b2b0c7a3f4: Download complete [2023-02-28T16:41:01.357Z] 22ff95d597cd: Verifying Checksum [2023-02-28T16:41:01.357Z] 22ff95d597cd: Download complete [2023-02-28T16:41:01.357Z] 213ec9aee27d: Verifying Checksum [2023-02-28T16:41:01.357Z] 213ec9aee27d: Download complete [2023-02-28T16:41:01.357Z] 12d6caf4c0d1: Verifying Checksum [2023-02-28T16:41:01.357Z] 12d6caf4c0d1: Download complete [2023-02-28T16:41:01.357Z] 213ec9aee27d: Pull complete [2023-02-28T16:41:01.620Z] 4583459ba037: Pull complete [2023-02-28T16:41:01.620Z] 93c1e223e6f2: Pull complete [2023-02-28T16:41:01.880Z] a7acece74701: Verifying Checksum [2023-02-28T16:41:01.880Z] a7acece74701: Download complete [2023-02-28T16:41:02.138Z] 96b7cbca73a9: Verifying Checksum [2023-02-28T16:41:02.139Z] 53926ce57604: Verifying Checksum [2023-02-28T16:41:02.139Z] 53926ce57604: Download complete [2023-02-28T16:41:06.331Z] 53926ce57604: Pull complete [2023-02-28T16:41:06.331Z] 21b2b0c7a3f4: Pull complete [2023-02-28T16:41:06.331Z] 22ff95d597cd: Pull complete [2023-02-28T16:41:06.331Z] 12d6caf4c0d1: Pull complete [2023-02-28T16:41:08.247Z] 96b7cbca73a9: Pull complete [2023-02-28T16:41:09.182Z] a7acece74701: Pull complete [2023-02-28T16:41:09.182Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-28T16:41:09.182Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-28T16:41:09.182Z] ---> db6d94c90886 [2023-02-28T16:41:09.182Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-28T16:41:10.561Z] ---> Running in 994bf79d3a7c [2023-02-28T16:41:10.561Z] Removing intermediate container 994bf79d3a7c [2023-02-28T16:41:10.561Z] ---> 5f56fc88b569 [2023-02-28T16:41:10.561Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-28T16:41:10.561Z] ---> Running in b97c508f71fc [2023-02-28T16:41:10.821Z] Removing intermediate container b97c508f71fc [2023-02-28T16:41:10.821Z] ---> 71bb6224088b [2023-02-28T16:41:10.821Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-28T16:41:10.821Z] ---> Running in 7f5888e5f411 [2023-02-28T16:41:10.821Z] Removing intermediate container 7f5888e5f411 [2023-02-28T16:41:10.821Z] ---> cc090a8ef105 [2023-02-28T16:41:10.821Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-28T16:41:10.821Z] ---> Running in b98d18dd6281 [2023-02-28T16:41:10.821Z] Removing intermediate container b98d18dd6281 [2023-02-28T16:41:10.821Z] ---> a3dd39fa0d89 [2023-02-28T16:41:10.821Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-28T16:41:11.080Z] ---> Running in 908ad136dc4a [2023-02-28T16:41:11.080Z] Removing intermediate container 908ad136dc4a [2023-02-28T16:41:11.080Z] ---> e81fffc77125 [2023-02-28T16:41:11.081Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-28T16:41:11.081Z] ---> Running in b57444e0ad22 [2023-02-28T16:41:11.340Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-28T16:41:11.599Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-28T16:41:11.857Z] OK: 211 MiB in 51 packages [2023-02-28T16:41:12.117Z] Removing intermediate container b57444e0ad22 [2023-02-28T16:41:12.117Z] ---> 701a5a3d2848 [2023-02-28T16:41:12.117Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-28T16:41:12.117Z] ---> Running in b1b3f1ae80e9 [2023-02-28T16:41:12.376Z] Removing intermediate container b1b3f1ae80e9 [2023-02-28T16:41:12.376Z] ---> 3f4509c2dfbf [2023-02-28T16:41:12.376Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-28T16:41:12.376Z] ---> ffd1c0d010ef [2023-02-28T16:41:12.376Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T16:41:12.376Z] ---> Running in 2b34cb1364b4 [2023-02-28T16:41:14.832Z] Still waiting to schedule task [2023-02-28T16:41:14.832Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7751’ [2023-02-28T16:41:38.967Z] Removing intermediate container 2b34cb1364b4 [2023-02-28T16:41:38.968Z] ---> 463d7b8211a9 [2023-02-28T16:41:38.968Z] Step 12/13 : COPY . . [2023-02-28T16:41:38.968Z] ---> 8ae46fe74bba [2023-02-28T16:41:38.968Z] Step 13/13 : RUN ${MAKE} [2023-02-28T16:41:38.968Z] ---> Running in de21225b3441 [2023-02-28T16:41:38.968Z] noop [2023-02-28T16:41:38.968Z] Removing intermediate container de21225b3441 [2023-02-28T16:41:38.968Z] ---> 4088ed1b2653 [2023-02-28T16:41:38.968Z] Successfully built 4088ed1b2653 [2023-02-28T16:41:38.968Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:41:39.273Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-28T16:41:39.273Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T16:41:39.349Z] prd-ubuntu20.04-docker-8c-8g-7754 does not seem to be running inside a container [2023-02-28T16:41:39.380Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-02-28T16:41:39.741Z] $ docker top 98e24db52c5369cc65e23d59571a1208f9c34c4fb75ed78a13ef76450d82459e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T16:41:40.076Z] + go version [2023-02-28T16:41:40.076Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-28T16:41:40.092Z] $ docker stop --time=1 98e24db52c5369cc65e23d59571a1208f9c34c4fb75ed78a13ef76450d82459e [2023-02-28T16:41:41.383Z] $ docker rm -f --volumes 98e24db52c5369cc65e23d59571a1208f9c34c4fb75ed78a13ef76450d82459e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:41:41.789Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-28T16:41:41.789Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T16:41:41.859Z] prd-ubuntu20.04-docker-8c-8g-7754 does not seem to be running inside a container [2023-02-28T16:41:41.893Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-02-28T16:41:42.238Z] $ docker top fb7b81dcee2e46f57455c0ca7b17f2aa388ea97ca7c754d05d5f93f215582bc3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T16:41:42.585Z] + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh [2023-02-28T16:41:42.877Z] + make test [2023-02-28T16:41:42.878Z] go test ./... -coverprofile=coverage.out ./... [2023-02-28T16:41:43.136Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-28T16:41:53.117Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-02-28T16:41:55.649Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.040s coverage: 29.3% of statements [2023-02-28T16:41:55.649Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-02-28T16:41:55.649Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.247s coverage: 86.5% of statements [2023-02-28T16:42:03.768Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-28T16:42:03.768Z] go vet ./... [2023-02-28T16:42:06.296Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-28T16:42:06.296Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-28T16:42:06.296Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-28T16:42:06.308Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-28T16:42:06.325Z] $ docker stop --time=1 fb7b81dcee2e46f57455c0ca7b17f2aa388ea97ca7c754d05d5f93f215582bc3 [2023-02-28T16:42:08.025Z] $ docker rm -f --volumes fb7b81dcee2e46f57455c0ca7b17f2aa388ea97ca7c754d05d5f93f215582bc3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-28T16:42:08.451Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-28T16:42:08.512Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-28T16:42:09.059Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-28T16:42:09.343Z] + ls -al . [2023-02-28T16:42:09.343Z] total 236 [2023-02-28T16:42:09.343Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 28 16:41 . [2023-02-28T16:42:09.343Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 16:40 .. [2023-02-28T16:42:09.343Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 28 16:41 .git [2023-02-28T16:42:09.343Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 16:40 .github [2023-02-28T16:42:09.343Z] -rw-rw-r-- 1 jenkins jenkins 496 Feb 28 16:40 .gitignore [2023-02-28T16:42:09.343Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 28 16:40 .golangci.yml [2023-02-28T16:42:09.343Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 28 16:40 .semver [2023-02-28T16:42:09.343Z] -rw-rw-r-- 1 jenkins jenkins 9857 Feb 28 16:40 Attribution.txt [2023-02-28T16:42:09.343Z] -rw-rw-r-- 1 jenkins jenkins 6312 Feb 28 16:40 CHANGELOG.md [2023-02-28T16:42:09.343Z] -rw-rw-r-- 1 jenkins jenkins 1574 Feb 28 16:40 Dockerfile [2023-02-28T16:42:09.343Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 28 16:40 GOVERNANCE.md [2023-02-28T16:42:09.343Z] -rw-rw-r-- 1 jenkins jenkins 734 Feb 28 16:40 Jenkinsfile [2023-02-28T16:42:09.343Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 28 16:40 LICENSE [2023-02-28T16:42:09.343Z] -rw-rw-r-- 1 jenkins jenkins 2577 Feb 28 16:40 Makefile [2023-02-28T16:42:09.343Z] -rw-rw-r-- 1 jenkins jenkins 625 Feb 28 16:40 OWNERS.md [2023-02-28T16:42:09.343Z] -rw-rw-r-- 1 jenkins jenkins 6595 Feb 28 16:40 README.md [2023-02-28T16:42:09.343Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 28 16:40 VERSION [2023-02-28T16:42:09.343Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 16:40 bin [2023-02-28T16:42:09.343Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 16:40 cmd [2023-02-28T16:42:09.343Z] -rw-r--r-- 1 jenkins jenkins 79184 Feb 28 16:41 coverage.out [2023-02-28T16:42:09.343Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 28 16:40 doc [2023-02-28T16:42:09.343Z] -rw-rw-r-- 1 jenkins jenkins 3600 Feb 28 16:40 go.mod [2023-02-28T16:42:09.343Z] -rw-rw-r-- 1 jenkins jenkins 34701 Feb 28 16:40 go.sum [2023-02-28T16:42:09.343Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 16:40 internal [2023-02-28T16:42:09.343Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 16:40 snap [2023-02-28T16:42:09.343Z] -rw-rw-r-- 1 jenkins jenkins 236 Feb 28 16:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:42:09.644Z] + 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=4a9e67fa37862f83ef90b637e6c765491ff37d3a --label arch=amd64 --label version=3.0.0-dev.16 . [2023-02-28T16:42:09.644Z] Sending build context to Docker daemon 27.84MB [2023-02-28T16:42:09.644Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T16:42:09.644Z] Step 2/26 : FROM ${BASE} AS builder [2023-02-28T16:42:09.644Z] ---> 4088ed1b2653 [2023-02-28T16:42:09.644Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-02-28T16:42:09.905Z] ---> Running in ec45faccb6ba [2023-02-28T16:42:09.905Z] Removing intermediate container ec45faccb6ba [2023-02-28T16:42:09.905Z] ---> bc2c6b415cc5 [2023-02-28T16:42:09.905Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-28T16:42:09.905Z] ---> Running in 9bee6f4ba143 [2023-02-28T16:42:09.905Z] Removing intermediate container 9bee6f4ba143 [2023-02-28T16:42:09.905Z] ---> e7ed0b05d3e0 [2023-02-28T16:42:09.905Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-02-28T16:42:10.164Z] ---> Running in 578cf69cf109 [2023-02-28T16:42:10.164Z] Removing intermediate container 578cf69cf109 [2023-02-28T16:42:10.164Z] ---> f6012b3f0e6e [2023-02-28T16:42:10.164Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-02-28T16:42:10.164Z] ---> Running in 36f9675a2a7f [2023-02-28T16:42:10.164Z] Removing intermediate container 36f9675a2a7f [2023-02-28T16:42:10.164Z] ---> 9274c7d06f9b [2023-02-28T16:42:10.164Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-02-28T16:42:10.164Z] ---> Running in b18d06b53740 [2023-02-28T16:42:10.423Z] Removing intermediate container b18d06b53740 [2023-02-28T16:42:10.423Z] ---> 958cf3e99156 [2023-02-28T16:42:10.423Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-28T16:42:10.423Z] ---> Running in 28df19a83931 [2023-02-28T16:42:10.682Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-28T16:42:10.682Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-28T16:42:10.941Z] OK: 211 MiB in 51 packages [2023-02-28T16:42:11.200Z] Removing intermediate container 28df19a83931 [2023-02-28T16:42:11.200Z] ---> 46c4fe04fa6a [2023-02-28T16:42:11.200Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-02-28T16:42:11.458Z] ---> Running in bf6fc1bb342f [2023-02-28T16:42:11.458Z] Removing intermediate container bf6fc1bb342f [2023-02-28T16:42:11.458Z] ---> be3a5ebdc3eb [2023-02-28T16:42:11.458Z] Step 10/26 : COPY go.mod vendor* ./ [2023-02-28T16:42:11.458Z] ---> ef33bb1a1dea [2023-02-28T16:42:11.458Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T16:42:11.458Z] ---> Running in b3954977abed [2023-02-28T16:42:12.395Z] Removing intermediate container b3954977abed [2023-02-28T16:42:12.395Z] ---> a61c160696e2 [2023-02-28T16:42:12.395Z] Step 12/26 : COPY . . [2023-02-28T16:42:12.962Z] ---> dbe0747701dd [2023-02-28T16:42:12.962Z] Step 13/26 : RUN ${MAKE} [2023-02-28T16:42:12.962Z] ---> Running in 0f8df4cba8d1 [2023-02-28T16:42:13.220Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.16" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-02-28T16:42:31.296Z] Removing intermediate container 0f8df4cba8d1 [2023-02-28T16:42:31.296Z] ---> 72e9c01cde77 [2023-02-28T16:42:31.296Z] Step 14/26 : FROM alpine:3.16 [2023-02-28T16:42:31.556Z] 3.16: Pulling from library/alpine [2023-02-28T16:42:31.556Z] ef5531b6e74e: Pulling fs layer [2023-02-28T16:42:31.815Z] ef5531b6e74e: Verifying Checksum [2023-02-28T16:42:31.815Z] ef5531b6e74e: Download complete [2023-02-28T16:42:32.074Z] ef5531b6e74e: Pull complete [2023-02-28T16:42:32.074Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-28T16:42:32.074Z] Status: Downloaded newer image for alpine:3.16 [2023-02-28T16:42:32.074Z] ---> dfd21b5a31f5 [2023-02-28T16:42:32.074Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-28T16:42:32.074Z] ---> Running in 2e2c04de81c5 [2023-02-28T16:42:32.074Z] Removing intermediate container 2e2c04de81c5 [2023-02-28T16:42:32.074Z] ---> 43e6eb82e278 [2023-02-28T16:42:32.074Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-02-28T16:42:32.074Z] ---> Running in ab9871f06579 [2023-02-28T16:42:32.332Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-28T16:42:32.592Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-28T16:42:32.852Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-28T16:42:32.852Z] Executing busybox-1.35.0-r17.trigger [2023-02-28T16:42:32.852Z] OK: 6 MiB in 15 packages [2023-02-28T16:42:33.110Z] Removing intermediate container ab9871f06579 [2023-02-28T16:42:33.110Z] ---> d76901796233 [2023-02-28T16:42:33.110Z] Step 17/26 : WORKDIR / [2023-02-28T16:42:33.110Z] ---> Running in fff697c4b321 [2023-02-28T16:42:33.367Z] Removing intermediate container fff697c4b321 [2023-02-28T16:42:33.367Z] ---> 05a81cfb981d [2023-02-28T16:42:33.367Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-02-28T16:42:33.625Z] ---> 8d8e7c54f839 [2023-02-28T16:42:33.625Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-02-28T16:42:33.882Z] ---> 38baf4014619 [2023-02-28T16:42:33.882Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-02-28T16:42:33.882Z] ---> bb728a581f01 [2023-02-28T16:42:33.882Z] Step 21/26 : EXPOSE 59984 [2023-02-28T16:42:33.882Z] ---> Running in 339b230dc330 [2023-02-28T16:42:34.141Z] Removing intermediate container 339b230dc330 [2023-02-28T16:42:34.141Z] ---> 42b16df2bff3 [2023-02-28T16:42:34.141Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-02-28T16:42:34.141Z] ---> Running in af66b92fed38 [2023-02-28T16:42:34.141Z] Removing intermediate container af66b92fed38 [2023-02-28T16:42:34.141Z] ---> 7d8fc362ac76 [2023-02-28T16:42:34.141Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-28T16:42:34.141Z] ---> Running in f8cf248b4336 [2023-02-28T16:42:34.141Z] Removing intermediate container f8cf248b4336 [2023-02-28T16:42:34.141Z] ---> 387d6e3e1a35 [2023-02-28T16:42:34.141Z] Step 24/26 : LABEL arch=amd64 [2023-02-28T16:42:34.400Z] ---> Running in 03418cf18395 [2023-02-28T16:42:34.400Z] Removing intermediate container 03418cf18395 [2023-02-28T16:42:34.400Z] ---> f9536ffb0cca [2023-02-28T16:42:34.400Z] Step 25/26 : LABEL git_sha=4a9e67fa37862f83ef90b637e6c765491ff37d3a [2023-02-28T16:42:34.400Z] ---> Running in ba97c7e3f386 [2023-02-28T16:42:34.400Z] Removing intermediate container ba97c7e3f386 [2023-02-28T16:42:34.400Z] ---> 7b07cf04c366 [2023-02-28T16:42:34.400Z] Step 26/26 : LABEL version=3.0.0-dev.16 [2023-02-28T16:42:34.400Z] ---> Running in 92fcd4d7dee6 [2023-02-28T16:42:34.659Z] Removing intermediate container 92fcd4d7dee6 [2023-02-28T16:42:34.659Z] ---> 489137f156c0 [2023-02-28T16:42:34.659Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-28T16:42:34.659Z] Successfully built 489137f156c0 [2023-02-28T16:42:34.659Z] 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-02-28T16:42:34.765Z] provisioning config files... [2023-02-28T16:42:34.775Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6049252347352469880tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T16:42:35.159Z] ---> docker-login.sh [2023-02-28T16:42:35.159Z] nexus3.edgexfoundry.org:10001 [2023-02-28T16:42:35.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T16:42:35.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T16:42:35.159Z] Configure a credential helper to remove this warning. See [2023-02-28T16:42:35.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T16:42:35.159Z] [2023-02-28T16:42:35.159Z] Login Succeeded [2023-02-28T16:42:35.159Z] nexus3.edgexfoundry.org:10002 [2023-02-28T16:42:35.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T16:42:35.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T16:42:35.159Z] Configure a credential helper to remove this warning. See [2023-02-28T16:42:35.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T16:42:35.159Z] [2023-02-28T16:42:35.159Z] Login Succeeded [2023-02-28T16:42:35.159Z] nexus3.edgexfoundry.org:10003 [2023-02-28T16:42:35.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T16:42:35.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T16:42:35.436Z] Configure a credential helper to remove this warning. See [2023-02-28T16:42:35.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T16:42:35.436Z] [2023-02-28T16:42:35.436Z] Login Succeeded [2023-02-28T16:42:35.436Z] nexus3.edgexfoundry.org:10004 [2023-02-28T16:42:35.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T16:42:35.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T16:42:35.436Z] Configure a credential helper to remove this warning. See [2023-02-28T16:42:35.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T16:42:35.436Z] [2023-02-28T16:42:35.436Z] Login Succeeded [2023-02-28T16:42:35.436Z] docker.io [2023-02-28T16:42:35.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T16:42:35.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T16:42:35.704Z] Configure a credential helper to remove this warning. See [2023-02-28T16:42:35.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T16:42:35.704Z] [2023-02-28T16:42:35.704Z] Login Succeeded [2023-02-28T16:42:35.704Z] ---> docker-login.sh ends [Pipeline] } [2023-02-28T16:42:35.726Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-28T16:42:35.752Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T16:42:35.767Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2023-02-28T16:42:35.767Z] 4a9e67fa37862f83ef90b637e6c765491ff37d3a [2023-02-28T16:42:35.767Z] latest [2023-02-28T16:42:35.767Z] 3.0.0-dev.16 [2023-02-28T16:42:35.767Z] 4a9e67fa37862f83ef90b637e6c765491ff37d3a-3.0.0-dev.16 [2023-02-28T16:42:35.767Z] main [2023-02-28T16:42:35.767Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:42:36.086Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:4a9e67fa37862f83ef90b637e6c765491ff37d3a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:42:36.398Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:4a9e67fa37862f83ef90b637e6c765491ff37d3a [2023-02-28T16:42:36.398Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-02-28T16:42:36.398Z] e6a49ad4ca20: Preparing [2023-02-28T16:42:36.398Z] bf1a5f96f398: Preparing [2023-02-28T16:42:36.398Z] 2e4ea3fce2e3: Preparing [2023-02-28T16:42:36.398Z] cb428fc834b8: Preparing [2023-02-28T16:42:36.398Z] aa5968d388b8: Preparing [2023-02-28T16:42:36.398Z] aa5968d388b8: Layer already exists [2023-02-28T16:42:36.966Z] cb428fc834b8: Pushed [2023-02-28T16:42:36.966Z] e6a49ad4ca20: Pushed [2023-02-28T16:42:36.966Z] bf1a5f96f398: Pushed [2023-02-28T16:42:38.872Z] 2e4ea3fce2e3: Pushed [2023-02-28T16:42:39.131Z] 4a9e67fa37862f83ef90b637e6c765491ff37d3a: digest: sha256:3b3cb303cc92f2c2ca3ae1516c97345ef67d2fd0147f55c6f1ce39dac0f8bf03 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:42:39.453Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:42:39.762Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-02-28T16:42:39.762Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-02-28T16:42:39.762Z] e6a49ad4ca20: Preparing [2023-02-28T16:42:39.762Z] bf1a5f96f398: Preparing [2023-02-28T16:42:39.762Z] 2e4ea3fce2e3: Preparing [2023-02-28T16:42:39.762Z] cb428fc834b8: Preparing [2023-02-28T16:42:39.762Z] aa5968d388b8: Preparing [2023-02-28T16:42:39.762Z] aa5968d388b8: Layer already exists [2023-02-28T16:42:39.762Z] cb428fc834b8: Layer already exists [2023-02-28T16:42:39.762Z] e6a49ad4ca20: Layer already exists [2023-02-28T16:42:39.762Z] bf1a5f96f398: Layer already exists [2023-02-28T16:42:39.762Z] 2e4ea3fce2e3: Layer already exists [2023-02-28T16:42:39.762Z] latest: digest: sha256:3b3cb303cc92f2c2ca3ae1516c97345ef67d2fd0147f55c6f1ce39dac0f8bf03 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:42:40.075Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:42:40.384Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.16 [2023-02-28T16:42:40.384Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-02-28T16:42:40.384Z] e6a49ad4ca20: Preparing [2023-02-28T16:42:40.384Z] bf1a5f96f398: Preparing [2023-02-28T16:42:40.384Z] 2e4ea3fce2e3: Preparing [2023-02-28T16:42:40.384Z] cb428fc834b8: Preparing [2023-02-28T16:42:40.384Z] aa5968d388b8: Preparing [2023-02-28T16:42:40.384Z] aa5968d388b8: Layer already exists [2023-02-28T16:42:40.384Z] 2e4ea3fce2e3: Layer already exists [2023-02-28T16:42:40.384Z] cb428fc834b8: Layer already exists [2023-02-28T16:42:40.384Z] e6a49ad4ca20: Layer already exists [2023-02-28T16:42:40.384Z] bf1a5f96f398: Layer already exists [2023-02-28T16:42:40.384Z] 3.0.0-dev.16: digest: sha256:3b3cb303cc92f2c2ca3ae1516c97345ef67d2fd0147f55c6f1ce39dac0f8bf03 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:42:40.694Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:4a9e67fa37862f83ef90b637e6c765491ff37d3a-3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:42:40.994Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:4a9e67fa37862f83ef90b637e6c765491ff37d3a-3.0.0-dev.16 [2023-02-28T16:42:40.994Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-02-28T16:42:40.994Z] e6a49ad4ca20: Preparing [2023-02-28T16:42:40.994Z] bf1a5f96f398: Preparing [2023-02-28T16:42:40.994Z] 2e4ea3fce2e3: Preparing [2023-02-28T16:42:40.994Z] cb428fc834b8: Preparing [2023-02-28T16:42:40.994Z] aa5968d388b8: Preparing [2023-02-28T16:42:40.994Z] aa5968d388b8: Layer already exists [2023-02-28T16:42:40.994Z] bf1a5f96f398: Layer already exists [2023-02-28T16:42:40.994Z] e6a49ad4ca20: Layer already exists [2023-02-28T16:42:40.994Z] cb428fc834b8: Layer already exists [2023-02-28T16:42:40.994Z] 2e4ea3fce2e3: Layer already exists [2023-02-28T16:42:40.994Z] 4a9e67fa37862f83ef90b637e6c765491ff37d3a-3.0.0-dev.16: digest: sha256:3b3cb303cc92f2c2ca3ae1516c97345ef67d2fd0147f55c6f1ce39dac0f8bf03 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:42:41.309Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:42:41.614Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2023-02-28T16:42:41.614Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-02-28T16:42:41.614Z] e6a49ad4ca20: Preparing [2023-02-28T16:42:41.614Z] bf1a5f96f398: Preparing [2023-02-28T16:42:41.614Z] 2e4ea3fce2e3: Preparing [2023-02-28T16:42:41.614Z] cb428fc834b8: Preparing [2023-02-28T16:42:41.614Z] aa5968d388b8: Preparing [2023-02-28T16:42:41.614Z] bf1a5f96f398: Layer already exists [2023-02-28T16:42:41.614Z] aa5968d388b8: Layer already exists [2023-02-28T16:42:41.614Z] cb428fc834b8: Layer already exists [2023-02-28T16:42:41.614Z] 2e4ea3fce2e3: Layer already exists [2023-02-28T16:42:41.614Z] e6a49ad4ca20: Layer already exists [2023-02-28T16:42:41.614Z] main: digest: sha256:3b3cb303cc92f2c2ca3ae1516c97345ef67d2fd0147f55c6f1ce39dac0f8bf03 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-28T16:42:41.652Z] ===================================================== [Pipeline] echo [2023-02-28T16:42:41.659Z] taggedImages: [2023-02-28T16:42:41.659Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:4a9e67fa37862f83ef90b637e6c765491ff37d3a [2023-02-28T16:42:41.659Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-02-28T16:42:41.659Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.16 [2023-02-28T16:42:41.659Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:4a9e67fa37862f83ef90b637e6c765491ff37d3a-3.0.0-dev.16 [2023-02-28T16:42:41.659Z] - 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-02-28T16:42:42.018Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T16:42:42.018Z] [2023-02-28T16:42:42.018Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:42:42.327Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T16:42:42.327Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-28T16:42:42.327Z] 5eb5b503b376: Pulling fs layer [2023-02-28T16:42:42.327Z] 5c69ac0246d0: Pulling fs layer [2023-02-28T16:42:42.327Z] ec43610c2a17: Pulling fs layer [2023-02-28T16:42:42.327Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-28T16:42:42.327Z] 33b1e0a273af: Pulling fs layer [2023-02-28T16:42:42.327Z] 5d3b04190fa2: Pulling fs layer [2023-02-28T16:42:42.327Z] 2f39f015ded8: Pulling fs layer [2023-02-28T16:42:42.327Z] 33b1e0a273af: Waiting [2023-02-28T16:42:42.327Z] 3a2ae6a8a46f: Waiting [2023-02-28T16:42:42.327Z] 5d3b04190fa2: Waiting [2023-02-28T16:42:42.327Z] 2f39f015ded8: Waiting [2023-02-28T16:42:42.327Z] 5c69ac0246d0: Verifying Checksum [2023-02-28T16:42:42.327Z] 5c69ac0246d0: Download complete [2023-02-28T16:42:42.327Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-28T16:42:42.327Z] 3a2ae6a8a46f: Download complete [2023-02-28T16:42:42.589Z] 33b1e0a273af: Verifying Checksum [2023-02-28T16:42:42.589Z] 33b1e0a273af: Download complete [2023-02-28T16:42:42.589Z] ec43610c2a17: Verifying Checksum [2023-02-28T16:42:42.589Z] ec43610c2a17: Download complete [2023-02-28T16:42:42.589Z] 5d3b04190fa2: Verifying Checksum [2023-02-28T16:42:42.589Z] 5d3b04190fa2: Download complete [2023-02-28T16:42:42.589Z] 5eb5b503b376: Verifying Checksum [2023-02-28T16:42:42.589Z] 5eb5b503b376: Download complete [2023-02-28T16:42:43.155Z] 2f39f015ded8: Verifying Checksum [2023-02-28T16:42:43.155Z] 2f39f015ded8: Download complete [2023-02-28T16:42:43.722Z] 5eb5b503b376: Pull complete [2023-02-28T16:42:43.980Z] 5c69ac0246d0: Pull complete [2023-02-28T16:42:44.238Z] ec43610c2a17: Pull complete [2023-02-28T16:42:44.498Z] 3a2ae6a8a46f: Pull complete [2023-02-28T16:42:44.498Z] 33b1e0a273af: Pull complete [2023-02-28T16:42:44.498Z] 5d3b04190fa2: Pull complete [2023-02-28T16:42:48.689Z] 2f39f015ded8: Pull complete [2023-02-28T16:42:48.689Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-28T16:42:48.689Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T16:42:48.689Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T16:42:48.774Z] prd-ubuntu20.04-docker-8c-8g-7754 does not seem to be running inside a container [2023-02-28T16:42:48.809Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-28T16:42:50.186Z] $ docker top a11a59a4ef0315733560160b4520c29d2f2e1df8fbef45a94e4dc93f2988a91f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T16:42:50.561Z] ---> job-cost.sh [2023-02-28T16:42:50.561Z] lf-activate-venv: SKIPPING [2023-02-28T16:42:50.561Z] INFO: No Stack... [2023-02-28T16:42:50.819Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-28T16:42:51.078Z] INFO: Archiving Costs [Pipeline] sh [2023-02-28T16:42:51.629Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2023-02-28T16:42:51.629Z] + cut -d, -f6 [Pipeline] lock [2023-02-28T16:42:51.646Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-105-stack-cost] [2023-02-28T16:42:51.660Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-105-stack-cost] did not exist. Created. [2023-02-28T16:42:51.660Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-105-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-28T16:42:51.959Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-28T16:42:51.989Z] Stashed 1 file(s) [Pipeline] } [2023-02-28T16:42:51.995Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-105-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-28T16:42:52.016Z] $ docker stop --time=1 a11a59a4ef0315733560160b4520c29d2f2e1df8fbef45a94e4dc93f2988a91f [2023-02-28T16:42:53.177Z] $ docker rm -f --volumes a11a59a4ef0315733560160b4520c29d2f2e1df8fbef45a94e4dc93f2988a91f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-28T16:44:47.058Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7755 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2023-02-28T16:44:47.073Z] Running in /w/workspace/device-onvif-camera/105 [Pipeline] { [Pipeline] checkout [2023-02-28T16:44:47.110Z] The recommended git tool is: git [2023-02-28T16:44:52.979Z] using credential edgex-jenkins-ssh [2023-02-28T16:44:53.002Z] Cloning the remote Git repository [2023-02-28T16:44:53.050Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-28T16:44:53.142Z] > git init /w/workspace/device-onvif-camera/105 # timeout=10 [2023-02-28T16:44:53.341Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-28T16:44:53.342Z] > git --version # timeout=10 [2023-02-28T16:44:53.369Z] > git --version # 'git version 2.25.1' [2023-02-28T16:44:53.370Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-28T16:44:53.425Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-28T16:44:54.933Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-02-28T16:44:54.961Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-28T16:44:55.931Z] Avoid second fetch [2023-02-28T16:44:55.931Z] Checking out Revision 4a9e67fa37862f83ef90b637e6c765491ff37d3a (main) [2023-02-28T16:44:56.691Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#234)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-28T16:44:55.942Z] > git config core.sparsecheckout # timeout=10 [2023-02-28T16:44:55.961Z] > git checkout -f 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 [2023-02-28T16:44:57.683Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-28T16:44:57.683Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T16:44:57.684Z] Dload Upload Total Spent Left Speed [2023-02-28T16:44:57.684Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh [2023-02-28T16:44:58.401Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-28T16:44:58.739Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-28T16:44:58.739Z] + sudo tee /etc/docker/daemon.new [2023-02-28T16:44:58.739Z] { [2023-02-28T16:44:58.739Z] "registry-mirrors": [ [2023-02-28T16:44:58.739Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-28T16:44:58.739Z] ], [2023-02-28T16:44:58.739Z] "bip": "10.250.0.254/24", [2023-02-28T16:44:58.739Z] "hosts": [ [2023-02-28T16:44:58.739Z] "tcp://0.0.0.0:5555", [2023-02-28T16:44:58.739Z] "unix:///var/run/docker.sock" [2023-02-28T16:44:58.739Z] ], [2023-02-28T16:44:58.739Z] "mtu": 1458, [2023-02-28T16:44:58.739Z] "selinux-enabled": true, [2023-02-28T16:44:58.739Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-28T16:44:58.739Z] } [Pipeline] sh [2023-02-28T16:44:59.087Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-28T16:44:59.447Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T16:45:17.736Z] provisioning config files... [2023-02-28T16:45:17.759Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/105@tmp/config10892977439741011461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T16:45:18.109Z] ---> docker-login.sh [2023-02-28T16:45:18.109Z] nexus3.edgexfoundry.org:10001 [2023-02-28T16:45:18.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T16:45:18.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T16:45:18.695Z] Configure a credential helper to remove this warning. See [2023-02-28T16:45:18.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T16:45:18.695Z] [2023-02-28T16:45:18.695Z] Login Succeeded [2023-02-28T16:45:18.695Z] nexus3.edgexfoundry.org:10002 [2023-02-28T16:45:18.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T16:45:19.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T16:45:19.231Z] Configure a credential helper to remove this warning. See [2023-02-28T16:45:19.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T16:45:19.231Z] [2023-02-28T16:45:19.231Z] Login Succeeded [2023-02-28T16:45:19.231Z] nexus3.edgexfoundry.org:10003 [2023-02-28T16:45:19.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T16:45:19.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T16:45:19.500Z] Configure a credential helper to remove this warning. See [2023-02-28T16:45:19.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T16:45:19.500Z] [2023-02-28T16:45:19.500Z] Login Succeeded [2023-02-28T16:45:19.500Z] nexus3.edgexfoundry.org:10004 [2023-02-28T16:45:19.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T16:45:19.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T16:45:19.769Z] Configure a credential helper to remove this warning. See [2023-02-28T16:45:19.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T16:45:19.769Z] [2023-02-28T16:45:19.769Z] Login Succeeded [2023-02-28T16:45:19.769Z] docker.io [2023-02-28T16:45:20.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T16:45:20.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T16:45:20.307Z] Configure a credential helper to remove this warning. See [2023-02-28T16:45:20.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T16:45:20.307Z] [2023-02-28T16:45:20.307Z] Login Succeeded [2023-02-28T16:45:20.307Z] ---> docker-login.sh ends [Pipeline] } [2023-02-28T16:45:20.321Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-28T16:45:20.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T16:45:20.630Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T16:45:20.642Z] ========================================================= [2023-02-28T16:45:20.642Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-28T16:45:20.642Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:45:21.001Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-28T16:45:21.588Z] Sending build context to Docker daemon 20.57MB [2023-02-28T16:45:21.588Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T16:45:21.588Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-28T16:45:21.856Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-28T16:45:21.856Z] 9b18e9b68314: Pulling fs layer [2023-02-28T16:45:21.856Z] 35d82f9e3411: Pulling fs layer [2023-02-28T16:45:21.856Z] e16973657156: Pulling fs layer [2023-02-28T16:45:21.856Z] fc693d55d65f: Pulling fs layer [2023-02-28T16:45:21.856Z] 7e9fc2657dce: Pulling fs layer [2023-02-28T16:45:21.856Z] dda99020689f: Pulling fs layer [2023-02-28T16:45:21.856Z] db1c61fa0a46: Pulling fs layer [2023-02-28T16:45:21.856Z] 891c053d2c06: Pulling fs layer [2023-02-28T16:45:21.856Z] fc693d55d65f: Waiting [2023-02-28T16:45:21.856Z] dda99020689f: Waiting [2023-02-28T16:45:21.856Z] db1c61fa0a46: Waiting [2023-02-28T16:45:21.856Z] 891c053d2c06: Waiting [2023-02-28T16:45:21.856Z] 7e9fc2657dce: Waiting [2023-02-28T16:45:21.856Z] e16973657156: Verifying Checksum [2023-02-28T16:45:21.856Z] e16973657156: Download complete [2023-02-28T16:45:21.856Z] 35d82f9e3411: Verifying Checksum [2023-02-28T16:45:21.856Z] 35d82f9e3411: Download complete [2023-02-28T16:45:21.856Z] 7e9fc2657dce: Verifying Checksum [2023-02-28T16:45:21.856Z] 7e9fc2657dce: Download complete [2023-02-28T16:45:21.856Z] dda99020689f: Verifying Checksum [2023-02-28T16:45:21.856Z] 9b18e9b68314: Verifying Checksum [2023-02-28T16:45:21.856Z] 9b18e9b68314: Download complete [2023-02-28T16:45:22.824Z] 9b18e9b68314: Pull complete [2023-02-28T16:45:23.094Z] 891c053d2c06: Verifying Checksum [2023-02-28T16:45:23.094Z] 891c053d2c06: Download complete [2023-02-28T16:45:23.363Z] 35d82f9e3411: Pull complete [2023-02-28T16:45:23.645Z] e16973657156: Pull complete [2023-02-28T16:45:24.232Z] db1c61fa0a46: Verifying Checksum [2023-02-28T16:45:24.232Z] db1c61fa0a46: Download complete [2023-02-28T16:45:24.817Z] fc693d55d65f: Verifying Checksum [2023-02-28T16:45:24.817Z] fc693d55d65f: Download complete [2023-02-28T16:45:37.139Z] fc693d55d65f: Pull complete [2023-02-28T16:45:37.139Z] 7e9fc2657dce: Pull complete [2023-02-28T16:45:37.139Z] dda99020689f: Pull complete [2023-02-28T16:45:42.480Z] db1c61fa0a46: Pull complete [2023-02-28T16:45:43.910Z] 891c053d2c06: Pull complete [2023-02-28T16:45:43.910Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-28T16:45:43.910Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-28T16:45:43.910Z] ---> f96f9c87975a [2023-02-28T16:45:43.910Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-28T16:45:45.859Z] ---> Running in 1cee3d924ab9 [2023-02-28T16:45:46.127Z] Removing intermediate container 1cee3d924ab9 [2023-02-28T16:45:46.127Z] ---> 852cd457787b [2023-02-28T16:45:46.127Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-28T16:45:46.127Z] ---> Running in 286ec74ef449 [2023-02-28T16:45:46.393Z] Removing intermediate container 286ec74ef449 [2023-02-28T16:45:46.393Z] ---> 4257e4be85b4 [2023-02-28T16:45:46.393Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-28T16:45:46.393Z] ---> Running in b11a1b7470b4 [2023-02-28T16:45:46.661Z] Removing intermediate container b11a1b7470b4 [2023-02-28T16:45:46.661Z] ---> 2171b2b6ffdf [2023-02-28T16:45:46.661Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-28T16:45:46.928Z] ---> Running in 1313bb0baf40 [2023-02-28T16:45:47.195Z] Removing intermediate container 1313bb0baf40 [2023-02-28T16:45:47.195Z] ---> d77fb83deab7 [2023-02-28T16:45:47.195Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-28T16:45:47.195Z] ---> Running in 1d23d62ebf6c [2023-02-28T16:45:47.464Z] Removing intermediate container 1d23d62ebf6c [2023-02-28T16:45:47.464Z] ---> f3efde49f362 [2023-02-28T16:45:47.464Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-28T16:45:47.464Z] ---> Running in e3157cd8e9b3 [2023-02-28T16:45:48.878Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-28T16:45:48.878Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-28T16:45:49.840Z] OK: 221 MiB in 51 packages [2023-02-28T16:45:50.804Z] Removing intermediate container e3157cd8e9b3 [2023-02-28T16:45:50.804Z] ---> afe160cfc395 [2023-02-28T16:45:50.804Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-28T16:45:50.804Z] ---> Running in 8f974a6bbb19 [2023-02-28T16:45:51.072Z] Removing intermediate container 8f974a6bbb19 [2023-02-28T16:45:51.072Z] ---> ce390d4cbe4d [2023-02-28T16:45:51.072Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-28T16:45:51.339Z] ---> 57aa39a971a8 [2023-02-28T16:45:51.339Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T16:45:51.607Z] ---> Running in 3f92fc8c2dac [2023-02-28T16:46:59.553Z] Removing intermediate container 3f92fc8c2dac [2023-02-28T16:46:59.553Z] ---> 6f194d88488b [2023-02-28T16:46:59.553Z] Step 12/13 : COPY . . [2023-02-28T16:46:59.553Z] ---> dba5071f9fc1 [2023-02-28T16:46:59.553Z] Step 13/13 : RUN ${MAKE} [2023-02-28T16:46:59.553Z] ---> Running in 6cc697ece574 [2023-02-28T16:46:59.553Z] noop [2023-02-28T16:46:59.553Z] Removing intermediate container 6cc697ece574 [2023-02-28T16:46:59.553Z] ---> 29c4ea295988 [2023-02-28T16:46:59.553Z] Successfully built 29c4ea295988 [2023-02-28T16:46:59.553Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:46:59.932Z] + docker inspect -f . ci-base-image-arm64 [2023-02-28T16:46:59.932Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T16:47:00.126Z] prd-ubuntu20.04-docker-arm64-4c-16g-7755 does not seem to be running inside a container [2023-02-28T16:47:00.202Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/105 -v /w/workspace/device-onvif-camera/105:/w/workspace/device-onvif-camera/105:rw,z -v /w/workspace/device-onvif-camera/105@tmp:/w/workspace/device-onvif-camera/105@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-02-28T16:47:03.677Z] $ docker top 8c849a4bf08b7a8b41045606efdcc1c7ee63139c8d09858d8b23fb95d8a403a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T16:47:04.534Z] + go version [2023-02-28T16:47:04.534Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-28T16:47:04.559Z] $ docker stop --time=1 8c849a4bf08b7a8b41045606efdcc1c7ee63139c8d09858d8b23fb95d8a403a1 [2023-02-28T16:47:06.163Z] $ docker rm -f --volumes 8c849a4bf08b7a8b41045606efdcc1c7ee63139c8d09858d8b23fb95d8a403a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:47:06.703Z] + docker inspect -f . ci-base-image-arm64 [2023-02-28T16:47:06.703Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T16:47:06.891Z] prd-ubuntu20.04-docker-arm64-4c-16g-7755 does not seem to be running inside a container [2023-02-28T16:47:06.964Z] $ 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/105 -v /w/workspace/device-onvif-camera/105:/w/workspace/device-onvif-camera/105:rw,z -v /w/workspace/device-onvif-camera/105@tmp:/w/workspace/device-onvif-camera/105@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-02-28T16:47:08.094Z] $ docker top 1e71c4a516172d670ebb60cbca9b1ab043ad330c23acc20a1169b9ad0d71911b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T16:47:08.586Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/105 [Pipeline] fileExists [Pipeline] sh [2023-02-28T16:47:09.502Z] + make test [2023-02-28T16:47:09.502Z] go test ./... -coverprofile=coverage.out ./... [2023-02-28T16:47:11.443Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-28T16:48:48.092Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-02-28T16:48:50.054Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.198s coverage: 29.3% of statements [2023-02-28T16:48:50.054Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-02-28T16:49:08.308Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.422s coverage: 86.5% of statements [2023-02-28T16:49:08.576Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-28T16:49:08.576Z] go vet ./... [2023-02-28T16:49:35.269Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-28T16:49:35.269Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-28T16:49:35.269Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-28T16:49:35.287Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-28T16:49:35.309Z] $ docker stop --time=1 1e71c4a516172d670ebb60cbca9b1ab043ad330c23acc20a1169b9ad0d71911b [2023-02-28T16:49:37.014Z] $ docker rm -f --volumes 1e71c4a516172d670ebb60cbca9b1ab043ad330c23acc20a1169b9ad0d71911b [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-28T16:49:38.016Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-28T16:49:38.040Z] Warning: overwriting stash ‘coverage-report’ [2023-02-28T16:49:38.574Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-28T16:49:38.958Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-28T16:49:39.276Z] + ls -al . [2023-02-28T16:49:39.276Z] total 232 [2023-02-28T16:49:39.276Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 28 16:47 . [2023-02-28T16:49:39.276Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 16:44 .. [2023-02-28T16:49:39.276Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 28 16:44 .git [2023-02-28T16:49:39.276Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 16:44 .github [2023-02-28T16:49:39.276Z] -rw-rw-r-- 1 jenkins jenkins 496 Feb 28 16:44 .gitignore [2023-02-28T16:49:39.276Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 28 16:44 .golangci.yml [2023-02-28T16:49:39.276Z] -rw-rw-r-- 1 jenkins jenkins 9857 Feb 28 16:44 Attribution.txt [2023-02-28T16:49:39.276Z] -rw-rw-r-- 1 jenkins jenkins 6312 Feb 28 16:44 CHANGELOG.md [2023-02-28T16:49:39.276Z] -rw-rw-r-- 1 jenkins jenkins 1574 Feb 28 16:44 Dockerfile [2023-02-28T16:49:39.276Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 28 16:44 GOVERNANCE.md [2023-02-28T16:49:39.276Z] -rw-rw-r-- 1 jenkins jenkins 734 Feb 28 16:44 Jenkinsfile [2023-02-28T16:49:39.276Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 28 16:44 LICENSE [2023-02-28T16:49:39.276Z] -rw-rw-r-- 1 jenkins jenkins 2577 Feb 28 16:44 Makefile [2023-02-28T16:49:39.276Z] -rw-rw-r-- 1 jenkins jenkins 625 Feb 28 16:44 OWNERS.md [2023-02-28T16:49:39.276Z] -rw-rw-r-- 1 jenkins jenkins 6595 Feb 28 16:44 README.md [2023-02-28T16:49:39.276Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 28 16:40 VERSION [2023-02-28T16:49:39.276Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 16:44 bin [2023-02-28T16:49:39.276Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 16:44 cmd [2023-02-28T16:49:39.276Z] -rw-r--r-- 1 jenkins jenkins 79184 Feb 28 16:49 coverage.out [2023-02-28T16:49:39.276Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 28 16:44 doc [2023-02-28T16:49:39.276Z] -rw-rw-r-- 1 jenkins jenkins 3600 Feb 28 16:44 go.mod [2023-02-28T16:49:39.276Z] -rw-rw-r-- 1 jenkins jenkins 34701 Feb 28 16:44 go.sum [2023-02-28T16:49:39.276Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 16:44 internal [2023-02-28T16:49:39.276Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 16:44 snap [2023-02-28T16:49:39.276Z] -rw-rw-r-- 1 jenkins jenkins 236 Feb 28 16:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:49:39.615Z] + 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=4a9e67fa37862f83ef90b637e6c765491ff37d3a --label arch=arm64 --label version=3.0.0-dev.16 . [2023-02-28T16:49:40.199Z] Sending build context to Docker daemon 20.65MB [2023-02-28T16:49:40.199Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T16:49:40.199Z] Step 2/26 : FROM ${BASE} AS builder [2023-02-28T16:49:40.199Z] ---> 29c4ea295988 [2023-02-28T16:49:40.199Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-02-28T16:49:40.199Z] ---> Running in dac28409e4ec [2023-02-28T16:49:40.785Z] Removing intermediate container dac28409e4ec [2023-02-28T16:49:40.785Z] ---> f55a723c65a0 [2023-02-28T16:49:40.785Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-28T16:49:40.785Z] ---> Running in dc5dca5ef118 [2023-02-28T16:49:41.053Z] Removing intermediate container dc5dca5ef118 [2023-02-28T16:49:41.053Z] ---> cb3f9a8878eb [2023-02-28T16:49:41.053Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-02-28T16:49:41.053Z] ---> Running in ba3e764dce49 [2023-02-28T16:49:41.320Z] Removing intermediate container ba3e764dce49 [2023-02-28T16:49:41.320Z] ---> a9669c4083b9 [2023-02-28T16:49:41.320Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-02-28T16:49:41.320Z] ---> Running in 7a051934fc11 [2023-02-28T16:49:41.906Z] Removing intermediate container 7a051934fc11 [2023-02-28T16:49:41.906Z] ---> 8608d1b81e74 [2023-02-28T16:49:41.906Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-02-28T16:49:41.906Z] ---> Running in 4e3b324f3266 [2023-02-28T16:49:42.180Z] Removing intermediate container 4e3b324f3266 [2023-02-28T16:49:42.180Z] ---> 5d8250fc6a9e [2023-02-28T16:49:42.180Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-28T16:49:42.180Z] ---> Running in 2b1633ab7991 [2023-02-28T16:49:43.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-28T16:49:43.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-28T16:49:44.749Z] OK: 221 MiB in 51 packages [2023-02-28T16:49:45.718Z] Removing intermediate container 2b1633ab7991 [2023-02-28T16:49:45.718Z] ---> 9079824109dd [2023-02-28T16:49:45.718Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-02-28T16:49:45.718Z] ---> Running in 0a81c8a6a82c [2023-02-28T16:49:45.985Z] Removing intermediate container 0a81c8a6a82c [2023-02-28T16:49:45.985Z] ---> 80d1f717f11a [2023-02-28T16:49:45.985Z] Step 10/26 : COPY go.mod vendor* ./ [2023-02-28T16:49:46.568Z] ---> 1c25c8e8e957 [2023-02-28T16:49:46.568Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T16:49:46.568Z] ---> Running in 6c0c449d8e8c [2023-02-28T16:49:49.157Z] Removing intermediate container 6c0c449d8e8c [2023-02-28T16:49:49.157Z] ---> 242ffdec669e [2023-02-28T16:49:49.157Z] Step 12/26 : COPY . . [2023-02-28T16:49:54.500Z] ---> 4d9419dfada4 [2023-02-28T16:49:54.500Z] Step 13/26 : RUN ${MAKE} [2023-02-28T16:49:54.500Z] ---> Running in becf9cd30799 [2023-02-28T16:49:54.769Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.16" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-02-28T16:52:16.520Z] Removing intermediate container becf9cd30799 [2023-02-28T16:52:16.520Z] ---> 23ab67c9be83 [2023-02-28T16:52:16.520Z] Step 14/26 : FROM alpine:3.16 [2023-02-28T16:52:16.520Z] 3.16: Pulling from library/alpine [2023-02-28T16:52:16.520Z] 3760b48202b3: Pulling fs layer [2023-02-28T16:52:16.520Z] 3760b48202b3: Verifying Checksum [2023-02-28T16:52:16.520Z] 3760b48202b3: Download complete [2023-02-28T16:52:16.520Z] 3760b48202b3: Pull complete [2023-02-28T16:52:16.520Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-28T16:52:16.520Z] Status: Downloaded newer image for alpine:3.16 [2023-02-28T16:52:16.520Z] ---> 4c81e5bf8899 [2023-02-28T16:52:16.520Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-28T16:52:16.520Z] ---> Running in 959bafc99bbf [2023-02-28T16:52:16.520Z] Removing intermediate container 959bafc99bbf [2023-02-28T16:52:16.520Z] ---> 2f253e2d54ef [2023-02-28T16:52:16.520Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-02-28T16:52:16.520Z] ---> Running in 3d04aed65bb3 [2023-02-28T16:52:16.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-28T16:52:16.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-28T16:52:16.520Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-28T16:52:16.520Z] Executing busybox-1.35.0-r17.trigger [2023-02-28T16:52:16.520Z] OK: 5 MiB in 15 packages [2023-02-28T16:52:16.520Z] Removing intermediate container 3d04aed65bb3 [2023-02-28T16:52:16.520Z] ---> f4ee0efa9a13 [2023-02-28T16:52:16.520Z] Step 17/26 : WORKDIR / [2023-02-28T16:52:16.520Z] ---> Running in 48e71a55009a [2023-02-28T16:52:16.520Z] Removing intermediate container 48e71a55009a [2023-02-28T16:52:16.520Z] ---> 56a242e2fc41 [2023-02-28T16:52:16.520Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-02-28T16:52:16.520Z] ---> 15f17500a322 [2023-02-28T16:52:16.520Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-02-28T16:52:16.520Z] ---> da6fb5ef70b7 [2023-02-28T16:52:16.520Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-02-28T16:52:16.520Z] ---> 2a5fadff9241 [2023-02-28T16:52:16.520Z] Step 21/26 : EXPOSE 59984 [2023-02-28T16:52:16.520Z] ---> Running in aa611c0ef732 [2023-02-28T16:52:16.792Z] Removing intermediate container aa611c0ef732 [2023-02-28T16:52:16.792Z] ---> a8b4812c9f53 [2023-02-28T16:52:16.792Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-02-28T16:52:16.792Z] ---> Running in afe27fa9789d [2023-02-28T16:52:17.061Z] Removing intermediate container afe27fa9789d [2023-02-28T16:52:17.061Z] ---> e60a61d69bb9 [2023-02-28T16:52:17.061Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-28T16:52:17.328Z] ---> Running in fec54c7aeaa4 [2023-02-28T16:52:17.605Z] Removing intermediate container fec54c7aeaa4 [2023-02-28T16:52:17.605Z] ---> dc861e7fdd75 [2023-02-28T16:52:17.605Z] Step 24/26 : LABEL arch=arm64 [2023-02-28T16:52:17.605Z] ---> Running in 18c21307e7be [2023-02-28T16:52:17.873Z] Removing intermediate container 18c21307e7be [2023-02-28T16:52:17.873Z] ---> 18856a3d7ac2 [2023-02-28T16:52:17.873Z] Step 25/26 : LABEL git_sha=4a9e67fa37862f83ef90b637e6c765491ff37d3a [2023-02-28T16:52:17.873Z] ---> Running in b682c7747f5c [2023-02-28T16:52:18.143Z] Removing intermediate container b682c7747f5c [2023-02-28T16:52:18.143Z] ---> 9ac079faaa81 [2023-02-28T16:52:18.143Z] Step 26/26 : LABEL version=3.0.0-dev.16 [2023-02-28T16:52:18.143Z] ---> Running in acefa96a7b3b [2023-02-28T16:52:18.414Z] Removing intermediate container acefa96a7b3b [2023-02-28T16:52:18.414Z] ---> ebf2b7edea52 [2023-02-28T16:52:18.414Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-28T16:52:18.683Z] Successfully built ebf2b7edea52 [2023-02-28T16:52:18.683Z] 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-02-28T16:52:18.792Z] provisioning config files... [2023-02-28T16:52:18.806Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/105@tmp/config12430679166234907404tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T16:52:19.157Z] ---> docker-login.sh [2023-02-28T16:52:19.157Z] nexus3.edgexfoundry.org:10001 [2023-02-28T16:52:19.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T16:52:19.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T16:52:19.423Z] Configure a credential helper to remove this warning. See [2023-02-28T16:52:19.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T16:52:19.423Z] [2023-02-28T16:52:19.423Z] Login Succeeded [2023-02-28T16:52:19.423Z] nexus3.edgexfoundry.org:10002 [2023-02-28T16:52:19.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T16:52:19.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T16:52:19.688Z] Configure a credential helper to remove this warning. See [2023-02-28T16:52:19.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T16:52:19.688Z] [2023-02-28T16:52:19.688Z] Login Succeeded [2023-02-28T16:52:19.688Z] nexus3.edgexfoundry.org:10003 [2023-02-28T16:52:19.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T16:52:19.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T16:52:19.955Z] Configure a credential helper to remove this warning. See [2023-02-28T16:52:19.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T16:52:19.955Z] [2023-02-28T16:52:19.955Z] Login Succeeded [2023-02-28T16:52:19.955Z] nexus3.edgexfoundry.org:10004 [2023-02-28T16:52:20.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T16:52:20.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T16:52:20.487Z] Configure a credential helper to remove this warning. See [2023-02-28T16:52:20.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T16:52:20.487Z] [2023-02-28T16:52:20.487Z] Login Succeeded [2023-02-28T16:52:20.487Z] docker.io [2023-02-28T16:52:20.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T16:52:21.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T16:52:21.019Z] Configure a credential helper to remove this warning. See [2023-02-28T16:52:21.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T16:52:21.019Z] [2023-02-28T16:52:21.019Z] Login Succeeded [2023-02-28T16:52:21.019Z] ---> docker-login.sh ends [Pipeline] } [2023-02-28T16:52:21.031Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-28T16:52:21.058Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T16:52:21.073Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2023-02-28T16:52:21.073Z] 4a9e67fa37862f83ef90b637e6c765491ff37d3a [2023-02-28T16:52:21.074Z] latest [2023-02-28T16:52:21.074Z] 3.0.0-dev.16 [2023-02-28T16:52:21.074Z] 4a9e67fa37862f83ef90b637e6c765491ff37d3a-3.0.0-dev.16 [2023-02-28T16:52:21.074Z] main [2023-02-28T16:52:21.074Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:52:21.407Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4a9e67fa37862f83ef90b637e6c765491ff37d3a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:52:21.745Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4a9e67fa37862f83ef90b637e6c765491ff37d3a [2023-02-28T16:52:21.745Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-02-28T16:52:21.745Z] 596297a0076d: Preparing [2023-02-28T16:52:21.745Z] 6adfe313a5df: Preparing [2023-02-28T16:52:21.745Z] b6caf0ba6287: Preparing [2023-02-28T16:52:21.745Z] 729d8b06b6aa: Preparing [2023-02-28T16:52:21.745Z] f70ee36035b9: Preparing [2023-02-28T16:52:21.745Z] f70ee36035b9: Layer already exists [2023-02-28T16:52:22.013Z] 596297a0076d: Pushed [2023-02-28T16:52:22.013Z] 6adfe313a5df: Pushed [2023-02-28T16:52:22.013Z] 729d8b06b6aa: Pushed [2023-02-28T16:52:27.347Z] b6caf0ba6287: Pushed [2023-02-28T16:52:27.347Z] 4a9e67fa37862f83ef90b637e6c765491ff37d3a: digest: sha256:294d2f99f5776d85920b09893401354290de9943aa73b6253116e97ade1c0fda size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:52:27.692Z] + 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-02-28T16:52:28.029Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2023-02-28T16:52:28.029Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-02-28T16:52:28.029Z] 596297a0076d: Preparing [2023-02-28T16:52:28.029Z] 6adfe313a5df: Preparing [2023-02-28T16:52:28.029Z] b6caf0ba6287: Preparing [2023-02-28T16:52:28.029Z] 729d8b06b6aa: Preparing [2023-02-28T16:52:28.029Z] f70ee36035b9: Preparing [2023-02-28T16:52:28.029Z] f70ee36035b9: Layer already exists [2023-02-28T16:52:28.029Z] 6adfe313a5df: Layer already exists [2023-02-28T16:52:28.029Z] 729d8b06b6aa: Layer already exists [2023-02-28T16:52:28.029Z] 596297a0076d: Layer already exists [2023-02-28T16:52:28.029Z] b6caf0ba6287: Layer already exists [2023-02-28T16:52:28.029Z] latest: digest: sha256:294d2f99f5776d85920b09893401354290de9943aa73b6253116e97ade1c0fda size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:52:28.653Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:52:28.988Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.16 [2023-02-28T16:52:28.988Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-02-28T16:52:28.988Z] 596297a0076d: Preparing [2023-02-28T16:52:28.988Z] 6adfe313a5df: Preparing [2023-02-28T16:52:28.988Z] b6caf0ba6287: Preparing [2023-02-28T16:52:28.988Z] 729d8b06b6aa: Preparing [2023-02-28T16:52:28.988Z] f70ee36035b9: Preparing [2023-02-28T16:52:28.988Z] 729d8b06b6aa: Layer already exists [2023-02-28T16:52:28.988Z] f70ee36035b9: Layer already exists [2023-02-28T16:52:28.988Z] 6adfe313a5df: Layer already exists [2023-02-28T16:52:28.988Z] b6caf0ba6287: Layer already exists [2023-02-28T16:52:28.988Z] 596297a0076d: Layer already exists [2023-02-28T16:52:28.988Z] 3.0.0-dev.16: digest: sha256:294d2f99f5776d85920b09893401354290de9943aa73b6253116e97ade1c0fda size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:52:29.326Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4a9e67fa37862f83ef90b637e6c765491ff37d3a-3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:52:29.660Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4a9e67fa37862f83ef90b637e6c765491ff37d3a-3.0.0-dev.16 [2023-02-28T16:52:29.660Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-02-28T16:52:29.660Z] 596297a0076d: Preparing [2023-02-28T16:52:29.660Z] 6adfe313a5df: Preparing [2023-02-28T16:52:29.660Z] b6caf0ba6287: Preparing [2023-02-28T16:52:29.660Z] 729d8b06b6aa: Preparing [2023-02-28T16:52:29.660Z] f70ee36035b9: Preparing [2023-02-28T16:52:29.660Z] 729d8b06b6aa: Layer already exists [2023-02-28T16:52:29.660Z] 596297a0076d: Layer already exists [2023-02-28T16:52:29.660Z] f70ee36035b9: Layer already exists [2023-02-28T16:52:29.660Z] 6adfe313a5df: Layer already exists [2023-02-28T16:52:29.660Z] b6caf0ba6287: Layer already exists [2023-02-28T16:52:29.660Z] 4a9e67fa37862f83ef90b637e6c765491ff37d3a-3.0.0-dev.16: digest: sha256:294d2f99f5776d85920b09893401354290de9943aa73b6253116e97ade1c0fda size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:52:29.995Z] + 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-02-28T16:52:30.334Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2023-02-28T16:52:30.334Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-02-28T16:52:30.334Z] 596297a0076d: Preparing [2023-02-28T16:52:30.334Z] 6adfe313a5df: Preparing [2023-02-28T16:52:30.334Z] b6caf0ba6287: Preparing [2023-02-28T16:52:30.334Z] 729d8b06b6aa: Preparing [2023-02-28T16:52:30.334Z] f70ee36035b9: Preparing [2023-02-28T16:52:30.334Z] 6adfe313a5df: Layer already exists [2023-02-28T16:52:30.334Z] f70ee36035b9: Layer already exists [2023-02-28T16:52:30.334Z] b6caf0ba6287: Layer already exists [2023-02-28T16:52:30.334Z] 596297a0076d: Layer already exists [2023-02-28T16:52:30.334Z] 729d8b06b6aa: Layer already exists [2023-02-28T16:52:30.334Z] main: digest: sha256:294d2f99f5776d85920b09893401354290de9943aa73b6253116e97ade1c0fda size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-28T16:52:30.390Z] ===================================================== [Pipeline] echo [2023-02-28T16:52:30.400Z] taggedImages: [2023-02-28T16:52:30.400Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4a9e67fa37862f83ef90b637e6c765491ff37d3a [2023-02-28T16:52:30.400Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2023-02-28T16:52:30.400Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.16 [2023-02-28T16:52:30.400Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4a9e67fa37862f83ef90b637e6c765491ff37d3a-3.0.0-dev.16 [2023-02-28T16:52:30.400Z] - 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-02-28T16:52:30.761Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-28T16:52:30.761Z] [2023-02-28T16:52:30.761Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:52:31.096Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-28T16:52:31.096Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-28T16:52:31.096Z] 8998bd30e6a1: Pulling fs layer [2023-02-28T16:52:31.096Z] 04944245beec: Pulling fs layer [2023-02-28T16:52:31.096Z] 699f458cf7ca: Pulling fs layer [2023-02-28T16:52:31.096Z] 765212b225bb: Pulling fs layer [2023-02-28T16:52:31.096Z] f23df028b6ca: Pulling fs layer [2023-02-28T16:52:31.096Z] d65c8cfc05b1: Pulling fs layer [2023-02-28T16:52:31.096Z] 2437ff75d9bd: Pulling fs layer [2023-02-28T16:52:31.096Z] f23df028b6ca: Waiting [2023-02-28T16:52:31.096Z] d65c8cfc05b1: Waiting [2023-02-28T16:52:31.096Z] 2437ff75d9bd: Waiting [2023-02-28T16:52:31.096Z] 765212b225bb: Waiting [2023-02-28T16:52:31.363Z] 04944245beec: Verifying Checksum [2023-02-28T16:52:31.363Z] 04944245beec: Download complete [2023-02-28T16:52:31.363Z] 765212b225bb: Verifying Checksum [2023-02-28T16:52:31.363Z] 765212b225bb: Download complete [2023-02-28T16:52:31.363Z] f23df028b6ca: Verifying Checksum [2023-02-28T16:52:31.363Z] f23df028b6ca: Download complete [2023-02-28T16:52:31.363Z] d65c8cfc05b1: Verifying Checksum [2023-02-28T16:52:31.363Z] d65c8cfc05b1: Download complete [2023-02-28T16:52:31.631Z] 699f458cf7ca: Verifying Checksum [2023-02-28T16:52:31.631Z] 699f458cf7ca: Download complete [2023-02-28T16:52:31.898Z] 8998bd30e6a1: Verifying Checksum [2023-02-28T16:52:31.898Z] 8998bd30e6a1: Download complete [2023-02-28T16:52:34.478Z] 2437ff75d9bd: Verifying Checksum [2023-02-28T16:52:34.478Z] 2437ff75d9bd: Download complete [2023-02-28T16:52:35.890Z] 8998bd30e6a1: Pull complete [2023-02-28T16:52:36.472Z] 04944245beec: Pull complete [2023-02-28T16:52:37.880Z] 699f458cf7ca: Pull complete [2023-02-28T16:52:40.464Z] 765212b225bb: Pull complete [2023-02-28T16:52:41.048Z] f23df028b6ca: Pull complete [2023-02-28T16:52:41.316Z] d65c8cfc05b1: Pull complete [2023-02-28T16:52:56.328Z] 2437ff75d9bd: Pull complete [2023-02-28T16:52:56.328Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-28T16:52:56.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-28T16:52:56.328Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T16:52:56.502Z] prd-ubuntu20.04-docker-arm64-4c-16g-7755 does not seem to be running inside a container [2023-02-28T16:52:56.571Z] $ 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/105 -v /w/workspace/device-onvif-camera/105:/w/workspace/device-onvif-camera/105:rw,z -v /w/workspace/device-onvif-camera/105@tmp:/w/workspace/device-onvif-camera/105@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-02-28T16:52:59.139Z] $ docker top 5af4035aaa1e603dc04a9885be03c67a26df23dc67cccfc8c313980f5a082c6f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T16:52:59.967Z] ---> job-cost.sh [2023-02-28T16:52:59.967Z] lf-activate-venv: SKIPPING [2023-02-28T16:52:59.967Z] INFO: No Stack... [2023-02-28T16:53:00.549Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-28T16:53:01.133Z] INFO: Archiving Costs [Pipeline] sh [2023-02-28T16:53:01.765Z] + cat /w/workspace/device-onvif-camera/105/archives/cost.csv [2023-02-28T16:53:01.765Z] + cut -d, -f6 [Pipeline] lock [2023-02-28T16:53:01.801Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-105-stack-cost] [2023-02-28T16:53:01.807Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-105-stack-cost] did not exist. Created. [2023-02-28T16:53:01.807Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-105-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-28T16:53:02.150Z] /w/workspace/device-onvif-camera/105@tmp/durable-c5814d26/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-28T16:53:03.064Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-28T16:53:03.086Z] Warning: overwriting stash ‘stack-cost’ [2023-02-28T16:53:03.149Z] Stashed 1 file(s) [Pipeline] } [2023-02-28T16:53:03.158Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-105-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-28T16:53:03.182Z] $ docker stop --time=1 5af4035aaa1e603dc04a9885be03c67a26df23dc67cccfc8c313980f5a082c6f [2023-02-28T16:53:06.651Z] $ docker rm -f --volumes 5af4035aaa1e603dc04a9885be03c67a26df23dc67cccfc8c313980f5a082c6f [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-02-28T16:53:07.021Z] provisioning config files... [2023-02-28T16:53:07.028Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15448967484105683172tmp [Pipeline] { [Pipeline] sh [2023-02-28T16:53:07.329Z] + set +x [2023-02-28T16:53:07.329Z] + curl -s https://codecov.io/bash [2023-02-28T16:53:07.329Z] + bash -s -- [2023-02-28T16:53:07.329Z] [2023-02-28T16:53:07.329Z] _____ _ [2023-02-28T16:53:07.329Z] / ____| | | [2023-02-28T16:53:07.329Z] | | ___ __| | ___ ___ _____ __ [2023-02-28T16:53:07.329Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-28T16:53:07.329Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-28T16:53:07.329Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-28T16:53:07.329Z] Bash-1.0.6 [2023-02-28T16:53:07.329Z] [2023-02-28T16:53:07.329Z] [2023-02-28T16:53:07.329Z] ==> git version 2.25.1 found [2023-02-28T16:53:07.329Z] ==> 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-02-28T16:53:07.329Z] Release-Date: 2020-01-08 [2023-02-28T16:53:07.329Z] 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-02-28T16:53:07.329Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-28T16:53:07.329Z] ==> Jenkins CI detected. [2023-02-28T16:53:07.329Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2023-02-28T16:53:07.329Z] project root: . [2023-02-28T16:53:07.329Z] --> token set from env [2023-02-28T16:53:07.329Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-28T16:53:07.329Z] ==> Running gcov in . (disable via -X gcov) [2023-02-28T16:53:07.329Z] ==> Python coveragepy not found [2023-02-28T16:53:07.329Z] ==> Searching for coverage reports in: [2023-02-28T16:53:07.329Z] + . [2023-02-28T16:53:07.329Z] -> Found 1 reports [2023-02-28T16:53:07.329Z] ==> Detecting git/mercurial file structure [2023-02-28T16:53:07.329Z] ==> Reading reports [2023-02-28T16:53:07.590Z] + ./coverage.out bytes=79184 [2023-02-28T16:53:07.590Z] ==> Appending adjustments [2023-02-28T16:53:07.590Z] https://docs.codecov.io/docs/fixing-reports [2023-02-28T16:53:07.590Z] + Found adjustments [2023-02-28T16:53:07.590Z] ==> Gzipping contents [2023-02-28T16:53:07.590Z] 12K /tmp/codecov.5Waeip.gz [2023-02-28T16:53:07.590Z] ==> Uploading reports [2023-02-28T16:53:07.590Z] url: https://codecov.io [2023-02-28T16:53:07.590Z] query: branch=main&commit=4a9e67fa37862f83ef90b637e6c765491ff37d3a&build=105&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F105%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-28T16:53:07.590Z] -> Pinging Codecov [2023-02-28T16:53:07.590Z] 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=4a9e67fa37862f83ef90b637e6c765491ff37d3a&build=105&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F105%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-28T16:53:07.849Z] -> Uploading to [2023-02-28T16:53:07.850Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-28/F29A59C45E3A92E06B3E522C9905F8EF/4a9e67fa37862f83ef90b637e6c765491ff37d3a/b09aed1a-8cbb-40ac-8759-049d12e28a97.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230228%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230228T165307Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a10a705ced3b0c3a1c3bc5af2769ab25d5e262526d2937b817bde9184cca9340 [2023-02-28T16:53:07.850Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T16:53:07.850Z] Dload Upload Total Spent Left Speed [2023-02-28T16:53:08.109Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10888 0 0 100 10888 0 37034 --:--:-- --:--:-- --:--:-- 37034 [2023-02-28T16:53:08.109Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/4a9e67fa37862f83ef90b637e6c765491ff37d3a [Pipeline] } [2023-02-28T16:53:08.116Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-02-28T16:53:08.315Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-02-28T16:53:08.324Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:53:08.623Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-28T16:53:08.623Z] [2023-02-28T16:53:08.623Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:53:08.927Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-28T16:53:08.927Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-02-28T16:53:08.927Z] df9b9388f04a: Pulling fs layer [2023-02-28T16:53:08.927Z] 52dc419b0ee2: Pulling fs layer [2023-02-28T16:53:08.927Z] 25bc292e5bac: Pulling fs layer [2023-02-28T16:53:08.927Z] 114826534d7a: Pulling fs layer [2023-02-28T16:53:08.927Z] 4657fd5d0bcf: Pulling fs layer [2023-02-28T16:53:08.927Z] 6ad1cebc031e: Pulling fs layer [2023-02-28T16:53:08.927Z] 8a3aa393b2d8: Pulling fs layer [2023-02-28T16:53:08.927Z] 8a3aa393b2d8: Waiting [2023-02-28T16:53:08.927Z] 114826534d7a: Waiting [2023-02-28T16:53:08.927Z] 4657fd5d0bcf: Waiting [2023-02-28T16:53:08.927Z] 25bc292e5bac: Verifying Checksum [2023-02-28T16:53:08.927Z] 25bc292e5bac: Download complete [2023-02-28T16:53:08.927Z] 52dc419b0ee2: Verifying Checksum [2023-02-28T16:53:08.927Z] 52dc419b0ee2: Download complete [2023-02-28T16:53:08.927Z] 4657fd5d0bcf: Verifying Checksum [2023-02-28T16:53:08.927Z] 4657fd5d0bcf: Download complete [2023-02-28T16:53:08.927Z] df9b9388f04a: Download complete [2023-02-28T16:53:09.188Z] df9b9388f04a: Pull complete [2023-02-28T16:53:09.188Z] 6ad1cebc031e: Verifying Checksum [2023-02-28T16:53:09.188Z] 6ad1cebc031e: Download complete [2023-02-28T16:53:09.188Z] 52dc419b0ee2: Pull complete [2023-02-28T16:53:09.188Z] 25bc292e5bac: Pull complete [2023-02-28T16:53:09.756Z] 114826534d7a: Download complete [2023-02-28T16:53:09.756Z] 8a3aa393b2d8: Verifying Checksum [2023-02-28T16:53:09.756Z] 8a3aa393b2d8: Download complete [2023-02-28T16:53:13.038Z] 114826534d7a: Pull complete [2023-02-28T16:53:13.038Z] 4657fd5d0bcf: Pull complete [2023-02-28T16:53:13.296Z] 6ad1cebc031e: Pull complete [2023-02-28T16:53:15.824Z] 8a3aa393b2d8: Pull complete [2023-02-28T16:53:15.824Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-02-28T16:53:15.824Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-28T16:53:15.824Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T16:53:15.898Z] prd-ubuntu20.04-docker-8c-8g-7754 does not seem to be running inside a container [2023-02-28T16:53:15.941Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-02-28T16:53:17.708Z] $ docker top d8e4dc434c11149aedc494aded9e700ed92a8c412ed87d55fa631ff5a9dd408d -eo pid,comm [Pipeline] { [Pipeline] echo [2023-02-28T16:53:17.760Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2023-02-28T16:53:18.038Z] + set -o pipefail [2023-02-28T16:53:18.038Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2023-02-28T16:53:23.306Z] [2023-02-28T16:53:23.306Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2023-02-28T16:53:23.306Z] [2023-02-28T16:53:23.306Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/55d3ff9d-20d5-4aa5-9516-023a6f4a9b25 [2023-02-28T16:53:23.306Z] [2023-02-28T16:53:23.306Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-02-28T16:53:23.306Z] [2023-02-28T16:53:23.306Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-02-28T16:53:23.306Z] [2023-02-28T16:53:23.306Z] [2023-02-28T16:53:23.306Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-02-28T16:53:23.306Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-02-28T16:53:23.306Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-02-28T16:53:23.325Z] $ docker stop --time=1 d8e4dc434c11149aedc494aded9e700ed92a8c412ed87d55fa631ff5a9dd408d [2023-02-28T16:53:25.225Z] $ docker rm -f --volumes d8e4dc434c11149aedc494aded9e700ed92a8c412ed87d55fa631ff5a9dd408d [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-02-28T16:53:25.573Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T16:53:25.584Z] provisioning config files... [2023-02-28T16:53:25.592Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5990952025582977437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T16:53:25.883Z] --> edgex-publish-swagger.sh [2023-02-28T16:53:25.883Z] === Publish doc/openapi/v2 API === [2023-02-28T16:53:25.883Z] [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger [2023-02-28T16:53:25.883Z] [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] [2023-02-28T16:53:25.883Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T16:53:25.883Z] Dload Upload Total Spent Left Speed [2023-02-28T16:53:26.454Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 629k --:--:-- --:--:-- --:--:-- 629k [2023-02-28T16:53:26.454Z] [2023-02-28T16:53:26.454Z] [Pipeline] } [2023-02-28T16:53:26.466Z] 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-02-28T16:53:26.842Z] + git log --format=format:%s -1 4a9e67fa37862f83ef90b637e6c765491ff37d3a [Pipeline] sh [2023-02-28T16:53:27.132Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-28T16:53:27.132Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:53:27.428Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T16:53:27.428Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T16:53:27.495Z] prd-ubuntu20.04-docker-8c-8g-7754 does not seem to be running inside a container [2023-02-28T16:53:27.533Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-28T16:53:27.912Z] $ docker top 899b0e8b2ce395be90ca6f968dce99fec7cafe6d9459f9df1131a5f9416c4e16 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-28T16:53:27.977Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.0.0-dev.15' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-28T16:53:28.278Z] + git semver [Pipeline] } [2023-02-28T16:53:28.555Z] $ docker stop --time=1 899b0e8b2ce395be90ca6f968dce99fec7cafe6d9459f9df1131a5f9416c4e16 [2023-02-28T16:53:29.888Z] $ docker rm -f --volumes 899b0e8b2ce395be90ca6f968dce99fec7cafe6d9459f9df1131a5f9416c4e16 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:53:30.253Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-28T16:53:30.253Z] [2023-02-28T16:53:30.253Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:53:30.548Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-28T16:53:30.548Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-02-28T16:53:30.548Z] ab5ef0e58194: Pulling fs layer [2023-02-28T16:53:30.548Z] 9712f1f96733: Pulling fs layer [2023-02-28T16:53:30.548Z] 63f879dbbcfc: Pulling fs layer [2023-02-28T16:53:30.548Z] 0d9ebad4ef96: Pulling fs layer [2023-02-28T16:53:30.548Z] e9a5061849ea: Pulling fs layer [2023-02-28T16:53:30.548Z] d747dcd14b5f: Pulling fs layer [2023-02-28T16:53:30.548Z] 2de7ff778b66: Pulling fs layer [2023-02-28T16:53:30.548Z] 0d9ebad4ef96: Waiting [2023-02-28T16:53:30.548Z] e9a5061849ea: Waiting [2023-02-28T16:53:30.548Z] 2de7ff778b66: Waiting [2023-02-28T16:53:30.548Z] d747dcd14b5f: Waiting [2023-02-28T16:53:31.124Z] 63f879dbbcfc: Verifying Checksum [2023-02-28T16:53:31.124Z] 63f879dbbcfc: Download complete [2023-02-28T16:53:31.124Z] ab5ef0e58194: Verifying Checksum [2023-02-28T16:53:31.124Z] ab5ef0e58194: Download complete [2023-02-28T16:53:31.124Z] e9a5061849ea: Verifying Checksum [2023-02-28T16:53:31.124Z] e9a5061849ea: Download complete [2023-02-28T16:53:31.124Z] d747dcd14b5f: Verifying Checksum [2023-02-28T16:53:31.124Z] d747dcd14b5f: Download complete [2023-02-28T16:53:31.382Z] 0d9ebad4ef96: Verifying Checksum [2023-02-28T16:53:31.382Z] 0d9ebad4ef96: Download complete [2023-02-28T16:53:31.382Z] 2de7ff778b66: Verifying Checksum [2023-02-28T16:53:31.382Z] 2de7ff778b66: Download complete [2023-02-28T16:53:33.282Z] ab5ef0e58194: Pull complete [2023-02-28T16:53:33.540Z] 9712f1f96733: Pull complete [2023-02-28T16:53:34.105Z] 63f879dbbcfc: Pull complete [2023-02-28T16:53:37.395Z] 0d9ebad4ef96: Pull complete [2023-02-28T16:53:37.395Z] e9a5061849ea: Pull complete [2023-02-28T16:53:37.395Z] d747dcd14b5f: Pull complete [2023-02-28T16:53:38.328Z] 2de7ff778b66: Pull complete [2023-02-28T16:53:38.328Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-02-28T16:53:38.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-28T16:53:38.328Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T16:53:38.401Z] prd-ubuntu20.04-docker-8c-8g-7754 does not seem to be running inside a container [2023-02-28T16:53:38.441Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-02-28T16:53:40.220Z] $ docker top 7c06c9eb41535fa0df23b66b5eac1738c6e19063f8f25761408acfe6815bb02e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-02-28T16:53:40.275Z] provisioning config files... [2023-02-28T16:53:40.282Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9567698971418200710tmp [2023-02-28T16:53:40.292Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8842318381116835356tmp [2023-02-28T16:53:40.300Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4321294562193858012tmp [Pipeline] { [Pipeline] echo [2023-02-28T16:53:40.311Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T16:53:40.595Z] ---> sigul-configuration.sh [2023-02-28T16:53:40.595Z] gpg: directory `/root/.gnupg' created [2023-02-28T16:53:40.595Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-02-28T16:53:40.595Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-02-28T16:53:40.595Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-02-28T16:53:40.595Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-02-28T16:53:40.595Z] gpg: CAST5 encrypted data [2023-02-28T16:53:40.595Z] gpg: encrypted with 1 passphrase [2023-02-28T16:53:40.595Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-02-28T16:53:40.882Z] + mkdir /home/jenkins [2023-02-28T16:53:40.882Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-02-28T16:53:41.168Z] + 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-02-28T16:53:41.178Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T16:53:41.464Z] ---> sigul-install.sh [2023-02-28T16:53:41.464Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-02-28T16:53:41.753Z] + git tag --list [2023-02-28T16:53:41.754Z] v0.0.0 [2023-02-28T16:53:41.754Z] v0.0.1-dev.1 [2023-02-28T16:53:41.754Z] v0.0.1-dev.10 [2023-02-28T16:53:41.754Z] v0.0.1-dev.11 [2023-02-28T16:53:41.754Z] v0.0.1-dev.12 [2023-02-28T16:53:41.754Z] v0.0.1-dev.13 [2023-02-28T16:53:41.754Z] v0.0.1-dev.14 [2023-02-28T16:53:41.754Z] v0.0.1-dev.15 [2023-02-28T16:53:41.754Z] v0.0.1-dev.16 [2023-02-28T16:53:41.754Z] v0.0.1-dev.17 [2023-02-28T16:53:41.754Z] v0.0.1-dev.18 [2023-02-28T16:53:41.754Z] v0.0.1-dev.19 [2023-02-28T16:53:41.754Z] v0.0.1-dev.2 [2023-02-28T16:53:41.754Z] v0.0.1-dev.20 [2023-02-28T16:53:41.754Z] v0.0.1-dev.21 [2023-02-28T16:53:41.754Z] v0.0.1-dev.22 [2023-02-28T16:53:41.754Z] v0.0.1-dev.23 [2023-02-28T16:53:41.754Z] v0.0.1-dev.24 [2023-02-28T16:53:41.754Z] v0.0.1-dev.25 [2023-02-28T16:53:41.754Z] v0.0.1-dev.26 [2023-02-28T16:53:41.754Z] v0.0.1-dev.27 [2023-02-28T16:53:41.754Z] v0.0.1-dev.28 [2023-02-28T16:53:41.754Z] v0.0.1-dev.3 [2023-02-28T16:53:41.754Z] v0.0.1-dev.4 [2023-02-28T16:53:41.754Z] v0.0.1-dev.5 [2023-02-28T16:53:41.754Z] v0.0.1-dev.6 [2023-02-28T16:53:41.754Z] v0.0.1-dev.7 [2023-02-28T16:53:41.754Z] v0.0.1-dev.8 [2023-02-28T16:53:41.754Z] v0.0.1-dev.9 [2023-02-28T16:53:41.754Z] v2.2.0 [2023-02-28T16:53:41.754Z] v2.2.0-dev.29 [2023-02-28T16:53:41.754Z] v2.2.0-dev.30 [2023-02-28T16:53:41.754Z] v2.2.0-dev.31 [2023-02-28T16:53:41.754Z] v2.2.0-dev.32 [2023-02-28T16:53:41.754Z] v2.2.0-dev.33 [2023-02-28T16:53:41.754Z] v2.2.0-dev.34 [2023-02-28T16:53:41.754Z] v2.2.0-dev.35 [2023-02-28T16:53:41.754Z] v2.3.0 [2023-02-28T16:53:41.754Z] v2.3.0-dev.1 [2023-02-28T16:53:41.754Z] v2.3.0-dev.10 [2023-02-28T16:53:41.754Z] v2.3.0-dev.11 [2023-02-28T16:53:41.754Z] v2.3.0-dev.12 [2023-02-28T16:53:41.754Z] v2.3.0-dev.13 [2023-02-28T16:53:41.754Z] v2.3.0-dev.14 [2023-02-28T16:53:41.754Z] v2.3.0-dev.15 [2023-02-28T16:53:41.754Z] v2.3.0-dev.16 [2023-02-28T16:53:41.754Z] v2.3.0-dev.17 [2023-02-28T16:53:41.754Z] v2.3.0-dev.18 [2023-02-28T16:53:41.754Z] v2.3.0-dev.19 [2023-02-28T16:53:41.754Z] v2.3.0-dev.2 [2023-02-28T16:53:41.754Z] v2.3.0-dev.20 [2023-02-28T16:53:41.754Z] v2.3.0-dev.21 [2023-02-28T16:53:41.754Z] v2.3.0-dev.22 [2023-02-28T16:53:41.754Z] v2.3.0-dev.23 [2023-02-28T16:53:41.754Z] v2.3.0-dev.24 [2023-02-28T16:53:41.754Z] v2.3.0-dev.25 [2023-02-28T16:53:41.754Z] v2.3.0-dev.26 [2023-02-28T16:53:41.754Z] v2.3.0-dev.27 [2023-02-28T16:53:41.754Z] v2.3.0-dev.28 [2023-02-28T16:53:41.754Z] v2.3.0-dev.29 [2023-02-28T16:53:41.754Z] v2.3.0-dev.3 [2023-02-28T16:53:41.754Z] v2.3.0-dev.30 [2023-02-28T16:53:41.754Z] v2.3.0-dev.31 [2023-02-28T16:53:41.754Z] v2.3.0-dev.32 [2023-02-28T16:53:41.754Z] v2.3.0-dev.33 [2023-02-28T16:53:41.754Z] v2.3.0-dev.34 [2023-02-28T16:53:41.754Z] v2.3.0-dev.35 [2023-02-28T16:53:41.754Z] v2.3.0-dev.36 [2023-02-28T16:53:41.754Z] v2.3.0-dev.37 [2023-02-28T16:53:41.754Z] v2.3.0-dev.38 [2023-02-28T16:53:41.754Z] v2.3.0-dev.39 [2023-02-28T16:53:41.754Z] v2.3.0-dev.4 [2023-02-28T16:53:41.754Z] v2.3.0-dev.40 [2023-02-28T16:53:41.754Z] v2.3.0-dev.41 [2023-02-28T16:53:41.754Z] v2.3.0-dev.42 [2023-02-28T16:53:41.754Z] v2.3.0-dev.43 [2023-02-28T16:53:41.754Z] v2.3.0-dev.44 [2023-02-28T16:53:41.754Z] v2.3.0-dev.45 [2023-02-28T16:53:41.754Z] v2.3.0-dev.5 [2023-02-28T16:53:41.754Z] v2.3.0-dev.6 [2023-02-28T16:53:41.754Z] v2.3.0-dev.7 [2023-02-28T16:53:41.754Z] v2.3.0-dev.8 [2023-02-28T16:53:41.754Z] v2.3.0-dev.9 [2023-02-28T16:53:41.754Z] v2.3.1-dev.1 [2023-02-28T16:53:41.754Z] v3.0.0-dev.1 [2023-02-28T16:53:41.754Z] v3.0.0-dev.10 [2023-02-28T16:53:41.754Z] v3.0.0-dev.11 [2023-02-28T16:53:41.754Z] v3.0.0-dev.12 [2023-02-28T16:53:41.754Z] v3.0.0-dev.13 [2023-02-28T16:53:41.754Z] v3.0.0-dev.14 [2023-02-28T16:53:41.754Z] v3.0.0-dev.15 [2023-02-28T16:53:41.754Z] v3.0.0-dev.2 [2023-02-28T16:53:41.754Z] v3.0.0-dev.3 [2023-02-28T16:53:41.754Z] v3.0.0-dev.4 [2023-02-28T16:53:41.754Z] v3.0.0-dev.5 [2023-02-28T16:53:41.754Z] v3.0.0-dev.6 [2023-02-28T16:53:41.754Z] v3.0.0-dev.7 [2023-02-28T16:53:41.754Z] v3.0.0-dev.8 [2023-02-28T16:53:41.754Z] v3.0.0-dev.9 [Pipeline] sh [2023-02-28T16:53:42.038Z] + lftools sign git-tag v3.0.0-dev.16 [2023-02-28T16:53:42.606Z] Signing Git tag with Sigul... [2023-02-28T16:53:42.606Z] Signing v3.0.0-dev.16 [2023-02-28T16:53:42.606Z] Error while calling git, args ['git', 'show-ref', '-s', 'refs/tags/v3.0.0-dev.16'], return code 1, stdout , stderr [Pipeline] echo [2023-02-28T16:53:42.617Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T16:53:42.902Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-02-28T16:53:42.910Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-02-28T16:53:42.935Z] $ docker stop --time=1 7c06c9eb41535fa0df23b66b5eac1738c6e19063f8f25761408acfe6815bb02e [2023-02-28T16:53:44.218Z] $ docker rm -f --volumes 7c06c9eb41535fa0df23b66b5eac1738c6e19063f8f25761408acfe6815bb02e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-02-28T16:53:44.609Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-28T16:53:44.609Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:53:44.905Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T16:53:44.905Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T16:53:44.974Z] prd-ubuntu20.04-docker-8c-8g-7754 does not seem to be running inside a container [2023-02-28T16:53:45.014Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-28T16:53:45.372Z] $ docker top 701037f484fd5ec188d193dd69c8eb09350161dbc90d2e6ac4eff21255f35acc -eo pid,comm [2023-02-28T16:53:45.413Z] 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-02-28T16:53:45.413Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-28T16:53:45.434Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.0.0-dev.15' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-28T16:53:45.717Z] + git semver [Pipeline] } [2023-02-28T16:53:45.997Z] $ docker stop --time=1 701037f484fd5ec188d193dd69c8eb09350161dbc90d2e6ac4eff21255f35acc [2023-02-28T16:53:47.314Z] $ docker rm -f --volumes 701037f484fd5ec188d193dd69c8eb09350161dbc90d2e6ac4eff21255f35acc [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-28T16:53:47.641Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-28T16:53:47.641Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:53:47.934Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T16:53:47.934Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T16:53:48.000Z] prd-ubuntu20.04-docker-8c-8g-7754 does not seem to be running inside a container [2023-02-28T16:53:48.038Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-28T16:53:48.427Z] $ docker top 5a46bdb4a220a40dca42772faccee02609b5d5cdbd7c7890d94782c2a9ff3456 -eo pid,comm [2023-02-28T16:53:48.468Z] 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-02-28T16:53:48.468Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-28T16:53:48.498Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.0.0-dev.15' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-28T16:53:48.785Z] + git semver [Pipeline] } [2023-02-28T16:53:49.063Z] $ docker stop --time=1 5a46bdb4a220a40dca42772faccee02609b5d5cdbd7c7890d94782c2a9ff3456 [2023-02-28T16:53:50.337Z] $ docker rm -f --volumes 5a46bdb4a220a40dca42772faccee02609b5d5cdbd7c7890d94782c2a9ff3456 [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-02-28T16:53:50.901Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2023-02-28T16:53:50.901Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-02-28T16:53:50.901Z] total 16 [2023-02-28T16:53:50.901Z] drwxr-xr-x 3 root root 4096 Feb 28 16:42 . [2023-02-28T16:53:50.901Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 28 16:53 .. [2023-02-28T16:53:50.901Z] drwxr-xr-x 2 root root 4096 Feb 28 16:42 cost [2023-02-28T16:53:50.901Z] -rw-r--r-- 1 root root 91 Feb 28 16:42 cost.csv [2023-02-28T16:53:50.901Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2023-02-28T16:53:50.901Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-02-28T16:53:50.901Z] total 16 [2023-02-28T16:53:50.901Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 28 16:42 . [2023-02-28T16:53:50.901Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 28 16:53 .. [2023-02-28T16:53:50.901Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 28 16:42 cost [2023-02-28T16:53:50.901Z] -rw-r--r-- 1 jenkins jenkins 91 Feb 28 16:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-28T16:53:51.195Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T16:53:52.076Z] ---> package-listing.sh [2023-02-28T16:53:52.076Z] ++ facter osfamily [2023-02-28T16:53:52.076Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-28T16:53:52.337Z] + OS_FAMILY=debian [2023-02-28T16:53:52.337Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2023-02-28T16:53:52.337Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-28T16:53:52.337Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-28T16:53:52.337Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-28T16:53:52.337Z] + PACKAGES=/tmp/packages_start.txt [2023-02-28T16:53:52.337Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-02-28T16:53:52.337Z] + PACKAGES=/tmp/packages_end.txt [2023-02-28T16:53:52.337Z] + case "${OS_FAMILY}" in [2023-02-28T16:53:52.337Z] + dpkg -l [2023-02-28T16:53:52.337Z] + grep '^ii' [2023-02-28T16:53:52.337Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-28T16:53:52.337Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-28T16:53:52.337Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-28T16:53:52.337Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-02-28T16:53:52.337Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2023-02-28T16:53:52.337Z] + 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-02-28T16:53:52.350Z] 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-02-28T16:53:52.628Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T16:53:53.186Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T16:53:53.186Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T16:53:53.356Z] prd-ubuntu20.04-docker-8c-8g-7754 does not seem to be running inside a container [2023-02-28T16:53:53.453Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-28T16:53:53.663Z] $ docker top c39a57083c6e4c26b3d2977d0710559f6a0adb5844700ee9c9155c47fb27cf89 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T16:53:53.991Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-28T16:53:54.272Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-28T16:53:54.556Z] + ls /var/log/sa-host [2023-02-28T16:53:54.556Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T16:53:54.625Z] provisioning config files... [2023-02-28T16:53:54.634Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7943747799243977219tmp [Pipeline] { [Pipeline] echo [2023-02-28T16:53:54.648Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T16:53:54.927Z] ---> create-netrc.sh [Pipeline] } [2023-02-28T16:53:54.934Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-28T16:53:55.247Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-28T16:53:55.257Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T16:53:55.542Z] ---> sudo-logs.sh [2023-02-28T16:53:55.542Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-28T16:53:55.567Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T16:53:55.850Z] ---> job-cost.sh [2023-02-28T16:53:55.850Z] lf-activate-venv: SKIPPING [2023-02-28T16:53:55.850Z] DEBUG: total: 0.2199999988079071 [2023-02-28T16:53:55.850Z] INFO: Retrieving Stack Cost... [2023-02-28T16:53:56.418Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-28T16:53:56.677Z] INFO: Archiving Costs [Pipeline] echo [2023-02-28T16:53:56.689Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T16:53:56.969Z] ---> logs-deploy.sh [2023-02-28T16:53:56.969Z] lf-activate-venv: SKIPPING [2023-02-28T16:53:56.969Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/105 [2023-02-28T16:53:56.969Z] INFO: archiving workspace using pattern(s): [2023-02-28T16:53:57.927Z] Archives upload complete. [2023-02-28T16:53:57.927Z] INFO: archiving logs to Nexus