Pull request #298 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fa85c62a31b9eec9fedd82f4ebad2bac18bf5def+5c7909d1b5ebfe861b0cb262d6892a9f2879389b (5029b7cda8efe72d0807fe0be28a13ed34f94e7a) 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-ssh12104136829529071036.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-ssh13021849447324143406.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-298/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/PR-298/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11311411341982346207.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-298/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15985563023445118027.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh7735505420409981591.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-298/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/PR-298/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh330915702178599343.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6957 in /w/workspace/undry_device-onvif-camera_PR-298 [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/undry_device-onvif-camera_PR-298 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/298/head:refs/remotes/origin/PR-298 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5c7909d1b5ebfe861b0cb262d6892a9f2879389b into PR head commit fa85c62a31b9eec9fedd82f4ebad2bac18bf5def Merge succeeded, producing fa85c62a31b9eec9fedd82f4ebad2bac18bf5def Checking out Revision fa85c62a31b9eec9fedd82f4ebad2bac18bf5def (PR-298) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-06T04:02:34.299Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f fa85c62a31b9eec9fedd82f4ebad2bac18bf5def # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 5c7909d1b5ebfe861b0cb262d6892a9f2879389b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fa85c62a31b9eec9fedd82f4ebad2bac18bf5def # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-06T04:02:34.488Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-06T04:02:34.597Z] ========================================================= [2023-04-06T04:02:34.597Z] EdgeX Global Pipelines Version Info [2023-04-06T04:02:34.597Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-06T04:02:35.827Z] ------------------- [2023-04-06T04:02:35.827Z] stable info: [2023-04-06T04:02:35.827Z] ------------------- [2023-04-06T04:02:35.827Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-04-06T04:02:35.827Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-06T04:02:35.827Z] Message: update stable to v1.0.245 [2023-04-06T04:02:36.097Z] ------------------- [2023-04-06T04:02:36.097Z] experimental info: [2023-04-06T04:02:36.097Z] ------------------- [2023-04-06T04:02:36.097Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-06T04:02:36.097Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-04-06T04:02:36.097Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-06T04:02:36.403Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-04-06T04:02:36.446Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-04-06T04:02:36.488Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-06T04:02:36.531Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-06T04:02:36.569Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-06T04:02:36.605Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-06T04:02:36.641Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-06T04:02:36.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-06T04:02:36.714Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-06T04:02:36.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-06T04:02:36.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-06T04:02:36.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-04-06T04:02:36.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-06T04:02:36.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-06T04:02:36.950Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-06T04:02:36.983Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-06T04:02:37.020Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-06T04:02:37.053Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-06T04:02:37.091Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-06T04:02:37.127Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-06T04:02:37.163Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-06T04:02:37.200Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-04-06T04:02:37.240Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-06T04:02:37.270Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-06T04:02:37.313Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-06T04:02:37.354Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-06T04:02:37.392Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-06T04:02:37.430Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-298 [Pipeline] echo [2023-04-06T04:02:37.468Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-298 [Pipeline] echo [2023-04-06T04:02:37.510Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-298 [Pipeline] echo [2023-04-06T04:02:37.549Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa85c62a31b9eec9fedd82f4ebad2bac18bf5def [Pipeline] echo [2023-04-06T04:02:37.588Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa85c62 [Pipeline] echo [2023-04-06T04:02:37.633Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-06T04:02:37.748Z] provisioning config files... [2023-04-06T04:02:37.767Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-298@tmp/config3927779745299996178tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T04:02:38.135Z] ---> docker-login.sh [2023-04-06T04:02:38.135Z] nexus3.edgexfoundry.org:10001 [2023-04-06T04:02:39.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:02:39.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:02:39.077Z] Configure a credential helper to remove this warning. See [2023-04-06T04:02:39.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:02:39.077Z] [2023-04-06T04:02:39.077Z] Login Succeeded [2023-04-06T04:02:39.341Z] nexus3.edgexfoundry.org:10002 [2023-04-06T04:02:39.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:02:39.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:02:39.341Z] Configure a credential helper to remove this warning. See [2023-04-06T04:02:39.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:02:39.341Z] [2023-04-06T04:02:39.341Z] Login Succeeded [2023-04-06T04:02:39.341Z] nexus3.edgexfoundry.org:10003 [2023-04-06T04:02:39.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:02:39.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:02:39.602Z] Configure a credential helper to remove this warning. See [2023-04-06T04:02:39.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:02:39.602Z] [2023-04-06T04:02:39.602Z] Login Succeeded [2023-04-06T04:02:39.602Z] nexus3.edgexfoundry.org:10004 [2023-04-06T04:02:39.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:02:39.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:02:39.603Z] Configure a credential helper to remove this warning. See [2023-04-06T04:02:39.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:02:39.603Z] [2023-04-06T04:02:39.603Z] Login Succeeded [2023-04-06T04:02:39.603Z] docker.io [2023-04-06T04:02:39.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:02:39.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:02:39.865Z] Configure a credential helper to remove this warning. See [2023-04-06T04:02:39.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:02:39.865Z] [2023-04-06T04:02:39.865Z] Login Succeeded [2023-04-06T04:02:39.865Z] ---> docker-login.sh ends [Pipeline] } [2023-04-06T04:02:39.890Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-06T04:02:40.515Z] + git rev-list -1 --merges fa85c62a31b9eec9fedd82f4ebad2bac18bf5def~1..fa85c62a31b9eec9fedd82f4ebad2bac18bf5def [Pipeline] echo [2023-04-06T04:02:40.579Z] -----------> git rev-list -1 --merges fa85c62a31b9eec9fedd82f4ebad2bac18bf5def~1..fa85c62a31b9eec9fedd82f4ebad2bac18bf5def fa85c62a31b9eec9fedd82f4ebad2bac18bf5def [false] [Pipeline] sh [2023-04-06T04:02:40.887Z] + git log --format=format:%s -1 fa85c62a31b9eec9fedd82f4ebad2bac18bf5def [Pipeline] echo [2023-04-06T04:02:40.920Z] ========================================================= [2023-04-06T04:02:40.920Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-06T04:02:40.920Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-06T04:02:41.340Z] + git log --format=format:%s -1 fa85c62a31b9eec9fedd82f4ebad2bac18bf5def [Pipeline] echo [2023-04-06T04:02:41.373Z] [semverPrep] GIT_COMMIT: fa85c62a31b9eec9fedd82f4ebad2bac18bf5def, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-04-06T04:02:41.404Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-06T04:02:41.800Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-06T04:02:41.800Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-06T04:02:41.800Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-06T04:02:41.800Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-06T04:02:41.800Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-06T04:02:41.800Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-06T04:02:41.800Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T04:02:42.284Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-06T04:02:42.284Z] [2023-04-06T04:02:42.284Z] 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-06T04:02:42.657Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-06T04:02:42.917Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-06T04:02:42.917Z] b85a868b505f: Pulling fs layer [2023-04-06T04:02:42.917Z] e2be974225ed: Pulling fs layer [2023-04-06T04:02:42.917Z] 339a4e72a1f5: Pulling fs layer [2023-04-06T04:02:42.917Z] 988bab9f4d93: Pulling fs layer [2023-04-06T04:02:42.917Z] 1469e6f7b9e6: Pulling fs layer [2023-04-06T04:02:42.917Z] eaf3925da568: Pulling fs layer [2023-04-06T04:02:42.917Z] bab4dde63d76: Pulling fs layer [2023-04-06T04:02:42.917Z] bde34c3a00c8: Pulling fs layer [2023-04-06T04:02:42.917Z] b352a97aabf1: Pulling fs layer [2023-04-06T04:02:42.917Z] 4872d77fe225: Pulling fs layer [2023-04-06T04:02:42.917Z] 5851b861e8e6: Pulling fs layer [2023-04-06T04:02:42.917Z] 1469e6f7b9e6: Waiting [2023-04-06T04:02:42.917Z] eaf3925da568: Waiting [2023-04-06T04:02:42.917Z] bab4dde63d76: Waiting [2023-04-06T04:02:42.917Z] bde34c3a00c8: Waiting [2023-04-06T04:02:42.917Z] b352a97aabf1: Waiting [2023-04-06T04:02:42.917Z] 4872d77fe225: Waiting [2023-04-06T04:02:42.917Z] 5851b861e8e6: Waiting [2023-04-06T04:02:42.917Z] 988bab9f4d93: Waiting [2023-04-06T04:02:42.917Z] e2be974225ed: Download complete [2023-04-06T04:02:42.917Z] 988bab9f4d93: Verifying Checksum [2023-04-06T04:02:42.917Z] 988bab9f4d93: Download complete [2023-04-06T04:02:42.917Z] 1469e6f7b9e6: Verifying Checksum [2023-04-06T04:02:42.917Z] 1469e6f7b9e6: Download complete [2023-04-06T04:02:42.917Z] eaf3925da568: Verifying Checksum [2023-04-06T04:02:42.917Z] eaf3925da568: Download complete [2023-04-06T04:02:42.917Z] 339a4e72a1f5: Verifying Checksum [2023-04-06T04:02:42.917Z] 339a4e72a1f5: Download complete [2023-04-06T04:02:42.917Z] bde34c3a00c8: Verifying Checksum [2023-04-06T04:02:42.917Z] bde34c3a00c8: Download complete [2023-04-06T04:02:43.176Z] b352a97aabf1: Verifying Checksum [2023-04-06T04:02:43.176Z] b352a97aabf1: Download complete [2023-04-06T04:02:43.176Z] 4872d77fe225: Verifying Checksum [2023-04-06T04:02:43.176Z] 4872d77fe225: Download complete [2023-04-06T04:02:43.176Z] 5851b861e8e6: Verifying Checksum [2023-04-06T04:02:43.176Z] 5851b861e8e6: Download complete [2023-04-06T04:02:43.176Z] b85a868b505f: Verifying Checksum [2023-04-06T04:02:43.176Z] b85a868b505f: Download complete [2023-04-06T04:02:43.436Z] bab4dde63d76: Verifying Checksum [2023-04-06T04:02:43.436Z] bab4dde63d76: Download complete [2023-04-06T04:02:44.818Z] b85a868b505f: Pull complete [2023-04-06T04:02:45.078Z] e2be974225ed: Pull complete [2023-04-06T04:02:46.016Z] 339a4e72a1f5: Pull complete [2023-04-06T04:02:46.292Z] 988bab9f4d93: Pull complete [2023-04-06T04:02:46.565Z] 1469e6f7b9e6: Pull complete [2023-04-06T04:02:46.825Z] eaf3925da568: Pull complete [2023-04-06T04:02:48.755Z] bab4dde63d76: Pull complete [2023-04-06T04:02:48.755Z] bde34c3a00c8: Pull complete [2023-04-06T04:02:49.014Z] b352a97aabf1: Pull complete [2023-04-06T04:02:49.014Z] 4872d77fe225: Pull complete [2023-04-06T04:02:49.274Z] 5851b861e8e6: Pull complete [2023-04-06T04:02:49.274Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-06T04:02:49.274Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-06T04:02:49.274Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T04:02:49.524Z] prd-ubuntu20.04-docker-8c-8g-6957 does not seem to be running inside a container [2023-04-06T04:02:49.556Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-298 -v /w/workspace/undry_device-onvif-camera_PR-298:/w/workspace/undry_device-onvif-camera_PR-298:rw,z -v /w/workspace/undry_device-onvif-camera_PR-298@tmp:/w/workspace/undry_device-onvif-camera_PR-298@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-06T04:02:58.162Z] $ docker top 21a8f54eef329fc540d4a9d257348039d2513d82be9f8e3de9bdd79df5530137 -eo pid,comm [2023-04-06T04:02:58.247Z] 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-06T04:02:58.247Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-06T04:02:58.389Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-06T04:02:58.389Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-06T04:02:58.512Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-06T04:02:58.517Z] $ docker exec 21a8f54eef329fc540d4a9d257348039d2513d82be9f8e3de9bdd79df5530137 ssh-agent [2023-04-06T04:02:58.621Z] SSH_AUTH_SOCK=/tmp/ssh-j1osQmqZbWho/agent.14 [2023-04-06T04:02:58.621Z] SSH_AGENT_PID=20 [2023-04-06T04:02:58.628Z] Running ssh-add (command line suppressed) [2023-04-06T04:02:58.760Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-298@tmp/private_key_16962968444679058829.key (/w/workspace/undry_device-onvif-camera_PR-298@tmp/private_key_16962968444679058829.key) [2023-04-06T04:02:58.782Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-06T04:02:59.122Z] + git tag --points-at HEAD [Pipeline] } [2023-04-06T04:02:59.152Z] $ docker exec --env ******** --env ******** 21a8f54eef329fc540d4a9d257348039d2513d82be9f8e3de9bdd79df5530137 ssh-agent -k [2023-04-06T04:02:59.248Z] unset SSH_AUTH_SOCK; [2023-04-06T04:02:59.249Z] unset SSH_AGENT_PID; [2023-04-06T04:02:59.249Z] echo Agent pid 20 killed; [2023-04-06T04:02:59.261Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-06T04:02:59.338Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-06T04:02:59.338Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-06T04:02:59.473Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-06T04:02:59.478Z] $ docker exec 21a8f54eef329fc540d4a9d257348039d2513d82be9f8e3de9bdd79df5530137 ssh-agent [2023-04-06T04:02:59.587Z] SSH_AUTH_SOCK=/tmp/ssh-bySAdWJGHrKg/agent.70 [2023-04-06T04:02:59.587Z] SSH_AGENT_PID=76 [2023-04-06T04:02:59.592Z] Running ssh-add (command line suppressed) [2023-04-06T04:02:59.710Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-298@tmp/private_key_7689892891564098629.key (/w/workspace/undry_device-onvif-camera_PR-298@tmp/private_key_7689892891564098629.key) [2023-04-06T04:02:59.724Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-06T04:03:00.054Z] + git semver init [2023-04-06T04:03:00.316Z] 2023-04-06 04:03:00,294 [run_init] DEBUG init version:0.0.0 force:False [2023-04-06T04:03:00.316Z] 2023-04-06 04:03:00,295 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-298/.semver [2023-04-06T04:03:00.316Z] 2023-04-06 04:03:00,296 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-298/.semver [2023-04-06T04:03:00.316Z] 2023-04-06 04:03:00,296 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-298/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-298, universal_newlines=False, shell=None, istream=None) [2023-04-06T04:03:01.255Z] 2023-04-06 04:03:01,241 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-298/.git/info/exclude [2023-04-06T04:03:01.255Z] 2023-04-06 04:03:01,242 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-298/.semver/PR-298 with force:False [2023-04-06T04:03:01.255Z] 2023-04-06 04:03:01,242 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-298/.semver/PR-298 [2023-04-06T04:03:01.255Z] 2023-04-06 04:03:01,246 [execute] INFO git cat-file --batch-check [2023-04-06T04:03:01.255Z] 2023-04-06 04:03:01,247 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-298/.semver, universal_newlines=False, shell=None, istream=) [2023-04-06T04:03:01.255Z] 2023-04-06 04:03:01,254 [execute] INFO git cat-file --batch [2023-04-06T04:03:01.255Z] 2023-04-06 04:03:01,254 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-298/.semver, universal_newlines=False, shell=None, istream=) [2023-04-06T04:03:01.516Z] 2023-04-06 04:03:01,259 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-298/.semver/PR-298 [2023-04-06T04:03:01.516Z] 0.0.0 [Pipeline] } [2023-04-06T04:03:01.547Z] $ docker exec --env ******** --env ******** 21a8f54eef329fc540d4a9d257348039d2513d82be9f8e3de9bdd79df5530137 ssh-agent -k [2023-04-06T04:03:01.653Z] unset SSH_AUTH_SOCK; [2023-04-06T04:03:01.654Z] unset SSH_AGENT_PID; [2023-04-06T04:03:01.654Z] echo Agent pid 76 killed; [2023-04-06T04:03:01.665Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-06T04:03:02.078Z] + git semver [Pipeline] } [2023-04-06T04:03:02.364Z] $ docker stop --time=1 21a8f54eef329fc540d4a9d257348039d2513d82be9f8e3de9bdd79df5530137 [2023-04-06T04:03:03.685Z] $ docker rm -f --volumes 21a8f54eef329fc540d4a9d257348039d2513d82be9f8e3de9bdd79df5530137 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-06T04:03:04.088Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-06T04:03:04.366Z] Stashed 1 file(s) [Pipeline] echo [2023-04-06T04:03:04.382Z] [edgeXSemver]: initialized semver on version 0.0.0 [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-06T04:03:04.975Z] provisioning config files... [2023-04-06T04:03:05.008Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-298@tmp/config12666739071486649755tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T04:03:05.351Z] ---> docker-login.sh [2023-04-06T04:03:05.351Z] nexus3.edgexfoundry.org:10001 [2023-04-06T04:03:05.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:03:05.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:03:05.351Z] Configure a credential helper to remove this warning. See [2023-04-06T04:03:05.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:03:05.351Z] [2023-04-06T04:03:05.351Z] Login Succeeded [2023-04-06T04:03:05.351Z] nexus3.edgexfoundry.org:10002 [2023-04-06T04:03:05.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:03:05.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:03:05.351Z] Configure a credential helper to remove this warning. See [2023-04-06T04:03:05.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:03:05.352Z] [2023-04-06T04:03:05.352Z] Login Succeeded [2023-04-06T04:03:05.352Z] nexus3.edgexfoundry.org:10003 [2023-04-06T04:03:05.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:03:05.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:03:05.611Z] Configure a credential helper to remove this warning. See [2023-04-06T04:03:05.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:03:05.611Z] [2023-04-06T04:03:05.611Z] Login Succeeded [2023-04-06T04:03:05.611Z] nexus3.edgexfoundry.org:10004 [2023-04-06T04:03:05.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:03:05.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:03:05.611Z] Configure a credential helper to remove this warning. See [2023-04-06T04:03:05.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:03:05.611Z] [2023-04-06T04:03:05.611Z] Login Succeeded [2023-04-06T04:03:05.611Z] docker.io [2023-04-06T04:03:05.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:03:05.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:03:05.870Z] Configure a credential helper to remove this warning. See [2023-04-06T04:03:05.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:03:05.870Z] [2023-04-06T04:03:05.870Z] Login Succeeded [2023-04-06T04:03:05.870Z] ---> docker-login.sh ends [Pipeline] } [2023-04-06T04:03:05.900Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-06T04:03:06.081Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-06T04:03:06.116Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-06T04:03:06.145Z] ========================================================= [2023-04-06T04:03:06.145Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-06T04:03:06.145Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T04:03:06.620Z] + 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-06T04:03:06.620Z] Sending build context to Docker daemon 27.04MB [2023-04-06T04:03:06.620Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-06T04:03:06.620Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-06T04:03:06.882Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-06T04:03:06.882Z] 63b65145d645: Pulling fs layer [2023-04-06T04:03:06.882Z] a2d21d5440eb: Pulling fs layer [2023-04-06T04:03:06.882Z] 935e6c44a52c: Pulling fs layer [2023-04-06T04:03:06.882Z] 94cc34f8dd06: Pulling fs layer [2023-04-06T04:03:06.882Z] 30dea6a524f1: Pulling fs layer [2023-04-06T04:03:06.882Z] a2aff8979fd8: Pulling fs layer [2023-04-06T04:03:06.882Z] 6808be2612f2: Pulling fs layer [2023-04-06T04:03:06.882Z] f25807f1079a: Pulling fs layer [2023-04-06T04:03:06.882Z] a2aff8979fd8: Waiting [2023-04-06T04:03:06.882Z] f25807f1079a: Waiting [2023-04-06T04:03:06.882Z] 94cc34f8dd06: Waiting [2023-04-06T04:03:06.882Z] 30dea6a524f1: Waiting [2023-04-06T04:03:06.882Z] 6808be2612f2: Waiting [2023-04-06T04:03:06.882Z] a2d21d5440eb: Verifying Checksum [2023-04-06T04:03:06.882Z] a2d21d5440eb: Download complete [2023-04-06T04:03:06.882Z] 94cc34f8dd06: Download complete [2023-04-06T04:03:06.882Z] 30dea6a524f1: Download complete [2023-04-06T04:03:06.882Z] 63b65145d645: Verifying Checksum [2023-04-06T04:03:06.882Z] 63b65145d645: Download complete [2023-04-06T04:03:06.882Z] a2aff8979fd8: Verifying Checksum [2023-04-06T04:03:06.882Z] a2aff8979fd8: Download complete [2023-04-06T04:03:07.143Z] 63b65145d645: Pull complete [2023-04-06T04:03:07.403Z] a2d21d5440eb: Pull complete [2023-04-06T04:03:07.403Z] f25807f1079a: Verifying Checksum [2023-04-06T04:03:07.403Z] f25807f1079a: Download complete [2023-04-06T04:03:07.661Z] 935e6c44a52c: Download complete [2023-04-06T04:03:07.662Z] 6808be2612f2: Verifying Checksum [2023-04-06T04:03:07.662Z] 6808be2612f2: Download complete [2023-04-06T04:03:11.848Z] 935e6c44a52c: Pull complete [2023-04-06T04:03:11.848Z] 94cc34f8dd06: Pull complete [2023-04-06T04:03:11.848Z] 30dea6a524f1: Pull complete [2023-04-06T04:03:11.848Z] a2aff8979fd8: Pull complete [2023-04-06T04:03:13.747Z] 6808be2612f2: Pull complete [2023-04-06T04:03:14.682Z] f25807f1079a: Pull complete [2023-04-06T04:03:14.682Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-06T04:03:14.682Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-06T04:03:14.682Z] ---> 3b553350e43f [2023-04-06T04:03:14.682Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-06T04:03:19.801Z] Still waiting to schedule task [2023-04-06T04:03:19.801Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-06T04:03:26.928Z] ---> Running in 0398f3ebe131 [2023-04-06T04:03:26.928Z] Removing intermediate container 0398f3ebe131 [2023-04-06T04:03:26.928Z] ---> 31249802098c [2023-04-06T04:03:26.928Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-06T04:03:26.928Z] ---> Running in cb2a9a0f867d [2023-04-06T04:03:26.928Z] Removing intermediate container cb2a9a0f867d [2023-04-06T04:03:26.928Z] ---> 291f626607c8 [2023-04-06T04:03:26.928Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-06T04:03:26.928Z] ---> Running in 0b879d59a84f [2023-04-06T04:03:26.928Z] Removing intermediate container 0b879d59a84f [2023-04-06T04:03:26.928Z] ---> eda12b683926 [2023-04-06T04:03:26.928Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-06T04:03:26.928Z] ---> Running in 10fbba4b383f [2023-04-06T04:03:26.928Z] Removing intermediate container 10fbba4b383f [2023-04-06T04:03:26.928Z] ---> 28713c1a60ce [2023-04-06T04:03:26.928Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-06T04:03:26.928Z] ---> Running in 2d2ae7834c7b [2023-04-06T04:03:26.928Z] Removing intermediate container 2d2ae7834c7b [2023-04-06T04:03:26.928Z] ---> 16b830e5f871 [2023-04-06T04:03:26.928Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-06T04:03:26.928Z] ---> Running in b302e6b4d025 [2023-04-06T04:03:27.188Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-06T04:03:27.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-06T04:03:27.704Z] OK: 265 MiB in 53 packages [2023-04-06T04:03:28.641Z] Removing intermediate container b302e6b4d025 [2023-04-06T04:03:28.641Z] ---> a45200a3a597 [2023-04-06T04:03:28.641Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-06T04:03:28.641Z] ---> Running in 07e8bd9e7bd8 [2023-04-06T04:03:28.641Z] Removing intermediate container 07e8bd9e7bd8 [2023-04-06T04:03:28.641Z] ---> eb00804e8f8c [2023-04-06T04:03:28.641Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-06T04:03:28.901Z] ---> 7a4aea86258e [2023-04-06T04:03:28.901Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-06T04:03:28.901Z] ---> Running in c0878b5ef313 [2023-04-06T04:04:25.142Z] Removing intermediate container c0878b5ef313 [2023-04-06T04:04:25.142Z] ---> 5b0d3fff8819 [2023-04-06T04:04:25.142Z] Step 12/13 : COPY . . [2023-04-06T04:04:25.142Z] ---> deee1e22579c [2023-04-06T04:04:25.142Z] Step 13/13 : RUN ${MAKE} [2023-04-06T04:04:25.142Z] ---> Running in 726c66280eda [2023-04-06T04:04:25.142Z] noop [2023-04-06T04:04:25.142Z] Removing intermediate container 726c66280eda [2023-04-06T04:04:25.142Z] ---> d6a51a3e6c70 [2023-04-06T04:04:25.142Z] Successfully built d6a51a3e6c70 [2023-04-06T04:04:25.142Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T04:04:25.610Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-06T04:04:25.610Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T04:04:25.768Z] prd-ubuntu20.04-docker-8c-8g-6957 does not seem to be running inside a container [2023-04-06T04:04:25.811Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-298 -v /w/workspace/undry_device-onvif-camera_PR-298:/w/workspace/undry_device-onvif-camera_PR-298:rw,z -v /w/workspace/undry_device-onvif-camera_PR-298@tmp:/w/workspace/undry_device-onvif-camera_PR-298@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-06T04:04:26.639Z] $ docker top 4603f604bf790a9dde2e2e0154618534e33fe4b4307ca0fd3101ec8657f56768 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T04:04:27.041Z] + go version [2023-04-06T04:04:27.041Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-06T04:04:27.073Z] $ docker stop --time=1 4603f604bf790a9dde2e2e0154618534e33fe4b4307ca0fd3101ec8657f56768 [2023-04-06T04:04:28.902Z] $ docker rm -f --volumes 4603f604bf790a9dde2e2e0154618534e33fe4b4307ca0fd3101ec8657f56768 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T04:04:30.333Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-06T04:04:30.333Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T04:04:30.480Z] prd-ubuntu20.04-docker-8c-8g-6957 does not seem to be running inside a container [2023-04-06T04:04:30.512Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-298 -v /w/workspace/undry_device-onvif-camera_PR-298:/w/workspace/undry_device-onvif-camera_PR-298:rw,z -v /w/workspace/undry_device-onvif-camera_PR-298@tmp:/w/workspace/undry_device-onvif-camera_PR-298@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-06T04:04:30.835Z] $ docker top 349dfda099bdb5d1e7c909bd0be16c003b9426c46b4975c52d5db65149a688df -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T04:04:31.224Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-298 [Pipeline] fileExists [Pipeline] sh [2023-04-06T04:04:31.585Z] + make test [2023-04-06T04:04:31.585Z] go test ./... -coverprofile=coverage.out ./... [2023-04-06T04:04:36.851Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-06T04:04:48.227Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6959 in /w/workspace/undry_device-onvif-camera_PR-298 [Pipeline] { [Pipeline] ws [2023-04-06T04:04:48.286Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-04-06T04:04:48.358Z] The recommended git tool is: git [2023-04-06T04:04:49.043Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-06T04:04:49.043Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-06T04:04:49.610Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.031s coverage: 31.7% of statements [2023-04-06T04:04:52.908Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.853s coverage: 86.5% of statements [2023-04-06T04:04:53.276Z] using credential edgex-jenkins-ssh [2023-04-06T04:04:53.291Z] Cloning the remote Git repository [2023-04-06T04:04:53.332Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-06T04:04:53.414Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-04-06T04:04:53.557Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-06T04:04:53.558Z] > git --version # timeout=10 [2023-04-06T04:04:53.577Z] > git --version # 'git version 2.25.1' [2023-04-06T04:04:53.579Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-06T04:04:53.706Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-06T04:04:55.218Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-06T04:04:55.240Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-06T04:04:56.620Z] Merging remotes/origin/main commit 5c7909d1b5ebfe861b0cb262d6892a9f2879389b into PR head commit fa85c62a31b9eec9fedd82f4ebad2bac18bf5def [2023-04-06T04:04:56.066Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-06T04:04:56.102Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-06T04:04:56.103Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-06T04:04:56.118Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/298/head:refs/remotes/origin/PR-298 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-06T04:04:56.640Z] > git config core.sparsecheckout # timeout=10 [2023-04-06T04:04:56.702Z] > git checkout -f fa85c62a31b9eec9fedd82f4ebad2bac18bf5def # timeout=10 [2023-04-06T04:04:56.967Z] > git remote # timeout=10 [2023-04-06T04:04:56.983Z] > git config --get remote.origin.url # timeout=10 [2023-04-06T04:04:57.005Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-06T04:04:57.064Z] Merge succeeded, producing fa85c62a31b9eec9fedd82f4ebad2bac18bf5def [2023-04-06T04:04:57.064Z] Checking out Revision fa85c62a31b9eec9fedd82f4ebad2bac18bf5def (PR-298) [2023-04-06T04:04:57.808Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-04-06T04:04:57.853Z] > git --version # timeout=10 [2023-04-06T04:04:57.873Z] > git --version # 'git version 2.25.1' [2023-04-06T04:04:57.889Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-06T04:04:57.018Z] > git merge 5c7909d1b5ebfe861b0cb262d6892a9f2879389b # timeout=10 [2023-04-06T04:04:57.046Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-06T04:04:57.073Z] > git config core.sparsecheckout # timeout=10 [2023-04-06T04:04:57.089Z] > git checkout -f fa85c62a31b9eec9fedd82f4ebad2bac18bf5def # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-06T04:04:59.100Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-06T04:04:59.100Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-06T04:04:59.101Z] Dload Upload Total Spent Left Speed [2023-04-06T04:04:59.101Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh [2023-04-06T04:04:59.714Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-06T04:05:00.062Z] + sudo tee /etc/docker/daemon.new [2023-04-06T04:05:00.062Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-06T04:05:00.062Z] { [2023-04-06T04:05:00.062Z] "registry-mirrors": [ [2023-04-06T04:05:00.062Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-06T04:05:00.062Z] ], [2023-04-06T04:05:00.062Z] "bip": "10.250.0.254/24", [2023-04-06T04:05:00.062Z] "hosts": [ [2023-04-06T04:05:00.062Z] "tcp://0.0.0.0:5555", [2023-04-06T04:05:00.062Z] "unix:///var/run/docker.sock" [2023-04-06T04:05:00.062Z] ], [2023-04-06T04:05:00.062Z] "mtu": 1458, [2023-04-06T04:05:00.062Z] "selinux-enabled": true, [2023-04-06T04:05:00.062Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-06T04:05:00.062Z] } [Pipeline] sh [2023-04-06T04:05:00.421Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-06T04:05:00.776Z] + sudo service docker restart [2023-04-06T04:05:01.689Z] go vet ./... [2023-04-06T04:05:05.435Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-06T04:05:05.435Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-06T04:05:05.435Z] ./bin/test-attribution-txt.sh [2023-04-06T04:05:05.435Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-06T04:05:05.580Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-06T04:05:05.616Z] $ docker stop --time=1 349dfda099bdb5d1e7c909bd0be16c003b9426c46b4975c52d5db65149a688df [2023-04-06T04:05:07.441Z] $ docker rm -f --volumes 349dfda099bdb5d1e7c909bd0be16c003b9426c46b4975c52d5db65149a688df [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-06T04:05:07.995Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-06T04:05:08.072Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-06T04:05:08.765Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-06T04:05:09.077Z] + ls -al . [2023-04-06T04:05:09.077Z] total 236 [2023-04-06T04:05:09.077Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 04:04 . [2023-04-06T04:05:09.077Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 04:02 .. [2023-04-06T04:05:09.077Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 04:03 .git [2023-04-06T04:05:09.077Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 04:02 .github [2023-04-06T04:05:09.077Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 6 04:02 .gitignore [2023-04-06T04:05:09.077Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 6 04:02 .golangci.yml [2023-04-06T04:05:09.077Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 04:03 .semver [2023-04-06T04:05:09.077Z] -rw-rw-r-- 1 jenkins jenkins 9732 Apr 6 04:02 Attribution.txt [2023-04-06T04:05:09.077Z] -rw-rw-r-- 1 jenkins jenkins 6312 Apr 6 04:02 CHANGELOG.md [2023-04-06T04:05:09.077Z] -rw-rw-r-- 1 jenkins jenkins 1574 Apr 6 04:02 Dockerfile [2023-04-06T04:05:09.077Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 04:02 GOVERNANCE.md [2023-04-06T04:05:09.077Z] -rw-rw-r-- 1 jenkins jenkins 734 Apr 6 04:02 Jenkinsfile [2023-04-06T04:05:09.077Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 6 04:02 LICENSE [2023-04-06T04:05:09.077Z] -rw-rw-r-- 1 jenkins jenkins 2751 Apr 6 04:02 Makefile [2023-04-06T04:05:09.077Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 6 04:02 OWNERS.md [2023-04-06T04:05:09.077Z] -rw-rw-r-- 1 jenkins jenkins 6250 Apr 6 04:02 README.md [2023-04-06T04:05:09.077Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 04:03 VERSION [2023-04-06T04:05:09.077Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 04:02 bin [2023-04-06T04:05:09.077Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 04:02 cmd [2023-04-06T04:05:09.077Z] -rw-r--r-- 1 jenkins jenkins 78485 Apr 6 04:04 coverage.out [2023-04-06T04:05:09.077Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 6 04:02 doc [2023-04-06T04:05:09.077Z] -rw-rw-r-- 1 jenkins jenkins 3557 Apr 6 04:02 go.mod [2023-04-06T04:05:09.077Z] -rw-rw-r-- 1 jenkins jenkins 33057 Apr 6 04:02 go.sum [2023-04-06T04:05:09.077Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 04:02 internal [2023-04-06T04:05:09.077Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 04:02 snap [2023-04-06T04:05:09.077Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 6 04:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T04:05:09.645Z] + 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=fa85c62a31b9eec9fedd82f4ebad2bac18bf5def --label arch=amd64 --label version=0.0.0 . [2023-04-06T04:05:09.645Z] Sending build context to Docker daemon 27.12MB [2023-04-06T04:05:09.645Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-04-06T04:05:09.646Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-06T04:05:09.646Z] ---> d6a51a3e6c70 [2023-04-06T04:05:09.646Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-06T04:05:09.905Z] ---> Running in 5f0eb2e56162 [2023-04-06T04:05:09.905Z] Removing intermediate container 5f0eb2e56162 [2023-04-06T04:05:09.905Z] ---> 026d69f2c7e2 [2023-04-06T04:05:09.905Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-06T04:05:09.905Z] ---> Running in c5249c7cd9c1 [2023-04-06T04:05:10.163Z] Removing intermediate container c5249c7cd9c1 [2023-04-06T04:05:10.163Z] ---> 06c75c7dc85d [2023-04-06T04:05:10.164Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-04-06T04:05:10.164Z] ---> Running in 70b33c8cda47 [2023-04-06T04:05:10.164Z] Removing intermediate container 70b33c8cda47 [2023-04-06T04:05:10.164Z] ---> 2ca794e7a425 [2023-04-06T04:05:10.164Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-06T04:05:10.164Z] ---> Running in d5127f25b053 [2023-04-06T04:05:10.422Z] Removing intermediate container d5127f25b053 [2023-04-06T04:05:10.422Z] ---> 7693cd45d750 [2023-04-06T04:05:10.422Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-06T04:05:10.422Z] ---> Running in 2ee9ca319ccf [2023-04-06T04:05:10.422Z] Removing intermediate container 2ee9ca319ccf [2023-04-06T04:05:10.422Z] ---> b5b3d34ae509 [2023-04-06T04:05:10.422Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-06T04:05:10.422Z] ---> Running in 9467abf9c150 [2023-04-06T04:05:10.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-06T04:05:10.939Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-06T04:05:11.197Z] OK: 265 MiB in 53 packages [2023-04-06T04:05:11.456Z] Removing intermediate container 9467abf9c150 [2023-04-06T04:05:11.456Z] ---> a20065bc4472 [2023-04-06T04:05:11.456Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-06T04:05:11.456Z] ---> Running in 74f17a5ca8de [2023-04-06T04:05:11.715Z] Removing intermediate container 74f17a5ca8de [2023-04-06T04:05:11.715Z] ---> d10bbf035840 [2023-04-06T04:05:11.715Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-06T04:05:11.715Z] ---> 0675e701ad9a [2023-04-06T04:05:11.715Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-06T04:05:11.715Z] ---> Running in 136bedb55905 [2023-04-06T04:05:14.149Z] Removing intermediate container 136bedb55905 [2023-04-06T04:05:14.149Z] ---> 486211ff790b [2023-04-06T04:05:14.149Z] Step 12/26 : COPY . . [2023-04-06T04:05:14.149Z] ---> b4510ad3deea [2023-04-06T04:05:14.149Z] Step 13/26 : RUN ${MAKE} [2023-04-06T04:05:14.149Z] ---> Running in a4ab4c5ecdaa [2023-04-06T04:05:14.149Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-06T04:05:19.099Z] provisioning config files... [2023-04-06T04:05:19.124Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config14394913849990197869tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T04:05:19.508Z] ---> docker-login.sh [2023-04-06T04:05:19.508Z] nexus3.edgexfoundry.org:10001 [2023-04-06T04:05:20.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:05:20.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:05:20.097Z] Configure a credential helper to remove this warning. See [2023-04-06T04:05:20.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:05:20.097Z] [2023-04-06T04:05:20.097Z] Login Succeeded [2023-04-06T04:05:20.097Z] nexus3.edgexfoundry.org:10002 [2023-04-06T04:05:20.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:05:20.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:05:20.366Z] Configure a credential helper to remove this warning. See [2023-04-06T04:05:20.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:05:20.366Z] [2023-04-06T04:05:20.366Z] Login Succeeded [2023-04-06T04:05:20.366Z] nexus3.edgexfoundry.org:10003 [2023-04-06T04:05:20.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:05:20.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:05:20.905Z] Configure a credential helper to remove this warning. See [2023-04-06T04:05:20.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:05:20.905Z] [2023-04-06T04:05:20.905Z] Login Succeeded [2023-04-06T04:05:20.905Z] nexus3.edgexfoundry.org:10004 [2023-04-06T04:05:21.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:05:21.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:05:21.175Z] Configure a credential helper to remove this warning. See [2023-04-06T04:05:21.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:05:21.175Z] [2023-04-06T04:05:21.175Z] Login Succeeded [2023-04-06T04:05:21.175Z] docker.io [2023-04-06T04:05:21.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:05:21.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:05:21.711Z] Configure a credential helper to remove this warning. See [2023-04-06T04:05:21.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:05:21.711Z] [2023-04-06T04:05:21.711Z] Login Succeeded [2023-04-06T04:05:21.711Z] ---> docker-login.sh ends [Pipeline] } [2023-04-06T04:05:21.743Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-06T04:05:22.121Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-06T04:05:22.158Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-06T04:05:22.191Z] ========================================================= [2023-04-06T04:05:22.191Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-06T04:05:22.191Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T04:05:22.693Z] + 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-06T04:05:24.663Z] Sending build context to Docker daemon 19.71MB [2023-04-06T04:05:24.663Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-06T04:05:24.663Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-06T04:05:24.663Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-06T04:05:24.663Z] af6eaf76a39c: Pulling fs layer [2023-04-06T04:05:24.663Z] 55522c791124: Pulling fs layer [2023-04-06T04:05:24.663Z] ce5c4a1c91eb: Pulling fs layer [2023-04-06T04:05:24.663Z] 169dfbe0d373: Pulling fs layer [2023-04-06T04:05:24.663Z] e1ff8fa3b103: Pulling fs layer [2023-04-06T04:05:24.663Z] 52ebb69f0ebf: Pulling fs layer [2023-04-06T04:05:24.663Z] 5abe8eddf0d5: Pulling fs layer [2023-04-06T04:05:24.663Z] 169dfbe0d373: Waiting [2023-04-06T04:05:24.663Z] e1ff8fa3b103: Waiting [2023-04-06T04:05:24.663Z] 52ebb69f0ebf: Waiting [2023-04-06T04:05:24.663Z] 5abe8eddf0d5: Waiting [2023-04-06T04:05:24.663Z] 55522c791124: Verifying Checksum [2023-04-06T04:05:24.663Z] 55522c791124: Download complete [2023-04-06T04:05:24.663Z] 169dfbe0d373: Verifying Checksum [2023-04-06T04:05:24.663Z] 169dfbe0d373: Download complete [2023-04-06T04:05:24.663Z] e1ff8fa3b103: Verifying Checksum [2023-04-06T04:05:24.663Z] e1ff8fa3b103: Download complete [2023-04-06T04:05:24.663Z] af6eaf76a39c: Verifying Checksum [2023-04-06T04:05:25.643Z] af6eaf76a39c: Pull complete [2023-04-06T04:05:25.913Z] 5abe8eddf0d5: Verifying Checksum [2023-04-06T04:05:25.913Z] 5abe8eddf0d5: Download complete [2023-04-06T04:05:26.184Z] 55522c791124: Pull complete [2023-04-06T04:05:27.616Z] 52ebb69f0ebf: Verifying Checksum [2023-04-06T04:05:27.616Z] 52ebb69f0ebf: Download complete [2023-04-06T04:05:27.616Z] ce5c4a1c91eb: Verifying Checksum [2023-04-06T04:05:27.616Z] ce5c4a1c91eb: Download complete [2023-04-06T04:05:36.073Z] Removing intermediate container a4ab4c5ecdaa [2023-04-06T04:05:36.073Z] ---> 7a48a2b0af51 [2023-04-06T04:05:36.073Z] Step 14/26 : FROM alpine:3.17 [2023-04-06T04:05:36.073Z] 3.17: Pulling from library/alpine [2023-04-06T04:05:36.073Z] f56be85fc22e: Pulling fs layer [2023-04-06T04:05:36.073Z] f56be85fc22e: Download complete [2023-04-06T04:05:36.348Z] f56be85fc22e: Pull complete [2023-04-06T04:05:36.348Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-06T04:05:36.348Z] Status: Downloaded newer image for alpine:3.17 [2023-04-06T04:05:36.348Z] ---> 9ed4aefc74f6 [2023-04-06T04:05:36.348Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-06T04:05:36.608Z] ---> Running in 4dbc9a9270cb [2023-04-06T04:05:36.608Z] Removing intermediate container 4dbc9a9270cb [2023-04-06T04:05:36.608Z] ---> 9708ca932baa [2023-04-06T04:05:36.608Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-04-06T04:05:36.608Z] ---> Running in f166a3e69e33 [2023-04-06T04:05:36.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-06T04:05:37.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-06T04:05:37.388Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-06T04:05:37.388Z] Executing busybox-1.35.0-r29.trigger [2023-04-06T04:05:37.388Z] OK: 7 MiB in 16 packages [2023-04-06T04:05:37.957Z] Removing intermediate container f166a3e69e33 [2023-04-06T04:05:37.957Z] ---> c453a43db71f [2023-04-06T04:05:37.957Z] Step 17/26 : WORKDIR / [2023-04-06T04:05:37.957Z] ---> Running in 620f526f6c9f [2023-04-06T04:05:37.957Z] Removing intermediate container 620f526f6c9f [2023-04-06T04:05:37.957Z] ---> a7dff7adcf2a [2023-04-06T04:05:37.957Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-06T04:05:38.891Z] ---> 1f4ece34059f [2023-04-06T04:05:38.891Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-06T04:05:38.891Z] ---> ca833d4e1d30 [2023-04-06T04:05:38.891Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-06T04:05:39.150Z] ---> d9b87e932058 [2023-04-06T04:05:39.150Z] Step 21/26 : EXPOSE 59984 [2023-04-06T04:05:39.150Z] ---> Running in 9bb7bffa7efc [2023-04-06T04:05:39.150Z] Removing intermediate container 9bb7bffa7efc [2023-04-06T04:05:39.150Z] ---> b0aea2be8908 [2023-04-06T04:05:39.150Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-06T04:05:39.150Z] ---> Running in 334e3d7083af [2023-04-06T04:05:39.409Z] Removing intermediate container 334e3d7083af [2023-04-06T04:05:39.410Z] ---> 95c41244855f [2023-04-06T04:05:39.410Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-06T04:05:39.410Z] ---> Running in 23eb679aed07 [2023-04-06T04:05:39.410Z] Removing intermediate container 23eb679aed07 [2023-04-06T04:05:39.410Z] ---> b92db56d267c [2023-04-06T04:05:39.410Z] Step 24/26 : LABEL arch=amd64 [2023-04-06T04:05:39.410Z] ---> Running in 2410f1e73c65 [2023-04-06T04:05:39.410Z] Removing intermediate container 2410f1e73c65 [2023-04-06T04:05:39.410Z] ---> 5e69af07af34 [2023-04-06T04:05:39.410Z] Step 25/26 : LABEL git_sha=fa85c62a31b9eec9fedd82f4ebad2bac18bf5def [2023-04-06T04:05:39.668Z] ---> Running in c511d1289def [2023-04-06T04:05:39.668Z] Removing intermediate container c511d1289def [2023-04-06T04:05:39.668Z] ---> d9f01535ebf6 [2023-04-06T04:05:39.668Z] Step 26/26 : LABEL version=0.0.0 [2023-04-06T04:05:39.668Z] ---> Running in cc9cc003b599 [2023-04-06T04:05:39.668Z] Removing intermediate container cc9cc003b599 [2023-04-06T04:05:39.668Z] ---> e97a89eb6a1e [2023-04-06T04:05:39.668Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-06T04:05:39.668Z] Successfully built e97a89eb6a1e [2023-04-06T04:05:39.927Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-04-06T04:05:40.028Z] ce5c4a1c91eb: Pull complete [2023-04-06T04:05:40.028Z] 169dfbe0d373: Pull complete [2023-04-06T04:05:40.028Z] e1ff8fa3b103: Pull complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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-06T04:05:40.785Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-06T04:05:40.785Z] [2023-04-06T04:05:40.785Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T04:05:41.169Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-06T04:05:41.169Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-06T04:05:41.169Z] 5eb5b503b376: Pulling fs layer [2023-04-06T04:05:41.169Z] 5c69ac0246d0: Pulling fs layer [2023-04-06T04:05:41.169Z] ec43610c2a17: Pulling fs layer [2023-04-06T04:05:41.169Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-06T04:05:41.169Z] 33b1e0a273af: Pulling fs layer [2023-04-06T04:05:41.169Z] 5d3b04190fa2: Pulling fs layer [2023-04-06T04:05:41.169Z] 2f39f015ded8: Pulling fs layer [2023-04-06T04:05:41.169Z] 3a2ae6a8a46f: Waiting [2023-04-06T04:05:41.169Z] 2f39f015ded8: Waiting [2023-04-06T04:05:41.169Z] 5d3b04190fa2: Waiting [2023-04-06T04:05:41.169Z] 33b1e0a273af: Waiting [2023-04-06T04:05:41.169Z] 5c69ac0246d0: Download complete [2023-04-06T04:05:41.169Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-06T04:05:41.169Z] 3a2ae6a8a46f: Download complete [2023-04-06T04:05:41.169Z] 33b1e0a273af: Verifying Checksum [2023-04-06T04:05:41.169Z] 33b1e0a273af: Download complete [2023-04-06T04:05:41.169Z] 5d3b04190fa2: Download complete [2023-04-06T04:05:41.169Z] ec43610c2a17: Verifying Checksum [2023-04-06T04:05:41.169Z] ec43610c2a17: Download complete [2023-04-06T04:05:41.428Z] 5eb5b503b376: Verifying Checksum [2023-04-06T04:05:41.428Z] 5eb5b503b376: Download complete [2023-04-06T04:05:41.993Z] 2f39f015ded8: Download complete [2023-04-06T04:05:42.926Z] 5eb5b503b376: Pull complete [2023-04-06T04:05:42.926Z] 5c69ac0246d0: Pull complete [2023-04-06T04:05:43.492Z] ec43610c2a17: Pull complete [2023-04-06T04:05:43.492Z] 3a2ae6a8a46f: Pull complete [2023-04-06T04:05:43.751Z] 33b1e0a273af: Pull complete [2023-04-06T04:05:43.751Z] 5d3b04190fa2: Pull complete [2023-04-06T04:05:45.406Z] 52ebb69f0ebf: Pull complete [2023-04-06T04:05:46.823Z] 5abe8eddf0d5: Pull complete [2023-04-06T04:05:46.823Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-06T04:05:46.823Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-06T04:05:46.823Z] ---> 6cb57ee374ae [2023-04-06T04:05:46.823Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-06T04:05:48.767Z] ---> Running in b2fc208a6716 [2023-04-06T04:05:49.017Z] 2f39f015ded8: Pull complete [2023-04-06T04:05:49.017Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-06T04:05:49.017Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-06T04:05:49.017Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-06T04:05:49.035Z] Removing intermediate container b2fc208a6716 [2023-04-06T04:05:49.035Z] ---> c0c4a8ca1770 [2023-04-06T04:05:49.035Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-06T04:05:49.035Z] ---> Running in b6b1c38979ce [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T04:05:49.288Z] prd-ubuntu20.04-docker-8c-8g-6957 does not seem to be running inside a container [2023-04-06T04:05:49.305Z] Removing intermediate container b6b1c38979ce [2023-04-06T04:05:49.305Z] ---> e31f1749e664 [2023-04-06T04:05:49.305Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-06T04:05:49.322Z] $ 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/undry_device-onvif-camera_PR-298 -v /w/workspace/undry_device-onvif-camera_PR-298:/w/workspace/undry_device-onvif-camera_PR-298:rw,z -v /w/workspace/undry_device-onvif-camera_PR-298@tmp:/w/workspace/undry_device-onvif-camera_PR-298@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-06T04:05:49.571Z] ---> Running in 3ea5deba9e68 [2023-04-06T04:05:49.838Z] Removing intermediate container 3ea5deba9e68 [2023-04-06T04:05:49.838Z] ---> d1099659a1e9 [2023-04-06T04:05:49.838Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-06T04:05:49.838Z] ---> Running in 09ee52d0548a [2023-04-06T04:05:50.104Z] Removing intermediate container 09ee52d0548a [2023-04-06T04:05:50.104Z] ---> cbc0bc16da96 [2023-04-06T04:05:50.104Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-06T04:05:50.373Z] ---> Running in 36d1317adcf8 [2023-04-06T04:05:50.641Z] Removing intermediate container 36d1317adcf8 [2023-04-06T04:05:50.641Z] ---> 510563a67964 [2023-04-06T04:05:50.641Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-06T04:05:50.641Z] ---> Running in 6cf86a059b18 [2023-04-06T04:05:51.603Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-06T04:05:52.187Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-06T04:05:53.147Z] OK: 263 MiB in 53 packages [2023-04-06T04:05:54.107Z] Removing intermediate container 6cf86a059b18 [2023-04-06T04:05:54.107Z] ---> 7c6433f689ff [2023-04-06T04:05:54.107Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-06T04:05:54.107Z] ---> Running in 0b1f5292c486 [2023-04-06T04:05:54.375Z] Removing intermediate container 0b1f5292c486 [2023-04-06T04:05:54.375Z] ---> 7e9568e07316 [2023-04-06T04:05:54.375Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-06T04:05:54.845Z] $ docker top 923f161d14512fc2d61a5366ea49ae24ee5c25e6852a46260a099532d96a32a3 -eo pid,comm [2023-04-06T04:05:54.961Z] ---> 615039dcac1d [2023-04-06T04:05:54.961Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-06T04:05:54.961Z] ---> Running in 4b6b4b1135dd [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T04:05:55.610Z] ---> job-cost.sh [2023-04-06T04:05:55.611Z] lf-activate-venv: SKIPPING [2023-04-06T04:05:55.611Z] INFO: No Stack... [2023-04-06T04:05:56.178Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-06T04:05:56.436Z] INFO: Archiving Costs [Pipeline] sh [2023-04-06T04:05:56.757Z] + cat /w/workspace/undry_device-onvif-camera_PR-298/archives/cost.csv [2023-04-06T04:05:56.757Z] + cut -d, -f6 [Pipeline] lock [2023-04-06T04:05:56.798Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-298-1-stack-cost] [2023-04-06T04:05:56.803Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-298-1-stack-cost] did not exist. Created. [2023-04-06T04:05:56.803Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-298-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-06T04:05:57.204Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-06T04:05:57.264Z] Stashed 1 file(s) [Pipeline] } [2023-04-06T04:05:57.283Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-298-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-06T04:05:57.369Z] $ docker stop --time=1 923f161d14512fc2d61a5366ea49ae24ee5c25e6852a46260a099532d96a32a3 [2023-04-06T04:05:59.188Z] $ docker rm -f --volumes 923f161d14512fc2d61a5366ea49ae24ee5c25e6852a46260a099532d96a32a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-06T04:07:02.872Z] Removing intermediate container 4b6b4b1135dd [2023-04-06T04:07:02.872Z] ---> 56a27c73d25f [2023-04-06T04:07:02.872Z] Step 12/13 : COPY . . [2023-04-06T04:07:02.872Z] ---> e2993ea07ca4 [2023-04-06T04:07:02.872Z] Step 13/13 : RUN ${MAKE} [2023-04-06T04:07:02.872Z] ---> Running in cbdb011d312d [2023-04-06T04:07:02.872Z] noop [2023-04-06T04:07:02.872Z] Removing intermediate container cbdb011d312d [2023-04-06T04:07:02.872Z] ---> aa900a1e2327 [2023-04-06T04:07:02.872Z] Successfully built aa900a1e2327 [2023-04-06T04:07:02.872Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T04:07:03.360Z] + docker inspect -f . ci-base-image-arm64 [2023-04-06T04:07:03.360Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T04:07:03.642Z] prd-ubuntu20.04-docker-arm64-4c-16g-6959 does not seem to be running inside a container [2023-04-06T04:07:03.707Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-06T04:07:04.919Z] $ docker top 5aef6cbfb0d3c3ec2a770aed29214b3f1f66b81f794b8c1612d46c85d4dc7a91 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T04:07:05.791Z] + go version [2023-04-06T04:07:05.791Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-06T04:07:05.825Z] $ docker stop --time=1 5aef6cbfb0d3c3ec2a770aed29214b3f1f66b81f794b8c1612d46c85d4dc7a91 [2023-04-06T04:07:08.159Z] $ docker rm -f --volumes 5aef6cbfb0d3c3ec2a770aed29214b3f1f66b81f794b8c1612d46c85d4dc7a91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T04:07:08.981Z] + docker inspect -f . ci-base-image-arm64 [2023-04-06T04:07:08.981Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T04:07:09.239Z] prd-ubuntu20.04-docker-arm64-4c-16g-6959 does not seem to be running inside a container [2023-04-06T04:07:09.308Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-06T04:07:10.426Z] $ docker top 443f475b92ad1e10287506b39ad9761348c76a301ef2459881c96ddf1155af21 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T04:07:10.966Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-04-06T04:07:11.347Z] + make test [2023-04-06T04:07:11.348Z] go test ./... -coverprofile=coverage.out ./... [2023-04-06T04:07:43.585Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-06T04:09:35.256Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-06T04:09:35.257Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-06T04:09:37.842Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.203s coverage: 31.7% of statements [2023-04-06T04:10:04.545Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.387s coverage: 86.5% of statements [2023-04-06T04:10:04.545Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-06T04:10:04.545Z] go vet ./... [2023-04-06T04:10:31.261Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-06T04:10:31.261Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-06T04:10:31.261Z] ./bin/test-attribution-txt.sh [2023-04-06T04:10:31.261Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-06T04:10:31.304Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-06T04:10:31.336Z] $ docker stop --time=1 443f475b92ad1e10287506b39ad9761348c76a301ef2459881c96ddf1155af21 [2023-04-06T04:10:33.121Z] $ docker rm -f --volumes 443f475b92ad1e10287506b39ad9761348c76a301ef2459881c96ddf1155af21 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-06T04:10:34.287Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-06T04:10:34.323Z] Warning: overwriting stash ‘coverage-report’ [2023-04-06T04:10:34.853Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-06T04:10:35.441Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-06T04:10:35.776Z] + ls -al . [2023-04-06T04:10:35.776Z] total 232 [2023-04-06T04:10:35.776Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 6 04:07 . [2023-04-06T04:10:35.776Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 04:04 .. [2023-04-06T04:10:35.776Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 04:04 .git [2023-04-06T04:10:35.776Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 04:04 .github [2023-04-06T04:10:35.776Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 6 04:04 .gitignore [2023-04-06T04:10:35.776Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 6 04:04 .golangci.yml [2023-04-06T04:10:35.776Z] -rw-rw-r-- 1 jenkins jenkins 9732 Apr 6 04:04 Attribution.txt [2023-04-06T04:10:35.776Z] -rw-rw-r-- 1 jenkins jenkins 6312 Apr 6 04:04 CHANGELOG.md [2023-04-06T04:10:35.776Z] -rw-rw-r-- 1 jenkins jenkins 1574 Apr 6 04:04 Dockerfile [2023-04-06T04:10:35.776Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 04:04 GOVERNANCE.md [2023-04-06T04:10:35.776Z] -rw-rw-r-- 1 jenkins jenkins 734 Apr 6 04:04 Jenkinsfile [2023-04-06T04:10:35.776Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 6 04:04 LICENSE [2023-04-06T04:10:35.776Z] -rw-rw-r-- 1 jenkins jenkins 2751 Apr 6 04:04 Makefile [2023-04-06T04:10:35.776Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 6 04:04 OWNERS.md [2023-04-06T04:10:35.776Z] -rw-rw-r-- 1 jenkins jenkins 6250 Apr 6 04:04 README.md [2023-04-06T04:10:35.776Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 04:03 VERSION [2023-04-06T04:10:35.776Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 04:04 bin [2023-04-06T04:10:35.776Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 04:04 cmd [2023-04-06T04:10:35.776Z] -rw-r--r-- 1 jenkins jenkins 78485 Apr 6 04:10 coverage.out [2023-04-06T04:10:35.776Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 6 04:04 doc [2023-04-06T04:10:35.776Z] -rw-rw-r-- 1 jenkins jenkins 3557 Apr 6 04:04 go.mod [2023-04-06T04:10:35.776Z] -rw-rw-r-- 1 jenkins jenkins 33057 Apr 6 04:04 go.sum [2023-04-06T04:10:35.776Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 04:04 internal [2023-04-06T04:10:35.776Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 04:04 snap [2023-04-06T04:10:35.776Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 6 04:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T04:10:36.195Z] + 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=fa85c62a31b9eec9fedd82f4ebad2bac18bf5def --label arch=arm64 --label version=0.0.0 . [2023-04-06T04:10:36.784Z] Sending build context to Docker daemon 19.79MB [2023-04-06T04:10:36.784Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-04-06T04:10:36.784Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-06T04:10:36.784Z] ---> aa900a1e2327 [2023-04-06T04:10:36.784Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-06T04:10:37.051Z] ---> Running in d20c37efa8c5 [2023-04-06T04:10:37.317Z] Removing intermediate container d20c37efa8c5 [2023-04-06T04:10:37.317Z] ---> 6060c2bee73b [2023-04-06T04:10:37.317Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-06T04:10:37.317Z] ---> Running in 6bea67869a61 [2023-04-06T04:10:37.584Z] Removing intermediate container 6bea67869a61 [2023-04-06T04:10:37.584Z] ---> ae79038b8cdb [2023-04-06T04:10:37.584Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-04-06T04:10:37.584Z] ---> Running in 0c41c73e45ce [2023-04-06T04:10:37.851Z] Removing intermediate container 0c41c73e45ce [2023-04-06T04:10:37.851Z] ---> da5ed7a1861b [2023-04-06T04:10:37.851Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-06T04:10:38.121Z] ---> Running in f968dc9594eb [2023-04-06T04:10:38.390Z] Removing intermediate container f968dc9594eb [2023-04-06T04:10:38.390Z] ---> 193268eca95a [2023-04-06T04:10:38.390Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-06T04:10:38.390Z] ---> Running in a252ab8057e5 [2023-04-06T04:10:38.663Z] Removing intermediate container a252ab8057e5 [2023-04-06T04:10:38.663Z] ---> 03b21512312d [2023-04-06T04:10:38.663Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-06T04:10:38.663Z] ---> Running in 24ad41f5ae3b [2023-04-06T04:10:39.645Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-06T04:10:40.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-06T04:10:41.190Z] OK: 263 MiB in 53 packages [2023-04-06T04:10:41.779Z] Removing intermediate container 24ad41f5ae3b [2023-04-06T04:10:41.779Z] ---> d4445dee21a3 [2023-04-06T04:10:41.779Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-06T04:10:42.044Z] ---> Running in dc6a61870297 [2023-04-06T04:10:42.309Z] Removing intermediate container dc6a61870297 [2023-04-06T04:10:42.309Z] ---> 9a6ca5b06e20 [2023-04-06T04:10:42.309Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-06T04:10:42.577Z] ---> 880b6282e068 [2023-04-06T04:10:42.577Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-06T04:10:42.842Z] ---> Running in f653bd7bc919 [2023-04-06T04:10:45.432Z] Removing intermediate container f653bd7bc919 [2023-04-06T04:10:45.432Z] ---> 928bd39176b1 [2023-04-06T04:10:45.432Z] Step 12/26 : COPY . . [2023-04-06T04:10:46.840Z] ---> 7fd16414f81f [2023-04-06T04:10:46.841Z] Step 13/26 : RUN ${MAKE} [2023-04-06T04:10:46.841Z] ---> Running in 4f73bd6792d5 [2023-04-06T04:10:47.798Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-04-06T04:13:09.493Z] Removing intermediate container 4f73bd6792d5 [2023-04-06T04:13:09.493Z] ---> 9b5789caa07e [2023-04-06T04:13:09.493Z] Step 14/26 : FROM alpine:3.17 [2023-04-06T04:13:09.493Z] 3.17: Pulling from library/alpine [2023-04-06T04:13:09.493Z] c41833b44d91: Pulling fs layer [2023-04-06T04:13:09.493Z] c41833b44d91: Verifying Checksum [2023-04-06T04:13:09.493Z] c41833b44d91: Download complete [2023-04-06T04:13:09.493Z] c41833b44d91: Pull complete [2023-04-06T04:13:09.493Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-06T04:13:09.493Z] Status: Downloaded newer image for alpine:3.17 [2023-04-06T04:13:09.493Z] ---> 51e60588ff2c [2023-04-06T04:13:09.493Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-06T04:13:09.493Z] ---> Running in bd279571df03 [2023-04-06T04:13:09.493Z] Removing intermediate container bd279571df03 [2023-04-06T04:13:09.493Z] ---> c6307a9ecebe [2023-04-06T04:13:09.493Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-04-06T04:13:09.493Z] ---> Running in fed3f6fb933c [2023-04-06T04:13:09.493Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-06T04:13:09.493Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-06T04:13:09.493Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-06T04:13:09.493Z] Executing busybox-1.35.0-r29.trigger [2023-04-06T04:13:09.493Z] OK: 8 MiB in 16 packages [2023-04-06T04:13:09.493Z] Removing intermediate container fed3f6fb933c [2023-04-06T04:13:09.493Z] ---> 333a31b6fd1a [2023-04-06T04:13:09.493Z] Step 17/26 : WORKDIR / [2023-04-06T04:13:09.493Z] ---> Running in 336a952293e3 [2023-04-06T04:13:09.493Z] Removing intermediate container 336a952293e3 [2023-04-06T04:13:09.493Z] ---> 6baf2041b106 [2023-04-06T04:13:09.493Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-06T04:13:09.493Z] ---> 6890956eaa38 [2023-04-06T04:13:09.493Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-06T04:13:09.493Z] ---> 77e1915fa2f0 [2023-04-06T04:13:09.493Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-06T04:13:09.493Z] ---> 7a05d95395ce [2023-04-06T04:13:09.493Z] Step 21/26 : EXPOSE 59984 [2023-04-06T04:13:09.493Z] ---> Running in f7561393feea [2023-04-06T04:13:09.493Z] Removing intermediate container f7561393feea [2023-04-06T04:13:09.493Z] ---> ddf4930d7fd5 [2023-04-06T04:13:09.493Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-06T04:13:09.493Z] ---> Running in 74e9e1ef9f14 [2023-04-06T04:13:09.493Z] Removing intermediate container 74e9e1ef9f14 [2023-04-06T04:13:09.493Z] ---> fa19a4dabaed [2023-04-06T04:13:09.493Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-06T04:13:09.493Z] ---> Running in e551ece2a249 [2023-04-06T04:13:09.493Z] Removing intermediate container e551ece2a249 [2023-04-06T04:13:09.493Z] ---> 9f43392fc306 [2023-04-06T04:13:09.493Z] Step 24/26 : LABEL arch=arm64 [2023-04-06T04:13:09.493Z] ---> Running in 90f7a2cbbb6b [2023-04-06T04:13:09.493Z] Removing intermediate container 90f7a2cbbb6b [2023-04-06T04:13:09.493Z] ---> 37e23952bea9 [2023-04-06T04:13:09.493Z] Step 25/26 : LABEL git_sha=fa85c62a31b9eec9fedd82f4ebad2bac18bf5def [2023-04-06T04:13:09.493Z] ---> Running in 0438c94b778d [2023-04-06T04:13:09.493Z] Removing intermediate container 0438c94b778d [2023-04-06T04:13:09.493Z] ---> 379d64f65ea2 [2023-04-06T04:13:09.493Z] Step 26/26 : LABEL version=0.0.0 [2023-04-06T04:13:09.761Z] ---> Running in 26b5a6102d94 [2023-04-06T04:13:10.030Z] Removing intermediate container 26b5a6102d94 [2023-04-06T04:13:10.030Z] ---> 8048bb9b1e78 [2023-04-06T04:13:10.030Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-06T04:13:10.030Z] Successfully built 8048bb9b1e78 [2023-04-06T04:13:10.030Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T04:13:10.847Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-06T04:13:10.847Z] [2023-04-06T04:13:10.847Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T04:13:11.252Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-06T04:13:11.252Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-06T04:13:11.252Z] 8998bd30e6a1: Pulling fs layer [2023-04-06T04:13:11.252Z] 04944245beec: Pulling fs layer [2023-04-06T04:13:11.252Z] 699f458cf7ca: Pulling fs layer [2023-04-06T04:13:11.252Z] 765212b225bb: Pulling fs layer [2023-04-06T04:13:11.252Z] f23df028b6ca: Pulling fs layer [2023-04-06T04:13:11.252Z] d65c8cfc05b1: Pulling fs layer [2023-04-06T04:13:11.252Z] 2437ff75d9bd: Pulling fs layer [2023-04-06T04:13:11.252Z] f23df028b6ca: Waiting [2023-04-06T04:13:11.252Z] d65c8cfc05b1: Waiting [2023-04-06T04:13:11.252Z] 2437ff75d9bd: Waiting [2023-04-06T04:13:11.252Z] 765212b225bb: Waiting [2023-04-06T04:13:11.519Z] 04944245beec: Verifying Checksum [2023-04-06T04:13:11.519Z] 04944245beec: Download complete [2023-04-06T04:13:11.519Z] 765212b225bb: Verifying Checksum [2023-04-06T04:13:11.519Z] 765212b225bb: Download complete [2023-04-06T04:13:11.519Z] f23df028b6ca: Verifying Checksum [2023-04-06T04:13:11.519Z] f23df028b6ca: Download complete [2023-04-06T04:13:11.519Z] d65c8cfc05b1: Verifying Checksum [2023-04-06T04:13:11.519Z] d65c8cfc05b1: Download complete [2023-04-06T04:13:11.790Z] 699f458cf7ca: Verifying Checksum [2023-04-06T04:13:12.058Z] 8998bd30e6a1: Download complete [2023-04-06T04:13:14.640Z] 2437ff75d9bd: Verifying Checksum [2023-04-06T04:13:14.640Z] 2437ff75d9bd: Download complete [2023-04-06T04:13:16.051Z] 8998bd30e6a1: Pull complete [2023-04-06T04:13:16.318Z] 04944245beec: Pull complete [2023-04-06T04:13:17.728Z] 699f458cf7ca: Pull complete [2023-04-06T04:13:17.996Z] 765212b225bb: Pull complete [2023-04-06T04:13:18.675Z] f23df028b6ca: Pull complete [2023-04-06T04:13:18.953Z] d65c8cfc05b1: Pull complete [2023-04-06T04:13:34.039Z] 2437ff75d9bd: Pull complete [2023-04-06T04:13:34.039Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-06T04:13:34.039Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-06T04:13:34.039Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T04:13:34.362Z] prd-ubuntu20.04-docker-arm64-4c-16g-6959 does not seem to be running inside a container [2023-04-06T04:13:34.431Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-06T04:13:36.966Z] $ docker top b5a8162ac0cb46ba913ff258853ebdae7f6bdaa4545153292247f1f8d85ed301 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T04:13:37.856Z] ---> job-cost.sh [2023-04-06T04:13:37.856Z] lf-activate-venv: SKIPPING [2023-04-06T04:13:37.856Z] INFO: No Stack... [2023-04-06T04:13:38.438Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-06T04:13:39.022Z] INFO: Archiving Costs [Pipeline] sh [2023-04-06T04:13:39.678Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-04-06T04:13:39.679Z] + cut -d, -f6 [Pipeline] lock [2023-04-06T04:13:39.760Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-298-1-stack-cost] [2023-04-06T04:13:39.766Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-298-1-stack-cost] did not exist. Created. [2023-04-06T04:13:39.766Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-298-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-06T04:13:40.500Z] /w/workspace/device-onvif-camera/1@tmp/durable-8a8ec40f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-06T04:13:41.169Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-06T04:13:41.205Z] Warning: overwriting stash ‘stack-cost’ [2023-04-06T04:13:41.269Z] Stashed 1 file(s) [Pipeline] } [2023-04-06T04:13:41.283Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-298-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-06T04:13:41.357Z] $ docker stop --time=1 b5a8162ac0cb46ba913ff258853ebdae7f6bdaa4545153292247f1f8d85ed301 [2023-04-06T04:13:42.839Z] $ docker rm -f --volumes b5a8162ac0cb46ba913ff258853ebdae7f6bdaa4545153292247f1f8d85ed301 [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-06T04:13:43.801Z] provisioning config files... [2023-04-06T04:13:43.809Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-298@tmp/config3141432067938605030tmp [Pipeline] { [Pipeline] sh [2023-04-06T04:13:44.150Z] + set +x [2023-04-06T04:13:44.150Z] + bash -s -- [2023-04-06T04:13:44.150Z] + curl -s https://codecov.io/bash [2023-04-06T04:13:44.150Z] [2023-04-06T04:13:44.150Z] _____ _ [2023-04-06T04:13:44.150Z] / ____| | | [2023-04-06T04:13:44.150Z] | | ___ __| | ___ ___ _____ __ [2023-04-06T04:13:44.150Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-06T04:13:44.150Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-06T04:13:44.150Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-06T04:13:44.150Z] Bash-1.0.6 [2023-04-06T04:13:44.150Z] [2023-04-06T04:13:44.150Z] [2023-04-06T04:13:44.150Z] ==> git version 2.25.1 found [2023-04-06T04:13:44.150Z] ==> 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-06T04:13:44.150Z] Release-Date: 2020-01-08 [2023-04-06T04:13:44.150Z] 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-06T04:13:44.150Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-06T04:13:44.150Z] ==> Jenkins CI detected. [2023-04-06T04:13:44.150Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-298 [2023-04-06T04:13:44.150Z] project root: . [2023-04-06T04:13:44.150Z] --> token set from env [2023-04-06T04:13:44.150Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-06T04:13:44.408Z] ==> Running gcov in . (disable via -X gcov) [2023-04-06T04:13:44.408Z] ==> Python coveragepy not found [2023-04-06T04:13:44.408Z] ==> Searching for coverage reports in: [2023-04-06T04:13:44.408Z] + . [2023-04-06T04:13:44.408Z] -> Found 1 reports [2023-04-06T04:13:44.408Z] ==> Detecting git/mercurial file structure [2023-04-06T04:13:44.408Z] ==> Reading reports [2023-04-06T04:13:44.408Z] + ./coverage.out bytes=78485 [2023-04-06T04:13:44.408Z] ==> Appending adjustments [2023-04-06T04:13:44.408Z] https://docs.codecov.io/docs/fixing-reports [2023-04-06T04:13:44.408Z] + Found adjustments [2023-04-06T04:13:44.408Z] ==> Gzipping contents [2023-04-06T04:13:44.408Z] 12K /tmp/codecov.NPCzzc.gz [2023-04-06T04:13:44.408Z] ==> Uploading reports [2023-04-06T04:13:44.408Z] url: https://codecov.io [2023-04-06T04:13:44.408Z] query: branch=PR-298&commit=fa85c62a31b9eec9fedd82f4ebad2bac18bf5def&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-298%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=298&job=&cmd_args= [2023-04-06T04:13:44.408Z] -> Pinging Codecov [2023-04-06T04:13:44.408Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-298&commit=fa85c62a31b9eec9fedd82f4ebad2bac18bf5def&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-298%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=298&job=&cmd_args= [2023-04-06T04:13:44.668Z] -> Uploading to [2023-04-06T04:13:44.668Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-06/F29A59C45E3A92E06B3E522C9905F8EF/fa85c62a31b9eec9fedd82f4ebad2bac18bf5def/af5cd4cf-42c5-47b2-8772-be93cf8c9825.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230406T041344Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=aeda71df242167fc1765f40c07a1b8dea329b9a916ce48ca3aa6eaf5dd64fc57 [2023-04-06T04:13:44.668Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-06T04:13:44.668Z] Dload Upload Total Spent Left Speed [2023-04-06T04:13:44.926Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10464 0 0 100 10464 0 35835 --:--:-- --:--:-- --:--:-- 35835 [2023-04-06T04:13:44.926Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/fa85c62a31b9eec9fedd82f4ebad2bac18bf5def [Pipeline] } [2023-04-06T04:13:44.953Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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-06T04:13:46.712Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-298/archives ] [2023-04-06T04:13:46.712Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-298/archives [2023-04-06T04:13:46.712Z] total 16 [2023-04-06T04:13:46.712Z] drwxr-xr-x 3 root root 4096 Apr 6 04:05 . [2023-04-06T04:13:46.712Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 6 04:05 .. [2023-04-06T04:13:46.712Z] drwxr-xr-x 2 root root 4096 Apr 6 04:05 cost [2023-04-06T04:13:46.712Z] -rw-r--r-- 1 root root 91 Apr 6 04:05 cost.csv [2023-04-06T04:13:46.712Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-298/archives [2023-04-06T04:13:46.712Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-298/archives [2023-04-06T04:13:46.712Z] total 16 [2023-04-06T04:13:46.712Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 04:05 . [2023-04-06T04:13:46.712Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 6 04:05 .. [2023-04-06T04:13:46.712Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 04:05 cost [2023-04-06T04:13:46.712Z] -rw-r--r-- 1 jenkins jenkins 91 Apr 6 04:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-06T04:13:47.038Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T04:13:47.924Z] ---> package-listing.sh [2023-04-06T04:13:47.924Z] ++ facter osfamily [2023-04-06T04:13:47.924Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-06T04:13:48.183Z] + OS_FAMILY=debian [2023-04-06T04:13:48.183Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-298 [2023-04-06T04:13:48.183Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-06T04:13:48.183Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-06T04:13:48.183Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-06T04:13:48.183Z] + PACKAGES=/tmp/packages_start.txt [2023-04-06T04:13:48.183Z] + '[' /w/workspace/undry_device-onvif-camera_PR-298 ']' [2023-04-06T04:13:48.183Z] + PACKAGES=/tmp/packages_end.txt [2023-04-06T04:13:48.183Z] + case "${OS_FAMILY}" in [2023-04-06T04:13:48.183Z] + dpkg -l [2023-04-06T04:13:48.183Z] + grep '^ii' [2023-04-06T04:13:48.183Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-06T04:13:48.183Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-06T04:13:48.183Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-06T04:13:48.183Z] + '[' /w/workspace/undry_device-onvif-camera_PR-298 ']' [2023-04-06T04:13:48.183Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-298/archives/ [2023-04-06T04:13:48.183Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-298/archives/ [Pipeline] echo [2023-04-06T04:13:48.217Z] 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/undry_device-onvif-camera_PR-298/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-06T04:13:48.508Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T04:13:49.129Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-06T04:13:49.129Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T04:13:49.278Z] prd-ubuntu20.04-docker-8c-8g-6957 does not seem to be running inside a container [2023-04-06T04:13:49.307Z] $ 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/undry_device-onvif-camera_PR-298/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-298 -v /w/workspace/undry_device-onvif-camera_PR-298:/w/workspace/undry_device-onvif-camera_PR-298:rw,z -v /w/workspace/undry_device-onvif-camera_PR-298@tmp:/w/workspace/undry_device-onvif-camera_PR-298@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-06T04:13:49.491Z] $ docker top 3a9d65053e0accb7296afbb8e53a0cfc3148cd0585dab8eeaf28ede40fc65b7a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T04:13:49.874Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-06T04:13:50.184Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-06T04:13:50.491Z] + ls /var/log/sa-host [2023-04-06T04:13:50.491Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-06T04:13:50.704Z] provisioning config files... [2023-04-06T04:13:50.713Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-298@tmp/config8766675079941485714tmp [Pipeline] { [Pipeline] echo [2023-04-06T04:13:50.765Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T04:13:51.076Z] ---> create-netrc.sh [Pipeline] } [2023-04-06T04:13:51.104Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-06T04:13:51.507Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-06T04:13:51.538Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T04:13:51.847Z] ---> sudo-logs.sh [2023-04-06T04:13:51.847Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-06T04:13:51.928Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T04:13:52.253Z] ---> job-cost.sh [2023-04-06T04:13:52.253Z] lf-activate-venv: SKIPPING [2023-04-06T04:13:52.254Z] DEBUG: total: 0.2199999988079071 [2023-04-06T04:13:52.254Z] INFO: Retrieving Stack Cost... [2023-04-06T04:13:52.821Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-06T04:13:53.079Z] INFO: Archiving Costs [Pipeline] echo [2023-04-06T04:13:53.114Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T04:13:53.430Z] ---> logs-deploy.sh [2023-04-06T04:13:53.430Z] lf-activate-venv: SKIPPING [2023-04-06T04:13:53.430Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-298/1 [2023-04-06T04:13:53.430Z] INFO: archiving workspace using pattern(s): [2023-04-06T04:13:54.364Z] Archives upload complete. [2023-04-06T04:13:54.364Z] INFO: archiving logs to Nexus