Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7c14cf897af34df275d4233d707e2506881d1776 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-ssh8253185540897823091.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh1807489406882690437.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh9597568922040295245.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh10034263151340889600.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-ssh7926982079427598089.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-7288 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 7c14cf897af34df275d4233d707e2506881d1776 (main) Commit message: "feat!: Consume SDK interface changes (#301)" > 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 7c14cf897af34df275d4233d707e2506881d1776 # timeout=10 > git rev-list --no-walk c6cff038fe156dd62418d57d6c36ffe741a1df05 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-10T17:32:37.023Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-10T17:32:37.086Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-10T17:32:37.100Z] ========================================================= [2023-04-10T17:32:37.100Z] EdgeX Global Pipelines Version Info [2023-04-10T17:32:37.100Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-10T17:32:37.798Z] ------------------- [2023-04-10T17:32:37.798Z] stable info: [2023-04-10T17:32:37.798Z] ------------------- [2023-04-10T17:32:37.798Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-04-10T17:32:37.798Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-10T17:32:37.798Z] Message: update stable to v1.0.245 [2023-04-10T17:32:38.364Z] ------------------- [2023-04-10T17:32:38.364Z] experimental info: [2023-04-10T17:32:38.364Z] ------------------- [2023-04-10T17:32:38.364Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-10T17:32:38.364Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-04-10T17:32:38.364Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-10T17:32:38.522Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-04-10T17:32:38.534Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-04-10T17:32:38.545Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-10T17:32:38.558Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-10T17:32:38.570Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-10T17:32:38.581Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-10T17:32:38.595Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-10T17:32:38.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-10T17:32:38.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-10T17:32:38.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-10T17:32:38.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-10T17:32:38.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-04-10T17:32:38.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-10T17:32:38.688Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-10T17:32:38.699Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-10T17:32:38.711Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-10T17:32:38.723Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-10T17:32:38.735Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-10T17:32:38.747Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-10T17:32:38.758Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-10T17:32:38.769Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-10T17:32:38.782Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-04-10T17:32:38.793Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-10T17:32:38.806Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-10T17:32:38.818Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-10T17:32:38.832Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-10T17:32:38.843Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-10T17:32:38.856Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-04-10T17:32:38.867Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-04-10T17:32:38.876Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-04-10T17:32:38.885Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c14cf897af34df275d4233d707e2506881d1776 [Pipeline] echo [2023-04-10T17:32:38.899Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c14cf8 [Pipeline] echo [2023-04-10T17:32:38.914Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-10T17:32:38.962Z] provisioning config files... [2023-04-10T17:32:38.974Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16763442230420392270tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-10T17:32:39.270Z] ---> docker-login.sh [2023-04-10T17:32:39.270Z] nexus3.edgexfoundry.org:10001 [2023-04-10T17:32:39.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T17:32:39.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T17:32:39.529Z] Configure a credential helper to remove this warning. See [2023-04-10T17:32:39.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T17:32:39.529Z] [2023-04-10T17:32:39.529Z] Login Succeeded [2023-04-10T17:32:39.529Z] nexus3.edgexfoundry.org:10002 [2023-04-10T17:32:39.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T17:32:39.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T17:32:39.789Z] Configure a credential helper to remove this warning. See [2023-04-10T17:32:39.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T17:32:39.789Z] [2023-04-10T17:32:39.789Z] Login Succeeded [2023-04-10T17:32:39.789Z] nexus3.edgexfoundry.org:10003 [2023-04-10T17:32:39.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T17:32:39.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T17:32:39.789Z] Configure a credential helper to remove this warning. See [2023-04-10T17:32:39.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T17:32:39.789Z] [2023-04-10T17:32:39.789Z] Login Succeeded [2023-04-10T17:32:39.789Z] nexus3.edgexfoundry.org:10004 [2023-04-10T17:32:39.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T17:32:40.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T17:32:40.049Z] Configure a credential helper to remove this warning. See [2023-04-10T17:32:40.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T17:32:40.049Z] [2023-04-10T17:32:40.049Z] Login Succeeded [2023-04-10T17:32:40.049Z] docker.io [2023-04-10T17:32:40.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T17:32:40.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T17:32:40.308Z] Configure a credential helper to remove this warning. See [2023-04-10T17:32:40.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T17:32:40.308Z] [2023-04-10T17:32:40.308Z] Login Succeeded [2023-04-10T17:32:40.308Z] ---> docker-login.sh ends [Pipeline] } [2023-04-10T17:32:40.315Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-10T17:32:40.693Z] + git rev-list -1 --merges 7c14cf897af34df275d4233d707e2506881d1776~1..7c14cf897af34df275d4233d707e2506881d1776 [Pipeline] echo [2023-04-10T17:32:40.712Z] -----------> git rev-list -1 --merges 7c14cf897af34df275d4233d707e2506881d1776~1..7c14cf897af34df275d4233d707e2506881d1776 7c14cf897af34df275d4233d707e2506881d1776 [false] [Pipeline] sh [2023-04-10T17:32:40.999Z] + git log --format=format:%s -1 7c14cf897af34df275d4233d707e2506881d1776 [Pipeline] echo [2023-04-10T17:32:41.030Z] ========================================================= [2023-04-10T17:32:41.030Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-10T17:32:41.030Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-10T17:32:41.366Z] + git log --format=format:%s -1 7c14cf897af34df275d4233d707e2506881d1776 [Pipeline] echo [2023-04-10T17:32:41.377Z] [semverPrep] GIT_COMMIT: 7c14cf897af34df275d4233d707e2506881d1776, Commit Message: feat!: Consume SDK interface changes (#301) [Pipeline] echo [2023-04-10T17:32:41.385Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-10T17:32:41.749Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-10T17:32:41.749Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-10T17:32:41.749Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-10T17:32:41.749Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-10T17:32:41.749Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-10T17:32:41.749Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-10T17:32:41.749Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:32:42.152Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-10T17:32:42.152Z] [2023-04-10T17:32:42.152Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:32:42.447Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-10T17:32:42.448Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-10T17:32:42.448Z] b85a868b505f: Pulling fs layer [2023-04-10T17:32:42.448Z] e2be974225ed: Pulling fs layer [2023-04-10T17:32:42.448Z] 339a4e72a1f5: Pulling fs layer [2023-04-10T17:32:42.448Z] 988bab9f4d93: Pulling fs layer [2023-04-10T17:32:42.448Z] 1469e6f7b9e6: Pulling fs layer [2023-04-10T17:32:42.448Z] eaf3925da568: Pulling fs layer [2023-04-10T17:32:42.448Z] bab4dde63d76: Pulling fs layer [2023-04-10T17:32:42.448Z] bde34c3a00c8: Pulling fs layer [2023-04-10T17:32:42.448Z] b352a97aabf1: Pulling fs layer [2023-04-10T17:32:42.448Z] 4872d77fe225: Pulling fs layer [2023-04-10T17:32:42.448Z] 5851b861e8e6: Pulling fs layer [2023-04-10T17:32:42.448Z] b352a97aabf1: Waiting [2023-04-10T17:32:42.448Z] 4872d77fe225: Waiting [2023-04-10T17:32:42.448Z] 988bab9f4d93: Waiting [2023-04-10T17:32:42.448Z] 5851b861e8e6: Waiting [2023-04-10T17:32:42.448Z] bab4dde63d76: Waiting [2023-04-10T17:32:42.448Z] bde34c3a00c8: Waiting [2023-04-10T17:32:42.448Z] eaf3925da568: Waiting [2023-04-10T17:32:42.448Z] 1469e6f7b9e6: Waiting [2023-04-10T17:32:42.448Z] e2be974225ed: Verifying Checksum [2023-04-10T17:32:42.448Z] e2be974225ed: Download complete [2023-04-10T17:32:42.448Z] 988bab9f4d93: Verifying Checksum [2023-04-10T17:32:42.448Z] 988bab9f4d93: Download complete [2023-04-10T17:32:42.448Z] 1469e6f7b9e6: Verifying Checksum [2023-04-10T17:32:42.448Z] 1469e6f7b9e6: Download complete [2023-04-10T17:32:42.448Z] 339a4e72a1f5: Verifying Checksum [2023-04-10T17:32:42.448Z] 339a4e72a1f5: Download complete [2023-04-10T17:32:42.448Z] eaf3925da568: Verifying Checksum [2023-04-10T17:32:42.448Z] eaf3925da568: Download complete [2023-04-10T17:32:42.705Z] bde34c3a00c8: Download complete [2023-04-10T17:32:42.705Z] b352a97aabf1: Download complete [2023-04-10T17:32:42.705Z] 4872d77fe225: Verifying Checksum [2023-04-10T17:32:42.705Z] 4872d77fe225: Download complete [2023-04-10T17:32:42.705Z] 5851b861e8e6: Verifying Checksum [2023-04-10T17:32:42.705Z] 5851b861e8e6: Download complete [2023-04-10T17:32:42.705Z] b85a868b505f: Verifying Checksum [2023-04-10T17:32:42.705Z] b85a868b505f: Download complete [2023-04-10T17:32:42.963Z] bab4dde63d76: Verifying Checksum [2023-04-10T17:32:42.963Z] bab4dde63d76: Download complete [2023-04-10T17:32:43.897Z] b85a868b505f: Pull complete [2023-04-10T17:32:43.897Z] e2be974225ed: Pull complete [2023-04-10T17:32:44.154Z] 339a4e72a1f5: Pull complete [2023-04-10T17:32:44.154Z] 988bab9f4d93: Pull complete [2023-04-10T17:32:44.413Z] 1469e6f7b9e6: Pull complete [2023-04-10T17:32:44.670Z] eaf3925da568: Pull complete [2023-04-10T17:32:46.040Z] bab4dde63d76: Pull complete [2023-04-10T17:32:46.040Z] bde34c3a00c8: Pull complete [2023-04-10T17:32:46.298Z] b352a97aabf1: Pull complete [2023-04-10T17:32:46.298Z] 4872d77fe225: Pull complete [2023-04-10T17:32:46.298Z] 5851b861e8e6: Pull complete [2023-04-10T17:32:46.298Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-10T17:32:46.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-10T17:32:46.298Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T17:32:46.375Z] prd-ubuntu20.04-docker-8c-8g-7288 does not seem to be running inside a container [2023-04-10T17:32:46.403Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-10T17:32:48.012Z] $ docker top 6a39f3bfc558ae0dd90d6e0d2221e0e982f0b0eb4278981485c0d1dac319649a -eo pid,comm [2023-04-10T17:32:48.060Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-10T17:32:48.060Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-10T17:32:48.103Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-10T17:32:48.104Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-10T17:32:48.217Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-10T17:32:48.220Z] $ docker exec 6a39f3bfc558ae0dd90d6e0d2221e0e982f0b0eb4278981485c0d1dac319649a ssh-agent [2023-04-10T17:32:48.316Z] SSH_AUTH_SOCK=/tmp/ssh-pquAJC1Xnpyd/agent.32 [2023-04-10T17:32:48.316Z] SSH_AGENT_PID=38 [2023-04-10T17:32:48.323Z] Running ssh-add (command line suppressed) [2023-04-10T17:32:48.411Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3096549831280475639.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3096549831280475639.key) [2023-04-10T17:32:48.422Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-10T17:32:48.708Z] + git tag --points-at HEAD [Pipeline] } [2023-04-10T17:32:48.719Z] $ docker exec --env ******** --env ******** 6a39f3bfc558ae0dd90d6e0d2221e0e982f0b0eb4278981485c0d1dac319649a ssh-agent -k [2023-04-10T17:32:48.819Z] unset SSH_AUTH_SOCK; [2023-04-10T17:32:48.820Z] unset SSH_AGENT_PID; [2023-04-10T17:32:48.820Z] echo Agent pid 38 killed; [2023-04-10T17:32:48.828Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-10T17:32:48.849Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-10T17:32:48.849Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-10T17:32:48.948Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-10T17:32:48.950Z] $ docker exec 6a39f3bfc558ae0dd90d6e0d2221e0e982f0b0eb4278981485c0d1dac319649a ssh-agent [2023-04-10T17:32:49.059Z] SSH_AUTH_SOCK=/tmp/ssh-2UQtFWhw1KQT/agent.70 [2023-04-10T17:32:49.059Z] SSH_AGENT_PID=76 [2023-04-10T17:32:49.064Z] Running ssh-add (command line suppressed) [2023-04-10T17:32:49.164Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17623740226083801645.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17623740226083801645.key) [2023-04-10T17:32:49.189Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-10T17:32:49.475Z] + git semver init [2023-04-10T17:32:49.734Z] 2023-04-10 17:32:49,638 [run_init] DEBUG init version:0.0.0 force:False [2023-04-10T17:32:49.734Z] 2023-04-10 17:32:49,639 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2023-04-10T17:32:49.734Z] 2023-04-10 17:32:49,639 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2023-04-10T17:32:49.734Z] 2023-04-10 17:32:49,640 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2023-04-10T17:32:50.672Z] 2023-04-10 17:32:50,454 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2023-04-10T17:32:50.672Z] 2023-04-10 17:32:50,454 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2023-04-10T17:32:50.672Z] 2023-04-10 17:32:50,454 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-04-10T17:32:50.672Z] 2023-04-10 17:32:50,454 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-04-10T17:32:50.672Z] 3.0.0-dev.29 [Pipeline] } [2023-04-10T17:32:50.683Z] $ docker exec --env ******** --env ******** 6a39f3bfc558ae0dd90d6e0d2221e0e982f0b0eb4278981485c0d1dac319649a ssh-agent -k [2023-04-10T17:32:50.776Z] unset SSH_AUTH_SOCK; [2023-04-10T17:32:50.776Z] unset SSH_AGENT_PID; [2023-04-10T17:32:50.776Z] echo Agent pid 76 killed; [2023-04-10T17:32:50.786Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-10T17:32:51.090Z] + git semver [Pipeline] } [2023-04-10T17:32:51.359Z] $ docker stop --time=1 6a39f3bfc558ae0dd90d6e0d2221e0e982f0b0eb4278981485c0d1dac319649a [2023-04-10T17:32:52.623Z] $ docker rm -f --volumes 6a39f3bfc558ae0dd90d6e0d2221e0e982f0b0eb4278981485c0d1dac319649a [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-10T17:32:52.950Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-10T17:32:53.144Z] Stashed 1 file(s) [Pipeline] echo [2023-04-10T17:32:53.147Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.29 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-10T17:32:53.278Z] provisioning config files... [2023-04-10T17:32:53.287Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15492451455400096071tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-10T17:32:53.582Z] ---> docker-login.sh [2023-04-10T17:32:53.582Z] nexus3.edgexfoundry.org:10001 [2023-04-10T17:32:53.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T17:32:53.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T17:32:53.582Z] Configure a credential helper to remove this warning. See [2023-04-10T17:32:53.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T17:32:53.582Z] [2023-04-10T17:32:53.582Z] Login Succeeded [2023-04-10T17:32:53.582Z] nexus3.edgexfoundry.org:10002 [2023-04-10T17:32:53.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T17:32:53.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T17:32:53.582Z] Configure a credential helper to remove this warning. See [2023-04-10T17:32:53.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T17:32:53.582Z] [2023-04-10T17:32:53.582Z] Login Succeeded [2023-04-10T17:32:53.582Z] nexus3.edgexfoundry.org:10003 [2023-04-10T17:32:53.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T17:32:53.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T17:32:53.840Z] Configure a credential helper to remove this warning. See [2023-04-10T17:32:53.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T17:32:53.840Z] [2023-04-10T17:32:53.840Z] Login Succeeded [2023-04-10T17:32:53.840Z] nexus3.edgexfoundry.org:10004 [2023-04-10T17:32:53.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T17:32:53.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T17:32:53.840Z] Configure a credential helper to remove this warning. See [2023-04-10T17:32:53.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T17:32:53.840Z] [2023-04-10T17:32:53.840Z] Login Succeeded [2023-04-10T17:32:53.840Z] docker.io [2023-04-10T17:32:53.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T17:32:54.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T17:32:54.098Z] Configure a credential helper to remove this warning. See [2023-04-10T17:32:54.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T17:32:54.098Z] [2023-04-10T17:32:54.098Z] Login Succeeded [2023-04-10T17:32:54.098Z] ---> docker-login.sh ends [Pipeline] } [2023-04-10T17:32:54.105Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-10T17:32:54.173Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-10T17:32:54.189Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-10T17:32:54.199Z] ========================================================= [2023-04-10T17:32:54.199Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-10T17:32:54.199Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:32:54.501Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-10T17:32:54.501Z] Sending build context to Docker daemon 26.91MB [2023-04-10T17:32:54.501Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-10T17:32:54.501Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-10T17:32:54.761Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-10T17:32:54.761Z] 63b65145d645: Pulling fs layer [2023-04-10T17:32:54.761Z] a2d21d5440eb: Pulling fs layer [2023-04-10T17:32:54.761Z] 935e6c44a52c: Pulling fs layer [2023-04-10T17:32:54.761Z] 94cc34f8dd06: Pulling fs layer [2023-04-10T17:32:54.761Z] 30dea6a524f1: Pulling fs layer [2023-04-10T17:32:54.761Z] a2aff8979fd8: Pulling fs layer [2023-04-10T17:32:54.761Z] 6808be2612f2: Pulling fs layer [2023-04-10T17:32:54.761Z] f25807f1079a: Pulling fs layer [2023-04-10T17:32:54.761Z] 30dea6a524f1: Waiting [2023-04-10T17:32:54.761Z] a2aff8979fd8: Waiting [2023-04-10T17:32:54.761Z] 6808be2612f2: Waiting [2023-04-10T17:32:54.761Z] f25807f1079a: Waiting [2023-04-10T17:32:54.761Z] 94cc34f8dd06: Waiting [2023-04-10T17:32:54.761Z] a2d21d5440eb: Verifying Checksum [2023-04-10T17:32:54.761Z] a2d21d5440eb: Download complete [2023-04-10T17:32:54.761Z] 94cc34f8dd06: Verifying Checksum [2023-04-10T17:32:54.761Z] 94cc34f8dd06: Download complete [2023-04-10T17:32:54.761Z] 30dea6a524f1: Download complete [2023-04-10T17:32:54.761Z] 63b65145d645: Verifying Checksum [2023-04-10T17:32:54.761Z] 63b65145d645: Download complete [2023-04-10T17:32:54.761Z] a2aff8979fd8: Verifying Checksum [2023-04-10T17:32:54.761Z] a2aff8979fd8: Download complete [2023-04-10T17:32:54.761Z] 63b65145d645: Pull complete [2023-04-10T17:32:55.019Z] a2d21d5440eb: Pull complete [2023-04-10T17:32:55.019Z] f25807f1079a: Verifying Checksum [2023-04-10T17:32:55.019Z] f25807f1079a: Download complete [2023-04-10T17:32:55.276Z] 935e6c44a52c: Download complete [2023-04-10T17:32:55.276Z] 6808be2612f2: Verifying Checksum [2023-04-10T17:32:55.276Z] 6808be2612f2: Download complete [2023-04-10T17:32:58.557Z] 935e6c44a52c: Pull complete [2023-04-10T17:32:58.557Z] 94cc34f8dd06: Pull complete [2023-04-10T17:32:58.557Z] 30dea6a524f1: Pull complete [2023-04-10T17:32:58.557Z] a2aff8979fd8: Pull complete [2023-04-10T17:33:00.457Z] 6808be2612f2: Pull complete [2023-04-10T17:33:01.391Z] f25807f1079a: Pull complete [2023-04-10T17:33:01.391Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-10T17:33:01.391Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-10T17:33:01.391Z] ---> 3b553350e43f [2023-04-10T17:33:01.391Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-10T17:33:03.923Z] ---> Running in 578ae177c86e [2023-04-10T17:33:04.182Z] Removing intermediate container 578ae177c86e [2023-04-10T17:33:04.182Z] ---> 945e561403bf [2023-04-10T17:33:04.182Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-10T17:33:04.182Z] ---> Running in 8085d3bdf140 [2023-04-10T17:33:04.182Z] Removing intermediate container 8085d3bdf140 [2023-04-10T17:33:04.182Z] ---> fd15983ee530 [2023-04-10T17:33:04.182Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-10T17:33:04.182Z] ---> Running in 3b65451fe34e [2023-04-10T17:33:04.182Z] Removing intermediate container 3b65451fe34e [2023-04-10T17:33:04.182Z] ---> 46a9c584ec52 [2023-04-10T17:33:04.182Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-10T17:33:04.182Z] ---> Running in f3b43ca84df6 [2023-04-10T17:33:04.440Z] Removing intermediate container f3b43ca84df6 [2023-04-10T17:33:04.440Z] ---> 5a762304e0ea [2023-04-10T17:33:04.440Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-10T17:33:04.440Z] ---> Running in b99742beb262 [2023-04-10T17:33:04.440Z] Removing intermediate container b99742beb262 [2023-04-10T17:33:04.440Z] ---> c0c0b264cc48 [2023-04-10T17:33:04.440Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-10T17:33:04.440Z] ---> Running in 61951722d1d3 [2023-04-10T17:33:04.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-10T17:33:04.956Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-10T17:33:04.956Z] OK: 265 MiB in 53 packages [2023-04-10T17:33:05.523Z] Removing intermediate container 61951722d1d3 [2023-04-10T17:33:05.523Z] ---> 61550a97aae0 [2023-04-10T17:33:05.523Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-10T17:33:05.523Z] ---> Running in 1aaf6c1fd9d0 [2023-04-10T17:33:05.523Z] Removing intermediate container 1aaf6c1fd9d0 [2023-04-10T17:33:05.523Z] ---> e731086520fa [2023-04-10T17:33:05.523Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-10T17:33:05.523Z] ---> 2814045b583a [2023-04-10T17:33:05.523Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-10T17:33:05.523Z] ---> Running in 0f2b7b3ed17a [2023-04-10T17:33:08.231Z] Still waiting to schedule task [2023-04-10T17:33:08.232Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-10T17:33:37.653Z] Removing intermediate container 0f2b7b3ed17a [2023-04-10T17:33:37.653Z] ---> 86c91fc6bd32 [2023-04-10T17:33:37.653Z] Step 12/13 : COPY . . [2023-04-10T17:33:37.653Z] ---> 252beca954a5 [2023-04-10T17:33:37.653Z] Step 13/13 : RUN ${MAKE} [2023-04-10T17:33:37.653Z] ---> Running in 8f0510375ec4 [2023-04-10T17:33:37.653Z] noop [2023-04-10T17:33:37.653Z] Removing intermediate container 8f0510375ec4 [2023-04-10T17:33:37.653Z] ---> dc3b126587cd [2023-04-10T17:33:37.653Z] Successfully built dc3b126587cd [2023-04-10T17:33:37.653Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:33:38.043Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-10T17:33:38.044Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T17:33:38.107Z] prd-ubuntu20.04-docker-8c-8g-7288 does not seem to be running inside a container [2023-04-10T17:33:38.135Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-10T17:33:38.464Z] $ docker top e69810873a2c960c2abdaec23dac21331ae9375daba924fd60daaeefdc5aa335 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-10T17:33:38.799Z] + go version [2023-04-10T17:33:38.799Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-10T17:33:38.809Z] $ docker stop --time=1 e69810873a2c960c2abdaec23dac21331ae9375daba924fd60daaeefdc5aa335 [2023-04-10T17:33:40.066Z] $ docker rm -f --volumes e69810873a2c960c2abdaec23dac21331ae9375daba924fd60daaeefdc5aa335 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:33:40.458Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-10T17:33:40.458Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T17:33:40.523Z] prd-ubuntu20.04-docker-8c-8g-7288 does not seem to be running inside a container [2023-04-10T17:33:40.551Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-10T17:33:40.866Z] $ docker top cc0aba1267642dbbfe3418c283166b0f54f877cbf6c429239e370f5d86407fc3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-10T17:33:41.206Z] + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh [2023-04-10T17:33:41.501Z] + make test [2023-04-10T17:33:41.501Z] go test ./... -coverprofile=coverage.out ./... [2023-04-10T17:33:45.680Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-10T17:33:55.640Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-10T17:33:55.641Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-10T17:33:57.540Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 31.6% of statements [2023-04-10T17:33:57.540Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.103s coverage: 86.5% of statements [2023-04-10T17:34:04.088Z] go vet ./... [2023-04-10T17:34:07.365Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-10T17:34:07.365Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-10T17:34:07.365Z] ./bin/test-attribution-txt.sh [2023-04-10T17:34:07.365Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-10T17:34:07.375Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-10T17:34:07.385Z] $ docker stop --time=1 cc0aba1267642dbbfe3418c283166b0f54f877cbf6c429239e370f5d86407fc3 [2023-04-10T17:34:09.852Z] $ docker rm -f --volumes cc0aba1267642dbbfe3418c283166b0f54f877cbf6c429239e370f5d86407fc3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-10T17:34:10.301Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-10T17:34:10.356Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-10T17:34:10.860Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-10T17:34:11.140Z] + ls -al . [2023-04-10T17:34:11.140Z] total 236 [2023-04-10T17:34:11.140Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 17:33 . [2023-04-10T17:34:11.140Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 17:32 .. [2023-04-10T17:34:11.140Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 17:32 .git [2023-04-10T17:34:11.140Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 17:32 .github [2023-04-10T17:34:11.140Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 10 17:32 .gitignore [2023-04-10T17:34:11.140Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 10 17:32 .golangci.yml [2023-04-10T17:34:11.140Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 17:32 .semver [2023-04-10T17:34:11.140Z] -rw-rw-r-- 1 jenkins jenkins 9732 Apr 10 17:32 Attribution.txt [2023-04-10T17:34:11.140Z] -rw-rw-r-- 1 jenkins jenkins 6312 Apr 10 17:32 CHANGELOG.md [2023-04-10T17:34:11.140Z] -rw-rw-r-- 1 jenkins jenkins 1574 Apr 10 17:32 Dockerfile [2023-04-10T17:34:11.140Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 17:32 GOVERNANCE.md [2023-04-10T17:34:11.140Z] -rw-rw-r-- 1 jenkins jenkins 734 Apr 10 17:32 Jenkinsfile [2023-04-10T17:34:11.141Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 10 17:32 LICENSE [2023-04-10T17:34:11.141Z] -rw-rw-r-- 1 jenkins jenkins 2751 Apr 10 17:32 Makefile [2023-04-10T17:34:11.141Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 10 17:32 OWNERS.md [2023-04-10T17:34:11.141Z] -rw-rw-r-- 1 jenkins jenkins 6250 Apr 10 17:32 README.md [2023-04-10T17:34:11.141Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 10 17:32 VERSION [2023-04-10T17:34:11.141Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 17:32 bin [2023-04-10T17:34:11.141Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 17:32 cmd [2023-04-10T17:34:11.141Z] -rw-r--r-- 1 jenkins jenkins 78835 Apr 10 17:33 coverage.out [2023-04-10T17:34:11.141Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 10 17:32 doc [2023-04-10T17:34:11.141Z] -rw-rw-r-- 1 jenkins jenkins 3557 Apr 10 17:32 go.mod [2023-04-10T17:34:11.141Z] -rw-rw-r-- 1 jenkins jenkins 33057 Apr 10 17:32 go.sum [2023-04-10T17:34:11.141Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 17:32 internal [2023-04-10T17:34:11.141Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 17:32 snap [2023-04-10T17:34:11.141Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 10 17:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:34:11.443Z] + 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=7c14cf897af34df275d4233d707e2506881d1776 --label arch=amd64 --label version=3.0.0-dev.29 . [2023-04-10T17:34:11.443Z] Sending build context to Docker daemon 26.99MB [2023-04-10T17:34:11.443Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-04-10T17:34:11.443Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-10T17:34:11.443Z] ---> dc3b126587cd [2023-04-10T17:34:11.443Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-10T17:34:11.702Z] ---> Running in 8c6f562010c6 [2023-04-10T17:34:11.702Z] Removing intermediate container 8c6f562010c6 [2023-04-10T17:34:11.702Z] ---> db75d1d87d44 [2023-04-10T17:34:11.702Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-10T17:34:11.961Z] ---> Running in 6b79ecd2c28a [2023-04-10T17:34:11.961Z] Removing intermediate container 6b79ecd2c28a [2023-04-10T17:34:11.961Z] ---> 3d997a4cc275 [2023-04-10T17:34:11.961Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-04-10T17:34:11.961Z] ---> Running in f13a7efce2d1 [2023-04-10T17:34:11.961Z] Removing intermediate container f13a7efce2d1 [2023-04-10T17:34:11.961Z] ---> e26b05f24968 [2023-04-10T17:34:11.961Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-10T17:34:11.961Z] ---> Running in 1e57b2262b91 [2023-04-10T17:34:11.961Z] Removing intermediate container 1e57b2262b91 [2023-04-10T17:34:11.961Z] ---> ff25e26dea9b [2023-04-10T17:34:11.961Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-10T17:34:12.219Z] ---> Running in d80fc1c2b8fb [2023-04-10T17:34:12.219Z] Removing intermediate container d80fc1c2b8fb [2023-04-10T17:34:12.219Z] ---> 855810310637 [2023-04-10T17:34:12.219Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-10T17:34:12.219Z] ---> Running in 81d6f63334ed [2023-04-10T17:34:12.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-10T17:34:12.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-10T17:34:12.736Z] OK: 265 MiB in 53 packages [2023-04-10T17:34:12.994Z] Removing intermediate container 81d6f63334ed [2023-04-10T17:34:12.994Z] ---> 922194d7c6f6 [2023-04-10T17:34:12.994Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-10T17:34:12.994Z] ---> Running in 6aec5ac95faf [2023-04-10T17:34:12.994Z] Removing intermediate container 6aec5ac95faf [2023-04-10T17:34:12.994Z] ---> 8069dd3bfc15 [2023-04-10T17:34:12.994Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-10T17:34:13.252Z] ---> 697a351ec812 [2023-04-10T17:34:13.252Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-10T17:34:13.252Z] ---> Running in bfd26b3fbb8a [2023-04-10T17:34:13.820Z] Removing intermediate container bfd26b3fbb8a [2023-04-10T17:34:13.820Z] ---> fa8a8bee4c19 [2023-04-10T17:34:13.820Z] Step 12/26 : COPY . . [2023-04-10T17:34:14.755Z] ---> cc1bb634f5fc [2023-04-10T17:34:14.755Z] Step 13/26 : RUN ${MAKE} [2023-04-10T17:34:14.755Z] ---> Running in 7d3f73c4c972 [2023-04-10T17:34:14.755Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.29" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-04-10T17:34:32.885Z] Removing intermediate container 7d3f73c4c972 [2023-04-10T17:34:32.885Z] ---> 07102ca3dd5c [2023-04-10T17:34:32.885Z] Step 14/26 : FROM alpine:3.17 [2023-04-10T17:34:32.885Z] 3.17: Pulling from library/alpine [2023-04-10T17:34:32.885Z] f56be85fc22e: Pulling fs layer [2023-04-10T17:34:32.885Z] f56be85fc22e: Verifying Checksum [2023-04-10T17:34:32.885Z] f56be85fc22e: Download complete [2023-04-10T17:34:32.885Z] f56be85fc22e: Pull complete [2023-04-10T17:34:32.885Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-10T17:34:32.885Z] Status: Downloaded newer image for alpine:3.17 [2023-04-10T17:34:32.885Z] ---> 9ed4aefc74f6 [2023-04-10T17:34:32.885Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-10T17:34:33.143Z] ---> Running in 175f2e464b2b [2023-04-10T17:34:33.143Z] Removing intermediate container 175f2e464b2b [2023-04-10T17:34:33.143Z] ---> c567d5c43dab [2023-04-10T17:34:33.143Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-04-10T17:34:33.143Z] ---> Running in 06b5272a334c [2023-04-10T17:34:33.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-10T17:34:33.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-10T17:34:33.658Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-10T17:34:33.658Z] Executing busybox-1.35.0-r29.trigger [2023-04-10T17:34:33.658Z] OK: 7 MiB in 16 packages [2023-04-10T17:34:33.917Z] Removing intermediate container 06b5272a334c [2023-04-10T17:34:33.917Z] ---> 1b87b4c325d2 [2023-04-10T17:34:33.917Z] Step 17/26 : WORKDIR / [2023-04-10T17:34:34.175Z] ---> Running in 1596438c56a3 [2023-04-10T17:34:34.175Z] Removing intermediate container 1596438c56a3 [2023-04-10T17:34:34.175Z] ---> abd00a5fa5f0 [2023-04-10T17:34:34.175Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-10T17:34:34.742Z] ---> 60db1e5a093b [2023-04-10T17:34:34.742Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-10T17:34:34.999Z] ---> 99ba723702ef [2023-04-10T17:34:34.999Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-10T17:34:34.999Z] ---> f0d311090453 [2023-04-10T17:34:34.999Z] Step 21/26 : EXPOSE 59984 [2023-04-10T17:34:34.999Z] ---> Running in 6ec9e8c68ec1 [2023-04-10T17:34:34.999Z] Removing intermediate container 6ec9e8c68ec1 [2023-04-10T17:34:34.999Z] ---> d5dc5a36e18b [2023-04-10T17:34:34.999Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-10T17:34:34.999Z] ---> Running in 65ca0ad89958 [2023-04-10T17:34:35.258Z] Removing intermediate container 65ca0ad89958 [2023-04-10T17:34:35.258Z] ---> 9b7cf4f9d709 [2023-04-10T17:34:35.258Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-10T17:34:35.258Z] ---> Running in c8e6670f9993 [2023-04-10T17:34:35.258Z] Removing intermediate container c8e6670f9993 [2023-04-10T17:34:35.258Z] ---> 1508abc192ff [2023-04-10T17:34:35.258Z] Step 24/26 : LABEL arch=amd64 [2023-04-10T17:34:35.258Z] ---> Running in f978d0be93c5 [2023-04-10T17:34:35.258Z] Removing intermediate container f978d0be93c5 [2023-04-10T17:34:35.258Z] ---> 0ac5c12b6796 [2023-04-10T17:34:35.258Z] Step 25/26 : LABEL git_sha=7c14cf897af34df275d4233d707e2506881d1776 [2023-04-10T17:34:35.258Z] ---> Running in 65bb187cef7a [2023-04-10T17:34:35.516Z] Removing intermediate container 65bb187cef7a [2023-04-10T17:34:35.516Z] ---> 95bf76f7736d [2023-04-10T17:34:35.516Z] Step 26/26 : LABEL version=3.0.0-dev.29 [2023-04-10T17:34:35.516Z] ---> Running in 395e7ba1b612 [2023-04-10T17:34:35.516Z] Removing intermediate container 395e7ba1b612 [2023-04-10T17:34:35.516Z] ---> 5e8a0b91ba14 [2023-04-10T17:34:35.516Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-10T17:34:35.516Z] Successfully built 5e8a0b91ba14 [2023-04-10T17:34:35.516Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-10T17:34:35.624Z] provisioning config files... [2023-04-10T17:34:35.632Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17866231333130306304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-10T17:34:35.932Z] ---> docker-login.sh [2023-04-10T17:34:35.932Z] nexus3.edgexfoundry.org:10001 [2023-04-10T17:34:35.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T17:34:35.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T17:34:35.932Z] Configure a credential helper to remove this warning. See [2023-04-10T17:34:35.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T17:34:35.932Z] [2023-04-10T17:34:35.932Z] Login Succeeded [2023-04-10T17:34:35.932Z] nexus3.edgexfoundry.org:10002 [2023-04-10T17:34:35.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T17:34:35.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T17:34:35.932Z] Configure a credential helper to remove this warning. See [2023-04-10T17:34:35.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T17:34:35.932Z] [2023-04-10T17:34:35.932Z] Login Succeeded [2023-04-10T17:34:35.932Z] nexus3.edgexfoundry.org:10003 [2023-04-10T17:34:36.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T17:34:36.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T17:34:36.190Z] Configure a credential helper to remove this warning. See [2023-04-10T17:34:36.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T17:34:36.190Z] [2023-04-10T17:34:36.190Z] Login Succeeded [2023-04-10T17:34:36.190Z] nexus3.edgexfoundry.org:10004 [2023-04-10T17:34:36.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T17:34:36.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T17:34:36.190Z] Configure a credential helper to remove this warning. See [2023-04-10T17:34:36.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T17:34:36.190Z] [2023-04-10T17:34:36.190Z] Login Succeeded [2023-04-10T17:34:36.190Z] docker.io [2023-04-10T17:34:36.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T17:34:36.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T17:34:36.449Z] Configure a credential helper to remove this warning. See [2023-04-10T17:34:36.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T17:34:36.449Z] [2023-04-10T17:34:36.449Z] Login Succeeded [2023-04-10T17:34:36.449Z] ---> docker-login.sh ends [Pipeline] } [2023-04-10T17:34:36.456Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-10T17:34:36.485Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-10T17:34:36.509Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2023-04-10T17:34:36.509Z] 7c14cf897af34df275d4233d707e2506881d1776 [2023-04-10T17:34:36.509Z] latest [2023-04-10T17:34:36.509Z] 3.0.0-dev.29 [2023-04-10T17:34:36.509Z] 7c14cf897af34df275d4233d707e2506881d1776-3.0.0-dev.29 [2023-04-10T17:34:36.509Z] main [2023-04-10T17:34:36.509Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:34:36.824Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:7c14cf897af34df275d4233d707e2506881d1776 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:34:37.129Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:7c14cf897af34df275d4233d707e2506881d1776 [2023-04-10T17:34:37.129Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-04-10T17:34:37.129Z] 8ae163064854: Preparing [2023-04-10T17:34:37.129Z] 1e48a4e80284: Preparing [2023-04-10T17:34:37.129Z] ff305a3463d5: Preparing [2023-04-10T17:34:37.129Z] 082358a5948b: Preparing [2023-04-10T17:34:37.129Z] f1417ff83b31: Preparing [2023-04-10T17:34:37.129Z] f1417ff83b31: Layer already exists [2023-04-10T17:34:37.129Z] 082358a5948b: Pushed [2023-04-10T17:34:37.129Z] 8ae163064854: Pushed [2023-04-10T17:34:37.129Z] 1e48a4e80284: Pushed [2023-04-10T17:34:38.968Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7304 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2023-04-10T17:34:38.977Z] Running in /w/workspace/device-onvif-camera/123 [Pipeline] { [Pipeline] checkout [2023-04-10T17:34:39.002Z] The recommended git tool is: git [2023-04-10T17:34:39.660Z] ff305a3463d5: Pushed [2023-04-10T17:34:39.918Z] 7c14cf897af34df275d4233d707e2506881d1776: digest: sha256:940bc006d334b470eac8ae668953cb8f898b1f19f61b06332ae2e3521c1c326d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:34:40.235Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:34:40.538Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-04-10T17:34:40.538Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-04-10T17:34:40.538Z] 8ae163064854: Preparing [2023-04-10T17:34:40.538Z] 1e48a4e80284: Preparing [2023-04-10T17:34:40.538Z] ff305a3463d5: Preparing [2023-04-10T17:34:40.538Z] 082358a5948b: Preparing [2023-04-10T17:34:40.538Z] f1417ff83b31: Preparing [2023-04-10T17:34:40.538Z] 082358a5948b: Layer already exists [2023-04-10T17:34:40.538Z] ff305a3463d5: Layer already exists [2023-04-10T17:34:40.538Z] 8ae163064854: Layer already exists [2023-04-10T17:34:40.538Z] 1e48a4e80284: Layer already exists [2023-04-10T17:34:40.538Z] f1417ff83b31: Layer already exists [2023-04-10T17:34:40.538Z] latest: digest: sha256:940bc006d334b470eac8ae668953cb8f898b1f19f61b06332ae2e3521c1c326d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:34:40.857Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:34:41.163Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.29 [2023-04-10T17:34:41.163Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-04-10T17:34:41.163Z] 8ae163064854: Preparing [2023-04-10T17:34:41.163Z] 1e48a4e80284: Preparing [2023-04-10T17:34:41.163Z] ff305a3463d5: Preparing [2023-04-10T17:34:41.163Z] 082358a5948b: Preparing [2023-04-10T17:34:41.163Z] f1417ff83b31: Preparing [2023-04-10T17:34:41.163Z] 8ae163064854: Layer already exists [2023-04-10T17:34:41.163Z] 082358a5948b: Layer already exists [2023-04-10T17:34:41.163Z] f1417ff83b31: Layer already exists [2023-04-10T17:34:41.163Z] 1e48a4e80284: Layer already exists [2023-04-10T17:34:41.163Z] ff305a3463d5: Layer already exists [2023-04-10T17:34:41.163Z] 3.0.0-dev.29: digest: sha256:940bc006d334b470eac8ae668953cb8f898b1f19f61b06332ae2e3521c1c326d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:34:41.472Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:7c14cf897af34df275d4233d707e2506881d1776-3.0.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:34:41.781Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:7c14cf897af34df275d4233d707e2506881d1776-3.0.0-dev.29 [2023-04-10T17:34:41.781Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-04-10T17:34:41.781Z] 8ae163064854: Preparing [2023-04-10T17:34:41.781Z] 1e48a4e80284: Preparing [2023-04-10T17:34:41.781Z] ff305a3463d5: Preparing [2023-04-10T17:34:41.781Z] 082358a5948b: Preparing [2023-04-10T17:34:41.781Z] f1417ff83b31: Preparing [2023-04-10T17:34:41.781Z] 8ae163064854: Layer already exists [2023-04-10T17:34:41.781Z] 082358a5948b: Layer already exists [2023-04-10T17:34:41.781Z] f1417ff83b31: Layer already exists [2023-04-10T17:34:41.781Z] 1e48a4e80284: Layer already exists [2023-04-10T17:34:41.781Z] ff305a3463d5: Layer already exists [2023-04-10T17:34:41.781Z] 7c14cf897af34df275d4233d707e2506881d1776-3.0.0-dev.29: digest: sha256:940bc006d334b470eac8ae668953cb8f898b1f19f61b06332ae2e3521c1c326d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:34:42.093Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:34:42.398Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2023-04-10T17:34:42.398Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-04-10T17:34:42.398Z] 8ae163064854: Preparing [2023-04-10T17:34:42.398Z] 1e48a4e80284: Preparing [2023-04-10T17:34:42.398Z] ff305a3463d5: Preparing [2023-04-10T17:34:42.398Z] 082358a5948b: Preparing [2023-04-10T17:34:42.398Z] f1417ff83b31: Preparing [2023-04-10T17:34:42.398Z] ff305a3463d5: Layer already exists [2023-04-10T17:34:42.398Z] f1417ff83b31: Layer already exists [2023-04-10T17:34:42.398Z] 082358a5948b: Layer already exists [2023-04-10T17:34:42.398Z] 8ae163064854: Layer already exists [2023-04-10T17:34:42.398Z] 1e48a4e80284: Layer already exists [2023-04-10T17:34:42.398Z] main: digest: sha256:940bc006d334b470eac8ae668953cb8f898b1f19f61b06332ae2e3521c1c326d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-10T17:34:42.448Z] ===================================================== [Pipeline] echo [2023-04-10T17:34:42.455Z] taggedImages: [2023-04-10T17:34:42.455Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:7c14cf897af34df275d4233d707e2506881d1776 [2023-04-10T17:34:42.455Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-04-10T17:34:42.455Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.29 [2023-04-10T17:34:42.455Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:7c14cf897af34df275d4233d707e2506881d1776-3.0.0-dev.29 [2023-04-10T17:34:42.455Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:34:42.830Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-10T17:34:42.830Z] [2023-04-10T17:34:42.830Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:34:43.128Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-10T17:34:43.128Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-10T17:34:43.128Z] 5eb5b503b376: Pulling fs layer [2023-04-10T17:34:43.128Z] 5c69ac0246d0: Pulling fs layer [2023-04-10T17:34:43.128Z] ec43610c2a17: Pulling fs layer [2023-04-10T17:34:43.128Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-10T17:34:43.128Z] 33b1e0a273af: Pulling fs layer [2023-04-10T17:34:43.128Z] 5d3b04190fa2: Pulling fs layer [2023-04-10T17:34:43.128Z] 2f39f015ded8: Pulling fs layer [2023-04-10T17:34:43.128Z] 5d3b04190fa2: Waiting [2023-04-10T17:34:43.128Z] 33b1e0a273af: Waiting [2023-04-10T17:34:43.128Z] 2f39f015ded8: Waiting [2023-04-10T17:34:43.128Z] 3a2ae6a8a46f: Waiting [2023-04-10T17:34:43.128Z] 5c69ac0246d0: Download complete [2023-04-10T17:34:43.128Z] 3a2ae6a8a46f: Download complete [2023-04-10T17:34:43.128Z] 33b1e0a273af: Verifying Checksum [2023-04-10T17:34:43.128Z] 33b1e0a273af: Download complete [2023-04-10T17:34:43.128Z] ec43610c2a17: Verifying Checksum [2023-04-10T17:34:43.128Z] ec43610c2a17: Download complete [2023-04-10T17:34:43.128Z] 5d3b04190fa2: Verifying Checksum [2023-04-10T17:34:43.128Z] 5d3b04190fa2: Download complete [2023-04-10T17:34:43.386Z] 5eb5b503b376: Verifying Checksum [2023-04-10T17:34:43.386Z] 5eb5b503b376: Download complete [2023-04-10T17:34:43.952Z] 2f39f015ded8: Download complete [2023-04-10T17:34:44.164Z] using credential edgex-jenkins-ssh [2023-04-10T17:34:44.192Z] Cloning the remote Git repository [2023-04-10T17:34:44.515Z] 5eb5b503b376: Pull complete [2023-04-10T17:34:44.515Z] 5c69ac0246d0: Pull complete [2023-04-10T17:34:45.080Z] ec43610c2a17: Pull complete [2023-04-10T17:34:45.080Z] 3a2ae6a8a46f: Pull complete [2023-04-10T17:34:44.241Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-10T17:34:44.341Z] > git init /w/workspace/device-onvif-camera/123 # timeout=10 [2023-04-10T17:34:44.494Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-10T17:34:44.495Z] > git --version # timeout=10 [2023-04-10T17:34:44.521Z] > git --version # 'git version 2.25.1' [2023-04-10T17:34:44.524Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-10T17:34:44.684Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-10T17:34:45.338Z] 33b1e0a273af: Pull complete [2023-04-10T17:34:45.338Z] 5d3b04190fa2: Pull complete [2023-04-10T17:34:46.028Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-10T17:34:46.048Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-10T17:34:46.850Z] Avoid second fetch [2023-04-10T17:34:46.850Z] Checking out Revision 7c14cf897af34df275d4233d707e2506881d1776 (main) [2023-04-10T17:34:47.550Z] Commit message: "feat!: Consume SDK interface changes (#301)" [2023-04-10T17:34:46.870Z] > git config core.sparsecheckout # timeout=10 [2023-04-10T17:34:46.932Z] > git checkout -f 7c14cf897af34df275d4233d707e2506881d1776 # timeout=10 [2023-04-10T17:34:47.988Z] [2023-04-10T17:34:47.988Z] GitHub has been notified of this commit’s build result [2023-04-10T17:34:47.988Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-10T17:34:48.523Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-10T17:34:48.523Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-10T17:34:48.523Z] Dload Upload Total Spent Left Speed [2023-04-10T17:34:48.523Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh [2023-04-10T17:34:49.183Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-10T17:34:49.515Z] 2f39f015ded8: Pull complete [2023-04-10T17:34:49.515Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-10T17:34:49.515Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-10T17:34:49.515Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-10T17:34:49.516Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-10T17:34:49.516Z] + sudo tee /etc/docker/daemon.new [2023-04-10T17:34:49.516Z] { [2023-04-10T17:34:49.516Z] "registry-mirrors": [ [2023-04-10T17:34:49.516Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-10T17:34:49.516Z] ], [2023-04-10T17:34:49.516Z] "bip": "10.250.0.254/24", [2023-04-10T17:34:49.516Z] "hosts": [ [2023-04-10T17:34:49.516Z] "tcp://0.0.0.0:5555", [2023-04-10T17:34:49.516Z] "unix:///var/run/docker.sock" [2023-04-10T17:34:49.516Z] ], [2023-04-10T17:34:49.516Z] "mtu": 1458, [2023-04-10T17:34:49.516Z] "selinux-enabled": true, [2023-04-10T17:34:49.516Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-10T17:34:49.516Z] } [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T17:34:49.581Z] prd-ubuntu20.04-docker-8c-8g-7288 does not seem to be running inside a container [2023-04-10T17:34:49.606Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-10T17:34:52.075Z] $ docker top 8fb1c33a1a542e4a6a9afdc4af1dfbf9eba524abb60fe1beee80b034f4f209a4 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2023-04-10T17:34:52.432Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-10T17:34:52.510Z] ---> job-cost.sh [2023-04-10T17:34:52.510Z] lf-activate-venv: SKIPPING [2023-04-10T17:34:52.510Z] INFO: No Stack... [2023-04-10T17:34:52.759Z] + sudo service docker restart [2023-04-10T17:34:53.076Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-10T17:34:53.336Z] INFO: Archiving Costs [Pipeline] sh [2023-04-10T17:34:53.623Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2023-04-10T17:34:53.623Z] + cut -d, -f6 [Pipeline] lock [2023-04-10T17:34:53.636Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-123-stack-cost] [2023-04-10T17:34:53.643Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-123-stack-cost] did not exist. Created. [2023-04-10T17:34:53.643Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-123-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-10T17:34:53.948Z] + echo total: 2.190000057220459 [Pipeline] stash [2023-04-10T17:34:53.978Z] Stashed 1 file(s) [Pipeline] } [2023-04-10T17:34:53.987Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-123-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-10T17:34:54.006Z] $ docker stop --time=1 8fb1c33a1a542e4a6a9afdc4af1dfbf9eba524abb60fe1beee80b034f4f209a4 [2023-04-10T17:34:55.141Z] $ docker rm -f --volumes 8fb1c33a1a542e4a6a9afdc4af1dfbf9eba524abb60fe1beee80b034f4f209a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-10T17:35:11.022Z] provisioning config files... [2023-04-10T17:35:11.047Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/123@tmp/config8306725932891944929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-10T17:35:11.397Z] ---> docker-login.sh [2023-04-10T17:35:11.397Z] nexus3.edgexfoundry.org:10001 [2023-04-10T17:35:11.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T17:35:11.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T17:35:11.987Z] Configure a credential helper to remove this warning. See [2023-04-10T17:35:11.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T17:35:11.987Z] [2023-04-10T17:35:11.987Z] Login Succeeded [2023-04-10T17:35:11.987Z] nexus3.edgexfoundry.org:10002 [2023-04-10T17:35:12.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T17:35:12.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T17:35:12.259Z] Configure a credential helper to remove this warning. See [2023-04-10T17:35:12.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T17:35:12.259Z] [2023-04-10T17:35:12.259Z] Login Succeeded [2023-04-10T17:35:12.259Z] nexus3.edgexfoundry.org:10003 [2023-04-10T17:35:12.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T17:35:12.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T17:35:12.805Z] Configure a credential helper to remove this warning. See [2023-04-10T17:35:12.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T17:35:12.805Z] [2023-04-10T17:35:12.805Z] Login Succeeded [2023-04-10T17:35:12.805Z] nexus3.edgexfoundry.org:10004 [2023-04-10T17:35:13.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T17:35:13.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T17:35:13.074Z] Configure a credential helper to remove this warning. See [2023-04-10T17:35:13.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T17:35:13.074Z] [2023-04-10T17:35:13.074Z] Login Succeeded [2023-04-10T17:35:13.074Z] docker.io [2023-04-10T17:35:13.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T17:35:13.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T17:35:13.616Z] Configure a credential helper to remove this warning. See [2023-04-10T17:35:13.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T17:35:13.616Z] [2023-04-10T17:35:13.616Z] Login Succeeded [2023-04-10T17:35:13.616Z] ---> docker-login.sh ends [Pipeline] } [2023-04-10T17:35:13.631Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-10T17:35:13.883Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-10T17:35:13.898Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-10T17:35:13.908Z] ========================================================= [2023-04-10T17:35:13.908Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-10T17:35:13.908Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:35:14.258Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-10T17:35:14.853Z] Sending build context to Docker daemon 19.65MB [2023-04-10T17:35:14.853Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-10T17:35:14.853Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-10T17:35:18.228Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-10T17:35:18.228Z] af6eaf76a39c: Pulling fs layer [2023-04-10T17:35:18.228Z] 55522c791124: Pulling fs layer [2023-04-10T17:35:18.228Z] ce5c4a1c91eb: Pulling fs layer [2023-04-10T17:35:18.228Z] 169dfbe0d373: Pulling fs layer [2023-04-10T17:35:18.228Z] e1ff8fa3b103: Pulling fs layer [2023-04-10T17:35:18.228Z] 52ebb69f0ebf: Pulling fs layer [2023-04-10T17:35:18.228Z] 5abe8eddf0d5: Pulling fs layer [2023-04-10T17:35:18.228Z] e1ff8fa3b103: Waiting [2023-04-10T17:35:18.228Z] 52ebb69f0ebf: Waiting [2023-04-10T17:35:18.228Z] 5abe8eddf0d5: Waiting [2023-04-10T17:35:18.228Z] 169dfbe0d373: Waiting [2023-04-10T17:35:18.228Z] 55522c791124: Verifying Checksum [2023-04-10T17:35:18.228Z] 55522c791124: Download complete [2023-04-10T17:35:18.228Z] 169dfbe0d373: Verifying Checksum [2023-04-10T17:35:18.228Z] 169dfbe0d373: Download complete [2023-04-10T17:35:18.228Z] e1ff8fa3b103: Verifying Checksum [2023-04-10T17:35:18.228Z] e1ff8fa3b103: Download complete [2023-04-10T17:35:18.228Z] af6eaf76a39c: Verifying Checksum [2023-04-10T17:35:18.228Z] af6eaf76a39c: Download complete [2023-04-10T17:35:19.195Z] af6eaf76a39c: Pull complete [2023-04-10T17:35:19.195Z] 5abe8eddf0d5: Verifying Checksum [2023-04-10T17:35:19.195Z] 5abe8eddf0d5: Download complete [2023-04-10T17:35:19.464Z] 55522c791124: Pull complete [2023-04-10T17:35:20.441Z] 52ebb69f0ebf: Verifying Checksum [2023-04-10T17:35:20.441Z] 52ebb69f0ebf: Download complete [2023-04-10T17:35:20.441Z] ce5c4a1c91eb: Verifying Checksum [2023-04-10T17:35:20.441Z] ce5c4a1c91eb: Download complete [2023-04-10T17:35:32.783Z] ce5c4a1c91eb: Pull complete [2023-04-10T17:35:32.783Z] 169dfbe0d373: Pull complete [2023-04-10T17:35:32.783Z] e1ff8fa3b103: Pull complete [2023-04-10T17:35:39.454Z] 52ebb69f0ebf: Pull complete [2023-04-10T17:35:40.419Z] 5abe8eddf0d5: Pull complete [2023-04-10T17:35:40.686Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-10T17:35:40.686Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-10T17:35:40.686Z] ---> 6cb57ee374ae [2023-04-10T17:35:40.686Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-10T17:35:42.654Z] ---> Running in b51cbb60e860 [2023-04-10T17:35:42.654Z] Removing intermediate container b51cbb60e860 [2023-04-10T17:35:42.654Z] ---> da029f125490 [2023-04-10T17:35:42.654Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-10T17:35:42.654Z] ---> Running in b745527c40b2 [2023-04-10T17:35:42.923Z] Removing intermediate container b745527c40b2 [2023-04-10T17:35:42.923Z] ---> 3100275389b1 [2023-04-10T17:35:42.923Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-10T17:35:43.190Z] ---> Running in 207f71183457 [2023-04-10T17:35:43.459Z] Removing intermediate container 207f71183457 [2023-04-10T17:35:43.459Z] ---> 5dcfe79be100 [2023-04-10T17:35:43.459Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-10T17:35:43.459Z] ---> Running in 21ec31b5ce0f [2023-04-10T17:35:43.736Z] Removing intermediate container 21ec31b5ce0f [2023-04-10T17:35:43.736Z] ---> 96fde179bdc5 [2023-04-10T17:35:43.736Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-10T17:35:44.008Z] ---> Running in 9d73b6631150 [2023-04-10T17:35:44.280Z] Removing intermediate container 9d73b6631150 [2023-04-10T17:35:44.280Z] ---> b66534ec4eaf [2023-04-10T17:35:44.280Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-10T17:35:44.280Z] ---> Running in 66fb11487be2 [2023-04-10T17:35:45.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-10T17:35:45.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-10T17:35:46.920Z] OK: 263 MiB in 53 packages [2023-04-10T17:35:47.888Z] Removing intermediate container 66fb11487be2 [2023-04-10T17:35:47.888Z] ---> 7d9dca6d9cfb [2023-04-10T17:35:47.888Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-10T17:35:47.888Z] ---> Running in e7ad22456247 [2023-04-10T17:35:48.156Z] Removing intermediate container e7ad22456247 [2023-04-10T17:35:48.156Z] ---> 04ac6bde7cda [2023-04-10T17:35:48.156Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-10T17:35:48.814Z] ---> a1a5601ae5d6 [2023-04-10T17:35:48.814Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-10T17:35:48.814Z] ---> Running in 6263cdf1689b [2023-04-10T17:36:56.766Z] Removing intermediate container 6263cdf1689b [2023-04-10T17:36:56.766Z] ---> 51183f85fcf5 [2023-04-10T17:36:56.766Z] Step 12/13 : COPY . . [2023-04-10T17:36:56.766Z] ---> 44eae87577a4 [2023-04-10T17:36:56.766Z] Step 13/13 : RUN ${MAKE} [2023-04-10T17:36:56.766Z] ---> Running in 0406bcd7240d [2023-04-10T17:36:56.766Z] noop [2023-04-10T17:36:56.766Z] Removing intermediate container 0406bcd7240d [2023-04-10T17:36:56.766Z] ---> 85fb75c9dfc2 [2023-04-10T17:36:56.766Z] Successfully built 85fb75c9dfc2 [2023-04-10T17:36:56.766Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:36:57.121Z] + docker inspect -f . ci-base-image-arm64 [2023-04-10T17:36:57.121Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T17:36:57.332Z] prd-ubuntu20.04-docker-arm64-4c-16g-7304 does not seem to be running inside a container [2023-04-10T17:36:57.401Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/123 -v /w/workspace/device-onvif-camera/123:/w/workspace/device-onvif-camera/123:rw,z -v /w/workspace/device-onvif-camera/123@tmp:/w/workspace/device-onvif-camera/123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-10T17:36:58.626Z] $ docker top 157e84c0fd438835f04dc4889627b70765d19400f9642838eb85eeb617ec0909 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-10T17:36:59.460Z] + go version [2023-04-10T17:36:59.461Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-10T17:36:59.481Z] $ docker stop --time=1 157e84c0fd438835f04dc4889627b70765d19400f9642838eb85eeb617ec0909 [2023-04-10T17:37:01.090Z] $ docker rm -f --volumes 157e84c0fd438835f04dc4889627b70765d19400f9642838eb85eeb617ec0909 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:37:01.627Z] + docker inspect -f . ci-base-image-arm64 [2023-04-10T17:37:01.627Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T17:37:01.813Z] prd-ubuntu20.04-docker-arm64-4c-16g-7304 does not seem to be running inside a container [2023-04-10T17:37:01.890Z] $ 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/123 -v /w/workspace/device-onvif-camera/123:/w/workspace/device-onvif-camera/123:rw,z -v /w/workspace/device-onvif-camera/123@tmp:/w/workspace/device-onvif-camera/123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-10T17:37:04.089Z] $ docker top 1a3e329219c48aaeb4ef3bdb4ab386d7294e1bdba6bc99f23f4c8b86337e79e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-10T17:37:04.587Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/123 [Pipeline] fileExists [Pipeline] sh [2023-04-10T17:37:04.912Z] + make test [2023-04-10T17:37:04.912Z] go test ./... -coverprofile=coverage.out ./... [2023-04-10T17:37:37.131Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-10T17:39:43.827Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-10T17:39:43.827Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-10T17:39:45.258Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.219s coverage: 31.6% of statements [2023-04-10T17:40:12.000Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.417s coverage: 86.5% of statements [2023-04-10T17:40:12.000Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-10T17:40:12.000Z] go vet ./... [2023-04-10T17:40:38.707Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-10T17:40:38.707Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-10T17:40:38.976Z] ./bin/test-attribution-txt.sh [2023-04-10T17:40:38.976Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-10T17:40:39.260Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-10T17:40:39.274Z] $ docker stop --time=1 1a3e329219c48aaeb4ef3bdb4ab386d7294e1bdba6bc99f23f4c8b86337e79e2 [2023-04-10T17:40:41.141Z] $ docker rm -f --volumes 1a3e329219c48aaeb4ef3bdb4ab386d7294e1bdba6bc99f23f4c8b86337e79e2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-10T17:40:42.351Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-10T17:40:42.371Z] Warning: overwriting stash ‘coverage-report’ [2023-04-10T17:40:42.878Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-10T17:40:43.235Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-10T17:40:43.556Z] + ls -al . [2023-04-10T17:40:43.556Z] total 232 [2023-04-10T17:40:43.556Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 17:37 . [2023-04-10T17:40:43.556Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 17:34 .. [2023-04-10T17:40:43.556Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 17:34 .git [2023-04-10T17:40:43.556Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 17:34 .github [2023-04-10T17:40:43.556Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 10 17:34 .gitignore [2023-04-10T17:40:43.556Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 10 17:34 .golangci.yml [2023-04-10T17:40:43.556Z] -rw-rw-r-- 1 jenkins jenkins 9732 Apr 10 17:34 Attribution.txt [2023-04-10T17:40:43.556Z] -rw-rw-r-- 1 jenkins jenkins 6312 Apr 10 17:34 CHANGELOG.md [2023-04-10T17:40:43.556Z] -rw-rw-r-- 1 jenkins jenkins 1574 Apr 10 17:34 Dockerfile [2023-04-10T17:40:43.556Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 17:34 GOVERNANCE.md [2023-04-10T17:40:43.556Z] -rw-rw-r-- 1 jenkins jenkins 734 Apr 10 17:34 Jenkinsfile [2023-04-10T17:40:43.556Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 10 17:34 LICENSE [2023-04-10T17:40:43.556Z] -rw-rw-r-- 1 jenkins jenkins 2751 Apr 10 17:34 Makefile [2023-04-10T17:40:43.556Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 10 17:34 OWNERS.md [2023-04-10T17:40:43.556Z] -rw-rw-r-- 1 jenkins jenkins 6250 Apr 10 17:34 README.md [2023-04-10T17:40:43.556Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 10 17:32 VERSION [2023-04-10T17:40:43.556Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 17:34 bin [2023-04-10T17:40:43.556Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 17:34 cmd [2023-04-10T17:40:43.556Z] -rw-r--r-- 1 jenkins jenkins 78835 Apr 10 17:40 coverage.out [2023-04-10T17:40:43.556Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 10 17:34 doc [2023-04-10T17:40:43.556Z] -rw-rw-r-- 1 jenkins jenkins 3557 Apr 10 17:34 go.mod [2023-04-10T17:40:43.556Z] -rw-rw-r-- 1 jenkins jenkins 33057 Apr 10 17:34 go.sum [2023-04-10T17:40:43.556Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 17:34 internal [2023-04-10T17:40:43.556Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 17:34 snap [2023-04-10T17:40:43.556Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 10 17:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:40:43.888Z] + 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=7c14cf897af34df275d4233d707e2506881d1776 --label arch=arm64 --label version=3.0.0-dev.29 . [2023-04-10T17:40:44.472Z] Sending build context to Docker daemon 19.72MB [2023-04-10T17:40:44.472Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-04-10T17:40:44.472Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-10T17:40:44.472Z] ---> 85fb75c9dfc2 [2023-04-10T17:40:44.472Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-10T17:40:46.419Z] ---> Running in 165e261f210a [2023-04-10T17:40:47.013Z] Removing intermediate container 165e261f210a [2023-04-10T17:40:47.013Z] ---> 2683a66c1639 [2023-04-10T17:40:47.013Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-10T17:40:47.013Z] ---> Running in 213a57b51f00 [2023-04-10T17:40:47.281Z] Removing intermediate container 213a57b51f00 [2023-04-10T17:40:47.281Z] ---> a0584a53a691 [2023-04-10T17:40:47.281Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-04-10T17:40:47.281Z] ---> Running in c1d791f4ee5f [2023-04-10T17:40:47.556Z] Removing intermediate container c1d791f4ee5f [2023-04-10T17:40:47.556Z] ---> f42cc16efe74 [2023-04-10T17:40:47.556Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-10T17:40:47.827Z] ---> Running in a890136d0617 [2023-04-10T17:40:48.098Z] Removing intermediate container a890136d0617 [2023-04-10T17:40:48.098Z] ---> 136b83304f44 [2023-04-10T17:40:48.098Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-10T17:40:48.098Z] ---> Running in d853d0b1c51a [2023-04-10T17:40:48.366Z] Removing intermediate container d853d0b1c51a [2023-04-10T17:40:48.366Z] ---> fa71429d13c6 [2023-04-10T17:40:48.366Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-10T17:40:48.634Z] ---> Running in 7677b472f646 [2023-04-10T17:40:49.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-10T17:40:50.196Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-10T17:40:51.165Z] OK: 263 MiB in 53 packages [2023-04-10T17:40:52.129Z] Removing intermediate container 7677b472f646 [2023-04-10T17:40:52.129Z] ---> 80f192dc6599 [2023-04-10T17:40:52.129Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-10T17:40:52.129Z] ---> Running in 097e643493c5 [2023-04-10T17:40:52.720Z] Removing intermediate container 097e643493c5 [2023-04-10T17:40:52.720Z] ---> 53d3a33c0266 [2023-04-10T17:40:52.720Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-10T17:40:52.989Z] ---> 08105153369c [2023-04-10T17:40:52.989Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-10T17:40:53.258Z] ---> Running in 840256353a73 [2023-04-10T17:40:55.848Z] Removing intermediate container 840256353a73 [2023-04-10T17:40:55.848Z] ---> 953137e37416 [2023-04-10T17:40:55.848Z] Step 12/26 : COPY . . [2023-04-10T17:40:57.797Z] ---> 817be4d03a7b [2023-04-10T17:40:57.797Z] Step 13/26 : RUN ${MAKE} [2023-04-10T17:40:57.797Z] ---> Running in d04e23db87b4 [2023-04-10T17:40:58.761Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.29" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-04-10T17:43:35.475Z] Removing intermediate container d04e23db87b4 [2023-04-10T17:43:35.475Z] ---> 0885c4a5140d [2023-04-10T17:43:35.475Z] Step 14/26 : FROM alpine:3.17 [2023-04-10T17:43:35.475Z] 3.17: Pulling from library/alpine [2023-04-10T17:43:35.475Z] c41833b44d91: Pulling fs layer [2023-04-10T17:43:35.475Z] c41833b44d91: Download complete [2023-04-10T17:43:35.475Z] c41833b44d91: Pull complete [2023-04-10T17:43:35.475Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-10T17:43:35.475Z] Status: Downloaded newer image for alpine:3.17 [2023-04-10T17:43:35.475Z] ---> 51e60588ff2c [2023-04-10T17:43:35.475Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-10T17:43:35.475Z] ---> Running in 29623df6109f [2023-04-10T17:43:35.475Z] Removing intermediate container 29623df6109f [2023-04-10T17:43:35.475Z] ---> 3ffbf7367548 [2023-04-10T17:43:35.475Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-04-10T17:43:35.475Z] ---> Running in 3ae8205b03f2 [2023-04-10T17:43:35.475Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-10T17:43:35.475Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-10T17:43:35.475Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-10T17:43:35.475Z] Executing busybox-1.35.0-r29.trigger [2023-04-10T17:43:35.475Z] OK: 8 MiB in 16 packages [2023-04-10T17:43:35.475Z] Removing intermediate container 3ae8205b03f2 [2023-04-10T17:43:35.475Z] ---> ce0ead052ddc [2023-04-10T17:43:35.475Z] Step 17/26 : WORKDIR / [2023-04-10T17:43:35.475Z] ---> Running in b8fc74cdb864 [2023-04-10T17:43:35.475Z] Removing intermediate container b8fc74cdb864 [2023-04-10T17:43:35.475Z] ---> 2cee3047d784 [2023-04-10T17:43:35.475Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-10T17:43:35.475Z] ---> 51fbf4b933ec [2023-04-10T17:43:35.475Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-10T17:43:35.475Z] ---> cb3fc5b912e8 [2023-04-10T17:43:35.475Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-10T17:43:35.475Z] ---> 3a56844c1f36 [2023-04-10T17:43:35.475Z] Step 21/26 : EXPOSE 59984 [2023-04-10T17:43:35.475Z] ---> Running in 2064fd2ecf8a [2023-04-10T17:43:35.475Z] Removing intermediate container 2064fd2ecf8a [2023-04-10T17:43:35.475Z] ---> bf7814bc4a58 [2023-04-10T17:43:35.475Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-10T17:43:35.475Z] ---> Running in 338dbf4a9f16 [2023-04-10T17:43:35.475Z] Removing intermediate container 338dbf4a9f16 [2023-04-10T17:43:35.475Z] ---> 57222f00abbf [2023-04-10T17:43:35.475Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-10T17:43:35.475Z] ---> Running in 83f06d97d58e [2023-04-10T17:43:35.475Z] Removing intermediate container 83f06d97d58e [2023-04-10T17:43:35.475Z] ---> 8767a2705f88 [2023-04-10T17:43:35.475Z] Step 24/26 : LABEL arch=arm64 [2023-04-10T17:43:35.475Z] ---> Running in e4a4d5525c02 [2023-04-10T17:43:35.475Z] Removing intermediate container e4a4d5525c02 [2023-04-10T17:43:35.475Z] ---> fa02feded892 [2023-04-10T17:43:35.475Z] Step 25/26 : LABEL git_sha=7c14cf897af34df275d4233d707e2506881d1776 [2023-04-10T17:43:35.475Z] ---> Running in 0305829fdf3d [2023-04-10T17:43:35.475Z] Removing intermediate container 0305829fdf3d [2023-04-10T17:43:35.475Z] ---> 8c182da2ecc9 [2023-04-10T17:43:35.475Z] Step 26/26 : LABEL version=3.0.0-dev.29 [2023-04-10T17:43:35.475Z] ---> Running in 7cc9d483c7c5 [2023-04-10T17:43:35.475Z] Removing intermediate container 7cc9d483c7c5 [2023-04-10T17:43:35.475Z] ---> be5917285a7b [2023-04-10T17:43:35.475Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-10T17:43:35.475Z] Successfully built be5917285a7b [2023-04-10T17:43:35.475Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-10T17:43:35.592Z] provisioning config files... [2023-04-10T17:43:35.607Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/123@tmp/config4673114914344202489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-10T17:43:35.945Z] ---> docker-login.sh [2023-04-10T17:43:35.945Z] nexus3.edgexfoundry.org:10001 [2023-04-10T17:43:36.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T17:43:36.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T17:43:36.212Z] Configure a credential helper to remove this warning. See [2023-04-10T17:43:36.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T17:43:36.212Z] [2023-04-10T17:43:36.212Z] Login Succeeded [2023-04-10T17:43:36.212Z] nexus3.edgexfoundry.org:10002 [2023-04-10T17:43:36.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T17:43:36.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T17:43:36.480Z] Configure a credential helper to remove this warning. See [2023-04-10T17:43:36.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T17:43:36.480Z] [2023-04-10T17:43:36.480Z] Login Succeeded [2023-04-10T17:43:36.480Z] nexus3.edgexfoundry.org:10003 [2023-04-10T17:43:36.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T17:43:37.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T17:43:37.016Z] Configure a credential helper to remove this warning. See [2023-04-10T17:43:37.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T17:43:37.016Z] [2023-04-10T17:43:37.016Z] Login Succeeded [2023-04-10T17:43:37.016Z] nexus3.edgexfoundry.org:10004 [2023-04-10T17:43:37.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T17:43:37.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T17:43:37.283Z] Configure a credential helper to remove this warning. See [2023-04-10T17:43:37.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T17:43:37.283Z] [2023-04-10T17:43:37.283Z] Login Succeeded [2023-04-10T17:43:37.283Z] docker.io [2023-04-10T17:43:37.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T17:43:37.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T17:43:37.817Z] Configure a credential helper to remove this warning. See [2023-04-10T17:43:37.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T17:43:37.817Z] [2023-04-10T17:43:37.817Z] Login Succeeded [2023-04-10T17:43:37.817Z] ---> docker-login.sh ends [Pipeline] } [2023-04-10T17:43:37.829Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-10T17:43:37.852Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-10T17:43:37.867Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2023-04-10T17:43:37.867Z] 7c14cf897af34df275d4233d707e2506881d1776 [2023-04-10T17:43:37.867Z] latest [2023-04-10T17:43:37.867Z] 3.0.0-dev.29 [2023-04-10T17:43:37.867Z] 7c14cf897af34df275d4233d707e2506881d1776-3.0.0-dev.29 [2023-04-10T17:43:37.867Z] main [2023-04-10T17:43:37.867Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:43:38.207Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7c14cf897af34df275d4233d707e2506881d1776 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:43:38.645Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7c14cf897af34df275d4233d707e2506881d1776 [2023-04-10T17:43:38.645Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-04-10T17:43:38.645Z] 192def75c017: Preparing [2023-04-10T17:43:38.645Z] f7b0f59ff79e: Preparing [2023-04-10T17:43:38.645Z] 823fb27995a4: Preparing [2023-04-10T17:43:38.645Z] fede94671697: Preparing [2023-04-10T17:43:38.645Z] 26cbea5cba74: Preparing [2023-04-10T17:43:38.645Z] 26cbea5cba74: Layer already exists [2023-04-10T17:43:38.916Z] 192def75c017: Pushed [2023-04-10T17:43:38.916Z] f7b0f59ff79e: Pushed [2023-04-10T17:43:38.916Z] fede94671697: Pushed [2023-04-10T17:43:44.295Z] 823fb27995a4: Pushed [2023-04-10T17:43:44.561Z] 7c14cf897af34df275d4233d707e2506881d1776: digest: sha256:0cbfb4c482cd40243a5239c8a57868cbdaf9c8930823a1c5b565aeb05766d1f5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:43:44.907Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:43:45.242Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2023-04-10T17:43:45.242Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-04-10T17:43:45.242Z] 192def75c017: Preparing [2023-04-10T17:43:45.242Z] f7b0f59ff79e: Preparing [2023-04-10T17:43:45.242Z] 823fb27995a4: Preparing [2023-04-10T17:43:45.242Z] fede94671697: Preparing [2023-04-10T17:43:45.242Z] 26cbea5cba74: Preparing [2023-04-10T17:43:45.242Z] f7b0f59ff79e: Layer already exists [2023-04-10T17:43:45.242Z] 823fb27995a4: Layer already exists [2023-04-10T17:43:45.242Z] 26cbea5cba74: Layer already exists [2023-04-10T17:43:45.242Z] 192def75c017: Layer already exists [2023-04-10T17:43:45.242Z] fede94671697: Layer already exists [2023-04-10T17:43:45.242Z] latest: digest: sha256:0cbfb4c482cd40243a5239c8a57868cbdaf9c8930823a1c5b565aeb05766d1f5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:43:45.842Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:43:46.180Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.29 [2023-04-10T17:43:46.180Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-04-10T17:43:46.180Z] 192def75c017: Preparing [2023-04-10T17:43:46.180Z] f7b0f59ff79e: Preparing [2023-04-10T17:43:46.180Z] 823fb27995a4: Preparing [2023-04-10T17:43:46.180Z] fede94671697: Preparing [2023-04-10T17:43:46.180Z] 26cbea5cba74: Preparing [2023-04-10T17:43:46.180Z] 26cbea5cba74: Layer already exists [2023-04-10T17:43:46.180Z] 823fb27995a4: Layer already exists [2023-04-10T17:43:46.180Z] fede94671697: Layer already exists [2023-04-10T17:43:46.180Z] 192def75c017: Layer already exists [2023-04-10T17:43:46.180Z] f7b0f59ff79e: Layer already exists [2023-04-10T17:43:46.180Z] 3.0.0-dev.29: digest: sha256:0cbfb4c482cd40243a5239c8a57868cbdaf9c8930823a1c5b565aeb05766d1f5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:43:46.528Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7c14cf897af34df275d4233d707e2506881d1776-3.0.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:43:46.861Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7c14cf897af34df275d4233d707e2506881d1776-3.0.0-dev.29 [2023-04-10T17:43:46.861Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-04-10T17:43:46.861Z] 192def75c017: Preparing [2023-04-10T17:43:46.861Z] f7b0f59ff79e: Preparing [2023-04-10T17:43:46.861Z] 823fb27995a4: Preparing [2023-04-10T17:43:46.861Z] fede94671697: Preparing [2023-04-10T17:43:46.861Z] 26cbea5cba74: Preparing [2023-04-10T17:43:46.861Z] f7b0f59ff79e: Layer already exists [2023-04-10T17:43:46.861Z] 26cbea5cba74: Layer already exists [2023-04-10T17:43:46.861Z] 192def75c017: Layer already exists [2023-04-10T17:43:46.861Z] 823fb27995a4: Layer already exists [2023-04-10T17:43:46.861Z] fede94671697: Layer already exists [2023-04-10T17:43:46.861Z] 7c14cf897af34df275d4233d707e2506881d1776-3.0.0-dev.29: digest: sha256:0cbfb4c482cd40243a5239c8a57868cbdaf9c8930823a1c5b565aeb05766d1f5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:43:47.209Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:43:47.544Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2023-04-10T17:43:47.544Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-04-10T17:43:47.544Z] 192def75c017: Preparing [2023-04-10T17:43:47.544Z] f7b0f59ff79e: Preparing [2023-04-10T17:43:47.544Z] 823fb27995a4: Preparing [2023-04-10T17:43:47.544Z] fede94671697: Preparing [2023-04-10T17:43:47.544Z] 26cbea5cba74: Preparing [2023-04-10T17:43:47.544Z] fede94671697: Layer already exists [2023-04-10T17:43:47.544Z] 192def75c017: Layer already exists [2023-04-10T17:43:47.544Z] 26cbea5cba74: Layer already exists [2023-04-10T17:43:47.544Z] 823fb27995a4: Layer already exists [2023-04-10T17:43:47.544Z] f7b0f59ff79e: Layer already exists [2023-04-10T17:43:47.544Z] main: digest: sha256:0cbfb4c482cd40243a5239c8a57868cbdaf9c8930823a1c5b565aeb05766d1f5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-10T17:43:47.593Z] ===================================================== [Pipeline] echo [2023-04-10T17:43:47.599Z] taggedImages: [2023-04-10T17:43:47.599Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7c14cf897af34df275d4233d707e2506881d1776 [2023-04-10T17:43:47.599Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2023-04-10T17:43:47.599Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.29 [2023-04-10T17:43:47.599Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7c14cf897af34df275d4233d707e2506881d1776-3.0.0-dev.29 [2023-04-10T17:43:47.599Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:43:47.962Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-10T17:43:47.962Z] [2023-04-10T17:43:47.962Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:43:48.296Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-10T17:43:48.296Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-10T17:43:48.296Z] 8998bd30e6a1: Pulling fs layer [2023-04-10T17:43:48.296Z] 04944245beec: Pulling fs layer [2023-04-10T17:43:48.296Z] 699f458cf7ca: Pulling fs layer [2023-04-10T17:43:48.296Z] 765212b225bb: Pulling fs layer [2023-04-10T17:43:48.296Z] f23df028b6ca: Pulling fs layer [2023-04-10T17:43:48.296Z] d65c8cfc05b1: Pulling fs layer [2023-04-10T17:43:48.296Z] 2437ff75d9bd: Pulling fs layer [2023-04-10T17:43:48.296Z] 765212b225bb: Waiting [2023-04-10T17:43:48.296Z] f23df028b6ca: Waiting [2023-04-10T17:43:48.296Z] d65c8cfc05b1: Waiting [2023-04-10T17:43:48.296Z] 2437ff75d9bd: Waiting [2023-04-10T17:43:48.565Z] 04944245beec: Verifying Checksum [2023-04-10T17:43:48.565Z] 04944245beec: Download complete [2023-04-10T17:43:48.565Z] 765212b225bb: Verifying Checksum [2023-04-10T17:43:48.565Z] 765212b225bb: Download complete [2023-04-10T17:43:48.565Z] f23df028b6ca: Verifying Checksum [2023-04-10T17:43:48.565Z] f23df028b6ca: Download complete [2023-04-10T17:43:48.565Z] d65c8cfc05b1: Verifying Checksum [2023-04-10T17:43:48.565Z] d65c8cfc05b1: Download complete [2023-04-10T17:43:48.836Z] 699f458cf7ca: Verifying Checksum [2023-04-10T17:43:48.836Z] 699f458cf7ca: Download complete [2023-04-10T17:43:49.421Z] 8998bd30e6a1: Verifying Checksum [2023-04-10T17:43:49.421Z] 8998bd30e6a1: Download complete [2023-04-10T17:43:51.363Z] 2437ff75d9bd: Verifying Checksum [2023-04-10T17:43:51.364Z] 2437ff75d9bd: Download complete [2023-04-10T17:43:53.306Z] 8998bd30e6a1: Pull complete [2023-04-10T17:43:53.573Z] 04944245beec: Pull complete [2023-04-10T17:43:54.979Z] 699f458cf7ca: Pull complete [2023-04-10T17:43:55.246Z] 765212b225bb: Pull complete [2023-04-10T17:43:55.829Z] f23df028b6ca: Pull complete [2023-04-10T17:43:56.096Z] d65c8cfc05b1: Pull complete [2023-04-10T17:44:11.094Z] 2437ff75d9bd: Pull complete [2023-04-10T17:44:11.094Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-10T17:44:11.094Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-10T17:44:11.094Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T17:44:11.284Z] prd-ubuntu20.04-docker-arm64-4c-16g-7304 does not seem to be running inside a container [2023-04-10T17:44:11.354Z] $ 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/123 -v /w/workspace/device-onvif-camera/123:/w/workspace/device-onvif-camera/123:rw,z -v /w/workspace/device-onvif-camera/123@tmp:/w/workspace/device-onvif-camera/123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-10T17:44:14.035Z] $ docker top 26971f2ddab78e4038103ccb087161af90bd9605deb4cc4cda8da764274c2608 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-10T17:44:14.862Z] ---> job-cost.sh [2023-04-10T17:44:14.862Z] lf-activate-venv: SKIPPING [2023-04-10T17:44:14.862Z] INFO: No Stack... [2023-04-10T17:44:15.442Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-10T17:44:16.024Z] INFO: Archiving Costs [Pipeline] sh [2023-04-10T17:44:16.925Z] + cat /w/workspace/device-onvif-camera/123/archives/cost.csv [2023-04-10T17:44:16.925Z] + cut -d, -f6 [Pipeline] lock [2023-04-10T17:44:16.995Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-123-stack-cost] [2023-04-10T17:44:17.002Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-123-stack-cost] did not exist. Created. [2023-04-10T17:44:17.002Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-123-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-10T17:44:17.651Z] /w/workspace/device-onvif-camera/123@tmp/durable-ac01c30a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-10T17:44:18.305Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-10T17:44:18.327Z] Warning: overwriting stash ‘stack-cost’ [2023-04-10T17:44:18.396Z] Stashed 1 file(s) [Pipeline] } [2023-04-10T17:44:18.403Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-123-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-10T17:44:18.421Z] $ docker stop --time=1 26971f2ddab78e4038103ccb087161af90bd9605deb4cc4cda8da764274c2608 [2023-04-10T17:44:19.945Z] $ docker rm -f --volumes 26971f2ddab78e4038103ccb087161af90bd9605deb4cc4cda8da764274c2608 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-04-10T17:44:20.455Z] provisioning config files... [2023-04-10T17:44:20.462Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8859920745242298237tmp [Pipeline] { [Pipeline] sh [2023-04-10T17:44:20.751Z] + set +x [2023-04-10T17:44:20.751Z] + curl -s https://codecov.io/bash [2023-04-10T17:44:20.751Z] + bash -s -- [2023-04-10T17:44:20.751Z] [2023-04-10T17:44:20.751Z] _____ _ [2023-04-10T17:44:20.751Z] / ____| | | [2023-04-10T17:44:20.751Z] | | ___ __| | ___ ___ _____ __ [2023-04-10T17:44:20.751Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-10T17:44:20.751Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-10T17:44:20.751Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-10T17:44:20.751Z] Bash-1.0.6 [2023-04-10T17:44:20.751Z] [2023-04-10T17:44:20.751Z] [2023-04-10T17:44:20.751Z] ==> git version 2.25.1 found [2023-04-10T17:44:20.751Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-04-10T17:44:20.751Z] Release-Date: 2020-01-08 [2023-04-10T17:44:20.751Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-10T17:44:20.751Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-10T17:44:20.751Z] ==> Jenkins CI detected. [2023-04-10T17:44:20.751Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2023-04-10T17:44:20.751Z] project root: . [2023-04-10T17:44:20.751Z] --> token set from env [2023-04-10T17:44:20.751Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-10T17:44:20.751Z] ==> Running gcov in . (disable via -X gcov) [2023-04-10T17:44:20.751Z] ==> Python coveragepy not found [2023-04-10T17:44:20.751Z] ==> Searching for coverage reports in: [2023-04-10T17:44:20.751Z] + . [2023-04-10T17:44:21.010Z] -> Found 1 reports [2023-04-10T17:44:21.010Z] ==> Detecting git/mercurial file structure [2023-04-10T17:44:21.010Z] ==> Reading reports [2023-04-10T17:44:21.010Z] + ./coverage.out bytes=78835 [2023-04-10T17:44:21.011Z] ==> Appending adjustments [2023-04-10T17:44:21.011Z] https://docs.codecov.io/docs/fixing-reports [2023-04-10T17:44:21.011Z] + Found adjustments [2023-04-10T17:44:21.011Z] ==> Gzipping contents [2023-04-10T17:44:21.011Z] 12K /tmp/codecov.tdYuhv.gz [2023-04-10T17:44:21.011Z] ==> Uploading reports [2023-04-10T17:44:21.011Z] url: https://codecov.io [2023-04-10T17:44:21.011Z] query: branch=main&commit=7c14cf897af34df275d4233d707e2506881d1776&build=123&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F123%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-10T17:44:21.011Z] -> Pinging Codecov [2023-04-10T17:44:21.011Z] 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=7c14cf897af34df275d4233d707e2506881d1776&build=123&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F123%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-10T17:44:21.269Z] -> Uploading to [2023-04-10T17:44:21.269Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-10/F29A59C45E3A92E06B3E522C9905F8EF/7c14cf897af34df275d4233d707e2506881d1776/61893894-da9c-48a8-bba5-d99373dc2d34.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230410T174421Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9cf47d4f11e06d2faa29633118b2ebc5b4d38fa65d9057a7d08beb302d8a7a1f [2023-04-10T17:44:21.269Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-10T17:44:21.269Z] Dload Upload Total Spent Left Speed [2023-04-10T17:44:21.529Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10491 0 0 100 10491 0 37873 --:--:-- --:--:-- --:--:-- 37873 [2023-04-10T17:44:21.529Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/7c14cf897af34df275d4233d707e2506881d1776 [Pipeline] } [2023-04-10T17:44:21.537Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-04-10T17:44:21.710Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-04-10T17:44:21.720Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:44:22.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-10T17:44:22.026Z] [2023-04-10T17:44:22.026Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:44:22.326Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-10T17:44:22.327Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-04-10T17:44:22.327Z] df9b9388f04a: Pulling fs layer [2023-04-10T17:44:22.327Z] 52dc419b0ee2: Pulling fs layer [2023-04-10T17:44:22.327Z] 25bc292e5bac: Pulling fs layer [2023-04-10T17:44:22.327Z] 114826534d7a: Pulling fs layer [2023-04-10T17:44:22.327Z] 4657fd5d0bcf: Pulling fs layer [2023-04-10T17:44:22.327Z] 6ad1cebc031e: Pulling fs layer [2023-04-10T17:44:22.327Z] 8a3aa393b2d8: Pulling fs layer [2023-04-10T17:44:22.327Z] 114826534d7a: Waiting [2023-04-10T17:44:22.327Z] 4657fd5d0bcf: Waiting [2023-04-10T17:44:22.327Z] 6ad1cebc031e: Waiting [2023-04-10T17:44:22.327Z] 8a3aa393b2d8: Waiting [2023-04-10T17:44:22.327Z] 25bc292e5bac: Verifying Checksum [2023-04-10T17:44:22.327Z] 25bc292e5bac: Download complete [2023-04-10T17:44:22.327Z] 52dc419b0ee2: Download complete [2023-04-10T17:44:22.327Z] 4657fd5d0bcf: Verifying Checksum [2023-04-10T17:44:22.327Z] 4657fd5d0bcf: Download complete [2023-04-10T17:44:22.327Z] df9b9388f04a: Download complete [2023-04-10T17:44:22.586Z] 6ad1cebc031e: Verifying Checksum [2023-04-10T17:44:22.586Z] 6ad1cebc031e: Download complete [2023-04-10T17:44:22.586Z] df9b9388f04a: Pull complete [2023-04-10T17:44:22.586Z] 52dc419b0ee2: Pull complete [2023-04-10T17:44:22.586Z] 25bc292e5bac: Pull complete [2023-04-10T17:44:23.151Z] 114826534d7a: Verifying Checksum [2023-04-10T17:44:23.151Z] 114826534d7a: Download complete [2023-04-10T17:44:23.151Z] 8a3aa393b2d8: Verifying Checksum [2023-04-10T17:44:23.151Z] 8a3aa393b2d8: Download complete [2023-04-10T17:44:26.433Z] 114826534d7a: Pull complete [2023-04-10T17:44:26.433Z] 4657fd5d0bcf: Pull complete [2023-04-10T17:44:27.001Z] 6ad1cebc031e: Pull complete [2023-04-10T17:44:30.279Z] 8a3aa393b2d8: Pull complete [2023-04-10T17:44:30.279Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-04-10T17:44:30.279Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-10T17:44:30.279Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T17:44:30.367Z] prd-ubuntu20.04-docker-8c-8g-7288 does not seem to be running inside a container [2023-04-10T17:44:30.397Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-04-10T17:44:33.550Z] $ docker top ad3bb5ceb5335bc958b69e42826e54e7f2dcc0328fe9653e37ee0558b7c869a1 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-04-10T17:44:33.617Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2023-04-10T17:44:33.896Z] + set -o pipefail [2023-04-10T17:44:33.896Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2023-04-10T17:44:38.080Z] [2023-04-10T17:44:38.080Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2023-04-10T17:44:38.080Z] [2023-04-10T17:44:38.080Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/eb0855e8-147d-4670-a230-da5125436b6d [2023-04-10T17:44:38.080Z] [2023-04-10T17:44:38.080Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-04-10T17:44:38.080Z] [2023-04-10T17:44:38.080Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-04-10T17:44:38.080Z] [2023-04-10T17:44:38.340Z] [2023-04-10T17:44:38.340Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-04-10T17:44:38.340Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-04-10T17:44:38.340Z] More details here: https://snyk.co/ue1NS [2023-04-10T17:44:38.340Z] You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. [2023-04-10T17:44:38.340Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-04-10T17:44:38.351Z] $ docker stop --time=1 ad3bb5ceb5335bc958b69e42826e54e7f2dcc0328fe9653e37ee0558b7c869a1 [2023-04-10T17:44:41.244Z] $ docker rm -f --volumes ad3bb5ceb5335bc958b69e42826e54e7f2dcc0328fe9653e37ee0558b7c869a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2023-04-10T17:44:41.665Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-10T17:44:41.675Z] provisioning config files... [2023-04-10T17:44:41.684Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12925551049812270663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-10T17:44:41.976Z] --> edgex-publish-swagger.sh [2023-04-10T17:44:41.976Z] === Publish doc/openapi/v2 API === [2023-04-10T17:44:41.976Z] [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger [2023-04-10T17:44:41.976Z] [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] [2023-04-10T17:44:41.976Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-10T17:44:41.976Z] Dload Upload Total Spent Left Speed [2023-04-10T17:44:42.546Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 661k --:--:-- --:--:-- --:--:-- 661k [2023-04-10T17:44:42.546Z] [2023-04-10T17:44:42.546Z] [Pipeline] } [2023-04-10T17:44:42.553Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-10T17:44:42.950Z] + git log --format=format:%s -1 7c14cf897af34df275d4233d707e2506881d1776 [Pipeline] sh [2023-04-10T17:44:43.238Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-10T17:44:43.238Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:44:43.540Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-10T17:44:43.540Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T17:44:43.615Z] prd-ubuntu20.04-docker-8c-8g-7288 does not seem to be running inside a container [2023-04-10T17:44:43.644Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-10T17:44:44.090Z] $ docker top 5f153d0a649a27fbed19379e58a43d627ac00659505f32858b9f823f04d23d69 -eo pid,comm [2023-04-10T17:44:44.140Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-10T17:44:44.140Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-10T17:44:44.178Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-10T17:44:44.178Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-10T17:44:44.290Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-10T17:44:44.292Z] $ docker exec 5f153d0a649a27fbed19379e58a43d627ac00659505f32858b9f823f04d23d69 ssh-agent [2023-04-10T17:44:44.413Z] SSH_AUTH_SOCK=/tmp/ssh-yR5e18zcHziw/agent.34 [2023-04-10T17:44:44.413Z] SSH_AGENT_PID=40 [2023-04-10T17:44:44.417Z] Running ssh-add (command line suppressed) [2023-04-10T17:44:44.525Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4727400522275624475.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4727400522275624475.key) [2023-04-10T17:44:44.537Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-10T17:44:44.823Z] + git semver tag [2023-04-10T17:44:45.086Z] 2023-04-10 17:44:45,001 [run_tag] DEBUG tag force:False [2023-04-10T17:44:45.086Z] 2023-04-10 17:44:45,001 [check_head_tag] DEBUG check head tag [2023-04-10T17:44:45.086Z] 2023-04-10 17:44:45,002 [execute] INFO git cat-file --batch-check [2023-04-10T17:44:45.086Z] 2023-04-10 17:44:45,003 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2023-04-10T17:44:45.086Z] 2023-04-10 17:44:45,006 [execute] INFO git cat-file --batch [2023-04-10T17:44:45.086Z] 2023-04-10 17:44:45,006 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2023-04-10T17:44:45.086Z] 2023-04-10 17:44:45,039 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-04-10T17:44:45.086Z] 2023-04-10 17:44:45,039 [execute] INFO git tag -a v3.0.0-dev.29 -m v3.0.0-dev.29 [2023-04-10T17:44:45.086Z] 2023-04-10 17:44:45,039 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.29', '-m', 'v3.0.0-dev.29'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2023-04-10T17:44:45.086Z] 2023-04-10 17:44:45,044 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-04-10T17:44:45.086Z] 3.0.0-dev.29 [Pipeline] } [2023-04-10T17:44:45.095Z] $ docker exec --env ******** --env ******** 5f153d0a649a27fbed19379e58a43d627ac00659505f32858b9f823f04d23d69 ssh-agent -k [2023-04-10T17:44:45.193Z] unset SSH_AUTH_SOCK; [2023-04-10T17:44:45.194Z] unset SSH_AGENT_PID; [2023-04-10T17:44:45.194Z] echo Agent pid 40 killed; [2023-04-10T17:44:45.203Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-10T17:44:45.511Z] + git semver [Pipeline] } [2023-04-10T17:44:45.784Z] $ docker stop --time=1 5f153d0a649a27fbed19379e58a43d627ac00659505f32858b9f823f04d23d69 [2023-04-10T17:44:47.038Z] $ docker rm -f --volumes 5f153d0a649a27fbed19379e58a43d627ac00659505f32858b9f823f04d23d69 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:44:47.422Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-10T17:44:47.422Z] [2023-04-10T17:44:47.422Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:44:47.721Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-10T17:44:47.721Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-04-10T17:44:47.721Z] ab5ef0e58194: Pulling fs layer [2023-04-10T17:44:47.721Z] 9712f1f96733: Pulling fs layer [2023-04-10T17:44:47.721Z] 63f879dbbcfc: Pulling fs layer [2023-04-10T17:44:47.721Z] 0d9ebad4ef96: Pulling fs layer [2023-04-10T17:44:47.721Z] e9a5061849ea: Pulling fs layer [2023-04-10T17:44:47.721Z] d747dcd14b5f: Pulling fs layer [2023-04-10T17:44:47.721Z] 2de7ff778b66: Pulling fs layer [2023-04-10T17:44:47.721Z] e9a5061849ea: Waiting [2023-04-10T17:44:47.721Z] d747dcd14b5f: Waiting [2023-04-10T17:44:47.721Z] 2de7ff778b66: Waiting [2023-04-10T17:44:47.722Z] 0d9ebad4ef96: Waiting [2023-04-10T17:44:47.722Z] 9712f1f96733: Verifying Checksum [2023-04-10T17:44:47.722Z] 9712f1f96733: Download complete [2023-04-10T17:44:47.984Z] 63f879dbbcfc: Verifying Checksum [2023-04-10T17:44:47.984Z] 63f879dbbcfc: Download complete [2023-04-10T17:44:47.984Z] e9a5061849ea: Verifying Checksum [2023-04-10T17:44:47.984Z] e9a5061849ea: Download complete [2023-04-10T17:44:48.242Z] d747dcd14b5f: Verifying Checksum [2023-04-10T17:44:48.242Z] d747dcd14b5f: Download complete [2023-04-10T17:44:48.242Z] 0d9ebad4ef96: Download complete [2023-04-10T17:44:48.242Z] ab5ef0e58194: Verifying Checksum [2023-04-10T17:44:48.242Z] ab5ef0e58194: Download complete [2023-04-10T17:44:48.242Z] 2de7ff778b66: Verifying Checksum [2023-04-10T17:44:48.242Z] 2de7ff778b66: Download complete [2023-04-10T17:44:50.769Z] ab5ef0e58194: Pull complete [2023-04-10T17:44:51.027Z] 9712f1f96733: Pull complete [2023-04-10T17:44:51.593Z] 63f879dbbcfc: Pull complete [2023-04-10T17:44:55.769Z] 0d9ebad4ef96: Pull complete [2023-04-10T17:44:55.769Z] e9a5061849ea: Pull complete [2023-04-10T17:44:55.769Z] d747dcd14b5f: Pull complete [2023-04-10T17:44:56.335Z] 2de7ff778b66: Pull complete [2023-04-10T17:44:56.335Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-04-10T17:44:56.335Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-10T17:44:56.335Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T17:44:56.422Z] prd-ubuntu20.04-docker-8c-8g-7288 does not seem to be running inside a container [2023-04-10T17:44:56.446Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-04-10T17:45:00.252Z] $ docker top 0b0d95d5fcead953e5e98b0bae82e5729c85a497a92e07dc0312138e84689d16 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-04-10T17:45:00.319Z] provisioning config files... [2023-04-10T17:45:00.325Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18185418633640591630tmp [2023-04-10T17:45:00.338Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14932676713107982234tmp [2023-04-10T17:45:00.349Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4948466859131875646tmp [Pipeline] { [Pipeline] echo [2023-04-10T17:45:00.364Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-10T17:45:00.646Z] ---> sigul-configuration.sh [2023-04-10T17:45:00.646Z] gpg: directory `/root/.gnupg' created [2023-04-10T17:45:00.646Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-04-10T17:45:00.646Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-04-10T17:45:00.646Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-04-10T17:45:00.646Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-04-10T17:45:00.646Z] gpg: CAST5 encrypted data [2023-04-10T17:45:00.646Z] gpg: encrypted with 1 passphrase [2023-04-10T17:45:00.646Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-04-10T17:45:00.931Z] + mkdir /home/jenkins [2023-04-10T17:45:00.931Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-04-10T17:45:01.216Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-04-10T17:45:01.224Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-10T17:45:01.508Z] ---> sigul-install.sh [2023-04-10T17:45:01.508Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-04-10T17:45:01.791Z] + git tag --list [2023-04-10T17:45:01.791Z] v0.0.0 [2023-04-10T17:45:01.791Z] v0.0.1-dev.1 [2023-04-10T17:45:01.791Z] v0.0.1-dev.10 [2023-04-10T17:45:01.791Z] v0.0.1-dev.11 [2023-04-10T17:45:01.791Z] v0.0.1-dev.12 [2023-04-10T17:45:01.791Z] v0.0.1-dev.13 [2023-04-10T17:45:01.791Z] v0.0.1-dev.14 [2023-04-10T17:45:01.791Z] v0.0.1-dev.15 [2023-04-10T17:45:01.791Z] v0.0.1-dev.16 [2023-04-10T17:45:01.791Z] v0.0.1-dev.17 [2023-04-10T17:45:01.791Z] v0.0.1-dev.18 [2023-04-10T17:45:01.791Z] v0.0.1-dev.19 [2023-04-10T17:45:01.791Z] v0.0.1-dev.2 [2023-04-10T17:45:01.791Z] v0.0.1-dev.20 [2023-04-10T17:45:01.791Z] v0.0.1-dev.21 [2023-04-10T17:45:01.791Z] v0.0.1-dev.22 [2023-04-10T17:45:01.791Z] v0.0.1-dev.23 [2023-04-10T17:45:01.791Z] v0.0.1-dev.24 [2023-04-10T17:45:01.791Z] v0.0.1-dev.25 [2023-04-10T17:45:01.791Z] v0.0.1-dev.26 [2023-04-10T17:45:01.791Z] v0.0.1-dev.27 [2023-04-10T17:45:01.791Z] v0.0.1-dev.28 [2023-04-10T17:45:01.791Z] v0.0.1-dev.3 [2023-04-10T17:45:01.791Z] v0.0.1-dev.4 [2023-04-10T17:45:01.791Z] v0.0.1-dev.5 [2023-04-10T17:45:01.791Z] v0.0.1-dev.6 [2023-04-10T17:45:01.791Z] v0.0.1-dev.7 [2023-04-10T17:45:01.791Z] v0.0.1-dev.8 [2023-04-10T17:45:01.791Z] v0.0.1-dev.9 [2023-04-10T17:45:01.791Z] v2.2.0 [2023-04-10T17:45:01.791Z] v2.2.0-dev.29 [2023-04-10T17:45:01.791Z] v2.2.0-dev.30 [2023-04-10T17:45:01.791Z] v2.2.0-dev.31 [2023-04-10T17:45:01.791Z] v2.2.0-dev.32 [2023-04-10T17:45:01.791Z] v2.2.0-dev.33 [2023-04-10T17:45:01.791Z] v2.2.0-dev.34 [2023-04-10T17:45:01.791Z] v2.2.0-dev.35 [2023-04-10T17:45:01.791Z] v2.3.0 [2023-04-10T17:45:01.791Z] v2.3.0-dev.1 [2023-04-10T17:45:01.791Z] v2.3.0-dev.10 [2023-04-10T17:45:01.791Z] v2.3.0-dev.11 [2023-04-10T17:45:01.791Z] v2.3.0-dev.12 [2023-04-10T17:45:01.791Z] v2.3.0-dev.13 [2023-04-10T17:45:01.791Z] v2.3.0-dev.14 [2023-04-10T17:45:01.791Z] v2.3.0-dev.15 [2023-04-10T17:45:01.791Z] v2.3.0-dev.16 [2023-04-10T17:45:01.791Z] v2.3.0-dev.17 [2023-04-10T17:45:01.791Z] v2.3.0-dev.18 [2023-04-10T17:45:01.791Z] v2.3.0-dev.19 [2023-04-10T17:45:01.791Z] v2.3.0-dev.2 [2023-04-10T17:45:01.791Z] v2.3.0-dev.20 [2023-04-10T17:45:01.791Z] v2.3.0-dev.21 [2023-04-10T17:45:01.791Z] v2.3.0-dev.22 [2023-04-10T17:45:01.791Z] v2.3.0-dev.23 [2023-04-10T17:45:01.791Z] v2.3.0-dev.24 [2023-04-10T17:45:01.791Z] v2.3.0-dev.25 [2023-04-10T17:45:01.791Z] v2.3.0-dev.26 [2023-04-10T17:45:01.791Z] v2.3.0-dev.27 [2023-04-10T17:45:01.791Z] v2.3.0-dev.28 [2023-04-10T17:45:01.791Z] v2.3.0-dev.29 [2023-04-10T17:45:01.791Z] v2.3.0-dev.3 [2023-04-10T17:45:01.791Z] v2.3.0-dev.30 [2023-04-10T17:45:01.791Z] v2.3.0-dev.31 [2023-04-10T17:45:01.791Z] v2.3.0-dev.32 [2023-04-10T17:45:01.791Z] v2.3.0-dev.33 [2023-04-10T17:45:01.791Z] v2.3.0-dev.34 [2023-04-10T17:45:01.791Z] v2.3.0-dev.35 [2023-04-10T17:45:01.791Z] v2.3.0-dev.36 [2023-04-10T17:45:01.791Z] v2.3.0-dev.37 [2023-04-10T17:45:01.791Z] v2.3.0-dev.38 [2023-04-10T17:45:01.791Z] v2.3.0-dev.39 [2023-04-10T17:45:01.791Z] v2.3.0-dev.4 [2023-04-10T17:45:01.791Z] v2.3.0-dev.40 [2023-04-10T17:45:01.791Z] v2.3.0-dev.41 [2023-04-10T17:45:01.791Z] v2.3.0-dev.42 [2023-04-10T17:45:01.791Z] v2.3.0-dev.43 [2023-04-10T17:45:01.791Z] v2.3.0-dev.44 [2023-04-10T17:45:01.791Z] v2.3.0-dev.45 [2023-04-10T17:45:01.791Z] v2.3.0-dev.5 [2023-04-10T17:45:01.791Z] v2.3.0-dev.6 [2023-04-10T17:45:01.791Z] v2.3.0-dev.7 [2023-04-10T17:45:01.791Z] v2.3.0-dev.8 [2023-04-10T17:45:01.791Z] v2.3.0-dev.9 [2023-04-10T17:45:01.791Z] v2.3.1 [2023-04-10T17:45:01.791Z] v2.3.1-dev.1 [2023-04-10T17:45:01.791Z] v2.3.1-dev.4 [2023-04-10T17:45:01.791Z] v2.3.1-dev.5 [2023-04-10T17:45:01.791Z] v3.0.0-dev.1 [2023-04-10T17:45:01.791Z] v3.0.0-dev.10 [2023-04-10T17:45:01.791Z] v3.0.0-dev.11 [2023-04-10T17:45:01.791Z] v3.0.0-dev.12 [2023-04-10T17:45:01.791Z] v3.0.0-dev.13 [2023-04-10T17:45:01.791Z] v3.0.0-dev.14 [2023-04-10T17:45:01.791Z] v3.0.0-dev.15 [2023-04-10T17:45:01.791Z] v3.0.0-dev.16 [2023-04-10T17:45:01.791Z] v3.0.0-dev.17 [2023-04-10T17:45:01.791Z] v3.0.0-dev.18 [2023-04-10T17:45:01.791Z] v3.0.0-dev.19 [2023-04-10T17:45:01.791Z] v3.0.0-dev.2 [2023-04-10T17:45:01.791Z] v3.0.0-dev.20 [2023-04-10T17:45:01.791Z] v3.0.0-dev.21 [2023-04-10T17:45:01.791Z] v3.0.0-dev.22 [2023-04-10T17:45:01.791Z] v3.0.0-dev.23 [2023-04-10T17:45:01.791Z] v3.0.0-dev.24 [2023-04-10T17:45:01.791Z] v3.0.0-dev.25 [2023-04-10T17:45:01.791Z] v3.0.0-dev.26 [2023-04-10T17:45:01.791Z] v3.0.0-dev.27 [2023-04-10T17:45:01.791Z] v3.0.0-dev.28 [2023-04-10T17:45:01.791Z] v3.0.0-dev.29 [2023-04-10T17:45:01.791Z] v3.0.0-dev.3 [2023-04-10T17:45:01.791Z] v3.0.0-dev.4 [2023-04-10T17:45:01.791Z] v3.0.0-dev.5 [2023-04-10T17:45:01.791Z] v3.0.0-dev.6 [2023-04-10T17:45:01.791Z] v3.0.0-dev.7 [2023-04-10T17:45:01.791Z] v3.0.0-dev.8 [2023-04-10T17:45:01.791Z] v3.0.0-dev.9 [Pipeline] sh [2023-04-10T17:45:02.081Z] + lftools sign git-tag v3.0.0-dev.29 [2023-04-10T17:45:02.648Z] Signing Git tag with Sigul... [2023-04-10T17:45:02.648Z] Signing v3.0.0-dev.29 [Pipeline] echo [2023-04-10T17:45:02.914Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-10T17:45:03.198Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-04-10T17:45:03.205Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-04-10T17:45:03.222Z] $ docker stop --time=1 0b0d95d5fcead953e5e98b0bae82e5729c85a497a92e07dc0312138e84689d16 [2023-04-10T17:45:04.501Z] $ docker rm -f --volumes 0b0d95d5fcead953e5e98b0bae82e5729c85a497a92e07dc0312138e84689d16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-04-10T17:45:04.913Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-10T17:45:04.913Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:45:05.213Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-10T17:45:05.213Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T17:45:05.281Z] prd-ubuntu20.04-docker-8c-8g-7288 does not seem to be running inside a container [2023-04-10T17:45:05.310Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-10T17:45:05.664Z] $ docker top a2129ab81cfda0a478932ada8ec0ad129ba5bea295bd7cba9e383002ba2280d5 -eo pid,comm [2023-04-10T17:45:05.709Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-10T17:45:05.709Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-10T17:45:05.744Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-10T17:45:05.744Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-10T17:45:05.859Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-10T17:45:05.863Z] $ docker exec a2129ab81cfda0a478932ada8ec0ad129ba5bea295bd7cba9e383002ba2280d5 ssh-agent [2023-04-10T17:45:05.966Z] SSH_AUTH_SOCK=/tmp/ssh-LEr81iQT35jv/agent.32 [2023-04-10T17:45:05.966Z] SSH_AGENT_PID=38 [2023-04-10T17:45:05.985Z] Running ssh-add (command line suppressed) [2023-04-10T17:45:06.079Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13685318968461486917.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13685318968461486917.key) [2023-04-10T17:45:06.107Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-10T17:45:06.469Z] + git semver bump pre [2023-04-10T17:45:06.863Z] 2023-04-10 17:45:06,649 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-04-10T17:45:06.863Z] 2023-04-10 17:45:06,650 [bump_version] DEBUG bumping version:3.0.0-dev.29 on axis:pre with prefix:dev [2023-04-10T17:45:06.863Z] 2023-04-10 17:45:06,650 [bump_version] DEBUG bumped version:3.0.0-dev.30 [2023-04-10T17:45:06.863Z] 2023-04-10 17:45:06,650 [write_version] DEBUG write version:3.0.0-dev.30 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2023-04-10T17:45:06.863Z] 2023-04-10 17:45:06,650 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-04-10T17:45:06.863Z] 2023-04-10 17:45:06,650 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-04-10T17:45:06.863Z] 2023-04-10 17:45:06,652 [execute] INFO git cat-file --batch-check [2023-04-10T17:45:06.863Z] 2023-04-10 17:45:06,652 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-10T17:45:06.863Z] 2023-04-10 17:45:06,657 [execute] INFO git cat-file --batch [2023-04-10T17:45:06.863Z] 2023-04-10 17:45:06,657 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-10T17:45:06.863Z] 2023-04-10 17:45:06,662 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-04-10T17:45:06.863Z] 3.0.0-dev.30 [Pipeline] } [2023-04-10T17:45:06.873Z] $ docker exec --env ******** --env ******** a2129ab81cfda0a478932ada8ec0ad129ba5bea295bd7cba9e383002ba2280d5 ssh-agent -k [2023-04-10T17:45:06.965Z] unset SSH_AUTH_SOCK; [2023-04-10T17:45:06.966Z] unset SSH_AGENT_PID; [2023-04-10T17:45:06.966Z] echo Agent pid 38 killed; [2023-04-10T17:45:06.973Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-10T17:45:07.275Z] + git semver [Pipeline] } [2023-04-10T17:45:07.548Z] $ docker stop --time=1 a2129ab81cfda0a478932ada8ec0ad129ba5bea295bd7cba9e383002ba2280d5 [2023-04-10T17:45:08.816Z] $ docker rm -f --volumes a2129ab81cfda0a478932ada8ec0ad129ba5bea295bd7cba9e383002ba2280d5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-10T17:45:09.166Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-10T17:45:09.166Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:45:09.457Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-10T17:45:09.457Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T17:45:09.525Z] prd-ubuntu20.04-docker-8c-8g-7288 does not seem to be running inside a container [2023-04-10T17:45:09.555Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-10T17:45:09.862Z] $ docker top 82719fb1a6291f0a51e33ba599d45f184b9222fa8e74a6a62816c9deb7e08d2d -eo pid,comm [2023-04-10T17:45:09.909Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-10T17:45:09.909Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-10T17:45:09.944Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-10T17:45:09.944Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-10T17:45:10.050Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-10T17:45:10.053Z] $ docker exec 82719fb1a6291f0a51e33ba599d45f184b9222fa8e74a6a62816c9deb7e08d2d ssh-agent [2023-04-10T17:45:10.159Z] SSH_AUTH_SOCK=/tmp/ssh-ldx92Is1xHh5/agent.32 [2023-04-10T17:45:10.159Z] SSH_AGENT_PID=38 [2023-04-10T17:45:10.164Z] Running ssh-add (command line suppressed) [2023-04-10T17:45:10.273Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15698056428436171526.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15698056428436171526.key) [2023-04-10T17:45:10.286Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-10T17:45:10.572Z] + git semver push [2023-04-10T17:45:10.830Z] 2023-04-10 17:45:10,740 [run_push] DEBUG push [2023-04-10T17:45:10.830Z] 2023-04-10 17:45:10,740 [execute] INFO git cat-file --batch-check [2023-04-10T17:45:10.830Z] 2023-04-10 17:45:10,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-10T17:45:10.830Z] 2023-04-10 17:45:10,744 [execute] INFO git rev-list c35e7560627d8aafa7ff0244d97f4c1b1741d292 -- [2023-04-10T17:45:10.830Z] 2023-04-10 17:45:10,744 [execute] DEBUG Popen(['git', 'rev-list', 'c35e7560627d8aafa7ff0244d97f4c1b1741d292', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-10T17:45:10.830Z] 2023-04-10 17:45:10,753 [execute] INFO git fetch -v origin [2023-04-10T17:45:10.830Z] 2023-04-10 17:45:10,753 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-04-10T17:45:11.399Z] 2023-04-10 17:45:11,354 [run_push] DEBUG no remote changes detected [2023-04-10T17:45:11.399Z] 2023-04-10 17:45:11,354 [execute] INFO git push origin semver [2023-04-10T17:45:11.399Z] 2023-04-10 17:45:11,355 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-10T17:45:12.334Z] 2023-04-10 17:45:12,119 [run_push] DEBUG push all version tags [2023-04-10T17:45:12.334Z] 2023-04-10 17:45:12,120 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-04-10T17:45:12.334Z] 2023-04-10 17:45:12,121 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2023-04-10T17:45:13.269Z] 2023-04-10 17:45:12,993 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-04-10T17:45:13.269Z] 3.0.0-dev.30 [Pipeline] } [2023-04-10T17:45:13.278Z] $ docker exec --env ******** --env ******** 82719fb1a6291f0a51e33ba599d45f184b9222fa8e74a6a62816c9deb7e08d2d ssh-agent -k [2023-04-10T17:45:13.375Z] unset SSH_AUTH_SOCK; [2023-04-10T17:45:13.376Z] unset SSH_AGENT_PID; [2023-04-10T17:45:13.376Z] echo Agent pid 38 killed; [2023-04-10T17:45:13.384Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-10T17:45:13.688Z] + git semver [Pipeline] } [2023-04-10T17:45:13.958Z] $ docker stop --time=1 82719fb1a6291f0a51e33ba599d45f184b9222fa8e74a6a62816c9deb7e08d2d [2023-04-10T17:45:15.205Z] $ docker rm -f --volumes 82719fb1a6291f0a51e33ba599d45f184b9222fa8e74a6a62816c9deb7e08d2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-10T17:45:15.767Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2023-04-10T17:45:15.767Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-04-10T17:45:15.767Z] total 16 [2023-04-10T17:45:15.767Z] drwxr-xr-x 3 root root 4096 Apr 10 17:34 . [2023-04-10T17:45:15.767Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 17:45 .. [2023-04-10T17:45:15.767Z] drwxr-xr-x 2 root root 4096 Apr 10 17:34 cost [2023-04-10T17:45:15.767Z] -rw-r--r-- 1 root root 93 Apr 10 17:34 cost.csv [2023-04-10T17:45:15.767Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2023-04-10T17:45:15.767Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-04-10T17:45:15.767Z] total 16 [2023-04-10T17:45:15.767Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 17:34 . [2023-04-10T17:45:15.767Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 17:45 .. [2023-04-10T17:45:15.767Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 17:34 cost [2023-04-10T17:45:15.767Z] -rw-r--r-- 1 jenkins jenkins 93 Apr 10 17:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-10T17:45:16.057Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-10T17:45:16.913Z] ---> package-listing.sh [2023-04-10T17:45:16.913Z] ++ facter osfamily [2023-04-10T17:45:16.913Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-10T17:45:17.172Z] + OS_FAMILY=debian [2023-04-10T17:45:17.172Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2023-04-10T17:45:17.172Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-10T17:45:17.172Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-10T17:45:17.172Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-10T17:45:17.172Z] + PACKAGES=/tmp/packages_start.txt [2023-04-10T17:45:17.172Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-04-10T17:45:17.172Z] + PACKAGES=/tmp/packages_end.txt [2023-04-10T17:45:17.172Z] + case "${OS_FAMILY}" in [2023-04-10T17:45:17.172Z] + dpkg -l [2023-04-10T17:45:17.172Z] + grep '^ii' [2023-04-10T17:45:17.172Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-10T17:45:17.172Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-10T17:45:17.172Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-10T17:45:17.172Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-04-10T17:45:17.172Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2023-04-10T17:45:17.172Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo [2023-04-10T17:45:17.182Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-10T17:45:17.458Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T17:45:18.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-10T17:45:18.012Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T17:45:18.073Z] prd-ubuntu20.04-docker-8c-8g-7288 does not seem to be running inside a container [2023-04-10T17:45:18.101Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-10T17:45:18.355Z] $ docker top 02f01eef280d6824bf615f86d320e67fede77eeb78041e297d1248c83fb3a7a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-10T17:45:18.691Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-10T17:45:18.980Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-10T17:45:19.264Z] + ls /var/log/sa-host [2023-04-10T17:45:19.264Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-10T17:45:19.331Z] provisioning config files... [2023-04-10T17:45:19.339Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1994702608655005100tmp [Pipeline] { [Pipeline] echo [2023-04-10T17:45:19.352Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-10T17:45:19.632Z] ---> create-netrc.sh [Pipeline] } [2023-04-10T17:45:19.640Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-10T17:45:19.949Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-10T17:45:19.956Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-10T17:45:20.239Z] ---> sudo-logs.sh [2023-04-10T17:45:20.239Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-10T17:45:20.268Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-10T17:45:20.551Z] ---> job-cost.sh [2023-04-10T17:45:20.551Z] lf-activate-venv: SKIPPING [2023-04-10T17:45:20.551Z] DEBUG: total: 2.190000057220459 [2023-04-10T17:45:20.551Z] INFO: Retrieving Stack Cost... [2023-04-10T17:45:20.810Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-10T17:45:21.377Z] INFO: Archiving Costs [Pipeline] echo [2023-04-10T17:45:21.390Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-10T17:45:21.676Z] ---> logs-deploy.sh [2023-04-10T17:45:21.676Z] lf-activate-venv: SKIPPING [2023-04-10T17:45:21.676Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/123 [2023-04-10T17:45:21.676Z] INFO: archiving workspace using pattern(s): [2023-04-10T17:45:22.612Z] Archives upload complete. [2023-04-10T17:45:22.871Z] INFO: archiving logs to Nexus [2023-04-10T17:45:23.436Z] ---> uname -a: [2023-04-10T17:45:23.436Z] Linux prd-ubuntu20-04-docker-8c-8g-7288 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-04-10T17:45:23.436Z] [2023-04-10T17:45:23.436Z]